diff --git "a/datasets/php/test.jsonl" "b/datasets/php/test.jsonl" new file mode 100644--- /dev/null +++ "b/datasets/php/test.jsonl" @@ -0,0 +1,14014 @@ +{"repo": "the-control-group/voyager", "path": "src/Commands/AdminCommand.php", "func_name": "AdminCommand.getAdministratorRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the administrator role, create it if it does not exists.\n\n@return mixed", "docstring_tokens": ["Get", "the", "administrator", "role", "create", "it", "if", "it", "does", "not", "exists", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Commands/AdminCommand.php#L93-L106", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Commands/AdminCommand.php", "func_name": "AdminCommand.getUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or create user.\n\n@param bool $create\n\n@return \\App\\User", "docstring_tokens": ["Get", "or", "create", "user", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Commands/AdminCommand.php#L115-L149", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Listeners/DeleteBreadMenuItem.php", "func_name": "DeleteBreadMenuItem.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a MenuItem for a given BREAD.\n\n@param BreadDeleted $bread\n\n@return void", "docstring_tokens": ["Delete", "a", "MenuItem", "for", "a", "given", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Listeners/DeleteBreadMenuItem.php#L27-L36", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "publishable/database/seeds/TranslationsTableSeeder.php", "func_name": "TranslationsTableSeeder.categoriesTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto generate Categories Translations.\n\n@return void", "docstring_tokens": ["Auto", "generate", "Categories", "Translations", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/publishable/database/seeds/TranslationsTableSeeder.php#L30-L44", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Models/MenuItem.php", "func_name": "MenuItem.highestOrderMenuItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the Highest Order Menu Item.\n\n@param number $parent (Optional) Parent id. Default null\n\n@return number Order number", "docstring_tokens": ["Return", "the", "Highest", "Order", "Menu", "Item", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Models/MenuItem.php#L121-L134", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/Schema/Index.php", "func_name": "Index.createName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a default index name.\n\n@param array $columns\n@param string $type\n@param string $table\n\n@return string", "docstring_tokens": ["Create", "a", "default", "index", "name", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/Schema/Index.php#L95-L102", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Listeners/AddBreadMenuItem.php", "func_name": "AddBreadMenuItem.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a MenuItem for a given BREAD.\n\n@param BreadAdded $event\n\n@return void", "docstring_tokens": ["Create", "a", "MenuItem", "for", "a", "given", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Listeners/AddBreadMenuItem.php#L27-L53", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the table.\n\n@return void", "docstring_tokens": ["Update", "the", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L32-L45", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.updateTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the table.\n\n@return void", "docstring_tokens": ["Updates", "the", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L52-L88", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.getRenamedColumnsDiff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the table diff to rename columns.\n\n@return \\Doctrine\\DBAL\\Schema\\TableDiff", "docstring_tokens": ["Get", "the", "table", "diff", "to", "rename", "columns", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L95-L111", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.getRenamedDiff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the table diff to rename columns and indexes.\n\n@return \\Doctrine\\DBAL\\Schema\\TableDiff", "docstring_tokens": ["Get", "the", "table", "diff", "to", "rename", "columns", "and", "indexes", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L118-L139", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.getRenamedColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get columns that were renamed.\n\n@return array", "docstring_tokens": ["Get", "columns", "that", "were", "renamed", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L146-L164", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/DatabaseUpdater.php", "func_name": "DatabaseUpdater.getRenamedIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get indexes that were renamed.\n\n@return array", "docstring_tokens": ["Get", "indexes", "that", "were", "renamed", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/DatabaseUpdater.php#L171-L189", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Resizable.php", "func_name": "Resizable.thumbnail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method for returning specific thumbnail for model.\n\n@param string $type\n@param string $attribute\n\n@return string", "docstring_tokens": ["Method", "for", "returning", "specific", "thumbnail", "for", "model", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Resizable.php#L17-L28", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Resizable.php", "func_name": "Resizable.getThumbnail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate thumbnail URL.\n\n@param $image\n@param $type\n\n@return string", "docstring_tokens": ["Generate", "thumbnail", "URL", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Resizable.php#L38-L48", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Policies/UserPolicy.php", "func_name": "UserPolicy.editRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given user can change a user a role.\n\n@param \\TCG\\Voyager\\Contracts\\User $user\n@param $model\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "user", "can", "change", "a", "user", "a", "role", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Policies/UserPolicy.php#L49-L55", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Voyager.php", "func_name": "Voyager.dimmers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a collection of the dashboard widgets.\n\n@return \\Arrilot\\Widgets\\WidgetGroup", "docstring_tokens": ["Get", "a", "collection", "of", "the", "dashboard", "widgets", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Voyager.php#L189-L203", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerMenuController.php", "func_name": "VoyagerMenuController.prepareMenuTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare menu translations.\n\n@param array $data menu data\n\n@return JSON translated item", "docstring_tokens": ["Prepare", "menu", "translations", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerMenuController.php#L150-L161", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Translator.php", "func_name": "Translator.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save changes made to the translator attributes.\n\n@return bool", "docstring_tokens": ["Save", "changes", "made", "to", "the", "translator", "attributes", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Translator.php#L54-L90", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Policies/PostPolicy.php", "func_name": "PostPolicy.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given model can be viewed by the user.\n\n@param \\TCG\\Voyager\\Contracts\\User $user\n@param $model\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "model", "can", "be", "viewed", "by", "the", "user", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Policies/PostPolicy.php#L17-L23", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create BREAD.\n\n@param Request $request\n@param string $table Table name.\n\n@return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View", "docstring_tokens": ["Create", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L48-L61", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store BREAD.\n\n@param \\Illuminate\\Http\\Request $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Store", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L90-L108", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit BREAD.\n\n@param string $table\n\n@return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View", "docstring_tokens": ["Edit", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L117-L137", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update BREAD.\n\n@param \\Illuminate\\Http\\Request $request\n@param number $id\n\n@return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View", "docstring_tokens": ["Update", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L147-L175", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete BREAD.\n\n@param Number $id BREAD data_type id.\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Delete", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L184-L209", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.addRelationship", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Relationship.\n\n@param Request $request", "docstring_tokens": ["Add", "Relationship", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L238-L307", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBreadController.php", "func_name": "VoyagerBreadController.getRelationshipField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Relationship Field.\n\n@param Request $request\n\n@return string", "docstring_tokens": ["Get", "Relationship", "Field", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBreadController.php#L316-L336", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/ContentTypes/Password.php", "func_name": "Password.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle password fields.\n\n@return string", "docstring_tokens": ["Handle", "password", "fields", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/ContentTypes/Password.php#L12-L16", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerDatabaseController.php", "func_name": "VoyagerDatabaseController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store new database table.\n\n@param \\Illuminate\\Http\\Request $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Store", "new", "database", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerDatabaseController.php#L63-L110", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerDatabaseController.php", "func_name": "VoyagerDatabaseController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit database table.\n\n@param string $table\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Edit", "database", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerDatabaseController.php#L119-L132", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerDatabaseController.php", "func_name": "VoyagerDatabaseController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update database table.\n\n@param \\Illuminate\\Http\\Request $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Update", "database", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerDatabaseController.php#L141-L159", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerDatabaseController.php", "func_name": "VoyagerDatabaseController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show table.\n\n@param string $table\n\n@return JSON", "docstring_tokens": ["Show", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerDatabaseController.php#L239-L255", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerDatabaseController.php", "func_name": "VoyagerDatabaseController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy table.\n\n@param string $table\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Destroy", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerDatabaseController.php#L264-L278", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Models/DataRow.php", "func_name": "DataRow.sortByUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the URL to sort data type by this field.\n\n@return string Built URL", "docstring_tokens": ["Build", "the", "URL", "to", "sort", "data", "type", "by", "this", "field", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Models/DataRow.php#L45-L57", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Models/Menu.php", "func_name": "Menu.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display menu.\n\n@param string $menuName\n@param string|null $type\n@param array $options\n\n@return string", "docstring_tokens": ["Display", "menu", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Models/Menu.php#L52-L100", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Translatable.php", "func_name": "Translatable.translatable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if this model can translate.\n\n@return bool", "docstring_tokens": ["Check", "if", "this", "model", "can", "translate", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Translatable.php#L19-L26", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Translatable.php", "func_name": "Translatable.translations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load translations relation.\n\n@return mixed", "docstring_tokens": ["Load", "translations", "relation", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Translatable.php#L33-L38", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Translatable.php", "func_name": "Translatable.getTranslatedAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single translated attribute.\n\n@param $attribute\n@param null $language\n@param bool $fallback\n\n@return null", "docstring_tokens": ["Get", "a", "single", "translated", "attribute", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Translatable.php#L132-L137", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Translatable.php", "func_name": "Translatable.scopeWhereTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get entries filtered by translated value.\n\n@example Class::whereTranslation('title', '=', 'zuhause', ['de', 'iu'])\n@example $query->whereTranslation('title', '=', 'zuhause', ['de', 'iu'])\n\n@param string $field {required} the field your looking to find a value in.\n@param string $operator {required} value you are looking for or a relation modifier such as LIKE, =, etc.\n@param string $value {optional} value you are looking for. Only use if you supplied an operator.\n@param string|array $locales {optional} locale(s) you are looking for the field.\n@param bool $default {optional} if true checks for $value is in default database before checking translations.\n\n@return Builder", "docstring_tokens": ["Get", "entries", "filtered", "by", "translated", "value", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Translatable.php#L263-L286", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Traits/Translatable.php", "func_name": "Translatable.saveTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save translations.\n\n@param object $translations\n\n@return void", "docstring_tokens": ["Save", "translations", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Traits/Translatable.php#L376-L383", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Database/Schema/SchemaManager.php", "func_name": "SchemaManager.describeTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes given table.\n\n@param string $tableName\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Describes", "given", "table", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Database/Schema/SchemaManager.php#L75-L104", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Listeners/AddBreadPermission.php", "func_name": "AddBreadPermission.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Permission for a given BREAD.\n\n@param BreadAdded $event\n\n@return void", "docstring_tokens": ["Create", "Permission", "for", "a", "given", "BREAD", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Listeners/AddBreadPermission.php#L27-L41", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/VoyagerServiceProvider.php", "func_name": "VoyagerServiceProvider.addStorageSymlinkAlert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add storage symlink alert.", "docstring_tokens": ["Add", "storage", "symlink", "alert", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/VoyagerServiceProvider.php#L158-L192", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/VoyagerServiceProvider.php", "func_name": "VoyagerServiceProvider.registerConsoleCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the commands accessible from the Console.", "docstring_tokens": ["Register", "the", "commands", "accessible", "from", "the", "Console", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/VoyagerServiceProvider.php#L347-L352", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBaseController.php", "func_name": "VoyagerBaseController.cleanup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove translations, images and files related to a BREAD item.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $dataType\n@param \\Illuminate\\Database\\Eloquent\\Model $data\n\n@return void", "docstring_tokens": ["Remove", "translations", "images", "and", "files", "related", "to", "a", "BREAD", "item", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBaseController.php#L477-L512", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBaseController.php", "func_name": "VoyagerBaseController.deleteBreadImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all images related to a BREAD item.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $data\n@param \\Illuminate\\Database\\Eloquent\\Model $rows\n\n@return void", "docstring_tokens": ["Delete", "all", "images", "related", "to", "a", "BREAD", "item", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBaseController.php#L522-L546", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBaseController.php", "func_name": "VoyagerBaseController.order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Order BREAD items.\n\n@param string $table\n\n@return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View", "docstring_tokens": ["Order", "BREAD", "items", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBaseController.php#L555-L595", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/VoyagerBaseController.php", "func_name": "VoyagerBaseController.relation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get BREAD relations data.\n\n@param Request $request\n\n@return mixed", "docstring_tokens": ["Get", "BREAD", "relations", "data", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/VoyagerBaseController.php#L638-L681", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/Traits/BreadRelationshipParser.php", "func_name": "BreadRelationshipParser.resolveRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace relationships' keys for labels and create READ links if a slug is provided.\n\n@param $dataTypeContent Can be either an eloquent Model, Collection or LengthAwarePaginator instance.\n@param DataType $dataType\n\n@return $dataTypeContent", "docstring_tokens": ["Replace", "relationships", "keys", "for", "labels", "and", "create", "READ", "links", "if", "a", "slug", "is", "provided", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/Traits/BreadRelationshipParser.php#L37-L53", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Commands/MakeModelCommand.php", "func_name": "MakeModelCommand.addSoftDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add SoftDelete to the given stub.\n\n@param string $stub\n\n@return $this", "docstring_tokens": ["Add", "SoftDelete", "to", "the", "given", "stub", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Commands/MakeModelCommand.php#L55-L68", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/Controller.php", "func_name": "Controller.validateBread", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates bread POST request.\n\n@param \\Illuminate\\Http\\Request $request The Request\n@param array $data Field data\n@param string $slug Slug\n@param int $id Id of the record to update\n\n@return mixed", "docstring_tokens": ["Validates", "bread", "POST", "request", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/Controller.php#L164-L210", "partition": "test"} +{"repo": "the-control-group/voyager", "path": "src/Http/Controllers/Controller.php", "func_name": "Controller.getFieldsWithValidationRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fields having validation rules in proper format.\n\n@param array $fieldsConfig\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "fields", "having", "validation", "rules", "in", "proper", "format", "."], "sha": "5315b63a5d17c7de877019ac53bec5bd7fd8e12c", "url": "https://github.com/the-control-group/voyager/blob/5315b63a5d17c7de877019ac53bec5bd7fd8e12c/src/Http/Controllers/Controller.php#L266-L275", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/AccessToken/Verify.php", "func_name": "Google_AccessToken_Verify.verifyIdToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies an id token and returns the authenticated apiLoginTicket.\nThrows an exception if the id token is not valid.\nThe audience parameter can be used to control which id tokens are\naccepted. By default, the id token must have been issued to this OAuth2 client.\n\n@param $audience\n@return array the token payload, if successful", "docstring_tokens": ["Verifies", "an", "id", "token", "and", "returns", "the", "authenticated", "apiLoginTicket", ".", "Throws", "an", "exception", "if", "the", "id", "token", "is", "not", "valid", ".", "The", "audience", "parameter", "can", "be", "used", "to", "control", "which", "id", "tokens", "are", "accepted", ".", "By", "default", "the", "id", "token", "must", "have", "been", "issued", "to", "this", "OAuth2", "client", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/AccessToken/Verify.php#L79-L132", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/AccessToken/Verify.php", "func_name": "Google_AccessToken_Verify.retrieveCertsFromLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve and cache a certificates file.\n\n@param $url string location\n@throws Google_Exception\n@return array certificates", "docstring_tokens": ["Retrieve", "and", "cache", "a", "certificates", "file", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/AccessToken/Verify.php#L146-L172", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/AccessToken/Verify.php", "func_name": "Google_AccessToken_Verify.getFederatedSignOnCerts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "are PEM encoded certificates.", "docstring_tokens": ["are", "PEM", "encoded", "certificates", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/AccessToken/Verify.php#L177-L205", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/AccessToken/Verify.php", "func_name": "Google_AccessToken_Verify.setPhpsecConstants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "phpseclib calls \"phpinfo\" by default, which requires special\nwhitelisting in the AppEngine VM environment. This function\nsets constants to bypass the need for phpseclib to check phpinfo\n\n@see phpseclib/Math/BigInteger\n@see https://github.com/GoogleCloudPlatform/getting-started-php/issues/85", "docstring_tokens": ["phpseclib", "calls", "phpinfo", "by", "default", "which", "requires", "special", "whitelisting", "in", "the", "AppEngine", "VM", "environment", ".", "This", "function", "sets", "constants", "to", "bypass", "the", "need", "for", "phpseclib", "to", "check", "phpinfo"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/AccessToken/Verify.php#L262-L272", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.fetchAccessTokenWithAuthCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to exchange a code for an valid authentication token.\nHelper wrapped around the OAuth 2.0 implementation.\n\n@param $code string code from accounts.google.com\n@return array access token", "docstring_tokens": ["Attempt", "to", "exchange", "a", "code", "for", "an", "valid", "authentication", "token", ".", "Helper", "wrapped", "around", "the", "OAuth", "2", ".", "0", "implementation", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L180-L198", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.fetchAccessTokenWithAssertion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a fresh access token with a given assertion token.\n@param ClientInterface $authHttp optional.\n@return array access token", "docstring_tokens": ["Fetches", "a", "fresh", "access", "token", "with", "a", "given", "assertion", "token", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L217-L244", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.fetchAccessTokenWithRefreshToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a fresh OAuth 2.0 access token with the given refresh token.\n@param string $refreshToken\n@return array access token", "docstring_tokens": ["Fetches", "a", "fresh", "OAuth", "2", ".", "0", "access", "token", "with", "the", "given", "refresh", "token", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L263-L288", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.authorize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds auth listeners to the HTTP client based on the credentials\nset in the Google API Client object\n\n@param GuzzleHttp\\ClientInterface $http the http client object.\n@return GuzzleHttp\\ClientInterface the http client object", "docstring_tokens": ["Adds", "auth", "listeners", "to", "the", "HTTP", "client", "based", "on", "the", "credentials", "set", "in", "the", "Google", "API", "Client", "object"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L350-L389", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.isAccessTokenExpired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if the access_token is expired.\n@return bool Returns True if the access_token is expired.", "docstring_tokens": ["Returns", "if", "the", "access_token", "is", "expired", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L460-L486", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.verifyIdToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify an id_token. This method will verify the current id_token, if one\nisn't provided.\n\n@throws LogicException If no token was provided and no token was set using `setAccessToken`.\n@throws UnexpectedValueException If the token is not a valid JWT.\n@param string|null $idToken The token (id_token) that should be verified.\n@return array|false Returns the token payload as an array if the verification was\nsuccessful, false otherwise.", "docstring_tokens": ["Verify", "an", "id_token", ".", "This", "method", "will", "verify", "the", "current", "id_token", "if", "one", "isn", "t", "provided", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L706-L728", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.addScope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This functions adds a scope to be requested as part of the OAuth2.0 flow.\nWill append any scopes not previously requested to the scope parameter.\nA single string will be treated as a scope to request. An array of strings\nwill each be appended.\n@param $scope_or_scopes string|array e.g. \"profile\"", "docstring_tokens": ["This", "functions", "adds", "a", "scope", "to", "be", "requested", "as", "part", "of", "the", "OAuth2", ".", "0", "flow", ".", "Will", "append", "any", "scopes", "not", "previously", "requested", "to", "the", "scope", "parameter", ".", "A", "single", "string", "will", "be", "treated", "as", "a", "scope", "to", "request", ".", "An", "array", "of", "strings", "will", "each", "be", "appended", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L749-L758", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to execute deferred HTTP requests.\n\n@param $request Psr\\Http\\Message\\RequestInterface|Google_Http_Batch\n@throws Google_Exception\n@return object of the type of the expected class or Psr\\Http\\Message\\ResponseInterface.", "docstring_tokens": ["Helper", "method", "to", "execute", "deferred", "HTTP", "requests", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L790-L810", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.setAuthConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the auth config from new or deprecated JSON config.\nThis structure should match the file downloaded from\nthe \"Download JSON\" button on in the Google Developer\nConsole.\n@param string|array $config the configuration json\n@throws Google_Exception", "docstring_tokens": ["Set", "the", "auth", "config", "from", "new", "or", "deprecated", "JSON", "config", ".", "This", "structure", "should", "match", "the", "file", "downloaded", "from", "the", "Download", "JSON", "button", "on", "in", "the", "Google", "Developer", "Console", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L866-L905", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Client.php", "func_name": "Google_Client.createOAuth2Service", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create a default google auth object", "docstring_tokens": ["create", "a", "default", "google", "auth", "object"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Client.php#L952-L968", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Task/Runner.php", "func_name": "Google_Task_Runner.allowedRetries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the number of times the associated task can be retried.\n\nNOTE: -1 is returned if the task can be retried indefinitely\n\n@return integer", "docstring_tokens": ["Gets", "the", "number", "of", "times", "the", "associated", "task", "can", "be", "retried", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Task/Runner.php#L261-L275", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Http/MediaFileUpload.php", "func_name": "Google_Http_MediaFileUpload.nextChunk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the next part of the file to upload.\n@param [$chunk] the next set of bytes to send. If false will used $data passed\nat construct time.", "docstring_tokens": ["Send", "the", "next", "part", "of", "the", "file", "to", "upload", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Http/MediaFileUpload.php#L118-L141", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Http/Batch.php", "func_name": "Google_Http_Batch.parseHttpResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used by the IO lib and also the batch processing.\n\n@param $respData\n@param $headerSize\n@return array", "docstring_tokens": ["Used", "by", "the", "IO", "lib", "and", "also", "the", "batch", "processing", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Http/Batch.php#L221-L252", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Utils/UriTemplate.php", "func_name": "Google_Utils_UriTemplate.getDataType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the type of a passed in value", "docstring_tokens": ["Return", "the", "type", "of", "a", "passed", "in", "value"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Utils/UriTemplate.php#L278-L288", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Utils/UriTemplate.php", "func_name": "Google_Utils_UriTemplate.combineList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility function that merges multiple combine calls\nfor multi-key templates.", "docstring_tokens": ["Utility", "function", "that", "merges", "multiple", "combine", "calls", "for", "multi", "-", "key", "templates", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Utils/UriTemplate.php#L294-L320", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Utils/UriTemplate.php", "func_name": "Google_Utils_UriTemplate.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility function to encode and trim values", "docstring_tokens": ["Utility", "function", "to", "encode", "and", "trim", "values"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Utils/UriTemplate.php#L325-L332", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Http/REST.php", "func_name": "Google_Http_REST.doExecute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a Psr\\Http\\Message\\RequestInterface\n\n@param Google_Client $client\n@param Psr\\Http\\Message\\RequestInterface $request\n@return array decoded result\n@throws Google_Service_Exception on server side error (ie: not authenticated,\ninvalid or malformed post body, invalid url)", "docstring_tokens": ["Executes", "a", "Psr", "\\", "Http", "\\", "Message", "\\", "RequestInterface"], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Http/REST.php#L70-L95", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Http/REST.php", "func_name": "Google_Http_REST.decodeHttpResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode an HTTP Response.\n@static\n@throws Google_Service_Exception\n@param Psr\\Http\\Message\\RequestInterface $response The http response to be decoded.\n@param Psr\\Http\\Message\\ResponseInterface $response\n@return mixed|null", "docstring_tokens": ["Decode", "an", "HTTP", "Response", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Http/REST.php#L105-L132", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Model.php", "func_name": "Google_Model.mapTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize this object's properties from an array.\n\n@param array $array Used to seed this object's properties.\n@return void", "docstring_tokens": ["Initialize", "this", "object", "s", "properties", "from", "an", "array", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Model.php#L95-L126", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Model.php", "func_name": "Google_Model.toSimpleObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a simplified object suitable for straightforward\nconversion to JSON. This is relatively expensive\ndue to the usage of reflection, but shouldn't be called\na whole lot, and is the most straightforward way to filter.", "docstring_tokens": ["Create", "a", "simplified", "object", "suitable", "for", "straightforward", "conversion", "to", "JSON", ".", "This", "is", "relatively", "expensive", "due", "to", "the", "usage", "of", "reflection", "but", "shouldn", "t", "be", "called", "a", "whole", "lot", "and", "is", "the", "most", "straightforward", "way", "to", "filter", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Model.php#L144-L169", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Model.php", "func_name": "Google_Model.getSimpleValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle different types of values, primarily\nother objects and map and array data types.", "docstring_tokens": ["Handle", "different", "types", "of", "values", "primarily", "other", "objects", "and", "map", "and", "array", "data", "types", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Model.php#L175-L191", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Model.php", "func_name": "Google_Model.getMappedName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If there is an internal name mapping, use that.", "docstring_tokens": ["If", "there", "is", "an", "internal", "name", "mapping", "use", "that", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Model.php#L207-L213", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/Model.php", "func_name": "Google_Model.isAssociativeArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true only if the array is associative.\n@param array $array\n@return bool True if the array is associative.", "docstring_tokens": ["Returns", "true", "only", "if", "the", "array", "is", "associative", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/Model.php#L220-L232", "partition": "test"} +{"repo": "googleapis/google-api-php-client", "path": "src/Google/AuthHandler/AuthHandlerFactory.php", "func_name": "Google_AuthHandler_AuthHandlerFactory.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds out a default http handler for the installed version of guzzle.\n\n@return Google_AuthHandler_Guzzle5AuthHandler|Google_AuthHandler_Guzzle6AuthHandler\n@throws Exception", "docstring_tokens": ["Builds", "out", "a", "default", "http", "handler", "for", "the", "installed", "version", "of", "guzzle", "."], "sha": "1b76fa672c31e4cab58427f413315356682ba68a", "url": "https://github.com/googleapis/google-api-php-client/blob/1b76fa672c31e4cab58427f413315356682ba68a/src/Google/AuthHandler/AuthHandlerFactory.php#L29-L41", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Config/Config.php", "func_name": "Config.find_config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find config.php, either user defined or from standard location\n\n@since 1.7.3\n@return string path to found config file\n@throws ConfigException", "docstring_tokens": ["Find", "config", ".", "php", "either", "user", "defined", "or", "from", "standard", "location"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Config/Config.php#L68-L93", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Config/Config.php", "func_name": "Config.define_core_constants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define core constants that have not been user defined in config.php\n\n@since 1.7.3\n@return void\n@throws ConfigException", "docstring_tokens": ["Define", "core", "constants", "that", "have", "not", "been", "user", "defined", "in", "config", ".", "php"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Config/Config.php#L102-L214", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/YDB.php", "func_name": "YDB.set_emulate_state", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if we emulate prepare statements, and set bool flag accordingly\n\nCheck if current driver can PDO::getAttribute(PDO::ATTR_EMULATE_PREPARES)\nSome combinations of PHP/MySQL don't support this function. See\nhttps://travis-ci.org/YOURLS/YOURLS/jobs/271423782#L481\n\n@since 1.7.3\n@return void", "docstring_tokens": ["Check", "if", "we", "emulate", "prepare", "statements", "and", "set", "bool", "flag", "accordingly"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/YDB.php#L113-L119", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/YDB.php", "func_name": "YDB.dead_or_error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Die with an error message\n\n@since 1.7.3\n\n@param \\Exception $exception\n\n@return void", "docstring_tokens": ["Die", "with", "an", "error", "message"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/YDB.php#L157-L169", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/YDB.php", "func_name": "YDB.get_queries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return SQL queries performed\n\nAura\\Sql\\Profiler logs every PDO command issued. But depending on PDO::ATTR_EMULATE_PREPARES, some are\nactually sent to the mysql server or not :\n- if PDO::ATTR_EMULATE_PREPARES is true, prepare() statements are not sent to the server and are performed\ninternally, so they are removed from the logger\n- if PDO::ATTR_EMULATE_PREPARES is false, prepare() statements are actually performed by the mysql server,\nand count as an actual query\n\nResulting array is something like:\narray (\n0 => array (\n'duration' => 1.0010569095611572265625,\n'function' => 'connect',\n'statement' => NULL,\n'bind_values' => array (),\n'trace' => ...back trace...,\n),\n// key index might not be sequential if 'prepare' function are filtered out\n2 => array (\n'duration' => 0.000999927520751953125,\n'function' => 'perform',\n'statement' => 'SELECT option_value FROM yourls_options WHERE option_name = :option_name LIMIT 1',\n'bind_values' => array ( 'option_name' => 'test_option' ),\n'trace' => ...back trace...,\n),\n);\n\n@since 1.7.3\n@return array", "docstring_tokens": ["Return", "SQL", "queries", "performed"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/YDB.php#L379-L388", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/functions-l10n.php", "func_name": "YOURLS_Locale_Formats.register_globals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Global variables are deprecated. For backwards compatibility only.\n\n@deprecated For backwards compatibility only.\n@access private\n\n@since 1.6", "docstring_tokens": ["Global", "variables", "are", "deprecated", ".", "For", "backwards", "compatibility", "only", "."], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/functions-l10n.php#L1000-L1006", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/Options.php", "func_name": "Options.get_all_options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read all options from DB at once, return bool\n\n@since 1.7.3\n@return bool True on success, false on failure (eg table missing or empty)", "docstring_tokens": ["Read", "all", "options", "from", "DB", "at", "once", "return", "bool"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/Options.php#L42-L80", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/Options.php", "func_name": "Options.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an option to the DB\n\n@since 1.7.3\n@param string $name Name of option to add. Expected to not be SQL-escaped.\n@param mixed $value Optional option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.\n@return bool False if option was not added (eg already exists), true otherwise.", "docstring_tokens": ["Add", "an", "option", "to", "the", "DB"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/Options.php#L184-L219", "partition": "test"} +{"repo": "YOURLS/YOURLS", "path": "includes/Database/Options.php", "func_name": "Options.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete option from DB\n\n@since 1.7.3\n@param string $name Option name to delete. Expected to not be SQL-escaped.\n@return bool False if option was not deleted (eg not found), true otherwise.", "docstring_tokens": ["Delete", "option", "from", "DB"], "sha": "c2b2863f416726039be715a67c245f170be12324", "url": "https://github.com/YOURLS/YOURLS/blob/c2b2863f416726039be715a67c245f170be12324/includes/Database/Options.php#L228-L247", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.addPlaceholder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a new constraint with the system. Constraints are used\nby the routes as placeholders for regular expressions to make defining\nthe routes more human-friendly.\n\nYou can pass an associative array as $placeholder, and have\nmultiple placeholders added at once.\n\n@param string|array $placeholder\n@param string $pattern\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Registers", "a", "new", "constraint", "with", "the", "system", ".", "Constraints", "are", "used", "by", "the", "routes", "as", "placeholders", "for", "regular", "expressions", "to", "make", "defining", "the", "routes", "more", "human", "-", "friendly", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L255-L265", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.setDefaultNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default namespace to use for Controllers when no other\nnamespace has been specified.\n\n@param $value\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Sets", "the", "default", "namespace", "to", "use", "for", "Controllers", "when", "no", "other", "namespace", "has", "been", "specified", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L277-L283", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.setDefaultController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default controller to use when no other controller has been\nspecified.\n\n@param $value\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Sets", "the", "default", "controller", "to", "use", "when", "no", "other", "controller", "has", "been", "specified", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L295-L300", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.setDefaultMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default method to call on the controller when no other\nmethod has been set in the route.\n\n@param $value\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Sets", "the", "default", "method", "to", "call", "on", "the", "controller", "when", "no", "other", "method", "has", "been", "set", "in", "the", "route", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L312-L317", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.discoverRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will attempt to discover any additional routes, either through\nthe local PSR4 namespaces, or through selected Composer packages.", "docstring_tokens": ["Will", "attempt", "to", "discover", "any", "additional", "routes", "either", "through", "the", "local", "PSR4", "namespaces", "or", "through", "selected", "Composer", "packages", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L399-L427", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.setDefaultConstraint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default constraint to be used in the system. Typically\nfor use with the 'resource' method.\n\n@param string $placeholder\n\n@return RouteCollectionInterface", "docstring_tokens": ["Sets", "the", "default", "constraint", "to", "be", "used", "in", "the", "system", ".", "Typically", "for", "use", "with", "the", "resource", "method", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L439-L447", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.getRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the raw array of available routes.\n\n@param mixed $verb\n\n@return array", "docstring_tokens": ["Returns", "the", "raw", "array", "of", "available", "routes", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L518-L549", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.getRoutesOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns one or all routes options\n\n@param string $from\n\n@return array", "docstring_tokens": ["Returns", "one", "or", "all", "routes", "options"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L560-L563", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A shortcut method to add a number of routes at a single time.\nIt does not allow any options to be set on the route, or to\ndefine the method used.\n\n@param array $routes\n@param array $options\n\n@return RouteCollectionInterface", "docstring_tokens": ["A", "shortcut", "method", "to", "add", "a", "number", "of", "routes", "at", "a", "single", "time", ".", "It", "does", "not", "allow", "any", "options", "to", "be", "set", "on", "the", "route", "or", "to", "define", "the", "method", "used", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L604-L612", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.addRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a temporary redirect from one route to another. Used for\nredirecting traffic from old, non-existing routes to the new\nmoved routes.\n\n@param string $from The pattern to match against\n@param string $to Either a route name or a URI to redirect to\n@param integer $status The HTTP status code that should be returned with this redirect\n\n@return RouteCollection", "docstring_tokens": ["Adds", "a", "temporary", "redirect", "from", "one", "route", "to", "another", ".", "Used", "for", "redirecting", "traffic", "from", "old", "non", "-", "existing", "routes", "to", "the", "new", "moved", "routes", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L648-L659", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.isRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the route is a redirecting route.\n\n@param string $from\n\n@return boolean", "docstring_tokens": ["Determines", "if", "the", "route", "is", "a", "redirecting", "route", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L670-L682", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.getRedirectCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Grabs the HTTP status code from a redirecting Route.\n\n@param string $from\n\n@return integer", "docstring_tokens": ["Grabs", "the", "HTTP", "status", "code", "from", "a", "redirecting", "Route", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L693-L705", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies a single route to match for multiple HTTP Verbs.\n\nExample:\n$route->match( ['get', 'post'], 'users/(:num)', 'users/$1);\n\n@param array $verbs\n@param string $from\n@param string|array $to\n@param array $options\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Specifies", "a", "single", "route", "to", "match", "for", "multiple", "HTTP", "Verbs", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L899-L909", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies a route that is only available to OPTIONS requests.\n\n@param string $from\n@param string|array $to\n@param array $options\n\n@return \\CodeIgniter\\Router\\RouteCollectionInterface", "docstring_tokens": ["Specifies", "a", "route", "that", "is", "only", "available", "to", "OPTIONS", "requests", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L1030-L1035", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.environment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limits the routes to a specified ENVIRONMENT or they won't run.\n\n@param string $env\n@param \\Closure $callback\n\n@return RouteCollectionInterface", "docstring_tokens": ["Limits", "the", "routes", "to", "a", "specified", "ENVIRONMENT", "or", "they", "won", "t", "run", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L1065-L1073", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.reverseRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to look up a route based on it's destination.\n\nIf a route exists:\n\n'path/(:any)/(:any)' => 'Controller::method/$1/$2'\n\nThis method allows you to know the Controller and method\nand get the route that leads to it.\n\n// Equals 'path/$param1/$param2'\nreverseRoute('Controller::method', $param1, $param2);\n\n@param string $search\n@param array ...$params\n\n@return string|false", "docstring_tokens": ["Attempts", "to", "look", "up", "a", "route", "based", "on", "it", "s", "destination", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L1095-L1140", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.determineCurrentSubdomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Examines the HTTP_HOST to get a best match for the subdomain. It\nwon't be perfect, but should work for our needs.\n\nIt's especially not perfect since it's possible to register a domain\nwith a period (.) as part of the domain name.", "docstring_tokens": ["Examines", "the", "HTTP_HOST", "to", "get", "a", "best", "match", "for", "the", "subdomain", ".", "It", "won", "t", "be", "perfect", "but", "should", "work", "for", "our", "needs", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L1395-L1432", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/RouteCollection.php", "func_name": "RouteCollection.resetRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the routes, so that a FeatureTestCase can provide the\nexplicit ones needed for it.", "docstring_tokens": ["Reset", "the", "routes", "so", "that", "a", "FeatureTestCase", "can", "provide", "the", "explicit", "ones", "needed", "for", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/RouteCollection.php#L1440-L1447", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.errorHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Even in PHP7, some errors make it through to the errorHandler, so\nconvert these to Exceptions and let the exception handler log it and\ndisplay it.\n\nThis seems to be primarily when a user triggers it with trigger_error().\n\n@param integer $severity\n@param string $message\n@param string|null $file\n@param integer|null $line\n@param null $context\n\n@throws \\ErrorException", "docstring_tokens": ["Even", "in", "PHP7", "some", "errors", "make", "it", "through", "to", "the", "errorHandler", "so", "convert", "these", "to", "Exceptions", "and", "let", "the", "exception", "handler", "log", "it", "and", "display", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L186-L195", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.shutdownHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if any errors have happened during shutdown that\nneed to be caught and handle them.", "docstring_tokens": ["Checks", "to", "see", "if", "any", "errors", "have", "happened", "during", "shutdown", "that", "need", "to", "be", "caught", "and", "handle", "them", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L203-L218", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.determineView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the view to display based on the exception thrown,\nwhether an HTTP or CLI request, etc.\n\n@param \\Throwable $exception\n@param string $template_path\n\n@return string The path and filename of the view file to use", "docstring_tokens": ["Determines", "the", "view", "to", "display", "based", "on", "the", "exception", "thrown", "whether", "an", "HTTP", "or", "CLI", "request", "etc", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L231-L255", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given an exception and status code will display the error to the client.\n\n@param \\Throwable $exception\n@param integer $statusCode", "docstring_tokens": ["Given", "an", "exception", "and", "status", "code", "will", "display", "the", "error", "to", "the", "client", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L265-L297", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.collectVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gathers the variables that will be made available to the view.\n\n@param \\Throwable $exception\n@param integer $statusCode\n\n@return array", "docstring_tokens": ["Gathers", "the", "variables", "that", "will", "be", "made", "available", "to", "the", "view", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L309-L320", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.determineCodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the HTTP status code and the exit status code for this request.\n\n@param \\Throwable $exception\n\n@return array", "docstring_tokens": ["Determines", "the", "HTTP", "status", "code", "and", "the", "exit", "status", "code", "for", "this", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L329-L351", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.describeMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes memory usage in real-world units. Intended for use\nwith memory_get_usage, etc.\n\n@param $bytes\n\n@return string", "docstring_tokens": ["Describes", "memory", "usage", "in", "real", "-", "world", "units", ".", "Intended", "for", "use", "with", "memory_get_usage", "etc", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L395-L407", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Exceptions.php", "func_name": "Exceptions.highlightFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a syntax-highlighted version of a PHP file.\n\n@param string $file\n@param integer $lineNumber\n@param integer $lines\n\n@return boolean|string", "docstring_tokens": ["Creates", "a", "syntax", "-", "highlighted", "version", "of", "a", "PHP", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Exceptions.php#L420-L492", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.alpha_space", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alpha with spaces.\n\n@param string $value Value.\n\n@return boolean True if alpha with spaces, else false.", "docstring_tokens": ["Alpha", "with", "spaces", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L70-L78", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.regex_match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares value against a regular expression pattern.\n\n@param string $str\n@param string $pattern\n@param array $data Other field/value pairs\n\n@return boolean", "docstring_tokens": ["Compares", "value", "against", "a", "regular", "expression", "pattern", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L218-L226", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.valid_email", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for a correctly formatted email address\n\n@param string\n\n@return boolean", "docstring_tokens": ["Checks", "for", "a", "correctly", "formatted", "email", "address"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L285-L293", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.valid_emails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a comma-separated list of email addresses.\n\nExample:\nvalid_emails[one@example.com,two@example.com]\n\n@param string\n\n@return boolean", "docstring_tokens": ["Validate", "a", "comma", "-", "separated", "list", "of", "email", "addresses", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L307-L324", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.valid_url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks a URL to ensure it's formed correctly.\n\n@param string $str\n\n@return boolean", "docstring_tokens": ["Checks", "a", "URL", "to", "ensure", "it", "s", "formed", "correctly", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L364-L383", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FormatRules.php", "func_name": "FormatRules.valid_date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for a valid date and matches a given date format\n\n@param string $str\n@param string $format\n\n@return boolean", "docstring_tokens": ["Checks", "for", "a", "valid", "date", "and", "matches", "a", "given", "date", "format"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FormatRules.php#L395-L405", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Exceptions/HTTPException.php", "func_name": "HTTPException.forMoveFailed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For Uploaded file move\n\n@return \\CodeIgniter\\HTTP\\Exceptions\\HTTPException", "docstring_tokens": ["For", "Uploaded", "file", "move"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Exceptions/HTTPException.php#L256-L259", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/CreditCardRules.php", "func_name": "CreditCardRules.valid_cc_number", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies that a credit card number is valid and matches the known\nformats for a wide number of credit card types. This does not verify\nthat the card is a valid card, only that the number is formatted correctly.\n\nExample:\n$rules = [\n'cc_num' => 'valid_cc_number[visa]'\n];\n\n@param string $ccNumber\n@param string $type\n@param array $data\n\n@return boolean", "docstring_tokens": ["Verifies", "that", "a", "credit", "card", "number", "is", "valid", "and", "matches", "the", "known", "formats", "for", "a", "wide", "number", "of", "credit", "card", "types", ".", "This", "does", "not", "verify", "that", "the", "card", "is", "a", "valid", "card", "only", "that", "the", "number", "is", "formatted", "correctly", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/CreditCardRules.php#L211-L283", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/CreditCardRules.php", "func_name": "CreditCardRules.isValidLuhn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the given number to see if the number passing a Luhn check.\n\n@param string $number\n\n@return boolean", "docstring_tokens": ["Checks", "the", "given", "number", "to", "see", "if", "the", "number", "passing", "a", "Luhn", "check", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/CreditCardRules.php#L294-L334", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ComposerScripts.php", "func_name": "ComposerScripts.moveFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move a file.\n\n@param string $source\n@param string $destination\n\n@return boolean", "docstring_tokens": ["Move", "a", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ComposerScripts.php#L81-L96", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ComposerScripts.php", "func_name": "ComposerScripts.moveEscaper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves the Zend Escaper files into our base repo so that it's\navailable for packaged releases where the users don't user Composer.\n\n@throws \\ReflectionException", "docstring_tokens": ["Moves", "the", "Zend", "Escaper", "files", "into", "our", "base", "repo", "so", "that", "it", "s", "available", "for", "packaged", "releases", "where", "the", "users", "don", "t", "user", "Composer", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ComposerScripts.php#L152-L181", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ComposerScripts.php", "func_name": "ComposerScripts.moveKint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves the Kint file into our base repo so that it's\navailable for packaged releases where the users don't user Composer.", "docstring_tokens": ["Moves", "the", "Kint", "file", "into", "our", "base", "repo", "so", "that", "it", "s", "available", "for", "packaged", "releases", "where", "the", "users", "don", "t", "user", "Composer", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ComposerScripts.php#L189-L214", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the session container and starts up the session.\n\n@return mixed", "docstring_tokens": ["Initialize", "the", "session", "container", "and", "starts", "up", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L197-L265", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.configureSidLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure session ID length\n\nTo make life easier, we used to force SHA-1 and 4 bits per\ncharacter on everyone. And of course, someone was unhappy.\n\nThen PHP 7.1 broke backwards-compatibility because ext/session\nis such a mess that nobody wants to touch it with a pole stick,\nand the one guy who does, nobody has the energy to argue with.\n\nSo we were forced to make changes, and OF COURSE something was\ngoing to break and now we have this pile of shit. -- Narf\n\n@return void", "docstring_tokens": ["Configure", "session", "ID", "length"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L347-L378", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.initVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle temporary variables\n\nClears old \"flash\" data, marks the new one for deletion and handles\n\"temp\" data deletion.", "docstring_tokens": ["Handle", "temporary", "variables"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L388-L415", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets user data into the session.\n\nIf $data is a string, then it is interpreted as a session property\nkey, and $value is expected to be non-null.\n\nIf $data is an array, it is expected to be an array of key/value pairs\nto be set as session properties.\n\n@param string|array $data Property name or associative array of properties\n@param string|array $value Property value if single key provided", "docstring_tokens": ["Sets", "user", "data", "into", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L460-L480", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user data that has been set in the session.\n\nIf the property exists as \"normal\", returns it.\nOtherwise, returns an array of any temp or flash data values with the\nproperty key.\n\nReplaces the legacy method $session->userdata();\n\n@param string $key Identifier of the session property to retrieve\n@return array|null\tThe property value(s)", "docstring_tokens": ["Get", "user", "data", "that", "has", "been", "set", "in", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L496-L527", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.push", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push new value onto session value that is array.\n\n@param string $key Identifier of the session property we are interested in.\n@param array $data value to be pushed to existing session key.\n\n@return void", "docstring_tokens": ["Push", "new", "value", "onto", "session", "value", "that", "is", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L553-L559", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove one or more session properties.\n\nIf $key is an array, it is interpreted as an array of string property\nidentifiers to remove. Otherwise, it is interpreted as the identifier\nof a specific session property to remove.\n\n@param string|array $key Identifier of the session property or properties to remove.", "docstring_tokens": ["Remove", "one", "or", "more", "session", "properties", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L572-L585", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.setFlashdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets data into the session that will only last for a single request.\nPerfect for use with single-use status update messages.\n\nIf $data is an array, it is interpreted as an associative array of\nkey/value pairs for flashdata properties.\nOtherwise, it is interpreted as the identifier of a specific\nflashdata property, with $value containing the property value.\n\n@param array|string $data Property identifier or associative array of properties\n@param string|array $value Property value if $data is a scalar", "docstring_tokens": ["Sets", "data", "into", "the", "session", "that", "will", "only", "last", "for", "a", "single", "request", ".", "Perfect", "for", "use", "with", "single", "-", "use", "status", "update", "messages", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L644-L648", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.getFlashdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve one or more items of flash data from the session.\n\nIf the item key is null, return all flashdata.\n\n@param string $key Property identifier\n@return array|null\tThe requested property value, or an associative array of them", "docstring_tokens": ["Retrieve", "one", "or", "more", "items", "of", "flash", "data", "from", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L660-L679", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.markAsFlashdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mark a session property or properties as flashdata.\n\n@param array|string $key Property identifier or array of them\n\n@return boolean False if any of the properties are not already set", "docstring_tokens": ["Mark", "a", "session", "property", "or", "properties", "as", "flashdata", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L702-L729", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.getFlashKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve all of the keys for session data marked as flashdata.\n\n@return array\tThe property names of all flashdata", "docstring_tokens": ["Retrieve", "all", "of", "the", "keys", "for", "session", "data", "marked", "as", "flashdata", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L768-L782", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.setTempdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets new data into the session, and marks it as temporary data\nwith a set lifespan.\n\n@param string|array $data Session data key or associative array of items\n@param null $value Value to store\n@param integer $ttl Time-to-live in seconds", "docstring_tokens": ["Sets", "new", "data", "into", "the", "session", "and", "marks", "it", "as", "temporary", "data", "with", "a", "set", "lifespan", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L797-L801", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.getTempdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns either a single piece of tempdata, or all temp data currently\nin the session.\n\n@param string $key Session data key\n@return mixed Session data value or null if not found.", "docstring_tokens": ["Returns", "either", "a", "single", "piece", "of", "tempdata", "or", "all", "temp", "data", "currently", "in", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L812-L831", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.markAsTempdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mark one of more pieces of data as being temporary, meaning that\nit has a set lifespan within the session.\n\n@param string|array $key Property identifier or array of them\n@param integer $ttl Time to live, in seconds\n\n@return boolean False if any of the properties were not set", "docstring_tokens": ["Mark", "one", "of", "more", "pieces", "of", "data", "as", "being", "temporary", "meaning", "that", "it", "has", "a", "set", "lifespan", "within", "the", "session", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L857-L903", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.unmarkTempdata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unmarks temporary data in the session, effectively removing its\nlifespan and allowing it to live as long as the session does.\n\n@param string|array $key\tProperty identifier or array of them", "docstring_tokens": ["Unmarks", "temporary", "data", "in", "the", "session", "effectively", "removing", "its", "lifespan", "and", "allowing", "it", "to", "live", "as", "long", "as", "the", "session", "does", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L913-L934", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.getTempKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the keys of all session data that have been marked as temporary data.\n\n@return array", "docstring_tokens": ["Retrieve", "the", "keys", "of", "all", "session", "data", "that", "have", "been", "marked", "as", "temporary", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L943-L957", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Session.php", "func_name": "Session.setCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes care of setting the cookie on the client side.\nExtracted for testing reasons.", "docstring_tokens": ["Takes", "care", "of", "setting", "the", "cookie", "on", "the", "client", "side", ".", "Extracted", "for", "testing", "reasons", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Session.php#L993-L998", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Throttle/Throttler.php", "func_name": "Throttler.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restricts the number of requests made by a single IP address within\na set number of seconds.\n\nExample:\n\nif (! $throttler->check($request->ipAddress(), 60, MINUTE))\n{\ndie('You submitted over 60 requests within a minute.');\n}\n\n@param string $key The name to use as the \"bucket\" name.\n@param integer $capacity The number of requests the \"bucket\" can hold\n@param integer $seconds The time it takes the \"bucket\" to completely refill\n@param integer $cost The number of tokens this action uses.\n\n@return boolean\n@internal param int $maxRequests", "docstring_tokens": ["Restricts", "the", "number", "of", "requests", "made", "by", "a", "single", "IP", "address", "within", "a", "set", "number", "of", "seconds", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Throttle/Throttler.php#L128-L173", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "app/Config/Mimes.php", "func_name": "Mimes.guessTypeFromExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to determine the best mime type for the given file extension.\n\n@param string $extension\n\n@return string|null The mime type found, or none if unable to determine.", "docstring_tokens": ["Attempts", "to", "determine", "the", "best", "mime", "type", "for", "the", "given", "file", "extension", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/app/Config/Mimes.php#L484-L494", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "app/Config/Mimes.php", "func_name": "Mimes.guessExtensionFromType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to determine the best file extension for a given mime type.\n\n@param string $type\n@param string $proposed_extension - default extension (in case there is more than one with the same mime type)\n\n@return string|null The extension determined, or null if unable to match.", "docstring_tokens": ["Attempts", "to", "determine", "the", "best", "file", "extension", "for", "a", "given", "mime", "type", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/app/Config/Mimes.php#L506-L530", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/RedirectResponse.php", "func_name": "RedirectResponse.to", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the URI to redirect to and, optionally, the HTTP status code to use.\nIf no code is provided it will be automatically determined.\n\n@param string $uri The URI to redirect to\n@param integer|null $code HTTP status code\n@param string $method\n\n@return $this", "docstring_tokens": ["Sets", "the", "URI", "to", "redirect", "to", "and", "optionally", "the", "HTTP", "status", "code", "to", "use", ".", "If", "no", "code", "is", "provided", "it", "will", "be", "automatically", "determined", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/RedirectResponse.php#L59-L70", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/RedirectResponse.php", "func_name": "RedirectResponse.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the URI to redirect to but as a reverse-routed or named route\ninstead of a raw URI.\n\n@param string $route\n@param array $params\n@param integer|null $code\n@param string $method\n\n@return $this", "docstring_tokens": ["Sets", "the", "URI", "to", "redirect", "to", "but", "as", "a", "reverse", "-", "routed", "or", "named", "route", "instead", "of", "a", "raw", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/RedirectResponse.php#L83-L95", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/RedirectResponse.php", "func_name": "RedirectResponse.back", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to return to previous page.\n\nExample:\nreturn redirect()->back();\n\n@param integer|null $code\n@param string $method\n\n@return $this", "docstring_tokens": ["Helper", "function", "to", "return", "to", "previous", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/RedirectResponse.php#L108-L113", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/RedirectResponse.php", "func_name": "RedirectResponse.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a key and message to the session as Flashdata.\n\n@param string $key\n@param string|array $message\n\n@return $this", "docstring_tokens": ["Adds", "a", "key", "and", "message", "to", "the", "session", "as", "Flashdata", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/RedirectResponse.php#L153-L160", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Filters.php", "func_name": "Filters.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs through all of the filters for the specified\nuri and position.\n\n@param string $uri\n@param string $position\n\n@return \\CodeIgniter\\HTTP\\RequestInterface|\\CodeIgniter\\HTTP\\ResponseInterface|mixed\n@throws \\CodeIgniter\\Filters\\Exceptions\\FilterException", "docstring_tokens": ["Runs", "through", "all", "of", "the", "filters", "for", "the", "specified", "uri", "and", "position", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Filters.php#L125-L187", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Filters.php", "func_name": "Filters.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs through our list of filters provided by the configuration\nobject to get them ready for use, including getting uri masks\nto proper regex, removing those we can from the possibilities\nbased on HTTP method, etc.\n\nThe resulting $this->filters is an array of only filters\nthat should be applied to this request.\n\nWe go ahead an process the entire tree because we'll need to\nrun through both a before and after and don't want to double\nprocess the rows.\n\n@param string $uri\n\n@return Filters", "docstring_tokens": ["Runs", "through", "our", "list", "of", "filters", "provided", "by", "the", "configuration", "object", "to", "get", "them", "ready", "for", "use", "including", "getting", "uri", "masks", "to", "proper", "regex", "removing", "those", "we", "can", "from", "the", "possibilities", "based", "on", "HTTP", "method", "etc", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Filters.php#L208-L222", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Filters.php", "func_name": "Filters.enableFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that a specific filter is on and enabled for the current request.\n\nFilters can have \"arguments\". This is done by placing a colon immediately\nafter the filter name, followed by a comma-separated list of arguments that\nare passed to the filter when executed.\n\n@param string $name\n@param string $when\n\n@return \\CodeIgniter\\Filters\\Filters", "docstring_tokens": ["Ensures", "that", "a", "specific", "filter", "is", "on", "and", "enabled", "for", "the", "current", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Filters.php#L283-L309", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Filters.php", "func_name": "Filters.getArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the arguments for a specified key, or all.\n\n@return mixed", "docstring_tokens": ["Returns", "the", "arguments", "for", "a", "specified", "key", "or", "all", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Filters.php#L318-L323", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Log/Handlers/ChromeLoggerHandler.php", "func_name": "ChromeLoggerHandler.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the object to display nicely in the Chrome Logger UI.\n\n@param $object\n\n@return array", "docstring_tokens": ["Converts", "the", "object", "to", "display", "nicely", "in", "the", "Chrome", "Logger", "UI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Log/Handlers/ChromeLoggerHandler.php#L182-L195", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Log/Handlers/ChromeLoggerHandler.php", "func_name": "ChromeLoggerHandler.sendLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches the header and the content to the passed in request object.\n\n@param ResponseInterface $response", "docstring_tokens": ["Attaches", "the", "header", "and", "the", "content", "to", "the", "passed", "in", "request", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Log/Handlers/ChromeLoggerHandler.php#L204-L214", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.detectLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles setting up the locale, perhaps auto-detecting through\ncontent negotiation.\n\n@param $config", "docstring_tokens": ["Handles", "setting", "up", "the", "locale", "perhaps", "auto", "-", "detecting", "through", "content", "negotiation", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L189-L199", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the locale string for this request.\n\n@param string $locale\n\n@return IncomingRequest", "docstring_tokens": ["Sets", "the", "locale", "string", "for", "this", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L235-L264", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.isSecure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to detect if the current connection is secure through\na few different methods.\n\n@return boolean", "docstring_tokens": ["Attempts", "to", "detect", "if", "the", "current", "connection", "is", "secure", "through", "a", "few", "different", "methods", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L299-L315", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A convenience method that grabs the raw input stream and decodes\nthe JSON into an array.\n\nIf $assoc == true, then all objects in the response will be converted\nto associative arrays.\n\n@param boolean $assoc Whether to return objects as associative arrays\n@param integer $depth How many levels deep to decode\n@param integer $options Bitmask of options\n\n@see http://php.net/manual/en/function.json-decode.php\n\n@return mixed", "docstring_tokens": ["A", "convenience", "method", "that", "grabs", "the", "raw", "input", "stream", "and", "decodes", "the", "JSON", "into", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L352-L355", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an item from GET data.\n\n@param string|array|null $index Index for item to fetch from $_GET.\n@param integer|null $filter A filter name to apply.\n@param mixed|null $flags\n\n@return mixed", "docstring_tokens": ["Fetch", "an", "item", "from", "GET", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L383-L386", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an item from POST.\n\n@param string|array|null $index Index for item to fetch from $_POST.\n@param integer|null $filter A filter name to apply\n@param mixed $flags\n\n@return mixed", "docstring_tokens": ["Fetch", "an", "item", "from", "POST", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L399-L402", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getPostGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an item from POST data with fallback to GET.\n\n@param string|array|null $index Index for item to fetch from $_POST or $_GET\n@param integer|null $filter A filter name to apply\n@param mixed $flags\n\n@return mixed", "docstring_tokens": ["Fetch", "an", "item", "from", "POST", "data", "with", "fallback", "to", "GET", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L415-L421", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getGetPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an item from GET data with fallback to POST.\n\n@param string|array|null $index Index for item to be fetched from $_GET or $_POST\n@param integer|null $filter A filter name to apply\n@param mixed $flags\n\n@return mixed", "docstring_tokens": ["Fetch", "an", "item", "from", "GET", "data", "with", "fallback", "to", "POST", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L434-L440", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an item from the COOKIE array.\n\n@param string|array|null $index Index for item to be fetched from $_COOKIE\n@param integer|null $filter A filter name to be applied\n@param mixed $flags\n\n@return mixed", "docstring_tokens": ["Fetch", "an", "item", "from", "the", "COOKIE", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L453-L456", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of all files that have been uploaded with this\nrequest. Each file is represented by an UploadedFile instance.\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "all", "files", "that", "have", "been", "uploaded", "with", "this", "request", ".", "Each", "file", "is", "represented", "by", "an", "UploadedFile", "instance", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L534-L542", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.getFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a single file by the name of the input field used\nto upload it.\n\n@param string $fileID\n\n@return UploadedFile|null", "docstring_tokens": ["Retrieves", "a", "single", "file", "by", "the", "name", "of", "the", "input", "field", "used", "to", "upload", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L554-L562", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.detectURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets up our URI object based on the information we have. This is\neither provided by the user in the baseURL Config setting, or\ndetermined from the environment as needed.\n\n@param string $protocol\n@param string $baseURL", "docstring_tokens": ["Sets", "up", "our", "URI", "object", "based", "on", "the", "information", "we", "have", ".", "This", "is", "either", "provided", "by", "the", "user", "in", "the", "baseURL", "Config", "setting", "or", "determined", "from", "the", "environment", "as", "needed", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L574-L604", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.detectPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on the URIProtocol Config setting, will attempt to\ndetect the path portion of the current URI.\n\n@param string $protocol\n\n@return string", "docstring_tokens": ["Based", "on", "the", "URIProtocol", "Config", "setting", "will", "attempt", "to", "detect", "the", "path", "portion", "of", "the", "current", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L616-L638", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.negotiate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides a convenient way to work with the Negotiate class\nfor content negotiation.\n\n@param string $type\n@param array $supported\n@param boolean $strictMatch\n\n@return string", "docstring_tokens": ["Provides", "a", "convenient", "way", "to", "work", "with", "the", "Negotiate", "class", "for", "content", "negotiation", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L652-L672", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/IncomingRequest.php", "func_name": "IncomingRequest.parseRequestURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will parse the REQUEST_URI and automatically detect the URI from it,\nfixing the query string if necessary.\n\n@return string The URI it found.", "docstring_tokens": ["Will", "parse", "the", "REQUEST_URI", "and", "automatically", "detect", "the", "URI", "from", "it", "fixing", "the", "query", "string", "if", "necessary", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/IncomingRequest.php#L682-L735", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Postgre/Connection.php", "func_name": "Connection.buildDSN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a DSN from the provided parameters\n\n@return void", "docstring_tokens": ["Build", "a", "DSN", "from", "the", "provided", "parameters"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Postgre/Connection.php#L492-L535", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "app/Config/Format.php", "func_name": "Format.getFormatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A Factory method to return the appropriate formatter for the given mime type.\n\n@param string $mime\n\n@return \\CodeIgniter\\Format\\FormatterInterface", "docstring_tokens": ["A", "Factory", "method", "to", "return", "the", "appropriate", "formatter", "for", "the", "given", "mime", "type", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/app/Config/Format.php#L52-L67", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Honeypot.php", "func_name": "Honeypot.before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if Honeypot field is empty; if not\nthen the requester is a bot\n\n@param \\CodeIgniter\\HTTP\\RequestInterface $request\n\n@return void\n\n@throws \\CodeIgniter\\Honeypot\\Exceptions\\HoneypotException", "docstring_tokens": ["Checks", "if", "Honeypot", "field", "is", "empty", ";", "if", "not", "then", "the", "requester", "is", "a", "bot"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Honeypot.php#L61-L68", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/Honeypot.php", "func_name": "Honeypot.after", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a honeypot to the current response.\n\n@param \\CodeIgniter\\HTTP\\RequestInterface $request\n@param \\CodeIgniter\\HTTP\\ResponseInterface $response\n\n@return void", "docstring_tokens": ["Attach", "a", "honeypot", "to", "the", "current", "response", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/Honeypot.php#L78-L82", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/ImageMagickHandler.php", "func_name": "ImageMagickHandler._resize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the actual resizing of the image.\n\n@param boolean $maintainRatio\n\n@return ImageMagickHandler\n@throws \\Exception", "docstring_tokens": ["Handles", "the", "actual", "resizing", "of", "the", "image", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/ImageMagickHandler.php#L93-L109", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/ImageMagickHandler.php", "func_name": "ImageMagickHandler._crop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Crops the image.\n\n@return boolean|\\CodeIgniter\\Images\\Handlers\\ImageMagickHandler\n@throws \\Exception", "docstring_tokens": ["Crops", "the", "image", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/ImageMagickHandler.php#L119-L129", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/ImageMagickHandler.php", "func_name": "ImageMagickHandler.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get GD version\n\n@return string", "docstring_tokens": ["Get", "GD", "version"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/ImageMagickHandler.php#L213-L221", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/ImageMagickHandler.php", "func_name": "ImageMagickHandler.getResourcePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Image Resource\n\nThis simply creates an image resource handle\nbased on the type of image being processed.\nSince ImageMagick is used on the cli, we need to\nensure we have a temporary file on the server\nthat we can use.\n\nTo ensure we can use all features, like transparency,\nduring the process, we'll use a PNG as the temp file type.\n\n@return resource|boolean\n@throws \\Exception", "docstring_tokens": ["Get", "Image", "Resource"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/ImageMagickHandler.php#L323-L333", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge.addForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Foreign Key\n\n@param string $fieldName\n@param string $tableName\n@param string $tableField\n@param string $onUpdate\n@param string $onDelete\n\n@return \\CodeIgniter\\Database\\Forge\n@throws \\CodeIgniter\\Database\\Exceptions\\DatabaseException", "docstring_tokens": ["Add", "Foreign", "Key"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L397-L412", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge.dropForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Foreign Key Drop\n\n@param string $table Table name\n@param string $foreign_name Foreign name\n\n@return boolean|\\CodeIgniter\\Database\\BaseResult|\\CodeIgniter\\Database\\Query|false|mixed\n@throws \\CodeIgniter\\Database\\Exceptions\\DatabaseException", "docstring_tokens": ["Foreign", "Key", "Drop"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L425-L441", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge._attributeUnsigned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Field attribute UNSIGNED\n\nDepending on the unsigned property value:\n\n- TRUE will always set $field['unsigned'] to 'UNSIGNED'\n- FALSE will always set $field['unsigned'] to ''\n- array(TYPE) will set $field['unsigned'] to 'UNSIGNED',\nif $attributes['TYPE'] is found in the array\n- array(TYPE => UTYPE) will change $field['type'],\nfrom TYPE to UTYPE in case of a match\n\n@param array &$attributes\n@param array &$field\n\n@return null|void", "docstring_tokens": ["Field", "attribute", "UNSIGNED"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L1024-L1056", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge._attributeDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Field attribute DEFAULT\n\n@param array &$attributes\n@param array &$field\n\n@return null|void", "docstring_tokens": ["Field", "attribute", "DEFAULT"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L1068-L1090", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge._processPrimaryKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process primary keys\n\n@param string $table Table name\n\n@return string", "docstring_tokens": ["Process", "primary", "keys"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L1139-L1158", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Forge.php", "func_name": "Forge._processForeignKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process foreign keys\n\n@param string $table Table name\n\n@return string", "docstring_tokens": ["Process", "foreign", "keys"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Forge.php#L1214-L1248", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Language/Language.php", "func_name": "Language.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the current locale to use when performing string lookups.\n\n@param string $locale\n\n@return $this", "docstring_tokens": ["Sets", "the", "current", "locale", "to", "use", "when", "performing", "string", "lookups", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Language/Language.php#L105-L113", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Language/Language.php", "func_name": "Language.getLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the language string for a file, loads the file, if necessary,\ngetting the line.\n\n@param string $line Line.\n@param array $args Arguments.\n\n@return string|string[] Returns line.", "docstring_tokens": ["Parses", "the", "language", "string", "for", "a", "file", "loads", "the", "file", "if", "necessary", "getting", "the", "line", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Language/Language.php#L136-L180", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Language/Language.php", "func_name": "Language.formatMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Advanced message formatting.\n\n@param string|array $message Message.\n@param array\t $args Arguments.\n\n@return string|array Returns formatted message.", "docstring_tokens": ["Advanced", "message", "formatting", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Language/Language.php#L219-L236", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Language/Language.php", "func_name": "Language.requireFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A simple method for including files that can be\noverridden during testing.\n\n@param string $path\n\n@return array", "docstring_tokens": ["A", "simple", "method", "for", "including", "files", "that", "can", "be", "overridden", "during", "testing", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Language/Language.php#L299-L326", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addBaseURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new base_uri value. Can be either a URI class or a simple string.\n\nbase_uri restricts the URLs that can appear in a page\u2019s element.\n\n@see http://www.w3.org/TR/CSP/#directive-base-uri\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "base_uri", "value", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L287-L292", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addImageSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for valid image sources. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-img-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "valid", "image", "sources", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L439-L444", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addMediaSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for valid video and audio. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-media-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "valid", "video", "and", "audio", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L459-L464", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addManifestSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for manifest sources. Can be either\na URI class or simple string.\n\n@see https://www.w3.org/TR/CSP/#directive-manifest-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "manifest", "sources", ".", "Can", "be", "either", "a", "URI", "class", "or", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L479-L484", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addObjectSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for Flash and other plugin sources. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-object-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "Flash", "and", "other", "plugin", "sources", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L499-L504", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addPluginType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limits the types of plugins that can be used. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-plugin-types\n\n@param string|array $mime One or more plugin mime types, separate by spaces\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Limits", "the", "types", "of", "plugins", "that", "can", "be", "used", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L519-L524", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addSandbox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "specifies an HTML sandbox policy that the user agent applies to\nthe protected resource.\n\n@see http://www.w3.org/TR/CSP/#directive-sandbox\n\n@param string|array $flags An array of sandbox flags that can be added to the directive.\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["specifies", "an", "HTML", "sandbox", "policy", "that", "the", "user", "agent", "applies", "to", "the", "protected", "resource", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L558-L562", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addScriptSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for javascript file sources. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-connect-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "javascript", "file", "sources", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L577-L582", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addStyleSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new valid endpoint for CSS file sources. Can be either\na URI class or a simple string.\n\n@see http://www.w3.org/TR/CSP/#directive-connect-src\n\n@param string|array $uri\n@param boolean|null $explicitReporting\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "valid", "endpoint", "for", "CSS", "file", "sources", ".", "Can", "be", "either", "a", "URI", "class", "or", "a", "simple", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L597-L602", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.addOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "DRY method to add an string or array to a class property.\n\n@param string|array $options\n@param string $target\n@param boolean|null $explicitReporting", "docstring_tokens": ["DRY", "method", "to", "add", "an", "string", "or", "array", "to", "a", "class", "property", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L632-L651", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.generateNonces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scans the body of the request message and replaces any nonce\nplaceholders with actual nonces, that we'll then add to our\nheaders.\n\n@param ResponseInterface|\\CodeIgniter\\HTTP\\Response $response", "docstring_tokens": ["Scans", "the", "body", "of", "the", "request", "message", "and", "replaces", "any", "nonce", "placeholders", "with", "actual", "nonces", "that", "we", "ll", "then", "add", "to", "our", "headers", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L662-L703", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/ContentSecurityPolicy.php", "func_name": "ContentSecurityPolicy.buildHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on the current state of the elements, will add the appropriate\nContent-Security-Policy and Content-Security-Policy-Report-Only headers\nwith their values to the response object.\n\n@param ResponseInterface|\\CodeIgniter\\HTTP\\Response $response", "docstring_tokens": ["Based", "on", "the", "current", "state", "of", "the", "elements", "will", "add", "the", "appropriate", "Content", "-", "Security", "-", "Policy", "and", "Content", "-", "Security", "-", "Policy", "-", "Report", "-", "Only", "headers", "with", "their", "values", "to", "the", "response", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/ContentSecurityPolicy.php#L714-L789", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar/Collectors/BaseCollector.php", "func_name": "BaseCollector.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Collector's title.\n\n@param boolean $safe\n@return string", "docstring_tokens": ["Gets", "the", "Collector", "s", "title", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar/Collectors/BaseCollector.php#L94-L102", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar/Collectors/Logs.php", "func_name": "Logs.collectLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the data has been collected.", "docstring_tokens": ["Ensures", "the", "data", "has", "been", "collected", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar/Collectors/Logs.php#L127-L135", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Cell.php", "func_name": "Cell.prepareParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the params attribute. If an array, returns untouched.\nIf a string, it should be in the format \"key1=value key2=value\".\nIt will be split and returned as an array.\n\n@param $params\n\n@return array|null", "docstring_tokens": ["Parses", "the", "params", "attribute", ".", "If", "an", "array", "returns", "untouched", ".", "If", "a", "string", "it", "should", "be", "in", "the", "format", "key1", "=", "value", "key2", "=", "value", ".", "It", "will", "be", "split", "and", "returned", "as", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Cell.php#L190-L230", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Cell.php", "func_name": "Cell.determineClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given the library string, attempts to determine the class and method\nto call.\n\n@param string $library\n\n@return array", "docstring_tokens": ["Given", "the", "library", "string", "attempts", "to", "determine", "the", "class", "and", "method", "to", "call", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Cell.php#L242-L269", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the results of the query. Typically an array of\nindividual data rows, which can be either an 'array', an\n'object', or a custom class name.\n\n@param string $type The row type. Either 'array', 'object', or a class name to use\n\n@return array", "docstring_tokens": ["Retrieve", "the", "results", "of", "the", "query", ".", "Typically", "an", "array", "of", "individual", "data", "rows", "which", "can", "be", "either", "an", "array", "an", "object", "or", "a", "custom", "class", "name", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L128-L140", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getCustomResultObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the results as an array of custom objects.\n\n@param string $className The name of the class to use.\n\n@return mixed", "docstring_tokens": ["Returns", "the", "results", "as", "an", "array", "of", "custom", "objects", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L151-L198", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getResultArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the results as an array of arrays.\n\nIf no results, an empty array is returned.\n\n@return array", "docstring_tokens": ["Returns", "the", "results", "as", "an", "array", "of", "arrays", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L209-L241", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getResultObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the results as an array of objects.\n\nIf no results, an empty array is returned.\n\n@return array", "docstring_tokens": ["Returns", "the", "results", "as", "an", "array", "of", "objects", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L252-L284", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrapper object to return a row as either an array, an object, or\na custom class.\n\nIf row doesn't exist, returns null.\n\n@param mixed $n The index of the results to return\n@param string $type The type of result object. 'array', 'object' or class name.\n\n@return mixed", "docstring_tokens": ["Wrapper", "object", "to", "return", "a", "row", "as", "either", "an", "array", "an", "object", "or", "a", "custom", "class", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L299-L325", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getCustomRowObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a row as a custom class instance.\n\nIf row doesn't exists, returns null.\n\n@param integer $n\n@param string $className\n\n@return mixed", "docstring_tokens": ["Returns", "a", "row", "as", "a", "custom", "class", "instance", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L339-L354", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getRowArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a single row from the results as an array.\n\nIf row doesn't exist, returns null.\n\n@param integer $n\n\n@return mixed", "docstring_tokens": ["Returns", "a", "single", "row", "from", "the", "results", "as", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L367-L381", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getRowObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a single row from the results as an object.\n\nIf row doesn't exist, returns null.\n\n@param integer $n\n\n@return mixed", "docstring_tokens": ["Returns", "a", "single", "row", "from", "the", "results", "as", "an", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L394-L408", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.setRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assigns an item into a particular column slot.\n\n@param mixed $key\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Assigns", "an", "item", "into", "a", "particular", "column", "slot", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L420-L442", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getFirstRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the \"first\" row of the current results.\n\n@param string $type\n\n@return mixed", "docstring_tokens": ["Returns", "the", "first", "row", "of", "the", "current", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L453-L458", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getLastRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the \"last\" row of the current results.\n\n@param string $type\n\n@return mixed", "docstring_tokens": ["Returns", "the", "last", "row", "of", "the", "current", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L469-L474", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getNextRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the \"next\" row of the current results.\n\n@param string $type\n\n@return mixed", "docstring_tokens": ["Returns", "the", "next", "row", "of", "the", "current", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L485-L494", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseResult.php", "func_name": "BaseResult.getUnbufferedRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an unbuffered row and move the pointer to the next row.\n\n@param string $type\n\n@return mixed", "docstring_tokens": ["Returns", "an", "unbuffered", "row", "and", "move", "the", "pointer", "to", "the", "next", "row", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseResult.php#L530-L542", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Negotiate.php", "func_name": "Negotiate.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match-maker\n\n@param array $acceptable\n@param string $supported\n@param boolean $enforceTypes\n@return boolean", "docstring_tokens": ["Match", "-", "maker"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Negotiate.php#L344-L366", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Negotiate.php", "func_name": "Negotiate.matchParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks two Accept values with matching 'values' to see if their\n'params' are the same.\n\n@param array $acceptable\n@param array $supported\n\n@return boolean", "docstring_tokens": ["Checks", "two", "Accept", "values", "with", "matching", "values", "to", "see", "if", "their", "params", "are", "the", "same", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Negotiate.php#L379-L396", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/Console.php", "func_name": "Console.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the current command discovered on the CLI.\n\n@param boolean $useSafeOutput\n\n@return \\CodeIgniter\\HTTP\\RequestInterface|\\CodeIgniter\\HTTP\\Response|\\CodeIgniter\\HTTP\\ResponseInterface|mixed\n@throws \\Exception", "docstring_tokens": ["Runs", "the", "current", "command", "discovered", "on", "the", "CLI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/Console.php#L78-L86", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/Console.php", "func_name": "Console.showHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays basic information about the Console.", "docstring_tokens": ["Displays", "basic", "information", "about", "the", "Console", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/Console.php#L93-L102", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.links", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles creating and displaying the\n\n@param string $group\n@param string $template The output template alias to render.\n\n@return string", "docstring_tokens": ["Handles", "creating", "and", "displaying", "the"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L111-L116", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.makeLinks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows for a simple, manual, form of pagination where all of the data\nis provided by the user. The URL is the current URI.\n\n@param integer $page\n@param integer $perPage\n@param integer $total\n@param string $template The output template alias to render.\n@param integer $segment (if page number is provided by URI segment)\n\n@return string", "docstring_tokens": ["Allows", "for", "a", "simple", "manual", "form", "of", "pagination", "where", "all", "of", "the", "data", "is", "provided", "by", "the", "user", ".", "The", "URL", "is", "the", "current", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L149-L156", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores a set of pagination data for later display. Most commonly used\nby the model to automate the process.\n\n@param string $group\n@param integer $page\n@param integer $perPage\n@param integer $total\n@param integer $segment\n\n@return $this", "docstring_tokens": ["Stores", "a", "set", "of", "pagination", "data", "for", "later", "display", ".", "Most", "commonly", "used", "by", "the", "model", "to", "automate", "the", "process", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L196-L208", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the path that an aliased group of links will use.\n\n@param string $group\n@param string $path\n\n@return mixed", "docstring_tokens": ["Sets", "the", "path", "that", "an", "aliased", "group", "of", "links", "will", "use", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L220-L227", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getPageCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the total number of pages.\n\n@param string|null $group\n\n@return integer", "docstring_tokens": ["Returns", "the", "total", "number", "of", "pages", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L238-L243", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getCurrentPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of the current page of results.\n\n@param string|null $group\n\n@return integer", "docstring_tokens": ["Returns", "the", "number", "of", "the", "current", "page", "of", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L254-L259", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.hasMore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells whether this group of results has any more pages of results.\n\n@param string|null $group\n\n@return boolean", "docstring_tokens": ["Tells", "whether", "this", "group", "of", "results", "has", "any", "more", "pages", "of", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L270-L275", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getLastPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the last page, if we have a total that we can calculate with.\n\n@param string $group\n\n@return integer|null", "docstring_tokens": ["Returns", "the", "last", "page", "if", "we", "have", "a", "total", "that", "we", "can", "calculate", "with", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L286-L296", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getPageURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI for a specific page for the specified group.\n\n@param integer|null $page\n@param string $group\n@param boolean $returnObject\n\n@return string|\\CodeIgniter\\HTTP\\URI", "docstring_tokens": ["Returns", "the", "URI", "for", "a", "specific", "page", "for", "the", "specified", "group", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L326-L359", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getNextPageURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full URI to the next page of results, or null.\n\n@param string $group\n@param boolean $returnObject\n\n@return string|null", "docstring_tokens": ["Returns", "the", "full", "URI", "to", "the", "next", "page", "of", "results", "or", "null", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L371-L390", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getPreviousPageURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full URL to the previous page of results, or null.\n\n@param string $group\n@param boolean $returnObject\n\n@return string|null", "docstring_tokens": ["Returns", "the", "full", "URL", "to", "the", "previous", "page", "of", "results", "or", "null", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L402-L421", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getPerPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of results per page that should be shown.\n\n@param string $group\n\n@return integer", "docstring_tokens": ["Returns", "the", "number", "of", "results", "per", "page", "that", "should", "be", "shown", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L432-L437", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.getDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with details about the results, including\ntotal, per_page, current_page, last_page, next_url, prev_url, from, to.\nDoes not include the actual data. This data is suitable for adding\na 'data' object to with the result set and converting to JSON.\n\n@param string $group\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "with", "details", "about", "the", "results", "including", "total", "per_page", "current_page", "last_page", "next_url", "prev_url", "from", "to", ".", "Does", "not", "include", "the", "actual", "data", ".", "This", "data", "is", "suitable", "for", "adding", "a", "data", "object", "to", "with", "the", "result", "set", "and", "converting", "to", "JSON", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L451-L465", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/Pager.php", "func_name": "Pager.ensureGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that an array exists for the group specified.\n\n@param string $group", "docstring_tokens": ["Ensures", "that", "an", "array", "exists", "for", "the", "group", "specified", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/Pager.php#L490-L525", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getYears", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of years of difference between the two.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "years", "of", "difference", "between", "the", "two", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L134-L143", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getMonths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of months difference between the two dates.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "months", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L152-L161", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getWeeks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of weeks difference between the two dates.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "weeks", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L170-L179", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getDays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of days difference between the two dates.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "days", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L188-L197", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getHours", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of hours difference between the two dates.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "hours", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L206-L215", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getMinutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of minutes difference between the two dates.\n\n@param boolean $raw\n\n@return float|integer", "docstring_tokens": ["Returns", "the", "number", "of", "minutes", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L224-L233", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.getSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of seconds difference between the two dates.\n\n@param boolean $raw\n\n@return integer", "docstring_tokens": ["Returns", "the", "number", "of", "seconds", "difference", "between", "the", "two", "dates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L242-L251", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/TimeDifference.php", "func_name": "TimeDifference.humanize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the time to human readable format\n\n@param string|null $locale\n\n@return string", "docstring_tokens": ["Convert", "the", "time", "to", "human", "readable", "format"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/TimeDifference.php#L260-L311", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Database.php", "func_name": "Database.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the connection binds and returns an instance of\nthe driver ready to go.\n\n@param array $params\n@param string $alias\n\n@return mixed\n@internal param bool $useBuilder", "docstring_tokens": ["Parses", "the", "connection", "binds", "and", "returns", "an", "instance", "of", "the", "driver", "ready", "to", "go", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Database.php#L72-L90", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Database.php", "func_name": "Database.loadForge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Forge instance for the current database type.\n\n@param ConnectionInterface|BaseConnection $db\n\n@return mixed", "docstring_tokens": ["Creates", "a", "new", "Forge", "instance", "for", "the", "current", "database", "type", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Database.php#L101-L114", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Entity.php", "func_name": "Entity.hasPropertyChanged", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks a property to see if it has changed since the entity was created.\n\n@param string $key\n@param null $value\n\n@return boolean", "docstring_tokens": ["Checks", "a", "property", "to", "see", "if", "it", "has", "changed", "since", "the", "entity", "was", "created", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Entity.php#L247-L250", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Entity.php", "func_name": "Entity.mapProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the datamap to see if this column name is being mapped,\nand returns the mapped name, if any, or the original name.\n\n@param string $key\n\n@return mixed|string", "docstring_tokens": ["Checks", "the", "datamap", "to", "see", "if", "this", "column", "name", "is", "being", "mapped", "and", "returns", "the", "mapped", "name", "if", "any", "or", "the", "original", "name", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Entity.php#L452-L465", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Entity.php", "func_name": "Entity.mutateDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the given string|timestamp|DateTime|Time instance\ninto a \\CodeIgniter\\I18n\\Time object.\n\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Converts", "the", "given", "string|timestamp|DateTime|Time", "instance", "into", "a", "\\", "CodeIgniter", "\\", "I18n", "\\", "Time", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Entity.php#L478-L501", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Entity.php", "func_name": "Entity.castAsJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast as JSON\n\n@param mixed $value\n@param boolean $asArray\n\n@return mixed\n@throws \\CodeIgniter\\Exceptions\\CastException", "docstring_tokens": ["Cast", "as", "JSON"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Entity.php#L585-L601", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "app/Config/Modules.php", "func_name": "Modules.shouldDiscover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Should the application auto-discover the requested resources.\n\nValid values are:\n- events\n- registrars\n- routes\n- services\n\n@param string $alias\n\n@return boolean", "docstring_tokens": ["Should", "the", "application", "auto", "-", "discover", "the", "requested", "resources", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/app/Config/Modules.php#L56-L66", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Works with the current Query Builder instance to return\nall results, while optionally limiting them.\n\n@param integer $limit\n@param integer $offset\n\n@return array|null", "docstring_tokens": ["Works", "with", "the", "current", "Query", "Builder", "instance", "to", "return", "all", "results", "while", "optionally", "limiting", "them", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L390-L410", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.first", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first row of the result set. Will take any previous\nQuery Builder calls into account when determining the result set.\n\n@return array|object|null", "docstring_tokens": ["Returns", "the", "first", "row", "of", "the", "result", "set", ".", "Will", "take", "any", "previous", "Query", "Builder", "calls", "into", "account", "when", "determining", "the", "result", "set", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L420-L446", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A convenience method that will attempt to determine whether the\ndata should be inserted or updated. Will work with either\nan array or object. When using with custom class objects,\nyou must ensure that the class will provide access to the class\nvariables, even if through a magic method.\n\n@param array|object $data\n\n@return boolean\n@throws \\ReflectionException", "docstring_tokens": ["A", "convenience", "method", "that", "will", "attempt", "to", "determine", "whether", "the", "data", "should", "be", "inserted", "or", "updated", ".", "Will", "work", "with", "either", "an", "array", "or", "object", ".", "When", "using", "with", "custom", "class", "objects", "you", "must", "ensure", "that", "the", "class", "will", "provide", "access", "to", "the", "class", "variables", "even", "if", "through", "a", "magic", "method", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L487-L513", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.classToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a class an returns an array of it's public and protected\nproperties as an array suitable for use in creates and updates.\n\n@param string|object $data\n@param string|null $primaryKey\n@param string $dateFormat\n@param boolean $onlyChanged\n\n@return array\n@throws \\ReflectionException", "docstring_tokens": ["Takes", "a", "class", "an", "returns", "an", "array", "of", "it", "s", "public", "and", "protected", "properties", "as", "an", "array", "suitable", "for", "use", "in", "creates", "and", "updates", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L527-L585", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts data into the current table. If an object is provided,\nit will attempt to convert it to an array.\n\n@param array|object $data\n@param boolean $returnID Whether insert ID should be returned or not.\n\n@return integer|string|boolean\n@throws \\ReflectionException", "docstring_tokens": ["Inserts", "data", "into", "the", "current", "table", ".", "If", "an", "object", "is", "provided", "it", "will", "attempt", "to", "convert", "it", "to", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L611-L695", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.insertBatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles batch insert strings and runs the queries, validating each row prior.\n\n@param array $set An associative array of insert values\n@param boolean $escape Whether to escape values and identifiers\n\n@param integer $batchSize\n@param boolean $testing\n\n@return integer|boolean Number of rows inserted or FALSE on failure", "docstring_tokens": ["Compiles", "batch", "insert", "strings", "and", "runs", "the", "queries", "validating", "each", "row", "prior", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L710-L724", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.builder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides a shared instance of the Query Builder.\n\n@param string $table\n\n@return BaseBuilder", "docstring_tokens": ["Provides", "a", "shared", "instance", "of", "the", "Query", "Builder", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L1118-L1144", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.doProtectFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that only the fields that are allowed to be updated\nare in the data array.\n\nUsed by insert() and update() to protect against mass assignment\nvulnerabilities.\n\n@param array $data\n\n@return array\n@throws \\CodeIgniter\\Database\\Exceptions\\DataException", "docstring_tokens": ["Ensures", "that", "only", "the", "fields", "that", "are", "allowed", "to", "be", "updated", "are", "in", "the", "data", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L1160-L1184", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.cleanValidationRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes any rules that apply to fields that have not been set\ncurrently so that rules don't block updating when only updating\na partial row.\n\n@param array $rules\n\n@param array|null $data\n\n@return array", "docstring_tokens": ["Removes", "any", "rules", "that", "apply", "to", "fields", "that", "have", "not", "been", "set", "currently", "so", "that", "rules", "don", "t", "block", "updating", "when", "only", "updating", "a", "partial", "row", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L1381-L1397", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.getValidationRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the model's defined validation rules so that they\ncan be used elsewhere, if needed.\n\n@param array $options\n\n@return array", "docstring_tokens": ["Returns", "the", "model", "s", "defined", "validation", "rules", "so", "that", "they", "can", "be", "used", "elsewhere", "if", "needed", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L1465-L1479", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Model.php", "func_name": "Model.countAllResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override countAllResults to account for soft deleted accounts.\n\n@param boolean $reset\n@param boolean $test\n\n@return mixed", "docstring_tokens": ["Override", "countAllResults", "to", "account", "for", "soft", "deleted", "accounts", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Model.php#L1504-L1512", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.setAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the HTTP Authentication.\n\n@param string $username\n@param string $password\n@param string $type basic or digest\n\n@return $this", "docstring_tokens": ["Set", "the", "HTTP", "Authentication", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L278-L287", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.setForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set form data to be sent.\n\n@param array $params\n@param boolean $multipart Set TRUE if you are sending CURLFiles\n\n@return $this", "docstring_tokens": ["Set", "form", "data", "to", "be", "sent", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L299-L311", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the correct settings based on the options array\npassed in.\n\n@param array $options", "docstring_tokens": ["Sets", "the", "correct", "settings", "based", "on", "the", "options", "array", "passed", "in", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L337-L367", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the request method. Overrides the Request class' method\nsince users expect a different answer here.\n\n@param boolean|false $upper Whether to return in upper or lower case.\n\n@return string", "docstring_tokens": ["Get", "the", "request", "method", ".", "Overrides", "the", "Request", "class", "method", "since", "users", "expect", "a", "different", "answer", "here", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L402-L405", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fires the actual cURL request.\n\n@param string $method\n@param string $url\n\n@return \\CodeIgniter\\HTTP\\ResponseInterface", "docstring_tokens": ["Fires", "the", "actual", "cURL", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L417-L476", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.applyRequestHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes all headers current part of this request and adds them\nto the cURL request.\n\n@param array $curl_options\n\n@return array", "docstring_tokens": ["Takes", "all", "headers", "current", "part", "of", "this", "request", "and", "adds", "them", "to", "the", "cURL", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L488-L507", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.setResponseHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the header retrieved from the cURL response into\nour Response object.\n\n@param array $headers", "docstring_tokens": ["Parses", "the", "header", "retrieved", "from", "the", "cURL", "response", "into", "our", "Response", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L579-L605", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/CURLRequest.php", "func_name": "CURLRequest.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the actual work of initializing cURL, setting the options,\nand grabbing the output.\n\n@codeCoverageIgnore\n\n@param array $curl_options\n\n@return string", "docstring_tokens": ["Does", "the", "actual", "work", "of", "initializing", "cURL", "setting", "the", "options", "and", "grabbing", "the", "output", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/CURLRequest.php#L804-L821", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migrate to a schema version\n\nCalls each migration step required to get to the schema version of\nchoice\n\n@param string $targetVersion Target schema version\n@param string|null $namespace\n@param string|null $group\n\n@return mixed Current version string on success, FALSE on failure or no migrations are found\n@throws ConfigException", "docstring_tokens": ["Migrate", "to", "a", "schema", "version"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L203-L300", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.findMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves list of available migration scripts for one namespace\n\n@return array list of migrations as $version for one namespace", "docstring_tokens": ["Retrieves", "list", "of", "available", "migration", "scripts", "for", "one", "namespace"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L412-L463", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.checkMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "checks if the list of available migration scripts list are consistent\nif sequential check if no gaps and check if all consistent with migrations table if downgrading\nif timestamp check if consistent with migrations table if downgrading\n\n@param array $migrations\n@param string $method\n@param string $targetVersion\n\n@return boolean", "docstring_tokens": ["checks", "if", "the", "list", "of", "available", "migration", "scripts", "list", "are", "consistent", "if", "sequential", "check", "if", "no", "gaps", "and", "check", "if", "all", "consistent", "with", "migrations", "table", "if", "downgrading", "if", "timestamp", "check", "if", "consistent", "with", "migrations", "table", "if", "downgrading"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L478-L527", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.getHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Grabs the full migration history from the database.\n\n@param string $group\n\n@return array", "docstring_tokens": ["Grabs", "the", "full", "migration", "history", "from", "the", "database", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L604-L620", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.getMigrationName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the migration class name from a filename\n\n@param string $migration\n\n@return string text portion of a migration filename", "docstring_tokens": ["Extracts", "the", "migration", "class", "name", "from", "a", "filename"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L662-L668", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves current schema version\n\n@return string Current migration version", "docstring_tokens": ["Retrieves", "current", "schema", "version"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L677-L689", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.addHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores the current schema version.\n\n@param string $version\n\n@internal param string $migration Migration reached\n\n@return void", "docstring_tokens": ["Stores", "the", "current", "schema", "version", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L714-L728", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.removeHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a single history\n\n@param string $version\n@return void", "docstring_tokens": ["Removes", "a", "single", "history"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L738-L749", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MigrationRunner.php", "func_name": "MigrationRunner.ensureTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that we have created our migrations table\nin the database.", "docstring_tokens": ["Ensures", "that", "we", "have", "created", "our", "migrations", "table", "in", "the", "database", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MigrationRunner.php#L757-L797", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check; runs the validation process, returning true or false\ndetermining whether validation was successful or not.\n\n@param mixed $value Value to validation.\n@param string $rule Rule.\n@param string[] $errors Errors.\n\n@return boolean True if valid, else false.", "docstring_tokens": ["Check", ";", "runs", "the", "validation", "process", "returning", "true", "or", "false", "determining", "whether", "validation", "was", "successful", "or", "not", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L184-L192", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.withRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a Request object and grabs the input data to use from its\narray values.\n\n@param \\CodeIgniter\\HTTP\\RequestInterface|\\CodeIgniter\\HTTP\\IncomingRequest $request\n\n@return \\CodeIgniter\\Validation\\ValidationInterface", "docstring_tokens": ["Takes", "a", "Request", "object", "and", "grabs", "the", "input", "data", "to", "use", "from", "its", "array", "values", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L306-L318", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.setRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets an individual rule and custom error messages for a single field.\n\nThe custom error message should be just the messages that apply to\nthis field, like so:\n\n[\n'rule' => 'message',\n'rule' => 'message'\n]\n\n@param string $field\n@param string|null $label\n@param string $rules\n@param array $errors\n\n@return $this", "docstring_tokens": ["Sets", "an", "individual", "rule", "and", "custom", "error", "messages", "for", "a", "single", "field", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L343-L354", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.getRuleGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get rule group.\n\n@param string $group Group.\n\n@return string[] Rule group.\n\n@throws \\InvalidArgumentException If group not found.", "docstring_tokens": ["Get", "rule", "group", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L437-L450", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.setRuleGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set rule group.\n\n@param string $group Group.\n\n@throws \\InvalidArgumentException If group not found.", "docstring_tokens": ["Set", "rule", "group", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L461-L471", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.loadRuleSets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads all of the rulesets classes that have been defined in the\nConfig\\Validation and stores them locally so we can use them.", "docstring_tokens": ["Loads", "all", "of", "the", "rulesets", "classes", "that", "have", "been", "defined", "in", "the", "Config", "\\", "Validation", "and", "stores", "them", "locally", "so", "we", "can", "use", "them", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L523-L534", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.setError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the error for a specific field. Used by custom validation methods.\n\n@param string $field\n@param string $error\n\n@return \\CodeIgniter\\Validation\\ValidationInterface", "docstring_tokens": ["Sets", "the", "error", "for", "a", "specific", "field", ".", "Used", "by", "custom", "validation", "methods", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L668-L673", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.getErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to find the appropriate error message\n\n@param string $rule\n@param string $field\n@param string|null $label\n@param string $param\n\n@return string", "docstring_tokens": ["Attempts", "to", "find", "the", "appropriate", "error", "message"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L687-L706", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.splitRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split rules string by pipe operator.\n\n@param string $rules\n\n@return array", "docstring_tokens": ["Split", "rules", "string", "by", "pipe", "operator", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L715-L731", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Validation.php", "func_name": "Validation.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the class to a blank slate. Should be called whenever\nyou need to process more than one array.\n\n@return \\CodeIgniter\\Validation\\ValidationInterface", "docstring_tokens": ["Resets", "the", "class", "to", "a", "blank", "slate", ".", "Should", "be", "called", "whenever", "you", "need", "to", "process", "more", "than", "one", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Validation.php#L744-L752", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Format/XMLFormatter.php", "func_name": "XMLFormatter.arrayToXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A recursive method to convert an array into a valid XML string.\n\nWritten by CodexWorld. Received permission by email on Nov 24, 2016 to use this code.\n\n@see http://www.codexworld.com/convert-array-to-xml-in-php/\n\n@param array $data\n@param \\SimpleXMLElement $output", "docstring_tokens": ["A", "recursive", "method", "to", "convert", "an", "array", "into", "a", "valid", "XML", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Format/XMLFormatter.php#L86-L108", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Log/Logger.php", "func_name": "Logger.cleanFileNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans the paths of filenames by replacing APPPATH, SYSTEMPATH, FCPATH\nwith the actual var. i.e.\n\n/var/www/site/app/Controllers/Home.php\nbecomes:\nAPPPATH/Controllers/Home.php\n\n@param $file\n\n@return string", "docstring_tokens": ["Cleans", "the", "paths", "of", "filenames", "by", "replacing", "APPPATH", "SYSTEMPATH", "FCPATH", "with", "the", "actual", "var", ".", "i", ".", "e", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Log/Logger.php#L524-L531", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets and overwrites any current URI information.\n\n@param string|null $uri\n\n@return URI", "docstring_tokens": ["Sets", "and", "overwrites", "any", "current", "URI", "information", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L181-L196", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.getUserInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the user information component of the URI.\n\nIf no user information is present, this method MUST return an empty\nstring.\n\nIf a user is present in the URI, this will return that value;\nadditionally, if the password is also present, it will be appended to the\nuser value, with a colon (\":\") separating the values.\n\nNOTE that be default, the password, if available, will NOT be shown\nas a security measure as discussed in RFC 3986, Section 7.5. If you know\nthe password is not a security issue, you can force it to be shown\nwith $this->showPassword();\n\nThe trailing \"@\" character is not part of the user information and MUST\nNOT be added.\n\n@return string|null The URI user information, in \"username[:password]\" format.", "docstring_tokens": ["Retrieve", "the", "user", "information", "component", "of", "the", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L293-L303", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.getQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the query string\n\n@param array $options\n\n@return string", "docstring_tokens": ["Retrieve", "the", "query", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L403-L440", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.getSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value of a specific segment of the URI path.\n\n@param integer $number\n\n@return string The value of the segment. If no segment is found,\nthrows InvalidArgumentError", "docstring_tokens": ["Returns", "the", "value", "of", "a", "specific", "segment", "of", "the", "URI", "path", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L476-L488", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value of a specific segment of the URI path.\nAllows to set only existing segments or add new one.\n\n@param integer $number\n@param mixed $value (string or int)\n\n@return $this", "docstring_tokens": ["Set", "the", "value", "of", "a", "specific", "segment", "of", "the", "URI", "path", ".", "Allows", "to", "set", "only", "existing", "segments", "or", "add", "new", "one", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L499-L514", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.createURIString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a representation of the string from the component parts.\n\n@param string $scheme\n@param string $authority\n@param string $path\n@param string $query\n@param string $fragment\n\n@return string", "docstring_tokens": ["Builds", "a", "representation", "of", "the", "string", "from", "the", "component", "parts", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L555-L584", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setAuthority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the given string an saves the appropriate authority pieces.\n\n@param string $str\n\n@return $this", "docstring_tokens": ["Parses", "the", "given", "string", "an", "saves", "the", "appropriate", "authority", "pieces", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L595-L608", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setScheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the scheme for this URI.\n\nBecause of the large number of valid schemes we cannot limit this\nto only http or https.\n\n@see https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml\n\n@param $str\n\n@return $this", "docstring_tokens": ["Sets", "the", "scheme", "for", "this", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L624-L632", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the port portion of the URI.\n\n@param integer $port\n\n@return $this", "docstring_tokens": ["Sets", "the", "port", "portion", "of", "the", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L677-L692", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the path portion of the URI.\n\n@param string $path\n\n@return $this", "docstring_tokens": ["Sets", "the", "path", "portion", "of", "the", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L703-L710", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.refreshPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the path portion of the URI based on segments.\n\n@param string $path\n\n@return $this", "docstring_tokens": ["Sets", "the", "path", "portion", "of", "the", "URI", "based", "on", "segments", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L719-L726", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.setQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the query portion of the URI, while attempting\nto clean the various parts of the query keys and values.\n\n@param string $query\n\n@return $this", "docstring_tokens": ["Sets", "the", "query", "portion", "of", "the", "URI", "while", "attempting", "to", "clean", "the", "various", "parts", "of", "the", "query", "keys", "and", "values", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L738-L774", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the value to see if it has been urlencoded and decodes it if so.\nThe urlencode check is not perfect but should catch most cases.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Checks", "the", "value", "to", "see", "if", "it", "has", "been", "urlencoded", "and", "decodes", "it", "if", "so", ".", "The", "urlencode", "check", "is", "not", "perfect", "but", "should", "catch", "most", "cases", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L786-L799", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.addQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a single new element to the query vars.\n\n@param string $key\n@param mixed $value\n\n@return $this", "docstring_tokens": ["Adds", "a", "single", "new", "element", "to", "the", "query", "vars", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L850-L855", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.keepQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the query variables so that only the keys passed in\nare kept. The rest are removed from the object.\n\n@param array ...$params\n\n@return $this", "docstring_tokens": ["Filters", "the", "query", "variables", "so", "that", "only", "the", "keys", "passed", "in", "are", "kept", ".", "The", "rest", "are", "removed", "from", "the", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L886-L903", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.filterPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes any dangerous characters, and removes dot segments.\nWhile dot segments have valid uses according to the spec,\nthis URI class does not allow them.\n\n@param $path\n\n@return string", "docstring_tokens": ["Encodes", "any", "dangerous", "characters", "and", "removes", "dot", "segments", ".", "While", "dot", "segments", "have", "valid", "uses", "according", "to", "the", "spec", "this", "URI", "class", "does", "not", "allow", "them", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L934-L963", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.applyParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves our parts from a parse_url call.\n\n@param array $parts", "docstring_tokens": ["Saves", "our", "parts", "from", "a", "parse_url", "call", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L972-L1026", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.resolveRelativeURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Combines one URI string with this one based on the rules set out in\nRFC 3986 Section 2\n\n@see http://tools.ietf.org/html/rfc3986#section-5.2\n\n@param string $uri\n\n@return \\CodeIgniter\\HTTP\\URI", "docstring_tokens": ["Combines", "one", "URI", "string", "with", "this", "one", "based", "on", "the", "rules", "set", "out", "in", "RFC", "3986", "Section", "2"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L1040-L1100", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.mergePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given 2 paths, will merge them according to rules set out in RFC 2986,\nSection 5.2\n\n@see http://tools.ietf.org/html/rfc3986#section-5.2.3\n\n@param URI $base\n@param URI $reference\n\n@return string", "docstring_tokens": ["Given", "2", "paths", "will", "merge", "them", "according", "to", "rules", "set", "out", "in", "RFC", "2986", "Section", "5", ".", "2"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L1115-L1133", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/URI.php", "func_name": "URI.removeDotSegments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used when resolving and merging paths to correctly interpret and\nremove single and double dot segments from the path per\nRFC 3986 Section 5.2.4\n\n@see http://tools.ietf.org/html/rfc3986#section-5.2.4\n\n@param string $path\n\n@return string\n@internal param \\CodeIgniter\\HTTP\\URI $uri", "docstring_tokens": ["Used", "when", "resolving", "and", "merging", "paths", "to", "correctly", "interpret", "and", "remove", "single", "and", "double", "dot", "segments", "from", "the", "path", "per", "RFC", "3986", "Section", "5", ".", "2", ".", "4"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/URI.php#L1149-L1201", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Header.php", "func_name": "Header.appendValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends a value to the list of values for this header. If the\nheader is a single value string, it will be converted to an array.\n\n@param null $value\n\n@return $this", "docstring_tokens": ["Appends", "a", "value", "to", "the", "list", "of", "values", "for", "this", "header", ".", "If", "the", "header", "is", "a", "single", "value", "string", "it", "will", "be", "converted", "to", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Header.php#L146-L156", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Header.php", "func_name": "Header.prependValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepends a value to the list of values for this header. If the\nheader is a single value string, it will be converted to an array.\n\n@param null $value\n\n@return $this", "docstring_tokens": ["Prepends", "a", "value", "to", "the", "list", "of", "values", "for", "this", "header", ".", "If", "the", "header", "is", "a", "single", "value", "string", "it", "will", "be", "converted", "to", "an", "array", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Header.php#L168-L178", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/PagerRenderer.php", "func_name": "PagerRenderer.getPrevious", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a URL to the \"previous\" page. The previous page is NOT the\npage before the current page, but is the page just before the\n\"first\" page.\n\nYou MUST call hasPrevious() first, or this value may be invalid.\n\n@return string|null", "docstring_tokens": ["Returns", "a", "URL", "to", "the", "previous", "page", ".", "The", "previous", "page", "is", "NOT", "the", "page", "before", "the", "current", "page", "but", "is", "the", "page", "just", "before", "the", "first", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/PagerRenderer.php#L115-L134", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/PagerRenderer.php", "func_name": "PagerRenderer.getNext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a URL to the \"next\" page. The next page is NOT, the\npage after the current page, but is the page that follows the\n\"last\" page.\n\nYou MUST call hasNext() first, or this value may be invalid.\n\n@return string|null", "docstring_tokens": ["Returns", "a", "URL", "to", "the", "next", "page", ".", "The", "next", "page", "is", "NOT", "the", "page", "after", "the", "current", "page", "but", "is", "the", "page", "that", "follows", "the", "last", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/PagerRenderer.php#L159-L178", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/PagerRenderer.php", "func_name": "PagerRenderer.getFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI of the first page.\n\n@return string", "docstring_tokens": ["Returns", "the", "URI", "of", "the", "first", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/PagerRenderer.php#L187-L201", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/PagerRenderer.php", "func_name": "PagerRenderer.getLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI of the last page.\n\n@return string", "docstring_tokens": ["Returns", "the", "URI", "of", "the", "last", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/PagerRenderer.php#L210-L224", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Pager/PagerRenderer.php", "func_name": "PagerRenderer.getCurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI of the current page.\n\n@return string", "docstring_tokens": ["Returns", "the", "URI", "of", "the", "current", "page", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Pager/PagerRenderer.php#L233-L247", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Timer.php", "func_name": "Timer.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a timer running.\n\nMultiple calls can be made to this method so that several\nexecution points can be measured.\n\n@param string $name The name of this timer.\n@param float $time Allows user to provide time.\n\n@return Timer", "docstring_tokens": ["Starts", "a", "timer", "running", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Timer.php#L75-L83", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Timer.php", "func_name": "Timer.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a running timer.\n\nIf the timer is not stopped before the timers() method is called,\nit will be automatically stopped at that point.\n\n@param string $name The name of this timer.\n\n@return Timer", "docstring_tokens": ["Stops", "a", "running", "timer", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Timer.php#L97-L109", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Timer.php", "func_name": "Timer.getElapsedTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the duration of a recorded timer.\n\n@param string $name The name of the timer.\n@param integer $decimals Number of decimal places.\n\n@return null|float Returns null if timer exists by that name.\nReturns a float representing the number of\nseconds elapsed while that timer was running.", "docstring_tokens": ["Returns", "the", "duration", "of", "a", "recorded", "timer", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Timer.php#L123-L140", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Timer.php", "func_name": "Timer.getTimers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array of timers, with the duration pre-calculated for you.\n\n@param integer $decimals Number of decimal places\n\n@return array", "docstring_tokens": ["Returns", "the", "array", "of", "timers", "with", "the", "duration", "pre", "-", "calculated", "for", "you", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Timer.php#L151-L166", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.addTableAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a table alias to our list.\n\n@param string $table\n\n@return $this", "docstring_tokens": ["Add", "a", "table", "alias", "to", "our", "list", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L574-L582", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Orchestrates a query against the database. Queries must use\nDatabase\\Statement objects to store the query and build it.\nThis method works with the cache.\n\nShould automatically handle different connections for read/write\nqueries if needed.\n\n@param string $sql\n@param mixed ...$binds\n@param boolean $setEscapeFlags\n@param string $queryClass\n\n@return BaseResult|Query|false", "docstring_tokens": ["Orchestrates", "a", "query", "against", "the", "database", ".", "Queries", "must", "use", "Database", "\\", "Statement", "objects", "to", "store", "the", "query", "and", "build", "it", ".", "This", "method", "works", "with", "the", "cache", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L610-L689", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.simpleQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs a basic query against the database. No binding or caching\nis performed, nor are transactions handled. Simply takes a raw\nquery string and returns the database-specific result id.\n\n@param string $sql\n\n@return mixed", "docstring_tokens": ["Performs", "a", "basic", "query", "against", "the", "database", ".", "No", "binding", "or", "caching", "is", "performed", "nor", "are", "transactions", "handled", ".", "Simply", "takes", "a", "raw", "query", "string", "and", "returns", "the", "database", "-", "specific", "result", "id", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L702-L710", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instance of the query builder for this connection.\n\n@param string|array $tableName\n\n@return BaseBuilder\n@throws DatabaseException", "docstring_tokens": ["Returns", "an", "instance", "of", "the", "query", "builder", "for", "this", "connection", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L936-L946", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a prepared statement with the database that can then\nbe used to execute multiple statements against. Within the\nclosure, you would build the query in any normal way, though\nthe Query Builder is the expected manner.\n\nExample:\n$stmt = $db->prepare(function($db)\n{\nreturn $db->table('users')\n->where('id', 1)\n->get();\n})\n\n@param \\Closure $func\n@param array $options Passed to the prepare() method\n\n@return BasePreparedQuery|null", "docstring_tokens": ["Creates", "a", "prepared", "statement", "with", "the", "database", "that", "can", "then", "be", "used", "to", "execute", "multiple", "statements", "against", ".", "Within", "the", "closure", "you", "would", "build", "the", "query", "in", "any", "normal", "way", "though", "the", "Query", "Builder", "is", "the", "expected", "manner", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L969-L994", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.escapeIdentifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape the SQL Identifiers\n\nThis function escapes column and table names\n\n@param mixed $item\n\n@return mixed", "docstring_tokens": ["Escape", "the", "SQL", "Identifiers"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1254-L1306", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.callFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function enables you to call PHP database functions that are not natively included\nin CodeIgniter, in a platform independent manner.\n\n@param string $functionName\n@param array ...$params\n\n@return boolean\n@throws DatabaseException", "docstring_tokens": ["This", "function", "enables", "you", "to", "call", "PHP", "database", "functions", "that", "are", "not", "natively", "included", "in", "CodeIgniter", "in", "a", "platform", "independent", "manner", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1480-L1500", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.listTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of table names\n\n@param boolean $constrainByPrefix = FALSE\n@return boolean|array\n@throws \\CodeIgniter\\Database\\Exceptions\\DatabaseException", "docstring_tokens": ["Returns", "an", "array", "of", "table", "names"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1514-L1563", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.tableExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a particular table exists\n\n@param string $tableName\n@return boolean", "docstring_tokens": ["Determine", "if", "a", "particular", "table", "exists"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1573-L1576", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.fieldExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a particular field exists\n\n@param string $fieldName\n@param string $tableName\n@return boolean", "docstring_tokens": ["Determine", "if", "a", "particular", "field", "exists"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1648-L1651", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.getFieldData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an object with field data\n\n@param string $table the table name\n@return array|false", "docstring_tokens": ["Returns", "an", "object", "with", "field", "data"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1661-L1666", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.getIndexData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an object with key data\n\n@param string $table the table name\n@return array|false", "docstring_tokens": ["Returns", "an", "object", "with", "key", "data"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1676-L1681", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseConnection.php", "func_name": "BaseConnection.getForeignKeyData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an object with foreign key data\n\n@param string $table the table name\n@return array|false", "docstring_tokens": ["Returns", "an", "object", "with", "foreign", "key", "data"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseConnection.php#L1691-L1696", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseConfig.php", "func_name": "BaseConfig.getEnvValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an environment-specific configuration setting\n\n@param string $property\n@param string $prefix\n@param string $shortPrefix\n\n@return mixed", "docstring_tokens": ["Retrieve", "an", "environment", "-", "specific", "configuration", "setting"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseConfig.php#L144-L165", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseConfig.php", "func_name": "BaseConfig.registerProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides external libraries a simple way to register one or more\noptions into a config file.\n\n@throws \\ReflectionException", "docstring_tokens": ["Provides", "external", "libraries", "a", "simple", "way", "to", "register", "one", "or", "more", "options", "into", "a", "config", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseConfig.php#L175-L226", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Cache/Handlers/FileHandler.php", "func_name": "FileHandler.getItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the heavy lifting of actually retrieving the file and\nverifying it's age.\n\n@param string $key\n\n@return boolean|mixed", "docstring_tokens": ["Does", "the", "heavy", "lifting", "of", "actually", "retrieving", "the", "file", "and", "verifying", "it", "s", "age", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Cache/Handlers/FileHandler.php#L307-L324", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Cache/Handlers/FileHandler.php", "func_name": "FileHandler.writeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a file to disk, or returns false if not successful.\n\n@param $path\n@param $data\n@param string $mode\n\n@return boolean", "docstring_tokens": ["Writes", "a", "file", "to", "disk", "or", "returns", "false", "if", "not", "successful", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Cache/Handlers/FileHandler.php#L340-L361", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Cache/Handlers/FileHandler.php", "func_name": "FileHandler.getDirFileInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Directory File Information\n\nReads the specified directory and builds an array containing the filenames,\nfilesize, dates, and permissions\n\nAny sub-folders contained within the specified path are read as well.\n\n@param string $source_dir Path to source\n@param boolean $top_level_only Look only at the top level directory specified?\n@param boolean $_recursion Internal variable to determine recursion status - do not use in calls\n\n@return array|false", "docstring_tokens": ["Get", "Directory", "File", "Information"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Cache/Handlers/FileHandler.php#L426-L460", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Cache/Handlers/FileHandler.php", "func_name": "FileHandler.getFileInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get File Info\n\nGiven a file and path, returns the name, path, size, date modified\nSecond parameter allows you to explicitly declare what information you want returned\nOptions are: name, server_path, size, date, readable, writable, executable, fileperms\nReturns FALSE if the file cannot be found.\n\n@param string $file Path to file\n@param mixed $returned_values Array or comma separated string of information returned\n\n@return array|false", "docstring_tokens": ["Get", "File", "Info"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Cache/Handlers/FileHandler.php#L477-L521", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles some basic app and environment setup.", "docstring_tokens": ["Handles", "some", "basic", "app", "and", "environment", "setup", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L175-L191", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Launch the application!\n\nThis is \"the loop\" if you will. The main entry point into the script\nthat gets the required class instances, fires off the filters,\ntries to route the response, loads the controller and generally\nmakes all of the pieces work together.\n\n@param \\CodeIgniter\\Router\\RouteCollectionInterface $routes\n@param boolean $returnResponse\n\n@return boolean|\\CodeIgniter\\HTTP\\RequestInterface|\\CodeIgniter\\HTTP\\Response|\\CodeIgniter\\HTTP\\ResponseInterface|mixed\n@throws \\CodeIgniter\\Filters\\Exceptions\\FilterException\n@throws \\Exception", "docstring_tokens": ["Launch", "the", "application!"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L210-L256", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.handleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the main request logic and fires the controller.\n\n@param \\CodeIgniter\\Router\\RouteCollectionInterface $routes\n@param $cacheConfig\n@param boolean $returnResponse\n\n@return \\CodeIgniter\\HTTP\\RequestInterface|\\CodeIgniter\\HTTP\\Response|\\CodeIgniter\\HTTP\\ResponseInterface|mixed\n@throws \\CodeIgniter\\Router\\Exceptions\\RedirectException", "docstring_tokens": ["Handles", "the", "main", "request", "logic", "and", "fires", "the", "controller", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L288-L377", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.startBenchmark", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the Benchmark\n\nThe timer is used to display total script execution both in the\ndebug toolbar, and potentially on the displayed page.", "docstring_tokens": ["Start", "the", "Benchmark"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L439-L446", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.getResponseObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get our Response object, and set some default values, including\nthe HTTP protocol version and a default successful response.", "docstring_tokens": ["Get", "our", "Response", "object", "and", "set", "some", "default", "values", "including", "the", "HTTP", "protocol", "version", "and", "a", "default", "successful", "response", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L497-L508", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.forceSecureAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Force Secure Site Access? If the config value 'forceGlobalSecureRequests'\nis true, will enforce that all requests to this site are made through\nHTTPS. Will redirect the user to the current page with HTTPS, as well\nas set the HTTP Strict Transport Security header for those browsers\nthat support it.\n\n@param integer $duration How long the Strict Transport Security\nshould be enforced for this URL.", "docstring_tokens": ["Force", "Secure", "Site", "Access?", "If", "the", "config", "value", "forceGlobalSecureRequests", "is", "true", "will", "enforce", "that", "all", "requests", "to", "this", "site", "are", "made", "through", "HTTPS", ".", "Will", "redirect", "the", "user", "to", "the", "current", "page", "with", "HTTPS", "as", "well", "as", "set", "the", "HTTP", "Strict", "Transport", "Security", "header", "for", "those", "browsers", "that", "support", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L522-L530", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.displayCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if a response has been cached for the given URI.\n\n@param \\Config\\Cache $config\n\n@throws \\Exception\n\n@return boolean|\\CodeIgniter\\HTTP\\ResponseInterface", "docstring_tokens": ["Determines", "if", "a", "response", "has", "been", "cached", "for", "the", "given", "URI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L543-L575", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.cachePage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Caches the full response from the current request. Used for\nfull-page caching for very high performance.\n\n@param \\Config\\Cache $config\n\n@return mixed", "docstring_tokens": ["Caches", "the", "full", "response", "from", "the", "current", "request", ".", "Used", "for", "full", "-", "page", "caching", "for", "very", "high", "performance", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L601-L612", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.generateCacheName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the cache name to use for our full-page caching.\n\n@param $config\n\n@return string", "docstring_tokens": ["Generates", "the", "cache", "name", "to", "use", "for", "our", "full", "-", "page", "caching", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L638-L661", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.displayPerformanceMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces the memory_usage and elapsed_time tags.\n\n@param string $output\n\n@return string", "docstring_tokens": ["Replaces", "the", "memory_usage", "and", "elapsed_time", "tags", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L672-L679", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.tryToRouteIt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to Route It - As it sounds like, works with the router to\nmatch a route against the current URI. If the route is a\n\"redirect route\", will also handle the redirect.\n\n@param RouteCollectionInterface $routes An collection interface to use in place\nof the config file.\n\n@return string\n@throws \\CodeIgniter\\Router\\Exceptions\\RedirectException", "docstring_tokens": ["Try", "to", "Route", "It", "-", "As", "it", "sounds", "like", "works", "with", "the", "router", "to", "match", "a", "route", "against", "the", "current", "URI", ".", "If", "the", "route", "is", "a", "redirect", "route", "will", "also", "handle", "the", "redirect", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L694-L724", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.startController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Now that everything has been setup, this method attempts to run the\ncontroller method and make the script go. If it's not able to, will\nshow the appropriate Page Not Found error.", "docstring_tokens": ["Now", "that", "everything", "has", "been", "setup", "this", "method", "attempts", "to", "run", "the", "controller", "method", "and", "make", "the", "script", "go", ".", "If", "it", "s", "not", "able", "to", "will", "show", "the", "appropriate", "Page", "Not", "Found", "error", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L768-L797", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.createController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates the controller class.\n\n@return mixed", "docstring_tokens": ["Instantiates", "the", "controller", "class", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L806-L814", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.runController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the controller, allowing for _remap methods to function.\n\n@param mixed $class\n\n@return mixed", "docstring_tokens": ["Runs", "the", "controller", "allowing", "for", "_remap", "methods", "to", "function", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L825-L839", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.gatherOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gathers the script output from the buffer, replaces some execution\ntime tag in the output and displays the debug toolbar, if required.\n\n@param null $cacheConfig\n@param null $returned", "docstring_tokens": ["Gathers", "the", "script", "output", "from", "the", "buffer", "replaces", "some", "execution", "time", "tag", "in", "the", "output", "and", "displays", "the", "debug", "toolbar", "if", "required", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L909-L951", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.storePreviousURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If we have a session object to use, store the current URI\nas the previous URI. This is called just prior to sending the\nresponse to the client, and will make it available next request.\n\nThis helps provider safer, more reliable previous_url() detection.\n\n@param \\CodeIgniter\\HTTP\\URI $uri", "docstring_tokens": ["If", "we", "have", "a", "session", "object", "to", "use", "store", "the", "current", "URI", "as", "the", "previous", "URI", ".", "This", "is", "called", "just", "prior", "to", "sending", "the", "response", "to", "the", "client", "and", "will", "make", "it", "available", "next", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L964-L976", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CodeIgniter.php", "func_name": "CodeIgniter.spoofRequestMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modifies the Request Object to use a different method if a POST\nvariable called _method is found.\n\nDoes not work on CLI commands.", "docstring_tokens": ["Modifies", "the", "Request", "Object", "to", "use", "a", "different", "method", "if", "a", "POST", "variable", "called", "_method", "is", "found", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CodeIgniter.php#L986-L1007", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Cache/CacheFactory.php", "func_name": "CacheFactory.getHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to create the desired cache handler, based upon the\n\n@param $config\n@param string $handler\n@param string $backup\n\n@return \\CodeIgniter\\Cache\\CacheInterface", "docstring_tokens": ["Attempts", "to", "create", "the", "desired", "cache", "handler", "based", "upon", "the"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Cache/CacheFactory.php#L61-L99", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.createAliasFromTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the alias name based on the table\n\n@param string $item\n\n@return string", "docstring_tokens": ["Determines", "the", "alias", "name", "based", "on", "the", "table"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L443-L453", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.whereNotIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "WHERE NOT IN\n\nGenerates a WHERE field NOT IN('item', 'item') SQL query,\njoined with 'AND' if appropriate.\n\n@param string $key The field to search\n@param array $values The values searched on\n@param boolean $escape\n\n@return BaseBuilder", "docstring_tokens": ["WHERE", "NOT", "IN"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L780-L783", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder._whereIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal WHERE IN\n\n@used-by WhereIn()\n@used-by orWhereIn()\n@used-by whereNotIn()\n@used-by orWhereNotIn()\n\n@param string $key The field to search\n@param array $values The values searched on\n@param boolean $not If the statement would be IN or NOT IN\n@param string $type\n@param boolean $escape\n\n@return BaseBuilder", "docstring_tokens": ["Internal", "WHERE", "IN"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L822-L853", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder._like_statement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Platform independent LIKE statement builder.\n\n@param string $prefix\n@param string $column\n@param string $not\n@param string $bind\n@param boolean $insensitiveSearch\n\n@return string $like_statement", "docstring_tokens": ["Platform", "independent", "LIKE", "statement", "builder", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1027-L1037", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.groupStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a query group.\n\n@param string $not (Internal use only)\n@param string $type (Internal use only)\n\n@return BaseBuilder", "docstring_tokens": ["Starts", "a", "query", "group", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1049-L1063", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.groupEnd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ends a query group\n\n@return BaseBuilder", "docstring_tokens": ["Ends", "a", "query", "group"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1108-L1119", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.offset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the OFFSET value\n\n@param integer $offset OFFSET value\n\n@return BaseBuilder", "docstring_tokens": ["Sets", "the", "OFFSET", "value"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1320-L1328", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The \"set\" function.\n\nAllows key/value pairs to be set for insert(), update() or replace().\n\n@param string|array|object $key Field name, or an array of field/value pairs\n@param string $value Field value, if $key is a single field\n@param boolean $escape Whether to escape values and identifiers\n\n@return BaseBuilder", "docstring_tokens": ["The", "set", "function", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1359-L1384", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.getCompiledSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SELECT query string\n\nCompiles a SELECT query string and returns the sql.\n\n@param boolean $reset TRUE: resets QB values; FALSE: leave QB values alone\n\n@return string", "docstring_tokens": ["Get", "SELECT", "query", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1419-L1429", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.compileFinalQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a finalized, compiled query string with the bindings\ninserted and prefixes swapped out.\n\n@param string $sql\n\n@return string", "docstring_tokens": ["Returns", "a", "finalized", "compiled", "query", "string", "with", "the", "bindings", "inserted", "and", "prefixes", "swapped", "out", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1441-L1452", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.countAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "\"Count All\" query\n\nGenerates a platform-specific query string that counts all records in\nthe specified database\n\n@param boolean $reset Are we want to clear query builder values?\n@param boolean $test Are we running automated tests?\n\n@return integer|string when $test = true", "docstring_tokens": ["Count", "All", "query"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1502-L1528", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.countAllResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "\"Count All Results\" query\n\nGenerates a platform-specific query string that counts all records\nreturned by an Query Builder query.\n\n@param boolean $reset\n@param boolean $test The reset clause\n\n@return integer|string when $test = true", "docstring_tokens": ["Count", "All", "Results", "query"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1543-L1588", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder._insertBatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert batch statement\n\nGenerates a platform-specific insert string from the supplied data.\n\n@param string $table Table name\n@param array $keys INSERT keys\n@param array $values INSERT values\n\n@return string", "docstring_tokens": ["Insert", "batch", "statement"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1706-L1709", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.getCompiledInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get INSERT query string\n\nCompiles an insert query and returns the sql\n\n@param boolean $reset TRUE: reset QB values; FALSE: leave QB values alone\n\n@return string", "docstring_tokens": ["Get", "INSERT", "query", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1779-L1798", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.getCompiledUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get UPDATE query string\n\nCompiles an update query and returns the sql\n\n@param boolean $reset TRUE: reset QB values; FALSE: leave QB values alone\n\n@return string", "docstring_tokens": ["Get", "UPDATE", "query", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L1975-L1990", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.getCompiledDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get DELETE query string\n\nCompiles a delete query string and returns the sql\n\n@param boolean $reset TRUE: reset QB values; FALSE: leave QB values alone\n\n@return string", "docstring_tokens": ["Get", "DELETE", "query", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2365-L2372", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.decrement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrements a numeric column by the specified value.\n\n@param string $column\n@param integer $value\n\n@return boolean", "docstring_tokens": ["Decrements", "a", "numeric", "column", "by", "the", "specified", "value", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2462-L2469", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.compileSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the SELECT statement\n\nGenerates a query string based on which functions were used.\nShould not be called directly.\n\n@param mixed $select_override\n\n@return string", "docstring_tokens": ["Compile", "the", "SELECT", "statement"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2543-L2596", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.compileWhereHaving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile WHERE, HAVING statements\n\nEscapes identifiers in WHERE and HAVING statements at execution time.\n\nRequired so that aliases are tracked properly, regardless of whether\nwhere(), orWhere(), having(), orHaving are called prior to from(),\njoin() and prefixTable is added only if needed.\n\n@param string $qb_key 'QBWhere' or 'QBHaving'\n\n@return string SQL statement", "docstring_tokens": ["Compile", "WHERE", "HAVING", "statements"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2613-L2670", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.compileGroupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile GROUP BY\n\nEscapes identifiers in GROUP BY statements at execution time.\n\nRequired so that aliases are tracked properly, regardless of whether\ngroupBy() is called prior to from(), join() and prefixTable is added\nonly if needed.\n\n@return string SQL statement", "docstring_tokens": ["Compile", "GROUP", "BY"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2685-L2705", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.compileOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile ORDER BY\n\nEscapes identifiers in ORDER BY statements at execution time.\n\nRequired so that aliases are tracked properly, regardless of whether\norderBy() is called prior to from(), join() and prefixTable is added\nonly if needed.\n\n@return string SQL statement", "docstring_tokens": ["Compile", "ORDER", "BY"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2720-L2742", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseBuilder.php", "func_name": "BaseBuilder.getOperator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the SQL string operator\n\n@param string $str\n@param boolean $list\n\n@return mixed", "docstring_tokens": ["Returns", "the", "SQL", "string", "operator"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseBuilder.php#L2948-L2972", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar.php", "func_name": "Toolbar.renderTimeline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called within the view to display the timeline itself.\n\n@param array $collectors\n@param float $startTime\n@param integer $segmentCount\n@param integer $segmentDuration\n@param array $styles\n\n@return string", "docstring_tokens": ["Called", "within", "the", "view", "to", "display", "the", "timeline", "itself", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar.php#L221-L248", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar.php", "func_name": "Toolbar.collectTimelineData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a sorted array of timeline data arrays from the collectors.\n\n@param array $collectors\n\n@return array", "docstring_tokens": ["Returns", "a", "sorted", "array", "of", "timeline", "data", "arrays", "from", "the", "collectors", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar.php#L259-L277", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar.php", "func_name": "Toolbar.collectVarData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of data from all of the modules\nthat should be displayed in the 'Vars' tab.\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "data", "from", "all", "of", "the", "modules", "that", "should", "be", "displayed", "in", "the", "Vars", "tab", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar.php#L287-L302", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar.php", "func_name": "Toolbar.roundTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rounds a number to the nearest incremental value.\n\n@param float $number\n@param integer $increments\n\n@return float", "docstring_tokens": ["Rounds", "a", "number", "to", "the", "nearest", "incremental", "value", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar.php#L314-L319", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Image.php", "func_name": "Image.copy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a copy of itself to the new location. If no filename is provided\nit will use the existing filename.\n\n@param string $targetPath The directory to store the file in\n@param string|null $targetName The new name of the copied file.\n@param integer $perms File permissions to be applied after copy.\n\n@return boolean", "docstring_tokens": ["Makes", "a", "copy", "of", "itself", "to", "the", "new", "location", ".", "If", "no", "filename", "is", "provided", "it", "will", "use", "the", "existing", "filename", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Image.php#L98-L122", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Image.php", "func_name": "Image.getProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get image properties\n\nA helper function that gets info about the file\n\n@param boolean $return\n\n@return mixed", "docstring_tokens": ["Get", "image", "properties"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Image.php#L135-L166", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Handlers/DatabaseHandler.php", "func_name": "DatabaseHandler.releaseLock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Releases the lock, if any.\n\n@return boolean", "docstring_tokens": ["Releases", "the", "lock", "if", "any", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Handlers/DatabaseHandler.php#L391-L421", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Honeypot/Honeypot.php", "func_name": "Honeypot.attachHoneypot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches Honeypot template to response.\n\n@param \\CodeIgniter\\HTTP\\ResponseInterface $response", "docstring_tokens": ["Attaches", "Honeypot", "template", "to", "response", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Honeypot/Honeypot.php#L97-L104", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Honeypot/Honeypot.php", "func_name": "Honeypot.prepareTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares the template by adding label\ncontent and field name.\n\n@param string $template\n@return string", "docstring_tokens": ["Prepares", "the", "template", "by", "adding", "label", "content", "and", "field", "name", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Honeypot/Honeypot.php#L113-L123", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Result.php", "func_name": "Result.fetchObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the result set as an object.\n\nOverridden by child classes.\n\n@param string $className\n\n@return object|boolean", "docstring_tokens": ["Returns", "the", "result", "set", "as", "an", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Result.php#L172-L194", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Table.php", "func_name": "Table.makeColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set columns. Takes a one-dimensional array as input and creates\na multi-dimensional array with a depth equal to the number of\ncolumns. This allows a single array with many elements to be\ndisplayed in a table that has a fixed column count.\n\n@param array $array\n@param integer $columnLimit\n@return array", "docstring_tokens": ["Set", "columns", ".", "Takes", "a", "one", "-", "dimensional", "array", "as", "input", "and", "creates", "a", "multi", "-", "dimensional", "array", "with", "a", "depth", "equal", "to", "the", "number", "of", "columns", ".", "This", "allows", "a", "single", "array", "with", "many", "elements", "to", "be", "displayed", "in", "a", "table", "that", "has", "a", "fixed", "column", "count", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Table.php#L195-L229", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Table.php", "func_name": "Table.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears the table arrays. Useful if multiple tables are being generated\n\n@return Table", "docstring_tokens": ["Clears", "the", "table", "arrays", ".", "Useful", "if", "multiple", "tables", "are", "being", "generated"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Table.php#L466-L474", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Table.php", "func_name": "Table._setFromDBResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set table data from a database result object\n\n@param BaseResult $object Database result object\n@return void", "docstring_tokens": ["Set", "table", "data", "from", "a", "database", "result", "object"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Table.php#L484-L496", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Table.php", "func_name": "Table._setFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set table data from an array\n\n@param array $data\n@return void", "docstring_tokens": ["Set", "table", "data", "from", "an", "array"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Table.php#L506-L517", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/UploadedFile.php", "func_name": "UploadedFile.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create file target path if\nthe set path does not exist\n\n@param string $path\n\n@return string The path set or created.", "docstring_tokens": ["create", "file", "target", "path", "if", "the", "set", "path", "does", "not", "exist"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/UploadedFile.php#L206-L219", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/UploadedFile.php", "func_name": "UploadedFile.getErrorString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error string\n\n@return string", "docstring_tokens": ["Get", "error", "string"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/UploadedFile.php#L268-L284", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/UploadedFile.php", "func_name": "UploadedFile.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the uploaded file to a new location.\n\nBy default, upload files are saved in writable/uploads directory. The YYYYMMDD folder\nand random file name will be created.\n\n@param string $folderName the folder name to writable/uploads directory.\n@param string $fileName the name to rename the file to.\n@return string file full path", "docstring_tokens": ["Save", "the", "uploaded", "file", "to", "a", "new", "location", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/UploadedFile.php#L401-L409", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FileRules.php", "func_name": "FileRules.max_size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies if the file's size in Kilobytes is no larger than the parameter.\n\n@param string|null $blank\n@param string $params\n@param array $data\n\n@return boolean", "docstring_tokens": ["Verifies", "if", "the", "file", "s", "size", "in", "Kilobytes", "is", "no", "larger", "than", "the", "parameter", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FileRules.php#L111-L125", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FileRules.php", "func_name": "FileRules.is_image", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses the mime config file to determine if a file is considered an \"image\",\nwhich for our purposes basically means that it's a raster image or svg.\n\n@param string|null $blank\n@param string $params\n@param array $data\n\n@return boolean", "docstring_tokens": ["Uses", "the", "mime", "config", "file", "to", "determine", "if", "a", "file", "is", "considered", "an", "image", "which", "for", "our", "purposes", "basically", "means", "that", "it", "s", "a", "raster", "image", "or", "svg", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FileRules.php#L139-L158", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FileRules.php", "func_name": "FileRules.mime_in", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if an uploaded file's mime type matches one in the parameter.\n\n@param string|null $blank\n@param string $params\n@param array $data\n\n@return boolean", "docstring_tokens": ["Checks", "to", "see", "if", "an", "uploaded", "file", "s", "mime", "type", "matches", "one", "in", "the", "parameter", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FileRules.php#L171-L186", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/FileRules.php", "func_name": "FileRules.max_dims", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks an uploaded file to verify that the dimensions are within\na specified allowable dimension.\n\n@param string|null $blank\n@param string $params\n@param array $data\n\n@return boolean", "docstring_tokens": ["Checks", "an", "uploaded", "file", "to", "verify", "that", "the", "dimensions", "are", "within", "a", "specified", "allowable", "dimension", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/FileRules.php#L228-L252", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Request.php", "func_name": "Request.fetchGlobal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches one or more items from a global, like cookies, get, post, etc.\nCan optionally filter the input when you retrieve it by passing in\na filter.\n\nIf $type is an array, it must conform to the input allowed by the\nfilter_input_array method.\n\nhttp://php.net/manual/en/filter.filters.sanitize.php\n\n@param string $method Input filter constant\n@param string|array|null $index\n@param integer|null $filter Filter constant\n@param mixed $flags\n\n@return mixed", "docstring_tokens": ["Fetches", "one", "or", "more", "items", "from", "a", "global", "like", "cookies", "get", "post", "etc", ".", "Can", "optionally", "filter", "the", "input", "when", "you", "retrieve", "it", "by", "passing", "in", "a", "filter", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Request.php#L348-L426", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Request.php", "func_name": "Request.populateGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves a copy of the current state of one of several PHP globals\nso we can retrieve them later.\n\n@param string $method", "docstring_tokens": ["Saves", "a", "copy", "of", "the", "current", "state", "of", "one", "of", "several", "PHP", "globals", "so", "we", "can", "retrieve", "them", "later", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Request.php#L436-L463", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Commands/Database/MigrateVersion.php", "func_name": "MigrateVersion.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migrates the database up or down to get to the specified version.\n\n@param array $params", "docstring_tokens": ["Migrates", "the", "database", "up", "or", "down", "to", "get", "to", "the", "specified", "version", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Commands/Database/MigrateVersion.php#L106-L138", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.fromTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads an existing database table and\ncollects all of the information needed to\nrecreate this table.\n\n@param string $table\n\n@return \\CodeIgniter\\Database\\SQLite3\\Table", "docstring_tokens": ["Reads", "an", "existing", "database", "table", "and", "collects", "all", "of", "the", "information", "needed", "to", "recreate", "this", "table", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L120-L149", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called after `fromTable` and any actions, like `dropColumn`, etc,\nto finalize the action. It creates a temp table, creates the new\ntable with modifications, and copies the data over to the new table.\n\n@return boolean", "docstring_tokens": ["Called", "after", "fromTable", "and", "any", "actions", "like", "dropColumn", "etc", "to", "finalize", "the", "action", ".", "It", "creates", "a", "temp", "table", "creates", "the", "new", "table", "with", "modifications", "and", "copies", "the", "data", "over", "to", "the", "new", "table", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L158-L179", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.modifyColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modifies a field, including changing data type,\nrenaming, etc.\n\n@param array $field\n\n@return \\CodeIgniter\\Database\\SQLite3\\Table", "docstring_tokens": ["Modifies", "a", "field", "including", "changing", "data", "type", "renaming", "etc", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L203-L213", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the new table based on our current fields.\n\n@return mixed", "docstring_tokens": ["Creates", "the", "new", "table", "based", "on", "our", "current", "fields", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L220-L263", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.copyData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copies data from our old table to the new one,\ntaking care map data correctly based on any columns\nthat have been renamed.\n\n@return void", "docstring_tokens": ["Copies", "data", "from", "our", "old", "table", "to", "the", "new", "one", "taking", "care", "map", "data", "correctly", "based", "on", "any", "columns", "that", "have", "been", "renamed", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L272-L296", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.formatFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts fields retrieved from the database to\nthe format needed for creating fields with Forge.\n\n@param array|boolean $fields\n\n@return mixed", "docstring_tokens": ["Converts", "fields", "retrieved", "from", "the", "database", "to", "the", "format", "needed", "for", "creating", "fields", "with", "Forge", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L306-L333", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.formatKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts keys retrieved from the database to\nthe format needed to create later.\n\n@param mixed $keys\n\n@return mixed", "docstring_tokens": ["Converts", "keys", "retrieved", "from", "the", "database", "to", "the", "format", "needed", "to", "create", "later", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L343-L361", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Table.php", "func_name": "Table.dropIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to drop all indexes and constraints\nfrom the database for this table.\n\n@return null|void", "docstring_tokens": ["Attempts", "to", "drop", "all", "indexes", "and", "constraints", "from", "the", "database", "for", "this", "table", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Table.php#L369-L385", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Security/Security.php", "func_name": "Security.CSRFSetCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CSRF Set Cookie\n\n@codeCoverageIgnore\n\n@param RequestInterface|\\CodeIgniter\\HTTP\\IncomingRequest $request\n\n@return Security|false", "docstring_tokens": ["CSRF", "Set", "Cookie"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Security/Security.php#L246-L263", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Security/Security.php", "func_name": "Security.CSRFSetHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the CSRF Hash and cookie.\n\n@return string\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "CSRF", "Hash", "and", "cookie", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Security/Security.php#L297-L316", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.now", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new Time instance with the timezone set.\n\n@param string|DateTimeZone|null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "Time", "instance", "with", "the", "timezone", "set", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L151-L154", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new Time instance while parsing a datetime string.\n\nExample:\n$time = Time::parse('first day of December 2008');\n\n@param string $datetime\n@param string|null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "Time", "instance", "while", "parsing", "a", "datetime", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L171-L174", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.today", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new time with the time set to midnight.\n\n@param null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Return", "a", "new", "time", "with", "the", "time", "set", "to", "midnight", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L187-L190", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.yesterday", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instance set to midnight yesterday morning.\n\n@param null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "an", "instance", "set", "to", "midnight", "yesterday", "morning", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L203-L206", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.tomorrow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instance set to midnight tomorrow morning.\n\n@param null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "an", "instance", "set", "to", "midnight", "tomorrow", "morning", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L219-L222", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.createFromDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance based on the year, month and day. If any of those three\nare left empty, will default to the current value.\n\n@param integer|null $year\n@param integer|null $month\n@param integer|null $day\n@param null $timezone\n@param string $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "instance", "based", "on", "the", "year", "month", "and", "day", ".", "If", "any", "of", "those", "three", "are", "left", "empty", "will", "default", "to", "the", "current", "value", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L239-L242", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.createFromTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance with the date set to today, and the time set to the values passed in.\n\n@param integer|null $hour\n@param integer|null $minutes\n@param integer|null $seconds\n@param null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "instance", "with", "the", "date", "set", "to", "today", "and", "the", "time", "set", "to", "the", "values", "passed", "in", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L258-L261", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance with the date time values individually set.\n\n@param integer|null $year\n@param integer|null $month\n@param integer|null $day\n@param integer|null $hour\n@param integer|null $minutes\n@param integer|null $seconds\n@param null $timezone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "instance", "with", "the", "date", "time", "values", "individually", "set", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L280-L290", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.createFromFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides a replacement for DateTime's own createFromFormat function, that provides\nmore flexible timeZone handling\n\n@param string $format\n@param string $datetime\n@param DateTimeZone|string $timeZone\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Provides", "a", "replacement", "for", "DateTime", "s", "own", "createFromFormat", "function", "that", "provides", "more", "flexible", "timeZone", "handling"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L305-L310", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.createFromTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance with the datetime set based on the provided UNIX timestamp.\n\n@param integer $timestamp\n@param DateTimeZone $timeZone\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "instance", "with", "the", "datetime", "set", "based", "on", "the", "provided", "UNIX", "timestamp", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L324-L327", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.instance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes an instance of DateTime and returns an instance of Time with it's same values.\n\n@param \\DateTime $dateTime\n@param string|null $locale\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Takes", "an", "instance", "of", "DateTime", "and", "returns", "an", "instance", "of", "Time", "with", "it", "s", "same", "values", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L340-L346", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.toDateTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the current instance to a mutable DateTime object.\n\n@return \\DateTime\n@throws \\Exception", "docstring_tokens": ["Converts", "the", "current", "instance", "to", "a", "mutable", "DateTime", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L356-L362", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.getAge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the age in years from the \"current\" date and 'now'\n@throws \\Exception", "docstring_tokens": ["Returns", "the", "age", "in", "years", "from", "the", "current", "date", "and", "now"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L551-L558", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.getDst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Are we in daylight savings time currently?\n\n@return boolean", "docstring_tokens": ["Are", "we", "in", "daylight", "savings", "time", "currently?"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L580-L596", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the month of the year.\n\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "month", "of", "the", "year", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L660-L673", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the day of the month.\n\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "day", "of", "the", "month", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L683-L698", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setMinute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the minute of the hour\n\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "minute", "of", "the", "hour"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L726-L734", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setSecond", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the second of the minute.\n\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "second", "of", "the", "minute", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L744-L752", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to do the heavy lifting of the 'setX' methods.\n\n@param string $name\n@param $value\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Helper", "method", "to", "do", "the", "heavy", "lifting", "of", "the", "setX", "methods", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L763-L769", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.setTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance with the date set to the new timestamp.\n\n@param integer $timestamp\n\n@return \\CodeIgniter\\I18n\\Time\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "new", "instance", "with", "the", "date", "set", "to", "the", "new", "timestamp", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L792-L797", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the datetime passed in is equal to the current instance.\nEqual in this case means that they represent the same moment in time,\nand are not required to be in the same timezone, as both times are\nconverted to UTC and compared that way.\n\n@param Time|DateTime|string $testTime\n@param string|null $timezone\n\n@return boolean\n@throws \\Exception", "docstring_tokens": ["Determines", "if", "the", "datetime", "passed", "in", "is", "equal", "to", "the", "current", "instance", ".", "Equal", "in", "this", "case", "means", "that", "they", "represent", "the", "same", "moment", "in", "time", "and", "are", "not", "required", "to", "be", "in", "the", "same", "timezone", "as", "both", "times", "are", "converted", "to", "UTC", "and", "compared", "that", "way", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L1062-L1071", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.sameAs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that the times are identical, taking timezone into account.\n\n@param Time|DateTime|string $testTime\n@param string|null $timezone\n\n@return boolean\n@throws \\Exception", "docstring_tokens": ["Ensures", "that", "the", "times", "are", "identical", "taking", "timezone", "into", "account", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L1084-L1101", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/I18n/Time.php", "func_name": "Time.getUTCObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Time instance with the timezone converted to UTC.\n\n@param $time\n@param string|null $timezone\n\n@return \\DateTime|static\n@throws \\Exception", "docstring_tokens": ["Returns", "a", "Time", "instance", "with", "the", "timezone", "converted", "to", "UTC", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/I18n/Time.php#L1246-L1266", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ThirdParty/ZendEscaper/Escaper.php", "func_name": "Escaper.jsMatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback function for preg_replace_callback that applies Javascript\nescaping to all matches.\n\n@param array $matches\n@return string", "docstring_tokens": ["Callback", "function", "for", "preg_replace_callback", "that", "applies", "Javascript", "escaping", "to", "all", "matches", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ThirdParty/ZendEscaper/Escaper.php#L277-L291", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ThirdParty/ZendEscaper/Escaper.php", "func_name": "Escaper.cssMatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback function for preg_replace_callback that applies CSS\nescaping to all matches.\n\n@param array $matches\n@return string", "docstring_tokens": ["Callback", "function", "for", "preg_replace_callback", "that", "applies", "CSS", "escaping", "to", "all", "matches", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ThirdParty/ZendEscaper/Escaper.php#L300-L310", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ThirdParty/ZendEscaper/Escaper.php", "func_name": "Escaper.toUtf8", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a string to UTF-8 from the base encoding. The base encoding is set via this\nclass' constructor.\n\n@param string $string\n@throws Exception\\RuntimeException\n@return string", "docstring_tokens": ["Converts", "a", "string", "to", "UTF", "-", "8", "from", "the", "base", "encoding", ".", "The", "base", "encoding", "is", "set", "via", "this", "class", "constructor", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ThirdParty/ZendEscaper/Escaper.php#L320-L335", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/ThirdParty/ZendEscaper/Escaper.php", "func_name": "Escaper.fromUtf8", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a string from UTF-8 to the base encoding. The base encoding is set via this\nclass' constructor.\n@param string $string\n@return string", "docstring_tokens": ["Converts", "a", "string", "from", "UTF", "-", "8", "to", "the", "base", "encoding", ".", "The", "base", "encoding", "is", "set", "via", "this", "class", "constructor", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/ThirdParty/ZendEscaper/Escaper.php#L343-L350", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/FileCollection.php", "func_name": "FileCollection.getFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to get a single file from the collection of uploaded files.\n\n@param string $name\n\n@return UploadedFile|null", "docstring_tokens": ["Attempts", "to", "get", "a", "single", "file", "from", "the", "collection", "of", "uploaded", "files", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/FileCollection.php#L87-L110", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/FileCollection.php", "func_name": "FileCollection.createFileObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a file array, will create UploadedFile instances. Will\nloop over an array and create objects for each.\n\n@param array $array\n\n@return array|UploadedFile", "docstring_tokens": ["Given", "a", "file", "array", "will", "create", "UploadedFile", "instances", ".", "Will", "loop", "over", "an", "array", "and", "create", "objects", "for", "each", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/FileCollection.php#L188-L210", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Files/FileCollection.php", "func_name": "FileCollection.getValueDotNotationSyntax", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Navigate through a array looking for a particular index\n\n@param array $index The index sequence we are navigating down\n@param array $value The portion of the array to process\n\n@return mixed", "docstring_tokens": ["Navigate", "through", "a", "array", "looking", "for", "a", "particular", "index"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Files/FileCollection.php#L275-L287", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.setBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set download for binary string.\n\n@param string $binary", "docstring_tokens": ["set", "download", "for", "binary", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L107-L115", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.setFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set download for file.\n\n@param string $filepath", "docstring_tokens": ["set", "download", "for", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L122-L130", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.getContentLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get content length.\n\n@return integer", "docstring_tokens": ["get", "content", "length", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L137-L149", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.setContentTypeByMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set content type by guessing mime type from file extension", "docstring_tokens": ["Set", "content", "type", "by", "guessing", "mime", "type", "from", "file", "extension"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L154-L176", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.getDownloadFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get download filename.\n\n@return string", "docstring_tokens": ["get", "download", "filename", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L183-L204", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.getContentDisposition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Content-Disposition Header string.\n\n@return string", "docstring_tokens": ["get", "Content", "-", "Disposition", "Header", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L211-L230", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.buildHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set header for file download.", "docstring_tokens": ["set", "header", "for", "file", "download", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L373-L385", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.sendBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "output download file text.\n\n@throws DownloadException\n\n@return DownloadResponse", "docstring_tokens": ["output", "download", "file", "text", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L427-L439", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/DownloadResponse.php", "func_name": "DownloadResponse.sendBodyByFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "output download text by file.\n\n@return DownloadResponse", "docstring_tokens": ["output", "download", "text", "by", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/DownloadResponse.php#L446-L457", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CommandRunner.php", "func_name": "CommandRunner._remap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "We map all un-routed CLI methods through this function\nso we have the chance to look for a Command first.\n\n@param string $method\n@param array ...$params\n\n@throws \\ReflectionException", "docstring_tokens": ["We", "map", "all", "un", "-", "routed", "CLI", "methods", "through", "this", "function", "so", "we", "have", "the", "chance", "to", "look", "for", "a", "Command", "first", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CommandRunner.php#L74-L83", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CommandRunner.php", "func_name": "CommandRunner.runCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actually runs the command.\n\n@param string $command\n@param array $params\n\n@return mixed", "docstring_tokens": ["Actually", "runs", "the", "command", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CommandRunner.php#L117-L132", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CommandRunner.php", "func_name": "CommandRunner.createCommandList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scans all Commands directories and prepares a list\nof each command with it's group and file.\n\n@throws \\ReflectionException", "docstring_tokens": ["Scans", "all", "Commands", "directories", "and", "prepares", "a", "list", "of", "each", "command", "with", "it", "s", "group", "and", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CommandRunner.php#L142-L191", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Config.php", "func_name": "Config.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the default\n\n@param string|array $group The name of the connection group to use,\nor an array of configuration settings.\n@param boolean $getShared Whether to return a shared instance of the connection.\n\n@return BaseConnection", "docstring_tokens": ["Creates", "the", "default"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Config.php#L76-L119", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Config.php", "func_name": "Config.seeder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new instance of the Database Seeder.\n\n@param string|null $group\n\n@return Seeder", "docstring_tokens": ["Returns", "a", "new", "instance", "of", "the", "Database", "Seeder", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Config.php#L175-L180", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Commands/Database/MigrateRollback.php", "func_name": "MigrateRollback.isAllNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To migrate all namespaces to the latest migration\n\nDemo:\n1. command line: php spark migrate:latest -all\n2. command file: $this->call('migrate:latest', ['-g' => 'test','-all']);\n\n@param array $params\n@return boolean", "docstring_tokens": ["To", "migrate", "all", "namespaces", "to", "the", "latest", "migration"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Commands/Database/MigrateRollback.php#L167-L175", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Iterator.php", "func_name": "Iterator.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a test to run.\n\nTests are simply closures that the user can define any sequence of\nthings to happen during the test.\n\n@param string $name\n@param \\Closure $closure\n\n@return $this", "docstring_tokens": ["Adds", "a", "test", "to", "run", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Iterator.php#L73-L80", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Iterator.php", "func_name": "Iterator.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs through all of the tests that have been added, recording\ntime to execute the desired number of iterations, and the approximate\nmemory usage used during those iterations.\n\n@param integer $iterations\n@param boolean $output\n\n@return string|null", "docstring_tokens": ["Runs", "through", "all", "of", "the", "tests", "that", "have", "been", "added", "recording", "time", "to", "execute", "the", "desired", "number", "of", "iterations", "and", "the", "approximate", "memory", "usage", "used", "during", "those", "iterations", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Iterator.php#L94-L126", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Iterator.php", "func_name": "Iterator.getReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get results.\n\n@return string", "docstring_tokens": ["Get", "results", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Iterator.php#L135-L174", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.setQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the raw query string to use for this statement.\n\n@param string $sql\n@param mixed $binds\n@param boolean $setEscape\n\n@return $this", "docstring_tokens": ["Sets", "the", "raw", "query", "string", "to", "use", "for", "this", "statement", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L139-L163", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.getQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the final, processed query string after binding, etal\nhas been performed.\n\n@return string", "docstring_tokens": ["Returns", "the", "final", "processed", "query", "string", "after", "binding", "etal", "has", "been", "performed", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L189-L199", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.getStartTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the start time in seconds with microseconds.\n\n@param boolean $returnRaw\n@param integer $decimals\n\n@return string", "docstring_tokens": ["Returns", "the", "start", "time", "in", "seconds", "with", "microseconds", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L237-L245", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.getDuration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the duration of this query during execution, or null if\nthe query has not been executed yet.\n\n@param integer $decimals The accuracy of the returned time.\n\n@return string", "docstring_tokens": ["Returns", "the", "duration", "of", "this", "query", "during", "execution", "or", "null", "if", "the", "query", "has", "not", "been", "executed", "yet", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L256-L259", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.setError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores the error description that happened for this query.\n\n@param integer $code\n@param string $error\n\n@return $this", "docstring_tokens": ["Stores", "the", "error", "description", "that", "happened", "for", "this", "query", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L271-L277", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.swapPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Swaps out one table prefix for a new one.\n\n@param string $orig\n@param string $swap\n\n@return $this", "docstring_tokens": ["Swaps", "out", "one", "table", "prefix", "for", "a", "new", "one", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L338-L345", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Query.php", "func_name": "Query.compileBinds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes and inserts any binds into the finalQueryString object.\n\n@return null|void", "docstring_tokens": ["Escapes", "and", "inserts", "any", "binds", "into", "the", "finalQueryString", "object", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Query.php#L366-L411", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Controller.php", "func_name": "Controller.loadHelpers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles \"auto-loading\" helper files.", "docstring_tokens": ["Handles", "auto", "-", "loading", "helper", "files", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Controller.php#L166-L177", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the loader with the SPL autoloader stack.", "docstring_tokens": ["Register", "the", "loader", "with", "the", "SPL", "autoloader", "stack", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L139-L164", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.addNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers namespaces with the autoloader.\n\n@param array|string $namespace\n@param string $path\n\n@return Autoloader", "docstring_tokens": ["Registers", "namespaces", "with", "the", "autoloader", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L176-L203", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.getNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get namespaces with prefixes as keys and paths as values.\n\nIf a prefix param is set, returns only paths to the given prefix.\n\n@var string|null $prefix\n\n@return array", "docstring_tokens": ["Get", "namespaces", "with", "prefixes", "as", "keys", "and", "paths", "as", "values", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L216-L224", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.requireFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A central way to require a file is loaded. Split out primarily\nfor testing purposes.\n\n@param string $file\n\n@return string|false The filename on success, false if the file is not loaded", "docstring_tokens": ["A", "central", "way", "to", "require", "a", "file", "is", "loaded", ".", "Split", "out", "primarily", "for", "testing", "purposes", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L358-L370", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.sanitizeFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitizes a filename, replacing spaces with dashes.\n\nRemoves special characters that are illegal in filenames on certain\noperating systems and special characters requiring special escaping\nto manipulate at the command line. Replaces spaces and consecutive\ndashes with a single dash. Trim period, dash and underscore from beginning\nand end of filename.\n\n@param string $filename\n\n@return string The sanitized filename", "docstring_tokens": ["Sanitizes", "a", "filename", "replacing", "spaces", "with", "dashes", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L387-L400", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/Autoloader.php", "func_name": "Autoloader.discoverComposerNamespaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Locates all PSR4 compatible namespaces from Composer.", "docstring_tokens": ["Locates", "all", "PSR4", "compatible", "namespaces", "from", "Composer", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/Autoloader.php#L407-L433", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Filters.php", "func_name": "Filters.date_modify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a string or DateTime object, will return the date modified\nby the given value. Returns the value as a unix timestamp\n\nExample:\nmy_date|date_modify(+1 day)\n\n@param $value\n@param string $adjustment\n\n@return string\n@internal param string $format", "docstring_tokens": ["Given", "a", "string", "or", "DateTime", "object", "will", "return", "the", "date", "modified", "by", "the", "given", "value", ".", "Returns", "the", "value", "as", "a", "unix", "timestamp"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Filters.php#L96-L101", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Filters.php", "func_name": "Filters.excerpt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an excerpt of the given string.\n\n@param string $value\n@param string $phrase\n@param integer $radius\n\n@return string", "docstring_tokens": ["Returns", "an", "excerpt", "of", "the", "given", "string", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Filters.php#L146-L151", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/DotEnv.php", "func_name": "DotEnv.sanitizeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strips quotes from the environment variable value.\n\nThis was borrowed from the excellent phpdotenv with very few changes.\nhttps://github.com/vlucas/phpdotenv\n\n@param string $value\n\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Strips", "quotes", "from", "the", "environment", "variable", "value", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/DotEnv.php#L189-L233", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/DotEnv.php", "func_name": "DotEnv.resolveNestedVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the nested variables.\n\nLook for ${varname} patterns in the variable value and replace with an existing\nenvironment variable.\n\nThis was borrowed from the excellent phpdotenv with very few changes.\nhttps://github.com/vlucas/phpdotenv\n\n@param $value\n\n@return string", "docstring_tokens": ["Resolve", "the", "nested", "variables", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/DotEnv.php#L250-L273", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MySQLi/Connection.php", "func_name": "Connection.setDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select a specific database table to use.\n\n@param string $databaseName\n\n@return boolean", "docstring_tokens": ["Select", "a", "specific", "database", "table", "to", "use", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MySQLi/Connection.php#L265-L285", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MySQLi/Connection.php", "func_name": "Connection.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the query against the database.\n\n@param string $sql\n\n@return mixed", "docstring_tokens": ["Executes", "the", "query", "against", "the", "database", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MySQLi/Connection.php#L318-L330", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MySQLi/Connection.php", "func_name": "Connection.prepQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prep the query\n\nIf needed, each database adapter can prep the query string\n\n@param string $sql an SQL query\n\n@return string", "docstring_tokens": ["Prep", "the", "query"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MySQLi/Connection.php#L343-L353", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/MySQLi/Connection.php", "func_name": "Connection.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the last error code and message.\n\nMust return an array with keys 'code' and 'message':\n\nreturn ['code' => null, 'message' => null);\n\n@return array", "docstring_tokens": ["Returns", "the", "last", "error", "code", "and", "message", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/MySQLi/Connection.php#L580-L594", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Connection.php", "func_name": "Connection.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the query\n\n@param string $sql\n\n@return mixed \\SQLite3Result object or bool", "docstring_tokens": ["Execute", "the", "query"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Connection.php#L165-L170", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/SQLite3/Connection.php", "func_name": "Connection.getFieldNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch Field Names\n\n@param string $table Table name\n\n@return array|false\n@throws DatabaseException", "docstring_tokens": ["Fetch", "Field", "Names"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/SQLite3/Connection.php#L238-L292", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The cache class provides a simple way to store and retrieve\ncomplex data for later.\n\n@param \\Config\\Cache $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\Cache\\CacheInterface", "docstring_tokens": ["The", "cache", "class", "provides", "a", "simple", "way", "to", "store", "and", "retrieve", "complex", "data", "for", "later", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L107-L120", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.clirequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The CLI Request class provides for ways to interact with\na command line request.\n\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\CLIRequest", "docstring_tokens": ["The", "CLI", "Request", "class", "provides", "for", "ways", "to", "interact", "with", "a", "command", "line", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L133-L146", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.curlrequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The CURL Request class acts as a simple HTTP client for interacting\nwith other servers, typically through APIs.\n\n@param array $options\n@param \\CodeIgniter\\HTTP\\ResponseInterface $response\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\CURLRequest", "docstring_tokens": ["The", "CURL", "Request", "class", "acts", "as", "a", "simple", "HTTP", "client", "for", "interacting", "with", "other", "servers", "typically", "through", "APIs", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L161-L184", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.honeypot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Honeypot provides a secret input on forms that bots should NOT\nfill in, providing an additional safeguard when accepting user input.\n\n@param \\CodeIgniter\\Config\\BaseConfig|null $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\Honeypot\\Honeypot|mixed", "docstring_tokens": ["The", "Honeypot", "provides", "a", "secret", "input", "on", "forms", "that", "bots", "should", "NOT", "fill", "in", "providing", "an", "additional", "safeguard", "when", "accepting", "user", "input", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L271-L284", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.language", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Responsible for loading the language string translations.\n\n@param string $locale\n@param boolean $getShared\n\n@return \\CodeIgniter\\Language\\Language", "docstring_tokens": ["Responsible", "for", "loading", "the", "language", "string", "translations", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L348-L362", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.logger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Logger class is a PSR-3 compatible Logging class that supports\nmultiple handlers that process the actual logging.\n\n@param boolean $getShared\n\n@return \\CodeIgniter\\Log\\Logger", "docstring_tokens": ["The", "Logger", "class", "is", "a", "PSR", "-", "3", "compatible", "Logging", "class", "that", "supports", "multiple", "handlers", "that", "process", "the", "actual", "logging", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L374-L382", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.negotiator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Negotiate class provides the content negotiation features for\nworking the request to determine correct language, encoding, charset,\nand more.\n\n@param \\CodeIgniter\\HTTP\\RequestInterface $request\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\Negotiate", "docstring_tokens": ["The", "Negotiate", "class", "provides", "the", "content", "negotiation", "features", "for", "working", "the", "request", "to", "determine", "correct", "language", "encoding", "charset", "and", "more", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L417-L430", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.parser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Parser is a simple template parser.\n\n@param string $viewPath\n@param mixed $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\View\\Parser", "docstring_tokens": ["The", "Parser", "is", "a", "simple", "template", "parser", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L472-L491", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Request class models an HTTP request.\n\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\IncomingRequest", "docstring_tokens": ["The", "Request", "class", "models", "an", "HTTP", "request", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L538-L556", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Response class models an HTTP response.\n\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\Response", "docstring_tokens": ["The", "Response", "class", "models", "an", "HTTP", "response", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L568-L581", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.redirectResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Redirect class provides nice way of working with redirects.\n\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\Response", "docstring_tokens": ["The", "Redirect", "class", "provides", "nice", "way", "of", "working", "with", "redirects", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L593-L610", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.router", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Router class uses a RouteCollection's array of routes, and determines\nthe correct Controller and Method to execute.\n\n@param \\CodeIgniter\\Router\\RouteCollectionInterface $routes\n@param boolean $getShared\n\n@return \\CodeIgniter\\Router\\Router", "docstring_tokens": ["The", "Router", "class", "uses", "a", "RouteCollection", "s", "array", "of", "routes", "and", "determines", "the", "correct", "Controller", "and", "Method", "to", "execute", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L643-L656", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.security", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Security class provides a few handy tools for keeping the site\nsecure, most notably the CSRF protection tools.\n\n@param \\Config\\App $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\Security\\Security", "docstring_tokens": ["The", "Security", "class", "provides", "a", "few", "handy", "tools", "for", "keeping", "the", "site", "secure", "most", "notably", "the", "CSRF", "protection", "tools", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L669-L682", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.uri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The URI class provides a way to model and manipulate URIs.\n\n@param string $uri\n@param boolean $getShared\n\n@return \\CodeIgniter\\HTTP\\URI", "docstring_tokens": ["The", "URI", "class", "provides", "a", "way", "to", "model", "and", "manipulate", "URIs", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L794-L802", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Services.php", "func_name": "Services.validation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Validation class provides tools for validating input data.\n\n@param \\Config\\Validation $config\n@param boolean $getShared\n\n@return \\CodeIgniter\\Validation\\Validation", "docstring_tokens": ["The", "Validation", "class", "provides", "tools", "for", "validating", "input", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Services.php#L814-L827", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Commands/ListCommands.php", "func_name": "ListCommands.describeCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the commands on the CLI.\n\n@param array $commands", "docstring_tokens": ["Displays", "the", "commands", "on", "the", "CLI", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Commands/ListCommands.php#L129-L171", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Commands/ListCommands.php", "func_name": "ListCommands.padTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pads our string out so that all titles are the same length to nicely line up descriptions.\n\n@param string $item\n@param integer $max\n@param integer $extra // How many extra spaces to add at the end\n@param integer $indent\n\n@return string", "docstring_tokens": ["Pads", "our", "string", "out", "so", "that", "all", "titles", "are", "the", "same", "length", "to", "nicely", "line", "up", "descriptions", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Commands/ListCommands.php#L185-L193", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseUtils.php", "func_name": "BaseUtils.getCSVFromResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate CSV from a query result object\n\n@param ResultInterface $query Query result object\n@param string $delim Delimiter (default: ,)\n@param string $newline Newline character (default: \\n)\n@param string $enclosure Enclosure (default: \")\n\n@return string", "docstring_tokens": ["Generate", "CSV", "from", "a", "query", "result", "object"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseUtils.php#L267-L290", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/BaseUtils.php", "func_name": "BaseUtils.getXMLFromResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate XML data from a query result object\n\n@param ResultInterface $query Query result object\n@param array $params Any preferences\n\n@return string", "docstring_tokens": ["Generate", "XML", "data", "from", "a", "query", "result", "object"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/BaseUtils.php#L302-L332", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/BaseCommand.php", "func_name": "BaseCommand.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Can be used by a command to run other commands.\n\n@param string $command\n@param array $params\n\n@return mixed\n@throws \\ReflectionException", "docstring_tokens": ["Can", "be", "used", "by", "a", "command", "to", "run", "other", "commands", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/BaseCommand.php#L147-L154", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Seeder.php", "func_name": "Seeder.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the specified seeder and runs it.\n\n@param string $class\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Loads", "the", "specified", "seeder", "and", "runs", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Seeder.php#L135-L178", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Rules.php", "func_name": "Rules.in_list", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Value should be within an array of values\n\n@param string $value\n@param string $list\n@param array $data\n@return boolean", "docstring_tokens": ["Value", "should", "be", "within", "an", "array", "of", "values"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Rules.php#L149-L156", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Rules.php", "func_name": "Rules.less_than_equal_to", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Equal to or Less than\n\n@param string $str\n@param string $max\n\n@return boolean", "docstring_tokens": ["Equal", "to", "or", "Less", "than"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Rules.php#L224-L227", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Rules.php", "func_name": "Rules.required_with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The field is required when any of the other required fields are present\nin the data.\n\nExample (field is required when the password field is present):\n\nrequired_with[password]\n\n@param $str\n@param string $fields List of fields that we should check if present\n@param array $data Complete list of fields from the form\n\n@return boolean", "docstring_tokens": ["The", "field", "is", "required", "when", "any", "of", "the", "other", "required", "fields", "are", "present", "in", "the", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Rules.php#L327-L361", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Validation/Rules.php", "func_name": "Rules.required_without", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The field is required when all of the other fields are present\nin the data but not required.\n\nExample (field is required when the id or email field is missing):\n\nrequired_without[id,email]\n\n@param $str\n@param string $fields\n@param array $data\n\n@return boolean", "docstring_tokens": ["The", "field", "is", "required", "when", "all", "of", "the", "other", "fields", "are", "present", "in", "the", "data", "but", "not", "required", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Validation/Rules.php#L379-L404", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/Router.php", "func_name": "Router.validateRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to validate the URI request and determine the controller path.\n\n@param array $segments URI segments\n\n@return array URI segments", "docstring_tokens": ["Attempts", "to", "validate", "the", "URI", "request", "and", "determine", "the", "controller", "path", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/Router.php#L565-L591", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/Router.php", "func_name": "Router.setDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the sub-directory that the controller is in.\n\n@param string|null $dir\n@param boolean|false $append", "docstring_tokens": ["Sets", "the", "sub", "-", "directory", "that", "the", "controller", "is", "in", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/Router.php#L601-L613", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/Router.php", "func_name": "Router.setRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set request route\n\nTakes an array of URI segments as input and sets the class/method\nto be called.\n\n@param array $segments URI segments", "docstring_tokens": ["Set", "request", "route"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/Router.php#L625-L649", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Router/Router.php", "func_name": "Router.setDefaultController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default controller based on the info set in the RouteCollection.", "docstring_tokens": ["Sets", "the", "default", "controller", "based", "on", "the", "info", "set", "in", "the", "RouteCollection", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Router/Router.php#L656-L677", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Files/File.php", "func_name": "File.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the file size.\n\nImplementations SHOULD return the value stored in the \"size\" key of\nthe file in the $_FILES array if available, as PHP calculates this based\non the actual size transmitted.\n\n@param string $unit The unit to return:\n- b Bytes\n- kb Kilobytes\n- mb Megabytes\n\n@return integer|null The file size in bytes or null if unknown.", "docstring_tokens": ["Retrieve", "the", "file", "size", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Files/File.php#L96-L112", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Files/File.php", "func_name": "File.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves a file to a new location.\n\n@param string $targetPath\n@param string|null $name\n@param boolean $overwrite\n\n@return \\CodeIgniter\\Files\\File", "docstring_tokens": ["Moves", "a", "file", "to", "a", "new", "location", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Files/File.php#L168-L185", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Files/File.php", "func_name": "File.getDestination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the destination path for the move operation where overwriting is not expected.\n\nFirst, it checks whether the delimiter is present in the filename, if it is, then it checks whether the\nlast element is an integer as there may be cases that the delimiter may be present in the filename.\nFor the all other cases, it appends an integer starting from zero before the file's extension.\n\n@param string $destination\n@param string $delimiter\n@param integer $i\n\n@return string", "docstring_tokens": ["Returns", "the", "destination", "path", "for", "the", "move", "operation", "where", "overwriting", "is", "not", "expected", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Files/File.php#L202-L228", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar/Collectors/Database.php", "func_name": "Database.collect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The static method used during Events to collect\ndata.\n\n@param \\CodeIgniter\\Database\\Query $query\n\n@internal param $ array \\CodeIgniter\\Database\\Query", "docstring_tokens": ["The", "static", "method", "used", "during", "Events", "to", "collect", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar/Collectors/Database.php#L112-L123", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Debug/Toolbar/Collectors/Database.php", "func_name": "Database.formatTimelineData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns timeline data formatted for the toolbar.\n\n@return array The formatted data or an empty array.", "docstring_tokens": ["Returns", "timeline", "data", "formatted", "for", "the", "toolbar", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Debug/Toolbar/Collectors/Database.php#L132-L158", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.locateFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to locate a file by examining the name for a namespace\nand looking through the PSR-4 namespaced files that we know about.\n\n@param string $file The namespaced file to locate\n@param string $folder The folder within the namespace that we should look for the file.\n@param string $ext The file extension the file should have.\n\n@return string|false The path to the file, or false if not found.", "docstring_tokens": ["Attempts", "to", "locate", "a", "file", "by", "examining", "the", "name", "for", "a", "namespace", "and", "looking", "through", "the", "PSR", "-", "4", "namespaced", "files", "that", "we", "know", "about", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L80-L141", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.getClassname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Examines a file and returns the fully qualified domain name.\n\n@param string $file\n\n@return string", "docstring_tokens": ["Examines", "a", "file", "and", "returns", "the", "fully", "qualified", "domain", "name", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L152-L194", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches through all of the defined namespaces looking for a file.\nReturns an array of all found locations for the defined file.\n\nExample:\n\n$locator->search('Config/Routes.php');\n// Assuming PSR4 namespaces include foo and bar, might return:\n[\n'app/Modules/foo/Config/Routes.php',\n'app/Modules/bar/Config/Routes.php',\n]\n\n@param string $path\n@param string $ext\n\n@return array", "docstring_tokens": ["Searches", "through", "all", "of", "the", "defined", "namespaces", "looking", "for", "a", "file", ".", "Returns", "an", "array", "of", "all", "found", "locations", "for", "the", "defined", "file", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L216-L234", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.ensureExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures a extension is at the end of a filename\n\n@param string $path\n@param string $ext\n\n@return string", "docstring_tokens": ["Ensures", "a", "extension", "is", "at", "the", "end", "of", "a", "filename"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L246-L259", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.findQualifiedNameFromPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the qualified name of a file according to\nthe namespace of the first matched namespace path.\n\n@param string $path\n\n@return string|false The qualified name or false if the path is not found", "docstring_tokens": ["Find", "the", "qualified", "name", "of", "a", "file", "according", "to", "the", "namespace", "of", "the", "first", "matched", "namespace", "path", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L305-L337", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Autoloader/FileLocator.php", "func_name": "FileLocator.legacyLocate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the application folder to see if the file can be found.\nOnly for use with filenames that DO NOT include namespacing.\n\n@param string $file\n@param string|null $folder\n\n@return string|false The path to the file, or false if not found.", "docstring_tokens": ["Checks", "the", "application", "folder", "to", "see", "if", "the", "file", "can", "be", "found", ".", "Only", "for", "use", "with", "filenames", "that", "DO", "NOT", "include", "namespacing", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Autoloader/FileLocator.php#L432-L450", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.renderString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the output based upon a string and any\ndata that has already been set.\nCache does not apply, because there is no \"key\".\n\n@param string $view The view contents\n@param array $options Reserved for 3rd-party uses since\nit might be needed to pass additional info\nto other template engines.\n@param boolean $saveData If true, will save data for use with any other calls,\nif false, will clean the data after displaying the view,\nif not specified, use the config setting.\n\n@return string", "docstring_tokens": ["Builds", "the", "output", "based", "upon", "a", "string", "and", "any", "data", "that", "has", "already", "been", "set", ".", "Cache", "does", "not", "apply", "because", "there", "is", "no", "key", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L299-L323", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.excerpt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract first bit of a long string and add ellipsis\n\n@param string $string\n@param integer $length\n@return string", "docstring_tokens": ["Extract", "first", "bit", "of", "a", "long", "string", "and", "add", "ellipsis"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L334-L337", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets several pieces of view data at once.\n\n@param array $data\n@param string $context The context to escape it for: html, css, js, url\nIf null, no escaping will happen\n\n@return RendererInterface", "docstring_tokens": ["Sets", "several", "pieces", "of", "view", "data", "at", "once", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L350-L360", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.setVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a single piece of view data.\n\n@param string $name\n@param mixed $value\n@param string $context The context to escape it for: html, css, js, url\nIf null, no escaping will happen\n\n@return RendererInterface", "docstring_tokens": ["Sets", "a", "single", "piece", "of", "view", "data", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L374-L384", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.renderSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a section's contents.\n\n@param string $sectionName", "docstring_tokens": ["Renders", "a", "section", "s", "contents", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L473-L486", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.include", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used within layout views to include additional views.\n\n@param string $view\n@param array|null $options\n@param null $saveData\n\n@return string", "docstring_tokens": ["Used", "within", "layout", "views", "to", "include", "additional", "views", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L499-L502", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/View.php", "func_name": "View.logPerformance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs performance data for rendering a view.\n\n@param float $start\n@param float $end\n@param string $view", "docstring_tokens": ["Logs", "performance", "data", "for", "rendering", "a", "view", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/View.php#L526-L538", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.withFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets another image for this handler to work on.\nKeeps us from needing to continually instantiate the handler.\n\n@param string $path\n\n@return $this", "docstring_tokens": ["Sets", "another", "image", "for", "this", "handler", "to", "work", "on", ".", "Keeps", "us", "from", "needing", "to", "continually", "instantiate", "the", "handler", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L114-L127", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.ensureResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make the image resource object if needed", "docstring_tokens": ["Make", "the", "image", "resource", "object", "if", "needed"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L134-L153", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.resize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resize the image\n\n@param integer $width\n@param integer $height\n@param boolean $maintainRatio If true, will get the closest match possible while keeping aspect ratio true.\n@param string $masterDim\n\n@return BaseHandler", "docstring_tokens": ["Resize", "the", "image"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L194-L212", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.rotate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rotates the image on the current canvas.\n\n@param float $angle\n\n@return mixed", "docstring_tokens": ["Rotates", "the", "image", "on", "the", "current", "canvas", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L260-L289", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.flip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flips an image either horizontally or vertically.\n\n@param string $dir Either 'vertical' or 'horizontal'\n\n@return $this", "docstring_tokens": ["Flips", "an", "image", "either", "horizontally", "or", "vertically", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L344-L354", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.text", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overlays a string of text over the image.\n\nValid options:\n\n- color Text Color (hex number)\n- shadowColor Color of the shadow (hex number)\n- hAlign Horizontal alignment: left, center, right\n- vAlign Vertical alignment: top, middle, bottom\n- hOffset\n- vOffset\n- fontPath\n- fontSize\n- shadowOffset\n\n@param string $text\n@param array $options\n\n@return $this", "docstring_tokens": ["Overlays", "a", "string", "of", "text", "over", "the", "image", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L390-L399", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.reorient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the EXIF information from the image and modifies the orientation\nso that displays correctly in the browser. This is especially an issue\nwith images taken by smartphones who always store the image up-right,\nbut set the orientation flag to display it correctly.\n\n@param boolean $silent If true, will ignore exceptions when PHP doesn't support EXIF.\n\n@return $this", "docstring_tokens": ["Reads", "the", "EXIF", "information", "from", "the", "image", "and", "modifies", "the", "orientation", "so", "that", "displays", "correctly", "in", "the", "browser", ".", "This", "is", "especially", "an", "issue", "with", "images", "taken", "by", "smartphones", "who", "always", "store", "the", "image", "up", "-", "right", "but", "set", "the", "orientation", "flag", "to", "display", "it", "correctly", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L423-L456", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.getEXIF", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the EXIF information from the image, if possible. Returns\nan array of the information, or null if nothing can be found.\n\n@param string|null $key If specified, will only return this piece of EXIF data.\n\n@param boolean $silent If true, will not throw our own exceptions.\n\n@return mixed", "docstring_tokens": ["Retrieve", "the", "EXIF", "information", "from", "the", "image", "if", "possible", ".", "Returns", "an", "array", "of", "the", "information", "or", "null", "if", "nothing", "can", "be", "found", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L470-L487", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/BaseHandler.php", "func_name": "BaseHandler.fit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Combine cropping and resizing into a single command.\n\nSupported positions:\n- top-left\n- top\n- top-right\n- left\n- center\n- right\n- bottom-left\n- bottom\n- bottom-right\n\n@param integer $width\n@param integer $height\n@param string $position\n\n@return boolean", "docstring_tokens": ["Combine", "cropping", "and", "resizing", "into", "a", "single", "command", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/BaseHandler.php#L511-L527", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Commands/Server/Serve.php", "func_name": "Serve.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the server\n\n@param array $params Parameters\n\n@return void", "docstring_tokens": ["Run", "the", "server"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Commands/Server/Serve.php#L114-L142", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.renderString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a String\n\nParses pseudo-variables contained in the specified string,\nreplacing them with any data that has already been set.\n\n@param string $template\n@param array $options\n@param boolean $saveData\n\n@return string", "docstring_tokens": ["Parse", "a", "String"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L190-L207", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.parsePair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a tag pair\n\nParses tag pairs: {some_tag} string... {/some_tag}\n\n@param string $variable\n@param array $data\n@param string $template\n@return array", "docstring_tokens": ["Parse", "a", "tag", "pair"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L339-L420", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.extractNoparse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts noparse blocks, inserting a hash in its place so that\nthose blocks of the page are not touched by parsing.\n\n@param string $template\n\n@return string", "docstring_tokens": ["Extracts", "noparse", "blocks", "inserting", "a", "hash", "in", "its", "place", "so", "that", "those", "blocks", "of", "the", "page", "are", "not", "touched", "by", "parsing", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L448-L468", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.insertNoparse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Re-inserts the noparsed contents back into the template.\n\n@param string $template\n\n@return string", "docstring_tokens": ["Re", "-", "inserts", "the", "noparsed", "contents", "back", "into", "the", "template", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L479-L488", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.parseConditionals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses any conditionals in the code, removing blocks that don't\npass so we don't try to parse it later.\n\nValid conditionals:\n- if\n- elseif\n- else\n\n@param string $template\n\n@return string", "docstring_tokens": ["Parses", "any", "conditionals", "in", "the", "code", "removing", "blocks", "that", "don", "t", "pass", "so", "we", "don", "t", "try", "to", "parse", "it", "later", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L505-L543", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.setDelimiters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Over-ride the substitution field delimiters.\n\n@param string $leftDelimiter\n@param string $rightDelimiter\n@return RendererInterface", "docstring_tokens": ["Over", "-", "ride", "the", "substitution", "field", "delimiters", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L554-L559", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.replaceSingle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles replacing a pseudo-variable with the actual content. Will double-check\nfor escaping brackets.\n\n@param $pattern\n@param $content\n@param $template\n@param boolean $escape\n\n@return string", "docstring_tokens": ["Handles", "replacing", "a", "pseudo", "-", "variable", "with", "the", "actual", "content", ".", "Will", "double", "-", "check", "for", "escaping", "brackets", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L574-L591", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.shouldAddEscaping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the placeholder the view provided to see if we need to provide any autoescaping.\n\n@param string $key\n\n@return false|string", "docstring_tokens": ["Checks", "the", "placeholder", "the", "view", "provided", "to", "see", "if", "we", "need", "to", "provide", "any", "autoescaping", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L634-L666", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/View/Parser.php", "func_name": "Parser.addPlugin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a new plugin available during the parsing of the template.\n\n@param string $alias\n@param callable $callback\n\n@param boolean $isPair\n\n@return $this", "docstring_tokens": ["Makes", "a", "new", "plugin", "available", "during", "the", "parsing", "of", "the", "template", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/View/Parser.php#L804-L809", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Images/Handlers/GDHandler.php", "func_name": "GDHandler.createImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Image Resource\n\nThis simply creates an image resource handle\nbased on the type of image being processed\n\n@param string $path\n@param string $imageType\n\n@return resource|boolean", "docstring_tokens": ["Create", "Image", "Resource"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Images/Handlers/GDHandler.php#L378-L421", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a single header object. If multiple headers with the same\nname exist, then will return an array of header objects.\n\n@param string $name\n\n@return array|\\CodeIgniter\\HTTP\\Header", "docstring_tokens": ["Returns", "a", "single", "header", "object", ".", "If", "multiple", "headers", "with", "the", "same", "name", "exist", "then", "will", "return", "an", "array", "of", "header", "objects", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L200-L210", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.hasHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether a header exists.\n\n@param string $name\n\n@return boolean", "docstring_tokens": ["Determines", "whether", "a", "header", "exists", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L221-L226", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.setHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a header and it's value.\n\n@param string $name\n@param array|null|string $value\n\n@return Message|Response", "docstring_tokens": ["Sets", "a", "header", "and", "it", "s", "value", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L267-L289", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.removeHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a header from the list of headers we track.\n\n@param string $name\n\n@return Message", "docstring_tokens": ["Removes", "a", "header", "from", "the", "list", "of", "headers", "we", "track", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L300-L308", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.setProtocolVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the HTTP protocol version.\n\n@param string $version\n\n@return Message", "docstring_tokens": ["Sets", "the", "HTTP", "protocol", "version", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L371-L386", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Message.php", "func_name": "Message.getHeaderName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a header name in any case, and returns the\nnormal-case version of the header.\n\n@param string $name\n\n@return string", "docstring_tokens": ["Takes", "a", "header", "name", "in", "any", "case", "and", "returns", "the", "normal", "-", "case", "version", "of", "the", "header", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Message.php#L398-L403", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Session/Handlers/FileHandler.php", "func_name": "FileHandler.configureSessionIDRegex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure Session ID regular expression", "docstring_tokens": ["Configure", "Session", "ID", "regular", "expression"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Session/Handlers/FileHandler.php#L392-L419", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.getReason", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the response response phrase associated with the status code.\n\n@see http://tools.ietf.org/html/rfc7231#section-6\n@see http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml\n\n@return string", "docstring_tokens": ["Gets", "the", "response", "response", "phrase", "associated", "with", "the", "status", "code", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L349-L357", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.setLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Link Header\n\n@param \\CodeIgniter\\Pager\\PagerInterface $pager\n\n@see http://tools.ietf.org/html/rfc5988\n\n@return Response", "docstring_tokens": ["Set", "the", "Link", "Header"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L390-L414", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.setContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Content Type header for this response with the mime type\nand, optionally, the charset.\n\n@param string $mime\n@param string $charset\n\n@return Response", "docstring_tokens": ["Sets", "the", "Content", "Type", "header", "for", "this", "response", "with", "the", "mime", "type", "and", "optionally", "the", "charset", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L427-L439", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.getJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current body, converted to JSON is it isn't already.\n\n@return mixed|string\n\n@throws \\InvalidArgumentException If the body property is not array.", "docstring_tokens": ["Returns", "the", "current", "body", "converted", "to", "JSON", "is", "it", "isn", "t", "already", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L466-L482", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.getXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the current body into XML and returns it.\n\n@return mixed|string\n@throws \\InvalidArgumentException If the body property is not array.", "docstring_tokens": ["Retrieves", "the", "current", "body", "into", "XML", "and", "returns", "it", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L508-L524", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.formatBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles conversion of the of the data into the appropriate format,\nand sets the correct Content-Type header for our response.\n\n@param string|array $body\n@param string $format Valid: json, xml\n\n@return mixed\n@throws \\InvalidArgumentException If the body property is not string or array.", "docstring_tokens": ["Handles", "conversion", "of", "the", "of", "the", "data", "into", "the", "appropriate", "format", "and", "sets", "the", "correct", "Content", "-", "Type", "header", "for", "our", "response", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L538-L557", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.setCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A shortcut method that allows the developer to set all of the\ncache-control headers in one method call.\n\nThe options array is used to provide the cache-control directives\nfor the header. It might look something like:\n\n$options = [\n'max-age' => 300,\n's-maxage' => 900\n'etag' => 'abcde',\n];\n\nTypical options are:\n- etag\n- last-modified\n- max-age\n- s-maxage\n- private\n- public\n- must-revalidate\n- proxy-revalidate\n- no-transform\n\n@param array $options\n\n@return Response", "docstring_tokens": ["A", "shortcut", "method", "that", "allows", "the", "developer", "to", "set", "all", "of", "the", "cache", "-", "control", "headers", "in", "one", "method", "call", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L611-L639", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the output to the browser.\n\n@return Response", "docstring_tokens": ["Sends", "the", "output", "to", "the", "browser", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L678-L696", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.sendHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the headers of this HTTP request to the browser.\n\n@return Response", "docstring_tokens": ["Sends", "the", "headers", "of", "this", "HTTP", "request", "to", "the", "browser", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L705-L730", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.setCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a cookie\n\nAccepts an arbitrary number of binds (up to 7) or an associative\narray in the first parameter containing all the values.\n\n@param string|array $name Cookie name or array containing binds\n@param string $value Cookie value\n@param string $expire Cookie expiration time in seconds\n@param string $domain Cookie domain (e.g.: '.yourdomain.com')\n@param string $path Cookie path (default: '/')\n@param string $prefix Cookie name prefix\n@param boolean|false $secure Whether to only transfer cookies via SSL\n@param boolean|false $httponly Whether only make the cookie accessible via HTTP (no javascript)\n\n@return $this", "docstring_tokens": ["Set", "a", "cookie"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L826-L894", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.hasCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the Response has a specified cookie or not.\n\n@param string $name\n@param string|null $value\n@param string $prefix\n\n@return boolean", "docstring_tokens": ["Checks", "to", "see", "if", "the", "Response", "has", "a", "specified", "cookie", "or", "not", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L907-L932", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.getCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the cookie\n\n@param string|null $name\n@param string $prefix\n\n@return mixed", "docstring_tokens": ["Returns", "the", "cookie"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L942-L965", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.deleteCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a cookie to be deleted when the response is sent.\n\n@param string $name\n@param string $domain\n@param string $path\n@param string $prefix\n\n@return $this", "docstring_tokens": ["Sets", "a", "cookie", "to", "be", "deleted", "when", "the", "response", "is", "sent", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L977-L1011", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.sendCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actually sets the cookies.", "docstring_tokens": ["Actually", "sets", "the", "cookies", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L1016-L1030", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/Response.php", "func_name": "Response.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Force a download.\n\nGenerates the headers that force a download to happen. And\nsends the file to the browser.\n\n@param string $filename The path to the file to send\n@param string|null $data The data to be downloaded\n@param boolean $setMime Whether to try and send the actual MIME type\n\n@return \\CodeIgniter\\HTTP\\DownloadResponse|null", "docstring_tokens": ["Force", "a", "download", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/Response.php#L1044-L1071", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Config.php", "func_name": "Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new configuration instances or return\na shared instance\n\n@param string $name Configuration name\n@param boolean $getShared Use shared instance\n\n@return mixed|null", "docstring_tokens": ["Create", "new", "configuration", "instances", "or", "return", "a", "shared", "instance"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Config.php#L67-L85", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/Config.php", "func_name": "Config.createClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find configuration class and create instance\n\n@param string $name Classname\n\n@return mixed|null", "docstring_tokens": ["Find", "configuration", "class", "and", "create", "instance"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/Config.php#L119-L142", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.getSharedInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a shared instance of any of the class' services.\n\n$key must be a name matching a service.\n\n@param string $key\n@param array ...$params\n\n@return mixed", "docstring_tokens": ["Returns", "a", "shared", "instance", "of", "any", "of", "the", "class", "services", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L106-L123", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.autoloader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Autoloader class is the central class that handles our\nspl_autoload_register method, and helper methods.\n\n@param boolean $getShared\n\n@return \\CodeIgniter\\Autoloader\\Autoloader", "docstring_tokens": ["The", "Autoloader", "class", "is", "the", "central", "class", "that", "handles", "our", "spl_autoload_register", "method", "and", "helper", "methods", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L135-L148", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.locator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The file locator provides utility methods for looking for non-classes\nwithin namespaced folders, as well as convenience methods for\nloading 'helpers', and 'libraries'.\n\n@param boolean $getShared\n\n@return \\CodeIgniter\\Autoloader\\FileLocator", "docstring_tokens": ["The", "file", "locator", "provides", "utility", "methods", "for", "looking", "for", "non", "-", "classes", "within", "namespaced", "folders", "as", "well", "as", "convenience", "methods", "for", "loading", "helpers", "and", "libraries", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L161-L176", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset shared instances and mocks for testing.\n\n@param boolean $init_autoloader Initializes autoloader instance", "docstring_tokens": ["Reset", "shared", "instances", "and", "mocks", "for", "testing", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L208-L218", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.injectMock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inject mock object for testing.\n\n@param string $name\n@param $mock", "docstring_tokens": ["Inject", "mock", "object", "for", "testing", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L228-L232", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Config/BaseService.php", "func_name": "BaseService.discoverServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will scan all psr4 namespaces registered with system to look\nfor new Config\\Services files. Caches a copy of each one, then\nlooks for the service method in each, returning an instance of\nthe service, if available.\n\n@param string $name\n@param array $arguments\n\n@return mixed", "docstring_tokens": ["Will", "scan", "all", "psr4", "namespaces", "registered", "with", "system", "to", "look", "for", "new", "Config", "\\", "Services", "files", ".", "Caches", "a", "copy", "of", "each", "one", "then", "looks", "for", "the", "service", "method", "in", "each", "returning", "an", "instance", "of", "the", "service", "if", "available", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Config/BaseService.php#L247-L295", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get input from the shell, using readline or the standard STDIN\n\nNamed options must be in the following formats:\nphp index.php user -v --v -name=John --name=John\n\n@param string $prefix\n@return string\n\n@codeCoverageIgnore", "docstring_tokens": ["Get", "input", "from", "the", "shell", "using", "readline", "or", "the", "standard", "STDIN"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L186-L196", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.prompt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks the user for input.\n\nUsage:\n\n// Takes any input\n$color = CLI::prompt('What is your favorite color?');\n\n// Takes any input, but offers default\n$color = CLI::prompt('What is your favourite color?', 'white');\n\n// Will validate options with the in_list rule and accept only if one of the list\n$color = CLI::prompt('What is your favourite color?', array('red','blue'));\n\n// Do not provide options but requires a valid email\n$email = CLI::prompt('What is your email?', null, 'required|valid_email');\n\n@param string $field Output \"field\" question\n@param string|array $options String to a default value, array to a list of options (the first option will be the default value)\n@param string $validation Validation rules\n\n@return string The user input\n@codeCoverageIgnore", "docstring_tokens": ["Asks", "the", "user", "for", "input", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L224-L270", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate one prompt \"field\" at a time\n\n@param string $field Prompt \"field\" output\n@param string $value Input value\n@param string $rules Validation rules\n\n@return boolean\n@codeCoverageIgnore", "docstring_tokens": ["Validate", "one", "prompt", "field", "at", "a", "time"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L284-L298", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.print", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs a string to the CLI without any surrounding newlines.\nUseful for showing repeating elements on a single line.\n\n@param string $text\n@param string|null $foreground\n@param string|null $background", "docstring_tokens": ["Outputs", "a", "string", "to", "the", "CLI", "without", "any", "surrounding", "newlines", ".", "Useful", "for", "showing", "repeating", "elements", "on", "a", "single", "line", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L310-L320", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs an error to the CLI using STDERR instead of STDOUT\n\n@param string|array $text The text to output, or array of errors\n@param string $foreground\n@param string $background", "docstring_tokens": ["Outputs", "an", "error", "to", "the", "CLI", "using", "STDERR", "instead", "of", "STDOUT"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L354-L362", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.wait", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Waits a certain number of seconds, optionally showing a wait message and\nwaiting for a key press.\n\n@param integer $seconds Number of seconds\n@param boolean $countdown Show a countdown or not", "docstring_tokens": ["Waits", "a", "certain", "number", "of", "seconds", "optionally", "showing", "a", "wait", "message", "and", "waiting", "for", "a", "key", "press", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L385-L414", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.color", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the given text with the correct color codes for a foreground and\noptionally a background color.\n\n@param string $text The text to color\n@param string $foreground The foreground color\n@param string $background The background color\n@param string $format Other formatting to apply. Currently only 'underline' is understood\n\n@return string The color coded string", "docstring_tokens": ["Returns", "the", "given", "text", "with", "the", "correct", "color", "codes", "for", "a", "foreground", "and", "optionally", "a", "background", "color", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L478-L512", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.wrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a string and writes it to the command line, wrapping to a maximum\nwidth. If no maximum width is specified, will wrap to the window's max\nwidth.\n\nIf an int is passed into $pad_left, then all strings after the first\nwill padded with that many spaces to the left. Useful when printing\nshort descriptions that need to start on an existing line.\n\n@param string $string\n@param integer $max\n@param integer $pad_left\n\n@return string", "docstring_tokens": ["Takes", "a", "string", "and", "writes", "it", "to", "the", "command", "line", "wrapping", "to", "a", "maximum", "width", ".", "If", "no", "maximum", "width", "is", "specified", "will", "wrap", "to", "the", "window", "s", "max", "width", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L648-L690", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a single command-line option. Returns TRUE if the option\nexists, but doesn't have a value, and is simply acting as a flag.\n\n@param string $name\n\n@return boolean|mixed|null", "docstring_tokens": ["Gets", "a", "single", "command", "-", "line", "option", ".", "Returns", "TRUE", "if", "the", "option", "exists", "but", "doesn", "t", "have", "a", "value", "and", "is", "simply", "acting", "as", "a", "flag", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L804-L816", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/CLI/CLI.php", "func_name": "CLI.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a well formatted table\n\n@param array $tbody List of rows\n@param array $thead List of columns\n\n@return void", "docstring_tokens": ["Returns", "a", "well", "formatted", "table"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/CLI/CLI.php#L872-L964", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.respond", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides a single, simple method to return an API response, formatted\nto match the requested format, with proper content-type and status code.\n\n@param array|string|null $data\n@param integer $status\n@param string $message\n\n@return mixed", "docstring_tokens": ["Provides", "a", "single", "simple", "method", "to", "return", "an", "API", "response", "formatted", "to", "match", "the", "requested", "format", "with", "proper", "content", "-", "type", "and", "status", "code", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L106-L128", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.fail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used for generic failures that no custom methods exist for.\n\n@param string|array $messages\n@param integer|null $status HTTP status code\n@param string|null $code Custom, API-specific, error code\n@param string $customMessage\n\n@return mixed", "docstring_tokens": ["Used", "for", "generic", "failures", "that", "no", "custom", "methods", "exist", "for", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L142-L156", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.respondCreated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used after successfully creating a new resource.\n\n@param mixed $data Data.\n@param string $message Message.\n\n@return mixed", "docstring_tokens": ["Used", "after", "successfully", "creating", "a", "new", "resource", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L171-L174", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.respondDeleted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used after a resource has been successfully deleted.\n\n@param mixed $data Data.\n@param string $message Message.\n\n@return mixed", "docstring_tokens": ["Used", "after", "a", "resource", "has", "been", "successfully", "deleted", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L186-L189", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.failUnauthorized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used when the client is either didn't send authorization information,\nor had bad authorization credentials. User is encouraged to try again\nwith the proper information.\n\n@param string $description\n@param string $code\n@param string $message\n\n@return mixed", "docstring_tokens": ["Used", "when", "the", "client", "is", "either", "didn", "t", "send", "authorization", "information", "or", "had", "bad", "authorization", "credentials", ".", "User", "is", "encouraged", "to", "try", "again", "with", "the", "proper", "information", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L204-L207", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/API/ResponseTrait.php", "func_name": "ResponseTrait.failServerError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used when there is a server error.\n\n@param string $description The error message to show the user.\n@param string|null $code A custom, API-specific, error code.\n@param string $message A custom \"reason\" message to return.\n\n@return Response The value of the Response's send() method.", "docstring_tokens": ["Used", "when", "there", "is", "a", "server", "error", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/API/ResponseTrait.php#L319-L322", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Filters/CSRF.php", "func_name": "CSRF.before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do whatever processing this filter needs to do.\nBy default it should not return anything during\nnormal execution. However, when an abnormal state\nis found, it should return an instance of\nCodeIgniter\\HTTP\\Response. If it does, script\nexecution will end and that Response will be\nsent back to the client, allowing for error pages,\nredirects, etc.\n\n@param RequestInterface|\\CodeIgniter\\HTTP\\IncomingRequest $request\n\n@return mixed", "docstring_tokens": ["Do", "whatever", "processing", "this", "filter", "needs", "to", "do", ".", "By", "default", "it", "should", "not", "return", "anything", "during", "normal", "execution", ".", "However", "when", "an", "abnormal", "state", "is", "found", "it", "should", "return", "an", "instance", "of", "CodeIgniter", "\\", "HTTP", "\\", "Response", ".", "If", "it", "does", "script", "execution", "will", "end", "and", "that", "Response", "will", "be", "sent", "back", "to", "the", "client", "allowing", "for", "error", "pages", "redirects", "etc", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Filters/CSRF.php#L73-L95", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Events/Events.php", "func_name": "Events.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that we have a events file ready.", "docstring_tokens": ["Ensures", "that", "we", "have", "a", "events", "file", "ready", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Events/Events.php#L96-L125", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Events/Events.php", "func_name": "Events.listeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of listeners for a single event. They are\nsorted by priority.\n\nIf the listener could not be found, returns FALSE, or TRUE if\nit was removed.\n\n@param $event_name\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "listeners", "for", "a", "single", "event", ".", "They", "are", "sorted", "by", "priority", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Events/Events.php#L220-L238", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Events/Events.php", "func_name": "Events.removeListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a single listener from an event.\n\nIf the listener couldn't be found, returns FALSE, else TRUE if\nit was removed.\n\n@param $event_name\n@param callable $listener\n\n@return boolean", "docstring_tokens": ["Removes", "a", "single", "listener", "from", "an", "event", "."], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Events/Events.php#L253-L272", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/UserAgent.php", "func_name": "UserAgent.isReferral", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is this a referral from another site?\n\n@return boolean", "docstring_tokens": ["Is", "this", "a", "referral", "from", "another", "site?"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/UserAgent.php#L233-L251", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/UserAgent.php", "func_name": "UserAgent.setPlatform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Platform\n\n@return boolean", "docstring_tokens": ["Set", "the", "Platform"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/UserAgent.php#L391-L409", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/UserAgent.php", "func_name": "UserAgent.setBrowser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Browser\n\n@return boolean", "docstring_tokens": ["Set", "the", "Browser"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/UserAgent.php#L418-L437", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/UserAgent.php", "func_name": "UserAgent.setRobot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Robot\n\n@return boolean", "docstring_tokens": ["Set", "the", "Robot"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/UserAgent.php#L446-L464", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/HTTP/UserAgent.php", "func_name": "UserAgent.setMobile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Mobile Device\n\n@return boolean", "docstring_tokens": ["Set", "the", "Mobile", "Device"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/HTTP/UserAgent.php#L473-L490", "partition": "test"} +{"repo": "codeigniter4/CodeIgniter4", "path": "system/Database/Postgre/Forge.php", "func_name": "Forge._attributeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Field attribute TYPE\n\nPerforms a data type mapping between different databases.\n\n@param array &$attributes\n\n@return void", "docstring_tokens": ["Field", "attribute", "TYPE"], "sha": "a31039291ff627150b0e3304d191b2a51b16271d", "url": "https://github.com/codeigniter4/CodeIgniter4/blob/a31039291ff627150b0e3304d191b2a51b16271d/system/Database/Postgre/Forge.php#L182-L206", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Foundation/Kernel.php", "func_name": "Kernel.initializeConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "initialize config.", "docstring_tokens": ["initialize", "config", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Foundation/Kernel.php#L78-L87", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Console/QrCode.php", "func_name": "QrCode.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "show qrCode on console.\n\n@param $text\n\n@return bool", "docstring_tokens": ["show", "qrCode", "on", "console", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Console/QrCode.php#L19-L43", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Console/QrCode.php", "func_name": "QrCode.initQrcodeStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "init qrCode style.\n\n@param OutputInterface $output", "docstring_tokens": ["init", "qrCode", "style", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Console/QrCode.php#L50-L56", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Support/Content.php", "func_name": "Content.formatContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "format XML for Content.\n\n@param $content\n\n@return string", "docstring_tokens": ["format", "XML", "for", "Content", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Support/Content.php#L37-L43", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/MessageHandler.php", "func_name": "MessageHandler.heartbeat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "make a heartbeat every 30 minutes.\n\n@param $time\n\n@return int", "docstring_tokens": ["make", "a", "heartbeat", "every", "30", "minutes", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/MessageHandler.php#L63-L72", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/MessageHandler.php", "func_name": "MessageHandler.handleCheckSync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "handle a sync from wechat.\n\n@param $retCode\n@param $selector\n@param bool $test\n\n@return bool", "docstring_tokens": ["handle", "a", "sync", "from", "wechat", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/MessageHandler.php#L88-L105", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/MessageHandler.php", "func_name": "MessageHandler.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "log the message.\n\n@param $message", "docstring_tokens": ["log", "the", "message", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/MessageHandler.php#L143-L148", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.getUuid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get uuid.\n\n@throws \\Exception", "docstring_tokens": ["get", "uuid", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L101-L117", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.showQrCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "show a login qrCode.", "docstring_tokens": ["show", "a", "login", "qrCode", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L122-L129", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.waitForLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "waiting user to login.\n\n@throws \\Exception", "docstring_tokens": ["waiting", "user", "to", "login", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L136-L181", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.getLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "login wechat.\n\n@throws \\Exception", "docstring_tokens": ["login", "wechat", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L188-L213", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.saveServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "store config to cache.", "docstring_tokens": ["store", "config", "to", "cache", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L218-L221", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.beforeInitSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "before init success.", "docstring_tokens": ["before", "init", "success", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L259-L263", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.afterInitSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "after init success.\n\n@param $content", "docstring_tokens": ["after", "init", "success", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L270-L276", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Server.php", "func_name": "Server.statusNotify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "open wechat status notify.", "docstring_tokens": ["open", "wechat", "status", "notify", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Server.php#L293-L304", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Message/Traits/Multimedia.php", "func_name": "Multimedia.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "download multimedia.\n\n@param $message\n@param null $callback\n\n@throws ArgumentException\n\n@return bool", "docstring_tokens": ["download", "multimedia", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Message/Traits/Multimedia.php#L24-L39", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Message/Traits/Multimedia.php", "func_name": "Multimedia.getResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a resource through api.\n\n@param $message\n\n@return mixed", "docstring_tokens": ["get", "a", "resource", "through", "api", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Message/Traits/Multimedia.php#L48-L59", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Message/Traits/Multimedia.php", "func_name": "Multimedia.autoDownload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "download resource to a default path.\n\n@param $message\n@param bool $force", "docstring_tokens": ["download", "resource", "to", "a", "default", "path", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Message/Traits/Multimedia.php#L79-L91", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Sync.php", "func_name": "Sync.checkSync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check if got a new message.\n\n@return array|bool", "docstring_tokens": ["check", "if", "got", "a", "new", "message", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Sync.php#L31-L51", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Sync.php", "func_name": "Sync.sync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a message.\n\n@throws WebSyncException\n\n@return mixed|string", "docstring_tokens": ["get", "a", "message", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Sync.php#L60-L79", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/Sync.php", "func_name": "Sync.generateSyncKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generate a sync key.\n\n@param $result", "docstring_tokens": ["generate", "a", "sync", "key", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/Sync.php#L86-L99", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Console/Console.php", "func_name": "Console.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print in terminal.\n\n@param $str\n@param string $level\n@param bool $log", "docstring_tokens": ["print", "in", "terminal", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Console/Console.php#L52-L60", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Console/Console.php", "func_name": "Console.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print message.\n\n@param $str", "docstring_tokens": ["print", "message", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Console/Console.php#L67-L72", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Message/Text.php", "func_name": "Text.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "send a text message.\n\n@param $word string\n@param $username string\n\n@return bool|mixed", "docstring_tokens": ["send", "a", "text", "message", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Message/Text.php#L61-L75", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/ContactFactory.php", "func_name": "ContactFactory.fetchAllContacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "fetch all contacts through api.\n\n@param $seq", "docstring_tokens": ["fetch", "all", "contacts", "through", "api", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/ContactFactory.php#L48-L66", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/ContactFactory.php", "func_name": "ContactFactory.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create and save contacts to collections.\n\n@param $memberList", "docstring_tokens": ["create", "and", "save", "contacts", "to", "collections", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/ContactFactory.php#L73-L86", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/ContactFactory.php", "func_name": "ContactFactory.fetchGroupMembers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "fetch group members.", "docstring_tokens": ["fetch", "group", "members", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/ContactFactory.php#L91-L109", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Core/ContactFactory.php", "func_name": "ContactFactory.storeMembers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "store group members.\n\n@param $array", "docstring_tokens": ["store", "group", "members", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Core/ContactFactory.php#L116-L129", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Foundation/ExceptionHandler.php", "func_name": "ExceptionHandler.report", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "report while exception.\n\n@param Exception $e\n\n@throws Exception\n\n@return bool", "docstring_tokens": ["report", "while", "exception", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Foundation/ExceptionHandler.php#L58-L67", "partition": "test"} +{"repo": "Hanson/vbot", "path": "src/Foundation/ExceptionHandler.php", "func_name": "ExceptionHandler.throwFatalException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exception that make vbot couldn 't work.\n\n@param Throwable $e\n\n@throws Throwable", "docstring_tokens": ["Exception", "that", "make", "vbot", "couldn", "t", "work", "."], "sha": "6ad88348b28831c2cb18b92f52f807873da0abc7", "url": "https://github.com/Hanson/vbot/blob/6ad88348b28831c2cb18b92f52f807873da0abc7/src/Foundation/ExceptionHandler.php#L147-L154", "partition": "test"} +{"repo": "lcobucci/jwt", "path": "src/Signer/OpenSSL.php", "func_name": "OpenSSL.validateKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Raises an exception when the key type is not the expected type\n\n@param resource|bool $key\n\n@throws InvalidArgumentException", "docstring_tokens": ["Raises", "an", "exception", "when", "the", "key", "type", "is", "not", "the", "expected", "type"], "sha": "487d0296cb89d11c023ccacc294f86802cf7bde0", "url": "https://github.com/lcobucci/jwt/blob/487d0296cb89d11c023ccacc294f86802cf7bde0/src/Signer/OpenSSL.php#L86-L100", "partition": "test"} +{"repo": "lcobucci/jwt", "path": "src/Token/Parser.php", "func_name": "Parser.splitJwt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits the JWT string into an array\n\n@return string[]\n\n@throws InvalidArgumentException When JWT doesn't have all parts.", "docstring_tokens": ["Splits", "the", "JWT", "string", "into", "an", "array"], "sha": "487d0296cb89d11c023ccacc294f86802cf7bde0", "url": "https://github.com/lcobucci/jwt/blob/487d0296cb89d11c023ccacc294f86802cf7bde0/src/Token/Parser.php#L53-L62", "partition": "test"} +{"repo": "lcobucci/jwt", "path": "src/Token/Parser.php", "func_name": "Parser.parseHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the header from a string\n\n@return mixed[]\n\n@throws InvalidArgumentException When an invalid header is informed.", "docstring_tokens": ["Parses", "the", "header", "from", "a", "string"], "sha": "487d0296cb89d11c023ccacc294f86802cf7bde0", "url": "https://github.com/lcobucci/jwt/blob/487d0296cb89d11c023ccacc294f86802cf7bde0/src/Token/Parser.php#L71-L88", "partition": "test"} +{"repo": "lcobucci/jwt", "path": "src/Token/Parser.php", "func_name": "Parser.parseClaims", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the claim set from a string\n\n@return mixed[]\n\n@throws InvalidArgumentException When an invalid claim set is informed.", "docstring_tokens": ["Parses", "the", "claim", "set", "from", "a", "string"], "sha": "487d0296cb89d11c023ccacc294f86802cf7bde0", "url": "https://github.com/lcobucci/jwt/blob/487d0296cb89d11c023ccacc294f86802cf7bde0/src/Token/Parser.php#L97-L114", "partition": "test"} +{"repo": "lcobucci/jwt", "path": "src/Token/Parser.php", "func_name": "Parser.parseSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the signature from given data\n\n@param mixed[] $header", "docstring_tokens": ["Returns", "the", "signature", "from", "given", "data"], "sha": "487d0296cb89d11c023ccacc294f86802cf7bde0", "url": "https://github.com/lcobucci/jwt/blob/487d0296cb89d11c023ccacc294f86802cf7bde0/src/Token/Parser.php#L136-L145", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LanguageNegotiator.php", "func_name": "LanguageNegotiator.negotiateLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Negotiates language with the user's browser through the Accept-Language\nHTTP header or the user's host address. Language codes are generally in\nthe form \"ll\" for a language spoken in only one country, or \"ll-CC\" for a\nlanguage spoken in a particular country. For example, U.S. English is\n\"en-US\", while British English is \"en-UK\". Portuguese as spoken in\nPortugal is \"pt-PT\", while Brazilian Portuguese is \"pt-BR\".\n\nThis function is based on negotiateLanguage from Pear HTTP2\nhttp://pear.php.net/package/HTTP2/\n\nQuality factors in the Accept-Language: header are supported, e.g.:\nAccept-Language: en-UK;q=0.7, en-US;q=0.6, no, dk;q=0.8\n\n@return string The negotiated language result or app.locale.", "docstring_tokens": ["Negotiates", "language", "with", "the", "user", "s", "browser", "through", "the", "Accept", "-", "Language", "HTTP", "header", "or", "the", "user", "s", "host", "address", ".", "Language", "codes", "are", "generally", "in", "the", "form", "ll", "for", "a", "language", "spoken", "in", "only", "one", "country", "or", "ll", "-", "CC", "for", "a", "language", "spoken", "in", "a", "particular", "country", ".", "For", "example", "U", ".", "S", ".", "English", "is", "en", "-", "US", "while", "British", "English", "is", "en", "-", "UK", ".", "Portuguese", "as", "spoken", "in", "Portugal", "is", "pt", "-", "PT", "while", "Brazilian", "Portuguese", "is", "pt", "-", "BR", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LanguageNegotiator.php#L98-L145", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LanguageNegotiator.php", "func_name": "LanguageNegotiator.getMatchesFromAcceptedLanguages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all the accepted languages from the browser.\n\n@return array Matches from the header field Accept-Languages", "docstring_tokens": ["Return", "all", "the", "accepted", "languages", "from", "the", "browser", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LanguageNegotiator.php#L152-L200", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php", "func_name": "RouteTranslationsCacheCommand.cacheRoutesPerLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache the routes separately for each locale.", "docstring_tokens": ["Cache", "the", "routes", "separately", "for", "each", "locale", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php#L60-L85", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php", "func_name": "RouteTranslationsCacheCommand.buildRouteCacheFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the route cache file.\n\n@param \\Illuminate\\Routing\\RouteCollection $routes\n@return string\n@throws \\Illuminate\\Contracts\\Filesystem\\FileNotFoundException", "docstring_tokens": ["Build", "the", "route", "cache", "file", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/Commands/RouteTranslationsCacheCommand.php#L122-L146", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php", "func_name": "LaravelLocalizationServiceProvider.registerBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers app bindings and aliases.", "docstring_tokens": ["Registers", "app", "bindings", "and", "aliases", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php#L52-L59", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php", "func_name": "LaravelLocalizationServiceProvider.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers route caching commands.", "docstring_tokens": ["Registers", "route", "caching", "commands", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalizationServiceProvider.php#L64-L75", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set and return current locale.\n\n@param string $locale Locale to set the App to (optional)\n\n@return string Returns locale (if route has any) or null (if route does not have a locale)", "docstring_tokens": ["Set", "and", "return", "current", "locale", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L147-L194", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getURLFromRouteNameTranslated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an URL adapted to the route name and the locale given.\n\n\n@param string|bool $locale Locale to adapt\n@param string $transKeyName Translation key name of the url to adapt\n@param array $attributes Attributes for the route (only needed if transKeyName needs them)\n@param bool $forceDefaultLocation Force to show default location even hideDefaultLocaleInURL set as TRUE\n\n@throws SupportedLocalesNotDefined\n@throws UnsupportedLocaleException\n\n@return string|false URL translated", "docstring_tokens": ["Returns", "an", "URL", "adapted", "to", "the", "route", "name", "and", "the", "locale", "given", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L345-L373", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getSupportedLocales", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of all supported Locales.\n\n@throws SupportedLocalesNotDefined\n\n@return array", "docstring_tokens": ["Return", "an", "array", "of", "all", "supported", "Locales", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L405-L420", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getLocalesOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of all supported Locales but in the order the user\nhas specified in the config file. Useful for the language selector.\n\n@return array", "docstring_tokens": ["Return", "an", "array", "of", "all", "supported", "Locales", "but", "in", "the", "order", "the", "user", "has", "specified", "in", "the", "config", "file", ".", "Useful", "for", "the", "language", "selector", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L428-L441", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getCurrentLocaleDirection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current locale direction.\n\n@return string current locale direction", "docstring_tokens": ["Returns", "current", "locale", "direction", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L468-L485", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getCurrentLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current language.\n\n@return string current language", "docstring_tokens": ["Returns", "current", "language", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L512-L526", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getCurrentLocaleRegional", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current regional.\n\n@return string current regional", "docstring_tokens": ["Returns", "current", "regional", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L533-L542", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.checkLocaleInSupportedLocales", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if Locale exists on the supported locales array.\n\n@param string|bool $locale string|bool Locale to be checked\n\n@throws SupportedLocalesNotDefined\n\n@return bool is the locale supported?", "docstring_tokens": ["Check", "if", "Locale", "exists", "on", "the", "supported", "locales", "array", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L563-L571", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.getRouteNameFromAPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the translation key for a given path.\n\n@param string $path Path to get the key translated\n\n@return string|false Key for translation, false if not exist", "docstring_tokens": ["Returns", "the", "translation", "key", "for", "a", "given", "path", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L639-L653", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.findTranslatedRouteByPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the translated route for the path and the url given.\n\n@param string $path Path to check if it is a translated route\n@param string $url_locale Language to check if the path exists\n\n@return string|false Key for translation, false if not exist", "docstring_tokens": ["Returns", "the", "translated", "route", "for", "the", "path", "and", "the", "url", "given", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L663-L673", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.findTranslatedRouteByUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the translated route for an url and the attributes given and a locale.\n\n\n@param string|false|null $url Url to check if it is a translated route\n@param array $attributes Attributes to check if the url exists in the translated routes array\n@param string $locale Language to check if the url exists\n\n@throws SupportedLocalesNotDefined\n@throws UnsupportedLocaleException\n\n@return string|false Key for translation, false if not exist", "docstring_tokens": ["Returns", "the", "translated", "route", "for", "an", "url", "and", "the", "attributes", "given", "and", "a", "locale", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L688-L711", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.createUrlFromUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an url from the uri.\n\n@param string $uri Uri\n\n@return string Url for the given uri", "docstring_tokens": ["Create", "an", "url", "from", "the", "uri", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L767-L776", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/LaravelLocalization.php", "func_name": "LaravelLocalization.normalizeAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize attributes gotten from request parameters.\n\n@param array $attributes The attributes\n@return array The normalized attributes", "docstring_tokens": ["Normalize", "attributes", "gotten", "from", "request", "parameters", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/LaravelLocalization.php#L963-L970", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php", "func_name": "LoadsTranslatedCachedRoutes.loadCachedRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the cached routes for the application.\n\n@return void", "docstring_tokens": ["Load", "the", "cached", "routes", "for", "the", "application", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php#L21-L48", "partition": "test"} +{"repo": "mcamara/laravel-localization", "path": "src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php", "func_name": "LoadsTranslatedCachedRoutes.makeLocaleRoutesPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the path to the cached routes file for a given locale.\n\n@param string $locale\n@param string[] $localeKeys\n@return string", "docstring_tokens": ["Returns", "the", "path", "to", "the", "cached", "routes", "file", "for", "a", "given", "locale", "."], "sha": "cf89d2515d576292e65bfa5893a0efd1cc5a4064", "url": "https://github.com/mcamara/laravel-localization/blob/cf89d2515d576292e65bfa5893a0efd1cc5a4064/src/Mcamara/LaravelLocalization/Traits/LoadsTranslatedCachedRoutes.php#L57-L67", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Produce.php", "func_name": "Produce.encodeMessageSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "encode message set\nN.B., MessageSets are not preceded by an int32 like other array elements\nin the protocol.\n\n@param string[]|string[][] $messages\n\n@throws NotSupported", "docstring_tokens": ["encode", "message", "set", "N", ".", "B", ".", "MessageSets", "are", "not", "preceded", "by", "an", "int32", "like", "other", "array", "elements", "in", "the", "protocol", "."], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Produce.php#L96-L116", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Produce.php", "func_name": "Produce.encodeProducePartition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "encode signal part\n\n@param mixed[] $values\n\n@throws NotSupported\n@throws ProtocolException", "docstring_tokens": ["encode", "signal", "part"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Produce.php#L201-L218", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Produce.php", "func_name": "Produce.encodeProduceTopic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "encode signal topic\n\n@param mixed[] $values\n\n@throws NotSupported\n@throws ProtocolException", "docstring_tokens": ["encode", "signal", "topic"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Produce.php#L228-L242", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Produce.php", "func_name": "Produce.produceTopicPair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "decode produce topic pair response\n\n@return mixed[]\n\n@throws ProtocolException", "docstring_tokens": ["decode", "produce", "topic", "pair", "response"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Produce.php#L251-L266", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Produce.php", "func_name": "Produce.producePartitionPair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "decode produce partition pair response\n\n@return mixed[]\n\n@throws ProtocolException", "docstring_tokens": ["decode", "produce", "partition", "pair", "response"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Produce.php#L275-L300", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Fetch.php", "func_name": "Fetch.decodeMessageSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "decode message set\nN.B., MessageSets are not preceded by an int32 like other array elements\nin the protocol.\n\n@return mixed[]|null", "docstring_tokens": ["decode", "message", "set", "N", ".", "B", ".", "MessageSets", "are", "not", "preceded", "by", "an", "int32", "like", "other", "array", "elements", "in", "the", "protocol", "."], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Fetch.php#L182-L209", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Fetch.php", "func_name": "Fetch.decodeMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "decode message\nN.B., MessageSets are not preceded by an int32 like other array elements\nin the protocol.\n\n@return mixed[]|null", "docstring_tokens": ["decode", "message", "N", ".", "B", ".", "MessageSets", "are", "not", "preceded", "by", "an", "int32", "like", "other", "array", "elements", "in", "the", "protocol", "."], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Fetch.php#L218-L275", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/CommonSocket.php", "func_name": "CommonSocket.createSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encapsulation of stream_socket_client\n\nBecause `stream_socket_client` in stream wrapper mock no effect, if don't create this function will never be testable\n\n@codeCoverageIgnore\n\n@param resource $context\n\n@return resource", "docstring_tokens": ["Encapsulation", "of", "stream_socket_client"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/CommonSocket.php#L181-L191", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/CommonSocket.php", "func_name": "CommonSocket.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encapsulation of stream_select\n\nBecause `stream_select` in stream wrapper mock no effect, if don't create this function will never be testable\n\n@codeCoverageIgnore\n\n@param resource[] $sockets\n\n@return int|bool", "docstring_tokens": ["Encapsulation", "of", "stream_select"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/CommonSocket.php#L212-L221", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Protocol.php", "func_name": "Protocol.unpack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unpack a bit integer as big endian long\n\n@return mixed\n@throws ProtocolException", "docstring_tokens": ["Unpack", "a", "bit", "integer", "as", "big", "endian", "long"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Protocol.php#L160-L183", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Protocol.php", "func_name": "Protocol.checkLen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check unpack bit is valid\n\n@throws ProtocolException", "docstring_tokens": ["check", "unpack", "bit", "is", "valid"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Protocol.php#L213-L240", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Protocol.php", "func_name": "Protocol.isSystemLittleEndian", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the computer currently running this code is big endian or little endian.", "docstring_tokens": ["Determines", "if", "the", "computer", "currently", "running", "this", "code", "is", "big", "endian", "or", "little", "endian", "."], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Protocol.php#L245-L255", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Protocol.php", "func_name": "Protocol.getApiVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get kafka api version according to specify kafka broker version", "docstring_tokens": ["Get", "kafka", "api", "version", "according", "to", "specify", "kafka", "broker", "version"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Protocol.php#L284-L355", "partition": "test"} +{"repo": "weiboad/kafka-php", "path": "src/Protocol/Protocol.php", "func_name": "Protocol.getApiText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get kafka api text", "docstring_tokens": ["Get", "kafka", "api", "text"], "sha": "a8f5b01d9ca24c183b121d624e3402bf8aa70488", "url": "https://github.com/weiboad/kafka-php/blob/a8f5b01d9ca24c183b121d624e3402bf8aa70488/src/Protocol/Protocol.php#L360-L381", "partition": "test"} +{"repo": "bramus/router", "path": "src/Bramus/Router/Router.php", "func_name": "Router.before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a before middleware route and a handling function to be executed when accessed using one of the specified methods.\n\n@param string $methods Allowed methods, | delimited\n@param string $pattern A route pattern such as /about/system\n@param object|callable $fn The handling function to be executed", "docstring_tokens": ["Store", "a", "before", "middleware", "route", "and", "a", "handling", "function", "to", "be", "executed", "when", "accessed", "using", "one", "of", "the", "specified", "methods", "."], "sha": "60926db086b797c77081ea1165d1f590464adf13", "url": "https://github.com/bramus/router/blob/60926db086b797c77081ea1165d1f590464adf13/src/Bramus/Router/Router.php#L57-L68", "partition": "test"} +{"repo": "bramus/router", "path": "src/Bramus/Router/Router.php", "func_name": "Router.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a route and a handling function to be executed when accessed using one of the specified methods.\n\n@param string $methods Allowed methods, | delimited\n@param string $pattern A route pattern such as /about/system\n@param object|callable $fn The handling function to be executed", "docstring_tokens": ["Store", "a", "route", "and", "a", "handling", "function", "to", "be", "executed", "when", "accessed", "using", "one", "of", "the", "specified", "methods", "."], "sha": "60926db086b797c77081ea1165d1f590464adf13", "url": "https://github.com/bramus/router/blob/60926db086b797c77081ea1165d1f590464adf13/src/Bramus/Router/Router.php#L77-L88", "partition": "test"} +{"repo": "bramus/router", "path": "src/Bramus/Router/Router.php", "func_name": "Router.mount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mounts a collection of callbacks onto a base route.\n\n@param string $baseRoute The route sub pattern to mount the callbacks on\n@param callable $fn The callback method", "docstring_tokens": ["Mounts", "a", "collection", "of", "callbacks", "onto", "a", "base", "route", "."], "sha": "60926db086b797c77081ea1165d1f590464adf13", "url": "https://github.com/bramus/router/blob/60926db086b797c77081ea1165d1f590464adf13/src/Bramus/Router/Router.php#L173-L186", "partition": "test"} +{"repo": "bramus/router", "path": "src/Bramus/Router/Router.php", "func_name": "Router.getRequestMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the request method used, taking overrides into account.\n\n@return string The Request method to handle", "docstring_tokens": ["Get", "the", "request", "method", "used", "taking", "overrides", "into", "account", "."], "sha": "60926db086b797c77081ea1165d1f590464adf13", "url": "https://github.com/bramus/router/blob/60926db086b797c77081ea1165d1f590464adf13/src/Bramus/Router/Router.php#L222-L243", "partition": "test"} +{"repo": "bramus/router", "path": "src/Bramus/Router/Router.php", "func_name": "Router.getBasePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return server base Path, and define it if isn't defined.\n\n@return string", "docstring_tokens": ["Return", "server", "base", "Path", "and", "define", "it", "if", "isn", "t", "defined", "."], "sha": "60926db086b797c77081ea1165d1f590464adf13", "url": "https://github.com/bramus/router/blob/60926db086b797c77081ea1165d1f590464adf13/src/Bramus/Router/Router.php#L426-L434", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Router.php", "func_name": "Router.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maps a URL pattern to a callback function.\n\n@param string $pattern URL pattern to match\n@param callback $callback Callback function\n@param boolean $pass_route Pass the matching route object to the callback", "docstring_tokens": ["Maps", "a", "URL", "pattern", "to", "a", "callback", "function", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Router.php#L61-L72", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Router.php", "func_name": "Router.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes the current request.\n\n@param Request $request Request object\n@return Route|bool Matching route or false if no match", "docstring_tokens": ["Routes", "the", "current", "request", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Router.php#L80-L90", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Router.php", "func_name": "Router.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the current route.\n\n@return Route", "docstring_tokens": ["Gets", "the", "current", "route", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Router.php#L97-L99", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Route.php", "func_name": "Route.matchUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a URL matches the route pattern. Also parses named parameters in the URL.\n\n@param string $url Requested URL\n@param boolean $case_sensitive Case sensitive matching\n@return boolean Match status", "docstring_tokens": ["Checks", "if", "a", "URL", "matches", "the", "route", "pattern", ".", "Also", "parses", "named", "parameters", "in", "the", "URL", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Route.php#L74-L133", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatches an event.\n\n@param string $name Event name\n@param array $params Callback parameters\n@return string Output of callback\n@throws \\Exception", "docstring_tokens": ["Dispatches", "an", "event", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L40-L57", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an assigned callback.\n\n@param string $name Event name\n@return callback $callback Callback function", "docstring_tokens": ["Gets", "an", "assigned", "callback", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L75-L77", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears an event. If no name is given,\nall events are removed.\n\n@param string $name Event name", "docstring_tokens": ["Clears", "an", "event", ".", "If", "no", "name", "is", "given", "all", "events", "are", "removed", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L95-L104", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a chain of method filters.\n\n@param array $filters Chain of filters\n@param array $params Method parameters\n@param mixed $output Method output\n@throws \\Exception", "docstring_tokens": ["Executes", "a", "chain", "of", "method", "filters", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L125-L131", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a callback function.\n\n@param callback $callback Callback function\n@param array $params Function parameters\n@return mixed Function results\n@throws \\Exception", "docstring_tokens": ["Executes", "a", "callback", "function", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L141-L150", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.callFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls a function.\n\n@param string $func Name of function to call\n@param array $params Function parameters\n@return mixed Function results", "docstring_tokens": ["Calls", "a", "function", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L159-L181", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Dispatcher.php", "func_name": "Dispatcher.invokeMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invokes a method.\n\n@param mixed $func Class method\n@param array $params Class method parameters\n@return mixed Function results", "docstring_tokens": ["Invokes", "a", "method", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Dispatcher.php#L190-L223", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Request.php", "func_name": "Request.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize request properties.\n\n@param array $properties Array of request properties", "docstring_tokens": ["Initialize", "request", "properties", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Request.php#L160-L192", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Request.php", "func_name": "Request.getBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the body of the request.\n\n@return string Raw HTTP request body", "docstring_tokens": ["Gets", "the", "body", "of", "the", "request", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Request.php#L199-L213", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Request.php", "func_name": "Request.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the request method.\n\n@return string", "docstring_tokens": ["Gets", "the", "request", "method", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Request.php#L220-L231", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Request.php", "func_name": "Request.getProxyIpAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the real remote IP address.\n\n@return string IP address", "docstring_tokens": ["Gets", "the", "real", "remote", "IP", "address", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Request.php#L238-L260", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Request.php", "func_name": "Request.parseQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse query parameters from a URL.\n\n@param string $url URL string\n@return array Query parameters", "docstring_tokens": ["Parse", "query", "parameters", "from", "a", "URL", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Request.php#L279-L288", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Response.php", "func_name": "Response.status", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the HTTP status of the response.\n\n@param int $code HTTP status code.\n@return object|int Self reference\n@throws \\Exception If invalid status code", "docstring_tokens": ["Sets", "the", "HTTP", "status", "of", "the", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Response.php#L118-L131", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Response.php", "func_name": "Response.header", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a header to the response.\n\n@param string|array $name Header name or array of names and values\n@param string $value Header value\n@return object Self reference", "docstring_tokens": ["Adds", "a", "header", "to", "the", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Response.php#L140-L151", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Response.php", "func_name": "Response.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets caching headers for the response.\n\n@param int|string $expires Expiration time\n@return object Self reference", "docstring_tokens": ["Sets", "caching", "headers", "for", "the", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Response.php#L192-L211", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/net/Response.php", "func_name": "Response.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a HTTP response.", "docstring_tokens": ["Sends", "a", "HTTP", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/net/Response.php#L285-L297", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the framework.", "docstring_tokens": ["Initializes", "the", "framework", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L109-L158", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Custom error handler. Converts errors into exceptions.\n\n@param int $errno Error number\n@param int $errstr Error string\n@param int $errfile Error file name\n@param int $errline Error file line number\n@throws \\ErrorException", "docstring_tokens": ["Custom", "error", "handler", ".", "Converts", "errors", "into", "exceptions", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L169-L173", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.handleException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Custom exception handler. Logs exceptions.\n\n@param \\Exception $e Thrown exception", "docstring_tokens": ["Custom", "exception", "handler", ".", "Logs", "exceptions", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L180-L186", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maps a callback to a framework method.\n\n@param string $name Method name\n@param callback $callback Callback function\n@throws \\Exception If trying to map over a framework method", "docstring_tokens": ["Maps", "a", "callback", "to", "a", "framework", "method", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L195-L201", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a class to a framework method.\n\n@param string $name Method name\n@param string $class Class name\n@param array $params Class initialization parameters\n@param callback $callback Function to call after object instantiation\n@throws \\Exception If trying to map over a framework method", "docstring_tokens": ["Registers", "a", "class", "to", "a", "framework", "method", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L212-L218", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a variable.\n\n@param string $key Key\n@return mixed", "docstring_tokens": ["Gets", "a", "variable", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L246-L250", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unsets a variable. If no key is passed in, clear all variables.\n\n@param string $key Key", "docstring_tokens": ["Unsets", "a", "variable", ".", "If", "no", "key", "is", "passed", "in", "clear", "all", "variables", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L284-L291", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the framework.\n@throws \\Exception", "docstring_tokens": ["Starts", "the", "framework", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L308-L355", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops the framework and outputs the current response.\n\n@param int $code HTTP status code\n@throws \\Exception", "docstring_tokens": ["Stops", "the", "framework", "and", "outputs", "the", "current", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L363-L375", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes a URL to a callback function.\n\n@param string $pattern URL pattern to match\n@param callback $callback Callback function\n@param boolean $pass_route Pass the matching route object to the callback", "docstring_tokens": ["Routes", "a", "URL", "to", "a", "callback", "function", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L384-L386", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._halt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops processing and returns a given response.\n\n@param int $code HTTP status code\n@param string $message Response message", "docstring_tokens": ["Stops", "processing", "and", "returns", "a", "given", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L394-L401", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends an HTTP 500 response for any errors.\n\n@param \\Exception|\\Throwable $e Thrown exception", "docstring_tokens": ["Sends", "an", "HTTP", "500", "response", "for", "any", "errors", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L408-L429", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the current request to another URL.\n\n@param string $url URL\n@param int $code HTTP status code", "docstring_tokens": ["Redirects", "the", "current", "request", "to", "another", "URL", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L452-L469", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a JSON response.\n\n@param mixed $data JSON data\n@param int $code HTTP status code\n@param bool $encode Whether to perform JSON encoding\n@param string $charset Charset\n@param int $option Bitmask Json constant such as JSON_HEX_QUOT\n@throws \\Exception", "docstring_tokens": ["Sends", "a", "JSON", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L498-L512", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._jsonp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a JSONP response.\n\n@param mixed $data JSON data\n@param string $param Query parameter that specifies the callback name.\n@param int $code HTTP status code\n@param bool $encode Whether to perform JSON encoding\n@param string $charset Charset\n@param int $option Bitmask Json constant such as JSON_HEX_QUOT\n@throws \\Exception", "docstring_tokens": ["Sends", "a", "JSONP", "response", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L525-L542", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._etag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles ETag HTTP caching.\n\n@param string $id ETag identifier\n@param string $type ETag type", "docstring_tokens": ["Handles", "ETag", "HTTP", "caching", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L550-L559", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/Engine.php", "func_name": "Engine._lastModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles last modified HTTP caching.\n\n@param int $time Unix timestamp", "docstring_tokens": ["Handles", "last", "modified", "HTTP", "caching", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/Engine.php#L566-L573", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a class.\n\n@param string $name Registry name\n@param string|callable $class Class name or function to instantiate class\n@param array $params Class initialization parameters\n@param callback $callback Function to call after object instantiation", "docstring_tokens": ["Registers", "a", "class", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L47-L51", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a registered class.\n\n@param string $name Method name\n@param bool $shared Shared instance\n@return object Class instance\n@throws \\Exception", "docstring_tokens": ["Loads", "a", "registered", "class", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L70-L98", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.getInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a single instance of a class.\n\n@param string $name Instance name\n@return object Class instance", "docstring_tokens": ["Gets", "a", "single", "instance", "of", "a", "class", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L106-L108", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.newInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a new instance of a class.\n\n@param string|callable $class Class name or callback function to instantiate class\n@param array $params Class initialization parameters\n@return object Class instance\n@throws \\Exception", "docstring_tokens": ["Gets", "a", "new", "instance", "of", "a", "class", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L118-L144", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.loadClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autoloads classes.\n\n@param string $class Class name", "docstring_tokens": ["Autoloads", "classes", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L188-L198", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/core/Loader.php", "func_name": "Loader.addDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a directory for autoloading classes.\n\n@param mixed $dir Directory path", "docstring_tokens": ["Adds", "a", "directory", "for", "autoloading", "classes", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/core/Loader.php#L205-L214", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/template/View.php", "func_name": "View.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the output of a template.\n\n@param string $file Template file\n@param array $data Template data\n@return string Output of template", "docstring_tokens": ["Gets", "the", "output", "of", "a", "template", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/template/View.php#L135-L142", "partition": "test"} +{"repo": "mikecao/flight", "path": "flight/template/View.php", "func_name": "View.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the full path to a template file.\n\n@param string $file Template file\n@return string Template file location", "docstring_tokens": ["Gets", "the", "full", "path", "to", "a", "template", "file", "."], "sha": "c57ee8cb8d8a4479ce7da28df9538eb8265f67be", "url": "https://github.com/mikecao/flight/blob/c57ee8cb8d8a4479ce7da28df9538eb8265f67be/flight/template/View.php#L160-L172", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/Tree/Operator/CycleDetector.php", "func_name": "CycleDetector.isCyclic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if graph contains cycle\n\nEach node in cycle is flagged with the \"cyclic\" attribute\n\n@param Graph $graph\n@return bool", "docstring_tokens": ["Check", "if", "graph", "contains", "cycle"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/Tree/Operator/CycleDetector.php#L30-L52", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/Tree/Operator/SizeOfTree.php", "func_name": "SizeOfTree.getAverageHeightOfGraph", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get average height of graph\n\n@return float", "docstring_tokens": ["Get", "average", "height", "of", "graph"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/Tree/Operator/SizeOfTree.php#L116-L123", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Application/Config/File/ConfigFileReaderJson.php", "func_name": "ConfigFileReaderJson.collapseArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collapses array into a one-dimensional one by imploding nested keys with '-'\n\n@param array $arr\n\n@return array", "docstring_tokens": ["Collapses", "array", "into", "a", "one", "-", "dimensional", "one", "by", "imploding", "nested", "keys", "with", "-"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Application/Config/File/ConfigFileReaderJson.php#L57-L70", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/File/Finder.php", "func_name": "Finder.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find files in path\n\n@param array $paths\n@return array\n@internal param string $path", "docstring_tokens": ["Find", "files", "in", "path"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/File/Finder.php#L69-L99", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Metric/Class_/Structural/LcomVisitor.php", "func_name": "LcomVisitor.traverse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Traverse node, and return 1 if node has not been visited yet\n\n@param TreeNode $node\n@return int", "docstring_tokens": ["Traverse", "node", "and", "return", "1", "if", "node", "has", "not", "been", "visited", "yet"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Metric/Class_/Structural/LcomVisitor.php#L102-L114", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/Tree/Graph.php", "func_name": "Graph.getRootNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of all root nodes\n\nwe can have array of roots : graph can be a \"forest\"\n\n@return array", "docstring_tokens": ["Get", "the", "list", "of", "all", "root", "nodes"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/Tree/Graph.php#L134-L154", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Metric/System/Packages/Composer/Composer.php", "func_name": "Composer.getComposerLockInstalled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the installed packages from the composer.lock file.\n@param array $rootPackageRequirements List of requirements to match installed packages only with requirements.\n@return array", "docstring_tokens": ["Returns", "the", "installed", "packages", "from", "the", "composer", ".", "lock", "file", "."], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Metric/System/Packages/Composer/Composer.php#L96-L128", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/Output/ProgressBar.php", "func_name": "ProgressBar.advance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Advance progress bar", "docstring_tokens": ["Advance", "progress", "bar"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/Output/ProgressBar.php#L64-L76", "partition": "test"} +{"repo": "phpmetrics/PhpMetrics", "path": "src/Hal/Component/Output/ProgressBar.php", "func_name": "ProgressBar.hasAnsi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detects ANSI support\n\n@return bool", "docstring_tokens": ["Detects", "ANSI", "support"], "sha": "39095017413805cd6d9ada16cfaf8aaffcb2fec4", "url": "https://github.com/phpmetrics/PhpMetrics/blob/39095017413805cd6d9ada16cfaf8aaffcb2fec4/src/Hal/Component/Output/ProgressBar.php#L95-L107", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php", "func_name": "I18nTextDomainFixerSniff.process_no_parameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the function if no parameters were found.\n\n@since 1.2.0\n\n@param int $stackPtr The position of the current token in the stack.\n@param array $group_name The name of the group which was matched.\n@param string $matched_content The token content (function name) which was matched.\n\n@return void", "docstring_tokens": ["Process", "the", "function", "if", "no", "parameters", "were", "found", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Utils/I18nTextDomainFixerSniff.php#L470-L525", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set sniff properties and hand off to child class for processing of the token.\n\n@since 0.11.0\n\n@param \\PHP_CodeSniffer\\Files\\File $phpcsFile The file being scanned.\n@param int $stackPtr The position of the current token\nin the stack passed in $tokens.\n\n@return int|void Integer stack pointer to skip forward or void to continue\nnormal file processing.", "docstring_tokens": ["Set", "sniff", "properties", "and", "hand", "off", "to", "child", "class", "for", "processing", "of", "the", "token", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L896-L899", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the class for the current process.\n\nThis method must be called by child classes before using many of the methods\nbelow.\n\n@since 0.4.0\n\n@param \\PHP_CodeSniffer\\Files\\File $phpcsFile The file currently being processed.", "docstring_tokens": ["Initialize", "the", "class", "for", "the", "current", "process", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L923-L926", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.addFixableMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a fixable PHPCS message to the output stack as either a warning or an error.\n\n@since 0.11.0\n\n@param string $message The message.\n@param int $stackPtr The position of the token the message relates to.\n@param bool $is_error Optional. Whether to report the message as an 'error' or 'warning'.\nDefaults to true (error).\n@param string $code Optional error code for the message. Defaults to 'Found'.\n@param array $data Optional input for the data replacements.\n@param int $severity Optional. Severity level. Defaults to 0 which will translate to\nthe PHPCS default severity level.\n@return bool", "docstring_tokens": ["Add", "a", "fixable", "PHPCS", "message", "to", "the", "output", "stack", "as", "either", "a", "warning", "or", "an", "error", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L976-L978", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.merge_custom_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge a pre-set array with a ruleset provided array.\n\n- By default flips custom lists to allow for using `isset()` instead\nof `in_array()`.\n- When `$flip` is true:\n* Presumes the base array is in a `'value' => true` format.\n* Any custom items will be given the value `false` to be able to\ndistinguish them from pre-set (base array) values.\n* Will filter previously added custom items out from the base array\nbefore merging/returning to allow for resetting to the base array.\n\n{@internal Function is static as it doesn't use any of the properties or others\nmethods anyway and this way the `WordPress.NamingConventions.ValidVariableName` sniff\nwhich extends an upstream sniff can also use it.}}\n\n@since 0.11.0\n@since 2.0.0 No longer supports custom array properties which were incorrectly\npassed as a string.\n\n@param array $custom Custom list as provided via a ruleset.\n@param array $base Optional. Base list. Defaults to an empty array.\nExpects `value => true` format when `$flip` is true.\n@param bool $flip Optional. Whether or not to flip the custom list.\nDefaults to true.\n@return array", "docstring_tokens": ["Merge", "a", "pre", "-", "set", "array", "with", "a", "ruleset", "provided", "array", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1073-L1091", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_last_ptr_on_line", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last pointer in a line.\n\n@since 0.4.0\n\n@param integer $stackPtr The position of the current token in the stack passed\nin $tokens.\n\n@return integer Position of the last pointer on that line.", "docstring_tokens": ["Get", "the", "last", "pointer", "in", "a", "line", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1103-L1119", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_assignment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if this variable is being assigned a value.\n\nE.g., $var = 'foo';\n\nAlso handles array assignments to arbitrary depth:\n\n$array['key'][ $foo ][ something() ] = $bar;\n\n@since 0.5.0\n\n@param int $stackPtr The index of the token in the stack. This must point to\neither a T_VARIABLE or T_CLOSE_SQUARE_BRACKET token.\n\n@return bool Whether the token is a variable being assigned a value.", "docstring_tokens": ["Check", "if", "this", "variable", "is", "being", "assigned", "a", "value", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1373-L1412", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_token_namespaced", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a particular token is prefixed with a namespace.\n\n@internal This will give a false positive if the file is not namespaced and the token is prefixed\nwith `namespace\\`.\n\n@since 2.1.0\n\n@param int $stackPtr The index of the token in the stack.\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "particular", "token", "is", "prefixed", "with", "a", "namespace", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1634-L1657", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_only_sanitized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if something is only being sanitized.\n\n@since 0.5.0\n\n@param int $stackPtr The index of the token in the stack.\n\n@return bool Whether the token is only within a sanitization.", "docstring_tokens": ["Check", "if", "something", "is", "only", "being", "sanitized", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1765-L1787", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_safe_casted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if something is being casted to a safe value.\n\n@since 0.5.0\n\n@param int $stackPtr The index of the token in the stack.\n\n@return bool Whether the token being casted.", "docstring_tokens": ["Check", "if", "something", "is", "being", "casted", "to", "a", "safe", "value", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1798-L1814", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_array_access_keys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the index keys of an array variable.\n\nE.g., \"bar\" and \"baz\" in $foo['bar']['baz'].\n\n@since 2.1.0\n\n@param int $stackPtr The index of the variable token in the stack.\n@param bool $all Whether to get all keys or only the first.\nDefaults to `true`(= all).\n\n@return array An array of index keys whose value is being accessed.\nor an empty array if this is not array access.", "docstring_tokens": ["Get", "the", "index", "keys", "of", "an", "array", "variable", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L1963-L2000", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_array_access_key", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the index key of an array variable.\n\nE.g., \"bar\" in $foo['bar'].\n\n@since 0.5.0\n@since 2.1.0 Now uses get_array_access_keys() under the hood.\n\n@param int $stackPtr The index of the token in the stack.\n\n@return string|false The array index key whose value is being accessed.", "docstring_tokens": ["Get", "the", "index", "key", "of", "an", "array", "variable", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2014-L2023", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_comparison", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a variable is being compared to another value.\n\nE.g., $var === 'foo', 1 <= $var, etc.\n\nAlso recognizes `switch ( $var )`.\n\n@since 0.5.0\n@since 2.1.0 Added the $include_coalesce parameter.\n\n@param int $stackPtr The index of this token in the stack.\n@param bool $include_coalesce Optional. Whether or not to regard the null\ncoalesce operator - ?? - as a comparison operator.\nDefaults to true.\nNull coalesce is a special comparison operator in this\nsense as it doesn't compare a variable to whatever is\non the other side of the comparison operator.\n\n@return bool Whether this is a comparison.", "docstring_tokens": ["Check", "whether", "a", "variable", "is", "being", "compared", "to", "another", "value", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2303-L2360", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_in_array_comparison", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a token is inside of an array-value comparison function.\n\n@since 2.1.0\n\n@param int $stackPtr The index of the token in the stack.\n\n@return bool Whether the token is (part of) a parameter to an\narray-value comparison function.", "docstring_tokens": ["Check", "if", "a", "token", "is", "inside", "of", "an", "array", "-", "value", "comparison", "function", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2372-L2388", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_use_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check what type of 'use' statement a token is part of.\n\nThe T_USE token has multiple different uses:\n\n1. In a closure: function () use ( $var ) {}\n2. In a class, to import a trait: use Trait_Name\n3. In a namespace, to import a class: use Some\\Class;\n\nThis function will check the token and return 'closure', 'trait', or 'class',\nbased on which of these uses the use is being used for.\n\n@since 0.7.0\n\n@param int $stackPtr The position of the token to check.\n\n@return string The type of use.", "docstring_tokens": ["Check", "what", "type", "of", "use", "statement", "a", "token", "is", "part", "of", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2408-L2429", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_interpolated_variables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the interpolated variable names from a string.\n\nCheck if '$' is followed by a valid variable name, and that it is not preceded by an escape sequence.\n\n@since 0.9.0\n\n@param string $string The contents of a T_DOUBLE_QUOTED_STRING or T_HEREDOC token.\n\n@return array Variable names (without '$' sigil).", "docstring_tokens": ["Get", "the", "interpolated", "variable", "names", "from", "a", "string", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2442-L2452", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.does_function_call_have_parameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a function call has parameters.\n\nExpects to be passed the T_STRING stack pointer for the function call.\nIf passed a T_STRING which is *not* a function call, the behaviour is unreliable.\n\nExtra feature: If passed an T_ARRAY or T_OPEN_SHORT_ARRAY stack pointer, it\nwill detect whether the array has values or is empty.\n\n@link https://github.com/PHPCompatibility/PHPCompatibility/issues/120\n@link https://github.com/PHPCompatibility/PHPCompatibility/issues/152\n\n@since 0.11.0\n\n@param int $stackPtr The position of the function call token.\n\n@return bool", "docstring_tokens": ["Checks", "if", "a", "function", "call", "has", "parameters", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2491-L2538", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_function_call_parameter_count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the number of parameters a function call has been passed.\n\nExpects to be passed the T_STRING stack pointer for the function call.\nIf passed a T_STRING which is *not* a function call, the behaviour is unreliable.\n\nExtra feature: If passed an T_ARRAY or T_OPEN_SHORT_ARRAY stack pointer,\nit will return the number of values in the array.\n\n@link https://github.com/PHPCompatibility/PHPCompatibility/issues/111\n@link https://github.com/PHPCompatibility/PHPCompatibility/issues/114\n@link https://github.com/PHPCompatibility/PHPCompatibility/issues/151\n\n@since 0.11.0\n\n@param int $stackPtr The position of the function call token.\n\n@return int", "docstring_tokens": ["Count", "the", "number", "of", "parameters", "a", "function", "call", "has", "been", "passed", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2559-L2565", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_function_call_parameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information on a specific parameter passed to a function call.\n\nExpects to be passed the T_STRING stack pointer for the function call.\nIf passed a T_STRING which is *not* a function call, the behaviour is unreliable.\n\nWill return a array with the start token pointer, end token pointer and the raw value\nof the parameter at a specific offset.\nIf the specified parameter is not found, will return false.\n\n@since 0.11.0\n\n@param int $stackPtr The position of the function call token.\n@param int $param_offset The 1-based index position of the parameter to retrieve.\n\n@return array|false", "docstring_tokens": ["Get", "information", "on", "a", "specific", "parameter", "passed", "to", "a", "function", "call", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2697-L2705", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.find_array_open_close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the array opener & closer based on a T_ARRAY or T_OPEN_SHORT_ARRAY token.\n\n@since 0.12.0\n\n@param int $stackPtr The stack pointer to the array token.\n\n@return array|bool Array with two keys `opener`, `closer` or false if\neither or these could not be determined.", "docstring_tokens": ["Find", "the", "array", "opener", "&", "closer", "based", "on", "a", "T_ARRAY", "or", "T_OPEN_SHORT_ARRAY", "token", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2717-L2746", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.determine_namespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the namespace name an arbitrary token lives in.\n\n@since 0.10.0\n@since 0.12.0 Moved from the `AbstractClassRestrictionsSniff` to this class.\n\n@param int $stackPtr The token position for which to determine the namespace.\n\n@return string Namespace name or empty string if it couldn't be determined or no namespace applies.", "docstring_tokens": ["Determine", "the", "namespace", "name", "an", "arbitrary", "token", "lives", "in", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2758-L2809", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.get_declared_namespace_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the complete namespace name for a namespace declaration.\n\nFor hierarchical namespaces, the name will be composed of several tokens,\ni.e. MyProject\\Sub\\Level which will be returned together as one string.\n\n@since 0.12.0 A lesser variant of this method previously existed in the\n`AbstractClassRestrictionsSniff` class.\n\n@param int|bool $stackPtr The position of a T_NAMESPACE token.\n\n@return string|false Namespace name or false if not a namespace declaration.\nNamespace name can be an empty string for global namespace declaration.", "docstring_tokens": ["Get", "the", "complete", "namespace", "name", "for", "a", "namespace", "declaration", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2825-L2864", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_class_constant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a T_CONST token is a class constant declaration.\n\n@since 0.14.0\n\n@param int $stackPtr The position in the stack of the T_CONST token to verify.\n\n@return bool", "docstring_tokens": ["Check", "whether", "a", "T_CONST", "token", "is", "a", "class", "constant", "declaration", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2875-L2888", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.is_class_property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a T_VARIABLE token is a class property declaration.\n\n@since 0.14.0\n\n@param int $stackPtr The position in the stack of the T_VARIABLE token to verify.\n\n@return bool", "docstring_tokens": ["Check", "whether", "a", "T_VARIABLE", "token", "is", "a", "class", "property", "declaration", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2899-L2929", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniff.php", "func_name": "Sniff.valid_direct_scope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether the direct wrapping scope of a token is within a limited set of\nacceptable tokens.\n\nUsed to check, for instance, if a T_CONST is a class constant.\n\n@since 0.14.0\n\n@param int $stackPtr The position in the stack of the token to verify.\n@param array $valid_scopes Array of token types.\nKeys should be the token types in string format\nto allow for newer token types.\nValue is irrelevant.\n\n@return int|bool StackPtr to the scope if valid, false otherwise.", "docstring_tokens": ["Check", "whether", "the", "direct", "wrapping", "scope", "of", "a", "token", "is", "within", "a", "limited", "set", "of", "acceptable", "tokens", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniff.php#L2947-L2967", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php", "func_name": "ValidHookNameSniff.prepare_regex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the punctuation regular expression.\n\nMerges the existing regular expression with potentially provided extra word delimiters to allow.\nThis is done 'late' and for each found token as otherwise inline `phpcs:set` directives\nwould be ignored.\n\n@return string", "docstring_tokens": ["Prepare", "the", "punctuation", "regular", "expression", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php#L171-L178", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php", "func_name": "ValidHookNameSniff.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform an arbitrary string to lowercase and replace punctuation and spaces with underscores.\n\n@param string $string The target string.\n@param string $regex The punctuation regular expression to use.\n@param string $transform_type Whether to a partial or complete transform.\nValid values are: 'full', 'case', 'punctuation'.\n@return string", "docstring_tokens": ["Transform", "an", "arbitrary", "string", "to", "lowercase", "and", "replace", "punctuation", "and", "spaces", "with", "underscores", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php#L189-L202", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php", "func_name": "ValidHookNameSniff.transform_complex_string", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a complex string which may contain variable extrapolation.\n\n@param string $string The target string.\n@param string $regex The punctuation regular expression to use.\n@param string $transform_type Whether to a partial or complete transform.\nValid values are: 'full', 'case', 'punctuation'.\n@return string", "docstring_tokens": ["Transform", "a", "complex", "string", "which", "may", "contain", "variable", "extrapolation", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/ValidHookNameSniff.php#L213-L254", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/DeprecatedClassesSniff.php", "func_name": "DeprecatedClassesSniff.getGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Groups of classes to restrict.\n\n@return array", "docstring_tokens": ["Groups", "of", "classes", "to", "restrict", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/DeprecatedClassesSniff.php#L59-L68", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/DiscouragedConstantsSniff.php", "func_name": "DiscouragedConstantsSniff.process_arbitrary_tstring", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process an arbitrary T_STRING token to determine whether it is one of the target constants.\n\n@since 0.14.0\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return void", "docstring_tokens": ["Process", "an", "arbitrary", "T_STRING", "token", "to", "determine", "whether", "it", "is", "one", "of", "the", "target", "constants", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/DiscouragedConstantsSniff.php#L108-L179", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/DiscouragedConstantsSniff.php", "func_name": "DiscouragedConstantsSniff.process_parameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the parameters of a matched `define` function call.\n\n@since 0.14.0\n\n@param int $stackPtr The position of the current token in the stack.\n@param array $group_name The name of the group which was matched.\n@param string $matched_content The token content (function name) which was matched.\n@param array $parameters Array with information about the parameters.\n\n@return void", "docstring_tokens": ["Process", "the", "parameters", "of", "a", "matched", "define", "function", "call", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/DiscouragedConstantsSniff.php#L193-L215", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/CapitalPDangitSniff.php", "func_name": "CapitalPDangitSniff.retrieve_misspellings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a list of misspellings based on an array of matched variations on the target word.\n\n@param array $match_stack Array of matched variations of the target word.\n@return array Array containing only the misspelled variants.", "docstring_tokens": ["Retrieve", "a", "list", "of", "misspellings", "based", "on", "an", "array", "of", "matched", "variations", "on", "the", "target", "word", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/CapitalPDangitSniff.php#L258-L272", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/PostsPerPageSniff.php", "func_name": "PostsPerPageSniff.callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback to process each confirmed key, to check value.\n\n@param string $key Array index / key.\n@param mixed $val Assigned value.\n@param int $line Token line.\n@param array $group Group definition.\n@return mixed FALSE if no match, TRUE if matches, STRING if matches\nwith custom error message passed to ->process().", "docstring_tokens": ["Callback", "to", "process", "each", "confirmed", "key", "to", "check", "value", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/PostsPerPageSniff.php#L68-L76", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/PHPCSHelper.php", "func_name": "PHPCSHelper.set_config_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass config data to PHPCS.\n\nPHPCS cross-version compatibility helper.\n\n@since 0.13.0\n\n@param string $key The name of the config value.\n@param string|null $value The value to set. If null, the config entry\nis deleted, reverting it to the default value.\n@param boolean $temp Set this config data temporarily for this script run.\nThis will not write the config data to the config file.", "docstring_tokens": ["Pass", "config", "data", "to", "PHPCS", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/PHPCSHelper.php#L53-L55", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/PHPCSHelper.php", "func_name": "PHPCSHelper.get_tab_width", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tab width as passed to PHPCS from the command-line or the ruleset.\n\n@since 0.13.0\n\n@param \\PHP_CodeSniffer\\Files\\File $phpcsFile The file being processed.\n\n@return int Tab width. Defaults to 4.", "docstring_tokens": ["Get", "the", "tab", "width", "as", "passed", "to", "PHPCS", "from", "the", "command", "-", "line", "or", "the", "ruleset", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/PHPCSHelper.php#L79-L87", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php", "func_name": "GlobalVariablesOverrideSniff.process_global_statement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check that global variables imported into a function scope using a global statement\nare not being overruled.\n\n@since 1.1.0 Logic was previously contained in the process_token() method.\n\n@param int $stackPtr The position of the current token in the stack.\n@param bool $in_function_scope Whether the global statement is within a scoped function/closure.\n\n@return void", "docstring_tokens": ["Check", "that", "global", "variables", "imported", "into", "a", "function", "scope", "using", "a", "global", "statement", "are", "not", "being", "overruled", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php#L244-L327", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php", "func_name": "GlobalVariablesOverrideSniff.add_error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the error.\n\n@since 1.1.0\n\n@param int $stackPtr The position of the token to throw the error for.\n@param array $data Optional. Array containing one entry holding the\nname of the variable being overruled.\nDefaults to the 'content' of the $stackPtr token.\n\n@return void", "docstring_tokens": ["Add", "the", "error", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/GlobalVariablesOverrideSniff.php#L358-L369", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractFunctionRestrictionsSniff.php", "func_name": "AbstractFunctionRestrictionsSniff.setup_groups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up the regular expressions for each group.\n\n@since 0.10.0\n\n@param string $key The group array index key where the input for the regular expression can be found.\n@return bool True if the groups were setup. False if not.", "docstring_tokens": ["Set", "up", "the", "regular", "expressions", "for", "each", "group", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractFunctionRestrictionsSniff.php#L137-L173", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractFunctionRestrictionsSniff.php", "func_name": "AbstractFunctionRestrictionsSniff.is_targetted_token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify is the current token is a function call.\n\n@since 0.11.0 Split out from the `process()` method.\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return bool", "docstring_tokens": ["Verify", "is", "the", "current", "token", "is", "a", "function", "call", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractFunctionRestrictionsSniff.php#L213-L244", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractFunctionRestrictionsSniff.php", "func_name": "AbstractFunctionRestrictionsSniff.check_for_matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify if the current token is one of the targetted functions.\n\n@since 0.11.0 Split out from the `process()` method.\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return int|void Integer stack pointer to skip forward or void to continue\nnormal file processing.", "docstring_tokens": ["Verify", "if", "the", "current", "token", "is", "one", "of", "the", "targetted", "functions", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractFunctionRestrictionsSniff.php#L256-L280", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php", "func_name": "PrefixAllGlobalsSniff.process_variable_variable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle variable variables defined in the global namespace.\n\n@since 0.12.0\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return int|void Integer stack pointer to skip forward or void to continue\nnormal file processing.", "docstring_tokens": ["Handle", "variable", "variables", "defined", "in", "the", "global", "namespace", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L480-L569", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php", "func_name": "PrefixAllGlobalsSniff.variable_prefixed_or_whitelisted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a variable name might need a prefix.\n\nPrefix is not needed for:\n- superglobals,\n- WP native globals,\n- variables which are already prefixed.\n\n@since 0.12.0\n@since 1.0.1 Added $stackPtr parameter.\n\n@param int $stackPtr The position of the token to record the metric against.\n@param string $name Variable name without the dollar sign.\n\n@return bool True if the variable name is whitelisted or already prefixed.\nFalse otherwise.", "docstring_tokens": ["Check", "if", "a", "variable", "name", "might", "need", "a", "prefix", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L874-L881", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php", "func_name": "PrefixAllGlobalsSniff.validate_prefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate an array of prefixes as passed through a custom property or via the command line.\n\nChecks that the prefix:\n- is not one of the blacklisted ones.\n- complies with the PHP rules for valid function, class, variable, constant names.\n\n@since 0.12.0", "docstring_tokens": ["Validate", "an", "array", "of", "prefixes", "as", "passed", "through", "a", "custom", "property", "or", "via", "the", "command", "line", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L892-L948", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php", "func_name": "PrefixAllGlobalsSniff.record_potential_prefix_metric", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record the \"potential prefix\" metric.\n\n@since 1.0.1\n\n@param int $stackPtr The position of the token to record the metric against.\n@param string $construct_name Name of the global construct to try and distill a potential prefix from.\n\n@return void", "docstring_tokens": ["Record", "the", "potential", "prefix", "metric", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/PrefixAllGlobalsSniff.php#L960-L966", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractArrayAssignmentRestrictionsSniff.php", "func_name": "AbstractArrayAssignmentRestrictionsSniff.setup_groups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache the groups.\n\n@since 0.13.0\n\n@return bool True if the groups were setup. False if not.", "docstring_tokens": ["Cache", "the", "groups", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractArrayAssignmentRestrictionsSniff.php#L111-L124", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php", "func_name": "MultipleStatementAlignmentSniff.validate_align_multiline_items", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that a valid value has been received for the alignMultilineItems property.\n\nThis message may be thrown more than once if the property is being changed inline in a file.\n\n@since 0.14.0", "docstring_tokens": ["Validate", "that", "a", "valid", "value", "has", "been", "received", "for", "the", "alignMultilineItems", "property", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/MultipleStatementAlignmentSniff.php#L574-L607", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/AlternativeFunctionsSniff.php", "func_name": "AlternativeFunctionsSniff.is_local_data_stream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine based on the \"raw\" parameter value, whether a file parameter points to\na local data stream.\n\n@param string $raw_param_value Raw parameter value.\n\n@return bool True if this is a local data stream. False otherwise.", "docstring_tokens": ["Determine", "based", "on", "the", "raw", "parameter", "value", "whether", "a", "file", "parameter", "points", "to", "a", "local", "data", "stream", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/AlternativeFunctionsSniff.php#L300-L316", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php", "func_name": "ValidVariableNameSniff.processVariableInString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the variable found within a double quoted string.\n\n@param \\PHP_CodeSniffer\\Files\\File $phpcs_file The file being scanned.\n@param int $stack_ptr The position of the double quoted\nstring.\n\n@return void", "docstring_tokens": ["Processes", "the", "variable", "found", "within", "a", "double", "quoted", "string", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php#L233-L263", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php", "func_name": "ValidVariableNameSniff.mergeWhiteList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge a custom whitelist provided via a custom ruleset with the predefined whitelist,\nif we haven't already.\n\n@since 0.10.0\n@since 2.0.0 Removed unused $phpcs_file parameter.\n\n@return void", "docstring_tokens": ["Merge", "a", "custom", "whitelist", "provided", "via", "a", "custom", "ruleset", "with", "the", "predefined", "whitelist", "if", "we", "haven", "t", "already", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/NamingConventions/ValidVariableNameSniff.php#L284-L296", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/ArrayIndentationSniff.php", "func_name": "ArrayIndentationSniff.ignore_token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Should the token be ignored ?\n\nThis method is only intended to be used with the first token on a line\nfor subsequent lines in an multi-line array item.\n\n@param int $ptr Stack pointer to the first token on a line.\n\n@return bool", "docstring_tokens": ["Should", "the", "token", "be", "ignored", "?"], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L404-L434", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/ArrayIndentationSniff.php", "func_name": "ArrayIndentationSniff.get_indentation_size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the line indentation whitespace.\n\n@param int $ptr Stack pointer to an arbitrary token on a line.\n\n@return int Nr of spaces found. Where necessary, tabs are translated to spaces.", "docstring_tokens": ["Determine", "the", "line", "indentation", "whitespace", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L443-L474", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/ArrayIndentationSniff.php", "func_name": "ArrayIndentationSniff.get_indentation_string", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an indentation string.\n\n@param int $nr Number of spaces the indentation should be.\n\n@return string", "docstring_tokens": ["Create", "an", "indentation", "string", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L483-L500", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/ArrayIndentationSniff.php", "func_name": "ArrayIndentationSniff.add_array_alignment_error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw an error and fix incorrect array alignment.\n\n@param int $ptr Stack pointer to the first content on the line.\n@param string $error Error message.\n@param string $error_code Error code.\n@param int $expected Expected nr of spaces (tabs translated to space value).\n@param int $found Found nr of spaces (tabs translated to space value).\n@param string $new_indent Whitespace indent replacement content.", "docstring_tokens": ["Throw", "an", "error", "and", "fix", "incorrect", "array", "alignment", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L512-L518", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/Arrays/ArrayIndentationSniff.php", "func_name": "ArrayIndentationSniff.fix_alignment_error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix incorrect array alignment.\n\n@param int $ptr Stack pointer to the first content on the line.\n@param string $new_indent Whitespace indent replacement content.", "docstring_tokens": ["Fix", "incorrect", "array", "alignment", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/Arrays/ArrayIndentationSniff.php#L526-L532", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/EnqueuedResourceParametersSniff.php", "func_name": "EnqueuedResourceParametersSniff.is_falsy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a range has a falsy value.\n\n@param int $start The position to start looking from.\n@param int $end The position to stop looking (inclusive).\n\n@return bool True if the parameter is falsy.\nFalse if the parameter is not falsy or when it\ncouldn't be reliably determined.", "docstring_tokens": ["Determine", "if", "a", "range", "has", "a", "falsy", "value", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/EnqueuedResourceParametersSniff.php#L191-L222", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/I18nSniff.php", "func_name": "I18nSniff.compare_single_and_plural_arguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for inconsistencies between single and plural arguments.\n\n@param int $stack_ptr The position of the current token in the stack.\n@param array $single_context Single context (@todo needs better description).\n@param array $plural_context Plural context (@todo needs better description).\n@return void", "docstring_tokens": ["Check", "for", "inconsistencies", "between", "single", "and", "plural", "arguments", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/I18nSniff.php#L532-L558", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/WP/I18nSniff.php", "func_name": "I18nSniff.check_text", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the string itself for problems.\n\n@param array $context Context (@todo needs better description).\n@return void", "docstring_tokens": ["Check", "the", "string", "itself", "for", "problems", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/WP/I18nSniff.php#L566-L631", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractClassRestrictionsSniff.php", "func_name": "AbstractClassRestrictionsSniff.is_targetted_token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if we have a valid classname for the target token.\n\n@since 0.11.0 This logic was originally contained in the `process()` method.\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return bool", "docstring_tokens": ["Determine", "if", "we", "have", "a", "valid", "classname", "for", "the", "target", "token", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractClassRestrictionsSniff.php#L116-L159", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractClassRestrictionsSniff.php", "func_name": "AbstractClassRestrictionsSniff.check_for_matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify if the current token is one of the targetted classes.\n\n@since 0.11.0 Split out from the `process()` method.\n\n@param int $stackPtr The position of the current token in the stack.\n\n@return int|void Integer stack pointer to skip forward or void to continue\nnormal file processing.", "docstring_tokens": ["Verify", "if", "the", "current", "token", "is", "one", "of", "the", "targetted", "classes", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractClassRestrictionsSniff.php#L171-L190", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/AbstractClassRestrictionsSniff.php", "func_name": "AbstractClassRestrictionsSniff.get_namespaced_classname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "See if the classname was found in a namespaced file and if so, add the namespace to the classname.\n\n@param string $classname The full classname as found.\n@param int $search_from The token position to search up from.\n@return string Classname, potentially prefixed with the namespace.", "docstring_tokens": ["See", "if", "the", "classname", "was", "found", "in", "a", "namespaced", "file", "and", "if", "so", "add", "the", "namespace", "to", "the", "classname", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/AbstractClassRestrictionsSniff.php#L216-L243", "partition": "test"} +{"repo": "WordPress-Coding-Standards/WordPress-Coding-Standards", "path": "WordPress/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php", "func_name": "AssignmentInConditionSniff.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the tokens that this sniff wants to listen for.\n\n@since 0.14.0\n\n@return array", "docstring_tokens": ["Registers", "the", "tokens", "that", "this", "sniff", "wants", "to", "listen", "for", "."], "sha": "04bfa1284ca652e8e9befe82134f440cc31f655d", "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/04bfa1284ca652e8e9befe82134f440cc31f655d/WordPress/Sniffs/CodeAnalysis/AssignmentInConditionSniff.php#L60-L80", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/closure/Job.php", "func_name": "Job.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserializes and executes a closure.\n@inheritdoc", "docstring_tokens": ["Unserializes", "and", "executes", "a", "closure", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/closure/Job.php#L30-L35", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/sqs/Queue.php", "func_name": "Queue.reserve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a single message from SQS queue and sets the visibility to reserve message.\n\n@param int $timeout number of seconds for long polling. Must be between 0 and 20.\n@return null|array payload.", "docstring_tokens": ["Gets", "a", "single", "message", "from", "SQS", "queue", "and", "sets", "the", "visibility", "to", "reserve", "message", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/sqs/Queue.php#L107-L133", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/amqp_interop/Queue.php", "func_name": "Queue.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes connection and channel.", "docstring_tokens": ["Closes", "connection", "and", "channel", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/amqp_interop/Queue.php#L400-L409", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/gii/Generator.php", "func_name": "Generator.validateNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the namespace.\n\n@param string $attribute Namespace attribute name.", "docstring_tokens": ["Validates", "the", "namespace", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/gii/Generator.php#L153-L161", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/Queue.php", "func_name": "Queue.push", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pushes job into queue.\n\n@param JobInterface|mixed $job\n@return string|null id of a job message", "docstring_tokens": ["Pushes", "job", "into", "queue", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/Queue.php#L154-L200", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/file/Command.php", "func_name": "Command.actionListen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Listens file-queue and runs new jobs.\nIt can be used as daemon process.\n\n@param int $timeout number of seconds to sleep before next reading of the queue.\n@throws Exception when params are invalid.\n@return null|int exit code.", "docstring_tokens": ["Listens", "file", "-", "queue", "and", "runs", "new", "jobs", ".", "It", "can", "be", "used", "as", "daemon", "process", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/file/Command.php#L67-L77", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/Command.php", "func_name": "Command.actionExec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a job.\nThe command is internal, and used to isolate a job execution. Manual usage is not provided.\n\n@param string|null $id of a message\n@param int $ttr time to reserve\n@param int $attempt number\n@param int $pid of a worker\n@return int exit code\n@internal It is used with isolate mode.", "docstring_tokens": ["Executes", "a", "job", ".", "The", "command", "is", "internal", "and", "used", "to", "isolate", "a", "job", "execution", ".", "Manual", "usage", "is", "not", "provided", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/Command.php#L144-L150", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/Command.php", "func_name": "Command.handleMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles message using child process.\n\n@param string|null $id of a message\n@param string $message\n@param int $ttr time to reserve\n@param int $attempt number\n@return bool\n@throws\n@see actionExec()", "docstring_tokens": ["Handles", "message", "using", "child", "process", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/Command.php#L163-L208", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/sync/Queue.php", "func_name": "Queue.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs all jobs from queue.", "docstring_tokens": ["Runs", "all", "jobs", "from", "queue", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/sync/Queue.php#L63-L72", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/db/Queue.php", "func_name": "Queue.reserve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes one message from waiting list and reserves it for handling.\n\n@return array|false payload\n@throws Exception in case it hasn't waited the lock", "docstring_tokens": ["Takes", "one", "message", "from", "waiting", "list", "and", "reserves", "it", "for", "handling", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/db/Queue.php#L174-L213", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/db/Queue.php", "func_name": "Queue.moveExpired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves expired messages into waiting list.", "docstring_tokens": ["Moves", "expired", "messages", "into", "waiting", "list", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/db/Queue.php#L239-L250", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/closure/Behavior.php", "func_name": "Behavior.beforePush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the closure to a job object.\n@param PushEvent $event", "docstring_tokens": ["Converts", "the", "closure", "to", "a", "job", "object", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/closure/Behavior.php#L51-L59", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/redis/Queue.php", "func_name": "Queue.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes message by ID.\n\n@param int $id of a message", "docstring_tokens": ["Deletes", "message", "by", "ID", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/redis/Queue.php#L178-L183", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/Queue.php", "func_name": "Queue.runWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs worker.\n\n@param callable $handler\n@return null|int exit code\n@since 2.0.2", "docstring_tokens": ["Runs", "worker", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/Queue.php#L100-L124", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/Queue.php", "func_name": "Queue.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides public access for `handleMessage`\n\n@param $id string\n@param $message string\n@param $ttr int\n@param $attempt int\n@return bool\n@since 2.0.2", "docstring_tokens": ["Provides", "public", "access", "for", "handleMessage"], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/Queue.php#L160-L163", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/SignalLoop.php", "func_name": "SignalLoop.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets signal handlers.\n\n@inheritdoc", "docstring_tokens": ["Sets", "signal", "handlers", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/SignalLoop.php#L69-L89", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/cli/SignalLoop.php", "func_name": "SignalLoop.canContinue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks signals state.\n\n@inheritdoc", "docstring_tokens": ["Checks", "signals", "state", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/cli/SignalLoop.php#L96-L108", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/file/Queue.php", "func_name": "Queue.reserve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reserves message for execute.\n\n@return array|null payload", "docstring_tokens": ["Reserves", "message", "for", "execute", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/file/Queue.php#L171-L204", "partition": "test"} +{"repo": "yiisoft/yii2-queue", "path": "src/drivers/file/Queue.php", "func_name": "Queue.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes reserved message.\n\n@param array $payload", "docstring_tokens": ["Deletes", "reserved", "message", "."], "sha": "c5e75f9c4a8c38f5abd387165e16945da32b84dc", "url": "https://github.com/yiisoft/yii2-queue/blob/c5e75f9c4a8c38f5abd387165e16945da32b84dc/src/drivers/file/Queue.php#L211-L223", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the entire document.\n\nThis function returns an array with the following three elements:\n* name - The root element name.\n* value - The value for the root element.\n* attributes - An array of attributes.\n\nThis function will also disable the standard libxml error handler (which\nusually just results in PHP errors), and throw exceptions instead.", "docstring_tokens": ["Reads", "the", "entire", "document", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L56-L85", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.parseGetElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parseGetElements parses everything in the current sub-tree,\nand returns a an array of elements.\n\nEach element has a 'name', 'value' and 'attributes' key.\n\nIf the the element didn't contain sub-elements, an empty array is always\nreturned. If there was any text inside the element, it will be\ndiscarded.\n\nIf the $elementMap argument is specified, the existing elementMap will\nbe overridden while parsing the tree, and restored after this process.", "docstring_tokens": ["parseGetElements", "parses", "everything", "in", "the", "current", "sub", "-", "tree", "and", "returns", "a", "an", "array", "of", "elements", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L100-L108", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.parseInnerTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses all elements below the current element.\n\nThis method will return a string if this was a text-node, or an array if\nthere were sub-elements.\n\nIf there's both text and sub-elements, the text will be discarded.\n\nIf the $elementMap argument is specified, the existing elementMap will\nbe overridden while parsing the tree, and restored after this process.\n\n@return array|string|null", "docstring_tokens": ["Parses", "all", "elements", "below", "the", "current", "element", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L123-L188", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.readText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads all text below the current element, and returns this as a string.", "docstring_tokens": ["Reads", "all", "text", "below", "the", "current", "element", "and", "returns", "this", "as", "a", "string", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L193-L205", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.parseCurrentElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the current XML element.\n\nThis method returns arn array with 3 properties:\n* name - A clark-notation XML element name.\n* value - The parsed value.\n* attributes - A key-value list of attributes.", "docstring_tokens": ["Parses", "the", "current", "XML", "element", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L215-L235", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.parseAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Grabs all the attributes from the current element, and returns them as a\nkey-value array.\n\nIf the attributes are part of the same namespace, they will simply be\nshort keys. If they are defined on a different namespace, the attribute\nname will be retured in clark-notation.", "docstring_tokens": ["Grabs", "all", "the", "attributes", "from", "the", "current", "element", "and", "returns", "them", "as", "a", "key", "-", "value", "array", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L245-L265", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Reader.php", "func_name": "Reader.getDeserializerForElementName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the function that should be used to parse the element identified\nby it's clark-notation name.", "docstring_tokens": ["Returns", "the", "function", "that", "should", "be", "used", "to", "parse", "the", "element", "identified", "by", "it", "s", "clark", "-", "notation", "name", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Reader.php#L271-L297", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/ContextStackTrait.php", "func_name": "ContextStackTrait.pushContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new \"context\".\n\nThis allows you to safely modify the elementMap, contextUri or\nnamespaceMap. After you're done, you can restore the old data again\nwith popContext.", "docstring_tokens": ["Create", "a", "new", "context", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/ContextStackTrait.php#L96-L104", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/ContextStackTrait.php", "func_name": "ContextStackTrait.popContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore the previous \"context\".", "docstring_tokens": ["Restore", "the", "previous", "context", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/ContextStackTrait.php#L109-L117", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.getWriter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a fresh xml writer.", "docstring_tokens": ["Returns", "a", "fresh", "xml", "writer", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L84-L91", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a document in full.\n\nInput may be specified as a string or readable stream resource.\nThe returned value is the value of the root document.\n\nSpecifying the $contextUri allows the parser to figure out what the URI\nof the document was. This allows relative URIs within the document to be\nexpanded easily.\n\nThe $rootElementName is specified by reference and will be populated\nwith the root element name of the document.\n\n@param string|resource $input\n\n@throws ParseException\n\n@return array|object|string", "docstring_tokens": ["Parses", "a", "document", "in", "full", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L112-L127", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.expect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a document in full, and specify what the expected root element\nname is.\n\nThis function works similar to parse, but the difference is that the\nuser can specify what the expected name of the root element should be,\nin clark notation.\n\nThis is useful in cases where you expected a specific document to be\npassed, and reduces the amount of if statements.\n\nIt's also possible to pass an array of expected rootElements if your\ncode may expect more than one document type.\n\n@param string|string[] $rootElementName\n@param string|resource $input\n@param string|null $contextUri\n\n@throws ParseException\n\n@return array|object|string", "docstring_tokens": ["Parses", "a", "document", "in", "full", "and", "specify", "what", "the", "expected", "root", "element", "name", "is", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L151-L176", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an XML document in one go.\n\nThe $rootElement must be specified in clark notation.\nThe value must be a string, an array or an object implementing\nXmlSerializable. Basically, anything that's supported by the Writer\nobject.\n\n$contextUri can be used to specify a sort of 'root' of the PHP application,\nin case the xml document is used as a http response.\n\nThis allows an implementor to easily create URI's relative to the root\nof the domain.\n\n@param string|array|object|XmlSerializable $value\n\n@return string", "docstring_tokens": ["Generates", "an", "XML", "document", "in", "one", "go", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L196-L206", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.mapValueObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map an xml element to a PHP class.\n\nCalling this function will automatically setup the Reader and Writer\nclasses to turn a specific XML element to a PHP class.\n\nFor example, given a class such as :\n\nclass Author {\npublic $firstName;\npublic $lastName;\n}\n\nand an XML element such as:\n\n\n...\n...\n\n\nThese can easily be mapped by calling:\n\n$service->mapValueObject('{http://example.org}author', 'Author');", "docstring_tokens": ["Map", "an", "xml", "element", "to", "a", "PHP", "class", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L232-L243", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.writeValueObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a value object.\n\nThis function largely behaves similar to write(), except that it's\nintended specifically to serialize a Value Object into an XML document.\n\nThe ValueObject must have been previously registered using\nmapValueObject().\n\n@param object $object\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Writes", "a", "value", "object", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L258-L269", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Service.php", "func_name": "Service.parseClarkNotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a clark-notation string, and returns the namespace and element\nname components.\n\nIf the string was invalid, it will throw an InvalidArgumentException.\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Parses", "a", "clark", "-", "notation", "string", "and", "returns", "the", "namespace", "and", "element", "name", "components", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Service.php#L279-L295", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Element/XmlFragment.php", "func_name": "XmlFragment.xmlDeserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The deserialize method is called during xml parsing.\n\nThis method is called statictly, this is because in theory this method\nmay be used as a type of constructor, or factory method.\n\nOften you want to return an instance of the current class, but you are\nfree to return other data as well.\n\nYou are responsible for advancing the reader to the next element. Not\ndoing anything will result in a never-ending loop.\n\nIf you just want to skip parsing for this element altogether, you can\njust call $reader->next();\n\n$reader->parseInnerTree() will parse the entire sub-tree, and advance to\nthe next element.\n\n@return mixed", "docstring_tokens": ["The", "deserialize", "method", "is", "called", "during", "xml", "parsing", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Element/XmlFragment.php#L141-L147", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Element/Uri.php", "func_name": "Uri.xmlDeserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called during xml parsing.\n\nThis method is called statically, this is because in theory this method\nmay be used as a type of constructor, or factory method.\n\nOften you want to return an instance of the current class, but you are\nfree to return other data as well.\n\nImportant note 2: You are responsible for advancing the reader to the\nnext element. Not doing anything will result in a never-ending loop.\n\nIf you just want to skip parsing for this element altogether, you can\njust call $reader->next();\n\n$reader->parseSubTree() will parse the entire sub-tree, and advance to\nthe next element.\n\n@return mixed", "docstring_tokens": ["This", "method", "is", "called", "during", "xml", "parsing", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Element/Uri.php#L90-L98", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Writer.php", "func_name": "Writer.startElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens a new element.\n\nYou can either just use a local elementname, or you can use clark-\nnotation to start a new element.\n\nExample:\n\n$writer->startElement('{http://www.w3.org/2005/Atom}entry');\n\nWould result in something like:\n\n\n\nNote: this function doesn't have the string typehint, because PHP's\nXMLWriter::startElement doesn't either.\n\n@param string $name", "docstring_tokens": ["Opens", "a", "new", "element", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Writer.php#L123-L160", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Writer.php", "func_name": "Writer.writeElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a full element tag and it's contents.\n\nThis method automatically closes the element as well.\n\nThe element name may be specified in clark-notation.\n\nExamples:\n\n$writer->writeElement('{http://www.w3.org/2005/Atom}author',null);\nbecomes:\n\n\n$writer->writeElement('{http://www.w3.org/2005/Atom}author', [\n'{http://www.w3.org/2005/Atom}name' => 'Evert Pot',\n]);\nbecomes:\nEvert Pot\n\nNote: this function doesn't have the string typehint, because PHP's\nXMLWriter::startElement doesn't either.\n\n@param array|string|object|null $content\n\n@return bool", "docstring_tokens": ["Write", "a", "full", "element", "tag", "and", "it", "s", "contents", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Writer.php#L188-L197", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Writer.php", "func_name": "Writer.writeAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a list of attributes.\n\nAttributes are specified as a key->value array.\n\nThe key is an attribute name. If the key is a 'localName', the current\nxml namespace is assumed. If it's a 'clark notation key', this namespace\nwill be used instead.", "docstring_tokens": ["Writes", "a", "list", "of", "attributes", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Writer.php#L208-L213", "partition": "test"} +{"repo": "sabre-io/xml", "path": "lib/Writer.php", "func_name": "Writer.writeAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a new attribute.\n\nThe name may be specified in clark-notation.\n\nReturns true when successful.\n\nNote: this function doesn't have typehints, because for some reason\nPHP's XMLWriter::writeAttribute doesn't either.\n\n@param string $name\n@param string $value", "docstring_tokens": ["Writes", "a", "new", "attribute", "."], "sha": "e8e9bb3e46afe12262ffd0e994ffa7fd5e163893", "url": "https://github.com/sabre-io/xml/blob/e8e9bb3e46afe12262ffd0e994ffa7fd5e163893/lib/Writer.php#L228-L258", "partition": "test"} +{"repo": "beyondcode/laravel-er-diagram-generator", "path": "src/RelationFinder.php", "func_name": "RelationFinder.getModelRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all relations from a fully qualified model class name.\n\n@param string $model\n@return Collection\n@throws \\ReflectionException", "docstring_tokens": ["Return", "all", "relations", "from", "a", "fully", "qualified", "model", "class", "name", "."], "sha": "43c3a3dff8030923a66b42395294e5c7ce502797", "url": "https://github.com/beyondcode/laravel-er-diagram-generator/blob/43c3a3dff8030923a66b42395294e5c7ce502797/src/RelationFinder.php#L21-L49", "partition": "test"} +{"repo": "Cron/Symfony-Bundle", "path": "Command/CronCreateCommand.php", "func_name": "CronCreateCommand.validateJobName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the job name.\n\n@param string $name\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Validate", "the", "job", "name", "."], "sha": "40e088cd6d27103ab9f228512e685db797fd4049", "url": "https://github.com/Cron/Symfony-Bundle/blob/40e088cd6d27103ab9f228512e685db797fd4049/Command/CronCreateCommand.php#L97-L108", "partition": "test"} +{"repo": "Cron/Symfony-Bundle", "path": "Command/CronCreateCommand.php", "func_name": "CronCreateCommand.validateCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the command.\n\n@param string $command\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Validate", "the", "command", "."], "sha": "40e088cd6d27103ab9f228512e685db797fd4049", "url": "https://github.com/Cron/Symfony-Bundle/blob/40e088cd6d27103ab9f228512e685db797fd4049/Command/CronCreateCommand.php#L117-L123", "partition": "test"} +{"repo": "Cron/Symfony-Bundle", "path": "Cron/Resolver.php", "func_name": "Resolver.createJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a CronJon into a ShellJob.\n\n@param CronJob $dbJob\n@return ShellJob", "docstring_tokens": ["Transform", "a", "CronJon", "into", "a", "ShellJob", "."], "sha": "40e088cd6d27103ab9f228512e685db797fd4049", "url": "https://github.com/Cron/Symfony-Bundle/blob/40e088cd6d27103ab9f228512e685db797fd4049/Cron/Resolver.php#L66-L74", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/Propagation/CurrentTraceContext.php", "func_name": "CurrentTraceContext.createScopeAndRetrieveItsCloser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the current span in scope until the returned callable is called. It is a programming\nerror to drop or never close the result.\n\n@param TraceContext|null $currentContext\n@return callable The scope closed", "docstring_tokens": ["Sets", "the", "current", "span", "in", "scope", "until", "the", "returned", "callable", "is", "called", ".", "It", "is", "a", "programming", "error", "to", "drop", "or", "never", "close", "the", "result", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/Propagation/CurrentTraceContext.php#L56-L65", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/Recording/Span.php", "func_name": "Span.finish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Completes and reports the span\n\n@param int|null $finishTimestamp", "docstring_tokens": ["Completes", "and", "reports", "the", "span"], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/Recording/Span.php#L218-L229", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/Tracer.php", "func_name": "Tracer.getCurrentSpan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current span in scope or null if there isn't one.\n\n@return Span|null", "docstring_tokens": ["Returns", "the", "current", "span", "in", "scope", "or", "null", "if", "there", "isn", "t", "one", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/Tracer.php#L160-L164", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/Tracer.php", "func_name": "Tracer.toSpan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the context as-is to a Span object\n\n@param TraceContext $context\n@return Span", "docstring_tokens": ["Converts", "the", "context", "as", "-", "is", "to", "a", "Span", "object"], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/Tracer.php#L257-L264", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/RealSpan.php", "func_name": "RealSpan.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the span with an implicit timestamp.\n\nSpans can be modified before calling start. For example, you can add tags to the span and\nset its name without lock contention.\n\n@param int $timestamp\n@return void\n@throws \\InvalidArgumentException", "docstring_tokens": ["Starts", "the", "span", "with", "an", "implicit", "timestamp", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/RealSpan.php#L70-L83", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/RealSpan.php", "func_name": "RealSpan.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the string name for the logical operation this span represents.\n\n@param string $name\n@return void", "docstring_tokens": ["Sets", "the", "string", "name", "for", "the", "logical", "operation", "this", "span", "represents", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/RealSpan.php#L91-L94", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/RealSpan.php", "func_name": "RealSpan.annotate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Associates an event that explains latency with the current system time.\n\n@param string $value A short tag indicating the event, like \"finagle.retry\"\n@param int|null $timestamp\n@return void\n@throws \\InvalidArgumentException\n@see Zipkin\\Annotations", "docstring_tokens": ["Associates", "an", "event", "that", "explains", "latency", "with", "the", "current", "system", "time", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/RealSpan.php#L133-L142", "partition": "test"} +{"repo": "openzipkin/zipkin-php", "path": "src/Zipkin/RealSpan.php", "func_name": "RealSpan.setRemoteEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For a client span, this would be the server's address.\n\nIt is often expensive to derive a remote address: always check {@link #isNoop()} first!\n\n@param Endpoint $remoteEndpoint\n@return void", "docstring_tokens": ["For", "a", "client", "span", "this", "would", "be", "the", "server", "s", "address", "."], "sha": "f84a37751874b100a099f694b2420cff33b1aaef", "url": "https://github.com/openzipkin/zipkin-php/blob/f84a37751874b100a099f694b2420cff33b1aaef/src/Zipkin/RealSpan.php#L152-L155", "partition": "test"} +{"repo": "slimphp/Slim-Csrf", "path": "src/Guard.php", "func_name": "Guard.generateNewToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a new CSRF token and attaches it to the Request Object\n\n@param ServerRequestInterface $request PSR7 response object.\n\n@return ServerRequestInterface PSR7 response object.", "docstring_tokens": ["Generates", "a", "new", "CSRF", "token", "and", "attaches", "it", "to", "the", "Request", "Object"], "sha": "9c0e77a93c39a567b7b3ab764921f412554b7f18", "url": "https://github.com/slimphp/Slim-Csrf/blob/9c0e77a93c39a567b7b3ab764921f412554b7f18/src/Guard.php#L226-L234", "partition": "test"} +{"repo": "slimphp/Slim-Csrf", "path": "src/Guard.php", "func_name": "Guard.getFromStorage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get token from storage\n\n@param string $name CSRF token name\n\n@return string|bool CSRF token value or `false` if not present", "docstring_tokens": ["Get", "token", "from", "storage"], "sha": "9c0e77a93c39a567b7b3ab764921f412554b7f18", "url": "https://github.com/slimphp/Slim-Csrf/blob/9c0e77a93c39a567b7b3ab764921f412554b7f18/src/Guard.php#L290-L293", "partition": "test"} +{"repo": "slimphp/Slim-Csrf", "path": "src/Guard.php", "func_name": "Guard.getLastKeyPair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the most recent key pair from storage.\n\n@return string[]|null Array containing name and value if found, null otherwise", "docstring_tokens": ["Get", "the", "most", "recent", "key", "pair", "from", "storage", "."], "sha": "9c0e77a93c39a567b7b3ab764921f412554b7f18", "url": "https://github.com/slimphp/Slim-Csrf/blob/9c0e77a93c39a567b7b3ab764921f412554b7f18/src/Guard.php#L300-L317", "partition": "test"} +{"repo": "slimphp/Slim-Csrf", "path": "src/Guard.php", "func_name": "Guard.enforceStorageLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the oldest tokens from the storage array so that there\nare never more than storageLimit tokens in the array.\n\nThis is required as a token is generated every request and so\nmost will never be used.", "docstring_tokens": ["Remove", "the", "oldest", "tokens", "from", "the", "storage", "array", "so", "that", "there", "are", "never", "more", "than", "storageLimit", "tokens", "in", "the", "array", "."], "sha": "9c0e77a93c39a567b7b3ab764921f412554b7f18", "url": "https://github.com/slimphp/Slim-Csrf/blob/9c0e77a93c39a567b7b3ab764921f412554b7f18/src/Guard.php#L353-L382", "partition": "test"} +{"repo": "tgalopin/html-sanitizer", "path": "src/Sanitizer.php", "func_name": "Sanitizer.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Quickly create an already configured sanitizer using the default builder.\n\n@param array $config\n\n@return SanitizerInterface", "docstring_tokens": ["Quickly", "create", "an", "already", "configured", "sanitizer", "using", "the", "default", "builder", "."], "sha": "858f83aff56a6cdd36747b010116be12da6a4cfb", "url": "https://github.com/tgalopin/html-sanitizer/blob/858f83aff56a6cdd36747b010116be12da6a4cfb/src/Sanitizer.php#L68-L81", "partition": "test"} +{"repo": "tgalopin/html-sanitizer", "path": "src/Visitor/TagVisitorTrait.php", "func_name": "TagVisitorTrait.setAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set attributes from a DOM node to a sanitized node.\n\n@param \\DOMNode $domNode\n@param TagNodeInterface $node\n@param array $allowedAttributes", "docstring_tokens": ["Set", "attributes", "from", "a", "DOM", "node", "to", "a", "sanitized", "node", "."], "sha": "858f83aff56a6cdd36747b010116be12da6a4cfb", "url": "https://github.com/tgalopin/html-sanitizer/blob/858f83aff56a6cdd36747b010116be12da6a4cfb/src/Visitor/TagVisitorTrait.php#L43-L57", "partition": "test"} +{"repo": "tgalopin/html-sanitizer", "path": "src/Visitor/TagVisitorTrait.php", "func_name": "TagVisitorTrait.getAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the value of a DOMNode attribute.\n\n@param \\DOMNode $domNode\n@param string $name\n\n@return null|string", "docstring_tokens": ["Read", "the", "value", "of", "a", "DOMNode", "attribute", "."], "sha": "858f83aff56a6cdd36747b010116be12da6a4cfb", "url": "https://github.com/tgalopin/html-sanitizer/blob/858f83aff56a6cdd36747b010116be12da6a4cfb/src/Visitor/TagVisitorTrait.php#L67-L81", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/DefaultConfigPass.php", "func_name": "DefaultConfigPass.processDefaultEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the default entity to display when the backend index is not\ndefined explicitly.\n\n@param array $backendConfig\n\n@return array", "docstring_tokens": ["Finds", "the", "default", "entity", "to", "display", "when", "the", "backend", "index", "is", "not", "defined", "explicitly", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/DefaultConfigPass.php#L29-L36", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/DefaultConfigPass.php", "func_name": "DefaultConfigPass.processDefaultMenuItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the default menu item to display when browsing the backend index.\n\n@param array $backendConfig\n\n@return array", "docstring_tokens": ["Finds", "the", "default", "menu", "item", "to", "display", "when", "browsing", "the", "backend", "index", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/DefaultConfigPass.php#L45-L56", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Form/Util/FormTypeHelper.php", "func_name": "FormTypeHelper.getTypeName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It returns the short type name of the given FQCN. If the type name is not\nfound, it returns the given value.\n\n@param string $typeFqcn\n\n@return string", "docstring_tokens": ["It", "returns", "the", "short", "type", "name", "of", "the", "given", "FQCN", ".", "If", "the", "type", "name", "is", "not", "found", "it", "returns", "the", "given", "value", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Form/Util/FormTypeHelper.php#L130-L140", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/PropertyConfigPass.php", "func_name": "PropertyConfigPass.getFormTypeOptionsOfProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves from type options of field\n\n@param array $mergedConfig\n@param array $guessedConfig\n@param array $userDefinedConfig\n\n@return array", "docstring_tokens": ["Resolves", "from", "type", "options", "of", "field"], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/PropertyConfigPass.php#L225-L259", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility method which initializes the configuration of the entity on which\nthe user is performing the action.\n\n@param Request $request\n\n@throws NoEntitiesConfiguredException\n@throws UndefinedEntityException", "docstring_tokens": ["Utility", "method", "which", "initializes", "the", "configuration", "of", "the", "entity", "on", "which", "the", "user", "is", "performing", "the", "action", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L82-L118", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.autocompleteAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that returns the values displayed by an autocomplete field\nbased on the user's input.\n\n@return JsonResponse", "docstring_tokens": ["The", "method", "that", "returns", "the", "values", "displayed", "by", "an", "autocomplete", "field", "based", "on", "the", "user", "s", "input", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L141-L150", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.listAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'list' action on an entity.\n\n@return Response", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "list", "action", "on", "an", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L157-L174", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.editAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'edit' action on an entity.\n\n@return Response|RedirectResponse\n\n@throws \\RuntimeException", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "edit", "action", "on", "an", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L183-L229", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.showAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'show' action on an entity.\n\n@return Response", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "show", "action", "on", "an", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L236-L260", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.newAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'new' action on an entity.\n\n@return Response|RedirectResponse", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "new", "action", "on", "an", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L267-L303", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.deleteAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'delete' action to\nremove any entity.\n\n@return RedirectResponse\n\n@throws EntityRemoveException", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "delete", "action", "to", "remove", "any", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L313-L343", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.searchAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a query on an entity.\n\n@return Response", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "query", "on", "an", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L350-L391", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.batchAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that is executed when the user performs a 'batch' action to any entity.", "docstring_tokens": ["The", "method", "that", "is", "executed", "when", "the", "user", "performs", "a", "batch", "action", "to", "any", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L396-L409", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.updateEntityProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It updates the value of some property of some entity to the new given value.\n\n@param mixed $entity The instance of the entity to modify\n@param string $property The name of the property to change\n@param bool $value The new value of the property\n\n@throws \\RuntimeException", "docstring_tokens": ["It", "updates", "the", "value", "of", "some", "property", "of", "some", "entity", "to", "the", "new", "given", "value", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L443-L458", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs a database query to get all the records related to the given\nentity. It supports pagination and field sorting.\n\n@param string $entityClass\n@param int $page\n@param int $maxPerPage\n@param string|null $sortField\n@param string|null $sortDirection\n@param string|null $dqlFilter\n\n@return Pagerfanta The paginated query results", "docstring_tokens": ["Performs", "a", "database", "query", "to", "get", "all", "the", "records", "related", "to", "the", "given", "entity", ".", "It", "supports", "pagination", "and", "field", "sorting", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L523-L538", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.createListQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates Query Builder instance for all the records.\n\n@param string $entityClass\n@param string $sortDirection\n@param string|null $sortField\n@param string|null $dqlFilter\n\n@return QueryBuilder The Query Builder instance", "docstring_tokens": ["Creates", "Query", "Builder", "instance", "for", "all", "the", "records", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L550-L553", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.findBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs a database query based on the search query provided by the user.\nIt supports pagination and field sorting.\n\n@param string $entityClass\n@param string $searchQuery\n@param array $searchableFields\n@param int $page\n@param int $maxPerPage\n@param string|null $sortField\n@param string|null $sortDirection\n@param string|null $dqlFilter\n\n@return Pagerfanta The paginated query results", "docstring_tokens": ["Performs", "a", "database", "query", "based", "on", "the", "search", "query", "provided", "by", "the", "user", ".", "It", "supports", "pagination", "and", "field", "sorting", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L570-L585", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.createSearchQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates Query Builder instance for search query.\n\n@param string $entityClass\n@param string $searchQuery\n@param array $searchableFields\n@param string|null $sortField\n@param string|null $sortDirection\n@param string|null $dqlFilter\n\n@return QueryBuilder The Query Builder instance", "docstring_tokens": ["Creates", "Query", "Builder", "instance", "for", "search", "query", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L599-L602", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.createEntityFormBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the form builder of the form used to create or edit the given entity.\n\n@param object $entity\n@param string $view The name of the view where this form is used ('new' or 'edit')\n\n@return FormBuilder", "docstring_tokens": ["Creates", "the", "form", "builder", "of", "the", "form", "used", "to", "create", "or", "edit", "the", "given", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L638-L643", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.getEntityFormOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the list of form options before sending them to the form builder.\nThis allows adding dynamic logic to the default form options.\n\n@param object $entity\n@param string $view\n\n@return array", "docstring_tokens": ["Retrieves", "the", "list", "of", "form", "options", "before", "sending", "them", "to", "the", "form", "builder", ".", "This", "allows", "adding", "dynamic", "logic", "to", "the", "default", "form", "options", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L654-L661", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.createEntityForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the form object used to create or edit the given entity.\n\n@param object $entity\n@param array $entityProperties\n@param string $view\n\n@return FormInterface\n\n@throws \\Exception", "docstring_tokens": ["Creates", "the", "form", "object", "used", "to", "create", "or", "edit", "the", "given", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L674-L698", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.createDeleteForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the form used to delete an entity. It must be a form because\nthe deletion of the entity are always performed with the 'DELETE' HTTP method,\nwhich requires a form to work in the current browsers.\n\n@param string $entityName\n@param int|string $entityId When reusing the delete form for multiple entities, a pattern string is passed instead of an integer\n\n@return Form|FormInterface", "docstring_tokens": ["Creates", "the", "form", "used", "to", "delete", "an", "entity", ".", "It", "must", "be", "a", "form", "because", "the", "deletion", "of", "the", "entity", "are", "always", "performed", "with", "the", "DELETE", "HTTP", "method", "which", "requires", "a", "form", "to", "work", "in", "the", "current", "browsers", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L710-L722", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Controller/AdminControllerTrait.php", "func_name": "AdminControllerTrait.redirectToBackendHomepage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the backend homepage and redirects to it.", "docstring_tokens": ["Generates", "the", "backend", "homepage", "and", "redirects", "to", "it", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Controller/AdminControllerTrait.php#L765-L772", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/EventListener/ControllerListener.php", "func_name": "ControllerListener.onKernelController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exchange default admin controller by custom entity admin controller.\n\n@param FilterControllerEvent $event\n\n@throws NotFoundHttpException", "docstring_tokens": ["Exchange", "default", "admin", "controller", "by", "custom", "entity", "admin", "controller", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/EventListener/ControllerListener.php#L37-L76", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/MenuConfigPass.php", "func_name": "MenuConfigPass.normalizeMenuConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the different shortcut notations of the menu config to simplify\nfurther processing.\n\n@param array $menuConfig\n@param array $backendConfig\n@param int $parentItemIndex The index of the parent item for this menu item (allows to treat submenus differently)\n\n@return array", "docstring_tokens": ["Normalizes", "the", "different", "shortcut", "notations", "of", "the", "menu", "config", "to", "simplify", "further", "processing", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/MenuConfigPass.php#L48-L115", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Twig/EasyAdminTwigExtension.php", "func_name": "EasyAdminTwigExtension.getEntityConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the entire configuration of the given entity.\n\n@param string $entityName\n\n@return array|null", "docstring_tokens": ["Returns", "the", "entire", "configuration", "of", "the", "given", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Twig/EasyAdminTwigExtension.php#L99-L104", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Twig/EasyAdminTwigExtension.php", "func_name": "EasyAdminTwigExtension.isActionEnabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the given 'action' is enabled for the given 'entity'.\n\n@param string $view\n@param string $action\n@param string $entityName\n\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "given", "action", "is", "enabled", "for", "the", "given", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Twig/EasyAdminTwigExtension.php#L301-L304", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Twig/EasyAdminTwigExtension.php", "func_name": "EasyAdminTwigExtension.getActionConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full action configuration for the given 'entity' and 'view'.\n\n@param string $view\n@param string $action\n@param string $entityName\n\n@return array", "docstring_tokens": ["Returns", "the", "full", "action", "configuration", "for", "the", "given", "entity", "and", "view", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Twig/EasyAdminTwigExtension.php#L315-L318", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Twig/EasyAdminTwigExtension.php", "func_name": "EasyAdminTwigExtension.transchoice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove this filter when the Symfony's requirement is equal or greater than 4.2\nand use the built-in trans filter instead with a %count% parameter.", "docstring_tokens": ["Remove", "this", "filter", "when", "the", "Symfony", "s", "requirement", "is", "equal", "or", "greater", "than", "4", ".", "2", "and", "use", "the", "built", "-", "in", "trans", "filter", "instead", "with", "a", "%count%", "parameter", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Twig/EasyAdminTwigExtension.php#L391-L398", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Search/Paginator.php", "func_name": "Paginator.createOrmPaginator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Doctrine ORM paginator for the given query builder.\n\n@param DoctrineQuery|DoctrineQueryBuilder $queryBuilder\n@param int $page\n@param int $maxPerPage\n\n@return Pagerfanta", "docstring_tokens": ["Creates", "a", "Doctrine", "ORM", "paginator", "for", "the", "given", "query", "builder", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Search/Paginator.php#L27-L40", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/ConfigManager.php", "func_name": "ConfigManager.doProcessConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It processes the given backend configuration to generate the fully\nprocessed configuration used in the application.\n\n@param array $backendConfig\n\n@return array", "docstring_tokens": ["It", "processes", "the", "given", "backend", "configuration", "to", "generate", "the", "fully", "processed", "configuration", "used", "in", "the", "application", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/ConfigManager.php#L101-L108", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/EventListener/RequestPostInitializeListener.php", "func_name": "RequestPostInitializeListener.initializeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds to the request some attributes with useful information, such as the\ncurrent entity and the selected item, if any.\n\n@param GenericEvent $event", "docstring_tokens": ["Adds", "to", "the", "request", "some", "attributes", "with", "useful", "information", "such", "as", "the", "current", "entity", "and", "the", "selected", "item", "if", "any", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/EventListener/RequestPostInitializeListener.php#L40-L56", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/EventListener/RequestPostInitializeListener.php", "func_name": "RequestPostInitializeListener.findCurrentItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for the object that corresponds to the selected 'id' of the current entity.\n\n@param array $entityConfig\n@param mixed $itemId\n\n@return object The entity\n\n@throws EntityNotFoundException\n@throws \\RuntimeException", "docstring_tokens": ["Looks", "for", "the", "object", "that", "corresponds", "to", "the", "selected", "id", "of", "the", "current", "entity", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/EventListener/RequestPostInitializeListener.php#L69-L80", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Form/Type/EasyAdminFormType.php", "func_name": "EasyAdminFormType.getAttributesNormalizer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a closure normalizing the form html attributes.\n\n@return \\Closure", "docstring_tokens": ["Returns", "a", "closure", "normalizing", "the", "form", "html", "attributes", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Form/Type/EasyAdminFormType.php#L162-L169", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/MetadataConfigPass.php", "func_name": "MetadataConfigPass.processEntityPropertiesMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes the entity metadata introspected via Doctrine and completes its\ncontents to simplify data processing for the rest of the application.\n\n@param ClassMetadata $entityMetadata The entity metadata introspected via Doctrine\n\n@return array The entity properties metadata provided by Doctrine\n\n@throws \\RuntimeException", "docstring_tokens": ["Takes", "the", "entity", "metadata", "introspected", "via", "Doctrine", "and", "completes", "its", "contents", "to", "simplify", "data", "processing", "for", "the", "rest", "of", "the", "application", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/MetadataConfigPass.php#L60-L87", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/ActionConfigPass.php", "func_name": "ActionConfigPass.getDefaultActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the built-in actions defined by EasyAdmin for the given view.\nThis allows to provide some nice defaults for backends that don't\ndefine their own actions.\n\n@param string $view\n\n@return array", "docstring_tokens": ["Returns", "the", "built", "-", "in", "actions", "defined", "by", "EasyAdmin", "for", "the", "given", "view", ".", "This", "allows", "to", "provide", "some", "nice", "defaults", "for", "backends", "that", "don", "t", "define", "their", "own", "actions", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/ActionConfigPass.php#L419-L437", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Form/EventListener/EasyAdminTabSubscriber.php", "func_name": "EasyAdminTabSubscriber.handleViolations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deal with form constraint violations. This method has to be executed with\na negative priority to make sure that the validation process is done.\n\n@param FormEvent $event", "docstring_tokens": ["Deal", "with", "form", "constraint", "violations", ".", "This", "method", "has", "to", "be", "executed", "with", "a", "negative", "priority", "to", "make", "sure", "that", "the", "validation", "process", "is", "done", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Form/EventListener/EasyAdminTabSubscriber.php#L32-L56", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Search/Autocomplete.php", "func_name": "Autocomplete.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the values of the given entity which match the query provided.\n\n@param string $entity\n@param string $query\n@param int $page\n\n@return array\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Finds", "the", "values", "of", "the", "given", "entity", "which", "match", "the", "query", "provided", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Search/Autocomplete.php#L39-L56", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/DependencyInjection/EasyAdminExtension.php", "func_name": "EasyAdminExtension.processConfigFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method allows to define the entity configuration is several files.\nWithout this, Symfony doesn't merge correctly the 'entities' config key\ndefined in different files.\n\n@param array $configs\n\n@return array", "docstring_tokens": ["This", "method", "allows", "to", "define", "the", "entity", "configuration", "is", "several", "files", ".", "Without", "this", "Symfony", "doesn", "t", "merge", "correctly", "the", "entities", "config", "key", "defined", "in", "different", "files", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/DependencyInjection/EasyAdminExtension.php#L54-L79", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/DependencyInjection/EasyAdminExtension.php", "func_name": "EasyAdminExtension.normalizeEntityConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms the two simple configuration formats into the full expanded\nconfiguration. This allows to reuse the same method to process any of the\ndifferent configuration formats.\n\nThese are the two simple formats allowed:\n\n# Config format #1: no custom entity name\neasy_admin:\nentities:\n- AppBundle\\Entity\\User\n\n# Config format #2: simple config with custom entity name\neasy_admin:\nentities:\nUser: AppBundle\\Entity\\User\n\nAnd this is the full expanded configuration syntax generated by this method:\n\n# Config format #3: expanded entity configuration with 'class' parameter\neasy_admin:\nentities:\nUser:\nclass: AppBundle\\Entity\\User\n\n@param mixed $entityName\n@param mixed $entityConfig\n\n@return array\n\n@throws \\RuntimeException", "docstring_tokens": ["Transforms", "the", "two", "simple", "configuration", "formats", "into", "the", "full", "expanded", "configuration", ".", "This", "allows", "to", "reuse", "the", "same", "method", "to", "process", "any", "of", "the", "different", "configuration", "formats", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/DependencyInjection/EasyAdminExtension.php#L113-L126", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/DependencyInjection/EasyAdminExtension.php", "func_name": "EasyAdminExtension.getUniqueEntityName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The name of the entity is included in the URLs of the backend to define\nthe entity used to perform the operations. Obviously, the entity name\nmust be unique to identify entities unequivocally.\n\nThis method ensures that the given entity name is unique among all the\npreviously existing entities passed as the second argument. This is\nachieved by iteratively appending a suffix until the entity name is\nguaranteed to be unique.\n\n@param string $entityName\n@param array $entityConfig\n@param array $existingEntityNames\n\n@return string The entity name transformed to be unique", "docstring_tokens": ["The", "name", "of", "the", "entity", "is", "included", "in", "the", "URLs", "of", "the", "backend", "to", "define", "the", "entity", "used", "to", "perform", "the", "operations", ".", "Obviously", "the", "entity", "name", "must", "be", "unique", "to", "identify", "entities", "unequivocally", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/DependencyInjection/EasyAdminExtension.php#L144-L167", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/NormalizerConfigPass.php", "func_name": "NormalizerConfigPass.normalizeViewConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the view configuration when some of them doesn't define any\nconfiguration.\n\n@param array $backendConfig\n\n@return array", "docstring_tokens": ["Normalizes", "the", "view", "configuration", "when", "some", "of", "them", "doesn", "t", "define", "any", "configuration", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/NormalizerConfigPass.php#L119-L138", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/NormalizerConfigPass.php", "func_name": "NormalizerConfigPass.mergeFormConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merges the form configuration recursively from the 'form' view to the\n'edit' and 'new' views. It processes the configuration of the form fields\nin a special way to keep all their configuration and allow overriding and\nremoving of fields.\n\n@param array $parentConfig The config of the 'form' view\n@param array $childConfig The config of the 'edit' and 'new' views\n\n@return array", "docstring_tokens": ["Merges", "the", "form", "configuration", "recursively", "from", "the", "form", "view", "to", "the", "edit", "and", "new", "views", ".", "It", "processes", "the", "configuration", "of", "the", "form", "fields", "in", "a", "special", "way", "to", "keep", "all", "their", "configuration", "and", "allow", "overriding", "and", "removing", "of", "fields", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/NormalizerConfigPass.php#L417-L459", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Search/QueryBuilder.php", "func_name": "QueryBuilder.createListQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the query builder used to get all the records displayed by the\n\"list\" view.\n\n@param array $entityConfig\n@param string|null $sortField\n@param string|null $sortDirection\n@param string|null $dqlFilter\n\n@return DoctrineQueryBuilder", "docstring_tokens": ["Creates", "the", "query", "builder", "used", "to", "get", "all", "the", "records", "displayed", "by", "the", "list", "view", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Search/QueryBuilder.php#L34-L61", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Search/QueryBuilder.php", "func_name": "QueryBuilder.isDoctrineAssociation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checking if the field name contains a '.' is not enough to decide if it's a\nDoctrine association. This also happens when using embedded classes, so the\nembeddedClasses property from Doctrine class metadata must be checked too.\n\n@param ClassMetadata $classMetadata\n@param string|null $fieldName\n\n@return bool", "docstring_tokens": ["Checking", "if", "the", "field", "name", "contains", "a", ".", "is", "not", "enough", "to", "decide", "if", "it", "s", "a", "Doctrine", "association", ".", "This", "also", "happens", "when", "using", "embedded", "classes", "so", "the", "embeddedClasses", "property", "from", "Doctrine", "class", "metadata", "must", "be", "checked", "too", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Search/QueryBuilder.php#L177-L186", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/ViewConfigPass.php", "func_name": "ViewConfigPass.processFieldConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This methods makes some minor tweaks in fields configuration to improve\nthe user experience.\n\n@param array $backendConfig\n\n@return array", "docstring_tokens": ["This", "methods", "makes", "some", "minor", "tweaks", "in", "fields", "configuration", "to", "improve", "the", "user", "experience", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/ViewConfigPass.php#L85-L110", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/ViewConfigPass.php", "func_name": "ViewConfigPass.getExcludedFieldNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of excluded field names for the given view.\n\n@param string $view\n@param array $entityConfig\n\n@return array", "docstring_tokens": ["Returns", "the", "list", "of", "excluded", "field", "names", "for", "the", "given", "view", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/ViewConfigPass.php#L247-L258", "partition": "test"} +{"repo": "EasyCorp/EasyAdminBundle", "path": "src/Configuration/ViewConfigPass.php", "func_name": "ViewConfigPass.filterFieldList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters a list of fields excluding the given list of field names and field types.\n\n@param array $fields\n@param string[] $excludedFieldNames\n@param string[] $excludedFieldTypes\n@param int $maxNumFields\n\n@return array The filtered list of fields", "docstring_tokens": ["Filters", "a", "list", "of", "fields", "excluding", "the", "given", "list", "of", "field", "names", "and", "field", "types", "."], "sha": "2e241936000d347a9e1230d08ccfe5bb27dd357f", "url": "https://github.com/EasyCorp/EasyAdminBundle/blob/2e241936000d347a9e1230d08ccfe5bb27dd357f/src/Configuration/ViewConfigPass.php#L307-L322", "partition": "test"} +{"repo": "louislivi/SMProxy", "path": "src/Helper/ProcessHelper.php", "func_name": "ProcessHelper.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "run a command. it is support windows\n@param string $command\n@param string|null $cwd\n@return array\n@throws \\RuntimeException", "docstring_tokens": ["run", "a", "command", ".", "it", "is", "support", "windows"], "sha": "6100521c49b618f4c1d64bd57eefdfb14ca66209", "url": "https://github.com/louislivi/SMProxy/blob/6100521c49b618f4c1d64bd57eefdfb14ca66209/src/Helper/ProcessHelper.php#L44-L74", "partition": "test"} +{"repo": "louislivi/SMProxy", "path": "src/Parser/ServerParse.php", "func_name": "ServerParse.deleteOrdCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "delete or drop", "docstring_tokens": ["delete", "or", "drop"], "sha": "6100521c49b618f4c1d64bd57eefdfb14ca66209", "url": "https://github.com/louislivi/SMProxy/blob/6100521c49b618f4c1d64bd57eefdfb14ca66209/src/Parser/ServerParse.php#L309-L325", "partition": "test"} +{"repo": "louislivi/SMProxy", "path": "src/Parser/ServerParse.php", "func_name": "ServerParse.dCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "DESCRIBE or desc or DELETE' '", "docstring_tokens": ["DESCRIBE", "or", "desc", "or", "DELETE"], "sha": "6100521c49b618f4c1d64bd57eefdfb14ca66209", "url": "https://github.com/louislivi/SMProxy/blob/6100521c49b618f4c1d64bd57eefdfb14ca66209/src/Parser/ServerParse.php#L506-L530", "partition": "test"} +{"repo": "louislivi/SMProxy", "path": "src/Parser/ServerParse.php", "func_name": "ServerParse.uCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UPDATE' ' | USE' '", "docstring_tokens": ["UPDATE", "|", "USE"], "sha": "6100521c49b618f4c1d64bd57eefdfb14ca66209", "url": "https://github.com/louislivi/SMProxy/blob/6100521c49b618f4c1d64bd57eefdfb14ca66209/src/Parser/ServerParse.php#L776-L830", "partition": "test"} +{"repo": "louislivi/SMProxy", "path": "src/MysqlPacket/Util/ByteUtil.php", "func_name": "ByteUtil.readLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this is for the String.\n\n@param array $data\n\n@return int|mixed", "docstring_tokens": ["this", "is", "for", "the", "String", "."], "sha": "6100521c49b618f4c1d64bd57eefdfb14ca66209", "url": "https://github.com/louislivi/SMProxy/blob/6100521c49b618f4c1d64bd57eefdfb14ca66209/src/MysqlPacket/Util/ByteUtil.php#L62-L77", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Command/ProgressClosureBuilder.php", "func_name": "ProgressClosureBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a loggerClosure to be called from inside the Provider to update the command\nline.\n\n@param OutputInterface $output\n@param string $action\n@param string $index\n@param string $type\n@param int $offset\n\n@return callable", "docstring_tokens": ["Builds", "a", "loggerClosure", "to", "be", "called", "from", "inside", "the", "Provider", "to", "update", "the", "command", "line", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Command/ProgressClosureBuilder.php#L34-L54", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Persister/ObjectPersister.php", "func_name": "ObjectPersister.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log exception if logger defined for persister belonging to the current listener, otherwise re-throw.\n\n@param BulkException $e\n\n@throws BulkException", "docstring_tokens": ["Log", "exception", "if", "logger", "defined", "for", "persister", "belonging", "to", "the", "current", "listener", "otherwise", "re", "-", "throw", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Persister/ObjectPersister.php#L180-L187", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Configuration/Source/TemplateContainerSource.php", "func_name": "TemplateContainerSource.getTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds TypeConfig objects for each type.\n\n@param array $config\n\n@return array", "docstring_tokens": ["Builds", "TypeConfig", "objects", "for", "each", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Configuration/Source/TemplateContainerSource.php#L63-L78", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Configuration/Source/ContainerSource.php", "func_name": "ContainerSource.getConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Should return all configuration available from the data source.\n\n@return IndexConfig[]", "docstring_tokens": ["Should", "return", "all", "configuration", "available", "from", "the", "data", "source", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Configuration/Source/ContainerSource.php#L42-L57", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/PagerProviderRegistry.php", "func_name": "PagerProviderRegistry.getAllProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all registered providers.\n\nProviders will be indexed by \"index/type\" strings in the returned array.\n\n@return PagerProviderInterface[]", "docstring_tokens": ["Gets", "all", "registered", "providers", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/PagerProviderRegistry.php#L42-L53", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/PagerProviderRegistry.php", "func_name": "PagerProviderRegistry.getIndexProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all providers for an index.\n\nProviders will be indexed by \"type\" strings in the returned array.\n\n@param string $index\n\n@return PagerProviderInterface[]|\n\n@throws \\InvalidArgumentException if no providers were registered for the index", "docstring_tokens": ["Gets", "all", "providers", "for", "an", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/PagerProviderRegistry.php#L66-L78", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/PagerProviderRegistry.php", "func_name": "PagerProviderRegistry.getProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the provider for an index and type.\n\n@param string $index\n@param string $type\n\n@return PagerProviderInterface\n\n@throws \\InvalidArgumentException if no provider was registered for the index and type", "docstring_tokens": ["Gets", "the", "provider", "for", "an", "index", "and", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/PagerProviderRegistry.php#L90-L97", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Subscriber/PaginateElasticaQuerySubscriber.php", "func_name": "PaginateElasticaQuerySubscriber.setSorting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds knp paging sort to query.\n\n@param ItemsEvent $event", "docstring_tokens": ["Adds", "knp", "paging", "sort", "to", "query", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Subscriber/PaginateElasticaQuerySubscriber.php#L74-L88", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/MappingBuilder.php", "func_name": "MappingBuilder.buildIndexMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds mappings for an entire index.\n\n@param IndexConfigInterface $indexConfig\n\n@return array", "docstring_tokens": ["Builds", "mappings", "for", "an", "entire", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/MappingBuilder.php#L27-L46", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/MappingBuilder.php", "func_name": "MappingBuilder.buildIndexTemplateMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds mappings for an entire index template.\n\n@param IndexTemplateConfig $indexTemplateConfig\n\n@return array", "docstring_tokens": ["Builds", "mappings", "for", "an", "entire", "index", "template", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/MappingBuilder.php#L55-L61", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/MappingBuilder.php", "func_name": "MappingBuilder.buildTypeMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds mappings for a single type.\n\n@param TypeConfig $typeConfig\n\n@return array", "docstring_tokens": ["Builds", "mappings", "for", "a", "single", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/MappingBuilder.php#L70-L115", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/MappingBuilder.php", "func_name": "MappingBuilder.fixProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fixes any properties and applies basic defaults for any field that does not have\nrequired options.\n\n@param $properties", "docstring_tokens": ["Fixes", "any", "properties", "and", "applies", "basic", "defaults", "for", "any", "field", "that", "does", "not", "have", "required", "options", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/MappingBuilder.php#L123-L138", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Logger/ElasticaLogger.php", "func_name": "ElasticaLogger.logQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs a query.\n\n@param string $path Path to call\n@param string $method Rest method to use (GET, POST, DELETE, PUT)\n@param array|string $data Arguments\n@param float $queryTime Execution time (in seconds)\n@param array $connection Host, port, transport, and headers of the query\n@param array $query Arguments\n@param int $engineTime\n@param int $itemCount", "docstring_tokens": ["Logs", "a", "query", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Logger/ElasticaLogger.php#L66-L101", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Persister/ObjectSerializerPersister.php", "func_name": "ObjectSerializerPersister.transformToElasticaDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an object to an elastica document\nwith just the identifier set.\n\n@param object $object\n\n@return Document the elastica document", "docstring_tokens": ["Transforms", "an", "object", "to", "an", "elastica", "document", "with", "just", "the", "identifier", "set", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Persister/ObjectSerializerPersister.php#L50-L58", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Paginator/RawPaginatorAdapter.php", "func_name": "RawPaginatorAdapter.getTotalHits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of results.\n\nIf genuineTotal is provided as true, total hits is returned from the\nhits.total value from the search results instead of just returning\nthe requested size.\n\n{@inheritdoc}", "docstring_tokens": ["Returns", "the", "number", "of", "results", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Paginator/RawPaginatorAdapter.php#L90-L99", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Paginator/RawPaginatorAdapter.php", "func_name": "RawPaginatorAdapter.getElasticaResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the paginated results.\n\n@param int $offset\n@param int $itemCountPerPage\n\n@throws \\InvalidArgumentException\n\n@return ResultSet", "docstring_tokens": ["Returns", "the", "paginated", "results", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Paginator/RawPaginatorAdapter.php#L157-L184", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/TemplateResetter.php", "func_name": "TemplateResetter.deleteTemplateIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all template indexes\n\n@param IndexTemplateConfig $template", "docstring_tokens": ["Delete", "all", "template", "indexes"], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/TemplateResetter.php#L79-L82", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/IndexManager.php", "func_name": "IndexManager.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an index by its name.\n\n@param string $name Index to return, or the default index if null\n\n@return Index\n\n@throws \\InvalidArgumentException if no index exists for the given name", "docstring_tokens": ["Gets", "an", "index", "by", "its", "name", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/IndexManager.php#L57-L68", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Persister/PersisterRegistry.php", "func_name": "PersisterRegistry.getPersister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the persister for an index and type.\n\n@param string $index\n@param string $type\n\n@return ObjectPersisterInterface\n\n@throws \\InvalidArgumentException if no persister was registered for the index and type", "docstring_tokens": ["Gets", "the", "persister", "for", "an", "index", "and", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Persister/PersisterRegistry.php#L44-L51", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Command/PopulateCommand.php", "func_name": "PopulateCommand.populateIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recreates an index, populates its types, and refreshes the index.\n\n@param OutputInterface $output\n@param string $index\n@param bool $reset\n@param array $options", "docstring_tokens": ["Recreates", "an", "index", "populates", "its", "types", "and", "refreshes", "the", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Command/PopulateCommand.php#L177-L195", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Command/PopulateCommand.php", "func_name": "PopulateCommand.refreshIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refreshes an index.\n\n@param OutputInterface $output\n@param string $index", "docstring_tokens": ["Refreshes", "an", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Command/PopulateCommand.php#L272-L276", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Transformer/ModelToElasticaAutoTransformer.php", "func_name": "ModelToElasticaAutoTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an object into an elastica object having the required keys.\n\n@param object $object the object to convert\n@param array $fields the keys we want to have in the returned array\n\n@return Document", "docstring_tokens": ["Transforms", "an", "object", "into", "an", "elastica", "object", "having", "the", "required", "keys", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Transformer/ModelToElasticaAutoTransformer.php#L78-L86", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Transformer/ModelToElasticaAutoTransformer.php", "func_name": "ModelToElasticaAutoTransformer.transformNested", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "transform a nested document or an object property into an array of ElasticaDocument.\n\n@param array|\\Traversable|\\ArrayAccess $objects the object to convert\n@param array $fields the keys we want to have in the returned array\n\n@return array", "docstring_tokens": ["transform", "a", "nested", "document", "or", "an", "object", "property", "into", "an", "array", "of", "ElasticaDocument", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Transformer/ModelToElasticaAutoTransformer.php#L96-L113", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Transformer/ModelToElasticaAutoTransformer.php", "func_name": "ModelToElasticaAutoTransformer.normalizeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to convert any type to a string or an array of strings.\n\n@param mixed $value\n\n@return string|array", "docstring_tokens": ["Attempts", "to", "convert", "any", "type", "to", "a", "string", "or", "an", "array", "of", "strings", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Transformer/ModelToElasticaAutoTransformer.php#L122-L140", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Transformer/ModelToElasticaAutoTransformer.php", "func_name": "ModelToElasticaAutoTransformer.transformObjectToDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms the given object to an elastica document.\n\n@param object $object the object to convert\n@param array $fields the keys we want to have in the returned array\n@param string $identifier the identifier for the new document\n\n@return Document", "docstring_tokens": ["Transforms", "the", "given", "object", "to", "an", "elastica", "document", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Transformer/ModelToElasticaAutoTransformer.php#L151-L213", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/ORM/ElasticaToModelTransformer.php", "func_name": "ElasticaToModelTransformer.getEntityQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a query builder to be used for querying by identifiers.\n\n@return \\Doctrine\\ORM\\QueryBuilder", "docstring_tokens": ["Retrieves", "a", "query", "builder", "to", "be", "used", "for", "querying", "by", "identifiers", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/ORM/ElasticaToModelTransformer.php#L59-L66", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/IndexTemplateManager.php", "func_name": "IndexTemplateManager.getIndexTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an index template by its name.\n\n@param string $name Index template to return\n\n@return IndexTemplate\n\n@throws \\InvalidArgumentException if no index template exists for the given name", "docstring_tokens": ["Gets", "an", "index", "template", "by", "its", "name", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/IndexTemplateManager.php#L35-L42", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/Resetter.php", "func_name": "Resetter.resetAllIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes and recreates all indexes.\n\n@param bool $populating\n@param bool $force", "docstring_tokens": ["Deletes", "and", "recreates", "all", "indexes", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/Resetter.php#L80-L85", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/Resetter.php", "func_name": "Resetter.resetIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes and recreates the named index. If populating, creates a new index\nwith a randomised name for an alias to be set after population.\n\n@param string $indexName\n@param bool $populating\n@param bool $force If index exists with same name as alias, remove it\n\n@throws \\InvalidArgumentException if no index exists for the given name", "docstring_tokens": ["Deletes", "and", "recreates", "the", "named", "index", ".", "If", "populating", "creates", "a", "new", "index", "with", "a", "randomised", "name", "for", "an", "alias", "to", "be", "set", "after", "population", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/Resetter.php#L97-L117", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/Resetter.php", "func_name": "Resetter.resetIndexType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes and recreates a mapping type for the named index.\n\n@param string $indexName\n@param string $typeName\n\n@throws \\InvalidArgumentException if no index or type mapping exists for the given names\n@throws ResponseException", "docstring_tokens": ["Deletes", "and", "recreates", "a", "mapping", "type", "for", "the", "named", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/Resetter.php#L128-L148", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/Resetter.php", "func_name": "Resetter.switchIndexAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switching aliases.\n\n@param string $indexName\n@param bool $delete Delete or close index\n\n@throws \\FOS\\ElasticaBundle\\Exception\\AliasIsIndexException", "docstring_tokens": ["Switching", "aliases", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/Resetter.php#L170-L178", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadIndexFinder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the configured index finders.\n\n@param \\Symfony\\Component\\DependencyInjection\\ContainerBuilder $container\n@param string $name The index name\n@param Reference $index Reference to the related index\n\n@return string", "docstring_tokens": ["Loads", "the", "configured", "index", "finders", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L281-L296", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadTypePersistenceIntegration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the optional provider and finder for a type.\n\n@param array $typeConfig\n@param ContainerBuilder $container\n@param Reference $typeRef\n@param string $indexName\n@param string $typeName", "docstring_tokens": ["Loads", "the", "optional", "provider", "and", "finder", "for", "a", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L432-L451", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadElasticaToModelTransformer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and loads an ElasticaToModelTransformer.\n\n@param array $typeConfig\n@param ContainerBuilder $container\n@param string $indexName\n@param string $typeName\n\n@return string", "docstring_tokens": ["Creates", "and", "loads", "an", "ElasticaToModelTransformer", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L463-L484", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadObjectPersister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and loads an object persister for a type.\n\n@param array $typeConfig\n@param Reference $typeRef\n@param ContainerBuilder $container\n@param string $indexName\n@param string $typeName\n@param string $transformerId\n\n@return string", "docstring_tokens": ["Creates", "and", "loads", "an", "object", "persister", "for", "a", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L529-L568", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadTypePagerProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a pager provider for a type.\n\n@param array $typeConfig\n@param ContainerBuilder $container\n@param string $indexName\n@param string $typeName\n\n@return string", "docstring_tokens": ["Loads", "a", "pager", "provider", "for", "a", "type", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L580-L623", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadTypeListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads doctrine listeners to handle indexing of new or updated objects.\n\n@param array $typeConfig\n@param ContainerBuilder $container\n@param string $objectPersisterId\n@param string $indexName\n@param string $typeName\n\n@return string", "docstring_tokens": ["Loads", "doctrine", "listeners", "to", "handle", "indexing", "of", "new", "or", "updated", "objects", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L636-L696", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.getDoctrineEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map Elastica to Doctrine events for the current driver.", "docstring_tokens": ["Map", "Elastica", "to", "Doctrine", "events", "for", "the", "current", "driver", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L701-L732", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadTypeFinder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a Type specific Finder.\n\n@param array $typeConfig\n@param ContainerBuilder $container\n@param string $elasticaToModelId\n@param Reference $typeRef\n@param string $indexName\n@param string $typeName\n\n@return string", "docstring_tokens": ["Loads", "a", "Type", "specific", "Finder", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L746-L772", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadIndexManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the index manager.\n\n@param ContainerBuilder $container", "docstring_tokens": ["Loads", "the", "index", "manager", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L779-L787", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadIndexTemplateManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load index template manager\n\n@param ContainerBuilder $container\n\n@return void", "docstring_tokens": ["Load", "index", "template", "manager"], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L796-L804", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes sure a specific driver has been loaded.\n\n@param ContainerBuilder $container\n@param string $driver", "docstring_tokens": ["Makes", "sure", "a", "specific", "driver", "has", "been", "loaded", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L812-L821", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.loadSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads and configures the serializer prototype.\n\n@param array $config\n@param ContainerBuilder $container", "docstring_tokens": ["Loads", "and", "configures", "the", "serializer", "prototype", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L829-L839", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/FOSElasticaExtension.php", "func_name": "FOSElasticaExtension.createDefaultManagerAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a default manager alias for defined default manager or the first loaded driver.\n\n@param string $defaultManager\n@param ContainerBuilder $container", "docstring_tokens": ["Creates", "a", "default", "manager", "alias", "for", "defined", "default", "manager", "or", "the", "first", "loaded", "driver", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/FOSElasticaExtension.php#L847-L865", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getDynamicTemplateNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"dynamic_templates\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "dynamic_templates", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L79-L104", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getTypesNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"types\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "types", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L109-L163", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getIdNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"_id\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "_id", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L183-L194", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getSourceNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"_source\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "_source", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L199-L220", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getRoutingNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"_routing\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "_routing", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L225-L237", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getParentNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"_parent\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "_parent", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L242-L255", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.getAllNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array node used for \"_all\".", "docstring_tokens": ["Returns", "the", "array", "node", "used", "for", "_all", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L260-L272", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.addIndexesSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the configuration for the \"indexes\" key.", "docstring_tokens": ["Adds", "the", "configuration", "for", "the", "indexes", "key", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L509-L541", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/DependencyInjection/Configuration.php", "func_name": "Configuration.addIndexTemplatesSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the configuration for the \"index_templates\" key.\n\n@param ArrayNodeDefinition $rootNode\n\n@return void", "docstring_tokens": ["Adds", "the", "configuration", "for", "the", "index_templates", "key", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/DependencyInjection/Configuration.php#L567-L588", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/AbstractElasticaToModelTransformer.php", "func_name": "AbstractElasticaToModelTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an array of elastica objects into an array of\nmodel objects fetched from the doctrine repository.\n\n@param array $elasticaObjects of elastica objects\n\n@throws \\RuntimeException\n\n@return array", "docstring_tokens": ["Transforms", "an", "array", "of", "elastica", "objects", "into", "an", "array", "of", "model", "objects", "fetched", "from", "the", "doctrine", "repository", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/AbstractElasticaToModelTransformer.php#L87-L128", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/Indexable.php", "func_name": "Indexable.isObjectIndexable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return whether the object is indexable with respect to the callback.\n\n@param string $indexName\n@param string $typeName\n@param mixed $object\n\n@return bool", "docstring_tokens": ["Return", "whether", "the", "object", "is", "indexable", "with", "respect", "to", "the", "callback", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/Indexable.php#L55-L73", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/Indexable.php", "func_name": "Indexable.buildCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and initialises a callback.\n\n@param string $type\n@param object $object\n\n@return callable|string|ExpressionLanguage|null", "docstring_tokens": ["Builds", "and", "initialises", "a", "callback", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/Indexable.php#L83-L100", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/Indexable.php", "func_name": "Indexable.buildExpressionCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes a string expression into an Expression.\n\n@param string $type\n@param mixed $object\n@param string $callback\n\n@return Expression", "docstring_tokens": ["Processes", "a", "string", "expression", "into", "an", "Expression", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/Indexable.php#L111-L131", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/Indexable.php", "func_name": "Indexable.getCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retreives a cached callback, or creates a new callback if one is not found.\n\n@param string $type\n@param object $object\n\n@return mixed", "docstring_tokens": ["Retreives", "a", "cached", "callback", "or", "creates", "a", "new", "callback", "if", "one", "is", "not", "found", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/Indexable.php#L141-L148", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Provider/Indexable.php", "func_name": "Indexable.getExpressionVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the variable name to be used to access the object when using the ExpressionLanguage\ncomponent to parse and evaluate an expression.\n\n@param mixed $object\n\n@return string", "docstring_tokens": ["Returns", "the", "variable", "name", "to", "be", "used", "to", "access", "the", "object", "when", "using", "the", "ExpressionLanguage", "component", "to", "parse", "and", "evaluate", "an", "expression", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Provider/Indexable.php#L172-L181", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.setRootName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the randomised root name for an index.\n\n@param IndexConfig $indexConfig\n@param Index $index", "docstring_tokens": ["Sets", "the", "randomised", "root", "name", "for", "an", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L29-L37", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.switchIndexAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switches an index to become the new target for an alias. Only applies for\nindexes that are set to use aliases.\n\n$force will delete an index encountered where an alias is expected.\n\n@param IndexConfig $indexConfig\n@param Index $index\n@param bool $force\n@param bool $delete\n\n@throws AliasIsIndexException", "docstring_tokens": ["Switches", "an", "index", "to", "become", "the", "new", "target", "for", "an", "alias", ".", "Only", "applies", "for", "indexes", "that", "are", "set", "to", "use", "aliases", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L52-L89", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.buildAliasUpdateRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds an ElasticSearch request to rename or create an alias.\n\n@param string|null $aliasedIndex\n@param string $aliasName\n@param string $newIndexName\n\n@return array", "docstring_tokens": ["Builds", "an", "ElasticSearch", "request", "to", "rename", "or", "create", "an", "alias", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L100-L116", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.cleanupRenameFailure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans up an index when we encounter a failure to rename the alias.\n\n@param Client $client\n@param string $indexName\n@param \\Exception $renameAliasException", "docstring_tokens": ["Cleans", "up", "an", "index", "when", "we", "encounter", "a", "failure", "to", "rename", "the", "alias", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L125-L143", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.closeIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close an index.\n\n@param Client $client\n@param string $indexName", "docstring_tokens": ["Close", "an", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L171-L187", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Index/AliasProcessor.php", "func_name": "AliasProcessor.getAliasedIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the name of a single index that an alias points to or throws\nan exception if there is more than one.\n\n@param Client $client\n@param string $aliasName Alias name\n\n@return string|null\n\n@throws AliasIsIndexException", "docstring_tokens": ["Returns", "the", "name", "of", "a", "single", "index", "that", "an", "alias", "points", "to", "or", "throws", "an", "exception", "if", "there", "is", "more", "than", "one", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Index/AliasProcessor.php#L200-L229", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Elastica/Client.php", "func_name": "Client.logQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log the query if we have an instance of ElasticaLogger.\n\n@param string $path\n@param string $method\n@param array|string $data\n@param array $query\n@param int $queryTime\n@param int $engineMS\n@param int $itemCount", "docstring_tokens": ["Log", "the", "query", "if", "we", "have", "an", "instance", "of", "ElasticaLogger", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Elastica/Client.php#L128-L146", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.postPersist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for new objects that should be indexed.\n\n@param LifecycleEventArgs $eventArgs", "docstring_tokens": ["Looks", "for", "new", "objects", "that", "should", "be", "indexed", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L118-L125", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.postUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for objects being updated that should be indexed or removed from the index.\n\n@param LifecycleEventArgs $eventArgs", "docstring_tokens": ["Looks", "for", "objects", "being", "updated", "that", "should", "be", "indexed", "or", "removed", "from", "the", "index", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L132-L144", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.preRemove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete objects preRemove instead of postRemove so that we have access to the id. Because this is called\npreRemove, first check that the entity is managed by Doctrine.\n\n@param LifecycleEventArgs $eventArgs", "docstring_tokens": ["Delete", "objects", "preRemove", "instead", "of", "postRemove", "so", "that", "we", "have", "access", "to", "the", "id", ".", "Because", "this", "is", "called", "preRemove", "first", "check", "that", "the", "entity", "is", "managed", "by", "Doctrine", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L152-L159", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.persistScheduled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist scheduled objects to ElasticSearch\nAfter persisting, clear the scheduled queue to prevent multiple data updates when using multiple flush calls.", "docstring_tokens": ["Persist", "scheduled", "objects", "to", "ElasticSearch", "After", "persisting", "clear", "the", "scheduled", "queue", "to", "prevent", "multiple", "data", "updates", "when", "using", "multiple", "flush", "calls", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L200-L216", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.scheduleForDeletion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record the specified identifier to delete. Do not need to entire object.\n\n@param object $object", "docstring_tokens": ["Record", "the", "specified", "identifier", "to", "delete", ".", "Do", "not", "need", "to", "entire", "object", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L223-L228", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/Listener.php", "func_name": "Listener.isObjectIndexable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the object is indexable or not.\n\n@param object $object\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "object", "is", "indexable", "or", "not", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/Listener.php#L237-L244", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Doctrine/RepositoryManager.php", "func_name": "RepositoryManager.getRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns custom repository if one specified otherwise returns a basic repository.\n\n{@inheritdoc}", "docstring_tokens": ["Returns", "custom", "repository", "if", "one", "specified", "otherwise", "returns", "a", "basic", "repository", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Doctrine/RepositoryManager.php#L68-L81", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Transformer/ModelToElasticaIdentifierTransformer.php", "func_name": "ModelToElasticaIdentifierTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an elastica document with the id of the doctrine object as id.\n\n@param object $object the object to convert\n@param array $fields the keys we want to have in the returned array\n\n@return Document", "docstring_tokens": ["Creates", "an", "elastica", "document", "with", "the", "id", "of", "the", "doctrine", "object", "as", "id", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Transformer/ModelToElasticaIdentifierTransformer.php#L30-L35", "partition": "test"} +{"repo": "FriendsOfSymfony/FOSElasticaBundle", "path": "src/Manager/RepositoryManager.php", "func_name": "RepositoryManager.getRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return repository for entity.\n\nReturns custom repository if one specified otherwise\nreturns a basic repository.\n\n@param string $typeName\n\n@return Repository", "docstring_tokens": ["Return", "repository", "for", "entity", "."], "sha": "3f2707d1d606a59527f74e88808b820a170d3f42", "url": "https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/3f2707d1d606a59527f74e88808b820a170d3f42/src/Manager/RepositoryManager.php#L60-L74", "partition": "test"} +{"repo": "vinkla/laravel-hashids", "path": "src/HashidsFactory.php", "func_name": "HashidsFactory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new Hashids client.\n\n@param array $config\n\n@return \\Hashids\\Hashids", "docstring_tokens": ["Make", "a", "new", "Hashids", "client", "."], "sha": "73cc853d76f47d615243ac7a5a0668d738f66d70", "url": "https://github.com/vinkla/laravel-hashids/blob/73cc853d76f47d615243ac7a5a0668d738f66d70/src/HashidsFactory.php#L32-L37", "partition": "test"} +{"repo": "vinkla/laravel-hashids", "path": "src/HashidsServiceProvider.php", "func_name": "HashidsServiceProvider.registerFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the factory class.\n\n@return void", "docstring_tokens": ["Register", "the", "factory", "class", "."], "sha": "73cc853d76f47d615243ac7a5a0668d738f66d70", "url": "https://github.com/vinkla/laravel-hashids/blob/73cc853d76f47d615243ac7a5a0668d738f66d70/src/HashidsServiceProvider.php#L74-L81", "partition": "test"} +{"repo": "Payum/Payum", "path": "src/Payum/Be2Bill/Api.php", "func_name": "Api.verifyHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify if the hash of the given parameter is correct\n\n@param array $params\n\n@return bool", "docstring_tokens": ["Verify", "if", "the", "hash", "of", "the", "given", "parameter", "is", "correct"], "sha": "cf4be4f91d9bf24069153aceeb44b4f5b3d4f011", "url": "https://github.com/Payum/Payum/blob/cf4be4f91d9bf24069153aceeb44b4f5b3d4f011/src/Payum/Be2Bill/Api.php#L173-L183", "partition": "test"} +{"repo": "Payum/Payum", "path": "src/Payum/Core/Bridge/Guzzle/HttpClientFactory.php", "func_name": "HttpClientFactory.createGuzzle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Guzzle client.\n\n@return \\GuzzleHttp\\Client", "docstring_tokens": ["Create", "a", "Guzzle", "client", "."], "sha": "cf4be4f91d9bf24069153aceeb44b4f5b3d4f011", "url": "https://github.com/Payum/Payum/blob/cf4be4f91d9bf24069153aceeb44b4f5b3d4f011/src/Payum/Core/Bridge/Guzzle/HttpClientFactory.php#L19-L41", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/CookieJar.php", "func_name": "CookieJar.addCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a cookie to the current cookie jar.", "docstring_tokens": ["Adds", "a", "cookie", "to", "the", "current", "cookie", "jar", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/CookieJar.php#L39-L42", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/CookieJar.php", "func_name": "CookieJar.addCookieHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds Cookie headers to the supplied request.", "docstring_tokens": ["Adds", "Cookie", "headers", "to", "the", "supplied", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/CookieJar.php#L47-L60", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/CookieJar.php", "func_name": "CookieJar.clearExpiredCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes expired cookies.", "docstring_tokens": ["Removes", "expired", "cookies", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/CookieJar.php#L78-L89", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/CookieJar.php", "func_name": "CookieJar.getHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an unique identifier for the cookie. Two cookies with the same identifier\nmay have different values.", "docstring_tokens": ["Create", "an", "unique", "identifier", "for", "the", "cookie", ".", "Two", "cookies", "with", "the", "same", "identifier", "may", "have", "different", "values", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/CookieJar.php#L95-L103", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Message/ResponseBuilder.php", "func_name": "ResponseBuilder.addHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a single HTTP header line.", "docstring_tokens": ["Add", "a", "single", "HTTP", "header", "line", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Message/ResponseBuilder.php#L81-L85", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Message/ResponseBuilder.php", "func_name": "ResponseBuilder.parseHttpHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add HTTP headers. The input array is all the header lines from the HTTP message. Optionally including the\nstatus line.", "docstring_tokens": ["Add", "HTTP", "headers", ".", "The", "input", "array", "is", "all", "the", "header", "lines", "from", "the", "HTTP", "message", ".", "Optionally", "including", "the", "status", "line", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Message/ResponseBuilder.php#L91-L105", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.handleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populates uri, method and entityBody used to generate the Authentication header using the specified request object.\nAppends the Authentication header if it is present and has been able to be calculated.", "docstring_tokens": ["Populates", "uri", "method", "and", "entityBody", "used", "to", "generate", "the", "Authentication", "header", "using", "the", "specified", "request", "object", ".", "Appends", "the", "Authentication", "header", "if", "it", "is", "present", "and", "has", "been", "able", "to", "be", "calculated", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L78-L90", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the options to be used by this class.\n\n@param mixed $options a bitmask of the constants defined in this class", "docstring_tokens": ["Sets", "the", "options", "to", "be", "used", "by", "this", "class", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L139-L157", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getClientNonce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns either the current value of clientNonce or generates a new value if clientNonce is null.\nAlso increments nonceCount.\n\n@return string Returns either the current value of clientNonce the newly generated clientNonce;", "docstring_tokens": ["Returns", "either", "the", "current", "value", "of", "clientNonce", "or", "generates", "a", "new", "value", "if", "clientNonce", "is", "null", ".", "Also", "increments", "nonceCount", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L202-L221", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getHA1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the value of HA1 according to RFC 2617 and RFC 2069.\n\n@return string|null The value of HA1", "docstring_tokens": ["Calculates", "the", "value", "of", "HA1", "according", "to", "RFC", "2617", "and", "RFC", "2069", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L249-L274", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getHA2", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the value of HA2 according to RFC 2617 and RFC 2069.\n\n@return string The value of HA2", "docstring_tokens": ["Calculates", "the", "value", "of", "HA2", "according", "to", "RFC", "2617", "and", "RFC", "2069", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L281-L304", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full Authentication header for use in authenticating the client with either Digest or Basic authentication.\n\n@return string the Authentication header to be sent to the server", "docstring_tokens": ["Returns", "the", "full", "Authentication", "header", "for", "use", "in", "authenticating", "the", "client", "with", "either", "Digest", "or", "Basic", "authentication", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L311-L371", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the value of response according to RFC 2617 and RFC 2069.\n\n@return string The value of response", "docstring_tokens": ["Calculates", "the", "value", "of", "response", "according", "to", "RFC", "2617", "and", "RFC", "2069", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L439-L464", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.getQOP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Quality of Protection to be used when authenticating with the server.\n\n@return string this will either be auth-int or auth", "docstring_tokens": ["Returns", "the", "Quality", "of", "Protection", "to", "be", "used", "when", "authenticating", "with", "the", "server", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L471-L494", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.hash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the hash for a given value using the algorithm specified by the server.\n\n@param string $value The value to be hashed\n\n@return string the hashed value", "docstring_tokens": ["Calculates", "the", "hash", "for", "a", "given", "value", "using", "the", "algorithm", "specified", "by", "the", "server", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L523-L531", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.parseAuthenticationInfoHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the Authentication-Info header received from the server and calls the relevant setter method on each variable received.\n\n@param string $authenticationInfo the full Authentication-Info header", "docstring_tokens": ["Parses", "the", "Authentication", "-", "Info", "header", "received", "from", "the", "server", "and", "calls", "the", "relevant", "setter", "method", "on", "each", "variable", "received", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L538-L556", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.parseNameValuePairs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a string of name=value pairs separated by commas and returns and array with the name as the index.\n\n@param string $nameValuePairs the string containing the name=value pairs\n\n@return array an array with the name used as the index and the values stored within", "docstring_tokens": ["Parses", "a", "string", "of", "name", "=", "value", "pairs", "separated", "by", "commas", "and", "returns", "and", "array", "with", "the", "name", "as", "the", "index", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L565-L581", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.parseWwwAuthenticateHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the WWW-Authenticate header received from the server and calls the relevant setter method on each variable received.\n\n@param string $wwwAuthenticate the full WWW-Authenticate header", "docstring_tokens": ["Parses", "the", "WWW", "-", "Authenticate", "header", "received", "from", "the", "server", "and", "calls", "the", "relevant", "setter", "method", "on", "each", "variable", "received", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L605-L659", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.setAlgorithm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the hashing algorithm to be used. Currently only uses MD5 specified by either MD5 or MD5-sess.\nRFCs are currently in draft stage for the proposal of SHA-256 and SHA-512-256.\nSupport will be added once the RFC leaves the draft stage.\n\n@param string $algorithm the algorithm the server has requested to use\n\n@throws \\InvalidArgumentException if $algorithm is set to anything other than MD5 or MD5-sess", "docstring_tokens": ["Sets", "the", "hashing", "algorithm", "to", "be", "used", ".", "Currently", "only", "uses", "MD5", "specified", "by", "either", "MD5", "or", "MD5", "-", "sess", ".", "RFCs", "are", "currently", "in", "draft", "stage", "for", "the", "proposal", "of", "SHA", "-", "256", "and", "SHA", "-", "512", "-", "256", ".", "Support", "will", "be", "added", "once", "the", "RFC", "leaves", "the", "draft", "stage", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L670-L677", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.setMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the HTTP method being used for the request.\n\n@param string $method The HTTP method\n\n@throws \\InvalidArgumentException if $method is set to anything other than GET,POST,PUT,DELETE or HEAD", "docstring_tokens": ["Sets", "the", "HTTP", "method", "being", "used", "for", "the", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L728-L757", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/DigestAuthMiddleware.php", "func_name": "DigestAuthMiddleware.unquoteString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If a string contains quotation marks at either end this function will strip them. Otherwise it will remain unchanged.\n\n@param string $str the string to be stripped of quotation marks\n\n@return string returns the original string without the quotation marks at either end", "docstring_tokens": ["If", "a", "string", "contains", "quotation", "marks", "at", "either", "end", "this", "function", "will", "strip", "them", ".", "Otherwise", "it", "will", "remain", "unchanged", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/DigestAuthMiddleware.php#L819-L831", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Configuration/ParameterBag.php", "func_name": "ParameterBag.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds parameters to the existing ones.\n\n@param array $parameters An array of parameters", "docstring_tokens": ["Adds", "parameters", "to", "the", "existing", "ones", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Configuration/ParameterBag.php#L53-L66", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Message/HeaderConverter.php", "func_name": "HeaderConverter.toBuzzHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert from Buzz style headers to PSR style.", "docstring_tokens": ["Convert", "from", "Buzz", "style", "headers", "to", "PSR", "style", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Message/HeaderConverter.php#L27-L42", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Message/HeaderConverter.php", "func_name": "HeaderConverter.toPsrHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert from PSR style headers to Buzz style.", "docstring_tokens": ["Convert", "from", "PSR", "style", "headers", "to", "Buzz", "style", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Message/HeaderConverter.php#L47-L56", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/MultiCurl.php", "func_name": "MultiCurl.sendAsyncRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populates the supplied response with the response for the supplied request.\n\nIf a \"callback\" option is supplied, its value will be called when the\nrequest completes. It is ONLY in the callback you will see the response\nor an exception.\n\nThis is a non-blocking function call.\n\nThe callable should have the following signature:\n\n$callback = function($request, $response, $exception) {\nif (!$exception) {\n// success\n} else {\n// error ($error is one of the CURLE_* constants)\n}\n};", "docstring_tokens": ["Populates", "the", "supplied", "response", "with", "the", "response", "for", "the", "supplied", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/MultiCurl.php#L84-L89", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/MultiCurl.php", "func_name": "MultiCurl.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is a blocking function call.", "docstring_tokens": ["This", "is", "a", "blocking", "function", "call", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/MultiCurl.php#L94-L112", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/MultiCurl.php", "func_name": "MultiCurl.proceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "See if any connection is ready to be processed.\n\nThis is a non-blocking function call.\n\n@throws ClientException if we fail to initialized cUrl", "docstring_tokens": ["See", "if", "any", "connection", "is", "ready", "to", "be", "processed", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/MultiCurl.php#L157-L222", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/MultiCurl.php", "func_name": "MultiCurl.initMultiCurlHandle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a multi curl handle and add some properties to it.", "docstring_tokens": ["Create", "a", "multi", "curl", "handle", "and", "add", "some", "properties", "to", "it", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/MultiCurl.php#L284-L315", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/MultiCurl.php", "func_name": "MultiCurl.cleanup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If we got no requests in the queue, do a clean up to save some memory.", "docstring_tokens": ["If", "we", "got", "no", "requests", "in", "the", "queue", "do", "a", "clean", "up", "to", "save", "some", "memory", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/MultiCurl.php#L359-L367", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/Cookie.php", "func_name": "Cookie.matchesRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the current cookie matches the supplied request.\n\n@param RequestInterface $request A request object", "docstring_tokens": ["Returns", "true", "if", "the", "current", "cookie", "matches", "the", "supplied", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/Cookie.php#L42-L61", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/Cookie.php", "func_name": "Cookie.isExpired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true of the current cookie has expired.\n\nChecks the max-age and expires attributes.\n\n@return bool Whether the current cookie has expired", "docstring_tokens": ["Returns", "true", "of", "the", "current", "cookie", "has", "expired", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/Cookie.php#L70-L83", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/Cookie.php", "func_name": "Cookie.matchesDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the current cookie matches the supplied domain.\n\n@param string $domain A domain hostname", "docstring_tokens": ["Returns", "true", "if", "the", "current", "cookie", "matches", "the", "supplied", "domain", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/Cookie.php#L90-L101", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/Cookie.php", "func_name": "Cookie.matchesPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the current cookie matches the supplied path.\n\n@param string $path A path", "docstring_tokens": ["Returns", "true", "if", "the", "current", "cookie", "matches", "the", "supplied", "path", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/Cookie.php#L108-L113", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/Cookie/Cookie.php", "func_name": "Cookie.fromSetCookieHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populates the current cookie with data from the supplied Set-Cookie header.\n\n@param string $header A Set-Cookie header\n@param string $issuingDomain The domain that issued the header", "docstring_tokens": ["Populates", "the", "current", "cookie", "with", "data", "from", "the", "supplied", "Set", "-", "Cookie", "header", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/Cookie/Cookie.php#L121-L148", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/AbstractCurl.php", "func_name": "AbstractCurl.releaseHandle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Release a cUrl resource. This function is from Guzzle.\n\n@param resource $curl", "docstring_tokens": ["Release", "a", "cUrl", "resource", ".", "This", "function", "is", "from", "Guzzle", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/AbstractCurl.php#L58-L77", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/AbstractCurl.php", "func_name": "AbstractCurl.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares a cURL resource to send a request.\n\n@param resource $curl", "docstring_tokens": ["Prepares", "a", "cURL", "resource", "to", "send", "a", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/AbstractCurl.php#L84-L120", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Client/AbstractCurl.php", "func_name": "AbstractCurl.setOptionsFromRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets options on a cURL resource based on a request.\n\n@param resource $curl A cURL resource\n@param RequestInterface $request A request object", "docstring_tokens": ["Sets", "options", "on", "a", "cURL", "resource", "based", "on", "a", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Client/AbstractCurl.php#L128-L185", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Browser.php", "func_name": "Browser.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a PSR7 request.\n\n@throws ClientException\n@throws LogicException\n@throws InvalidArgumentException", "docstring_tokens": ["Send", "a", "PSR7", "request", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Browser.php#L144-L158", "partition": "test"} +{"repo": "kriswallsmith/Buzz", "path": "lib/Middleware/History/Journal.php", "func_name": "Journal.record", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Records an entry in the journal.\n\n@param RequestInterface $request The request\n@param ResponseInterface $response The response\n@param float|null $duration The duration in seconds", "docstring_tokens": ["Records", "an", "entry", "in", "the", "journal", "."], "sha": "3d436434ab6019a309b8813839a3693997d03774", "url": "https://github.com/kriswallsmith/Buzz/blob/3d436434ab6019a309b8813839a3693997d03774/lib/Middleware/History/Journal.php#L27-L30", "partition": "test"} +{"repo": "mikehaertl/phpwkhtmltopdf", "path": "src/Image.php", "func_name": "Image.createImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the Command to create the tmp image file\n\n@return bool whether creation was successful", "docstring_tokens": ["Run", "the", "Command", "to", "create", "the", "tmp", "image", "file"], "sha": "1c9fc9feb5dc0e6f3039e57533bea90de78e602a", "url": "https://github.com/mikehaertl/phpwkhtmltopdf/blob/1c9fc9feb5dc0e6f3039e57533bea90de78e602a/src/Image.php#L236-L256", "partition": "test"} +{"repo": "mikehaertl/phpwkhtmltopdf", "path": "src/Pdf.php", "func_name": "Pdf.addCover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a cover page object to the output\n\n@param string $input either a URL, a HTML string or a filename\n@param array $options optional options for the cover page\n@param string|null $type a type hint if the input is a string of known\ntype. This can either be `TYPE_HTML` or `TYPE_XML`. If `null` (default)\nthe type is auto detected from the string content.\n@return static the Pdf instance for method chaining", "docstring_tokens": ["Add", "a", "cover", "page", "object", "to", "the", "output"], "sha": "1c9fc9feb5dc0e6f3039e57533bea90de78e602a", "url": "https://github.com/mikehaertl/phpwkhtmltopdf/blob/1c9fc9feb5dc0e6f3039e57533bea90de78e602a/src/Pdf.php#L146-L152", "partition": "test"} +{"repo": "mikehaertl/phpwkhtmltopdf", "path": "src/Pdf.php", "func_name": "Pdf.addToc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a TOC object to the output\n\n@param array $options optional options for the table of contents\n@return static the Pdf instance for method chaining", "docstring_tokens": ["Add", "a", "TOC", "object", "to", "the", "output"], "sha": "1c9fc9feb5dc0e6f3039e57533bea90de78e602a", "url": "https://github.com/mikehaertl/phpwkhtmltopdf/blob/1c9fc9feb5dc0e6f3039e57533bea90de78e602a/src/Pdf.php#L160-L165", "partition": "test"} +{"repo": "mikehaertl/phpwkhtmltopdf", "path": "src/Pdf.php", "func_name": "Pdf.createPdf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the Command to create the tmp PDF file\n\n@return bool whether creation was successful", "docstring_tokens": ["Run", "the", "Command", "to", "create", "the", "tmp", "PDF", "file"], "sha": "1c9fc9feb5dc0e6f3039e57533bea90de78e602a", "url": "https://github.com/mikehaertl/phpwkhtmltopdf/blob/1c9fc9feb5dc0e6f3039e57533bea90de78e602a/src/Pdf.php#L281-L302", "partition": "test"} +{"repo": "mikehaertl/phpwkhtmltopdf", "path": "src/Pdf.php", "func_name": "Pdf.ensureUrlOrFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method creates a temporary file if the passed argument is neither a\nFile instance or URL nor contains XML or HTML and is also not a valid\nfile name.\n\n@param string|File $input the input argument File to check\n@param string|null $type a type hint if the input is a string of known\ntype. This can either be `TYPE_HTML` or `TYPE_XML`. If `null` (default)\nthe type is auto detected from the string content.\n@return \\mikehaertl\\tmp\\File|string a File object if the input is a HTML\nor XML string. The unchanged input otherwhise.", "docstring_tokens": ["This", "method", "creates", "a", "temporary", "file", "if", "the", "passed", "argument", "is", "neither", "a", "File", "instance", "or", "URL", "nor", "contains", "XML", "or", "HTML", "and", "is", "also", "not", "a", "valid", "file", "name", "."], "sha": "1c9fc9feb5dc0e6f3039e57533bea90de78e602a", "url": "https://github.com/mikehaertl/phpwkhtmltopdf/blob/1c9fc9feb5dc0e6f3039e57533bea90de78e602a/src/Pdf.php#L316-L342", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.createClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Guzzle client for future usage.\n\n@param array $options Optional parameters for the client.\n\n@return Client", "docstring_tokens": ["Create", "a", "Guzzle", "client", "for", "future", "usage", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L99-L129", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.createMiddlewareStack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a middleware stack with given middleware.\n\n@param ServiceOptions $serviceOptions The options user passed in.\n\n@return MiddlewareStack", "docstring_tokens": ["Create", "a", "middleware", "stack", "with", "given", "middleware", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L148-L184", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.createRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the request to be sent.\n\n@param string $method The method of the HTTP request\n@param array $headers The header field of the request\n@param array $queryParams The query parameter of the request\n@param array $postParameters The HTTP POST parameters\n@param string $path URL path\n@param string $body Request body\n\n@return \\GuzzleHttp\\Psr7\\Request", "docstring_tokens": ["Create", "the", "request", "to", "be", "sent", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L263-L323", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.sendAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create promise of sending HTTP request with the specified parameters.\n\n@param string $method HTTP method used in the request\n@param array $headers HTTP headers.\n@param array $queryParams URL query parameters.\n@param array $postParameters The HTTP POST parameters.\n@param string $path URL path\n@param array|int $expected Expected Status Codes.\n@param string $body Request body\n@param ServiceOptions $serviceOptions Service options\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Create", "promise", "of", "sending", "HTTP", "request", "with", "the", "specified", "parameters", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L339-L416", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.generateRequestOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the request options using the given service options and stored\ninformation.\n\n@param ServiceOptions $serviceOptions The service options used to\ngenerate request options.\n@param callable $handler The handler used to send the\nrequest.\n@return array", "docstring_tokens": ["Generate", "the", "request", "options", "using", "the", "given", "service", "options", "and", "stored", "information", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L428-L441", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.sendContextAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the promise to send the context.\n\n@param HttpCallContext $context The context of the request.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "the", "promise", "to", "send", "the", "context", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L461-L473", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.throwIfError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws ServiceException if the received status code is not expected.\n\n@param ResponseInterface $response The response received\n@param array|int $expected The expected status codes.\n\n@return void\n\n@throws ServiceException", "docstring_tokens": ["Throws", "ServiceException", "if", "the", "received", "status", "code", "is", "not", "expected", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L485-L492", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.addPostParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds HTTP POST parameter to the specified\n\n@param array $postParameters An array of HTTP POST parameters.\n@param string $key The key of a HTTP POST parameter.\n@param string $value the value of a HTTP POST parameter.\n\n@return array", "docstring_tokens": ["Adds", "HTTP", "POST", "parameter", "to", "the", "specified"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L503-L511", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.addMetadataHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds metadata elements to headers array\n\n@param array $headers HTTP request headers\n@param array $metadata user specified metadata\n\n@return array", "docstring_tokens": ["Adds", "metadata", "elements", "to", "headers", "array"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L544-L552", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestProxy.php", "func_name": "ServiceRestProxy.addLocationHeaderToResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the header that indicates the location mode to the response header.\n\n@return ResponseInterface", "docstring_tokens": ["Adds", "the", "header", "that", "indicates", "the", "location", "mode", "to", "the", "response", "header", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestProxy.php#L608-L638", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity._validateProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates if properties is valid or not.\n\n@param mixed $properties The properties array.\n\n@return void", "docstring_tokens": ["Validates", "if", "properties", "is", "valid", "or", "not", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L53-L72", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity.getPropertyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets property value and if the property name is not found return null.\n\n@param string $name The property name.\n\n@return mixed", "docstring_tokens": ["Gets", "property", "value", "and", "if", "the", "property", "name", "is", "not", "found", "return", "null", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L81-L85", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity.setPropertyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets property value.\n\nNote that if the property doesn't exist, it doesn't add it. Use addProperty\nto add new properties.\n\n@param string $name The property name.\n@param mixed $value The property value.\n\n@return mixed", "docstring_tokens": ["Sets", "property", "value", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L98-L104", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity.setProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets entity property.\n\n@param string $name The property name.\n@param Property $property The property object.\n\n@return void", "docstring_tokens": ["Sets", "entity", "property", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L237-L241", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity.addProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new entity property.\n\n@param string $name The property name.\n@param string $edmType The property edm type.\n@param mixed $value The property value.\n@param string $rawValue The raw value of the property.", "docstring_tokens": ["Creates", "new", "entity", "property", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L251-L258", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Entity.php", "func_name": "Entity.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the entity object is valid or not.\nValid means the partition and row key exists for this entity along with the\ntimestamp.\n\n@param string &$msg The error message.\n\n@internal\n\n@return boolean", "docstring_tokens": ["Checks", "if", "the", "entity", "object", "is", "valid", "or", "not", ".", "Valid", "means", "the", "partition", "and", "row", "key", "exists", "for", "this", "entity", "along", "with", "the", "timestamp", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Entity.php#L271-L288", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/GetTableResult.php", "func_name": "GetTableResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates GetTableResult from HTTP response body.\n\n@param string $body The HTTP response body.\n@param IODataReaderWriter $odataSerializer The OData reader and writer.\n\n@internal\n\n@return GetTableResult", "docstring_tokens": ["Creates", "GetTableResult", "from", "HTTP", "response", "body", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/GetTableResult.php#L51-L58", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php", "func_name": "SharedKeyAuthScheme.computeSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the authorization signature for blob and queue shared key.\n\n@param array $headers request headers.\n@param string $url reuqest url.\n@param array $queryParams query variables.\n@param string $httpMethod request http method.\n\n@see Blob and Queue Services (Shared Key Authentication) at\nhttp://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx\n\n@return string", "docstring_tokens": ["Computes", "the", "authorization", "signature", "for", "blob", "and", "queue", "shared", "key", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php#L101-L129", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php", "func_name": "SharedKeyAuthScheme.getAuthorizationHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns authorization header to be included in the request.\n\n@param array $headers request headers.\n@param string $url reuqest url.\n@param array $queryParams query variables.\n@param string $httpMethod request http method.\n\n@see Specifying the Authorization Header section at\nhttp://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx\n\n@return string", "docstring_tokens": ["Returns", "authorization", "header", "to", "be", "included", "in", "the", "request", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php#L144-L160", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php", "func_name": "SharedKeyAuthScheme.computeCanonicalizedHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes canonicalized headers for headers array.\n\n@param array $headers request headers.\n\n@see Constructing the Canonicalized Headers String section at\nhttp://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx\n\n@return array", "docstring_tokens": ["Computes", "canonicalized", "headers", "for", "headers", "array", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php#L172-L211", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php", "func_name": "SharedKeyAuthScheme.computeCanonicalizedResourceForTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes canonicalized resources from URL using Table formar\n\n@param string $url request url.\n@param array $queryParams request query variables.\n\n@see Constructing the Canonicalized Resource String section at\nhttp://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx\n\n@return string", "docstring_tokens": ["Computes", "canonicalized", "resources", "from", "URL", "using", "Table", "formar"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php#L224-L244", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php", "func_name": "SharedKeyAuthScheme.computeCanonicalizedResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes canonicalized resources from URL.\n\n@param string $url request url.\n@param array $queryParams request query variables.\n\n@see Constructing the Canonicalized Resource String section at\nhttp://msdn.microsoft.com/en-us/library/windowsazure/dd179428.aspx\n\n@return string", "docstring_tokens": ["Computes", "canonicalized", "resources", "from", "URL", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php#L257-L290", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ACLBase.php", "func_name": "ACLBase.toXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts this signed identifiers to XML representation.\n\n@param XmlSerializer $xmlSerializer The XML serializer.\n\n@internal\n\n@return string", "docstring_tokens": ["Converts", "this", "signed", "identifiers", "to", "XML", "representation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ACLBase.php#L94-L102", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ACLBase.php", "func_name": "ACLBase.fromXmlArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct the signed identifiers from a given parsed XML in array\nrepresentation.\n\n@param array|null $parsed The parsed XML into array representation.\n\n@internal\n\n@return void", "docstring_tokens": ["Construct", "the", "signed", "identifiers", "from", "a", "given", "parsed", "XML", "in", "array", "representation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ACLBase.php#L114-L140", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ACLBase.php", "func_name": "ACLBase.addSignedIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a signed identifier to the ACL.\n\n@param string $id A unique id for this signed identifier.\n@param \\DateTime $start The time at which the Shared Access\nSignature becomes valid. If omitted, start\ntime for this call is assumed to be the\ntime when the service receives the\nrequest.\n@param \\DateTime $expiry The time at which the Shared Access\nSignature becomes invalid.\n@param string $permissions The permissions associated with the Shared\nAccess Signature. The user is restricted to\noperations allowed by the permissions.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/establishing-a-stored-access-policy", "docstring_tokens": ["Add", "a", "signed", "identifier", "to", "the", "ACL", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ACLBase.php#L186-L218", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ACLBase.php", "func_name": "ACLBase.removeSignedIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the signed identifier with given ID.\n\n@param string $id The ID of the signed identifier to be removed.\n\n@return boolean", "docstring_tokens": ["Remove", "the", "signed", "identifier", "with", "given", "ID", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ACLBase.php#L227-L239", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperations.php", "func_name": "BatchOperations.setOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the batch operations.\n\n@param array $operations The batch operations.\n\n@return void", "docstring_tokens": ["Sets", "the", "batch", "operations", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperations.php#L69-L75", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperations.php", "func_name": "BatchOperations.addOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds operation to the batch operations.\n\n@param mixed $operation The operation to add.\n\n@return void", "docstring_tokens": ["Adds", "operation", "to", "the", "batch", "operations", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperations.php#L84-L92", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperations.php", "func_name": "BatchOperations.addInsertEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds insertEntity operation.\n\n@param string $table The table name.\n@param Entity $entity The entity instance.\n\n@return void", "docstring_tokens": ["Adds", "insertEntity", "operation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperations.php#L102-L113", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperations.php", "func_name": "BatchOperations.addDeleteEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds deleteEntity operation.\n\n@param string $table The table name.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param string $etag The entity etag.\n\n@return void", "docstring_tokens": ["Adds", "deleteEntity", "operation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperations.php#L209-L226", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/CopyFileResult.php", "func_name": "CopyFileResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates CopyFileResult object from parsed response header.\n\n@param array $headers HTTP response headers\n\n@internal\n\n@return CopyFileResult", "docstring_tokens": ["Creates", "CopyFileResult", "object", "from", "parsed", "response", "header", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/CopyFileResult.php#L57-L71", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/QueueMessage.php", "func_name": "QueueMessage.createFromListMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates QueueMessage object from parsed XML response of\nListMessages.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return QueueMessage", "docstring_tokens": ["Creates", "QueueMessage", "object", "from", "parsed", "XML", "response", "of", "ListMessages", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/QueueMessage.php#L61-L71", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/QueueMessage.php", "func_name": "QueueMessage.createFromPeekMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates QueueMessage object from parsed XML response of\nPeekMessages.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return QueueMessage", "docstring_tokens": ["Creates", "QueueMessage", "object", "from", "parsed", "XML", "response", "of", "PeekMessages", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/QueueMessage.php#L83-L101", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/QueueMessage.php", "func_name": "QueueMessage.createFromCreateMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates QueueMessage object from parsed XML response of\ncreateMessage.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return QueueMessage", "docstring_tokens": ["Creates", "QueueMessage", "object", "from", "parsed", "XML", "response", "of", "createMessage", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/QueueMessage.php#L113-L134", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes static members of the class.\n\n@return void", "docstring_tokens": ["Initializes", "static", "members", "of", "the", "class", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L84-L157", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.getDevelopmentStorageAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a StorageServiceSettings with development storage credentials using\nthe specified proxy Uri.\n\n@param string $proxyUri The proxy endpoint to use.\n\n@return StorageServiceSettings", "docstring_tokens": ["Returns", "a", "StorageServiceSettings", "with", "development", "storage", "credentials", "using", "the", "specified", "proxy", "Uri", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L216-L234", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.developmentStorageAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a StorageServiceSettings object that references the development storage\naccount.\n\n@return StorageServiceSettings", "docstring_tokens": ["Gets", "a", "StorageServiceSettings", "object", "that", "references", "the", "development", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L242-L251", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.getServiceEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the default service endpoint using the specified protocol and account\nname.\n\n@param string $scheme The scheme of the service end point.\n@param string $accountName The account name of the service.\n@param string $dnsPrefix The service DNS prefix.\n@param string $dnsSuffix The service DNS suffix.\n@param bool $isSecondary If generating secondary endpoint.\n\n@return string", "docstring_tokens": ["Gets", "the", "default", "service", "endpoint", "using", "the", "specified", "protocol", "and", "account", "name", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L265-L284", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.createStorageServiceSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates StorageServiceSettings object given endpoints uri.\n\n@param array $settings The service settings.\n@param string $blobEndpointUri The blob endpoint uri.\n@param string $queueEndpointUri The queue endpoint uri.\n@param string $tableEndpointUri The table endpoint uri.\n@param string $fileEndpointUri The file endpoint uri.\n@param string $blobSecondaryEndpointUri The blob secondary endpoint uri.\n@param string $queueSecondaryEndpointUri The queue secondary endpoint uri.\n@param string $tableSecondaryEndpointUri The table secondary endpoint uri.\n@param string $fileSecondaryEndpointUri The file secondary endpoint uri.\n\n@return StorageServiceSettings", "docstring_tokens": ["Creates", "StorageServiceSettings", "object", "given", "endpoints", "uri", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L301-L358", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.createFromConnectionString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a StorageServiceSettings object from the given connection string.\n\n@param string $connectionString The storage settings connection string.\n\n@return StorageServiceSettings", "docstring_tokens": ["Creates", "a", "StorageServiceSettings", "object", "from", "the", "given", "connection", "string", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L367-L508", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/StorageServiceSettings.php", "func_name": "StorageServiceSettings.createFromConnectionStringForTokenCredential", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a StorageServiceSettings object from the given connection string.\nNote this is only for AAD connection string, it should at least contain\nthe account name.\n\n@param string $connectionString The storage settings connection string.\n\n@return StorageServiceSettings", "docstring_tokens": ["Creates", "a", "StorageServiceSettings", "object", "from", "the", "given", "connection", "string", ".", "Note", "this", "is", "only", "for", "AAD", "connection", "string", "it", "should", "at", "least", "contain", "the", "account", "name", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/StorageServiceSettings.php#L519-L592", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Internal/MimeReaderWriter.php", "func_name": "MimeReaderWriter.encodeMimeMultipart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given array of MIME parts in raw string, this function converts them into MIME\nrepresentation.\n\n@param array $bodyPartContents The MIME body parts.\n\n@return array Returns array with two elements 'headers' and 'body' which\nrepresents the MIME message.", "docstring_tokens": ["Given", "array", "of", "MIME", "parts", "in", "raw", "string", "this", "function", "converts", "them", "into", "MIME", "representation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Internal/MimeReaderWriter.php#L52-L95", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Internal/MimeReaderWriter.php", "func_name": "MimeReaderWriter.decodeMimeMultipart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses given mime HTTP response body into array. Each array element\nrepresents a change set result.\n\n@param string $mimeBody The raw MIME body result.\n\n@return array", "docstring_tokens": ["Parses", "given", "mime", "HTTP", "response", "body", "into", "array", ".", "Each", "array", "element", "represents", "a", "change", "set", "result", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Internal/MimeReaderWriter.php#L105-L127", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ListSharesResult.php", "func_name": "ListSharesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates ListSharesResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n@param string $location Contains the location for the previous\nrequest.\n\n@internal\n\n@return ListSharesResult", "docstring_tokens": ["Creates", "ListSharesResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ListSharesResult.php#L63-L115", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ListSharesResult.php", "func_name": "ListSharesResult.setShares", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets shares.\n\n@param array $shares list of shares.\n\n@return void", "docstring_tokens": ["Sets", "shares", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ListSharesResult.php#L124-L130", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/RetryMiddleware.php", "func_name": "RetryMiddleware.retry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function does the real retry job.\n\n@param RequestInterface $request the request sent.\n@param array $options the options that the request sent with.\n@param ResponseInterface $response the response of the request\n\n@return callable", "docstring_tokens": ["This", "function", "does", "the", "real", "retry", "job", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/RetryMiddleware.php#L142-L180", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyAnd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply and operation between two filters\n\n@param Filter $left The left filter\n@param Filter $right The right filter\n\n@return \\MicrosoftAzure\\Storage\\Table\\Models\\Filters\\BinaryFilter", "docstring_tokens": ["Apply", "and", "operation", "between", "two", "filters"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L47-L51", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyOr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply or operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "or", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L74-L78", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyEq", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply eq operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "eq", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L88-L92", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyNe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply ne operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "ne", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L102-L106", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyGe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply ge operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "ge", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L116-L120", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyGt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply gt operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "gt", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L130-L134", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyLt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply lt operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "lt", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L144-L148", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/Filters/Filter.php", "func_name": "Filter.applyLe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply le operation on the passed filers\n\n@param Filter $left The left operand\n@param Filter $right The right operand\n\n@return BinaryFilter", "docstring_tokens": ["Apply", "le", "operation", "on", "the", "passed", "filers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/Filters/Filter.php#L158-L162", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/ContinuationToken.php", "func_name": "ContinuationToken.setLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter for location\n\n@param string $location the location to be set.", "docstring_tokens": ["Setter", "for", "location"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/ContinuationToken.php#L56-L71", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Serialization/JsonSerializer.php", "func_name": "JsonSerializer.unserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserializes given serialized string to array.\n\n@param string $serialized The serialized object in string representation.\n\n@return array", "docstring_tokens": ["Unserializes", "given", "serialized", "string", "to", "array", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Serialization/JsonSerializer.php#L85-L95", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/PeekMessagesResult.php", "func_name": "PeekMessagesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates PeekMessagesResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return PeekMessagesResult", "docstring_tokens": ["Creates", "PeekMessagesResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/PeekMessagesResult.php#L53-L71", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/GetEntityResult.php", "func_name": "GetEntityResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create GetEntityResult object from HTTP response parts.\n\n@param string $body The HTTP response body.\n@param IODataReaderWriter $odataSerializer The OData reader and writer.\n\n@internal\n\n@return GetEntityResult", "docstring_tokens": ["Create", "GetEntityResult", "object", "from", "HTTP", "response", "parts", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/GetEntityResult.php#L75-L81", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.createOperationsContexts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates contexts for batch operations.\n\n@param array $operations The batch operations array.\n\n@return array\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Creates", "contexts", "for", "batch", "operations", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L189-L243", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getOperationContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates operation context for the API.\n\n@param string $table The table name.\n@param Entity $entity The entity object.\n@param string $type The API type.\n\n@return \\MicrosoftAzure\\Storage\\Common\\Internal\\Http\\HttpCallContext\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Creates", "operation", "context", "for", "the", "API", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L256-L301", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.createBatchRequestBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates MIME part body for batch API.\n\n@param array $operations The batch operations.\n@param array $contexts The contexts objects.\n\n@return array\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Creates", "MIME", "part", "body", "for", "batch", "API", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L313-L361", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.constructDeleteEntityContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs HTTP call context for deleteEntity API.\n\n@param string $table The name of the table.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param DeleteEntityOptions $options The optional parameters.\n\n@return HttpCallContext", "docstring_tokens": ["Constructs", "HTTP", "call", "context", "for", "deleteEntity", "API", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L373-L420", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.constructPutOrMergeEntityContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs HTTP call context for updateEntity, mergeEntity,\ninsertOrReplaceEntity and insertOrMergeEntity.\n\n@param string $table The table name.\n@param Entity $entity The entity instance to use.\n@param string $verb The HTTP method.\n@param boolean $useETag The flag to include etag or not.\n@param TableServiceOptions $options The optional parameters.\n\n@return HttpCallContext", "docstring_tokens": ["Constructs", "HTTP", "call", "context", "for", "updateEntity", "mergeEntity", "insertOrReplaceEntity", "and", "insertOrMergeEntity", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L434-L488", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.constructInsertEntityContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs HTTP call context for insertEntity API.\n\n@param string $table The name of the table.\n@param Entity $entity The table entity.\n@param TableServiceCreateOptions $options The optional parameters.\n\n@return HttpCallContext", "docstring_tokens": ["Constructs", "HTTP", "call", "context", "for", "insertEntity", "API", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L499-L547", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getEntityPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs URI path for entity.\n\n@param string $table The table name.\n@param string $partitionKey The entity's partition key.\n@param string $rowKey The entity's row key.\n\n@return string", "docstring_tokens": ["Constructs", "URI", "path", "for", "entity", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L558-L564", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.putOrMergeEntityAsyncImpl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a promie that does the actual work for update and merge entity\nAPIs.\n\n@param string $table The table name.\n@param Entity $entity The entity instance to use.\n@param string $verb The HTTP method.\n@param boolean $useETag The flag to include etag or not.\n@param TableServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "a", "promie", "that", "does", "the", "actual", "work", "for", "update", "and", "merge", "entity", "APIs", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L578-L598", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.addOptionalQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds query object to the query parameter array\n\n@param array $queryParam The URI query parameters\n@param Query $query The query object\n\n@return array", "docstring_tokens": ["Adds", "query", "object", "to", "the", "query", "parameter", "array"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L668-L703", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.encodeODataUriValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes OData URI values\n\n@param array $values The OData URL values\n\n@return array", "docstring_tokens": ["Encodes", "OData", "URI", "values"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L712-L721", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.queryTablesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to query the tables in the given storage account.\n\n@param QueryTablesOptions|string|Filter $options Could be optional\nparameters, table prefix\nor filter to apply.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/query-tables", "docstring_tokens": ["Creates", "promise", "to", "query", "the", "tables", "in", "the", "given", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L796-L893", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new table in the storage account\n\n@param string $table The name of the table.\n@param TableServiceCreateOptions $options The optional parameters.\n\n@return \\Psr\\Http\\Message\\ResponseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-table", "docstring_tokens": ["Creates", "new", "table", "in", "the", "storage", "account"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L905-L908", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.createTableAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to create new table in the storage account\n\n@param string $table The name of the table.\n@param TableServiceCreateOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-table", "docstring_tokens": ["Creates", "promise", "to", "create", "new", "table", "in", "the", "storage", "account"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L920-L966", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the table.\n\n@param string $table The name of the table.\n@param GetTableOptions $options The optional parameters.\n\n@return GetTableResult", "docstring_tokens": ["Gets", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L976-L979", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getTableAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the promise to get the table.\n\n@param string $table The name of the table.\n@param GetTableOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "the", "promise", "to", "get", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L989-L1031", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.deleteTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified table and any data it contains.\n\n@param string $table The name of the table.\n@param TableServiceOptions $options optional parameters\n\n@return void\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179387.aspx", "docstring_tokens": ["Deletes", "the", "specified", "table", "and", "any", "data", "it", "contains", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1043-L1046", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.deleteTableAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to delete the specified table and any data it contains.\n\n@param string $table The name of the table.\n@param TableServiceOptions $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179387.aspx", "docstring_tokens": ["Creates", "promise", "to", "delete", "the", "specified", "table", "and", "any", "data", "it", "contains", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1058-L1085", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.queryEntitiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Quries entities for the given table name\n\n@param string $table The name of the table.\n@param QueryEntitiesOptions|string|Filter $options Coule be optional\nparameters, query\nstring or filter to\napply.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/query-entities", "docstring_tokens": ["Quries", "entities", "for", "the", "given", "table", "name"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1119-L1196", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.insertOrMergeEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing entity or inserts a new entity if it does not exist\nin the table.\n\n@param string $table name of the table\n@param Entity $entity table entity\n@param TableServiceOptions $options optional parameters\n\n@return UpdateEntityResult\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452241.aspx", "docstring_tokens": ["Updates", "an", "existing", "entity", "or", "inserts", "a", "new", "entity", "if", "it", "does", "not", "exist", "in", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1267-L1273", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.insertOrMergeEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to update an existing entity or inserts a new entity if\nit does not exist in the table.\n\n@param string $table name of the table\n@param Entity $entity table entity\n@param TableServiceOptions $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452241.aspx", "docstring_tokens": ["Creates", "promise", "to", "update", "an", "existing", "entity", "or", "inserts", "a", "new", "entity", "if", "it", "does", "not", "exist", "in", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1287-L1299", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.insertOrReplaceEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces an existing entity or inserts a new entity if it does not exist in\nthe table.\n\n@param string $table name of the table\n@param Entity $entity table entity\n@param TableServiceOptions $options optional parameters\n\n@return UpdateEntityResult\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452242.aspx", "docstring_tokens": ["Replaces", "an", "existing", "entity", "or", "inserts", "a", "new", "entity", "if", "it", "does", "not", "exist", "in", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1313-L1323", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.insertOrReplaceEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a promise to replace an existing entity or inserts a new entity if it does not exist in the table.\n\n@param string $table name of the table\n@param Entity $entity table entity\n@param TableServiceOptions $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452242.aspx", "docstring_tokens": ["Creates", "a", "promise", "to", "replace", "an", "existing", "entity", "or", "inserts", "a", "new", "entity", "if", "it", "does", "not", "exist", "in", "the", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1336-L1348", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.updateEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing entity in a table. The Update Entity operation replaces\nthe entire entity and can be used to remove properties.\n\n@param string $table The table name.\n@param Entity $entity The table entity.\n@param TableServiceOptions $options The optional parameters.\n\n@return UpdateEntityResult\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179427.aspx", "docstring_tokens": ["Updates", "an", "existing", "entity", "in", "a", "table", ".", "The", "Update", "Entity", "operation", "replaces", "the", "entire", "entity", "and", "can", "be", "used", "to", "remove", "properties", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1362-L1368", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.updateEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to update an existing entity in a table. The Update Entity\noperation replaces the entire entity and can be used to remove properties.\n\n@param string $table The table name.\n@param Entity $entity The table entity.\n@param TableServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179427.aspx", "docstring_tokens": ["Creates", "promise", "to", "update", "an", "existing", "entity", "in", "a", "table", ".", "The", "Update", "Entity", "operation", "replaces", "the", "entire", "entity", "and", "can", "be", "used", "to", "remove", "properties", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1382-L1394", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.mergeEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing entity by updating the entity's properties. This operation\ndoes not replace the existing entity, as the updateEntity operation does.\n\n@param string $table The table name.\n@param Entity $entity The table entity.\n@param TableServiceOptions $options The optional parameters.\n\n@return Models\\UpdateEntityResult\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179392.aspx", "docstring_tokens": ["Updates", "an", "existing", "entity", "by", "updating", "the", "entity", "s", "properties", ".", "This", "operation", "does", "not", "replace", "the", "existing", "entity", "as", "the", "updateEntity", "operation", "does", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1408-L1414", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.mergeEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to update an existing entity by updating the entity's\nproperties. This operation does not replace the existing entity, as the\nupdateEntity operation does.\n\n@param string $table The table name.\n@param Entity $entity The table entity.\n@param TableServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179392.aspx", "docstring_tokens": ["Creates", "promise", "to", "update", "an", "existing", "entity", "by", "updating", "the", "entity", "s", "properties", ".", "This", "operation", "does", "not", "replace", "the", "existing", "entity", "as", "the", "updateEntity", "operation", "does", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1429-L1441", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.deleteEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an existing entity in a table.\n\n@param string $table The name of the table.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param DeleteEntityOptions $options The optional parameters.\n\n@return void\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd135727.aspx", "docstring_tokens": ["Deletes", "an", "existing", "entity", "in", "a", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1455-L1462", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.deleteEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to delete an existing entity in a table.\n\n@param string $table The name of the table.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param DeleteEntityOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd135727.aspx", "docstring_tokens": ["Creates", "promise", "to", "delete", "an", "existing", "entity", "in", "a", "table", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1476-L1490", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets table entity.\n\n@param string $table The name of the table.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param GetEntityOptions|null $options The optional parameters.\n\n@return GetEntityResult\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179421.aspx", "docstring_tokens": ["Gets", "table", "entity", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1504-L1516", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.getEntityAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to get table entity.\n\n@param string $table The name of the table.\n@param string $partitionKey The entity partition key.\n@param string $rowKey The entity row key.\n@param GetEntityOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/dd179421.aspx", "docstring_tokens": ["Creates", "promise", "to", "get", "table", "entity", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1530-L1581", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.batch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does batch of operations on the table service.\n\n@param BatchOperations $batchOperations The operations to apply.\n@param TableServiceOptions $options The optional parameters.\n\n@return BatchResult", "docstring_tokens": ["Does", "batch", "of", "operations", "on", "the", "table", "service", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1591-L1596", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/TableRestProxy.php", "func_name": "TableRestProxy.batchAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise that does batch of operations on the table service.\n\n@param BatchOperations $batchOperations The operations to apply.\n@param TableServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "that", "does", "batch", "of", "operations", "on", "the", "table", "service", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/TableRestProxy.php#L1606-L1660", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php", "func_name": "ListDirectoriesAndFilesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates ListDirectoriesAndFilesResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n@param string $location Contains the location for the previous\nrequest.\n\n@internal\n\n@return ListDirectoriesAndFilesResult", "docstring_tokens": ["Creates", "ListDirectoriesAndFilesResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php#L63-L143", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php", "func_name": "ListDirectoriesAndFilesResult.setDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets Directories.\n\n@param array $directories list of directories.\n\n@return void", "docstring_tokens": ["Sets", "Directories", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php#L152-L158", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php", "func_name": "ListDirectoriesAndFilesResult.setFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets files.\n\n@param array $files list of files.\n\n@return void", "docstring_tokens": ["Sets", "files", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ListDirectoriesAndFilesResult.php#L177-L183", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/Directory.php", "func_name": "Directory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Directory object using the parsed array.\n\n@param array $parsed The parsed array that contains the object information.\n\n@return Directory", "docstring_tokens": ["Creates", "a", "Directory", "object", "using", "the", "parsed", "array", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/Directory.php#L73-L80", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/UpdateEntityResult.php", "func_name": "UpdateEntityResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates UpdateEntityResult from HTTP response headers.\n\n@param array $headers The HTTP response headers.\n\n@internal\n\n@return UpdateEntityResult", "docstring_tokens": ["Creates", "UpdateEntityResult", "from", "HTTP", "response", "headers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/UpdateEntityResult.php#L53-L61", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Http/HttpCallContext.php", "func_name": "HttpCallContext.setQueryParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets queryParams.\n\nIgnores the query variable if its value is empty.\n\n@param array $queryParams The queryParams value.\n\n@return void", "docstring_tokens": ["Sets", "queryParams", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Http/HttpCallContext.php#L141-L147", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Http/HttpCallContext.php", "func_name": "HttpCallContext.setStatusCodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets statusCodes.\n\n@param array $statusCodes The statusCodes value.\n\n@return void", "docstring_tokens": ["Sets", "statusCodes", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Http/HttpCallContext.php#L214-L220", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Http/HttpCallContext.php", "func_name": "HttpCallContext.removeHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes header from the HTTP request headers.\n\n@param string $name The HTTP header name.\n\n@return void", "docstring_tokens": ["Removes", "header", "from", "the", "HTTP", "request", "headers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Http/HttpCallContext.php#L289-L295", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/HistoryMiddleware.php", "func_name": "HistoryMiddleware.addHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an entry to history\n\n@param array $entry the entry to be added.", "docstring_tokens": ["Add", "an", "entry", "to", "history"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/HistoryMiddleware.php#L88-L103", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/HistoryMiddleware.php", "func_name": "HistoryMiddleware.appendNewEntryToPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the new entry to saved file path.\n\n@param array $entry the entry to be added.\n\n@return void", "docstring_tokens": ["Append", "the", "new", "entry", "to", "saved", "file", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/HistoryMiddleware.php#L175-L199", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/QueryTablesResult.php", "func_name": "QueryTablesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new QueryTablesResult object\n\n@param array $headers The HTTP response headers\n@param array $entries The table entriess\n\n@internal\n\n@return QueryTablesResult", "docstring_tokens": ["Creates", "new", "QueryTablesResult", "object"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/QueryTablesResult.php#L56-L80", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/ListMessagesResult.php", "func_name": "ListMessagesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates ListMessagesResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return ListMessagesResult", "docstring_tokens": ["Creates", "ListMessagesResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/ListMessagesResult.php#L52-L68", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/ListMessagesResult.php", "func_name": "ListMessagesResult.setQueueMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets queueMessages field.\n\n@param array $queueMessages value to use.\n\n@internal\n\n@return void", "docstring_tokens": ["Sets", "queueMessages", "field", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/ListMessagesResult.php#L89-L96", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/CloudConfigurationManager.php", "func_name": "CloudConfigurationManager._init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the connection string source providers.\n\n@return void", "docstring_tokens": ["Initializes", "the", "connection", "string", "source", "providers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/CloudConfigurationManager.php#L58-L71", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Validate.php", "func_name": "Validate.isValidHostname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws an exception if the string is not of a valid hostname.\n\n@param string $hostname String to check.\n\n@throws \\InvalidArgumentException\n\n@return boolean", "docstring_tokens": ["Throws", "an", "exception", "if", "the", "string", "is", "not", "of", "a", "valid", "hostname", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Validate.php#L272-L288", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Validate.php", "func_name": "Validate.isValidUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws exception if the string is not of a valid uri.\n\n@param string $uri String to check.\n\n@throws \\InvalidArgumentException\n\n@return boolean", "docstring_tokens": ["Throws", "exception", "if", "the", "string", "is", "not", "of", "a", "valid", "uri", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Validate.php#L311-L322", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Validate.php", "func_name": "Validate.methodExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if method exists in object\n\n@param object $objectInstance An object that requires method existing\nvalidation\n@param string $method Method name\n@param string $name The parameter name\n\n@return boolean", "docstring_tokens": ["Validate", "if", "method", "exists", "in", "object"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Validate.php#L386-L403", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Validate.php", "func_name": "Validate.isDateString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if string is date formatted\n\n@param string $value Value to validate\n@param string $name Name of parameter to insert in erro message\n\n@throws \\InvalidArgumentException\n\n@return boolean", "docstring_tokens": ["Validate", "if", "string", "is", "date", "formatted"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Validate.php#L415-L431", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Validate.php", "func_name": "Validate.hasKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if the provided array has key, throw exception otherwise.\n\n@param string $key The key to be searched.\n@param string $name The name of the array.\n@param array $array The array to be validated.\n\n@throws \\UnexpectedValueException\n@throws \\InvalidArgumentException\n\n@return boolean", "docstring_tokens": ["Validate", "if", "the", "provided", "array", "has", "key", "throw", "exception", "otherwise", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Validate.php#L445-L460", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/Range.php", "func_name": "Range.getRangeString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs the range string according to the set start and end\n\n@return string", "docstring_tokens": ["Constructs", "the", "range", "string", "according", "to", "the", "set", "start", "and", "end"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/Range.php#L131-L141", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.listQueuesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to list all queues in the storage account.\n\n@param ListQueuesOptions $options The optional list queue options.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "list", "all", "queues", "in", "the", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L215-L261", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.clearMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears all messages from the queue.\n\nIf a queue contains a large number of messages, Clear Messages may time out\nbefore all messages have been deleted. In this case the Queue service will\nreturn status code 500 (Internal Server Error), with the additional error\ncode OperationTimedOut. If the operation times out, the client should\ncontinue to retry Clear Messages until it succeeds, to ensure that all\nmessages have been deleted.\n\n@param string $queueName The name of the queue.\n@param QueueServiceOptions $options The optional parameters.\n\n@return void", "docstring_tokens": ["Clears", "all", "messages", "from", "the", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L278-L281", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.createMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a message to the queue and optionally sets a visibility timeout\nfor the message.\n\n@param string $queueName The name of the queue.\n@param string $messageText The message contents.\n@param CreateMessageOptions $options The optional parameters.\n\n@return CreateMessageResult", "docstring_tokens": ["Adds", "a", "message", "to", "the", "queue", "and", "optionally", "sets", "a", "visibility", "timeout", "for", "the", "message", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L340-L346", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.createMessageAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to add a message to the queue and optionally sets a\nvisibility timeout for the message.\n\n@param string $queueName The name of the queue.\n@param string $messageText The message contents.\n@param CreateMessageOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "add", "a", "message", "to", "the", "queue", "and", "optionally", "sets", "a", "visibility", "timeout", "for", "the", "message", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L358-L419", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.createQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new queue under the storage account.\n\n@param string $queueName The queue name.\n@param Models\\CreateQueueOptions $options The Optional parameters.\n\n@return void", "docstring_tokens": ["Creates", "a", "new", "queue", "under", "the", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L429-L434", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.createQueueAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to create a new queue under the storage account.\n\n@param string $queueName The queue name.\n@param Models\\CreateQueueOptions $options The Optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "create", "a", "new", "queue", "under", "the", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L444-L476", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.deleteMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a specified message from the queue.\n\n@param string $queueName The name of the queue.\n@param string $messageId The id of the message.\n@param string $popReceipt The valid pop receipt value returned\nfrom an earlier call to the Get Messages or Update Message operation.\n@param QueueServiceOptions $options The optional parameters.\n\n@return void", "docstring_tokens": ["Deletes", "a", "specified", "message", "from", "the", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L489-L501", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.deleteMessageAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to delete a specified message from the queue.\n\n@param string $queueName The name of the queue.\n@param string $messageId The id of the message.\n@param string $popReceipt The valid pop receipt value returned\nfrom an earlier call to the Get Messages or Update Message operation.\n@param QueueServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "delete", "a", "specified", "message", "from", "the", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L514-L556", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.deleteQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a queue.\n\n@param string $queueName The queue name.\n@param QueueServiceOptions $options The optional parameters.\n\n@return void", "docstring_tokens": ["Deletes", "a", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L566-L569", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.deleteQueueAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to delete a queue.\n\n@param string $queueName The queue name.\n@param QueueServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "delete", "a", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L579-L608", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.getQueueMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns queue properties, including user-defined metadata.\n\n@param string $queueName The queue name.\n@param QueueServiceOptions $options The optional parameters.\n\n@return Models\\GetQueueMetadataResult", "docstring_tokens": ["Returns", "queue", "properties", "including", "user", "-", "defined", "metadata", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L618-L621", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.getQueueMetadataAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to return queue properties, including user-defined metadata.\n\n@param string $queueName The queue name.\n@param QueueServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "return", "queue", "properties", "including", "user", "-", "defined", "metadata", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L631-L672", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.listMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists all messages in the queue.\n\n@param string $queueName The queue name.\n@param ListMessagesOptions $options The optional parameters.\n\n@return Models\\ListMessagesResult", "docstring_tokens": ["Lists", "all", "messages", "in", "the", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L682-L685", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.listMessagesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to list all messages in the queue.\n\n@param string $queueName The queue name.\n@param ListMessagesOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "list", "all", "messages", "in", "the", "queue", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L695-L743", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.peekMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a message from the front of the queue, without changing\nthe message visibility.\n\n@param string $queueName The queue name.\n@param PeekMessagesOptions $options The optional parameters.\n\n@return Models\\PeekMessagesResult", "docstring_tokens": ["Retrieves", "a", "message", "from", "the", "front", "of", "the", "queue", "without", "changing", "the", "message", "visibility", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L754-L757", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/QueueRestProxy.php", "func_name": "QueueRestProxy.peekMessagesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to retrieve a message from the front of the queue,\nwithout changing the message visibility.\n\n@param string $queueName The queue name.\n@param PeekMessagesOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "to", "retrieve", "a", "message", "from", "the", "front", "of", "the", "queue", "without", "changing", "the", "message", "visibility", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/QueueRestProxy.php#L768-L809", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.generateAccountSharedAccessSignatureToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a shared access signature at the account level.\n\n@param string $signedVersion Specifies the signed version to use.\n@param string $signedPermissions Specifies the signed permissions for\nthe account SAS.\n@param string $signedService Specifies the signed services\naccessible with the account SAS.\n@param string $signedResourceType Specifies the signed resource types\nthat are accessible with the account\nSAS.\n@param \\Datetime|string $signedExpiry The time at which the shared access\nsignature becomes invalid, in an ISO\n8601 format.\n@param \\Datetime|string $signedStart The time at which the SAS becomes\nvalid, in an ISO 8601 format.\n@param string $signedIP Specifies an IP address or a range\nof IP addresses from which to accept\nrequests.\n@param string $signedProtocol Specifies the protocol permitted for\na request made with the account SAS.\n\n@see Constructing an account SAS at\nhttps://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/constructing-an-account-sas\n\n@return string", "docstring_tokens": ["Generates", "a", "shared", "access", "signature", "at", "the", "account", "level", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L92-L176", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.validateAndSanitizeSignedService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates and sanitizes the signed service parameter\n\n@param string $signedService Specifies the signed services accessible\nwith the account SAS.\n\n@return string", "docstring_tokens": ["Validates", "and", "sanitizes", "the", "signed", "service", "parameter"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L186-L199", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.validateAndSanitizeSignedResourceType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates and sanitizes the signed resource type parameter\n\n@param string $signedResourceType Specifies the signed resource types\nthat are accessible with the account\nSAS.\n\n@return string", "docstring_tokens": ["Validates", "and", "sanitizes", "the", "signed", "resource", "type", "parameter"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L210-L223", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.validateAndSanitizeSignedPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates and sanitizes the signed permissions parameter\n\n@param string $signedPermissions Specifies the signed permissions for the\naccount SAS.\n\n@return string", "docstring_tokens": ["Validates", "and", "sanitizes", "the", "signed", "permissions", "parameter"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L233-L246", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.validateAndSanitizeSignedProtocol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates and sanitizes the signed protocol parameter\n\n@param string $signedProtocol Specifies the signed protocol for the\naccount SAS.\n\n@return string", "docstring_tokens": ["Validates", "and", "sanitizes", "the", "signed", "protocol", "parameter"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L256-L268", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.validateAndSanitizeStringWithArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes duplicate characters from a string\n\n@param string $input The input string.\n\n@return string", "docstring_tokens": ["Removes", "duplicate", "characters", "from", "a", "string"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L277-L301", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/SharedAccessSignatureHelper.php", "func_name": "SharedAccessSignatureHelper.generateCanonicalResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the canonical resource using the given account name, service\ntype and resource.\n\n@param string $accountName The account name of the service.\n@param string $service The service name of the service.\n@param string $resource The name of the resource.\n\n@return string", "docstring_tokens": ["Generate", "the", "canonical", "resource", "using", "the", "given", "account", "name", "service", "type", "and", "resource", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/SharedAccessSignatureHelper.php#L314-L330", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Exceptions/ServiceException.php", "func_name": "ServiceException.parseErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Error message to be parsed.\n\n@param ResponseInterface $response The response with a response body.\n\n@internal\n\n@return string", "docstring_tokens": ["Error", "message", "to", "be", "parsed", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Exceptions/ServiceException.php#L82-L110", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Exceptions/ServiceException.php", "func_name": "ServiceException.getRequestID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the request ID of the failure.\n\n@return string", "docstring_tokens": ["Gets", "the", "request", "ID", "of", "the", "failure", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Exceptions/ServiceException.php#L137-L148", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Exceptions/ServiceException.php", "func_name": "ServiceException.getDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Date of the failure.\n\n@return string", "docstring_tokens": ["Gets", "the", "Date", "of", "the", "failure", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Exceptions/ServiceException.php#L155-L166", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/ServiceOptions.php", "func_name": "ServiceOptions.setMiddlewares", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets middlewares.\n\n@param array $middlewares value.\n\n@return void", "docstring_tokens": ["Sets", "middlewares", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/ServiceOptions.php#L139-L145", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/ServiceOptions.php", "func_name": "ServiceOptions.validateIsMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if the given middleware is of callable or IMiddleware.\n\n@param void $middleware the middleware to be validated.\n\n@return void", "docstring_tokens": ["Validate", "if", "the", "given", "middleware", "is", "of", "callable", "or", "IMiddleware", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/ServiceOptions.php#L300-L308", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringParser.php", "func_name": "ConnectionStringParser._parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the connection string.\n\n@return array\n\n@throws \\RuntimeException", "docstring_tokens": ["Parses", "the", "connection", "string", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringParser.php#L94-L148", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringParser.php", "func_name": "ConnectionStringParser._createException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an invalid connection string exception with the detailed error\nmessage.\n\n@param integer $position The position of the error.\n@param string $errorString The short error formatting string.\n\n@return \\RuntimeException", "docstring_tokens": ["Generates", "an", "invalid", "connection", "string", "exception", "with", "the", "detailed", "error", "message", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringParser.php#L159-L184", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringParser.php", "func_name": "ConnectionStringParser._extractKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts key at the current position.\n\n@return string", "docstring_tokens": ["Extracts", "key", "at", "the", "current", "position", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringParser.php#L244-L282", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringParser.php", "func_name": "ConnectionStringParser._extractString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the string until the given quotation mark.\n\n@param string $quote The quotation mark terminating the string.\n\n@return string", "docstring_tokens": ["Extracts", "the", "string", "until", "the", "given", "quotation", "mark", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringParser.php#L291-L311", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringParser.php", "func_name": "ConnectionStringParser._skipOperator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Skips specified operator.\n\n@param string $operatorChar The operator character.\n\n@return void\n\n@throws \\RuntimeException", "docstring_tokens": ["Skips", "specified", "operator", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringParser.php#L322-L334", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/GetShareACLResult.php", "func_name": "GetShareACLResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the given array into signed identifiers\n\n@param string $etag share etag\n@param \\DateTime $lastModified last modification date\n@param array $parsed parsed response into array\nrepresentation\n\n@internal\n\n@return self", "docstring_tokens": ["Parses", "the", "given", "array", "into", "signed", "identifiers"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/GetShareACLResult.php#L55-L67", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Middlewares/CommonRequestMiddleware.php", "func_name": "CommonRequestMiddleware.onRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the provided headers, the date, then sign the request using the\nauthentication scheme, and return it.\n\n@param RequestInterface $request un-signed request.\n\n@return RequestInterface", "docstring_tokens": ["Add", "the", "provided", "headers", "the", "date", "then", "sign", "the", "request", "using", "the", "authentication", "scheme", "and", "return", "it", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Middlewares/CommonRequestMiddleware.php#L82-L116", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceSettings.php", "func_name": "ServiceSettings.settingWithFunc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a setting value condition using the passed predicate.\n\n@param string $name The setting key name.\n@param callable $predicate The setting value predicate.\n\n@return array", "docstring_tokens": ["Creates", "a", "setting", "value", "condition", "using", "the", "passed", "predicate", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceSettings.php#L200-L207", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceSettings.php", "func_name": "ServiceSettings.setting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a setting value condition that validates it is one of the\npassed valid values.\n\n@param string $name The setting key name.\n\n@return array", "docstring_tokens": ["Creates", "a", "setting", "value", "condition", "that", "validates", "it", "is", "one", "of", "the", "passed", "valid", "values", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceSettings.php#L217-L255", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceSettings.php", "func_name": "ServiceSettings.matchedSpecification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests to see if a given list of settings matches a set of filters exactly.\n\n@param array $settings The settings to check.\n\n@return boolean If any filter returns null, false. If there are any settings\nleft over after all filters are processed, false. Otherwise true.", "docstring_tokens": ["Tests", "to", "see", "if", "a", "given", "list", "of", "settings", "matches", "a", "set", "of", "filters", "exactly", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceSettings.php#L265-L287", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/TableContinuationTokenTrait.php", "func_name": "TableContinuationTokenTrait.setNextRowKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets entity next row key.\n\n@param string $nextRowKey The entity next row key value.\n\n@return void", "docstring_tokens": ["Sets", "entity", "next", "row", "key", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/TableContinuationTokenTrait.php#L133-L139", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/TableContinuationTokenTrait.php", "func_name": "TableContinuationTokenTrait.setNextPartitionKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets entity next partition key.\n\n@param string $nextPartitionKey The entity next partition key value.\n\n@return void", "docstring_tokens": ["Sets", "entity", "next", "partition", "key", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/TableContinuationTokenTrait.php#L148-L154", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/EdmType.php", "func_name": "EdmType.processType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the type to string if it's empty and validates the type.\n\n@param string $type The Edm type\n\n@internal\n\n@return string", "docstring_tokens": ["Converts", "the", "type", "to", "string", "if", "it", "s", "empty", "and", "validates", "the", "type", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/EdmType.php#L98-L104", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/EdmType.php", "func_name": "EdmType.validateEdmValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates that the value associated with the EDM type is valid.\n\n@param string $type The EDM type.\n@param mixed $value The EDM value.\n@param string &$condition The error message.\n\n@internal\n\n@return boolean\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Validates", "that", "the", "value", "associated", "with", "the", "EDM", "type", "is", "valid", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/EdmType.php#L119-L156", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/EdmType.php", "func_name": "EdmType.serializeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes EDM value into proper value for sending it to Windows Azure.\n\n@param string $type The EDM type.\n@param mixed $value The EDM value.\n\n@internal\n\n@return string\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Serializes", "EDM", "value", "into", "proper", "value", "for", "sending", "it", "to", "Windows", "Azure", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/EdmType.php#L170-L199", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/EdmType.php", "func_name": "EdmType.serializeQueryValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes EDM value into proper value to be used in query.\n\n@param string $type The EDM type.\n@param mixed $value The EDM value.\n\n@internal\n\n@return string\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Serializes", "EDM", "value", "into", "proper", "value", "to", "be", "used", "in", "query", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/EdmType.php#L213-L244", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/EdmType.php", "func_name": "EdmType.unserializeQueryValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the value into its proper type.\n\n@param string $type The edm type.\n@param string $value The edm value.\n\n@internal\n\n@return mixed\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Converts", "the", "value", "into", "its", "proper", "type", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/EdmType.php#L258-L291", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/ServiceProperties.php", "func_name": "ServiceProperties.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates ServiceProperties object from parsed XML response.\n\n@internal\n@param array $parsedResponse XML response parsed into array.\n\n@return ServiceProperties.", "docstring_tokens": ["Creates", "ServiceProperties", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/ServiceProperties.php#L58-L96", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/ServiceProperties.php", "func_name": "ServiceProperties.getCorsesArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the array that contains all the CORSes.\n\n@return array", "docstring_tokens": ["Gets", "the", "array", "that", "contains", "all", "the", "CORSes", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/ServiceProperties.php#L250-L264", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ConnectionStringSource.php", "func_name": "ConnectionStringSource._init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the default sources.\n\n@return void", "docstring_tokens": ["Initializes", "the", "default", "sources", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ConnectionStringSource.php#L49-L57", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php", "func_name": "JsonODataReaderWriter.parseTableEntries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs array of tables from HTTP response body.\n\n@param string $body The HTTP response body.\n\n@return array", "docstring_tokens": ["Constructs", "array", "of", "tables", "from", "HTTP", "response", "body", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php#L76-L88", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php", "func_name": "JsonODataReaderWriter.getEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs JSON representation for entity.\n\n@param Entity $entity The entity instance.\n\n@return string", "docstring_tokens": ["Constructs", "JSON", "representation", "for", "entity", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php#L97-L124", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php", "func_name": "JsonODataReaderWriter.parseEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs array of entities from HTTP response body.\n\n@param string $body The HTTP response body.\n\n@return array", "docstring_tokens": ["Constructs", "array", "of", "entities", "from", "HTTP", "response", "body", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Internal/JsonODataReaderWriter.php#L146-L156", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/AccessPolicy.php", "func_name": "AccessPolicy.setStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets start.\n\n@param \\DateTime $start value.\n\n@return void", "docstring_tokens": ["Sets", "start", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/AccessPolicy.php#L93-L99", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/AccessPolicy.php", "func_name": "AccessPolicy.validatePermission", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the permission against its corresponding allowed permissions\n\n@param string $permission The permission to be validated.\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Validate", "the", "permission", "against", "its", "corresponding", "allowed", "permissions"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/AccessPolicy.php#L167-L195", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates URI path for file or share.\n\n@param string $share The share name.\n@param string $directory The directory name.\n\n@return string", "docstring_tokens": ["Creates", "URI", "path", "for", "file", "or", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L154-L171", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getSharePropertiesAsyncImpl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to create promise for getShareProperties API call.\n\n@param string $share The share name.\n@param FileServiceOptions $options The optional parameters.\n@param string $operation The operation string. Should be\n'metadata' to set metadata,\nand 'properties' to set\nproperties.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Helper", "method", "to", "create", "promise", "for", "getShareProperties", "API", "call", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L185-L239", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setSharePropertiesAsyncImpl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to create promise for setShareProperties API call.\n\n@param string $share The share name.\n@param array $properties The array that contains\neither the properties or\nthe metadata to be set.\n@param FileServiceOptions $options The optional parameters.\n@param string $operation The operation string. Should be\n'metadata' to set metadata,\nand 'properties' to set\nproperties.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Helper", "method", "to", "create", "promise", "for", "setShareProperties", "API", "call", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L256-L314", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.listSharesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a promise to return a list of the shares under the specified account\n\n@param ListSharesOptions|null $options The optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/list-shares", "docstring_tokens": ["Create", "a", "promise", "to", "return", "a", "list", "of", "the", "shares", "under", "the", "specified", "account"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L464-L527", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createShare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new share in the given storage account.\n\n@param string $share The share name.\n@param CreateShareOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-share", "docstring_tokens": ["Creates", "a", "new", "share", "in", "the", "given", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L539-L544", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createShareAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to create a new share in the given storage account.\n\n@param string $share The share name.\n@param CreateShareOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-share", "docstring_tokens": ["Creates", "promise", "to", "create", "a", "new", "share", "in", "the", "given", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L556-L596", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.deleteShare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a share in the given storage account.\n\n@param string $share name of the share\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-share", "docstring_tokens": ["Deletes", "a", "share", "in", "the", "given", "storage", "account", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L608-L613", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getShareProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all properties and metadata on the share.\n\n@param string $share name\n@param FileServiceOptions|null $options optional parameters\n\n@return GetSharePropertiesResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-share-properties", "docstring_tokens": ["Returns", "all", "properties", "and", "metadata", "on", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L676-L681", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setShareProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets quota of the share.\n\n@param string $share name\n@param int $quota quota of the share\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-properties", "docstring_tokens": ["Sets", "quota", "of", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L711-L717", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setSharePropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to set quota the share.\n\n@param string $share name\n@param int $quota quota of the share\n@param FileServiceOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-properties", "docstring_tokens": ["Creates", "promise", "to", "set", "quota", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L730-L741", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getShareMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns only user-defined metadata for the specified share.\n\n@param string $share name\n@param FileServiceOptions|null $options optional parameters\n\n@return GetSharePropertiesResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-share-metadata", "docstring_tokens": ["Returns", "only", "user", "-", "defined", "metadata", "for", "the", "specified", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L753-L758", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setShareMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates metadata of the share.\n\n@param string $share name\n@param array $metadata metadata key/value pair.\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-metadata", "docstring_tokens": ["Updates", "metadata", "of", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L789-L795", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setShareMetadataAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to update metadata headers on the share.\n\n@param string $share name\n@param array $metadata metadata key/value pair.\n@param FileServiceOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-metadata", "docstring_tokens": ["Creates", "promise", "to", "update", "metadata", "headers", "on", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L808-L819", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setShareAcl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the ACL and any share-level access policies for the share.\n\n@param string $share name\n@param ShareACL $acl access control list for share\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-acl", "docstring_tokens": ["Sets", "the", "ACL", "and", "any", "share", "-", "level", "access", "policies", "for", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L923-L929", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setShareAclAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to set the ACL and any share-level access policies\nfor the share.\n\n@param string $share name\n@param ShareACL $acl access control list for share\n@param FileServiceOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-share-acl", "docstring_tokens": ["Creates", "promise", "to", "set", "the", "ACL", "and", "any", "share", "-", "level", "access", "policies", "for", "the", "share", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L943-L993", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.listDirectoriesAndFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List directories and files under specified path.\n\n@param string $share The share that\ncontains all the\nfiles and directories.\n@param string $path The path to be listed.\n@param ListDirectoriesAndFilesOptions|null $options Optional parameters.\n\n@return ListDirectoriesAndFilesResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files", "docstring_tokens": ["List", "directories", "and", "files", "under", "specified", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1082-L1088", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.listDirectoriesAndFilesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to list directories and files under specified path.\n\n@param string $share The share that\ncontains all the\nfiles and directories.\n@param string $path The path to be listed.\n@param ListDirectoriesAndFilesOptions|null $options Optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/list-directories-and-files", "docstring_tokens": ["Creates", "promise", "to", "list", "directories", "and", "files", "under", "specified", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1103-L1172", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new directory in the given share and path.\n\n@param string $share The share name.\n@param string $path The path to create the directory.\n@param CreateDirectoryOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-directory", "docstring_tokens": ["Creates", "a", "new", "directory", "in", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1185-L1191", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createDirectoryAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a promise to create a new directory in the given share and path.\n\n@param string $share The share name.\n@param string $path The path to create the directory.\n@param CreateDirectoryOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-directory", "docstring_tokens": ["Creates", "a", "promise", "to", "create", "a", "new", "directory", "in", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1204-L1241", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.deleteDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a directory in the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the directory.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-directory", "docstring_tokens": ["Deletes", "a", "directory", "in", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1254-L1260", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getDirectoryProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a directory's properties from the given share and path.\n\n@param string $share The share name.\n@param string $path The path of the directory.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return GetDirectoryPropertiesResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-directory-properties", "docstring_tokens": ["Gets", "a", "directory", "s", "properties", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1320-L1326", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getDirectoryPropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to get a directory's properties from the given share\nand path.\n\n@param string $share The share name.\n@param string $path The path of the directory.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-directory-properties", "docstring_tokens": ["Creates", "promise", "to", "get", "a", "directory", "s", "properties", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1340-L1377", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getDirectoryMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a directory's metadata from the given share and path.\n\n@param string $share The share name.\n@param string $path The path of the directory.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return GetDirectoryMetadataResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-directory-metadata", "docstring_tokens": ["Gets", "a", "directory", "s", "metadata", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1390-L1396", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setDirectoryMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a directory's metadata from the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the directory.\n@param array $metadata The metadata to be set.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-directory-metadata", "docstring_tokens": ["Sets", "a", "directory", "s", "metadata", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1467-L1479", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new file.\n\n@param string $share The share name.\n@param string $path The path and name of the file.\n@param int $size The size of the file.\n@param CreateFileOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-file", "docstring_tokens": ["Create", "a", "new", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1550-L1562", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createFileAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to create a new file.\n\n@param string $share The share name.\n@param string $path The path and name of the file.\n@param int $size The size of the file.\n@param CreateFileOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/create-file", "docstring_tokens": ["Creates", "promise", "to", "create", "a", "new", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1576-L1670", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.deleteFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a file in the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-file2", "docstring_tokens": ["Deletes", "a", "file", "in", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1683-L1689", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.deleteFileAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a promise to delete a new file in the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/delete-file2", "docstring_tokens": ["Creates", "a", "promise", "to", "delete", "a", "new", "file", "in", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1702-L1736", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads or downloads a file from the server, including its metadata and\nproperties.\n\n@param string $share name of the share\n@param string $path path of the file to be get\n@param GetFileOptions|null $options optional parameters\n\n@return GetFileResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-file", "docstring_tokens": ["Reads", "or", "downloads", "a", "file", "from", "the", "server", "including", "its", "metadata", "and", "properties", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1750-L1756", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getFileAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to read or download a file from the server, including its\nmetadata and properties.\n\n@param string $share name of the share\n@param string $path path of the file to be get\n@param GetFileOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-file", "docstring_tokens": ["Creates", "promise", "to", "read", "or", "download", "a", "file", "from", "the", "server", "including", "its", "metadata", "and", "properties", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1770-L1827", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getFileProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a file's properties from the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return FileProperties\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-file-properties", "docstring_tokens": ["Gets", "a", "file", "s", "properties", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1840-L1846", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getFilePropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to get a file's properties from the given share\nand path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-file-properties", "docstring_tokens": ["Creates", "promise", "to", "get", "a", "file", "s", "properties", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1860-L1897", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setFileProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets properties on the file.\n\n@param string $share share name\n@param string $path path of the file\n@param FileProperties $properties file properties.\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-file-properties", "docstring_tokens": ["Sets", "properties", "on", "the", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1911-L1918", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setFilePropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to set properties on the file.\n\n@param string $share share name\n@param string $path path of the file\n@param FileProperties $properties file properties.\n@param FileServiceOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-file-properties", "docstring_tokens": ["Creates", "promise", "to", "set", "properties", "on", "the", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L1932-L2010", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.getFileMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a file's metadata from the given share and path.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return GetFileMetadataResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/get-file-metadata", "docstring_tokens": ["Gets", "a", "file", "s", "metadata", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2023-L2029", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setFileMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a file's metadata from the given share and path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param array $metadata The metadata to be set.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-file-metadata", "docstring_tokens": ["Sets", "a", "file", "s", "metadata", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2100-L2112", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.setFileMetadataAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to set a file's metadata from the given share\nand path.\n\n@param string $share The share name.\n@param string $path The path to delete the file.\n@param array $metadata The metadata to be set.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/set-file-metadata", "docstring_tokens": ["Creates", "promise", "to", "set", "a", "file", "s", "metadata", "from", "the", "given", "share", "and", "path", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2127-L2169", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.putFileRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes range of bytes to a file. Range can be at most 4MB in length.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param string|resource|StreamInterface $content The content to be uploaded.\n@param Range $range The range in the file to\nbe put.\n@param PutFileRangeOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/put-range", "docstring_tokens": ["Writes", "range", "of", "bytes", "to", "a", "file", ".", "Range", "can", "be", "at", "most", "4MB", "in", "length", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2185-L2199", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.putFileRangeAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to write range of bytes to a file. Range can be at most\n4MB in length.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param string|resource|StreamInterface $content The content to be uploaded.\n@param Range $range The range in the file to\nbe put.\n@param PutFileRangeOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/put-range", "docstring_tokens": ["Creates", "promise", "to", "write", "range", "of", "bytes", "to", "a", "file", ".", "Range", "can", "be", "at", "most", "4MB", "in", "length", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2217-L2287", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createFileFromContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a file from a provided content.\n\n@param string $share the share name\n@param string $path the path of the file\n@param StreamInterface|resource|string $content the content used to\ncreate the file\n@param CreateFileFromContentOptions|null $options optional parameters\n\n@return void", "docstring_tokens": ["Creates", "a", "file", "from", "a", "provided", "content", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2300-L2307", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.createFileFromContentAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a promise to create a file from a provided content.\n\n@param string $share the share name\n@param string $path the path of the file\n@param StreamInterface|resource|string $content the content used to\ncreate the file\n@param CreateFileFromContentOptions|null $options optional parameters\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "a", "promise", "to", "create", "a", "file", "from", "a", "provided", "content", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2320-L2375", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.clearFileRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears range of bytes of a file. If the specified range is not 512-byte\naligned, the operation will write zeros to the start or end of the range\nthat is not 512-byte aligned and free the rest of the range inside that\nis 512-byte aligned.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param Range $range The range in the file to\nbe cleared.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/put-range", "docstring_tokens": ["Clears", "range", "of", "bytes", "of", "a", "file", ".", "If", "the", "specified", "range", "is", "not", "512", "-", "byte", "aligned", "the", "operation", "will", "write", "zeros", "to", "the", "start", "or", "end", "of", "the", "range", "that", "is", "not", "512", "-", "byte", "aligned", "and", "free", "the", "rest", "of", "the", "range", "inside", "that", "is", "512", "-", "byte", "aligned", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2393-L2400", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.clearFileRangeAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to clear range of bytes of a file. If the specified range\nis not 512-byte aligned, the operation will write zeros to the start or\nend of the range that is not 512-byte aligned and free the rest of the\nrange inside that is 512-byte aligned.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param Range $range The range in the file to\nbe cleared.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/put-range", "docstring_tokens": ["Creates", "promise", "to", "clear", "range", "of", "bytes", "of", "a", "file", ".", "If", "the", "specified", "range", "is", "not", "512", "-", "byte", "aligned", "the", "operation", "will", "write", "zeros", "to", "the", "start", "or", "end", "of", "the", "range", "that", "is", "not", "512", "-", "byte", "aligned", "and", "free", "the", "rest", "of", "the", "range", "inside", "that", "is", "512", "-", "byte", "aligned", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2419-L2474", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.listFileRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists range of bytes of a file.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param Range $range The range in the file to\nbe listed.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return ListFileRangesResult\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/list-ranges", "docstring_tokens": ["Lists", "range", "of", "bytes", "of", "a", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2489-L2496", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.listFileRangeAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to list range of bytes of a file.\n\n@param string $share The share name.\n@param string $path The path of the file.\n@param Range $range The range in the file to\nbe listed.\n@param FileServiceOptions|null $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/list-ranges", "docstring_tokens": ["Creates", "promise", "to", "list", "range", "of", "bytes", "of", "a", "file", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2512-L2569", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.abortCopy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Abort a file copy operation\n\n@param string $share name of the share\n@param string $path path of the file\n@param string $copyID copy operation identifier.\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/abort-copy-file", "docstring_tokens": ["Abort", "a", "file", "copy", "operation"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2704-L2716", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/FileRestProxy.php", "func_name": "FileRestProxy.abortCopyAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to abort a file copy operation\n\n@param string $share name of the share\n@param string $path path of the file\n@param string $copyID copy operation identifier.\n@param FileServiceOptions|null $options optional parameters\n\n@return void\n\n@see https://docs.microsoft.com/en-us/rest/api/storageservices/abort-copy-file", "docstring_tokens": ["Creates", "promise", "to", "abort", "a", "file", "copy", "operation"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/FileRestProxy.php#L2730-L2787", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperation.php", "func_name": "BatchOperation.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets operation type.\n\n@param string $type The operation type. Must be valid type.\n\n@return void", "docstring_tokens": ["Sets", "operation", "type", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperation.php#L53-L61", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchOperation.php", "func_name": "BatchOperation.addParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds or sets parameter for the operation.\n\n@param string $name The param name. Must be valid name.\n@param mixed $value The param value.\n\n@return void", "docstring_tokens": ["Adds", "or", "sets", "parameter", "for", "the", "operation", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchOperation.php#L81-L88", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchResult.php", "func_name": "BatchResult._constructResponses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a array of responses from the batch response body.\n\n@param string $body The HTTP response body.\n@param IMimeReaderWriter $mimeSerializer The MIME reader and writer.\n\n@return array", "docstring_tokens": ["Creates", "a", "array", "of", "responses", "from", "the", "batch", "response", "body", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchResult.php#L57-L91", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchResult.php", "func_name": "BatchResult._compareUsingContentId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares between two responses by Content-ID header.\n\n@param mixed $r1 The first response object.\n@param mixed $r2 The second response object.\n\n@return boolean", "docstring_tokens": ["Compares", "between", "two", "responses", "by", "Content", "-", "ID", "header", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchResult.php#L101-L109", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/BatchResult.php", "func_name": "BatchResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates BatchResult object.\n\n@param string $body The HTTP response body.\n@param array $operations The batch operations.\n@param array $contexts The batch operations context.\n@param IODataReaderWriter $odataSerializer The OData reader and writer.\n@param IMimeReaderWriter $mimeSerializer The MIME reader and writer.\n\n@return \\MicrosoftAzure\\Storage\\Table\\Models\\BatchResult\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Creates", "BatchResult", "object", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/BatchResult.php#L124-L184", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Serialization/XmlSerializer.php", "func_name": "XmlSerializer.getInstanceAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the attributes of a specified object if get attributes\nmethod is exposed.\n\n@param object $targetObject The target object.\n@param array $methodArray The array of method of the target object.\n\n@return mixed", "docstring_tokens": ["Gets", "the", "attributes", "of", "a", "specified", "object", "if", "get", "attributes", "method", "is", "exposed", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Serialization/XmlSerializer.php#L116-L125", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Serialization/XmlSerializer.php", "func_name": "XmlSerializer.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes given array. The array indices must be string to use them as\nas element name.\n\n@param array $array The object to serialize represented in array.\n@param array $properties The used properties in the serialization process.\n\n@return string", "docstring_tokens": ["Serializes", "given", "array", ".", "The", "array", "indices", "must", "be", "string", "to", "use", "them", "as", "as", "element", "name", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Serialization/XmlSerializer.php#L193-L230", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Models/CORS.php", "func_name": "CORS.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance with parsed XML response with 'CORS' root.\n\n@param array $parsedResponse The response used to create an instance.\n\n@internal\n\n@return CORS", "docstring_tokens": ["Create", "an", "instance", "with", "parsed", "XML", "response", "with", "CORS", "root", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Models/CORS.php#L91-L147", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestTrait.php", "func_name": "ServiceRestTrait.getServicePropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise to get the properties of the service.\n\n@param ServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452239.aspx", "docstring_tokens": ["Creates", "promise", "to", "get", "the", "properties", "of", "the", "service", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestTrait.php#L73-L112", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestTrait.php", "func_name": "ServiceRestTrait.setServiceProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the properties of the service.\n\nIt's recommended to use getServiceProperties, alter the returned object and\nthen use setServiceProperties with this altered object.\n\n@param ServiceProperties $serviceProperties The service properties.\n@param ServiceOptions $options The optional parameters.\n\n@return void\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx", "docstring_tokens": ["Sets", "the", "properties", "of", "the", "service", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestTrait.php#L127-L132", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestTrait.php", "func_name": "ServiceRestTrait.setServicePropertiesAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the promise to set the properties of the service.\n\nIt's recommended to use getServiceProperties, alter the returned object and\nthen use setServiceProperties with this altered object.\n\n@param ServiceProperties $serviceProperties The service properties.\n@param ServiceOptions $options The optional parameters.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface\n\n@see http://msdn.microsoft.com/en-us/library/windowsazure/hh452235.aspx", "docstring_tokens": ["Creates", "the", "promise", "to", "set", "the", "properties", "of", "the", "service", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestTrait.php#L147-L195", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/ServiceRestTrait.php", "func_name": "ServiceRestTrait.getServiceStatsAsync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates promise that retrieves statistics related to replication for the\nservice. The operation will only be sent to secondary location endpoint.\n\n@param ServiceOptions|null $options The options this operation sends with.\n\n@return \\GuzzleHttp\\Promise\\PromiseInterface", "docstring_tokens": ["Creates", "promise", "that", "retrieves", "statistics", "related", "to", "replication", "for", "the", "service", ".", "The", "operation", "will", "only", "be", "sent", "to", "secondary", "location", "endpoint", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/ServiceRestTrait.php#L218-L258", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/ListQueuesResult.php", "func_name": "ListQueuesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates ListQueuesResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n@param string $location Contains the location for the previous\nrequest.\n\n@internal\n\n@return ListQueuesResult", "docstring_tokens": ["Creates", "ListQueuesResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/ListQueuesResult.php#L63-L113", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/ListQueuesResult.php", "func_name": "ListQueuesResult.setQueues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets queues.\n\n@param array $queues list of queues\n\n@internal\n\n@return void", "docstring_tokens": ["Sets", "queues", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/ListQueuesResult.php#L134-L140", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.tryGetSecondaryEndpointFromPrimaryEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse secondary endpoint url string from a primary endpoint url.\n\nReturn null if the primary endpoint url is invalid.\n\n@param string $uri The primary endpoint url string.\n\n@return null|string", "docstring_tokens": ["Parse", "secondary", "endpoint", "url", "string", "from", "a", "primary", "endpoint", "url", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L106-L126", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes given array into xml. The array indices must be string to use\nthem as XML tags.\n\n@param array $array object to serialize represented in array.\n@param string $rootName name of the XML root element.\n@param string $defaultTag default tag for non-tagged elements.\n@param string $standalone adds 'standalone' header tag, values 'yes'/'no'\n\n@return string", "docstring_tokens": ["Serializes", "given", "array", "into", "xml", ".", "The", "array", "indices", "must", "be", "string", "to", "use", "them", "as", "XML", "tags", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L287-L311", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.toBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts string into boolean value.\n\n@param string $obj boolean value in string format.\n@param bool $skipNull If $skipNull is set, will return NULL directly\nwhen $obj is NULL.\n\n@return bool", "docstring_tokens": ["Converts", "string", "into", "boolean", "value", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L363-L370", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.rfc1123ToDateTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given date string into \\DateTime object\n\n@param string $date windows azure date ins string representation.\n\n@return \\DateTime", "docstring_tokens": ["Converts", "a", "given", "date", "string", "into", "\\", "DateTime", "object"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L391-L397", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.isoDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate ISO 8601 compliant date string in UTC time zone\n\n@param \\DateTimeInterface $date The date value to convert\n\n@return string", "docstring_tokens": ["Generate", "ISO", "8601", "compliant", "date", "string", "in", "UTC", "time", "zone"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L406-L412", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.convertToDateTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a string to a \\DateTime object. Returns false on failure.\n\n@param string $value The string value to parse.\n\n@return \\DateTime", "docstring_tokens": ["Converts", "a", "string", "to", "a", "\\", "DateTime", "object", ".", "Returns", "false", "on", "failure", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L446-L457", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.base256ToDec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert base 256 number to decimal number.\n\n@param string $number Base 256 number\n\n@return string Decimal number", "docstring_tokens": ["Convert", "base", "256", "number", "to", "decimal", "number", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L662-L674", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.allZero", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if all the bytes are zero.\n\n@param string $content The content.\n@return bool", "docstring_tokens": ["Check", "if", "all", "the", "bytes", "are", "zero", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L790-L802", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.appendDelimiter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the delimiter to the string. The delimiter will not be added if\nthe string already ends with this delimiter.\n\n@param string $string The string to add delimiter to.\n@param string $delimiter The delimiter to be added.\n\n@return string", "docstring_tokens": ["Append", "the", "delimiter", "to", "the", "string", ".", "The", "delimiter", "will", "not", "be", "added", "if", "the", "string", "already", "ends", "with", "this", "delimiter", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L813-L820", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.requestSentToSecondary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Static function used to determine if the request is performed against\nsecondary endpoint.\n\n@param Psr\\Http\\Message\\RequestInterface $request The request performed.\n@param array $options The options of the\nrequest. Must contain\nResources::ROS_SECONDARY_URI\n\n@return boolean", "docstring_tokens": ["Static", "function", "used", "to", "determine", "if", "the", "request", "is", "performed", "against", "secondary", "endpoint", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L833-L844", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.getLocationFromHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the location value from the headers.\n\n@param array $headers request/response headers.\n\n@return string", "docstring_tokens": ["Gets", "the", "location", "value", "from", "the", "headers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L853-L867", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Utilities.php", "func_name": "Utilities.calculateContentMD5", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the content MD5 which is base64 encoded. This should be align\nwith the server calculated MD5.\n\n@param string $content the content to be calculated.\n\n@return string", "docstring_tokens": ["Calculates", "the", "content", "MD5", "which", "is", "base64", "encoded", ".", "This", "should", "be", "align", "with", "the", "server", "calculated", "MD5", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Utilities.php#L890-L896", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/ShareACL.php", "func_name": "ShareACL.validateResourceType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if the resource type is for the class.\n\n@param string $resourceType the resource type to be validated.\n\n@throws \\InvalidArgumentException\n\n@internal\n\n@return void", "docstring_tokens": ["Validate", "if", "the", "resource", "type", "is", "for", "the", "class", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/ShareACL.php#L81-L88", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/UpdateMessageResult.php", "func_name": "UpdateMessageResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an instance with the given response headers.\n\n@param array $headers The response headers used to create the instance.\n\n@internal\n\n@return UpdateMessageResult", "docstring_tokens": ["Creates", "an", "instance", "with", "the", "given", "response", "headers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/UpdateMessageResult.php#L55-L70", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php", "func_name": "RetryMiddlewareFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the retry handler for the Guzzle client, according to the given\nattributes.\n\n@param string $type The type that controls the logic of\nthe decider of the retry handler.\nPossible value can be\nself::GENERAL_RETRY_TYPE or\nself::APPEND_BLOB_RETRY_TYPE\n@param int $numberOfRetries The maximum number of retries.\n@param int $interval The minimum interval between each retry\n@param string $accumulationMethod If the interval increases linearly or\nexponentially.\nPossible value can be\nself::LINEAR_INTERVAL_ACCUMULATION or\nself::EXPONENTIAL_INTERVAL_ACCUMULATION\n@param bool $retryConnect Whether to retry on connection failures.\n@return RetryMiddleware A RetryMiddleware object that contains\nthe logic of how the request should be\nhandled after a response.", "docstring_tokens": ["Create", "the", "retry", "handler", "for", "the", "Guzzle", "client", "according", "to", "the", "given", "attributes", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php#L77-L135", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php", "func_name": "RetryMiddlewareFactory.createRetryDecider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the retry decider for the retry handler. It will return a callable\nthat accepts the number of retries, the request, the response and the\nexception, and return the decision for a retry.\n\n@param string $type The type of the retry handler.\n@param int $maxRetries The maximum number of retries to be done.\n@param bool $retryConnect Whether to retry on connection failures.\n\n@return callable The callable that will return if the request should\nbe retried.", "docstring_tokens": ["Create", "the", "retry", "decider", "for", "the", "retry", "handler", ".", "It", "will", "return", "a", "callable", "that", "accepts", "the", "number", "of", "retries", "the", "request", "the", "response", "and", "the", "exception", "and", "return", "the", "decision", "for", "a", "retry", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php#L149-L191", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php", "func_name": "RetryMiddlewareFactory.generalRetryDecider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decide if the given status code indicate the request should be retried.\n\n@param int $statusCode status code of the previous request.\n\n@return bool true if the request should be retried.", "docstring_tokens": ["Decide", "if", "the", "given", "status", "code", "indicate", "the", "request", "should", "be", "retried", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/RetryMiddlewareFactory.php#L200-L213", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/RestProxy.php", "func_name": "RestProxy.addOptionalQueryParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds optional query parameter.\n\nDoesn't add the value if it satisfies empty().\n\n@param array &$queryParameters The query parameters.\n@param string $key The query variable name.\n@param string $value The query variable value.\n\n@return void", "docstring_tokens": ["Adds", "optional", "query", "parameter", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/RestProxy.php#L99-L108", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/RestProxy.php", "func_name": "RestProxy.addOptionalHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds optional header.\n\nDoesn't add the value if it satisfies empty().\n\n@param array &$headers The HTTP header parameters.\n@param string $key The HTTP header name.\n@param string $value The HTTP header value.\n\n@return void", "docstring_tokens": ["Adds", "optional", "header", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/RestProxy.php#L121-L130", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/GetFileResult.php", "func_name": "GetFileResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates GetFileResult from getFile call.\n\n@param array $headers The HTTP response headers.\n@param StreamInterface $body The response body.\n@param array $metadata The file metadata.\n\n@internal\n\n@return GetFileResult", "docstring_tokens": ["Creates", "GetFileResult", "from", "getFile", "call", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/GetFileResult.php#L56-L67", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Serialization/MessageSerializer.php", "func_name": "MessageSerializer.serializeHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serialize the message headers.\n\n@param array $headers The headers to be serialized.\n\n@return string", "docstring_tokens": ["Serialize", "the", "message", "headers", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Serialization/MessageSerializer.php#L140-L148", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Serialization/MessageSerializer.php", "func_name": "MessageSerializer.serializeRequestException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serialize the request exception.\n\n@param RequestException $e the request exception to be serialized.\n\n@return string", "docstring_tokens": ["Serialize", "the", "request", "exception", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Serialization/MessageSerializer.php#L157-L165", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-queue/src/Queue/Models/CreateMessageResult.php", "func_name": "CreateMessageResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates CreateMessageResult object from parsed XML response.\n\n@param array $parsedResponse XML response parsed into array.\n\n@internal\n\n@return CreateMessageResult", "docstring_tokens": ["Creates", "CreateMessageResult", "object", "from", "parsed", "XML", "response", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-queue/src/Queue/Models/CreateMessageResult.php#L53-L68", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/InsertEntityResult.php", "func_name": "InsertEntityResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create InsertEntityResult object from HTTP response parts.\n\n@param string $body The HTTP response body.\n@param array $headers The HTTP response headers.\n@param IODataReaderWriter $odataSerializer The OData reader and writer.\n\n@internal\n\n@return InsertEntityResult", "docstring_tokens": ["Create", "InsertEntityResult", "object", "from", "HTTP", "response", "parts", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/InsertEntityResult.php#L56-L64", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-table/src/Table/Models/QueryEntitiesResult.php", "func_name": "QueryEntitiesResult.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new QueryEntitiesResult instance.\n\n@param array $headers The HTTP response headers.\n@param array $entities The entities.\n\n@internal\n\n@return QueryEntitiesResult", "docstring_tokens": ["Creates", "new", "QueryEntitiesResult", "instance", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-table/src/Table/Models/QueryEntitiesResult.php#L56-L83", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Internal/Http/HttpFormatter.php", "func_name": "HttpFormatter.formatHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a http headers array into an uniformed format for further process\n\n@param array $headers headers for format\n\n@return array", "docstring_tokens": ["Convert", "a", "http", "headers", "array", "into", "an", "uniformed", "format", "for", "further", "process"], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Internal/Http/HttpFormatter.php#L46-L58", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-file/src/File/Models/File.php", "func_name": "File.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a File object using the parsed array.\n\n@param array $parsed The parsed array that contains the object information.\n\n@return File", "docstring_tokens": ["Creates", "a", "File", "object", "using", "the", "parsed", "array", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-file/src/File/Models/File.php#L96-L105", "partition": "test"} +{"repo": "Azure/azure-storage-php", "path": "azure-storage-common/src/Common/Middlewares/MiddlewareStack.php", "func_name": "MiddlewareStack.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply the middlewares to the handler.\n\n@param callable $handler the handler to which the middleware applies.\n\n@return callable", "docstring_tokens": ["Apply", "the", "middlewares", "to", "the", "handler", "."], "sha": "9e53aa6e447e2260a29d54b96fab9fe18b665afa", "url": "https://github.com/Azure/azure-storage-php/blob/9e53aa6e447e2260a29d54b96fab9fe18b665afa/azure-storage-common/src/Common/Middlewares/MiddlewareStack.php#L61-L69", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/OverridesFractal.php", "func_name": "OverridesFractal.getAvailableIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overrides Fractal's getter for available includes.\n\n@return array", "docstring_tokens": ["Overrides", "Fractal", "s", "getter", "for", "available", "includes", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/OverridesFractal.php#L22-L29", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/OverridesFractal.php", "func_name": "OverridesFractal.callIncludeMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overrides Fractal's method for including a relation.\n\n@param \\League\\Fractal\\Scope $scope\n@param string $identifier\n@param mixed $data\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Overrides", "Fractal", "s", "method", "for", "including", "a", "relation", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/OverridesFractal.php#L49-L54", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/OverridesFractal.php", "func_name": "OverridesFractal.resolveScopedIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve scoped includes for the given scope.\n\n@param \\League\\Fractal\\Scope $scope\n@return array", "docstring_tokens": ["Resolve", "scoped", "includes", "for", "the", "given", "scope", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/OverridesFractal.php#L62-L72", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ErrorResponseBuilder.php", "func_name": "ErrorResponseBuilder.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the error code and message.\n\n@param mixed|null $errorCode\n@param string|null $message\n@return $this", "docstring_tokens": ["Set", "the", "error", "code", "and", "message", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ErrorResponseBuilder.php#L82-L88", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ErrorResponseBuilder.php", "func_name": "ErrorResponseBuilder.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add additional data to the error.\n\n@param array|null $data\n@return $this", "docstring_tokens": ["Add", "additional", "data", "to", "the", "error", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ErrorResponseBuilder.php#L96-L101", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ErrorResponseBuilder.php", "func_name": "ErrorResponseBuilder.serializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the error serializer.\n\n@param \\Flugg\\Responder\\Contracts\\ErrorSerializer|string $serializer\n@return $this\n@throws \\Flugg\\Responder\\Exceptions\\InvalidErrorSerializerException", "docstring_tokens": ["Set", "the", "error", "serializer", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ErrorResponseBuilder.php#L110-L123", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ErrorResponseBuilder.php", "func_name": "ErrorResponseBuilder.getOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the serialized response output.\n\n@return array", "docstring_tokens": ["Get", "the", "serialized", "response", "output", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ErrorResponseBuilder.php#L130-L133", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.resource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a resource from the given data and transformer and set the resource key.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|string|null $transformer\n@param string|null $resourceKey\n@return $this", "docstring_tokens": ["Make", "a", "resource", "from", "the", "given", "data", "and", "transformer", "and", "set", "the", "resource", "key", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L107-L118", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.cursor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Manually set the cursor on the resource.\n\n@param \\League\\Fractal\\Pagination\\Cursor $cursor\n@return $this", "docstring_tokens": ["Manually", "set", "the", "cursor", "on", "the", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L126-L133", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.paginator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Manually set the paginator on the resource.\n\n@param \\League\\Fractal\\Pagination\\IlluminatePaginatorAdapter $paginator\n@return $this", "docstring_tokens": ["Manually", "set", "the", "paginator", "on", "the", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L141-L148", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include relations to the transform.\n\n@param string[]|string $relations\n@return $this", "docstring_tokens": ["Include", "relations", "to", "the", "transform", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L169-L183", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.without", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exclude relations from the transform.\n\n@param string[]|string $relations\n@return $this", "docstring_tokens": ["Exclude", "relations", "from", "the", "transform", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L191-L196", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.only", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter fields to output using sparse fieldsets.\n\n@param string[]|string $fields\n@return $this", "docstring_tokens": ["Filter", "fields", "to", "output", "using", "sparse", "fieldsets", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L204-L209", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.serializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the serializer.\n\n@param \\League\\Fractal\\Serializer\\SerializerAbstract|string $serializer\n@return $this\n@throws \\Flugg\\Responder\\Exceptions\\InvalidSuccessSerializerException", "docstring_tokens": ["Set", "the", "serializer", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L218-L231", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform and serialize the data and return the transformed array.\n\n@return array|null", "docstring_tokens": ["Transform", "and", "serialize", "the", "data", "and", "return", "the", "transformed", "array", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L238-L247", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.prepareRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare requested relations for the transformation.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|string|null $transformer\n@return void", "docstring_tokens": ["Prepare", "requested", "relations", "for", "the", "transformation", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L256-L269", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/TransformBuilder.php", "func_name": "TransformBuilder.eagerLoadRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Eager load all requested relations except the ones defined as an \"include\" method\nin the transformers. We also strip away any parameters from the relation name\nand normalize relations by swapping \"null\" constraints to empty closures.\n\n@param mixed $data\n@param array $requested\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|string|null $transformer\n@return void", "docstring_tokens": ["Eager", "load", "all", "requested", "relations", "except", "the", "ones", "defined", "as", "an", "include", "method", "in", "the", "transformers", ".", "We", "also", "strip", "away", "any", "parameters", "from", "the", "relation", "name", "and", "normalize", "relations", "by", "swapping", "null", "constraints", "to", "empty", "closures", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/TransformBuilder.php#L306-L319", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Serializers/SuccessSerializer.php", "func_name": "SuccessSerializer.paginator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format pagination data.\n\n@param \\League\\Fractal\\Pagination\\PaginatorInterface $paginator\n@return array", "docstring_tokens": ["Format", "pagination", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Serializers/SuccessSerializer.php#L69-L83", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Serializers/SuccessSerializer.php", "func_name": "SuccessSerializer.cursor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format cursor data.\n\n@param \\League\\Fractal\\Pagination\\CursorInterface $cursor\n@return array", "docstring_tokens": ["Format", "cursor", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Serializers/SuccessSerializer.php#L91-L101", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Serializers/SuccessSerializer.php", "func_name": "SuccessSerializer.mergeIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge includes into data.\n\n@param array $transformedData\n@param array $includedData\n@return array", "docstring_tokens": ["Merge", "includes", "into", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Serializers/SuccessSerializer.php#L110-L117", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceKeyResolver.php", "func_name": "ResourceKeyResolver.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a transformable to resource key binding.\n\n@param string|array $transformable\n@param string $resourceKey\n@return void", "docstring_tokens": ["Register", "a", "transformable", "to", "resource", "key", "binding", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceKeyResolver.php#L32-L37", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceKeyResolver.php", "func_name": "ResourceKeyResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a resource key from the given data.\n\n@param mixed $data\n@return string", "docstring_tokens": ["Resolve", "a", "resource", "key", "from", "the", "given", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceKeyResolver.php#L45-L58", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceKeyResolver.php", "func_name": "ResourceKeyResolver.resolveTransformableItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a transformable item from the given data.\n\n@param mixed $data\n@return mixed", "docstring_tokens": ["Resolve", "a", "transformable", "item", "from", "the", "given", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceKeyResolver.php#L81-L90", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Transformer.php", "func_name": "Transformer.resolveTransformer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a transformer from a class name string.\n\n@param string $transformer\n@return mixed", "docstring_tokens": ["Resolve", "a", "transformer", "from", "a", "class", "name", "string", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Transformer.php#L60-L65", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Exceptions/Handler.php", "func_name": "Handler.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render an exception into an HTTP response.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Exception $exception\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Render", "an", "exception", "into", "an", "HTTP", "response", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Exceptions/Handler.php#L27-L38", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ErrorFactory.php", "func_name": "ErrorFactory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make an error array from the given error code and message.\n\n@param \\Flugg\\Responder\\Contracts\\ErrorSerializer $serializer\n@param mixed|null $errorCode\n@param string|null $message\n@param array|null $data\n@return array", "docstring_tokens": ["Make", "an", "error", "array", "from", "the", "given", "error", "code", "and", "message", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ErrorFactory.php#L44-L51", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/FractalTransformFactory.php", "func_name": "FractalTransformFactory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform the given resource, and serialize the data with the given serializer.\n\n@param \\League\\Fractal\\Resource\\ResourceInterface $resource\n@param \\League\\Fractal\\Serializer\\SerializerAbstract $serializer\n@param array $options\n@return array|null", "docstring_tokens": ["Transform", "the", "given", "resource", "and", "serialize", "the", "data", "with", "the", "given", "serializer", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/FractalTransformFactory.php#L45-L55", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/FractalTransformFactory.php", "func_name": "FractalTransformFactory.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the transformation options.\n\n@param array $options\n@param \\League\\Fractal\\Resource\\ResourceInterface $resource\n@return array", "docstring_tokens": ["Parse", "the", "transformation", "options", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/FractalTransformFactory.php#L64-L81", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/FractalTransformFactory.php", "func_name": "FractalTransformFactory.parseFieldsets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the fieldsets for Fractal.\n\n@param array $fieldsets\n@param string $resourceKey\n@param array $includes\n@return array", "docstring_tokens": ["Parse", "the", "fieldsets", "for", "Fractal", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/FractalTransformFactory.php#L91-L110", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/FractalTransformFactory.php", "func_name": "FractalTransformFactory.parseFieldset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given fieldset and append any related resource keys.\n\n@param string $key\n@param array $fields\n@param array $includes\n@return array", "docstring_tokens": ["Parse", "the", "given", "fieldset", "and", "append", "any", "related", "resource", "keys", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/FractalTransformFactory.php#L120-L127", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/FractalTransformFactory.php", "func_name": "FractalTransformFactory.resolveChildIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve included segments that are a direct child to the given resource key.\n\n@param string $key\n@param string $include\n@return array", "docstring_tokens": ["Resolve", "included", "segments", "that", "are", "a", "direct", "child", "to", "the", "given", "resource", "key", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/FractalTransformFactory.php#L136-L145", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ErrorMessageResolver.php", "func_name": "ErrorMessageResolver.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a message mapped to an error code.\n\n@param mixed $errorCode\n@param string $message\n@return void", "docstring_tokens": ["Register", "a", "message", "mapped", "to", "an", "error", "code", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ErrorMessageResolver.php#L48-L53", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ErrorMessageResolver.php", "func_name": "ErrorMessageResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a message from the given error code.\n\n@param mixed $errorCode\n@return string|null", "docstring_tokens": ["Resolve", "a", "message", "from", "the", "given", "error", "code", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ErrorMessageResolver.php#L61-L72", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Middleware/ConvertToSnakeCase.php", "func_name": "ConvertToSnakeCase.cleanArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean the data in the given array.\n\n@param array $data\n@return array", "docstring_tokens": ["Clean", "the", "data", "in", "the", "given", "array", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Middleware/ConvertToSnakeCase.php#L31-L40", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/TransformerResolver.php", "func_name": "TransformerResolver.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a transformable to transformer binding.\n\n@param string|array $transformable\n@param string|callback|null $transformer\n@return void", "docstring_tokens": ["Register", "a", "transformable", "to", "transformer", "binding", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/TransformerResolver.php#L60-L65", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/TransformerResolver.php", "func_name": "TransformerResolver.resolveFromData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a transformer from the given data.\n\n@param mixed $data\n@return \\Flugg\\Responder\\Transformers\\Transformer|callable", "docstring_tokens": ["Resolve", "a", "transformer", "from", "the", "given", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/TransformerResolver.php#L93-L98", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/TransformerResolver.php", "func_name": "TransformerResolver.resolveTransformer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a transformer from the transformable element.\n\n@param mixed $transformable\n@return \\Flugg\\Responder\\Contracts\\Transformable|callable", "docstring_tokens": ["Resolve", "a", "transformer", "from", "the", "transformable", "element", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/TransformerResolver.php#L106-L117", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerLaravelBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Laravel bindings.\n\n@return void", "docstring_tokens": ["Register", "Laravel", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L79-L84", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerLumenBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Lumen bindings.\n\n@return void", "docstring_tokens": ["Register", "Lumen", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L91-L100", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.decorateResponseFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decorate response factories.\n\n@param \\Flugg\\Responder\\Contracts\\ResponseFactory $factory\n@return \\Flugg\\Responder\\Contracts\\ResponseFactory", "docstring_tokens": ["Decorate", "response", "factories", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L108-L115", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerSerializerBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register serializer bindings.\n\n@return void", "docstring_tokens": ["Register", "serializer", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L122-L131", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerErrorBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register error bindings.\n\n@return void", "docstring_tokens": ["Register", "error", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L138-L151", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerFractalBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Fractal bindings.\n\n@return void", "docstring_tokens": ["Register", "Fractal", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L158-L163", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerTransformerBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register transformer bindings.\n\n@return void", "docstring_tokens": ["Register", "transformer", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L170-L179", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.registerTransformationBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register transformation bindings.\n\n@return void", "docstring_tokens": ["Register", "transformation", "bindings", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L214-L229", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/ResponderServiceProvider.php", "func_name": "ResponderServiceProvider.bootLaravelApplication", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the Laravel application.\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "Laravel", "application", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/ResponderServiceProvider.php#L265-L275", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Pagination/CursorPaginator.php", "func_name": "CursorPaginator.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the paginator's underlying collection.\n\n@param \\Illuminate\\Support\\Collection|array|null $data\n@return self", "docstring_tokens": ["Set", "the", "paginator", "s", "underlying", "collection", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Pagination/CursorPaginator.php#L126-L131", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Serializers/ErrorSerializer.php", "func_name": "ErrorSerializer.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the error data.\n\n@param mixed|null $errorCode\n@param string|null $message\n@param array|null $data\n@return array", "docstring_tokens": ["Format", "the", "error", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Serializers/ErrorSerializer.php#L24-L38", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.relations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of whitelisted relations that are requested, including nested relations.\n\n@param array $requested\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "whitelisted", "relations", "that", "are", "requested", "including", "nested", "relations", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L36-L43", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.defaultRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of default relations including nested relations.\n\n@param array $requested\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "default", "relations", "including", "nested", "relations", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L51-L58", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.extractRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract available root relations from the given list of relations.\n\n@param array $relations\n@return array", "docstring_tokens": ["Extract", "available", "root", "relations", "from", "the", "given", "list", "of", "relations", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L98-L110", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.extractChildRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract all nested relations under a given identifier.\n\n@param array $relations\n@param string $identifier\n@return array", "docstring_tokens": ["Extract", "all", "nested", "relations", "under", "a", "given", "identifier", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L119-L131", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.wrapChildRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrap the identifier of each relation of the given list of nested relations with\nthe parent relation identifier using dot notation.\n\n@param array $nestedRelations\n@param string $relation\n@return array", "docstring_tokens": ["Wrap", "the", "identifier", "of", "each", "relation", "of", "the", "given", "list", "of", "nested", "relations", "with", "the", "parent", "relation", "identifier", "using", "dot", "notation", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L141-L146", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.applyQueryConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies any query constraints defined in the transformer to the list of relaations.\n\n@param array $relations\n@return array", "docstring_tokens": ["Applies", "any", "query", "constraints", "defined", "in", "the", "transformer", "to", "the", "list", "of", "relaations", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L189-L194", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.resolveQueryConstraint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a query constraint for a given relation identifier.\n\n@param string $identifier\n@return \\Closure|null", "docstring_tokens": ["Resolve", "a", "query", "constraint", "for", "a", "given", "relation", "identifier", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L202-L211", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.resolveRelation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a relation from a model instance and an identifier.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $model\n@param string $identifier\n@return mixed", "docstring_tokens": ["Resolve", "a", "relation", "from", "a", "model", "instance", "and", "an", "identifier", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L220-L230", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/HasRelationships.php", "func_name": "HasRelationships.mappedTransformers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a list of transformers from a list of relations mapped to transformers.\n\n@param array $relations\n@return array", "docstring_tokens": ["Resolve", "a", "list", "of", "transformers", "from", "a", "list", "of", "relations", "mapped", "to", "transformers", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/HasRelationships.php#L238-L247", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/MakesResources.php", "func_name": "MakesResources.resource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a resource.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|string|callable|null $transformer\n@param string|null $resourceKey\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Make", "a", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/MakesResources.php#L36-L45", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/MakesResources.php", "func_name": "MakesResources.includeResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include a related resource.\n\n@param string $identifier\n@param mixed $data\n@param array $parameters\n@return \\League\\Fractal\\Resource\\ResourceInterface\n@throws \\LogicException", "docstring_tokens": ["Include", "a", "related", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/MakesResources.php#L56-L69", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/MakesResources.php", "func_name": "MakesResources.includeResourceFromModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include a related resource from a model and cache the resource type for following calls.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $model\n@param string $identifier\n@param \\Flugg\\Responder\\Transformers\\Transformer|string|callable|null $transformer\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Include", "a", "related", "resource", "from", "a", "model", "and", "cache", "the", "resource", "type", "for", "following", "calls", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/MakesResources.php#L79-L90", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformers/Concerns/MakesResources.php", "func_name": "MakesResources.shouldCacheResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates if the resource should be cached.\n\n@param mixed $data\n@return bool", "docstring_tokens": ["Indicates", "if", "the", "resource", "should", "be", "cached", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformers/Concerns/MakesResources.php#L98-L101", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceFactory.php", "func_name": "ResourceFactory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make resource from the given data.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|string|callable|null $transformer\n@param string|null $resourceKey\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Make", "resource", "from", "the", "given", "data", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceFactory.php#L68-L80", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceFactory.php", "func_name": "ResourceFactory.makeFromResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make resource from the given resource.\n\n@param \\League\\Fractal\\Resource\\ResourceInterface $resource\n@param \\Flugg\\Responder\\Transformers\\Transformer|string|callable|null $transformer\n@param string|null $resourceKey\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Make", "resource", "from", "the", "given", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceFactory.php#L90-L96", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceFactory.php", "func_name": "ResourceFactory.instatiateResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instatiate a new resource instance.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|null $transformer\n@param string|null $resourceKey\n@return \\League\\Fractal\\Resource\\ResourceInterface", "docstring_tokens": ["Instatiate", "a", "new", "resource", "instance", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceFactory.php#L106-L117", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceFactory.php", "func_name": "ResourceFactory.shouldCreateCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates if the data belongs to a collection resource.\n\n@param mixed $data\n@return bool", "docstring_tokens": ["Indicates", "if", "the", "data", "belongs", "to", "a", "collection", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceFactory.php#L125-L132", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/ResourceFactory.php", "func_name": "ResourceFactory.resolveResourceKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a resource key.\n\n@param mixed $data\n@param string|null $resourceKey\n@return null|string", "docstring_tokens": ["Resolve", "a", "resource", "key", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/ResourceFactory.php#L157-L160", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ResponseBuilder.php", "func_name": "ResponseBuilder.decorator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decorate the response with the given decorator.\n\n@param string[]|string $decorator\n@return $this", "docstring_tokens": ["Decorate", "the", "response", "with", "the", "given", "decorator", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ResponseBuilder.php#L50-L59", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/ResponseBuilder.php", "func_name": "ResponseBuilder.respond", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Respond with a successful response.\n\n@param int|null $status\n@param array $headers\n@return \\Illuminate\\Http\\JsonResponse", "docstring_tokens": ["Respond", "with", "a", "successful", "response", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/ResponseBuilder.php#L68-L75", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/DataNormalizer.php", "func_name": "DataNormalizer.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize the data for a resource.\n\n@param mixed $data\n@return mixed", "docstring_tokens": ["Normalize", "the", "data", "for", "a", "resource", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/DataNormalizer.php#L30-L41", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Resources/DataNormalizer.php", "func_name": "DataNormalizer.normalizeRelation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize a relationship.\n\n@param \\Illuminate\\Database\\Eloquent\\Relations\\Relation $relation\n@return \\Illuminate\\Support\\Collection|\\Illuminate\\Database\\Eloquent\\Model|null", "docstring_tokens": ["Normalize", "a", "relationship", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Resources/DataNormalizer.php#L49-L56", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Http/Responses/SuccessResponseBuilder.php", "func_name": "SuccessResponseBuilder.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set resource data for the transformation.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|string|null $transformer\n@param string|null $resourceKey\n@return self", "docstring_tokens": ["Set", "resource", "data", "for", "the", "transformation", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Http/Responses/SuccessResponseBuilder.php#L64-L69", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Exceptions/ConvertsExceptions.php", "func_name": "ConvertsExceptions.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an exception to another exception\n\n@param \\Exception $exception\n@param array $convert\n@return void", "docstring_tokens": ["Convert", "an", "exception", "to", "another", "exception"], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Exceptions/ConvertsExceptions.php#L44-L55", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Exceptions/ConvertsExceptions.php", "func_name": "ConvertsExceptions.convertDefaultException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a default exception to an API exception.\n\n@param \\Exception $exception\n@return void", "docstring_tokens": ["Convert", "a", "default", "exception", "to", "an", "API", "exception", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Exceptions/ConvertsExceptions.php#L63-L75", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Exceptions/ConvertsExceptions.php", "func_name": "ConvertsExceptions.renderResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render an error response from an API exception.\n\n@param \\Flugg\\Responder\\Exceptions\\Http\\HttpException $exception\n@return \\Illuminate\\Http\\JsonResponse", "docstring_tokens": ["Render", "an", "error", "response", "from", "an", "API", "exception", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Exceptions/ConvertsExceptions.php#L83-L89", "partition": "test"} +{"repo": "flugger/laravel-responder", "path": "src/Transformation.php", "func_name": "Transformation.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new transformation to transform data without serializing.\n\n@param mixed $data\n@param \\Flugg\\Responder\\Transformers\\Transformer|callable|string|null $transformer\n@param string|null $resourceKey\n@return \\Flugg\\Responder\\TransformBuilder", "docstring_tokens": ["Make", "a", "new", "transformation", "to", "transform", "data", "without", "serializing", "."], "sha": "4baadabc9087d73927cf13b65a253f9e7ddef15c", "url": "https://github.com/flugger/laravel-responder/blob/4baadabc9087d73927cf13b65a253f9e7ddef15c/src/Transformation.php#L41-L44", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.configureTerminal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the terminal to work with CliMenu", "docstring_tokens": ["Configure", "the", "terminal", "to", "work", "with", "CliMenu"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L104-L112", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.addItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add multiple Items to the menu", "docstring_tokens": ["Add", "multiple", "Items", "to", "the", "menu"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L168-L175", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.setItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Items of the menu", "docstring_tokens": ["Set", "Items", "of", "the", "menu"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L180-L186", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.selectFirstItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the selected pointer to the first selectable item", "docstring_tokens": ["Set", "the", "selected", "pointer", "to", "the", "first", "selectable", "item"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L191-L201", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.addCustomControlMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a custom control mapping", "docstring_tokens": ["Adds", "a", "custom", "control", "mapping"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L222-L229", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.removeCustomControlMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a custom control mapping", "docstring_tokens": ["Removes", "a", "custom", "control", "mapping"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L244-L251", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display menu and capture input", "docstring_tokens": ["Display", "menu", "and", "capture", "input"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L256-L289", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.getSelectedItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the item the user actually selected", "docstring_tokens": ["Retrieve", "the", "item", "the", "user", "actually", "selected"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L370-L380", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.executeCurrentItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the current item", "docstring_tokens": ["Execute", "the", "current", "item"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L404-L414", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.redraw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If true we clear the whole terminal screen, useful\nfor example when reducing the width of the menu, to not\nleave leftovers of the previous wider menu.\n\nRedraw the menu", "docstring_tokens": ["If", "true", "we", "clear", "the", "whole", "terminal", "screen", "useful", "for", "example", "when", "reducing", "the", "width", "of", "the", "menu", "to", "not", "leave", "leftovers", "of", "the", "previous", "wider", "menu", "."], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L423-L431", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.draw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw the menu to STDOUT", "docstring_tokens": ["Draw", "the", "menu", "to", "STDOUT"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L443-L487", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.drawMenuItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw a menu item", "docstring_tokens": ["Draw", "a", "menu", "item"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L492-L530", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/CliMenu.php", "func_name": "CliMenu.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close the menu\n\n@throws InvalidTerminalException", "docstring_tokens": ["Close", "the", "menu"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/CliMenu.php#L555-L565", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/SplitItem.php", "func_name": "SplitItem.setDefaultSelectedItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select default item", "docstring_tokens": ["Select", "default", "item"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/SplitItem.php#L86-L98", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/SplitItem.php", "func_name": "SplitItem.canSelectIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is there an item with this index and can it be\nselected?", "docstring_tokens": ["Is", "there", "an", "item", "with", "this", "index", "and", "can", "it", "be", "selected?"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/SplitItem.php#L219-L222", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/SplitItem.php", "func_name": "SplitItem.setSelectedItemIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the item index which should be selected. If the item does\nnot exist then throw an exception.", "docstring_tokens": ["Set", "the", "item", "index", "which", "should", "be", "selected", ".", "If", "the", "item", "does", "not", "exist", "then", "throw", "an", "exception", "."], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/SplitItem.php#L228-L235", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/SplitItem.php", "func_name": "SplitItem.getSelectedItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the currently selected item - if no items are selectable\nthen throw an exception.", "docstring_tokens": ["Get", "the", "currently", "selected", "item", "-", "if", "no", "items", "are", "selectable", "then", "throw", "an", "exception", "."], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/SplitItem.php#L250-L257", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Util/StringUtil.php", "func_name": "StringUtil.wordwrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minimal multi-byte wordwrap implementation\nwhich also takes break length into consideration", "docstring_tokens": ["Minimal", "multi", "-", "byte", "wordwrap", "implementation", "which", "also", "takes", "break", "length", "into", "consideration"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Util/StringUtil.php#L14-L40", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuStyle.php", "func_name": "MenuStyle.generateColoursSetCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the ansi escape sequence to set the colours", "docstring_tokens": ["Generates", "the", "ansi", "escape", "sequence", "to", "set", "the", "colours"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuStyle.php#L280-L295", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuStyle.php", "func_name": "MenuStyle.calculateContentWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the contents width", "docstring_tokens": ["Calculate", "the", "contents", "width"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuStyle.php#L332-L341", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuStyle.php", "func_name": "MenuStyle.getRightHandPadding", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get padding for right had side of content", "docstring_tokens": ["Get", "padding", "for", "right", "had", "side", "of", "content"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuStyle.php#L517-L526", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuStyle.php", "func_name": "MenuStyle.setBorder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shorthand function to set all borders values at once", "docstring_tokens": ["Shorthand", "function", "to", "set", "all", "borders", "values", "at", "once"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuStyle.php#L623-L658", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Dialogue/Flash.php", "func_name": "Flash.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flash a message on top of the menu which\ndisappears on any keystroke.", "docstring_tokens": ["Flash", "a", "message", "on", "top", "of", "the", "menu", "which", "disappears", "on", "any", "keystroke", "."], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Dialogue/Flash.php#L16-L41", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Dialogue/Dialogue.php", "func_name": "Dialogue.calculateCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the co-ordinates to write the messages", "docstring_tokens": ["Calculate", "the", "co", "-", "ordinates", "to", "write", "the", "messages"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Dialogue/Dialogue.php#L68-L79", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Dialogue/Dialogue.php", "func_name": "Dialogue.emptyRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write an empty row", "docstring_tokens": ["Write", "an", "empty", "row"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Dialogue/Dialogue.php#L84-L96", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Dialogue/Dialogue.php", "func_name": "Dialogue.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write some text at a particular column", "docstring_tokens": ["Write", "some", "text", "at", "a", "particular", "column"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Dialogue/Dialogue.php#L101-L105", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/AsciiArtItem.php", "func_name": "AsciiArtItem.setText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the raw string of text", "docstring_tokens": ["Set", "the", "raw", "string", "of", "text"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/AsciiArtItem.php#L106-L113", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/MenuItem/AsciiArtItem.php", "func_name": "AsciiArtItem.calculateArtLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the length of the art", "docstring_tokens": ["Calculate", "the", "length", "of", "the", "art"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/MenuItem/AsciiArtItem.php#L118-L121", "partition": "test"} +{"repo": "php-school/cli-menu", "path": "src/Dialogue/Confirm.php", "func_name": "Confirm.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display confirmation with a button with the given text", "docstring_tokens": ["Display", "confirmation", "with", "a", "button", "with", "the", "given", "text"], "sha": "2b24d576338c5add84c9515a766c6d12337ff2b8", "url": "https://github.com/php-school/cli-menu/blob/2b24d576338c5add84c9515a766c6d12337ff2b8/src/Dialogue/Confirm.php#L17-L71", "partition": "test"} +{"repo": "cviebrock/laravel-elasticsearch", "path": "src/Manager.php", "func_name": "Manager.connection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve or build the named connection.\n\n@param string|null $name\n\n@return Client", "docstring_tokens": ["Retrieve", "or", "build", "the", "named", "connection", "."], "sha": "be93100c3817eb378249ca05f593c6c8d9ed6fcb", "url": "https://github.com/cviebrock/laravel-elasticsearch/blob/be93100c3817eb378249ca05f593c6c8d9ed6fcb/src/Manager.php#L52-L63", "partition": "test"} +{"repo": "cviebrock/laravel-elasticsearch", "path": "src/Manager.php", "func_name": "Manager.makeConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new connection.\n\n@param string $name\n\n@return \\Elasticsearch\\Client", "docstring_tokens": ["Make", "a", "new", "connection", "."], "sha": "be93100c3817eb378249ca05f593c6c8d9ed6fcb", "url": "https://github.com/cviebrock/laravel-elasticsearch/blob/be93100c3817eb378249ca05f593c6c8d9ed6fcb/src/Manager.php#L92-L97", "partition": "test"} +{"repo": "cviebrock/laravel-elasticsearch", "path": "src/Manager.php", "func_name": "Manager.getConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the configuration for a named connection.\n\n@param $name\n\n@return mixed\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "the", "configuration", "for", "a", "named", "connection", "."], "sha": "be93100c3817eb378249ca05f593c6c8d9ed6fcb", "url": "https://github.com/cviebrock/laravel-elasticsearch/blob/be93100c3817eb378249ca05f593c6c8d9ed6fcb/src/Manager.php#L107-L116", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Compression/DeflateCompressor.php", "func_name": "DeflateCompressor.Compress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compresses the input byte array into stream.\n@param curl_headers Curl headers, pre-compression\n@param requestBody POST body, pre-compression", "docstring_tokens": ["Compresses", "the", "input", "byte", "array", "into", "stream", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Compression/DeflateCompressor.php#L18-L28", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test whether a given option has been seen.\n\n@param string $key\n@return boolean", "docstring_tokens": ["Test", "whether", "a", "given", "option", "has", "been", "seen", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L291-L299", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.addArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define additional command-line arguments.\nThese are appended to those defined when the constructor was called.\n\n@param array $argv\n@throws Zend_Console_Getopt_Exception When not given an array as parameter\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "additional", "command", "-", "line", "arguments", ".", "These", "are", "appended", "to", "those", "defined", "when", "the", "constructor", "was", "called", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L350-L360", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.setArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define full set of command-line arguments.\nThese replace any currently defined.\n\n@param array $argv\n@throws Zend_Console_Getopt_Exception When not given an array as parameter\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "full", "set", "of", "command", "-", "line", "arguments", ".", "These", "replace", "any", "currently", "defined", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L370-L380", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define multiple configuration options from an associative array.\nThese are not program options, but properties to configure\nthe behavior of Zend_Console_Getopt.\n\n@param array $getoptConfig\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "multiple", "configuration", "options", "from", "an", "associative", "array", ".", "These", "are", "not", "program", "options", "but", "properties", "to", "configure", "the", "behavior", "of", "Zend_Console_Getopt", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L390-L398", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.addRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define additional option rules.\nThese are appended to the rules defined when the constructor was called.\n\n@param array $rules\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "additional", "option", "rules", ".", "These", "are", "appended", "to", "the", "rules", "defined", "when", "the", "constructor", "was", "called", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L424-L448", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the current set of options and parameters seen as a string.\n\n@return string", "docstring_tokens": ["Return", "the", "current", "set", "of", "options", "and", "parameters", "seen", "as", "a", "string", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L455-L463", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the current set of options and parameters seen\nas an array of canonical options and parameters.\n\nClusters have been expanded, and option aliases\nhave been mapped to their primary option names.\n\n@return array", "docstring_tokens": ["Return", "the", "current", "set", "of", "options", "and", "parameters", "seen", "as", "an", "array", "of", "canonical", "options", "and", "parameters", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L474-L485", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.toJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the current set of options and parameters seen in Json format.\n\n@return string", "docstring_tokens": ["Return", "the", "current", "set", "of", "options", "and", "parameters", "seen", "in", "Json", "format", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L492-L512", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.toXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the current set of options and parameters seen in XML format.\n\n@return string", "docstring_tokens": ["Return", "the", "current", "set", "of", "options", "and", "parameters", "seen", "in", "XML", "format", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L519-L535", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the state of the option seen on the command line of the\ncurrent application invocation.\n\nThis function returns true, or the parameter value to the option, if any.\nIf the option was not given, this function returns false.\n\n@param string $flag\n@return mixed", "docstring_tokens": ["Return", "the", "state", "of", "the", "option", "seen", "on", "the", "command", "line", "of", "the", "current", "application", "invocation", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L558-L571", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.getUsageMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a useful option reference, formatted for display in an\nerror message.\n\nNote that this usage information is provided in most Exceptions\ngenerated by this class.\n\n@return string", "docstring_tokens": ["Return", "a", "useful", "option", "reference", "formatted", "for", "display", "in", "an", "error", "message", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L593-L632", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.setAliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define aliases for options.\n\nThe parameter $aliasMap is an associative array\nmapping option name (short or long) to an alias.\n\n@param array $aliasMap\n@throws Zend_Console_Getopt_Exception\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "aliases", "for", "options", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L644-L665", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.setHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define help messages for options.\n\nThe parameter $help_map is an associative array\nmapping option name (short or long) to the help string.\n\n@param array $helpMap\n@return Zend_Console_Getopt Provides a fluent interface", "docstring_tokens": ["Define", "help", "messages", "for", "options", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L676-L686", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse command-line arguments and find both long and short\noptions.\n\nAlso find option parameters, and remaining arguments after\nall options have been parsed.\n\n@return Zend_Console_Getopt|null Provides a fluent interface", "docstring_tokens": ["Parse", "command", "-", "line", "arguments", "and", "find", "both", "long", "and", "short", "options", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L697-L730", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt._parseShortOptionCluster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse command-line arguments for short options.\nShort options are those preceded by a single '-' character.\nShort options may be clustered.\n\n@param mixed &$argv\n@return void", "docstring_tokens": ["Parse", "command", "-", "line", "arguments", "for", "short", "options", ".", "Short", "options", "are", "those", "preceded", "by", "a", "single", "-", "character", ".", "Short", "options", "may", "be", "clustered", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L760-L766", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt._parseSingleOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse command-line arguments for a single option.\n\n@param string $flag\n@param mixed $argv\n@throws Zend_Console_Getopt_Exception\n@return void", "docstring_tokens": ["Parse", "command", "-", "line", "arguments", "for", "a", "single", "option", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L776-L812", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt._addRulesModeGnu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define legal options using the gnu-style format.\n\n@param string $rules\n@return void", "docstring_tokens": ["Define", "legal", "options", "using", "the", "gnu", "-", "style", "format", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L860-L886", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php", "func_name": "Zend_Console_Getopt._addRulesModeZend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define legal options using the Zend-style format.\n\n@param array $rules\n@throws Zend_Console_Getopt_Exception\n@return void", "docstring_tokens": ["Define", "legal", "options", "using", "the", "Zend", "-", "style", "format", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php#L895-L965", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth1/OAuth1.php", "func_name": "OAuth1.getOAuthHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the completed signed Authorization Header\n@param String $uri The complete URL contains everything\n@param Array $queryParameters The QueryParaemters for the request\n@param String $httpMethod The Http Method. POST or GET\n@return String Authorization Header", "docstring_tokens": ["Return", "the", "completed", "signed", "Authorization", "Header"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth1/OAuth1.php#L128-L134", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth1/OAuth1.php", "func_name": "OAuth1.getBaseString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the base String for OAuth 1 to sign\n@param String $uri The Complete URL contains everything\n@param String $method The Http Method. POST or GET\n@param Array $parameters The query parameters for the array\n@return String The baseString for sign", "docstring_tokens": ["Prepare", "the", "base", "String", "for", "OAuth", "1", "to", "sign"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth1/OAuth1.php#L156-L161", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth1/OAuth1.php", "func_name": "OAuth1.prepareHttpMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to format the HTTP method\n@param String $method The Post or Get\n@return String The formatted HTTP method", "docstring_tokens": ["Helper", "method", "to", "format", "the", "HTTP", "method"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth1/OAuth1.php#L169-L173", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth1/OAuth1.php", "func_name": "OAuth1.setNonce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a random nonce for the signature\n@param int $length the lenght of the lenght", "docstring_tokens": ["Set", "a", "random", "nonce", "for", "the", "signature"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth1/OAuth1.php#L236-L245", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth1/OAuth1.php", "func_name": "OAuth1.appendOAuthPartsTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add all OAuth query paraemters to the signature string string\n@param Array $queryParameters The queryParameters to be included\n@return Array $queryParameters The complete query parameters", "docstring_tokens": ["Add", "all", "OAuth", "query", "paraemters", "to", "the", "signature", "string", "string"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth1/OAuth1.php#L259-L270", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/QueryFilter/QueryMessage.php", "func_name": "QueryMessage.getString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SQL query specified by object's members\n@return string query", "docstring_tokens": ["Get", "SQL", "query", "specified", "by", "object", "s", "members"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/QueryFilter/QueryMessage.php#L67-L105", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/ClientFactory.php", "func_name": "ClientFactory.createClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A static factory to create Http Client.\n@param String HttpClient Name, default is using curl. Developer can set guzzleclient by passing 'guzzle' as client Name\n@return HttpClientInterface", "docstring_tokens": ["A", "static", "factory", "to", "create", "Http", "Client", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/ClientFactory.php#L24-L42", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Diagnostics/LogRequestsToDisk.php", "func_name": "LogRequestsToDisk.GetLogDestination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the log destination folder\n@return string log destination folder", "docstring_tokens": ["Gets", "the", "log", "destination", "folder"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Diagnostics/LogRequestsToDisk.php#L57-L65", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Diagnostics/LogRequestsToDisk.php", "func_name": "LogRequestsToDisk.LogPlatformRequests", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the Platform Request to Disk.\n@param string xml The xml to log.\n@param string url of the request/response\n@param array headers HTTP headers of the request/response\n@param bool isRequest Specifies whether the xml is request or response.", "docstring_tokens": ["Logs", "the", "Platform", "Request", "to", "Disk", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Diagnostics/LogRequestsToDisk.php#L74-L120", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/OperationControlList.php", "func_name": "OperationControlList.isAllowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies if operation is available for some entity\n@param string $entity\n@param string $operation\n@return bool", "docstring_tokens": ["Verifies", "if", "operation", "is", "available", "for", "some", "entity"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/OperationControlList.php#L62-L96", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php", "func_name": "AbstractWsdl.prepareReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare service class reflection\n\n@return void", "docstring_tokens": ["Prepare", "service", "class", "reflection"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php#L217-L223", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php", "func_name": "AbstractWsdl.toXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return WSDL as XML string\n\n@return string", "docstring_tokens": ["Return", "WSDL", "as", "XML", "string"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php#L255-L266", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php", "func_name": "AbstractWsdl.copyToPublic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy given file to publicSchemaPath\n\n@param string $path Path to file\n@param boolean $overwrite Overwrite file if it exists? default false\n\n@return string Path to new file\n@throws RuntimeException If file cannot be copied", "docstring_tokens": ["Copy", "given", "file", "to", "publicSchemaPath"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/AbstractWsdl.php#L547-L559", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php", "func_name": "Php2Xml.castToStringZero", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast numeric empty value to string\n@see SDK-78\n@param ReflectionProperty $prop\n@param Object $obj", "docstring_tokens": ["Cast", "numeric", "empty", "value", "to", "string"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php#L355-L361", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.ReadConfigurationFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the configuration from the config file and converts it to custom\nconfig objects which the end developer will use to get or set the properties.\n\n@param $filePath\nA Customer FilePath. If different than the default sdk.config file\n@return IppConfiguration The custom config object.", "docstring_tokens": ["Reads", "the", "configuration", "from", "the", "config", "file", "and", "converts", "it", "to", "custom", "config", "objects", "which", "the", "end", "developer", "will", "use", "to", "get", "or", "set", "the", "properties", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L78-L100", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.initializeAPIEntityRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes API Entity Rules\n\n@param IppConfiguration $ippConfig\n@param \\SimpleXMLElement $xmlObj", "docstring_tokens": ["Initializes", "API", "Entity", "Rules"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L144-L152", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.populateJsonOnlyEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns array in a OperationControlList rules format from XML\n@param \\SimpleXMLElement $xmlObj\n@return boolean", "docstring_tokens": ["Returns", "array", "in", "a", "OperationControlList", "rules", "format", "from", "XML"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L185-L215", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.initializeOAuthSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize OAuth Settings from Simple XML Reading from SDK.config or specific file\nrightnow the default OAuth module is OAuth 1.\n@Hao", "docstring_tokens": ["Initialize", "OAuth", "Settings", "from", "Simple", "XML", "Reading", "from", "SDK", ".", "config", "or", "specific", "file", "rightnow", "the", "default", "OAuth", "module", "is", "OAuth", "1", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L222-L262", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.initializeRequestAndResponseSerializationAndCompressionFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize Compression Serialization format Settings from Simple XML Reading from SDK.config\n@Hao", "docstring_tokens": ["Initialize", "Compression", "Serialization", "format", "Settings", "from", "Simple", "XML", "Reading", "from", "SDK", ".", "config"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L268-L292", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/LocalConfigReader.php", "func_name": "LocalConfigReader.intializaeServiceBaseURLAndLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize BaseURL and log Settings from Simple XML Reading from SDK.config\n@Hao", "docstring_tokens": ["Initialize", "BaseURL", "and", "log", "Settings", "from", "Simple", "XML", "Reading", "from", "SDK", ".", "config"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/LocalConfigReader.php#L375-L412", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/IntuitCDCResponse.php", "func_name": "IntuitCDCResponse.getEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the List of entity value with particular key\n@var string key", "docstring_tokens": ["Gets", "the", "List", "of", "entity", "value", "with", "particular", "key"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/IntuitCDCResponse.php#L34-L42", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/IntuitErrorHandler.php", "func_name": "IntuitErrorHandler.IsValidXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the input string is a well formatted xml string\n@param string inputString Input xml string\n@return bool True if 'inputString' is a valid xml", "docstring_tokens": ["Validates", "the", "input", "string", "is", "a", "well", "formatted", "xml", "string"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/IntuitErrorHandler.php#L67-L80", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Configuration/ContentWriterSettings.php", "func_name": "ContentWriterSettings.verifyConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies current settigns\n@throws SdkException", "docstring_tokens": ["Verifies", "current", "settigns"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Configuration/ContentWriterSettings.php#L35-L55", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/ReflectionUtil.php", "func_name": "ReflectionUtil.loadWebServicesClassAndReturnNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all WebhooksService Class under WebhooksService directory\n\nPre-assumption: the WebhooksService dir is at the top layer of the SDK class.\n\n@return array", "docstring_tokens": ["Get", "all", "WebhooksService", "Class", "under", "WebhooksService", "directory"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/ReflectionUtil.php#L17-L34", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/ReflectionUtil.php", "func_name": "ReflectionUtil.isValidWebhooksClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "When given a WehbooksService name, check if the given class name is defined on the WehbooksService directory\n\n@param $className\nThe object name that belongs to WebhooksService\n@param null $classCollection\nDefault to be null. User can choose to pass their own collection\n@return null|string\nIf the class name can be found in Webhooks Service, return the name; otherwise, return null.", "docstring_tokens": ["When", "given", "a", "WehbooksService", "name", "check", "if", "the", "given", "class", "name", "is", "defined", "on", "the", "WehbooksService", "directory"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/ReflectionUtil.php#L47-L67", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array of options suitable for using with SoapServer constructor\n\n@return array", "docstring_tokens": ["Return", "array", "of", "options", "suitable", "for", "using", "with", "SoapServer", "constructor"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L231-L263", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.validateUrn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for valid URN\n\n@param string $urn\n@return true\n@throws Zend_Soap_Server_Exception on invalid URN", "docstring_tokens": ["Check", "for", "valid", "URN"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L328-L337", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.addFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a function as a server method\n\n@param array|string $function Function name, array of function names to attach,\nor SOAP_FUNCTIONS_ALL to attach all functions\n@param string $namespace Ignored\n@return Zend_Soap_Server\n@throws Zend_Soap_Server_Exception on invalid functions", "docstring_tokens": ["Attach", "a", "function", "as", "a", "server", "method"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L503-L534", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.setClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a class to a server\n\nAccepts a class name to use when handling requests. Any additional\narguments will be passed to that class' constructor when instantiated.\n\nSee {@link setObject()} to set preconfigured object instances as request handlers.\n\n@param string $class Class Name which executes SOAP Requests at endpoint.\n@return Zend_Soap_Server\n@throws Zend_Soap_Server_Exception if called more than once, or if class\ndoes not exist", "docstring_tokens": ["Attach", "a", "class", "to", "a", "server"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L549-L574", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.setObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach an object to a server\n\nAccepts an instanciated object to use when handling requests.\n\n@param object $object\n@return Zend_Soap_Server", "docstring_tokens": ["Attach", "an", "object", "to", "a", "server"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L584-L599", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.getFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a server definition array\n\nReturns a list of all functions registered with {@link addFunction()},\nmerged with all public methods of the class set with {@link setClass()}\n(if any).\n\n@access public\n@return array", "docstring_tokens": ["Return", "a", "server", "definition", "array"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L611-L621", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.setPersistence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set server persistence\n\n@param int $mode\n@return Zend_Soap_Server", "docstring_tokens": ["Set", "server", "persistence"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L642-L651", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server._getSoap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SoapServer object\n\nUses {@link $_wsdl} and return value of {@link getOptions()} to instantiate\nSoapServer object, and then registers any functions or class with it, as\nwell as peristence.\n\n@return SoapServer", "docstring_tokens": ["Get", "SoapServer", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L757-L781", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a request\n\nInstantiates SoapServer object with options set in object, and\ndispatches its handle() method.\n\n$request may be any of:\n- DOMDocument; if so, then cast to XML\n- DOMNode; if so, then grab owner document and cast to XML\n- SimpleXMLElement; if so, then cast to XML\n- stdClass; if so, calls __toString() and verifies XML\n- string; if so, verifies XML\n\nIf no request is passed, pulls request using php:://input (for\ncross-platform compatability purposes).\n\n@param DOMDocument|DOMNode|SimpleXMLElement|stdClass|string $request Optional request\n@return void|string", "docstring_tokens": ["Handle", "a", "request"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L802-L848", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.deregisterFaultException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deregister a fault exception from the fault exception stack\n\n@param string $class\n@return boolean", "docstring_tokens": ["Deregister", "a", "fault", "exception", "from", "the", "fault", "exception", "stack"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L881-L890", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.fault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a server fault\n\nNote that the arguments are reverse to those of SoapFault.\n\nIf an exception is passed as the first argument, its message and code\nwill be used to create the fault object if it has been registered via\n{@Link registerFaultException()}.\n\n@link http://www.w3.org/TR/soap12-part1/#faultcodes\n@param string|Exception $fault\n@param string $code SOAP Fault Codes\n@return SoapFault", "docstring_tokens": ["Generate", "a", "server", "fault"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L916-L942", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php", "func_name": "Zend_Soap_Server.handlePhpErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw PHP errors as SoapFaults\n\n@param int $errno\n@param string $errstr\n@param string $errfile\n@param int $errline\n@param array $errcontext\n@return void\n@throws SoapFault", "docstring_tokens": ["Throw", "PHP", "errors", "as", "SoapFaults"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Server.php#L955-L958", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.getAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the OAuth 2 Access Token Obj from the login helper.\n@return OAuth2AccessToken The OAuth 2 Access Token object", "docstring_tokens": ["Return", "the", "OAuth", "2", "Access", "Token", "Obj", "from", "the", "login", "helper", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L125-L131", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.getAuthorizationCodeURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Step 1 of OAuth 2 protocol. Return the OAuth 2 Authorization URL.\n@return String THe Authorization URL", "docstring_tokens": ["Step", "1", "of", "OAuth", "2", "protocol", ".", "Return", "the", "OAuth", "2", "Authorization", "URL", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L197-L208", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.refreshToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new access token based on the refresh token\n@return OAuth2AccessToken A new OAuth2AccessToken that contains all the information(accessTokenkey, RefreshTokenKey, ClientID, and ClientSecret, Expiration Time, etc)", "docstring_tokens": ["Get", "a", "new", "access", "token", "based", "on", "the", "refresh", "token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L247-L260", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.OAuth1ToOAuth2Migration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provide OAuth 1 token generation for OAuth 2 token. This function currently is not available on QUickBooks Online yet.\n@param String $consumerKey The consumer key of OAuth 1\n@param String $consumerSecre The consumer Secre of OAuth 1\n@param String $accessToken The access token key of OAuth 1\n@param String $accessTokenSecret The access Token Secret key of OAuth 1\n@param String $scope The scope of the key\n@return OAuth2AccessToken", "docstring_tokens": ["Provide", "OAuth", "1", "token", "generation", "for", "OAuth", "2", "token", ".", "This", "function", "currently", "is", "not", "available", "on", "QUickBooks", "Online", "yet", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L318-L342", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.parseNewAccessTokenFromResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the JSON Body to store the information to an OAuth 2 Access Token\n@param String $body The JSON String contains all the OAuth 2 Access token information\n@param String $realmID The realmID returned from authorization Code steps.It does not require for refresh token", "docstring_tokens": ["Parse", "the", "JSON", "Body", "to", "store", "the", "information", "to", "an", "OAuth", "2", "Access", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L360-L382", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.checkIfEmptyValueReturned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper function to check Null value\n@param String $tokenExpiresTime access token expires time\n@param String $refreshToken Refreh Token\n@param String $refreshTokenExpiresTime refresh token expires time\n@param String $accessToken accessToken", "docstring_tokens": ["A", "helper", "function", "to", "check", "Null", "value"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L391-L407", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.generateAuthorizationHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Authorization Header based on Client ID and Client Serect\n@return String The authorization value", "docstring_tokens": ["Generate", "Authorization", "Header", "based", "on", "Client", "ID", "and", "Client", "Serect"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L413-L417", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2LoginHelper.php", "func_name": "OAuth2LoginHelper.constructRefreshTokenHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate header for refresh Token\n@return Array Refresh Token header", "docstring_tokens": ["Generate", "header", "for", "refresh", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2LoginHelper.php#L423-L432", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/JsonObjectSerializer.php", "func_name": "JsonObjectSerializer.checkResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle possible errors and react\n@param mixed $result\n@return mixed", "docstring_tokens": ["Handle", "possible", "errors", "and", "react"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/JsonObjectSerializer.php#L50-L58", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/JsonObjectSerializer.php", "func_name": "JsonObjectSerializer.getMessageFromErrorCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Support json_last_error_msg in PHP 5.2\n@param string $error\n@return string", "docstring_tokens": ["Support", "json_last_error_msg", "in", "PHP", "5", ".", "2"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/JsonObjectSerializer.php#L65-L79", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/JsonObjectSerializer.php", "func_name": "JsonObjectSerializer.convertObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts stdClass objects into object with specified type\nIt tries to learn type from JSON responce\n\n@param object $object\n@param boolean $limitToOne\n@return mixed (stdClass or domain model entity)", "docstring_tokens": ["Converts", "stdClass", "objects", "into", "object", "with", "specified", "type", "It", "tries", "to", "learn", "type", "from", "JSON", "responce"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/JsonObjectSerializer.php#L118-L147", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/JsonObjectSerializer.php", "func_name": "JsonObjectSerializer.Serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes the specified entity.\n@param object entity The entity\n@return string Returns the serialize entity in string format.", "docstring_tokens": ["Serializes", "the", "specified", "entity", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/JsonObjectSerializer.php#L165-L171", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/JsonObjectSerializer.php", "func_name": "JsonObjectSerializer.removeNullProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The input will always be an asscoiate array\nSo we will judge based on this two situration", "docstring_tokens": ["The", "input", "will", "always", "be", "an", "asscoiate", "array", "So", "we", "will", "judge", "based", "on", "this", "two", "situration"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/JsonObjectSerializer.php#L189-L206", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/DefaultComplexType.php", "func_name": "Zend_Soap_Wsdl_Strategy_DefaultComplexType.addComplexType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a complex type by recursivly using all the class properties fetched via Reflection.\n\n@param string $type Name of the class to be specified\n@return string XSD Type for the given PHP type", "docstring_tokens": ["Add", "a", "complex", "type", "by", "recursivly", "using", "all", "the", "class", "properties", "fetched", "via", "Reflection", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/DefaultComplexType.php#L45-L82", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.getWsdl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ger WSDL file contents\n\n@param string|object $class\n\n@return string\n\n@throws RuntimeException If class not defined\n@throws RuntimeException If given class is neither class nor string\n@throws RuntimeException If given class is not found, ie was not included before", "docstring_tokens": ["Ger", "WSDL", "file", "contents"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L156-L202", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add bindings to WSDL\n\n@return DomNode Binding node", "docstring_tokens": ["Add", "bindings", "to", "WSDL"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L209-L219", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addPortType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add port type\n\n@return DOMNode portType node", "docstring_tokens": ["Add", "port", "type"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L236-L242", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add XML Schema types\n\n@return void", "docstring_tokens": ["Add", "XML", "Schema", "types"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L249-L281", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addBindingOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add operations to binding\n\n@return void", "docstring_tokens": ["Add", "operations", "to", "binding"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L288-L309", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addPortOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Port operations\n\n@return void", "docstring_tokens": ["Add", "Port", "operations"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L317-L342", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.isLocalType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if given type is local, false in case the type is not from xsd or tns namespaces\n\n@param string $type QName type name\n\n@return boolean", "docstring_tokens": ["Return", "true", "if", "given", "type", "is", "local", "false", "in", "case", "the", "type", "is", "not", "from", "xsd", "or", "tns", "namespaces"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L351-L364", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php", "func_name": "Wsdl.addServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add SOAP Service\n\n@return void", "docstring_tokens": ["Add", "SOAP", "Service"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Wsdl.php#L494-L497", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.getTargetNS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return target namespace for given DOMXPath object\n\n@param DOMXPath $xpath DOMXPath Object\n\n@return string", "docstring_tokens": ["Return", "target", "namespace", "for", "given", "DOMXPath", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L180-L190", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.getNamespaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array of namespaces of the document\n\n@param DOMXPath $xpath\n\n@return array", "docstring_tokens": ["Return", "array", "of", "namespaces", "of", "the", "document"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L199-L221", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.saveClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save generated classes to directory\n\n@param string $dir Directory to save classes to\n@param boolean $createDirectory [optional] Create directory, false by default\n\n@return void", "docstring_tokens": ["Save", "generated", "classes", "to", "directory"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L232-L236", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.loadIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load includes in XML Schema\n\n@param DOMDocument $dom Instance of DOMDocument\n@param string $filepath\n@param string\t $namespace\n\n@return void", "docstring_tokens": ["Load", "includes", "in", "XML", "Schema"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L340-L403", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.getXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert XSD to XML suitable for further processing\n\n@return string XML string\n\n@return DOMDocument", "docstring_tokens": ["Convert", "XSD", "to", "XML", "suitable", "for", "further", "processing"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L432-L448", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.savePhpFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save PHP files to directory structure\n\n@param string $dir Directory to save files to\n@param boolean $createDirectory Create $dir directory if it doesn't exist\n\n@throws RuntimeException if given directory does not exist\n\n@return void", "docstring_tokens": ["Save", "PHP", "files", "to", "directory", "structure"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L460-L490", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php", "func_name": "Xsd2Php.namespaceToPhp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert XML URI to PHP complient namespace\n\n@param string $xmlNS XML URI\n\n@return string", "docstring_tokens": ["Convert", "XML", "URI", "to", "PHP", "complient", "namespace"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Xsd2Php.php#L702-L754", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.setBaseURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the baseURL associated with this Acess Token\n@param string $baseUrl The base URL", "docstring_tokens": ["Set", "the", "baseURL", "associated", "with", "this", "Acess", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L149-L158", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.getRefreshTokenValidationPeriodInSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the number of seconds for refresh token\nThe implementation of Quickbooks Online OAuth 2 always return an 8726400 seconds refresh token. This method is not useful now\n@return int", "docstring_tokens": ["Return", "the", "number", "of", "seconds", "for", "refresh", "token", "The", "implementation", "of", "Quickbooks", "Online", "OAuth", "2", "always", "return", "an", "8726400", "seconds", "refresh", "token", ".", "This", "method", "is", "not", "useful", "now"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L225-L232", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.getAccessTokenValidationPeriodInSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the number of seconds for access token\nThe implementation of Quickbooks Online OAuth 2 always return an one hour access token. This method is not useful\n@return int", "docstring_tokens": ["Return", "the", "number", "of", "seconds", "for", "access", "token", "The", "implementation", "of", "Quickbooks", "Online", "OAuth", "2", "always", "return", "an", "one", "hour", "access", "token", ".", "This", "method", "is", "not", "useful"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L239-L246", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.getRefreshToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the refresh Token\n@return String", "docstring_tokens": ["Return", "the", "refresh", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L278-L281", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.getAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the access Token\n@return String", "docstring_tokens": ["Return", "the", "access", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L287-L290", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/OAuth/OAuth2/OAuth2AccessToken.php", "func_name": "OAuth2AccessToken.updateAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an access token after creating a new access token or making a refresh tokan API call\n@param int $tokenExpiresTime The number of seconds that access token expired. Always 3600 seconds.\n@param String $refreshToken The OAuth 2 Refresh Token returned from refresh token API call or generated from a new request.\n@param int $refreshTokenExpiresTime The number of seconds that refresh token expired. Always 8726400 seconds.\n@param String $accessToken The OAuth 2 Access Token returned from refresh token API call or generated from a new request.", "docstring_tokens": ["Update", "an", "access", "token", "after", "creating", "a", "new", "access", "token", "or", "making", "a", "refresh", "tokan", "API", "call"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/OAuth/OAuth2/OAuth2AccessToken.php#L347-L354", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/XmlObjectSerializer.php", "func_name": "XmlObjectSerializer.getPostXmlFromArbitraryEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marshall a POPO object to be XML\n\n@param IPPIntuitEntity $entity The POPO object\n@param string $urlResource the type of the POPO object\n@return string the XML of the POPO object", "docstring_tokens": ["Marshall", "a", "POPO", "object", "to", "be", "XML"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/XmlObjectSerializer.php#L64-L75", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/XmlObjectSerializer.php", "func_name": "XmlObjectSerializer.PhpObjFromXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unmarshall XML into a POPO object, presumably the XML came from an IPP v3 API call\n\n@param string XML that conforms to IPP v3 XSDs\n@return object POPOObject $phpObj resulting POPO object", "docstring_tokens": ["Unmarshall", "XML", "into", "a", "POPO", "object", "presumably", "the", "XML", "came", "from", "an", "IPP", "v3", "API", "call"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/XmlObjectSerializer.php#L83-L98", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/Http/Serialization/XmlObjectSerializer.php", "func_name": "XmlObjectSerializer.ParseArbitraryResultObjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse an XML string into an array of IPPIntuitEntity objects\n\n@param string $responseXml XML string to parse\n@param bool $bLimitToOne Signals to only parse the first element\n@return array of IPPIntuitEntity objects", "docstring_tokens": ["Parse", "an", "XML", "string", "into", "an", "array", "of", "IPPIntuitEntity", "objects"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/Http/Serialization/XmlObjectSerializer.php#L108-L142", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/BaseCurl.php", "func_name": "BaseCurl.setupOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set options for curl\n@param String $k The key\n@param String $v The value", "docstring_tokens": ["set", "options", "for", "curl"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/BaseCurl.php#L47-L53", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/BaseCurl.php", "func_name": "BaseCurl.versionOfTLS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the curl TLS Version and check if TLS 1.2 is supported\n@return int TLSversion", "docstring_tokens": ["Set", "the", "curl", "TLS", "Version", "and", "check", "if", "TLS", "1", ".", "2", "is", "supported"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/BaseCurl.php#L107-L121", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Exception/IdsExceptionManager.php", "func_name": "IdsExceptionManager.HandleException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles Exception thrown to the user.\n@param string errorMessage Error Message\n@param string errorCode Error Code.\n@param string source Source of the exception.\n@param IdsException innerException Ids Exception", "docstring_tokens": ["Handles", "Exception", "thrown", "to", "the", "user", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Exception/IdsExceptionManager.php#L35-L39", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/MetadataExtractor.php", "func_name": "MetadataExtractor.verifyVariableType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies type and creates entity object\n@param string $value\n@return AbstractEntity", "docstring_tokens": ["Verifies", "type", "and", "creates", "entity", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/MetadataExtractor.php#L87-L104", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/MetadataExtractor.php", "func_name": "MetadataExtractor.generateObjectNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns order list of possible valid names of object type\n@param string $value\n@return array", "docstring_tokens": ["Returns", "order", "list", "of", "possible", "valid", "names", "of", "object", "type"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/MetadataExtractor.php#L120-L130", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/MetadataExtractor.php", "func_name": "MetadataExtractor.completeProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finilizes created metadata description with few more info\n@param AbstractEntity $a\n@param ReflectionProperty $p\n@throws InvalidArgumentException", "docstring_tokens": ["Finilizes", "created", "metadata", "description", "with", "few", "more", "info"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/MetadataExtractor.php#L177-L184", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Bind.php", "func_name": "Bind.unmarshal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unmarshal XML string to corresponding PHP binding\n\n@param string $xml XML string to unmarshal\n\n@return object PHP binding object", "docstring_tokens": ["Unmarshal", "XML", "string", "to", "corresponding", "PHP", "binding"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Bind.php#L53-L87", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreHelper.php", "func_name": "CoreHelper.GetSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the serializer mechanism using the service context and the depending on the request and response.\n@param ServiceContext serviceContext The service context object.\n@param bool isRequest Specifies whether to return serializer mechanism for request or response.\n@return IEntitySerializer The Serializer mechanism.", "docstring_tokens": ["Gets", "the", "serializer", "mechanism", "using", "the", "service", "context", "and", "the", "depending", "on", "the", "request", "and", "response", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreHelper.php#L28-L68", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreHelper.php", "func_name": "CoreHelper.GetCompressor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the compression mechanism using the service context and the depending on the request and response.\n@param ServiceContext serviceContext The service context object.\n@param bool isRequest Specifies whether to return compression mechanism for reqeust or response.\n@return CompressorBase The Compression mechanism.", "docstring_tokens": ["Gets", "the", "compression", "mechanism", "using", "the", "service", "context", "and", "the", "depending", "on", "the", "request", "and", "response", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreHelper.php#L110-L134", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreHelper.php", "func_name": "CoreHelper.GetRequestLogging", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Request Response Logging mechanism.\n@param ServiceContext serviceContext The serivce context object.\n@return LogRequestsToDisk Returns value which specifies the request response logging mechanism.", "docstring_tokens": ["Gets", "the", "Request", "Response", "Logging", "mechanism", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreHelper.php#L141-L161", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php", "func_name": "Zend_Soap_Wsdl_Strategy_Composite.connectTypeToStrategy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connect a complex type to a given strategy.\n\n@throws Zend_Soap_Wsdl_Exception\n@param string $type\n@param string|Zend_Soap_Wsdl_Strategy_Interface $strategy\n@return Zend_Soap_Wsdl_Strategy_Composite", "docstring_tokens": ["Connect", "a", "complex", "type", "to", "a", "given", "strategy", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php#L83-L94", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php", "func_name": "Zend_Soap_Wsdl_Strategy_Composite.getDefaultStrategy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return default strategy of this composite\n\n@throws Zend_Soap_Wsdl_Exception\n@param string $type\n@return Zend_Soap_Wsdl_Strategy_Interface", "docstring_tokens": ["Return", "default", "strategy", "of", "this", "composite"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php#L103-L120", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php", "func_name": "Zend_Soap_Wsdl_Strategy_Composite.getStrategyOfType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return specific strategy or the default strategy of this type.\n\n@throws Zend_Soap_Wsdl_Exception\n@param string $type\n@return Zend_Soap_Wsdl_Strategy_Interface", "docstring_tokens": ["Return", "specific", "strategy", "or", "the", "default", "strategy", "of", "this", "type", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php#L129-L152", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php", "func_name": "Zend_Soap_Wsdl_Strategy_Composite.addComplexType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a complex type based on a strategy\n\n@throws Zend_Soap_Wsdl_Exception\n@param string $type\n@return string XSD type", "docstring_tokens": ["Create", "a", "complex", "type", "based", "on", "a", "strategy"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/Composite.php#L172-L187", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.makeReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create reflection based on class name\n@throws InvalidArgumentException", "docstring_tokens": ["Create", "reflection", "based", "on", "class", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L67-L74", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.populatePropertyComments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect comments for defined properties. It will be used to extract meta data\n@return mixed\n@throws UnexpectedValueException", "docstring_tokens": ["Collect", "comments", "for", "defined", "properties", ".", "It", "will", "be", "used", "to", "extract", "meta", "data"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L99-L115", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.forgeInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new instance of target class with specified values\nIt also adjusts any nested type based on suplied metadata (@var annotation)\n@return mixed returns domain model instance", "docstring_tokens": ["Creates", "new", "instance", "of", "target", "class", "with", "specified", "values", "It", "also", "adjusts", "any", "nested", "type", "based", "on", "suplied", "metadata", "("], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L151-L168", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.processPropertyValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts object values into domain model entities.\nThis function is array-compatible version of @see processPropertyValue\n@param mixed $instance - contains empty of almost ready domain model entity\n@param ReflectionProperty $property\n@param AbstractEntity $model\n@param array stdClass $values", "docstring_tokens": ["Converts", "object", "values", "into", "domain", "model", "entities", ".", "This", "function", "is", "array", "-", "compatible", "version", "of"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L184-L200", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates instance of specified type and returns it as result.\n\n@param string $type\n@param array $values\n@return mixed", "docstring_tokens": ["Creates", "instance", "of", "specified", "type", "and", "returns", "it", "as", "result", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L209-L214", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.isMorhing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if value can be converted into domain model instance\n@param AbstractEntity $entity\n@param \\stdClass $value\n@return boolean", "docstring_tokens": ["Returns", "true", "if", "value", "can", "be", "converted", "into", "domain", "model", "instance"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L222-L240", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.processPropertyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts value into domain model object\n@param mixed $instance - contains empty of almost ready domain model entity\n@param ReflectionProperty $property\n@param AbstractEntity $model\n@param \\stdClass $value", "docstring_tokens": ["Converts", "value", "into", "domain", "model", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L249-L256", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/DomainEntityBuilder.php", "func_name": "DomainEntityBuilder.getEntityFromModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns metadata description of property from model\n\n@param string $index\n@param string $propertyName\n@return AbstractEntity\n@throws RuntimeException", "docstring_tokens": ["Returns", "metadata", "description", "of", "property", "from", "model"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/DomainEntityBuilder.php#L267-L275", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.updateServiceContextSettingsForOthers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the corresponding settings for the dataService based on ServiceContext\n@var ServiceContext $serviceContext The service Context for this DataService", "docstring_tokens": ["Set", "the", "corresponding", "settings", "for", "the", "dataService", "based", "on", "ServiceContext"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L169-L175", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.setupRestHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the SyncRest Handler for the DataService. If the client Name changed, the underlying Client that SyncRestHandler used will also changed.\n\n@var ServiceContext $serviceContext The service Context for this DataService\n@return $this", "docstring_tokens": ["Set", "the", "SyncRest", "Handler", "for", "the", "DataService", ".", "If", "the", "client", "Name", "changed", "the", "underlying", "Client", "that", "SyncRestHandler", "used", "will", "also", "changed", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L211-L220", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.setLogLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new directory for request and response log\n\n@param String $new_log_location The directory path for storing request and response log\n\n@return $this", "docstring_tokens": ["Set", "a", "new", "directory", "for", "request", "and", "response", "log"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L262-L268", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.setMinorVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new Minor Version\n\n@param String $newMinorVersion The new minor version that passed\n\n@return $this", "docstring_tokens": ["Set", "a", "new", "Minor", "Version"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L277-L283", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.disableLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable the logging function\n\n@return $this", "docstring_tokens": ["Disable", "the", "logging", "function"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L290-L296", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.enableLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enable the logging function\n\n@return $this", "docstring_tokens": ["Enable", "the", "logging", "function"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L303-L309", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.setClientName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The client Name can be either 'curl', 'guzzle', or 'guzzlehttp'.\n\n@param String $clientName The client Name used by the service\n\n@return $this", "docstring_tokens": ["The", "client", "Name", "can", "be", "either", "curl", "guzzle", "or", "guzzlehttp", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L347-L352", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "New Static function for static Reading from Config or Passing Array\nThe config needs to include\n\n@param $settings\n@return DataService\n@throws SdkException\n@throws SdkException", "docstring_tokens": ["New", "Static", "function", "for", "static", "Reading", "from", "Config", "or", "Passing", "Array", "The", "config", "needs", "to", "include"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L363-L397", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.configureOAuth2LoginHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After the ServiceContext is complete, also set the LoginHelper based on the ServiceContext.\n@param OAuth2AccessToken $oauth2Conifg OAuth 2 Token related information\n@param Array $settings The array that include the redirectURL, scope, state information", "docstring_tokens": ["After", "the", "ServiceContext", "is", "complete", "also", "set", "the", "LoginHelper", "based", "on", "the", "ServiceContext", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L404-L425", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.updateOAuth2Token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the OAuth 2 Token that will be used for API calls later.\n\n@param OAuth2AccessToken $newOAuth2AccessToken The OAuth 2 Access Token that will be used later.\n\n@return $this", "docstring_tokens": ["Update", "the", "OAuth", "2", "Token", "that", "will", "be", "used", "for", "API", "calls", "later", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L445-L457", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.setupSerializers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setups serializers objects for responces and requests based on service context", "docstring_tokens": ["Setups", "serializers", "objects", "for", "responces", "and", "requests", "based", "on", "service", "context"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L472-L476", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an entity under the specified realm. The realm must be set in the context.\n\n@param IPPIntuitEntity $entity Entity to Update.\n@return IPPIntuitEntity Returns an updated version of the entity with updated identifier and sync token.\n@throws IdsException", "docstring_tokens": ["Updates", "an", "entity", "under", "the", "specified", "realm", ".", "The", "realm", "must", "be", "set", "in", "the", "context", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L672-L706", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an entity under the specified realm. The realm must be set in the context.\n\n@param IPPIntuitEntity $entity Entity to Create.\n@return IPPIntuitEntity Returns the created version of the entity.\n@throws IdsException", "docstring_tokens": ["Creates", "an", "entity", "under", "the", "specified", "realm", ".", "The", "realm", "must", "be", "set", "in", "the", "context", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L766-L788", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an entity under the specified realm. The realm must be set in the context.\n\n@param IPPIntuitEntity $entity Entity to Delete.\n@return null|string\n@throws IdsException", "docstring_tokens": ["Deletes", "an", "entity", "under", "the", "specified", "realm", ".", "The", "realm", "must", "be", "set", "in", "the", "context", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L797-L814", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Upload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads an attachment to an Entity on QuickBooks Online. For security reason, text file is not supported for uploading.\n\n@param string $bits Encoded Base64 bytes for the attachment\n@param string $fileName Filename to use for this file\n@param string $mimeType MIME type to send in the HTTP Headers\n@param IPPAttachable $objAttachable Entity including the attachment, it can be invoice, bill, etc\n@return array Returns an array of entities fulfilling the query.\n@throws IdsException", "docstring_tokens": ["Uploads", "an", "attachment", "to", "an", "Entity", "on", "QuickBooks", "Online", ".", "For", "security", "reason", "text", "file", "is", "not", "supported", "for", "uploading", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L852-L885", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.SendEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends entity by email for entities that have this operation\n\n@param IPPIntuitEntity $entity\n@param string|null $email\n@return boolean\n@throws IdsException, SdkException", "docstring_tokens": ["Sends", "entity", "by", "email", "for", "entities", "that", "have", "this", "operation"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L932-L955", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.Query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves specified entities based passed page number and page size and query\n\n@param string $query Query to issue\n@param int $startPosition Starting page number\n@param int $maxResults Page size\n@return array Returns an array of entities fulfilling the query. If the response is Empty, it will return NULL", "docstring_tokens": ["Retrieves", "specified", "entities", "based", "passed", "page", "number", "and", "page", "size", "and", "query"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L965-L1002", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.appendPaginationInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the Pagination Data to the Query string if it is not appended\n@param Integer StartPostion\n@param Integer MaxResults\n@return String The query string", "docstring_tokens": ["Append", "the", "Pagination", "Data", "to", "the", "Query", "string", "if", "it", "is", "not", "appended"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1010-L1034", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.FindAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves all entities by name\n\n@param string $entityName\n@param int $pageNumber\n@param int $pageSize\n@return array Returns an array of entities of specified type.", "docstring_tokens": ["Retrieves", "all", "entities", "by", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1044-L1085", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.CDC", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns List of entities changed after certain time.\n\n@param array entityList List of entity.\n@param long changedSince DateTime of timespan after which entities were changed.\n@return IntuitCDCResponse Returns an IntuitCDCResponse.", "docstring_tokens": ["Returns", "List", "of", "entities", "changed", "after", "certain", "time", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1094-L1160", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.executeObjectSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes oblect into specified format\n@param IPPIntuitEntity $entity\n@param String $urlResource\n@return object", "docstring_tokens": ["Serializes", "oblect", "into", "specified", "format"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1182-L1189", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.initPostRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns post request, depends on configuration and entity rule \"jsonOnly\"\n@param IPPIntuitEntity $entity\n@param string $uri\n@return RequestParameters", "docstring_tokens": ["Returns", "post", "request", "depends", "on", "configuration", "and", "entity", "rule", "jsonOnly"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1197-L1202", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.getRequestParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps and returns RequestParameters object\n@param string $uri\n@param string $method\n@param string $type\n@param string $apiName\n@return RequestParameters", "docstring_tokens": ["Wraps", "and", "returns", "RequestParameters", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1275-L1278", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.fixTaxServicePayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Methods provides workaround to successfully process TaxService response\n@param $entity\n@param $content\n@return string", "docstring_tokens": ["Methods", "provides", "workaround", "to", "successfully", "process", "TaxService", "response"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1326-L1341", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.getExportFileNameForPDF", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns PDF filename based on entity type and id\n@param IPPIntuitEntity $entity\n@param string $ext\n@return string", "docstring_tokens": ["Returns", "PDF", "filename", "based", "on", "entity", "type", "and", "id"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1372-L1378", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.isAllowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simple verification for entities which can be returned as PDF", "docstring_tokens": ["Simple", "verification", "for", "entities", "which", "can", "be", "returned", "as", "PDF"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1477-L1489", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.CreateNewBatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new batch\n\n@return Batch returns the batch object", "docstring_tokens": ["Creates", "new", "batch"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1538-L1543", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.convertToTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse input date-time string into unix timestamp\n@param string $str\n@return int timestamp or false overwise\n@throws SdkException", "docstring_tokens": ["Parse", "input", "date", "-", "time", "string", "into", "unix", "timestamp"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1552-L1570", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.isValidTimeStamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if input string is a valid timestamp or not\n@param string timestamp contains input timestamp-like string\n@return bool", "docstring_tokens": ["Checks", "if", "input", "string", "is", "a", "valid", "timestamp", "or", "not"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1577-L1580", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.verifyChangedSince", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies input and returns unix timestamp\n@param mixed $value\n@return int\n@throws SdkException", "docstring_tokens": ["Verifies", "input", "and", "returns", "unix", "timestamp"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1588-L1609", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/DataService.php", "func_name": "DataService.getCompanyInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Company Information\n@return IPPCompanyInfo CompanyInformation", "docstring_tokens": ["Get", "the", "Company", "Information"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/DataService.php#L1615-L1636", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreConstants.php", "func_name": "CoreConstants.getQuickBooksOnlineAPIEntityRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current rules for what operation is supported and what is not for QuickBooks Online API entity\n@return array", "docstring_tokens": ["Returns", "current", "rules", "for", "what", "operation", "is", "supported", "and", "what", "is", "not", "for", "QuickBooks", "Online", "API", "entity"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreConstants.php#L308-L323", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreConstants.php", "func_name": "CoreConstants.getAccessTokenFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper method to get Access Token Key. People may have a typo on the key name\n@param Array $settings The array contains all the key values\n@return String | null The access token developer provided", "docstring_tokens": ["A", "helper", "method", "to", "get", "Access", "Token", "Key", ".", "People", "may", "have", "a", "typo", "on", "the", "key", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreConstants.php#L330-L340", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreConstants.php", "func_name": "CoreConstants.getRefreshTokenFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper method to get Refresh Token Key. People may have a typo on the key name\n@param Array $settings The array contains all the key values\n@return String | null The refresh token developer provided", "docstring_tokens": ["A", "helper", "method", "to", "get", "Refresh", "Token", "Key", ".", "People", "may", "have", "a", "typo", "on", "the", "key", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreConstants.php#L347-L357", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/CoreConstants.php", "func_name": "CoreConstants.getRedirectURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper method to get redirect URL. People may have a typo on the key name\n@param Array $settings The array contains all the key values\n@return String | null The redirect url developer provide", "docstring_tokens": ["A", "helper", "method", "to", "get", "redirect", "URL", ".", "People", "may", "have", "a", "typo", "on", "the", "key", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/CoreConstants.php#L364-L389", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Diagnostics/ContentWriter.php", "func_name": "ContentWriter.saveFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves file from temp location to specified folder and name\n@param string $dir\n@param string|null $name (option) if not specified it will be moved with temp name\n@throws SdkException", "docstring_tokens": ["Moves", "file", "from", "temp", "location", "to", "specified", "folder", "and", "name"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Diagnostics/ContentWriter.php#L214-L243", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Diagnostics/ContentWriter.php", "func_name": "ContentWriter.generateFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates filename based on name and prefix.\nIt generates uniqid-like string if name is ommited\n@param string $name\n@return string", "docstring_tokens": ["Creates", "filename", "based", "on", "name", "and", "prefix", ".", "It", "generates", "uniqid", "-", "like", "string", "if", "name", "is", "ommited"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Diagnostics/ContentWriter.php#L251-L255", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/FaultHandler.php", "func_name": "FaultHandler.generateErrorFromOAuthMsg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generate Error from OAuth Exception\n@param OAuthException The OAuth Exception from PECL OAuth 1.2.3\n@deprecated", "docstring_tokens": ["generate", "Error", "from", "OAuth", "Exception"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/FaultHandler.php#L100-L109", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/FaultHandler.php", "func_name": "FaultHandler.parseResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on the HTTP Response body, set the Intuit Error elements.\n@var String The http response body in XML format", "docstring_tokens": ["Based", "on", "the", "HTTP", "Response", "body", "set", "the", "Intuit", "Error", "elements", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/FaultHandler.php#L114-L145", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/FaultHandler.php", "func_name": "FaultHandler.isTheErrorBodyInStandardFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the format is standard Intuit Response format. This is to prevent Intuit Return random Structured Error.\n@param SimpleXMLElement the XML object of the Body\n@return True | False", "docstring_tokens": ["Check", "if", "the", "format", "is", "standard", "Intuit", "Response", "format", ".", "This", "is", "to", "prevent", "Intuit", "Return", "random", "Structured", "Error", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/FaultHandler.php#L152-L158", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.setResponseAsItIs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do not parse the response. Just set it as it is.\n@param String | Array http client returned eaders\n@param String http client returned body\n@param Int http client returned status code\n@throws SdkExcpetion If any of the passed parameter is undefined.", "docstring_tokens": ["Do", "not", "parse", "the", "response", ".", "Just", "set", "it", "as", "it", "is", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L84-L95", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.parseResponseToIntuitResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the response from different http client response and set the Intuit response.\n@param String | Array http client returned eaders\n@param String http client returned body\n@param Int http client returned status code\n@param String http client name", "docstring_tokens": ["Parse", "the", "response", "from", "different", "http", "client", "response", "and", "set", "the", "Intuit", "response", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L104-L128", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.setFaultHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is used to set the detailed error coming from QuickBooks Online detail\n@param String Response Body\n@param Integer Response Status code\n@param String Intuit tid on the response header", "docstring_tokens": ["This", "is", "used", "to", "set", "the", "detailed", "error", "coming", "from", "QuickBooks", "Online", "detail"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L136-L152", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the raw Http Response Header to associated array to be consumered.\nIt will also store the Content-Type of the response.\n@param string | Array rawHeaders", "docstring_tokens": ["Parse", "the", "raw", "Http", "Response", "Header", "to", "associated", "array", "to", "be", "consumered", ".", "It", "will", "also", "store", "the", "Content", "-", "Type", "of", "the", "response", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L159-L175", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.setContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the headers for response, find the Content-type header and intuit_tid header and set it.\n@param String Header key\n@param String Header value", "docstring_tokens": ["Find", "the", "headers", "for", "response", "find", "the", "Content", "-", "type", "header", "and", "intuit_tid", "header", "and", "set", "it", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L182-L187", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/IntuitResponse.php", "func_name": "IntuitResponse.setIntuitTid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the headers for response, find the intuit_tid header and set it.\n@param String Header key\n@param String Header value", "docstring_tokens": ["Find", "the", "headers", "for", "response", "find", "the", "intuit_tid", "header", "and", "set", "it", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/IntuitResponse.php#L194-L199", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/PlatformService/PlatformService.php", "func_name": "PlatformService.GetAppMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get App Menu\n\n@return string Html of App Menu", "docstring_tokens": ["Get", "App", "Menu"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/PlatformService/PlatformService.php#L81-L88", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/PlatformService/PlatformService.php", "func_name": "PlatformService.Reconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reconnect generates a new OAuth access token and invalidates the OAuth access token used\nin the request, thereby extending the life span by six months.\n\n@return \\SimpleXMLElement Xml of Reconnect response", "docstring_tokens": ["Reconnect", "generates", "a", "new", "OAuth", "access", "token", "and", "invalidates", "the", "OAuth", "access", "token", "used", "in", "the", "request", "thereby", "extending", "the", "life", "span", "by", "six", "months", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/PlatformService/PlatformService.php#L96-L103", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.setUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new uri for this WSDL\n\n@param string|Zend_Uri_Http $uri\n@return Zend_Server_Wsdl", "docstring_tokens": ["Set", "a", "new", "uri", "for", "this", "WSDL"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L116-L133", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.setComplexTypeStrategy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a strategy for complex type detection and handling\n\n@todo Boolean is for backwards compability with extractComplexType object var. Remove it in later versions.\n@param boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy\n@return Zend_Soap_Wsdl", "docstring_tokens": ["Set", "a", "strategy", "for", "complex", "type", "detection", "and", "handling"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L142-L167", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.addBindingOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an operation to a binding element\n\n@param object $binding A binding XML_Tree_Node returned by {@link function addBinding}\n@param array $input An array of attributes for the input element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}\n@param array $output An array of attributes for the output element, allowed keys are: 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}\n@param array $fault An array of attributes for the fault element, allowed keys are: 'name', 'use', 'namespace', 'encodingStyle'. {@link http://www.w3.org/TR/wsdl#_soap:body More Information}\n@return object The new Operation's XML_Tree_Node for use with {@link function addSoapOperation} and {@link function addDocumentation}", "docstring_tokens": ["Add", "an", "operation", "to", "a", "binding", "element"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L293-L334", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.addDocumentation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a documentation element to any element in the WSDL.\n\nNote that the WSDL {@link http://www.w3.org/TR/wsdl#_documentation specification} uses 'document',\nbut the WSDL {@link http://schemas.xmlsoap.org/wsdl/ schema} uses 'documentation' instead.\nThe {@link http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#WSDL_documentation_Element WS-I Basic Profile 1.1} recommends using 'documentation'.\n\n@param object $input_node An XML_Tree_Node returned by another method to add the documentation to\n@param string $documentation Human readable documentation for the node\n@return DOMElement The documentation element", "docstring_tokens": ["Add", "a", "documentation", "element", "to", "any", "element", "in", "the", "WSDL", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L418-L437", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.addTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add WSDL Types element\n\n@param object $types A DomDocument|DomNode|DomElement|DomDocumentFragment with all the XML Schema types defined in it", "docstring_tokens": ["Add", "WSDL", "Types", "element"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L444-L453", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.addType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a complex type name that is part of this WSDL and can be used in signatures.\n\n@param string $type\n@return Zend_Soap_Wsdl", "docstring_tokens": ["Add", "a", "complex", "type", "name", "that", "is", "part", "of", "this", "WSDL", "and", "can", "be", "used", "in", "signatures", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L461-L467", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Echo the WSDL as XML\n\n@return boolean", "docstring_tokens": ["Echo", "the", "WSDL", "as", "XML"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L518-L526", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php", "func_name": "Zend_Soap_Wsdl.addSchemaTypeSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function makes sure a complex types section and schema additions are set.\n\n@return Zend_Soap_Wsdl", "docstring_tokens": ["This", "function", "makes", "sure", "a", "complex", "types", "section", "and", "schema", "additions", "are", "set", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php#L575-L585", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.ConfigureFromPassedArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the OAuth 1 or OAuth 2 values from a passed array\n@param Array $settings The array that contains OAuth 1 or OAuth 2 settings", "docstring_tokens": ["Configure", "the", "OAuth", "1", "or", "OAuth", "2", "values", "from", "a", "passed", "array"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L136-L172", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.checkIfOAuthIsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if passed array has mininum required fields\n\n@param Array $settings The array contain OAuth 1 or OAuth 2 settings", "docstring_tokens": ["Check", "if", "passed", "array", "has", "mininum", "required", "fields"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L181-L216", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.getBaseURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the base Uri for a QBO user.\n\n@return string Returns the base Uri endpoint for a user.", "docstring_tokens": ["Gets", "the", "base", "Uri", "for", "a", "QBO", "user", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L236-L251", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.useXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Currently the Object serailziation and deserilization only supports XML format.", "docstring_tokens": ["Currently", "the", "Object", "serailziation", "and", "deserilization", "only", "supports", "XML", "format", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L270-L276", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.useJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Currently the Object serailziation and deserilization only supports XML format.\nTo be Supported, Currently it is only a place holder @Hao", "docstring_tokens": ["Currently", "the", "Object", "serailziation", "and", "deserilization", "only", "supports", "XML", "format", ".", "To", "be", "Supported", "Currently", "it", "is", "only", "a", "place", "holder"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L282-L288", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.disableLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable Log the request and response to disk", "docstring_tokens": ["Disable", "Log", "the", "request", "and", "response", "to", "disk"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L293-L301", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.setLogLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new Location for Log instead of the default Location\n@param $new_log_location\nThe new log directory path. It is a directory, not a file", "docstring_tokens": ["Set", "a", "new", "Location", "for", "Log", "instead", "of", "the", "default", "Location"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L308-L316", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/ServiceContext.php", "func_name": "ServiceContext.updateOAuth2Token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update OAuth 2 Access Token with the new Token Value\n@param OAuth2AccessToken The OAuth 2 token that contains access token, refresh token", "docstring_tokens": ["Update", "OAuth", "2", "Access", "Token", "with", "the", "new", "Token", "Value"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/ServiceContext.php#L347-L353", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/PHPClass.php", "func_name": "PHPClass.getClassProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return class properties from array with indent specified\n\n@param array $props Properties array\n@param array $indent Indentation in tabs\n\n@return string", "docstring_tokens": ["Return", "class", "properties", "from", "array", "with", "indent", "specified"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/PHPClass.php#L206-L217", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/IntuitBatchResponse.php", "func_name": "IntuitBatchResponse.getResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the result of the Request if there is no error. If the Batch request is Query, the result will be an array of items. If the Batch request is create, update, or ddelete, it will be the entity.\n@return Array|IPPIntuitEntity", "docstring_tokens": ["Return", "the", "result", "of", "the", "Request", "if", "there", "is", "no", "error", ".", "If", "the", "Batch", "request", "is", "Query", "the", "result", "will", "be", "an", "array", "of", "items", ".", "If", "the", "Batch", "request", "is", "create", "update", "or", "ddelete", "it", "will", "be", "the", "entity", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/IntuitBatchResponse.php#L126-L134", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.setUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the location at which the WSDL file will be availabe.\n\n@see Zend_Soap_Exception\n@throws Zend_Soap_AutoDiscover_Exception\n@param Zend_Uri|string $uri\n@return Zend_Soap_AutoDiscover", "docstring_tokens": ["Set", "the", "location", "at", "which", "the", "WSDL", "file", "will", "be", "availabe", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L118-L132", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.getUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the current Uri that the SOAP WSDL Service will be located at.\n\n@return Zend_Uri", "docstring_tokens": ["Return", "the", "current", "Uri", "that", "the", "SOAP", "WSDL", "Service", "will", "be", "located", "at", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L139-L151", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.getRequestUriWithoutParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect and return the current script name without parameters\n\n@return string", "docstring_tokens": ["Detect", "and", "return", "the", "current", "script", "name", "without", "parameters"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L226-L242", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.setComplexTypeStrategy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the strategy that handles functions and classes that are added AFTER this call.\n\n@param boolean|string|Zend_Soap_Wsdl_Strategy_Interface $strategy\n@return Zend_Soap_AutoDiscover", "docstring_tokens": ["Set", "the", "strategy", "that", "handles", "functions", "and", "classes", "that", "are", "added", "AFTER", "this", "call", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L250-L258", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.setClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Class the SOAP server will use\n\n@param string $class Class Name\n@param string $namespace Class Namspace - Not Used\n@param array $argv Arguments to instantiate the class - Not Used\n\n@return $this", "docstring_tokens": ["Set", "the", "Class", "the", "SOAP", "server", "will", "use"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L269-L288", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.addFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a Single or Multiple Functions to the WSDL\n\n@param string $function Function Name\n@param string $namespace Function namespace - Not Used", "docstring_tokens": ["Add", "a", "Single", "or", "Multiple", "Functions", "to", "the", "WSDL"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L296-L330", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php", "func_name": "Zend_Soap_AutoDiscover.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Proxy to WSDL dump function\n\n@param string $filename", "docstring_tokens": ["Proxy", "to", "WSDL", "dump", "function"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/AutoDiscover.php#L473-L484", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.updateContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the Service Context of the request.\n\n@param ServiceContext $newServiceContext The new service context that will be used for the request", "docstring_tokens": ["Update", "the", "Service", "Context", "of", "the", "request", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L65-L71", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sending an request to QuickBooks Online based on the Request parameters, body and URI.\n\n@param RequestParameters $requestParameters The request parameter for this API Call\n@param String $requestBody The body of the API call\n@param String $specifiedRequestUri The user specified URI for the request\n@param Boolean $throwExceptionOnError If throw an exception whent he return http status is not 200. Default is false\n@return null|array APIResult The result of this Http Request.", "docstring_tokens": ["Sending", "an", "request", "to", "QuickBooks", "Online", "based", "on", "the", "Request", "parameters", "body", "and", "URI", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L101-L122", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.OAuth1APICall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The API call to generate OAuth 1 signatures and make API call\n\n@param String $baseURL The request url without queryParameters\n@param Array $queryParameters A list of query parameters\n@param String $HttpMethod POST or GET\n@param String $requestUri The Complete HTTP request URI\n@param Array $requestParameters The Complete HTTP request URI\n@param String $requestBody The request body for POST request.\n@param Boolean $throwExceptionOnError If throw an exception whent he return http status is not 200. Default is false\n\n@return Response and HTTP Status code", "docstring_tokens": ["The", "API", "call", "to", "generate", "OAuth", "1", "signatures", "and", "make", "API", "call"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L137-L158", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.getOAuth1AuthorizationHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get OAuth1 Authroization Header based on Query Parameters, BaseURL\n@param String $baseURL The baseURL without queryParameters\n@param Array $queryParameters The queryParameters list from the complete URI\n@param String $httpMethod POST or GET\n@return OAuth1 Authorization Header", "docstring_tokens": ["Get", "OAuth1", "Authroization", "Header", "based", "on", "Query", "Parameters", "BaseURL"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L168-L178", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.OAuth2APICall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The OAuth 2 API call\n\n@param String $baseURL The request url without queryParameters\n@param Array $queryParameters A list of query parameters\n@param String $HttpMethod POST or GET\n@param String $requestUri The Complete HTTP request URI\n@param Array $requestParameters The Complete HTTP request URI\n@param String $requestBody The request body for POST request.\n@param Boolean $throwExceptionOnError If throw an exception whent he return http status is not 200. Default is false\n\n@return array|null Response and HTTP Status code", "docstring_tokens": ["The", "OAuth", "2", "API", "call"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L193-L222", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.getOAuth2AuthorizationHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get OAuth2 Authroization Header based on OAuth 2 Access Token\n\n@param OAuth2AccessToken $OAuth2AccessToken The OAuth 2 token contains AccessToken, RefreshToken, ClientID and Client Secret.\n@return string OAuth2 Authorization Header", "docstring_tokens": ["Get", "OAuth2", "Authroization", "Header", "based", "on", "OAuth", "2", "Access", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L230-L238", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.LogAPIResponseToLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log API Reponse to the Log directory that user specified.\n@param String $body The requestBody\n@param String $requestUri The URI for this request\n@param Array $httpHeaders The headers for the request", "docstring_tokens": ["Log", "API", "Reponse", "to", "the", "Log", "directory", "that", "user", "specified", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L269-L276", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.LogAPIRequestToLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log API Request to the Log directory that user specified.\n@param String $requestBody The requestBody\n@param String $requestUri The URI for this request\n@param Array $httpHeaders The headers for the request", "docstring_tokens": ["Log", "API", "Request", "to", "the", "Log", "directory", "that", "user", "specified", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L284-L294", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.parseStringToDom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a String xml to DOM structure for easy read\n@param String $string The String representation\n@return string|bool The DOM structured XML", "docstring_tokens": ["Parse", "a", "String", "xml", "to", "DOM", "structure", "for", "easy", "read"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L301-L307", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.resetCompressorAndSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This step is required since the configuration settings might have been changed.", "docstring_tokens": ["This", "step", "is", "required", "since", "the", "configuration", "settings", "might", "have", "been", "changed", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L313-L318", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.getDestinationURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on the request determine the URL Endpoint\n@param RequestParameters $requestParameters The request parameter for this API Call\n@param String $oMode The OAuth mode for the request\n@param String $specifiedRequestUri Ignore the rule, use the user specified URI for the request\n@return String Destination URL for the request", "docstring_tokens": ["Based", "on", "the", "request", "determine", "the", "URL", "Endpoint"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L327-L347", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.appendMinorVersionToRequestURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append Minor Version to the URI\n\n@param String requestUri\n@return String requestUri with Minor Version Appended", "docstring_tokens": ["Append", "Minor", "Version", "to", "the", "URI"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L355-L365", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.checkHTTPMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check The HTTP MEthod from the requestParameters, make sure it is either GET or POST\n\n@param RequestParameters RequestParameters The requestParameters for the request\n@return String HTTP Method", "docstring_tokens": ["Check", "The", "HTTP", "MEthod", "from", "the", "requestParameters", "make", "sure", "it", "is", "either", "GET", "or", "POST"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L373-L382", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.parseURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the query parameters from the complete URL, used for sign signature for OAuth 1.\n\n@param String $url The $url for the request\n@return Array a list of query paramters.", "docstring_tokens": ["Get", "the", "query", "parameters", "from", "the", "complete", "URL", "used", "for", "sign", "signature", "for", "OAuth", "1", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L400-L404", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.getAcceptContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accept anything if content type is not XML or Json\n@param string $value\n@return string", "docstring_tokens": ["Accept", "anything", "if", "content", "type", "is", "not", "XML", "or", "Json"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L411-L436", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/SyncRestHandler.php", "func_name": "SyncRestHandler.queryToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper function to convert Query to Array\n@param String $qry The query String\n@return False | Array The result", "docstring_tokens": ["A", "helper", "function", "to", "convert", "Query", "to", "Array"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/SyncRestHandler.php#L443-L462", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/WebhooksService/TokenVerifier.php", "func_name": "TokenVerifier.verifyPayLoad", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Using the token to encrypt payload and compare with sig\n\n@param $payLoad\nThe payload to be verified\n@param $sig\nThe signature retrieved from header\n@param null $algo\nThe algo used to encrypt\n@return bool\nTrue if same false otherwise", "docstring_tokens": ["Using", "the", "token", "to", "encrypt", "payload", "and", "compare", "with", "sig"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/WebhooksService/TokenVerifier.php#L41-L49", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/WebhooksService/TokenVerifier.php", "func_name": "TokenVerifier.encryptPayLoadBasedOnToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt the payload based on hash algorithm and verifier Token\n\n@param $payLoad\n@param null $hashAlgorithm\n@return string", "docstring_tokens": ["Encrypt", "the", "payload", "based", "on", "hash", "algorithm", "and", "verifier", "Token"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/WebhooksService/TokenVerifier.php#L58-L66", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/Batch.php", "func_name": "Batch.IntuitBatchResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the IntuitBatchResponse with the specified id.\n@param string $id unique batchitem id", "docstring_tokens": ["Gets", "the", "IntuitBatchResponse", "with", "the", "specified", "id", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/Batch.php#L140-L147", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/Batch.php", "func_name": "Batch.Remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes batchitem with the specified batchitem id.\n@param string id unique batchitem id", "docstring_tokens": ["Removes", "batchitem", "with", "the", "specified", "batchitem", "id", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/Batch.php#L224-L240", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/Batch.php", "func_name": "Batch.arrayToMessageAndCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for store the error message and code from Fault returned from QuickBooks Online", "docstring_tokens": ["Helper", "function", "for", "store", "the", "error", "message", "and", "code", "from", "Fault", "returned", "from", "QuickBooks", "Online"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/Batch.php#L429-L448", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/DataService/Batch.php", "func_name": "Batch.IterateFaultAndPrepareException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare IdsException out of Fault object.\n@param Fault fault Fault object.\n@return IdsException IdsException object.", "docstring_tokens": ["Prepare", "IdsException", "out", "of", "Fault", "object", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/DataService/Batch.php#L455-L499", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array of options suitable for using with SoapClient constructor\n\n@return array", "docstring_tokens": ["Return", "array", "of", "options", "suitable", "for", "using", "with", "SoapClient", "constructor"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L292-L336", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set request style\n\n@param int $style One of the SOAP_RPC or SOAP_DOCUMENT constants\n@return Zend_Soap_Client\n@throws Zend_Soap_Client_Exception with invalid style argument", "docstring_tokens": ["Set", "request", "style"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L515-L527", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setEncodingMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set message encoding method\n\n@param int $use One of the SOAP_ENCODED or SOAP_LITERAL constants\n@return Zend_Soap_Client\n@throws Zend_Soap_Client_Exception with invalid message encoding method argument", "docstring_tokens": ["Set", "message", "encoding", "method"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L546-L558", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setProxyPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set proxy port\n\n@param int $proxyPort\n@return Zend_Soap_Client", "docstring_tokens": ["Set", "proxy", "port"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L651-L658", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setHttpsCertificate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set HTTPS client certificate path\n\n@param string $localCert local certificate path\n@return Zend_Soap_Client\n@throws Zend_Soap_Client_Exception with invalid local certificate path argument", "docstring_tokens": ["Set", "HTTPS", "client", "certificate", "path"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L717-L729", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setStreamContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Stream Context\n\n@return Zend_Soap_Client", "docstring_tokens": ["Set", "Stream", "Context"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L806-L820", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.setUserAgent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the string to use in User-Agent header\n\n@param string|null $userAgent\n@return Zend_Soap_Client", "docstring_tokens": ["Set", "the", "string", "to", "use", "in", "User", "-", "Agent", "header"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L882-L890", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client._doRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do request proxy method.\n\nMay be overridden in subclasses\n\n@internal\n@param Zend_Soap_Client_Common $client\n@param string $request\n@param string $location\n@param string $action\n@param int $version\n@param int $one_way\n@return mixed", "docstring_tokens": ["Do", "request", "proxy", "method", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L982-L990", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client._initSoapClientObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize SOAP Client object\n\n@throws Zend_Soap_Client_Exception", "docstring_tokens": ["Initialize", "SOAP", "Client", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L997-L1024", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.addSoapInputHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add SOAP input header\n\n@param SoapHeader $header\n@param boolean $permanent\n@return Zend_Soap_Client", "docstring_tokens": ["Add", "SOAP", "input", "header"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L1060-L1069", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.getFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a list of available functions\n\n@return array\n@throws Zend_Soap_Client_Exception", "docstring_tokens": ["Return", "a", "list", "of", "available", "functions"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L1127-L1136", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php", "func_name": "Zend_Soap_Client.getTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a list of SOAP types\n\n@return array\n@throws Zend_Soap_Client_Exception", "docstring_tokens": ["Return", "a", "list", "of", "SOAP", "types"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Client.php#L1151-L1161", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/ArrayOfTypeSequence.php", "func_name": "Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence._getTypeNameBasedOnNestingLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the ArrayOf or simple type name based on the singular xsdtype and the nesting level\n\n@param string $singularType\n@param int $level\n@return string", "docstring_tokens": ["Return", "the", "ArrayOf", "or", "simple", "type", "name", "based", "on", "the", "singular", "xsdtype", "and", "the", "nesting", "level"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/ArrayOfTypeSequence.php#L77-L88", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/ArrayOfTypeSequence.php", "func_name": "Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence._addElementFromWsdlAndChildTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the complex type definition to the WSDL via the context access\n\n@param string $arrayType\n@param string $childTypeName\n@return void", "docstring_tokens": ["Append", "the", "complex", "type", "definition", "to", "the", "WSDL", "via", "the", "context", "access"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl/Strategy/ArrayOfTypeSequence.php#L132-L154", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare WSDL DOM model\n\n@return void", "docstring_tokens": ["Prepare", "WSDL", "DOM", "model"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L31-L85", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.addBindingOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add operations to bindings\n\n\n\n\n\n$input\n\n\n$output\n\n\n\n\n@param string $operation Operation name\n@param array $input Array of inputs [optional]\n@param array $output Array of outputs [optional]\n\n@return void", "docstring_tokens": ["Add", "operations", "to", "bindings"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L190-L216", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.addPortOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add operations to port\n\n\n\n\n\n\n\n\n@param string $operation Name of the operation\n@param array $input Array of inputs\n@param array $output Array of outputs\n\n@return void", "docstring_tokens": ["Add", "operations", "to", "port"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L234-L250", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.createRefElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create ref element\n\n\n\n\n\n@param string $ref\n\n@return DOMElement", "docstring_tokens": ["Create", "ref", "element"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L297-L303", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.createElementWithComplexType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an element with complex type\n\n\n\n\n\n$elements\n\n\n\n\n\n@param string $name Element name\n@param array $elements Array of elements to include into sequence\n\n@return DOMElement", "docstring_tokens": ["Create", "an", "element", "with", "complex", "type"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L323-L340", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php", "func_name": "Wsdl_1_1.createSimpleElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create simple element\n\n\n\n\n\n@param string $name Element name\n@param string $type Element type\n\n@return DOMElement", "docstring_tokens": ["Create", "simple", "element"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/wsdl/Wsdl_1_1.php#L354-L365", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Common.php", "func_name": "Common.resolveNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve short namespace to long, or return the same code if not found\n\n@param unknown_type $shortNs\n\n@return string Long namespace", "docstring_tokens": ["Resolve", "short", "namespace", "to", "long", "or", "return", "the", "same", "code", "if", "not", "found"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Common.php#L176-L191", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/XSD2PHP/src/com/mikebevz/xsd2php/Common.php", "func_name": "Common.parseDocComments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse Doc comments\n\n@param string $comments\n\n@return array", "docstring_tokens": ["Parse", "Doc", "comments"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/XSD2PHP/src/com/mikebevz/xsd2php/Common.php#L200-L228", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Utility/ArrayUtil.php", "func_name": "ArrayUtil.isAssociateArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if an array is an associate array\n\n@param array $arr\n@return true if $arr is an associative array", "docstring_tokens": ["Test", "if", "an", "array", "is", "an", "associate", "array"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Utility/ArrayUtil.php#L16-L27", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/WebhooksService/WebhooksService.php", "func_name": "WebhooksService.getWebhooksEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the payLoad of webhook to object\n\n@param $payLoad\nThe payload to be converted\n@return object\nThe deserialization format for the payload", "docstring_tokens": ["Convert", "the", "payLoad", "of", "webhook", "to", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/WebhooksService/WebhooksService.php#L21-L27", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/WebhooksService/WebhooksService.php", "func_name": "WebhooksService.verifyPayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "use Token to verifier the payload is sent from Intuit\n\n@param $token\nThe webhook Token get from Intuit\n@param $payload\nThe payload for the webhook events\n@param $intuitHeaderSignature\nThe header signature\n@return bool\nTrue if it is valid; otherwise return false;", "docstring_tokens": ["use", "Token", "to", "verifier", "the", "payload", "is", "sent", "from", "Intuit"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/WebhooksService/WebhooksService.php#L41-L45", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Facades/FacadeHelper.php", "func_name": "FacadeHelper.isKeyInComplexList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A helper to check if a key is a complex type of an Object\n@param $key, $complexList = NULL\n@return true\nIf the key is found in the complex type\nfalse\nIf the key is not found in the complex type", "docstring_tokens": ["A", "helper", "to", "check", "if", "a", "key", "is", "a", "complex", "type", "of", "an", "Object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Facades/FacadeHelper.php#L155-L166", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Facades/FacadeHelper.php", "func_name": "FacadeHelper.getClassMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the Method by given parameter on FacadeHelper.php Class\n@param The class name\n@return \\ReflectionMethod|null The method if found. If not found, return null.", "docstring_tokens": ["Find", "the", "Method", "by", "given", "parameter", "on", "FacadeHelper", ".", "php", "Class"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Facades/FacadeHelper.php#L236-L244", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Facades/FacadeHelper.php", "func_name": "FacadeHelper.getIPPReferenceTypeBasedOnArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct an IPPReferenceType based on passed Array or String.\nIf it is passed as an array, handle it.\nIf it is passed as a String. Construct an array and put the String on the value\nIf it is passed as an obj, compare it with IPPReferenceType and return the object\n@param $data\nIt can either be an array or a String, or obj", "docstring_tokens": ["Construct", "an", "IPPReferenceType", "based", "on", "passed", "Array", "or", "String", ".", "If", "it", "is", "passed", "as", "an", "array", "handle", "it", ".", "If", "it", "is", "passed", "as", "a", "String", ".", "Construct", "an", "array", "and", "put", "the", "String", "on", "the", "value", "If", "it", "is", "passed", "as", "an", "obj", "compare", "it", "with", "IPPReferenceType", "and", "return", "the", "object"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Facades/FacadeHelper.php#L256-L291", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Facades/FacadeHelper.php", "func_name": "FacadeHelper.getIPPId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If passed params is array, the first element of Array is used in IPPid.\nIf passed params is not an array, the the value is used for Ippid.\nIf passed params is an obj, the the value is simply returned.\n@param $data\nIt can either be an array or a numeric representation", "docstring_tokens": ["If", "passed", "params", "is", "array", "the", "first", "element", "of", "Array", "is", "used", "in", "IPPid", ".", "If", "passed", "params", "is", "not", "an", "array", "the", "the", "value", "is", "used", "for", "Ippid", ".", "If", "passed", "params", "is", "an", "obj", "the", "the", "value", "is", "simply", "returned", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Facades/FacadeHelper.php#L300-L321", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Facades/FacadeHelper.php", "func_name": "FacadeHelper.mergeObj", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override the content from Object B to Object A\nDon't use array_merge here. As the NUll Value will be overriden as well\nRemove the !empty check. For integer or string that is 0, it needs to be passed and set.", "docstring_tokens": ["Override", "the", "content", "from", "Object", "B", "to", "Object", "A", "Don", "t", "use", "array_merge", "here", ".", "As", "the", "NUll", "Value", "will", "be", "overriden", "as", "well", "Remove", "the", "!empty", "check", ".", "For", "integer", "or", "string", "that", "is", "0", "it", "needs", "to", "be", "passed", "and", "set", "."], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Facades/FacadeHelper.php#L328-L338", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/CurlHttpClient.php", "func_name": "CurlHttpClient.getHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get headers for the QuciKbooks Online Response", "docstring_tokens": ["Get", "headers", "for", "the", "QuciKbooks", "Online", "Response"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/CurlHttpClient.php#L135-L142", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/CurlHttpClient.php", "func_name": "CurlHttpClient.setSSL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the SSL certifcate path and corresponding varaibles for cURL", "docstring_tokens": ["Set", "the", "SSL", "certifcate", "path", "and", "corresponding", "varaibles", "for", "cURL"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/CurlHttpClient.php#L147-L160", "partition": "test"} +{"repo": "intuit/QuickBooks-V3-PHP-SDK", "path": "src/Core/HttpClients/CurlHttpClient.php", "func_name": "CurlHttpClient.convertHeaderArrayToHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an Array to Curl Headers\n@param array $headerArray The request headers\n@return array Curl Headers", "docstring_tokens": ["Convert", "an", "Array", "to", "Curl", "Headers"], "sha": "09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5", "url": "https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/09f9f42e4cf49a7d6e0aa4d2c15e15eba245bfd5/src/Core/HttpClients/CurlHttpClient.php#L167-L173", "partition": "test"} +{"repo": "Symplify/EasyCodingStandard", "path": "packages/SniffRunner/src/File/File.php", "func_name": "File.addWarning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allow only specific classes\n\n{@inheritdoc}", "docstring_tokens": ["Allow", "only", "specific", "classes"], "sha": "e65d1f9a0f1e04dcea5afe5866d8b1499c49be86", "url": "https://github.com/Symplify/EasyCodingStandard/blob/e65d1f9a0f1e04dcea5afe5866d8b1499c49be86/packages/SniffRunner/src/File/File.php#L196-L203", "partition": "test"} +{"repo": "Symplify/EasyCodingStandard", "path": "packages/Configuration/src/Configuration.php", "func_name": "Configuration.resolveFromInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Needs to run in the start of the life cycle, since the rest of workflow uses it.", "docstring_tokens": ["Needs", "to", "run", "in", "the", "start", "of", "the", "life", "cycle", "since", "the", "rest", "of", "workflow", "uses", "it", "."], "sha": "e65d1f9a0f1e04dcea5afe5866d8b1499c49be86", "url": "https://github.com/Symplify/EasyCodingStandard/blob/e65d1f9a0f1e04dcea5afe5866d8b1499c49be86/packages/Configuration/src/Configuration.php#L46-L55", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Models/Tag.php", "func_name": "Tag.setNameAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the name attribute on the model.\n\n@param string $value", "docstring_tokens": ["Set", "the", "name", "attribute", "on", "the", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Models/Tag.php#L51-L56", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Models/Tag.php", "func_name": "Tag.scopeByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scope to find tags by name.\n\n@param \\Illuminate\\Database\\Eloquent\\Builder $query\n@param $value\n\n@return \\Illuminate\\Database\\Eloquent\\Builder", "docstring_tokens": ["Scope", "to", "find", "tags", "by", "name", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Models/Tag.php#L66-L71", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.bootTaggable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the trait.\n\nListen for the deleting event of a model, then remove the relation between it and tags", "docstring_tokens": ["Boot", "the", "trait", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L33-L40", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach one or multiple tags to the model.\n\n@param string|array $tags\n\n@return self", "docstring_tokens": ["Attach", "one", "or", "multiple", "tags", "to", "the", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L61-L73", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.untag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detach one or multiple tags from the model.\n\n@param string|array $tags\n\n@return self", "docstring_tokens": ["Detach", "one", "or", "multiple", "tags", "from", "the", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L82-L93", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.addOneTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one tag to the model.\n\n@param string $tagName", "docstring_tokens": ["Add", "one", "tag", "to", "the", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L124-L133", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.removeOneTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove one tag from the model\n\n@param string $tagName", "docstring_tokens": ["Remove", "one", "tag", "from", "the", "model"], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L140-L147", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.hasTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a given tag is attached to the model.\n\n@param Tag|string $tag\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "given", "tag", "is", "attached", "to", "the", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L196-L205", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.scopeWithAllTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query scope for models that have all of the given tags.\n\n@param Builder $query\n@param array|string $tags\n\n@return Builder\n@throws \\Cviebrock\\EloquentTaggable\\Exceptions\\NoTagsSpecifiedException\n@throws \\ErrorException", "docstring_tokens": ["Query", "scope", "for", "models", "that", "have", "all", "of", "the", "given", "tags", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L217-L247", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.scopeIsTagged", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query scope for models that have any tag.\n\n@param Builder $query\n\n@return Builder", "docstring_tokens": ["Query", "scope", "for", "models", "that", "have", "any", "tag", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L291-L295", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.scopeWithoutAllTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query scope for models that do not have all of the given tags.\n\n@param Builder $query\n@param string|array $tags\n@param bool $includeUntagged\n\n@return Builder\n@throws \\ErrorException", "docstring_tokens": ["Query", "scope", "for", "models", "that", "do", "not", "have", "all", "of", "the", "given", "tags", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L307-L327", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.scopeIsNotTagged", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query scope for models that does not have have any tags.\n\n@param Builder $query\n\n@return Builder", "docstring_tokens": ["Query", "scope", "for", "models", "that", "does", "not", "have", "have", "any", "tags", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L367-L374", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.renameTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename one the tags for the called class.\n\n@param string $oldTag\n@param string $newTag\n\n@return int", "docstring_tokens": ["Rename", "one", "the", "tags", "for", "the", "called", "class", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L445-L448", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.popularTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the most popular tags for the called class.\n\n@param int $limit\n@param int $minCount\n\n@return array", "docstring_tokens": ["Get", "the", "most", "popular", "tags", "for", "the", "called", "class", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L458-L464", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.getQualifiedRelatedPivotKeyNameWithAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Related Pivot Key Name with the table alias.\n\n@param string $alias\n\n@return string", "docstring_tokens": ["Returns", "the", "Related", "Pivot", "Key", "Name", "with", "the", "table", "alias", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L489-L495", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.getQualifiedForeignPivotKeyNameWithAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Foreign Pivot Key Name with the table alias.\n\n@param string $alias\n\n@return string", "docstring_tokens": ["Returns", "the", "Foreign", "Pivot", "Key", "Name", "with", "the", "table", "alias", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L504-L510", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Taggable.php", "func_name": "Taggable.taggableCreateNewAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new alias to use on scopes to be able to combine many scopes\n\n@param string $scope\n\n@return string", "docstring_tokens": ["Create", "a", "new", "alias", "to", "use", "on", "scopes", "to", "be", "able", "to", "combine", "many", "scopes"], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Taggable.php#L519-L525", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.buildTagArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a delimited string into an array of tag strings.\n\n@param string|array|\\Illuminate\\Support\\Collection $tags\n\n@return array\n@throws \\ErrorException", "docstring_tokens": ["Convert", "a", "delimited", "string", "into", "an", "array", "of", "tag", "strings", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L67-L91", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.getTagModelKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of tag models for the given normalized tags\n\n@param array $normalized\n\n@return array", "docstring_tokens": ["Return", "an", "array", "of", "tag", "models", "for", "the", "given", "normalized", "tags"], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L115-L124", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.makeTagList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a delimited string from a model's tags.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $model\n@param string $field\n\n@return string", "docstring_tokens": ["Build", "a", "delimited", "string", "from", "a", "model", "s", "tags", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L134-L139", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.makeTagArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a simple array of a model's tags.\n\n@param \\Illuminate\\Database\\Eloquent\\Model $model\n@param string $field\n\n@return array", "docstring_tokens": ["Build", "a", "simple", "array", "of", "a", "model", "s", "tags", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L161-L167", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.getAllTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Tags for the given class, or all classes.\n\n@param \\Illuminate\\Database\\Eloquent\\Model|string|null $class\n\n@return Collection", "docstring_tokens": ["Get", "all", "Tags", "for", "the", "given", "class", "or", "all", "classes", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L188-L207", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.getAllUnusedTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Tags that are unused by any model.\n\n@return \\Illuminate\\Database\\Eloquent\\Collection", "docstring_tokens": ["Get", "all", "Tags", "that", "are", "unused", "by", "any", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L242-L253", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.renameTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename tags, across all or only one model.\n\n@param string $oldName\n@param string $newName\n@param \\Illuminate\\Database\\Eloquent\\Model|string|null $class\n\n@return int", "docstring_tokens": ["Rename", "tags", "across", "all", "or", "only", "one", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L306-L345", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.getQualifiedTagTableName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the qualified table name for the Tag model.\n\n@return string", "docstring_tokens": ["Get", "the", "qualified", "table", "name", "for", "the", "Tag", "model", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L352-L359", "partition": "test"} +{"repo": "cviebrock/eloquent-taggable", "path": "src/Services/TagService.php", "func_name": "TagService.getQualifiedPivotTableName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the qualified table name for the Tag model's pivot table.\n\n@param string $class\n\n@return string", "docstring_tokens": ["Get", "the", "qualified", "table", "name", "for", "the", "Tag", "model", "s", "pivot", "table", "."], "sha": "0201cdc85e5642bf31250527eb779df6dc3ca364", "url": "https://github.com/cviebrock/eloquent-taggable/blob/0201cdc85e5642bf31250527eb779df6dc3ca364/src/Services/TagService.php#L368-L375", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Parameters/CompoundParameter.php", "func_name": "CompoundParameter.saveCompoundParameterData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translates the human readable names into the payload ones and saves them along with the values.\n\n@param array $compoundData\n@throws \\InvalidArgumentException", "docstring_tokens": ["Translates", "the", "human", "readable", "names", "into", "the", "payload", "ones", "and", "saves", "them", "along", "with", "the", "values", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Parameters/CompoundParameter.php#L95-L118", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Network/PrepareUrl.php", "func_name": "PrepareUrl.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build URL which is sent to Google Analytics\n\n@internal\n@param string $url\n@param SingleParameter[] $singleParameters\n@param CompoundParameterCollection[] $compoundParameters\n@return string", "docstring_tokens": ["Build", "URL", "which", "is", "sent", "to", "Google", "Analytics"], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Network/PrepareUrl.php#L37-L50", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Network/PrepareUrl.php", "func_name": "PrepareUrl.getSingleParametersPayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares all the Single Parameters to be sent to GA.\n\n@param SingleParameter[] $singleParameters\n@return array", "docstring_tokens": ["Prepares", "all", "the", "Single", "Parameters", "to", "be", "sent", "to", "GA", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Network/PrepareUrl.php#L67-L82", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Network/PrepareUrl.php", "func_name": "PrepareUrl.getCompoundParametersPayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares compound parameters inside collections to be sent to GA.\n\n@param CompoundParameterCollection[] $compoundParameters\n@return array", "docstring_tokens": ["Prepares", "compound", "parameters", "inside", "collections", "to", "be", "sent", "to", "GA", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Network/PrepareUrl.php#L90-L100", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Traits/Indexable.php", "func_name": "Indexable.addIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces a placeholder for the index passed.\n\n@param string $string\n@param int $index\n@return string\n@throws \\TheIconic\\Tracking\\GoogleAnalytics\\Exception\\InvalidIndexException\n@throws \\TheIconic\\Tracking\\GoogleAnalytics\\Exception\\InvalidNameException", "docstring_tokens": ["Replaces", "a", "placeholder", "for", "the", "index", "passed", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Traits/Indexable.php#L51-L67", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/AnalyticsResponse.php", "func_name": "AnalyticsResponse.getDebugResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the debug response. Returns empty array if no response found.\n\n@api\n@return array", "docstring_tokens": ["Gets", "the", "debug", "response", ".", "Returns", "empty", "array", "if", "no", "response", "found", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/AnalyticsResponse.php#L91-L101", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the full endpoint to GA.\n\n@return string", "docstring_tokens": ["Gets", "the", "full", "endpoint", "to", "GA", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L551-L554", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.sendHit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a hit to GA. The hit will contain in the payload all the parameters added before.\n\n@param $methodName\n@return AnalyticsResponseInterface\n@throws Exception\\InvalidPayloadDataException", "docstring_tokens": ["Sends", "a", "hit", "to", "GA", ".", "The", "hit", "will", "contain", "in", "the", "payload", "all", "the", "parameters", "added", "before", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L577-L597", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getHttpClientOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the options array for the http client based on the Analytics object options.\n\n@return array", "docstring_tokens": ["Build", "the", "options", "array", "for", "the", "http", "client", "based", "on", "the", "Analytics", "object", "options", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L604-L613", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build and returns URL used to send to Google Analytics.\n\n@api\n@return string", "docstring_tokens": ["Build", "and", "returns", "URL", "used", "to", "send", "to", "Google", "Analytics", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L621-L630", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.hasMinimumRequiredParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the minimum required parameters for every GA hit are being sent.\n\n@SuppressWarnings(PHPMD.LongVariable)\n\n@return bool", "docstring_tokens": ["Validates", "the", "minimum", "required", "parameters", "for", "every", "GA", "hit", "are", "being", "sent", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L639-L664", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.setParameterActionTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a parameter action to the value specified by the method call.\n\n@param $parameter\n@param $action\n@return $this", "docstring_tokens": ["Sets", "a", "parameter", "action", "to", "the", "value", "specified", "by", "the", "method", "call", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L673-L686", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.setParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the value for a parameter.\n\n@param $methodName\n@param array $methodArguments\n@return $this\n@throws \\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "value", "for", "a", "parameter", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L713-L735", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.addItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an item to a compund parameter collection.\n\n@SuppressWarnings(PHPMD.LongVariable)\n\n@param $methodName\n@param array $methodArguments\n@return $this\n@throws \\InvalidArgumentException", "docstring_tokens": ["Adds", "an", "item", "to", "a", "compund", "parameter", "collection", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L747-L777", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the value for a parameter.\n\n@SuppressWarnings(PHPMD.LongVariable)\n\n@param $methodName\n@param array $methodArguments\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Gets", "the", "value", "for", "a", "parameter", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L789-L826", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getIndexFromArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the index value from the arguments.\n\n@param $methodArguments\n@return string", "docstring_tokens": ["Gets", "the", "index", "value", "from", "the", "arguments", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L834-L842", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Analytics.php", "func_name": "Analytics.getFullParameterClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the fully qualified name for a parameter.\n\n@param $parameterClass\n@param $methodName\n@return string\n@throws \\BadMethodCallException", "docstring_tokens": ["Gets", "the", "fully", "qualified", "name", "for", "a", "parameter", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Analytics.php#L852-L859", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Network/HttpClient.php", "func_name": "HttpClient.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends request to Google Analytics.\n\n@internal\n@param string $url\n@param array $options\n@return AnalyticsResponse", "docstring_tokens": ["Sends", "request", "to", "Google", "Analytics", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Network/HttpClient.php#L89-L111", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Network/HttpClient.php", "func_name": "HttpClient.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given options and fill missing fields with default values.\n\n@param array $options\n@return array", "docstring_tokens": ["Parse", "the", "given", "options", "and", "fill", "missing", "fields", "with", "default", "values", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Network/HttpClient.php#L119-L140", "partition": "test"} +{"repo": "theiconic/php-ga-measurement-protocol", "path": "src/Parameters/CompoundParameterCollection.php", "func_name": "CompoundParameterCollection.getReadableItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the human readable items for the parameter.\n\n@internal\n@return array", "docstring_tokens": ["Gets", "the", "human", "readable", "items", "for", "the", "parameter", "."], "sha": "cef87787f96d774ac9469a537a32d06b93f2bf72", "url": "https://github.com/theiconic/php-ga-measurement-protocol/blob/cef87787f96d774ac9469a537a32d06b93f2bf72/src/Parameters/CompoundParameterCollection.php#L80-L89", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.addSupportedBrand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a custom supported card brand with a regular expression to match it.\n\nNote: The fact that a particular card is known does not imply that your\ngateway supports it.\n\nSet $add_to_front to true if the key should be added to the front of the array\n\n@param string $name The name of the new supported brand.\n@param string $expression The regular expression to check if a card is supported.\n@return boolean success", "docstring_tokens": ["Set", "a", "custom", "supported", "card", "brand", "with", "a", "regular", "expression", "to", "match", "it", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L173-L183", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.setYearParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the credit card year.\n\nThe input value is normalised to a 4 digit number.\n\n@param string $key Parameter key, e.g. 'expiryYear'\n@param mixed $value Parameter value\n@return $this", "docstring_tokens": ["Set", "the", "credit", "card", "year", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L211-L221", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate this credit card. If the card is invalid, InvalidCreditCardException is thrown.\n\nThis method is called internally by gateways to avoid wasting time with an API call\nwhen the credit card is clearly invalid.\n\nGenerally if you want to validate the credit card yourself with custom error\nmessages, you should use your framework's validation library, not this method.\n\n@return void\n@throws Exception\\InvalidRequestException\n@throws InvalidCreditCardException", "docstring_tokens": ["Validate", "this", "credit", "card", ".", "If", "the", "card", "is", "invalid", "InvalidCreditCardException", "is", "thrown", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L236-L261", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.getNumberMasked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a masked credit card number with only the last 4 chars visible\n\n@param string $mask Character to use in place of numbers\n@return string", "docstring_tokens": ["Returns", "a", "masked", "credit", "card", "number", "with", "only", "the", "last", "4", "chars", "visible"], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L399-L404", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.getBrand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Credit Card Brand\n\nIterates through known/supported card brands to determine the brand of this card\n\n@return string", "docstring_tokens": ["Credit", "Card", "Brand"], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L413-L420", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.getTrackByPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get raw data for a track on the credit card magnetic strip based on the pattern for track 1 or 2.\n\n@param $pattern\n@return string|null", "docstring_tokens": ["Get", "raw", "data", "for", "a", "track", "on", "the", "credit", "card", "magnetic", "strip", "based", "on", "the", "pattern", "for", "track", "1", "or", "2", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L587-L594", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.listFirstLastName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the full name in the first and last name.\n\n@param $fullName\n@return array with first and lastname", "docstring_tokens": ["Split", "the", "full", "name", "in", "the", "first", "and", "last", "name", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L666-L671", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.setBillingName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the card billing name.\n\n@param string $value\n@return $this", "docstring_tokens": ["Sets", "the", "card", "billing", "name", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L679-L687", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.setShippingName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the card shipping name.\n\n@param string $value\n@return $this", "docstring_tokens": ["Sets", "the", "card", "shipping", "name", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L978-L986", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.getBirthday", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cardholder's birthday.\n\n@return string", "docstring_tokens": ["Get", "the", "cardholder", "s", "birthday", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L1506-L1511", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/CreditCard.php", "func_name": "CreditCard.setBirthday", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the cardholder's birthday.\n\n@param string $value\n@return $this", "docstring_tokens": ["Sets", "the", "cardholder", "s", "birthday", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/CreditCard.php#L1519-L1528", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the object with parameters.\n\nIf any unknown parameters passed, they will be ignored.\n\n@param array $parameters An associative array of parameters\n\n@return $this\n@throws RuntimeException", "docstring_tokens": ["Initialize", "the", "object", "with", "parameters", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L131-L142", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.setParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a single parameter\n\n@param string $key The parameter key\n@param mixed $value The value to set\n@return $this\n@throws RuntimeException if a request parameter is modified after the request has been sent.", "docstring_tokens": ["Set", "a", "single", "parameter"], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L152-L159", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.setCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the card.\n\n@param CreditCard $value\n@return $this", "docstring_tokens": ["Sets", "the", "card", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L198-L205", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.getAmount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates and returns the formatted amount.\n\n@throws InvalidRequestException on any validation failure.\n@return string The amount formatted to the correct number of decimal places for the selected currency.", "docstring_tokens": ["Validates", "and", "returns", "the", "formatted", "amount", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L313-L322", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.setMoney", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the payment amount as integer.\n\n@param Money $value\n@return $this", "docstring_tokens": ["Sets", "the", "payment", "amount", "as", "integer", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L366-L373", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.setCurrency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the payment currency code.\n\n@param string $value\n@return $this", "docstring_tokens": ["Sets", "the", "payment", "currency", "code", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L391-L397", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.getCurrencyNumeric", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the payment currency number.\n\n@return string|null", "docstring_tokens": ["Get", "the", "payment", "currency", "number", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L404-L415", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.getCurrencyDecimalPlaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of decimal places in the payment currency.\n\n@return integer", "docstring_tokens": ["Get", "the", "number", "of", "decimal", "places", "in", "the", "payment", "currency", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L422-L432", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractRequest.php", "func_name": "AbstractRequest.formatCurrency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format an amount for the payment currency.\n\n@param string $amount\n@return string", "docstring_tokens": ["Format", "an", "amount", "for", "the", "payment", "currency", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractRequest.php#L440-L446", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/ItemBag.php", "func_name": "ItemBag.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the contents of this bag with the specified items\n\n\n@param array $items An array of items", "docstring_tokens": ["Replace", "the", "contents", "of", "this", "bag", "with", "the", "specified", "items"], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/ItemBag.php#L52-L59", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Message/AbstractResponse.php", "func_name": "AbstractResponse.validateRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that the current Response is a valid redirect.\n\n@return void", "docstring_tokens": ["Validate", "that", "the", "current", "Response", "is", "a", "valid", "redirect", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Message/AbstractResponse.php#L252-L265", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Helper.php", "func_name": "Helper.camelCase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a string to camelCase. Strings already in camelCase will not be harmed.\n\n@param string $str The input string\n@return string camelCased output string", "docstring_tokens": ["Convert", "a", "string", "to", "camelCase", ".", "Strings", "already", "in", "camelCase", "will", "not", "be", "harmed", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Helper.php#L24-L34", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Helper.php", "func_name": "Helper.validateLuhn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a card number according to the Luhn algorithm.\n\n@param string $number The card number to validate\n@return boolean True if the supplied card number is valid", "docstring_tokens": ["Validate", "a", "card", "number", "according", "to", "the", "Luhn", "algorithm", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Helper.php#L63-L71", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Helper.php", "func_name": "Helper.getGatewayShortName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a gateway class to a short name.\n\nThe short name can be used with GatewayFactory as an alias of the gateway class,\nto create new instances of a gateway.", "docstring_tokens": ["Resolve", "a", "gateway", "class", "to", "a", "short", "name", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Helper.php#L100-L111", "partition": "test"} +{"repo": "thephpleague/omnipay-common", "path": "src/Common/Helper.php", "func_name": "Helper.getGatewayClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a short gateway name to a full namespaced gateway class.\n\nClass names beginning with a namespace marker (\\) are left intact.\nNon-namespaced classes are expected to be in the \\Omnipay namespace, e.g.:\n\n\\Custom\\Gateway => \\Custom\\Gateway\n\\Custom_Gateway => \\Custom_Gateway\nStripe => \\Omnipay\\Stripe\\Gateway\nPayPal\\Express => \\Omnipay\\PayPal\\ExpressGateway\nPayPal_Express => \\Omnipay\\PayPal\\ExpressGateway\n\n@param string $shortName The short gateway name\n@return string The fully namespaced gateway class name", "docstring_tokens": ["Resolve", "a", "short", "gateway", "name", "to", "a", "full", "namespaced", "gateway", "class", "."], "sha": "c4567f786d283851be12319214ac7be7a0a0ee69", "url": "https://github.com/thephpleague/omnipay-common/blob/c4567f786d283851be12319214ac7be7a0a0ee69/src/Common/Helper.php#L128-L141", "partition": "test"} +{"repo": "sonata-project/SonataDoctrineORMAdminBundle", "path": "src/Datagrid/ProxyQuery.php", "func_name": "ProxyQuery.getFixedQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method alters the query to return a clean set of object with a working\nset of Object.\n\n@return QueryBuilder", "docstring_tokens": ["This", "method", "alters", "the", "query", "to", "return", "a", "clean", "set", "of", "object", "with", "a", "working", "set", "of", "Object", "."], "sha": "02499f4b89a9a1651534c8bd05d25450818a4db0", "url": "https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/02499f4b89a9a1651534c8bd05d25450818a4db0/src/Datagrid/ProxyQuery.php#L309-L375", "partition": "test"} +{"repo": "sonata-project/SonataDoctrineORMAdminBundle", "path": "src/Model/ModelManager.php", "func_name": "ModelManager.getParentMetadataForProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the model's metadata holding the fully qualified property, and the last\nproperty name.\n\n@param string $baseClass The base class of the model holding the fully qualified property\n@param string $propertyFullName The name of the fully qualified property (dot ('.') separated\nproperty string)\n\n@return array(\n\\Doctrine\\ORM\\Mapping\\ClassMetadata $parentMetadata,\nstring $lastPropertyName,\narray $parentAssociationMappings\n)", "docstring_tokens": ["Returns", "the", "model", "s", "metadata", "holding", "the", "fully", "qualified", "property", "and", "the", "last", "property", "name", "."], "sha": "02499f4b89a9a1651534c8bd05d25450818a4db0", "url": "https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/02499f4b89a9a1651534c8bd05d25450818a4db0/src/Model/ModelManager.php#L82-L106", "partition": "test"} +{"repo": "sonata-project/SonataDoctrineORMAdminBundle", "path": "src/Builder/DatagridBuilder.php", "func_name": "DatagridBuilder.getPager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get pager by pagerType.\n\n@param string $pagerType\n\n@throws \\RuntimeException If invalid pager type is set\n\n@return PagerInterface", "docstring_tokens": ["Get", "pager", "by", "pagerType", "."], "sha": "02499f4b89a9a1651534c8bd05d25450818a4db0", "url": "https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/02499f4b89a9a1651534c8bd05d25450818a4db0/src/Builder/DatagridBuilder.php#L203-L215", "partition": "test"} +{"repo": "sonata-project/SonataDoctrineORMAdminBundle", "path": "src/Filter/ModelFilter.php", "func_name": "ModelFilter.getParentAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the parent alias for given alias.\nRoot alias for direct association or entity joined alias for association depth >= 2.\n\n@param string $alias\n\n@return string", "docstring_tokens": ["Retrieve", "the", "parent", "alias", "for", "given", "alias", ".", "Root", "alias", "for", "direct", "association", "or", "entity", "joined", "alias", "for", "association", "depth", ">", "=", "2", "."], "sha": "02499f4b89a9a1651534c8bd05d25450818a4db0", "url": "https://github.com/sonata-project/SonataDoctrineORMAdminBundle/blob/02499f4b89a9a1651534c8bd05d25450818a4db0/src/Filter/ModelFilter.php#L133-L149", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service.php", "func_name": "QuickBooks_IPP_Service._add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an IDS object via IPP\n\n@param QuickBooks_IPP_Context $Context\n@param integer $realmID\n@param string $resource\n@param object $Object\n@return integer", "docstring_tokens": ["Add", "an", "IDS", "object", "via", "IPP"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service.php#L439-L450", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service.php", "func_name": "QuickBooks_IPP_Service._findById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a record by ID number", "docstring_tokens": ["Find", "a", "record", "by", "ID", "number"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service.php#L843-L890", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Adapter/Client/Php.php", "func_name": "QuickBooks_Adapter_Client_Php.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate against a QuickBooks SOAP server\n\n@param string $user\n@param string $pass\n@return array", "docstring_tokens": ["Authenticate", "against", "a", "QuickBooks", "SOAP", "server"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Adapter/Client/Php.php#L50-L58", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Customer.php", "func_name": "QuickBooks_QBXML_Object_Customer.setParentApplicationID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the application id of the parent client\n\n@param string $id\n@return boolean", "docstring_tokens": ["Set", "the", "application", "id", "of", "the", "parent", "client"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Customer.php#L87-L90", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Customer.php", "func_name": "QuickBooks_QBXML_Object_Customer.setCreditCardInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the credit card information for this customer\n\n@param string $cardno\t\tThe credit card number\n@param integer $expmonth\t\tThe expiration month (1 is January, 2 is February, etc.)\n@param integer $expyear\t\tThe expiration year\n@param string $name\t\t\tThe name on the credit card\n@param string $address\t\tThe billing address for the credit card\n@param string $postalcode\tThe postal code for the credit card\n@return boolean", "docstring_tokens": ["Set", "the", "credit", "card", "information", "for", "this", "customer"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Customer.php#L699-L711", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Customer.php", "func_name": "QuickBooks_QBXML_Object_Customer.getCreditCardInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get credit card information for this customer\n\n@param string $part\t\tIf you just want a specific part of the card info, specify it here\n@param array $defaults\tDefaults for the card data if you want the entire array\n@return mixed\t\t\tIf you specify a part, a string part is returned, otherwise an array of card data", "docstring_tokens": ["Get", "credit", "card", "information", "for", "this", "customer"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Customer.php#L720-L728", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Class.php", "func_name": "QuickBooks_IPP_Service_Class.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new class to QuickBooks\n\n@param QuickBooks_IPP_Context $Context\n@param string $realmID\n@param QuickBooks_IPP_Object_Class\n@return string\t\t\t\t\t\t\t\tThe new ID of the created class", "docstring_tokens": ["Add", "a", "new", "class", "to", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Class.php#L52-L55", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Employee.php", "func_name": "QuickBooks_IPP_Service_Employee.findById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an employee by ID\n\n@param QuickBooks_IPP_Context $Context\n@param string $realmID\n@param string $ID\t\t\t\t\t\tThe ID of the customer (this expects an IdType, which includes the domain)\n@return QuickBooks_IPP_Object_Employee\tThe employee object", "docstring_tokens": ["Get", "an", "employee", "by", "ID"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Employee.php#L37-L41", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/OAuth.php", "func_name": "QuickBooks_IPP_OAuth.signature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the signature method", "docstring_tokens": ["Set", "the", "signature", "method"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/OAuth.php#L66-L70", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_web_connector_oop.php", "func_name": "My_Class_Name.handleError500", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Catch and handle a 500 error from QuickBooks\n\n@param string $requestID\n@param string $action\n@param mixed $ID\n@param mixed $extra\n@param string $err\n@param string $xml\n@param mixed $errnum\n@param string $errmsg\n@return void", "docstring_tokens": ["Catch", "and", "handle", "a", "500", "error", "from", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_web_connector_oop.php#L235-L243", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_web_connector_oop.php", "func_name": "My_Class_Name.hookLoginSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Example of a login success hook implemented as an object method\n\n@param string $requestID\n@param string $user\n@param string $hook\n@param string $err\n@param array $hook_data\n@param array $callback_config\n@return boolean", "docstring_tokens": ["Example", "of", "a", "login", "success", "hook", "implemented", "as", "an", "object", "method"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_web_connector_oop.php#L256-L265", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Schema/Object.php", "func_name": "QuickBooks_QBXML_Schema_Object.isRepeatable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not a specific element is repeatable\n\n@param string $path\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "a", "specific", "element", "is", "repeatable"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Schema/Object.php#L182-L199", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Schema/Object.php", "func_name": "QuickBooks_QBXML_Schema_Object.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not an element exists\n\n@param string $path\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "an", "element", "exists"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Schema/Object.php#L207-L227", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Schema/Object.php", "func_name": "QuickBooks_QBXML_Schema_Object.reorderPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Re-order an array to match the schema order\n\n@param array $unordered_paths\n@param boolean $allow_application_id\n@return array", "docstring_tokens": ["Re", "-", "order", "an", "array", "to", "match", "the", "schema", "order"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Schema/Object.php#L306-L370", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks.php", "func_name": "QuickBooks_Callbacks._callFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a callback function\n\n@param string $function\t\tA valid function name\n@param array $vars\t\t\tAn array of arguments to the function\n@param string $err\t\t\tAn error message will be passed back to this if an error occurs\n@param integer $which\t\tIf you want a particular $var to be passed the error message, specify which $var as an integer here (i.e. 0 to fill $var[0], 1 to fill $var[1], etc.)\n@return mixed", "docstring_tokens": ["Call", "a", "callback", "function"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks.php#L153-L169", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks.php", "func_name": "QuickBooks_Callbacks._callStaticMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a static method of a class and return the result\n\n@param string $class_and_method\n@param array $vars\n@param string $err\n@param integer $which\n@return mixed", "docstring_tokens": ["Call", "a", "static", "method", "of", "a", "class", "and", "return", "the", "result"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks.php#L210-L233", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Customer.php", "func_name": "QuickBooks_IPP_Service_Customer.findByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a customer by name\n\n@param QuickBooks_IPP_Context $Context\n@param string $realm\n@param string $name\t\t\t\t\t\tThe name of the customer\n@return QuickBooks_IPP_Object_Customer\tThe customer object", "docstring_tokens": ["Get", "a", "customer", "by", "name"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Customer.php#L51-L55", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Invoice.php", "func_name": "QuickBooks_QBXML_Object_Invoice.setClassApplicationID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the class application ID\n\n@param mixed $value\n@return boolean", "docstring_tokens": ["Set", "the", "class", "application", "ID"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Invoice.php#L191-L194", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Invoice.php", "func_name": "QuickBooks_QBXML_Object_Invoice.getBillAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the billing address\n\n@param string $part\t\t\tA specific portion of the address to get (i.e. \"Addr1\" or \"State\")\n@param array $defaults\t\tDefault values if a value isn't filled in\n@return array\t\t\t\tThe address", "docstring_tokens": ["Get", "the", "billing", "address"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Invoice.php#L418-L426", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Invoice.php", "func_name": "QuickBooks_QBXML_Object_Invoice.setShipMethodApplicationID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the application ID for the shipping method\n\n@param mixed $value\t\tThe shipping method primary key from your application\n@return \t\t\t\t\tboolean", "docstring_tokens": ["Set", "the", "application", "ID", "for", "the", "shipping", "method"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Invoice.php#L610-L613", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Invoice.php", "func_name": "QuickBooks_QBXML_Object_Invoice.setPaymentMethodApplicationID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the application ID for the payment method\n\n@param mixed $value\t\tThe payment method primary key from your application\n@return \t\t\t\t\tboolean", "docstring_tokens": ["Set", "the", "application", "ID", "for", "the", "payment", "method"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Invoice.php#L651-L654", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql/Sqlite.php", "func_name": "QuickBooks_Driver_Sql_Sqlite._generateFieldSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override for the default SQL generation functions, MySQL-specific field generation function\n\n@param string $name\n@param array $def\n@return string", "docstring_tokens": ["Override", "for", "the", "default", "SQL", "generation", "functions", "MySQL", "-", "specific", "field", "generation", "function"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql/Sqlite.php#L500-L565", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node._getChildAtHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursive helper function - get child at location\n\n@param QuickBooks_XML_Node $root\n@param string $path\n@return QuickBooks_XML_Node", "docstring_tokens": ["Recursive", "helper", "function", "-", "get", "child", "at", "location"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L205-L235", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.addChildAt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a child XML node at a particular path\n\n@param string $path\n@param QuickBooks_XML_Node $child\n@param boolean $create\n@return boolean", "docstring_tokens": ["Add", "a", "child", "XML", "node", "at", "a", "particular", "path"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L284-L287", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.children", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of child nodes for this XML node\n\n@param string $pattern\n@return QuickBooks_XML_Node[]", "docstring_tokens": ["Get", "an", "array", "of", "child", "nodes", "for", "this", "XML", "node"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L445-L463", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.removeAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an attribute from the XML node\n\n@param string $attr\n@return boolean", "docstring_tokens": ["Remove", "an", "attribute", "from", "the", "XML", "node"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L634-L643", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node._asXMLHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resursive helper function for converting to XML\n\n@param QuickBooks_XML_Node $node\n@param integer $tabs\n@param boolean $empty\t\t\t\tA constant, one of: QUICKBOOKS_XML_XML_PRESERVE, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_COMPRESS\n@param string $indent\n@return string", "docstring_tokens": ["Resursive", "helper", "function", "for", "converting", "to", "XML"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L654-L719", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.asArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array represtation of this XML node\n\n@param string $mode\n@return array", "docstring_tokens": ["Get", "an", "array", "represtation", "of", "this", "XML", "node"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L781-L800", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node._asArrayPathsHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for converting to an array mapping paths to tag values\n\n@param QuickBooks_XML_Node $node\n@param string $current\n@param array $paths\n@return void", "docstring_tokens": ["Helper", "function", "for", "converting", "to", "an", "array", "mapping", "paths", "to", "tag", "values"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L810-L823", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.saveXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save this XML node structure as an XML file\n\n@param mixed $path_or_resource\t\t\tThe filepath of the file you want write to *or* an opened file resource\n@param string $mode\t\t\t\t\t\tThe mode to open the file in\n@param boolean $todo_for_empty_elements\tA constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE\n@return integer\t\t\t\t\t\t\tThe number of bytes written to the file", "docstring_tokens": ["Save", "this", "XML", "node", "structure", "as", "an", "XML", "file"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L833-L847", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Node.php", "func_name": "QuickBooks_XML_Node.saveJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the XML node structure as a JSON document\n\n@param mixed $path_or_resource\n@param string $mode\n@return integer", "docstring_tokens": ["Save", "the", "XML", "node", "structure", "as", "a", "JSON", "document"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Node.php#L856-L870", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Cast.php", "func_name": "QuickBooks_Cast._castTruncate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shorten a string to a specific length by truncating or abbreviating the string\n\nQuickBooks often uses unusually short field lengths. This function can\nbe used to try to make long strings fit cleanly into the QuickBooks\nfields. It tries to do a few things:\n- Convert long words to shorter abbreviations\n- Remove non-ASCII characters\n- Truncate the string if it's still too long\n\n@param string $value\t\t\t\tThe string to shorten\n@param integer $length\t\t\tThe max. length the string should be\n@param boolean $with_abbrevs\t\tWhether or not to abbreviate some long words to shorten the string\n@return string\t\t\t\t\tThe shortened string", "docstring_tokens": ["Shorten", "a", "string", "to", "a", "specific", "length", "by", "truncating", "or", "abbreviating", "the", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Cast.php#L194-L216", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Cast.php", "func_name": "QuickBooks_Cast._decodeUTF8", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode a UTF-8 string to an entity encoded string\n\n@param string $string \tEncoded string\n@return string \t\t\tDecoded string", "docstring_tokens": ["Decode", "a", "UTF", "-", "8", "string", "to", "an", "entity", "encoded", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Cast.php#L518-L556", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.parseDSN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a DSN style connection string\n\n@param string $dsn\t\tThe DSN connection string\n@param string $part\t\tIf you want just a specific part of the string, choose which part here: scheme, host, port, user, pass, query, fragment\n@return mixed \t\t\tAn array or a string, depending on if you wanted the whole thing parsed or just a piece of it", "docstring_tokens": ["Parse", "a", "DSN", "style", "connection", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L37-L69", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.extractRequestID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the requestID attribute from an XML stream\n\n@param string $xml\tThe XML stream to look for a requestID attribute in\n@return mixed\t\tThe request ID", "docstring_tokens": ["Extract", "the", "requestID", "attribute", "from", "an", "XML", "stream"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L164-L177", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.parseRequestID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a requestID string into it's action and ident parts\n\n@param string $requestID\n@param string $action\n@param mixed $ident\n@return boolean", "docstring_tokens": ["Parse", "a", "requestID", "string", "into", "it", "s", "action", "and", "ident", "parts"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L199-L215", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities._checkCIDR", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a given IP address lies within a CIDR range\n\n@param string $remoteaddr\t\tThe remote machine's IP address (example: 192.168.1.4)\n@param string $CIDR\t\t\t\tA CIDR network address (example: 192.168.0.0/24)\n@return boolean", "docstring_tokens": ["Check", "if", "a", "given", "IP", "address", "lies", "within", "a", "CIDR", "range"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L335-L346", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.createUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a user for the QuickBooks Web Connector SOAP server\n\n@param string $dsn\t\tA DSN-style connection string for the back-end driver\n@param string $username\tThe username for the new user\n@param string $password\tThe password for the new user\n@param string $company_file\n@param string $wait_before_next_update\n@param string $min_run_every_n_seconds\n@return boolean", "docstring_tokens": ["Create", "a", "user", "for", "the", "QuickBooks", "Web", "Connector", "SOAP", "server"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L436-L441", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.disableUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable a user for the QuickBooks Web Connector SOAP server\n\n@param string $dsn\t\tA DSN-style connection string\n@param string $username\tThe username for the user to disable\n@return boolean", "docstring_tokens": ["Disable", "a", "user", "for", "the", "QuickBooks", "Web", "Connector", "SOAP", "server"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L450-L455", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.generateUniqueHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a unique hash from a bunch of variables\n\n@param mixed $mixed1\n@param mixed $mixed2\n@param mixed $mixed3\n@param mixed $mixed4\n@param mixed $mixed5\n@return string", "docstring_tokens": ["Generate", "a", "unique", "hash", "from", "a", "bunch", "of", "variables"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L467-L470", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.hasQuickBooksID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not a given object has a ListID or TxnID associated with it\n\n* Note *\nThis function *does not* query QuickBooks, it only queries the internal\nmapping of QuickBooks IDs to PRIMARY KEYS. The mappings can be created\nwith the {@link QuickBooks_Utilities::createMapping()} method and the API\ntries to automatically create the mapping when you add or update an\nobject and provide a PRIMARY KEY when calling the ->add* or ->update*\nmethod.\n\n@param string $object_type\n@param mixed $app_ID\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "a", "given", "object", "has", "a", "ListID", "or", "TxnID", "associated", "with", "it"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L592-L600", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the backend driver\n\nInitialization should only be done once, and is used to take care of\nthings like creating the database schema, etc.\n\n@param string $dsn\t\t\t\tA DSN-style connection string\n@param array $driver_options\n@return boolean", "docstring_tokens": ["Initialize", "the", "backend", "driver"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L612-L617", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.initialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not a driver has been initialized\n\n@param string $dsn\n@param array $driver_options\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "a", "driver", "has", "been", "initialized"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L626-L631", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.listObjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all of the QuickBooks object types supported by the framework\n\n@param string $filter\n@param boolean $return_keys\n@param boolean $order_for_mapping\n@return array", "docstring_tokens": ["List", "all", "of", "the", "QuickBooks", "object", "types", "supported", "by", "the", "framework"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L703-L753", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Utilities.php", "func_name": "QuickBooks_Utilities.listActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all of the QuickBooks actions the framework supports\n\n@param string $filter\n@param boolean $return_keys\n@return array", "docstring_tokens": ["List", "all", "of", "the", "QuickBooks", "actions", "the", "framework", "supports"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Utilities.php#L1154-L1222", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql/Mysqli.php", "func_name": "QuickBooks_Driver_Sql_Mysqli._escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a string for the database\n\n@param string $str\n@return string", "docstring_tokens": ["Escape", "a", "string", "for", "the", "database"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql/Mysqli.php#L431-L440", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php", "func_name": "QuickBooks.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate and return a .QWC Web Connector configuration file", "docstring_tokens": ["Generate", "and", "return", "a", ".", "QWC", "Web", "Connector", "configuration", "file"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php#L47-L76", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php", "func_name": "QuickBooks.qbwc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SOAP endpoint for the Web Connector to connect to", "docstring_tokens": ["SOAP", "endpoint", "for", "the", "Web", "Connector", "to", "connect", "to"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php#L81-L155", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php", "func_name": "QuickBooks._addCustomerRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Issue a request to QuickBooks to add a customer", "docstring_tokens": ["Issue", "a", "request", "to", "QuickBooks", "to", "add", "a", "customer"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php#L160-L195", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php", "func_name": "QuickBooks._addCustomerResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a response from QuickBooks indicating a new customer has been added", "docstring_tokens": ["Handle", "a", "response", "from", "QuickBooks", "indicating", "a", "new", "customer", "has", "been", "added"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php#L200-L205", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php", "func_name": "QuickBooks._catchallErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Catch and handle errors from QuickBooks", "docstring_tokens": ["Catch", "and", "handle", "errors", "from", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/controllers/quickbooks.php#L210-L213", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.queueProcessing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch the item currently being processed by QuickBooks\n\n@param string $user\n@return array", "docstring_tokens": ["Fetch", "the", "item", "currently", "being", "processed", "by", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L598-L607", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.recurEnqueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a recurring event which will be queued up every so often...\n\n@param integer $run_every\n@param string $action\n@param mixed $ident\n@param boolean $replace\n@param integer $priority\n@param mixed $extra\n@return boolean", "docstring_tokens": ["Create", "a", "recurring", "event", "which", "will", "be", "queued", "up", "every", "so", "often", "..."], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L625-L641", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.recurDequeue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch the next recurring event from the recurring event queue\n\n@param boolean $by_priority\n@return boolean", "docstring_tokens": ["Fetch", "the", "next", "recurring", "event", "from", "the", "recurring", "event", "queue"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L654-L663", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.queueLeft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell the number of queued items left in the queue for a given user\n\n@param string $user\n@param boolean $queued\n@return integer", "docstring_tokens": ["Tell", "the", "number", "of", "queued", "items", "left", "in", "the", "queue", "for", "a", "given", "user"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L839-L849", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.queueReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of records from the queue for use in a report\n\n@param string $date_from\n@param string $date_to\n@param integer $offset\n@param integer $limit\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "records", "from", "the", "queue", "for", "use", "in", "a", "report"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L865-L880", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.queueProcessed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell how many commands have been processed during this login session\n\n@param string $ticket\t\tThe ticket for the login session\n@return integer\t\t\t\tThe number of commands processed so far", "docstring_tokens": ["Tell", "how", "many", "commands", "have", "been", "processed", "during", "this", "login", "session"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L953-L960", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.errorLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log an error that occured for a specific ticket\n\n@param string $ticket\n@param string $errno\n@param string $errstr\n@return boolean", "docstring_tokens": ["Log", "an", "error", "that", "occured", "for", "a", "specific", "ticket"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1058-L1068", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.errorLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last error that occured\n\n@param string $ticket\n@return string", "docstring_tokens": ["Get", "the", "last", "error", "that", "occured"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1081-L1087", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.authResolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a ticket string to a QuickBooks username\n\n@param string $ticket\n@return string", "docstring_tokens": ["Resolve", "a", "ticket", "string", "to", "a", "QuickBooks", "username"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1148-L1154", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.authCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check to see whether or not a ticket is for a valid, unexpired login session\n\n@param string $ticket\tThe login session ticket to check\n@return boolean \t\t\tWhether or not the ticket is valid", "docstring_tokens": ["Check", "to", "see", "whether", "or", "not", "a", "ticket", "is", "for", "a", "valid", "unexpired", "login", "session"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1233-L1239", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.authLogout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "End a log-in session\n\n@param string $ticket\tThe ticket for the session\n@return boolean", "docstring_tokens": ["End", "a", "log", "-", "in", "session"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1252-L1258", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.authCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a user account with the given username and password\n\n@param string $username\tThe desired username\n@param string $password\tThe desired password\n@return boolean \t\t\tWhether or not the user was created", "docstring_tokens": ["Create", "a", "user", "account", "with", "the", "given", "username", "and", "password"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1272-L1285", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the driver class\n\n@param array $options\n@return boolean", "docstring_tokens": ["Initialize", "the", "driver", "class"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1342-L1351", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.initialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not the driver class has been initialized\n\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "the", "driver", "class", "has", "been", "initialized"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1363-L1370", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message to the QuickBooks log\n\n@param string $msg\t\tThe message to place in the log\n@param string $ticket\tThe ticket for the login session\n@param integer $lvl\n@return boolean \t\t\tWhether or not the message was logged successfully", "docstring_tokens": ["Log", "a", "message", "to", "the", "QuickBooks", "log"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1447-L1464", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver.php", "func_name": "QuickBooks_Driver._callHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call any user-defined hooks hooked into a particular type of event\n\nHooks will be executed in the order they were added in. If any hook\nreturns FALSE, then execution for that type of hook will be stopped and\nno other hooks will run. Errors reported via the $err parameter will be\nlogged using the driver logging mechanism.\n\n@param string $hook\t\t\tThe type of hook we're to execute\n@param string $ticket\t\tThe Web Connector ticket\n@param string $err\t\t\tAny error messages that should be reported\n@param array $hook_data\t\tAn array of hook data\n@return boolean", "docstring_tokens": ["Call", "any", "user", "-", "defined", "hooks", "hooked", "into", "a", "particular", "type", "of", "event"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver.php#L1539-L1557", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Federator.php", "func_name": "QuickBooks_IPP_Federator.connectOAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch OAuth tokens with the data provided to you in the SAML request\n\nFederated applications can use OAuth for unattended access to IDS data.\n(i.e. access data even if the user isn't logged in) Before you start\nusing this, you have to make sure Intuit onboards you for OAuth access.\n\n@param string $provider\t\t\t\t\tYour federated provider id (Intuit should have given you this)\n@param string $token\t\t\t\t\t\tYour application token\n@param string $key\t\t\t\t\t\tThe full path to your .pem file (e.g. /path/to/file.pem)\n@param string $user\t\t\t\t\t\tThe username or user ID of the authenticating user\n@param string $tenant\t\t\t\t\tThe tenant ID of the authenticating user\n@param string $auth_id_pseudonym\t\t\tThe Auth ID Pseudonym extracted from the SAML message\n@param string $realm_id_pseudonym\t\tThe Realm ID Pseudonym extracted from the SAML message\n@return boolean", "docstring_tokens": ["Fetch", "OAuth", "tokens", "with", "the", "data", "provided", "to", "you", "in", "the", "SAML", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Federator.php#L365-L431", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._defaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Massage any optional configuration flags\n\n@param array $config\n@return array", "docstring_tokens": ["Massage", "any", "optional", "configuration", "flags"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L290-L351", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._handleRecurringEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queue up recurring events that are overdue to be run\n\n@param string $ticket\n@return boolean", "docstring_tokens": ["Queue", "up", "recurring", "events", "that", "are", "overdue", "to", "be", "run"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L397-L436", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._extractIdentifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract a unique record identifier from an XML response\n\nSome (most?) records within QuickBooks have unique identifiers which are\nreturned with the qbXML responses. This method will try to extract all\nidentifiers it can find from a qbXML response and return them in an\nassociative array.\n\nFor example, Customers have unique ListIDs, Invoices have unique TxnIDs,\netc. For an AddCustomer request, you'll get an array that looks like\nthis:\n\narray(\n'ListID' => '2C0000-1039887390'\n)\n\n\nOther transactions might have more than one identifier. For instance, a\ncall to AddInvoice returns both a ListID and a TxnID:\n\narray(\n'ListID' => '200000-1036881887', // This is actually part of the 'CustomerRef' entity in the Invoice XML response\n'TxnID' => '11C26-1196256987', // This is the actual transaction ID for the Invoice XML response\n)\n\n\n*** IMPORTANT *** If there are duplicate fields (i.e.: 3 different\nListIDs returned) then only the first value encountered will appear in\nthe associative array.\n\nThe following elements/attributes are supported:\n- ListID\n- TxnID\n- iteratorID\n- OwnerID\n- TxnLineID\n\n@param string $xml\tThe XML stream to look for an identifier in\n@return array\t\tAn associative array mapping identifier fields to identifier values", "docstring_tokens": ["Extract", "a", "unique", "record", "identifier", "from", "an", "XML", "response"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L978-L1025", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._extractStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the status code from an XML response\n\nEach qbXML response should return a status code and a status message\nindicating whether or not an error occured.\n\n@param string $xml\tThe XML stream to look for a response status code in\n@return integer\t\tThe response status code (0 if OK, another positive integer if an error occured)", "docstring_tokens": ["Extract", "the", "status", "code", "from", "an", "XML", "response"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L1036-L1045", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._extractStatusMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the status message from an XML response\n\nEach qbXML response should return a status code and a status message\nindicating whether or not an error occured.\n\n@param string $xml\tThe XML stream to look for a response status message in\n@return string\t\tThe response status message", "docstring_tokens": ["Extract", "the", "status", "message", "from", "an", "XML", "response"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L1056-L1065", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._callMappedFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the mapped function for a given action\n\n@param integer $which\t\t\tWhether or call the request action handler (pass a 0) or the response action handler (pass a 1)\n@param string $user\t\t\t\tQuickBooks username of the user the request/response is for\n@param string $action\n@param mixed $ident\n@param mixed $extra\n@param string $err\t\t\t\tIf the function returns an error message, the error message will be stored here\n@param integer $last_action_time\n@param integer $last_actionident_time\n@param string $xml\t\t\t\tA qbXML response (if you're calling the response handler)\n@param array $qb_identifier\n@return string", "docstring_tokens": ["Call", "the", "mapped", "function", "for", "a", "given", "action"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L1082-L1095", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._callHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a user-defined hook\n\n@param string $ticket\n@param string $hook\n@param string $requestID\n@param string $action\n@param mixed $ident\n@param mixed $extra\n@param string $err\n@param string $xml\n@param array $qb_identifiers\n@param array $hook_data\n@return boolean", "docstring_tokens": ["Call", "a", "user", "-", "defined", "hook"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L1112-L1131", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Handlers.php", "func_name": "QuickBooks_WebConnector_Handlers._handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call an error-handler function and update the status of a request to ERROR\n\n@param string $ticket\n@param integer $errnum\t\tThe error number from QuickBooks (see the QuickBooks SDK/IDN for a list of error codes)\n@param string $errmsg\t\tThe error message from QuickBooks\n@param string $requestID\n@param string $action\n@param mixed $ident\n@param array $extra\n@param string $err\n@param string $xml\n@param array $qb_identifiers", "docstring_tokens": ["Call", "an", "error", "-", "handler", "function", "and", "update", "the", "status", "of", "a", "request", "to", "ERROR"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Handlers.php#L1147-L1204", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_codeigniter_web_connector/models/quickbooks.php", "func_name": "Quickbooks.enqueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queue up a request for the Web Connector to process", "docstring_tokens": ["Queue", "up", "a", "request", "for", "the", "Web", "Connector", "to", "process"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_codeigniter_web_connector/models/quickbooks.php#L21-L26", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Item.php", "func_name": "QuickBooks_IPP_Service_Item.findByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find an item by name\n\n@param unknown_type $Context\n@param unknown_type $realmID\n@param unknown_type $name", "docstring_tokens": ["Find", "an", "item", "by", "name"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Item.php#L42-L68", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SQL.php", "func_name": "QuickBooks_SQL._startsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not a string starts with another string\n\n@param string $str\n@param string $startswith\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "a", "string", "starts", "with", "another", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SQL.php#L88-L93", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SQL.php", "func_name": "QuickBooks_SQL.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an SQL query and return the result resource\n\n@param string $sql\t\tThe SQL query to execute\n@param boolean $look\t\tWhether or not to examine the query and see if it's an INSERT/UPDATE/DELETE query\n@return resource", "docstring_tokens": ["Execute", "an", "SQL", "query", "and", "return", "the", "result", "resource"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SQL.php#L102-L128", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML.php", "func_name": "QuickBooks_XML.extractTagContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the contents from a particular XML tag in an XML string\n\n\n$xml = 'bla blable ble';\n$contents = QuickBooks_Utilities::_extractTagContents('stuff', $xml);\nprint($contents); \t// prints \"bla bla\"\n\n\n@param string $tag\t\tThe XML tag to extract the contents from\n@param string $data\t\tThe XML document\n@return string\t\t\tThe contents of the tag", "docstring_tokens": ["Extract", "the", "contents", "from", "a", "particular", "XML", "tag", "in", "an", "XML", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML.php#L219-L233", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML.php", "func_name": "QuickBooks_XML.extractTagAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the attributes from a tag container\n\n@todo Holy confusing code Batman!\n\n@param string $tag_w_attributes\n@param string $tag\n@param array $attributes\n@return void", "docstring_tokens": ["Extract", "the", "attributes", "from", "a", "tag", "container"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML.php#L279-L381", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML.php", "func_name": "QuickBooks_XML.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode a string for use within an XML document\n\n@todo Investigate QuickBooks qbXML encoding and implement solution\n\n@param string $str\t\t\t\tThe string to encode\n@param boolean $for_qbxml\n@return string", "docstring_tokens": ["Encode", "a", "string", "for", "use", "within", "an", "XML", "document"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML.php#L392-L416", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML.php", "func_name": "QuickBooks_XML.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode a string for use within an XML document\n\n@todo Investigate QuickBooks qbXML encoding and implement solution\n\n@param string $str\t\t\t\tThe string to encode\n@param boolean $for_qbxml\n@return string", "docstring_tokens": ["Decode", "a", "string", "for", "use", "within", "an", "XML", "document"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML.php#L427-L438", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/IntuitAnywhere.php", "func_name": "QuickBooks_IPP_IntuitAnywhere.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns TRUE if an OAuth token exists for this user, FALSE otherwise\n\n@param string $app_username\n@return bool", "docstring_tokens": ["Returns", "TRUE", "if", "an", "OAuth", "token", "exists", "for", "this", "user", "FALSE", "otherwise"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/IntuitAnywhere.php#L134-L142", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/IntuitAnywhere.php", "func_name": "QuickBooks_IPP_IntuitAnywhere.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load OAuth credentials from the database\n\n@param string $app_username\n@return array", "docstring_tokens": ["Load", "OAuth", "credentials", "from", "the", "database"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/IntuitAnywhere.php#L210-L223", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/IntuitAnywhere.php", "func_name": "QuickBooks_IPP_IntuitAnywhere.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle an OAuth request login thing", "docstring_tokens": ["Handle", "an", "OAuth", "request", "login", "thing"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/IntuitAnywhere.php#L360-L449", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/IntuitAnywhere.php", "func_name": "QuickBooks_IPP_IntuitAnywhere.widgetMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function returns the html for displaying the \"Blue Dot\" menu\n\nAs per Intuit's recommendation, your app should call this function before the user clicks the\nblue dot menu and cache it. This will improve the user's experience and prevent unnecessary API\ncalls to Intuit's web service. See:\nhttps://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0025_Intuit_Anywhere/1000_Getting_Started_With_IA/0500_Add_IA_Widgets/3000_Blue_Dot_Menu/Menu_Proxy_Code\n\nExample usage:\n// Your app should read from cache here if possible before calling widgetMenu()\n$html = $object->widgetMenu($app_username, $app_tenant);\nif (strlen($html)) {\n// Your app should write to cache here if possible\nprint $html;\nexit;\n}\n\n@param string $app_username\n@param string $app_tenant\n@return html string", "docstring_tokens": ["This", "function", "returns", "the", "html", "for", "displaying", "the", "Blue", "Dot", "menu"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/IntuitAnywhere.php#L531-L547", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SQL/Schema.php", "func_name": "QuickBooks_SQL_Schema.mapSchemaToSQLDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take a qbXML schema and transform that schema to an SQL schema definition\n\n@param string $xml\t\t\tThe XML string to transform\n@param array $tables\t\t\tAn array of... erm... something?\n@return boolean", "docstring_tokens": ["Take", "a", "qbXML", "schema", "and", "transform", "that", "schema", "to", "an", "SQL", "schema", "definition"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SQL/Schema.php#L62-L196", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SQL/Schema.php", "func_name": "QuickBooks_SQL_Schema._transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform an XML document into an SQL schema\n\n@param string $curpath\n@param QuickBooks_XML_Node $node\n@param array $tables\n@return", "docstring_tokens": ["Transform", "an", "XML", "document", "into", "an", "SQL", "schema"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SQL/Schema.php#L206-L266", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a value within the object\n\n@param string $key\n@param string $value\n@return boolean", "docstring_tokens": ["Set", "a", "value", "within", "the", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L132-L153", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from the object\n\n@param string $key\t\tThe key to fetch the value for\n@param mixed $default\tIf there is no value set for the given key, this will be returned\n@return mixed\t\t\tThe value fetched", "docstring_tokens": ["Get", "a", "value", "from", "the", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L162-L170", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.setFullNameType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a FullName field\n\n@param string $fullname_key\n@param string $name_key\n@param string $parent_key\n@param string $value\n@return void", "docstring_tokens": ["Set", "a", "FullName", "field"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L223-L262", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.setBooleanType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a boolean value\n\n@param string $key\n@param mixed $value\n@return boolean", "docstring_tokens": ["Set", "a", "boolean", "value"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L271-L283", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.setDateType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a date\n\n@param string $key\t\tThe key for where to store the date\n@param mixed $date\t\tThe date value (accepts anything www.php.net/strtotime can convert or unix timestamps)\n@return boolean", "docstring_tokens": ["Set", "a", "date"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L321-L343", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.getDateType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a date value\n\n@param string $key\t\tGet a date value\n@param string $format\tThe format (any format from www.php.net/date)\n@return string", "docstring_tokens": ["Get", "a", "date", "value"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L352-L365", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a key from this object\n\n@param string $key\n@return boolean", "docstring_tokens": ["Removes", "a", "key", "from", "this", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L394-L403", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object._schema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a qbXML schema object for a particular type of request\n\nSchema objects are used to build and validate qbXML requests and the\nfields and data types of qbXML elements.\n\n@param string $request\t\tA valid QuickBooks API request (for example: CustomerAddRq, InvoiceQueryRq, CustomerModRq, etc.)\n@return QuickBooks_QBXML_Schema_Object", "docstring_tokens": ["Get", "a", "qbXML", "schema", "object", "for", "a", "particular", "type", "of", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L490-L508", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object.php", "func_name": "QuickBooks_QBXML_Object.asXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert this QuickBooks object to an XML node object representation\n\n@param string $root\t\t\tThe node to use as the root node of the XML node structure\n@param string $parent\n@return QuickBooks_XML_Node", "docstring_tokens": ["Convert", "this", "QuickBooks", "object", "to", "an", "XML", "node", "object", "representation"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object.php#L517-L554", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql/Mssql.php", "func_name": "QuickBooks_Driver_Sql_Mssql._initialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell whether or not the SQL driver has been initialized\n\n@return boolean", "docstring_tokens": ["Tell", "whether", "or", "not", "the", "SQL", "driver", "has", "been", "initialized"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql/Mssql.php#L266-L308", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Department.php", "func_name": "QuickBooks_IPP_Service_Department.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new department to QuickBooks\n\n@param QuickBooks_IPP_Context $Context\n@param string $realmID\n@param QuickBooks_IPP_Object_Department\n@return string The new ID of the created department", "docstring_tokens": ["Add", "a", "new", "department", "to", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Department.php#L52-L55", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Employee.php", "func_name": "QuickBooks_QBXML_Object_Employee.getName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the name of this customer\n\n@return string", "docstring_tokens": ["Get", "the", "name", "of", "this", "customer"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Employee.php#L59-L69", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/Employee.php", "func_name": "QuickBooks_QBXML_Object_Employee.setNameAsFirstLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the name as first and last.\n\n@return boolean", "docstring_tokens": ["Sets", "the", "name", "as", "first", "and", "last", "."], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/Employee.php#L115-L122", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Server/SQL.php", "func_name": "QuickBooks_WebConnector_Server_SQL._sqlDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply default options to an array of configuration options\n\n@param array $config\n@return array", "docstring_tokens": ["Apply", "default", "options", "to", "an", "array", "of", "configuration", "options"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Server/SQL.php#L304-L334", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Status/Report.php", "func_name": "QuickBooks_Status_Report.status", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about the status of a connection to QuickBooks\n\nThe returned array will look something like this:\n
\nArray (\n[0] => danger \t\t\t\t\t// This is a constant, one of the QuickBooks_Status_Report::STATUS_* constants\n[1] => ERROR: A connection has not been made in 54 days, 1 hours and 46 minutes! Contact support to get this issue resolved!\n[2] => 2010-03-19 12:26:41 \t\t// This is the last time the given user logged in\n[3] => 2010-03-19 12:26:41 \t\t// This is the last time the given user performed any action\n)\n
\n\n@param string $user\n@param array $levels\n@return array\t\t\tAn array of status information", "docstring_tokens": ["Get", "information", "about", "the", "status", "of", "a", "connection", "to", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Status/Report.php#L105-L178", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/PurchaseOrder.php", "func_name": "QuickBooks_IPP_Service_PurchaseOrder.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes purchase order.\n\n@param object $Context Context.\n@param string $realmID Company Id.\n@param string $IDType Resource.\n\n@return boolean", "docstring_tokens": ["Deletes", "purchase", "order", "."], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/PurchaseOrder.php#L54-L57", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Parser.php", "func_name": "QuickBooks_XML_Parser._read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read an open file descriptor, XML file, or string\n\n@param mixed $mixed\n@return string", "docstring_tokens": ["Read", "an", "open", "file", "descriptor", "XML", "file", "or", "string"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Parser.php#L131-L162", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Parser.php", "func_name": "QuickBooks_XML_Parser.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the XML parser with data from a string or file\n\n@param string $xml_or_file\t\tAn XML string or\n@return integer", "docstring_tokens": ["Load", "the", "XML", "parser", "with", "data", "from", "a", "string", "or", "file"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Parser.php#L170-L176", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/XML/Parser.php", "func_name": "QuickBooks_XML_Parser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse an XML document into an XML node structure\n\nThis function returns either a QuickBooks_XML_Document on success, or false\non failure. You can use the ->validate() method first so you can tell\nwhether or not the parser will succeed.\n\n@param integer $errnum\n@param string $errmsg\n@return QuickBooks_XML_Document", "docstring_tokens": ["Parse", "an", "XML", "document", "into", "an", "XML", "node", "structure"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/XML/Parser.php#L224-L240", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/SalesTaxGroupItem.php", "func_name": "QuickBooks_QBXML_Object_SalesTaxGroupItem.asQBXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert this object to a valid qbXML request\n\n@param string $request\t\t\t\t\tThe type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq)\n@param boolean $todo_for_empty_elements\tA constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE\n@param string $indent\n@param string $root\n@return string", "docstring_tokens": ["Convert", "this", "object", "to", "a", "valid", "qbXML", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/SalesTaxGroupItem.php#L140-L143", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/API/Errors.php", "func_name": "QuickBooks_Callbacks_API_Errors.e500_notfound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a QuickBooks error indicating that nothing matched a search\n\nFor whatever strange reason, instead of returning an empty result set\nwhen you do a search that returns no results, QuickBooks instead returns\nan error message. The error message code might be either 1 or 500\ndepending on what filters you use in your query.\n\n@TODO This should use the QuickBooks_Callbacks class, and not it's own custom callback code\n\n@param string $requestID\n@param string $user\n@param string $action\n@param mixed $ident\n@param mixed $extra\n@param string $err\n@param string $xml\n@param integer $errnum\n@param string $errmsg\n@param array $config\n@return boolean", "docstring_tokens": ["Handle", "a", "QuickBooks", "error", "indicating", "that", "nothing", "matched", "a", "search"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/API/Errors.php#L54-L123", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._ticketResolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a ticket string back to a ticket ID number\n\n@param string $ticket\n@return integer", "docstring_tokens": ["Resolve", "a", "ticket", "string", "back", "to", "a", "ticket", "ID", "number"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L433-L463", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._configWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a configuration variable to the database\n\n@param string $user\t\tThe QuickBooks user this is stored for\n@param string $module\tThe module name this is stored for (free-form text, you make it up, but make it unique! a good habit is to use the __CLASS__ constant)\n@param string $key\t\tA key to fetch and store this value by\n@param mixed $value\t\tThe value\n@param string $type\n@param array $opts\n@return boolean\t\t\tSuccess or failure", "docstring_tokens": ["Write", "a", "configuration", "variable", "to", "the", "database"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L476-L525", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._configRead", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read configuration information\n\n@param string $user\t\tThe username to store this for\n@param string $module\tThe module to store this for\n@param string $key\t\tThe key to store this by\n@param string $type\n@param array $opts\n@return mixed\t\t\tThe value read from the SQL database", "docstring_tokens": ["Read", "configuration", "information"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L537-L570", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._authCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new user for the SOAP server\n\n@param string $username\n@param string $password\n@return boolean", "docstring_tokens": ["Create", "a", "new", "user", "for", "the", "SOAP", "server"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L621-L653", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._authDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the default user\n\n@return string", "docstring_tokens": ["Get", "the", "default", "user"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L702-L719", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._authLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a user in\n\n@param string $username\n@param string $password\n@param boolean $override\t\tIf this is set to TRUE, a correct password *is not* required\n@return string\t\t\t\tA session ticket, or an empty string if the login failed", "docstring_tokens": ["Log", "a", "user", "in"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L827-L908", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._authCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check to see if a log in session is valid\n\n@param string $ticket\n@return boolean", "docstring_tokens": ["Check", "to", "see", "if", "a", "log", "in", "session", "is", "valid"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L916-L942", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._errorLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store the last error which occured\n\n@param string $ticket\t\tThe session ticket for the session this error occured within\n@param string $errnum\t\tThe error number\n@param string $errmsg\t\tThe error message\n@return boolean", "docstring_tokens": ["Store", "the", "last", "error", "which", "occured"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L963-L981", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._recurEnqueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a recurring event for a particular user\n\n@param string $user\n@param integer $run_every\n@param string $action\n@param mixed $ident\n@param boolean $replace\n@param integer $priority\n@param mixed $extra\n@return boolean", "docstring_tokens": ["Register", "a", "recurring", "event", "for", "a", "particular", "user"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1022-L1083", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._recurDequeue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dequeue a recurring even that is schedule to be run\n\n@param string $user\n@param boolean $by_priority\n@return array", "docstring_tokens": ["Dequeue", "a", "recurring", "even", "that", "is", "schedule", "to", "be", "run"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1092-L1122", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._queueEnqueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an item to the queue\n\n@param string $action\n@param mixed $ident\n@return boolean", "docstring_tokens": ["Add", "an", "item", "to", "the", "queue"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1167-L1211", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._queueProcessing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch the queue item currently being processed by QuickBooks\n\n@param string $user\n@return array", "docstring_tokens": ["Fetch", "the", "queue", "item", "currently", "being", "processed", "by", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1300-L1330", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._queueLeft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell how many items are in the queue\n\n@return integer", "docstring_tokens": ["Tell", "how", "many", "items", "are", "in", "the", "queue"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1438-L1460", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._queueProcessed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell how many items have been processed during this session\n\n@param string $ticket\n@return integer", "docstring_tokens": ["Tell", "how", "many", "items", "have", "been", "processed", "during", "this", "session"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L1775-L1792", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql._log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a message to the log file\n\n@param string $msg\n@param string $ticket\n@param integer $log_level\n@return boolean", "docstring_tokens": ["Write", "a", "message", "to", "the", "log", "file"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L2268-L2331", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an SQL query against the database\n\n@param string $sql\n@param integer $errnum\n@param string $errmsg\n@return resource", "docstring_tokens": ["Execute", "an", "SQL", "query", "against", "the", "database"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L2446-L2463", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql.fields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of the fields within an SQL table\n\n@param string $table\n@param boolean $with_field_names_as_keys\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "the", "fields", "within", "an", "SQL", "table"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L2525-L2546", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of objects back from the database\n\n@param string $table\n@param array $restrict", "docstring_tokens": ["Get", "a", "list", "of", "objects", "back", "from", "the", "database"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L3302-L3346", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Driver/Sql.php", "func_name": "QuickBooks_Driver_Sql.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a record in the SQL table\n\n@todo We should make this support only passing a single $where component, instead of an array of array where components\n@todo Support the $derive flag\n\n@param string $table\t\t\tThe table to update\n@param object $object\t\tAn object containing a record to update\n@param array $where\t\t\tAn array to use to build the WHERE clause\n@param boolean $resync\t\tUpdate the timestamp field which indicates when we last re-synced with QuickBooks\n@param boolean $discov\t\tUpdate the timestamp field which indicates when this record was discoved in QuickBooks\n@param boolean $derive\t\tUpdate the timestamp field which indicates when we last updated derived fields from QuickBooks\n@return boolean", "docstring_tokens": ["Update", "a", "record", "in", "the", "SQL", "table"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Driver/Sql.php#L3362-L3462", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Queue.php", "func_name": "QuickBooks_WebConnector_Queue.interactive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request to enter \"Interactive Mode\" with the Web Connector\n\n* This function *does not* work. Please don't use it.\n\n@param integer $priority\n@param string $user\n@return boolean", "docstring_tokens": ["Request", "to", "enter", "Interactive", "Mode", "with", "the", "Web", "Connector"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Queue.php#L110-L134", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Queue.php", "func_name": "QuickBooks_WebConnector_Queue.recurring", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a recurring event\n\nRecurring events are actions that get queued up to run once every so\noften. So, for instance, if you want to make sure you issue a\nCustomerQuery every day, you can register a recurring event that occurs\nevery day, and then the SOAP server/Web Connector will try to make sure\nthat it gets run every day.\n\nNote that the SOAP server can't guarantee that an action will occur\nevery interval *unless* the Web Connector is set to connect at that same\ninterval or (preferably) more often.\n\n@param mixed $run_every\t\tThis can be either an integer number of seconds, or a string like: \"15 minutes\", \"2 days\", \"hour\", etc.\n@param string $action\t\tThe QuickBooks action you want to execute\n@param mixed $ident\t\t\tAn optional ident string (say you wanted to do a CustomerQuery for customer #14 every 15 minutes, you'd pass CustomerQuery for the action, and 14 for the ident)\n@param integer $priority\t\tThe priority of the action (higher priorities run first)\n@param mixed $extra\t\t\tAny extra data to include for the request handler\n@param string $user\t\t\tThe username of the QuickBooks Web Connector user this event should be registered for\n@param boolean $replace\t\tWhether or not this should replace any other recurring events with this action/ident\n@return boolean", "docstring_tokens": ["Register", "a", "recurring", "event"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Queue.php#L158-L188", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Queue.php", "func_name": "QuickBooks_WebConnector_Queue.size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell the number of items currently in the queue\n\n@param string $user\t\tThe username of the user to check the queue size for\n@return integer\t\t\tThe number of items in the queue", "docstring_tokens": ["Tell", "the", "number", "of", "items", "currently", "in", "the", "queue"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Queue.php#L270-L285", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/QBXML/Object/CreditCardRefund.php", "func_name": "Quickbooks_QBXML_Object_CreditCardRefund.getAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the address\n\n@param string $part\t\t\tA specific portion of the address to get (i.e. \"Addr1\" or \"State\")\n@param array $defaults\t\tDefault values if a value isn't filled in\n@return array\t\t\t\tThe address", "docstring_tokens": ["Get", "the", "address"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/QBXML/Object/CreditCardRefund.php#L329-L337", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP.php", "func_name": "QuickBooks_IPP.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate to the IPP web service\n\nIMPORTANT NOTE:\nIntuit disallows this method within live applications! You can use it to\ntest your application, but when you go live you'll need to instead use\na SAML gateway for single-sign-on authentication. Take a look at the\nQuickBooks_IPP_Federator class for a working SAML gateway.\n\n@param string $username\n@param string $password\n@param string $token\n@return boolean", "docstring_tokens": ["Authenticate", "to", "the", "IPP", "web", "service"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP.php#L317-L367", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/Company.php", "func_name": "QuickBooks_IPP_Service_Company.findById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a company by realmID\n\n@param QuickBooks_IPP_Context $Context\n@param string $realmID\n@return QuickBooks_IPP_Object_Customer\tThe customer object", "docstring_tokens": ["Get", "a", "company", "by", "realmID"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/Company.php#L31-L37", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Service/VendorCredit.php", "func_name": "QuickBooks_IPP_Service_VendorCredit.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes vendor credit.\n\n@param object $Context Context.\n@param string $realmID Company Id.\n@param string $IDType Resource.\n\n@return boolean", "docstring_tokens": ["Deletes", "vendor", "credit", "."], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Service/VendorCredit.php#L56-L59", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/HTTP.php", "func_name": "QuickBooks_HTTP._request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make an HTTP request\n\n@param string $method\n@return string", "docstring_tokens": ["Make", "an", "HTTP", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/HTTP.php#L440-L461", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/MerchantService.php", "func_name": "QuickBooks_MerchantService.signOn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sign on to the QBMS service to fetch a session ticket\n\n@return boolean", "docstring_tokens": ["Sign", "on", "to", "the", "QBMS", "service", "to", "fetch", "a", "session", "ticket"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/MerchantService.php#L520-L587", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/MerchantService.php", "func_name": "QuickBooks_MerchantService._transRequestID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a unique transaction requestID from a set of parameters\n\n@param string $type\n@param object $Obj\n@param float $amount\n@param boolean $force_new_transaction\n@return string", "docstring_tokens": ["Create", "a", "unique", "transaction", "requestID", "from", "a", "set", "of", "parameters"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/MerchantService.php#L608-L617", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/MerchantService.php", "func_name": "QuickBooks_MerchantService.refund", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refund a credit card a given amount", "docstring_tokens": ["Refund", "a", "credit", "card", "a", "given", "amount"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/MerchantService.php#L1586-L1640", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Queue/Singleton.php", "func_name": "QuickBooks_WebConnector_Queue_Singleton.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the queueing object\n\n@param string $dsn\n@param string $user\n@param array $config\n@param bool $return_boolean\n@return QuickBooks_WebConnector_Queue", "docstring_tokens": ["Initialize", "the", "queueing", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Queue/Singleton.php#L40-L59", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Server.php", "func_name": "QuickBooks_WebConnector_Server._adapterFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an adapter class instance\n\n@param string $adapter\n@param string $wsdl\n@param array $soap_options\n@param integer $loglevel\n@return boolean", "docstring_tokens": ["Get", "an", "adapter", "class", "instance"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Server.php#L214-L229", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Server.php", "func_name": "QuickBooks_WebConnector_Server._defaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge configurations with the defaults\n\n@param array $arr\n@return array", "docstring_tokens": ["Merge", "configurations", "with", "the", "defaults"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Server.php#L237-L251", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/WebConnector/Server.php", "func_name": "QuickBooks_WebConnector_Server._headers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the correct HTTP headers for this request\n\n@return boolean", "docstring_tokens": ["Send", "the", "correct", "HTTP", "headers", "for", "this", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/WebConnector/Server.php#L313-L329", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "docs/web_connector/example_kohana_web_connector/application/classes/controller/qbapi/quickbooks.php", "func_name": "Controller_Qbapi_Quickbooks.action_index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Houses the instance of the soap server and creates the mappings for errors, function callbacks\n@author Jayson Lindsley ", "docstring_tokens": ["Houses", "the", "instance", "of", "the", "soap", "server", "and", "creates", "the", "mappings", "for", "errors", "function", "callbacks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/docs/web_connector/example_kohana_web_connector/application/classes/controller/qbapi/quickbooks.php#L41-L124", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SOAP/Server.php", "func_name": "QuickBooks_SOAP_Server._requestFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of a request type object\n\n@param string $request\n@return QuickBooks_Request", "docstring_tokens": ["Create", "an", "instance", "of", "a", "request", "type", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SOAP/Server.php#L54-L68", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/SOAP/Server.php", "func_name": "QuickBooks_SOAP_Server.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a SOAP request\n\n@param string $raw_http_input\t\tThe raw incoming SOAP request (HTTP request body)\n@return boolean", "docstring_tokens": ["Handle", "a", "SOAP", "request"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/SOAP/Server.php#L76-L157", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/IPP/Object.php", "func_name": "QuickBooks_IPP_Object.walk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply a user-defined function to every single data field in the object\n\n@param string $callback\t\tThe callback function", "docstring_tokens": ["Apply", "a", "user", "-", "defined", "function", "to", "every", "single", "data", "field", "in", "the", "object"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/IPP/Object.php#L309-L339", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.charge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Charge a credit card\n\nSee also:\nhttps://developer.intuit.com/docs/api/payments/charges\n\n@param [type] $Context [description]\n@param [type] $Object_or_token [description]\n@param [type] $amount [description]\n@param string $currency [description]\n@param string $description [description]\n@param array $context [description]\n@return [type] [description]", "docstring_tokens": ["Charge", "a", "credit", "card"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L192-L196", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.getCharge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a charge that was made previously\n\n@param [type] $Context [description]\n@param [type] $id [description]\n@return [type] [description]", "docstring_tokens": ["Get", "information", "about", "a", "charge", "that", "was", "made", "previously"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L316-L329", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.getDebit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a debit that was made previously\n\n@param [type] $id [description]\n@return [type] [description]", "docstring_tokens": ["Get", "information", "about", "a", "debit", "that", "was", "made", "previously"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L337-L350", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.refund", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refund a transaction\n\n@param [type] $Context [description]\n@param [type] $id [description]\n@param [type] $amount [description]\n@param array $context [description]\n@return [type] [description]", "docstring_tokens": ["Refund", "a", "transaction"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L361-L384", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.storeCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a card via the QuickBooks Payments API\n\n@return QuickBooks_Payments_CreditCard", "docstring_tokens": ["Store", "a", "card", "via", "the", "QuickBooks", "Payments", "API"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L401-L427", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.storeCardFromToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a card from a token via the QuickBooks Payments API\n\n@return QuickBooks_Payments_CreditCard", "docstring_tokens": ["Store", "a", "card", "from", "a", "token", "via", "the", "QuickBooks", "Payments", "API"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L434-L454", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.getCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a card via the QuickBooks Payments API\n\n@return QuickBooks_Payments_CreditCard", "docstring_tokens": ["Get", "a", "card", "via", "the", "QuickBooks", "Payments", "API"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L461-L477", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.getCards", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all cards associated with a customer via the\nQuickBooks Payments API\n\n@return array of QuickBooks_Payments_CreditCard", "docstring_tokens": ["Get", "all", "cards", "associated", "with", "a", "customer", "via", "the", "QuickBooks", "Payments", "API"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L485-L508", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments.deleteCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a card via the QuickBooks Payments API\n\n@return boolean", "docstring_tokens": ["Delete", "a", "card", "via", "the", "QuickBooks", "Payments", "API"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L515-L531", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments._handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle an error, if set in the returned data\n\n@return boolean", "docstring_tokens": ["Handle", "an", "error", "if", "set", "in", "the", "returned", "data"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L538-L589", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Payments.php", "func_name": "Quickbooks_Payments._http", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a Quickbooks Payments operation via HTTP\n\n@param $Context\n@param $url_path\n@param $raw_body\n@param $operation\n@return boolean", "docstring_tokens": ["Perform", "a", "Quickbooks", "Payments", "operation", "via", "HTTP"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Payments.php#L699-L790", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/API/Callbacks.php", "func_name": "QuickBooks_Callbacks_API_Callbacks._mapToQuickBooksID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map an application primary key to a QuickBooks ListID or TxnID\n\n@param string $type\t\tThe type of object (i.e.: QUICKBOOKS_OBJECT_CUSTOMER, QUICKBOOKS_OBJECT_INVOICE, etc.)\n@param mixed $ID\t\t\tThe primary key of the record\n@return string\t\t\tThe ListID or TxnID (or NULL if it couldn't be mapped)", "docstring_tokens": ["Map", "an", "application", "primary", "key", "to", "a", "QuickBooks", "ListID", "or", "TxnID"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/API/Callbacks.php#L110-L139", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/API/Callbacks.php", "func_name": "QuickBooks_Callbacks_API_Callbacks._mapToApplicationID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map a QuickBooks ListID or TxnID to an application primary key\n\n@param string $type\t\t\t\t\tThe type of object\n@param string $ListID_or_TxnID\t\tThe ListID or TxnID of the object within QuickBooks\n@return string\t\t\t\t\t\tThe application record primary key", "docstring_tokens": ["Map", "a", "QuickBooks", "ListID", "or", "TxnID", "to", "an", "application", "primary", "key"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/API/Callbacks.php#L148-L170", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/API/Callbacks.php", "func_name": "QuickBooks_Callbacks_API_Callbacks.ShipMethodAddRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass a request to QuickBooks\n\n@param string $requestID\n@param string $user\n@param string $action\n@param mixed $ID\n@param mixed $extra\n@param string $err\n@param integer $last_action_time\n@param integer $last_actionident_time\n@param string $version\n@param array $locale\n@return boolean", "docstring_tokens": ["Pass", "a", "request", "to", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/API/Callbacks.php#L1317-L1320", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks._filterActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restrict the queueing maps to \"only do these actions\" and \"dont do these actions\" maps\n\n@param array $action_to_priority\n@param array $only_do\n@param array $dont_do\n@return array", "docstring_tokens": ["Restrict", "the", "queueing", "maps", "to", "only", "do", "these", "actions", "and", "dont", "do", "these", "actions", "maps"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L505-L535", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks._requiredVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns TRUE if the current version if it's greater than or equal to the required version\n\n* NOTE: *\n\n@param float $required\n@param float $current\n@return float", "docstring_tokens": ["Returns", "TRUE", "if", "the", "current", "version", "if", "it", "s", "greater", "than", "or", "equal", "to", "the", "required", "version"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L567-L575", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.ListDeletedQueryRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch a list of deleted things from QuickBooks", "docstring_tokens": ["Fetch", "a", "list", "of", "deleted", "things", "from", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L1115-L1170", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.ListDeletedQueryResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a list of deleted items from QuickBooks", "docstring_tokens": ["Handle", "a", "list", "of", "deleted", "items", "from", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L1175-L1210", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.TxnVoidRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Void a transaction\n\n@return string", "docstring_tokens": ["Void", "a", "transaction"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L1389-L1411", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.TxnVoidResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Receive a response from QuickBooks about a voided transaction\n\n@return boolean", "docstring_tokens": ["Receive", "a", "response", "from", "QuickBooks", "about", "a", "voided", "transaction"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L1418-L1450", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.SalesReceiptModRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a qbXML InvoiceMod request to update an invoice", "docstring_tokens": ["Generate", "a", "qbXML", "InvoiceMod", "request", "to", "update", "an", "invoice"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L3643-L3652", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks.JobTypeAddRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a JobTypeAdd qbXML request to send to QuickBooks", "docstring_tokens": ["Generate", "a", "JobTypeAdd", "qbXML", "request", "to", "send", "to", "QuickBooks"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L3751-L3760", "partition": "test"} +{"repo": "consolibyte/quickbooks-php", "path": "QuickBooks/Callbacks/SQL/Callbacks.php", "func_name": "QuickBooks_Callbacks_SQL_Callbacks._buildFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used to build the xml that limits the results to only updated results\n\n@param string $user\t\tSame deal: pass along the $user parameter\n@param string $action\tDitto with $action parameter\n@param array $extra\t\tSimply pass in the $extra value that is passed to the function you're calling this from.\n@param boolean $filter_wrap\n@return string", "docstring_tokens": ["Used", "to", "build", "the", "xml", "that", "limits", "the", "results", "to", "only", "updated", "results"], "sha": "3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1", "url": "https://github.com/consolibyte/quickbooks-php/blob/3df0d35e2fc04c1fe04c63dbdb3c11a501c305a1/QuickBooks/Callbacks/SQL/Callbacks.php#L11401-L11485", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/CacheService.php", "func_name": "CacheService.flushGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes all caches in specified groups.\n\n@param array $groups\n@throws NoSuchCacheGroupException", "docstring_tokens": ["Flushes", "all", "caches", "in", "specified", "groups", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/CacheService.php#L81-L87", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/CacheService.php", "func_name": "CacheService.flushByTagsAndGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes caches by tags, optionally only in specified groups.\n\n@param array $tags\n@param array $groups", "docstring_tokens": ["Flushes", "caches", "by", "tags", "optionally", "only", "in", "specified", "groups", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/CacheService.php#L112-L122", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/CommandCollection.php", "func_name": "CommandCollection.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try resolving short command names and aliases\nIf that fails, we return the command name as is and let the application throw an exception.\n\nInspired by \\Symfony\\Component\\Console\\Application::find()\n\n@param string $possibleName\n@return string", "docstring_tokens": ["Try", "resolving", "short", "command", "names", "and", "aliases", "If", "that", "fails", "we", "return", "the", "command", "name", "as", "is", "and", "let", "the", "application", "throw", "an", "exception", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/CommandCollection.php#L70-L93", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Composer/InstallerScript/PopulateCommandConfiguration.php", "func_name": "PopulateCommandConfiguration.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called from Composer\n\n@param ScriptEvent $event\n@return bool\n@internal", "docstring_tokens": ["Called", "from", "Composer"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Composer/InstallerScript/PopulateCommandConfiguration.php#L34-L67", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionCompatibilityCheck.php", "func_name": "ExtensionCompatibilityCheck.canLoadExtLocalconfFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load all ext_localconf files in order until given extension key\n\n@param string $extensionKey\n@return bool", "docstring_tokens": ["Load", "all", "ext_localconf", "files", "in", "order", "until", "given", "extension", "key"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionCompatibilityCheck.php#L93-L104", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionCompatibilityCheck.php", "func_name": "ExtensionCompatibilityCheck.canLoadExtTablesFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load all ext_table files in order until given extension key\n\n@param string $extensionKey\n@return bool", "docstring_tokens": ["Load", "all", "ext_table", "files", "in", "order", "until", "given", "extension", "key"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionCompatibilityCheck.php#L112-L127", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionCompatibilityCheck.php", "func_name": "ExtensionCompatibilityCheck.loadExtLocalconfForExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads ext_localconf.php for a single extension. Method is a modified copy of\nthe original bootstrap method.\n\n@param string $extensionKey", "docstring_tokens": ["Loads", "ext_localconf", ".", "php", "for", "a", "single", "extension", ".", "Method", "is", "a", "modified", "copy", "of", "the", "original", "bootstrap", "method", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionCompatibilityCheck.php#L135-L150", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionCompatibilityCheck.php", "func_name": "ExtensionCompatibilityCheck.loadExtTablesForExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads ext_tables.php for a single extension. Method is a modified copy of\nthe original bootstrap method.\n\n@param string $extensionKey", "docstring_tokens": ["Loads", "ext_tables", ".", "php", "for", "a", "single", "extension", ".", "Method", "is", "a", "modified", "copy", "of", "the", "original", "bootstrap", "method", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionCompatibilityCheck.php#L158-L175", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/Action/PrepareInstallAction.php", "func_name": "PrepareInstallAction.ensureInstallationIsPossible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the case when LocalConfiguration.php file already exists\n\n@param array $options\n@throws InstallationFailedException", "docstring_tokens": ["Handles", "the", "case", "when", "LocalConfiguration", ".", "php", "file", "already", "exists"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/Action/PrepareInstallAction.php#L75-L112", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/SchedulerCommandController.php", "func_name": "SchedulerCommandController.executeScheduledTasks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all scheduled tasks", "docstring_tokens": ["Execute", "all", "scheduled", "tasks"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/SchedulerCommandController.php#L68-L94", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/SchedulerCommandController.php", "func_name": "SchedulerCommandController.executeSingleTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a single task\n\n@param int $taskId\n@param bool $forceExecution", "docstring_tokens": ["Execute", "a", "single", "task"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/SchedulerCommandController.php#L102-L119", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Database/Schema/SchemaUpdate.php", "func_name": "SchemaUpdate.migrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actually execute the migration to the new schema\n\n@param array $statements\n@param array $selectedStatements\n@return array", "docstring_tokens": ["Actually", "execute", "the", "migration", "to", "the", "new", "schema"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Database/Schema/SchemaUpdate.php#L85-L88", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/BackendCommandController.php", "func_name": "BackendCommandController.lockForEditorsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lock backend for editors\n\nDeny backend access, but only for editors.\nAdmins will still be able to log in and work with the backend.\n\n@see typo3_console:backend:unlockforeditors", "docstring_tokens": ["Lock", "backend", "for", "editors"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/BackendCommandController.php#L103-L113", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/BackendCommandController.php", "func_name": "BackendCommandController.unlockForEditorsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unlock backend for editors\n\nAllow backend access for editors again (e.g. after having been locked with backend:lockforeditors command).\n\n@see typo3_console:backend:lockforeditors", "docstring_tokens": ["Unlock", "backend", "for", "editors"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/BackendCommandController.php#L122-L132", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/BackendCommandController.php", "func_name": "BackendCommandController.createAdminCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create admin backend user\n\nCreate a new user with administrative access.\n\n@param string $username Username of the user\n@param string $password Password of the user", "docstring_tokens": ["Create", "admin", "backend", "user"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/BackendCommandController.php#L142-L181", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/Upgrade/UpgradeWizardList.php", "func_name": "UpgradeWizardList.listWizards", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List available upgrade wizards\n\n@param bool $includeDone\n@return array", "docstring_tokens": ["List", "available", "upgrade", "wizards"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/Upgrade/UpgradeWizardList.php#L70-L105", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/InstallCommandController.php", "func_name": "InstallCommandController.generatePackageStatesCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate PackageStates.php file\n\nGenerates and writes typo3conf/PackageStates.php file.\nGoal is to not have this file in version control, but generate it on composer install.\n\nMarks the following extensions as active:\n\n- Third party extensions\n- All core extensions that are required (or part of minimal usable system)\n- All core extensions which are provided with the --framework-extensions argument.\n- In composer mode all composer dependencies to TYPO3 framework extensions are detected and activated by default.\n\nTo require TYPO3 core extensions use the following command:\n\ncomposer require typo3/cms-foo \"*\"\n\nThis updates your composer.json and composer.lock without any other changes.\n\nExample: %command.full_name%\n\n@param array $frameworkExtensions TYPO3 system extensions that should be marked as active. Extension keys separated by comma.\n@param array $excludedExtensions Extensions which should stay inactive. This does not affect provided framework extensions or framework extensions that are required or part as minimal usable system.\n@param bool $activateDefault (DEPRECATED) If true, typo3/cms extensions that are marked as TYPO3 factory default, will be activated, even if not in the list of configured active framework extensions.", "docstring_tokens": ["Generate", "PackageStates", ".", "php", "file"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/InstallCommandController.php#L169-L207", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/InstallCommandController.php", "func_name": "InstallCommandController.fixFolderStructureCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix folder structure\n\nAutomatically create files and folders, required for a TYPO3 installation.\n\nThis command creates the required folder structure needed for TYPO3 including extensions.\nIt is recommended to be executed after executing\ntypo3cms install:generatepackagestates, to ensure proper generation of\nrequired folders for all active extensions.\n\n@see typo3_console:install:generatepackagestates\n\n@throws \\TYPO3\\CMS\\Install\\FolderStructure\\Exception\n@throws \\TYPO3\\CMS\\Install\\FolderStructure\\Exception\\InvalidArgumentException\n@throws \\TYPO3\\CMS\\Install\\FolderStructure\\Exception\\RootNodeException\n@throws \\TYPO3\\CMS\\Install\\Status\\Exception", "docstring_tokens": ["Fix", "folder", "structure"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/InstallCommandController.php#L226-L241", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/InstallCommandController.php", "func_name": "InstallCommandController.extensionSetupIfPossibleCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup TYPO3 with extensions if possible\n\nThis command tries up all TYPO3 extensions, but quits gracefully if this is not possible.\nThis can be used in composer.json scripts to ensure that extensions\nare always set up correctly after a composer run on development systems,\nbut does not fail on packaging for deployment where no database connection is available.\n\nBesides that, it can be used for a first deploy of a TYPO3 instance in a new environment,\nbut also works for subsequent deployments.\n\n@see typo3_console:extension:setupactive", "docstring_tokens": ["Setup", "TYPO3", "with", "extensions", "if", "possible"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/InstallCommandController.php#L256-L266", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/InstallCommandController.php", "func_name": "InstallCommandController.executeActionWithArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the given action and outputs the serialized result messages\n\n@param string $actionName Name of the install step\n@param array $arguments Arguments for the install step\n@param bool $dryRun If true, do not execute the action, but only check if execution is necessary", "docstring_tokens": ["Executes", "the", "given", "action", "and", "outputs", "the", "serialized", "result", "messages"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/InstallCommandController.php#L378-L381", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/CommandDispatcher.php", "func_name": "CommandDispatcher.createFromComposerRun", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the dispatcher from within a composer plugin context\n\n@param array $arguments\n@internal param ScriptEvent $event (deprecated) Possibly given but deprecated event\n@internal param array $commandLine\n@internal param array $environmentVars\n@internal param PhpExecutableFinder $phpFinder\n@return CommandDispatcher", "docstring_tokens": ["Create", "the", "dispatcher", "from", "within", "a", "composer", "plugin", "context"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/CommandDispatcher.php#L64-L80", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/CommandDispatcher.php", "func_name": "CommandDispatcher.createFromCommandRun", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Useful for creating the object during the runtime of another command\n\nJust use the method without arguments for best results\n\n@param array $commandLine\n@param array $environmentVars\n@param PhpExecutableFinder $phpFinder\n@throws RuntimeException\n@return CommandDispatcher", "docstring_tokens": ["Useful", "for", "creating", "the", "object", "during", "the", "runtime", "of", "another", "command"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/CommandDispatcher.php#L93-L101", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/CommandDispatcher.php", "func_name": "CommandDispatcher.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Basic factory method, which need the exact path to the typo3 console binary to create the dispatcher\n\n@param string $typo3CommandPath Absolute path to the typo3 console binary\n@param array $commandLine\n@param array $environmentVars\n@param PhpExecutableFinder $phpFinder\n@throws RuntimeException\n@return CommandDispatcher", "docstring_tokens": ["Basic", "factory", "method", "which", "need", "the", "exact", "path", "to", "the", "typo3", "console", "binary", "to", "create", "the", "dispatcher"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/CommandDispatcher.php#L132-L153", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/CommandDispatcher.php", "func_name": "CommandDispatcher.executeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a command in a sub process\n\n@param string $command Command identifier\n@param array $arguments Argument names will automatically be converted to dashed version, if not provided like so\n@param array $envVars Environment vars to be added to the command\n@param resource|string|\\Traversable|null $input Inpupt (stdin) for the command\n@throws FailedSubProcessCommandException\n@return string", "docstring_tokens": ["Execute", "a", "command", "in", "a", "sub", "process"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/CommandDispatcher.php#L165-L190", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ExceptionHandler.php", "func_name": "ExceptionHandler.handleException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats and echoes the exception for the command line.\n\n@param \\Throwable $exception The exception object\n@return void", "docstring_tokens": ["Formats", "and", "echoes", "the", "exception", "for", "the", "command", "line", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ExceptionHandler.php#L43-L49", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/Upgrade/UpgradeWizardFactory.php", "func_name": "UpgradeWizardFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates instance of an upgrade wizard\n\n@param string $identifier The identifier or class name of an upgrade wizard\n@throws RuntimeException\n@return AbstractUpdate|UpgradeWizardInterface Newly instantiated upgrade wizard", "docstring_tokens": ["Creates", "instance", "of", "an", "upgrade", "wizard"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/Upgrade/UpgradeWizardFactory.php#L60-L73", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Symfony/Descriptor/TextDescriptor.php", "func_name": "TextDescriptor.wordWrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps a text and adds indentation to new lines\n\n@param string $stringToWrap\n@param int $indent\n@param int|null $maxWidth\n@return string", "docstring_tokens": ["Wraps", "a", "text", "and", "adds", "indentation", "to", "new", "lines"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Symfony/Descriptor/TextDescriptor.php#L243-L248", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/FrontendCommandController.php", "func_name": "FrontendCommandController.requestCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submit frontend request\n\nSubmits a frontend request to TYPO3 on the specified URL.\n\n@param string $requestUrl URL to make a frontend request.", "docstring_tokens": ["Submit", "frontend", "request"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/FrontendCommandController.php#L29-L50", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/FrontendCommandController.php", "func_name": "FrontendCommandController.makeAbsolute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make URL absolute, so that the core fake frontend request bootstrap\ncorrectly configures the environment for trusted host pattern.\n\n@param string $url\n@return string", "docstring_tokens": ["Make", "URL", "absolute", "so", "that", "the", "core", "fake", "frontend", "request", "bootstrap", "correctly", "configures", "the", "environment", "for", "trusted", "host", "pattern", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/FrontendCommandController.php#L59-L69", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.checkExtensionConstraintsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check TYPO3 version constraints of extensions\n\nThis command is especially useful **before** switching sources to a new TYPO3 version.\nIt checks the version constraints of all third party extensions against a given TYPO3 version.\nIt therefore relies on the constraints to be correct.\n\n@param array $extensionKeys Extension keys to check. Separate multiple extension keys with comma.\n@param string $typo3Version TYPO3 version to check against. Defaults to current TYPO3 version.\n@Definition\\Argument(name=\"extensionKeys\")", "docstring_tokens": ["Check", "TYPO3", "version", "constraints", "of", "extensions"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L51-L75", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.listCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List upgrade wizards\n\n@param bool $all If set, all wizards will be listed, even the once marked as ready or done", "docstring_tokens": ["List", "upgrade", "wizards"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L82-L100", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.wizardCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a single upgrade wizard\n\n@param string $identifier Identifier of the wizard that should be executed\n@param array $arguments Arguments for the wizard prefixed with the identifier, e.g. compatibility7Extension[install]=0\n@param bool $force Force execution, even if the wizard has been marked as done", "docstring_tokens": ["Execute", "a", "single", "upgrade", "wizard"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L109-L118", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.allCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all upgrade wizards that are scheduled for execution\n\n@param array $arguments Arguments for the wizard prefixed with the identifier, e.g. compatibility7Extension[install]=0; multiple arguments separated with comma", "docstring_tokens": ["Execute", "all", "upgrade", "wizards", "that", "are", "scheduled", "for", "execution"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L125-L144", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.subProcessCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is where the hard work happens in a fully bootstrapped TYPO3\nIt will be called as sub process\n\n@param string $upgradeCommand\n@param string $arguments Serialized arguments\n@internal", "docstring_tokens": ["This", "is", "where", "the", "hard", "work", "happens", "in", "a", "fully", "bootstrapped", "TYPO3", "It", "will", "be", "called", "as", "sub", "process"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L154-L159", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/UpgradeCommandController.php", "func_name": "UpgradeCommandController.checkExtensionCompatibilityCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for broken extensions\n\nThis command in meant to be executed as sub process as it is is subject to cause fatal errors\nwhen extensions have broken (incompatible) code\n\n@param string $extensionKey Extension key for extension to check\n@param bool $configOnly\n@internal", "docstring_tokens": ["Checks", "for", "broken", "extensions"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/UpgradeCommandController.php#L171-L174", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionSetup.php", "func_name": "ExtensionSetup.setupExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs all necessary operations to integrate extensions into the system.\nInstead of using buggy TYPO3 API, we created our own instead.\nThis might be removed, once the bug is fixed in TYPO3.\n\n@param PackageInterface[] $packages", "docstring_tokens": ["Performs", "all", "necessary", "operations", "to", "integrate", "extensions", "into", "the", "system", ".", "Instead", "of", "using", "buggy", "TYPO3", "API", "we", "created", "our", "own", "instead", ".", "This", "might", "be", "removed", "once", "the", "bug", "is", "fixed", "in", "TYPO3", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionSetup.php#L68-L85", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/FolderStructure/ExtensionFactory.php", "func_name": "ExtensionFactory.getStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default structure object hierarchy\n\n@throws \\TYPO3\\CMS\\Install\\FolderStructure\\Exception\\RootNodeException\n@throws \\TYPO3\\CMS\\Install\\FolderStructure\\Exception\\InvalidArgumentException\n@return StructureFacade", "docstring_tokens": ["Get", "default", "structure", "object", "hierarchy"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/FolderStructure/ExtensionFactory.php#L54-L60", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/FolderStructure/ExtensionFactory.php", "func_name": "ExtensionFactory.getExtensionStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the folder structure for one extension\n\n@param PackageInterface $package\n@return StructureFacade", "docstring_tokens": ["Creates", "the", "folder", "structure", "for", "one", "extension"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/FolderStructure/ExtensionFactory.php#L68-L77", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/FolderStructure/ExtensionFactory.php", "func_name": "ExtensionFactory.createExtensionStructureDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Default definition of folder and file structure with dynamic\npermission settings\n\n@param PackageInterface[] $packages\n@return array", "docstring_tokens": ["Default", "definition", "of", "folder", "and", "file", "structure", "with", "dynamic", "permission", "settings"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/FolderStructure/ExtensionFactory.php#L86-L108", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/XsdGenerator.php", "func_name": "XsdGenerator.generateXmlForClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the XML Schema for a given class name.\n\n@param string $className Class name to generate the schema for.\n@param \\SimpleXMLElement $xmlRootNode XML root node where the xsd:element is appended.\n@return void", "docstring_tokens": ["Generate", "the", "XML", "Schema", "for", "a", "given", "class", "name", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/XsdGenerator.php#L137-L154", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/XsdGenerator.php", "func_name": "XsdGenerator.addAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add attribute descriptions to a given tag.\nInitializes the view helper and its arguments, and then reads out the list of arguments.\n\n@param string $className Class name where to add the attribute descriptions\n@param \\SimpleXMLElement $xsdElement XML element to add the attributes to.\n@return void", "docstring_tokens": ["Add", "attribute", "descriptions", "to", "a", "given", "tag", ".", "Initializes", "the", "view", "helper", "and", "its", "arguments", "and", "then", "reads", "out", "the", "list", "of", "arguments", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/XsdGenerator.php#L164-L180", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/XsdGenerator.php", "func_name": "XsdGenerator.addDocumentation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add documentation XSD to a given XML node\n\n@param string $documentation Documentation string to add.\n@param \\SimpleXMLElement $xsdParentNode Node to add the documentation to\n@return void", "docstring_tokens": ["Add", "documentation", "XSD", "to", "a", "given", "XML", "node"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/XsdGenerator.php#L189-L193", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Controller/CommandController.php", "func_name": "CommandController.resolveCommandMethodName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves and checks the current command method name\n\nNote: The resulting command method name might not have the correct case, which isn't a problem because PHP is\ncase insensitive regarding method names.\n\n@throws NoSuchCommandException\n@return string Method name of the current command", "docstring_tokens": ["Resolves", "and", "checks", "the", "current", "command", "method", "name"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Controller/CommandController.php#L168-L176", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Controller/CommandController.php", "func_name": "CommandController.mapRequestArgumentsToControllerArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maps arguments delivered by the request object to the local controller arguments.", "docstring_tokens": ["Maps", "arguments", "delivered", "by", "the", "request", "object", "to", "the", "local", "controller", "arguments", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Controller/CommandController.php#L207-L226", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Controller/CommandController.php", "func_name": "CommandController.callCommandMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the specified command method and passes the arguments.\n\nIf the command returns a string, it is appended to the content in the\nresponse object. If the command doesn't return anything and a valid\nview exists, the view is rendered automatically.", "docstring_tokens": ["Calls", "the", "specified", "command", "method", "and", "passes", "the", "arguments", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Controller/CommandController.php#L259-L271", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Controller/CommandController.php", "func_name": "CommandController.createDefaultLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a logger which outputs to the console\n\n@param int $minimumLevel Minimum log level that should trigger output\n@param array $options Additional options for the console writer\n@return LoggerInterface", "docstring_tokens": ["Creates", "a", "logger", "which", "outputs", "to", "the", "console"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Controller/CommandController.php#L345-L352", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Command.php", "func_name": "Command.getShortDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a short description of this command\n\n@return string A short description", "docstring_tokens": ["Returns", "a", "short", "description", "of", "this", "command"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Command.php#L172-L177", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Command.php", "func_name": "Command.parseDefinitions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parsed annotations if command has any\n\n@throws InvalidArgumentException\n@return array", "docstring_tokens": ["Get", "parsed", "annotations", "if", "command", "has", "any"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Command.php#L432-L450", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Command.php", "func_name": "Command.getSynopsis", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get synopsis for this command, either short or long\n\n@param bool $short\n@return string", "docstring_tokens": ["Get", "synopsis", "for", "this", "command", "either", "short", "or", "long"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Command.php#L458-L485", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Sequence.php", "func_name": "Sequence.removeStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all occurrences of the specified step from this sequence\n\n@param string $stepIdentifier\n@throws Exception\n@return void", "docstring_tokens": ["Removes", "all", "occurrences", "of", "the", "specified", "step", "from", "this", "sequence"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Sequence.php#L67-L81", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Sequence.php", "func_name": "Sequence.invoke", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes all steps of this sequence\n\n@param Bootstrap $bootstrap\n@throws StepFailedException\n@return void", "docstring_tokens": ["Executes", "all", "steps", "of", "this", "sequence"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Sequence.php#L90-L97", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Sequence.php", "func_name": "Sequence.invokeStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invokes a single step of this sequence and also invokes all steps registered\nto be executed after the given step.\n\n@param Step $step The step to invoke\n@param Bootstrap $bootstrap\n@throws StepFailedException\n@return void", "docstring_tokens": ["Invokes", "a", "single", "step", "of", "this", "sequence", "and", "also", "invokes", "all", "steps", "registered", "to", "be", "executed", "after", "the", "given", "step", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Sequence.php#L108-L121", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ExtensionCommandController.php", "func_name": "ExtensionCommandController.setupExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs all necessary operations to integrate an extension into the system.\nTo do so, we avoid buggy TYPO3 API and use our own instead.\n\n@param PackageInterface[] $packages\n@param bool $verbose Whether or not to output results", "docstring_tokens": ["Performs", "all", "necessary", "operations", "to", "integrate", "an", "extension", "into", "the", "system", ".", "To", "do", "so", "we", "avoid", "buggy", "TYPO3", "API", "and", "use", "our", "own", "instead", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ExtensionCommandController.php#L181-L207", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ExtensionCommandController.php", "func_name": "ExtensionCommandController.setupActiveCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up all active extensions\n\nSets up all extensions that are marked as active in the system.\n\nThis command is especially useful for deployment, where extensions\nare already marked as active, but have not been set up yet or might have changed. It ensures every necessary\nsetup step for the (changed) extensions is performed.\nAs an additional benefit no caches are flushed, which significantly improves performance of this command\nand avoids unnecessary cache clearing.\n\n@see typo3_console:extension:setup\n@see typo3_console:install:generatepackagestates\n@see typo3_console:cache:flush", "docstring_tokens": ["Set", "up", "all", "active", "extensions"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ExtensionCommandController.php#L224-L228", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ExtensionCommandController.php", "func_name": "ExtensionCommandController.removeInactiveCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all extensions that are not marked as active\n\nDirectories of inactive extension are removed from typo3/sysext and typo3conf/ext.\nThis is a one way command with no way back. Don't blame anybody if this command destroys your data.\nHandle with care!\n\nThis command is deprecated.\nInstead of adding extensions and then removing them, just don't add them in the first place.\n\n@param bool $force The option has to be specified, otherwise nothing happens", "docstring_tokens": ["Removes", "all", "extensions", "that", "are", "not", "marked", "as", "active"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ExtensionCommandController.php#L242-L267", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ExtensionCommandController.php", "func_name": "ExtensionCommandController.listCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List extensions that are available in the system\n\n@param bool $active Only show active extensions\n@param bool $inactive Only show inactive extensions\n@param bool $raw Enable machine readable output (just extension keys separated by line feed)", "docstring_tokens": ["List", "extensions", "that", "are", "available", "in", "the", "system"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ExtensionCommandController.php#L276-L304", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Compatibility/TYPO3v87/Service/CacheLowLevelCleaner.php", "func_name": "CacheLowLevelCleaner.forceFlushDatabaseCacheTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Truncate all DB tables prefixed with 'cf_'", "docstring_tokens": ["Truncate", "all", "DB", "tables", "prefixed", "with", "cf_"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Compatibility/TYPO3v87/Service/CacheLowLevelCleaner.php#L37-L57", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ErrorHandler.php", "func_name": "ErrorHandler.handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles an error by converting it into an exception.\n\nIf error reporting is disabled, either in the php.ini or temporarily through\nthe shut-up operator \"@\", no exception will be thrown.\n\n@param int $errorLevel The error level - one of the E_* constants\n@param string $errorMessage The error message\n@param string $errorFile Name of the file the error occurred in\n@param int $errorLine Line number where the error occurred\n@throws \\TYPO3\\CMS\\Core\\Error\\Exception with the data passed to this method\n@return void", "docstring_tokens": ["Handles", "an", "error", "by", "converting", "it", "into", "an", "exception", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ErrorHandler.php#L51-L70", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Composer/InstallerScripts.php", "func_name": "InstallerScripts.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows to register one or more script objects that implement this interface\nThis will be called in the Plugin right before the scripts are executed.\n\n@param Event $event\n@param ScriptDispatcher $scriptDispatcher\n@return void", "docstring_tokens": ["Allows", "to", "register", "one", "or", "more", "script", "objects", "that", "implement", "this", "interface", "This", "will", "be", "called", "in", "the", "Plugin", "right", "before", "the", "scripts", "are", "executed", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Composer/InstallerScripts.php#L38-L49", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks the user to select a value\n\n@param string|array $question The question to ask. If an array each array item is turned into one line of a multi-line question\n@param array $choices List of choices to pick from\n@param bool $default The default answer if the user enters nothing\n@param bool $multiSelect If true the result will be an array with the selected options. Multiple options can be given separated by commas\n@param bool|int $attempts Max number of times to ask before giving up (false by default, which means infinite)\n@throws \\Symfony\\Component\\Console\\Exception\\RuntimeException\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@return int|string|array The selected value or values (the key of the choices array)", "docstring_tokens": ["Asks", "the", "user", "to", "select", "a", "value"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L201-L209", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.ask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks a question to the user\n\n@param string|array $question The question to ask. If an array each array item is turned into one line of a multi-line question\n@param string $default The default answer if none is given by the user\n@param array $autocomplete List of values to autocomplete. This only works if \"stty\" is installed\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Symfony\\Component\\Console\\Exception\\RuntimeException\n@return string The user answer", "docstring_tokens": ["Asks", "a", "question", "to", "the", "user"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L222-L228", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.askConfirmation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks a confirmation to the user.\n\nThe question will be asked until the user answers by nothing, yes, or no.\n\n@param string|array $question The question to ask. If an array each array item is turned into one line of a multi-line question\n@param bool $default The default answer if the user enters nothing\n@return bool true if the user has confirmed, false otherwise", "docstring_tokens": ["Asks", "a", "confirmation", "to", "the", "user", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L239-L244", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.askHiddenResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks a question to the user, the response is hidden\n\n@param string|array $question The question. If an array each array item is turned into one line of a multi-line question\n@param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Symfony\\Component\\Console\\Exception\\RuntimeException\n@return string The answer", "docstring_tokens": ["Asks", "a", "question", "to", "the", "user", "the", "response", "is", "hidden"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L255-L262", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.askAndValidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks for a value and validates the response\n\nThe validator receives the data to validate. It must return the\nvalidated data when the data is valid and throw an exception\notherwise.\n\n@param string|array $question The question to ask. If an array each array item is turned into one line of a multi-line question\n@param callable $validator A PHP callback that gets a value and is expected to return the (transformed) value or throw an exception if it wasn't valid\n@param int|bool $attempts Max number of times to ask before giving up (false by default, which means infinite)\n@param string $default The default answer if none is given by the user\n@param array $autocomplete List of values to autocomplete. This only works if \"stty\" is installed\n@throws \\Symfony\\Component\\Console\\Exception\\RuntimeException\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@return mixed", "docstring_tokens": ["Asks", "for", "a", "value", "and", "validates", "the", "response"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L281-L289", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/ConsoleOutput.php", "func_name": "ConsoleOutput.askHiddenResponseAndValidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Asks for a value, hide and validates the response\n\nThe validator receives the data to validate. It must return the\nvalidated data when the data is valid and throw an exception\notherwise.\n\n@param string|array $question The question to ask. If an array each array item is turned into one line of a multi-line question\n@param callable $validator A PHP callback that gets a value and is expected to return the (transformed) value or throw an exception if it wasn't valid\n@param int|bool $attempts Max number of times to ask before giving up (false by default, which means infinite)\n@param bool $fallback In case the response can not be hidden, whether to fallback on non-hidden question or not\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Symfony\\Component\\Console\\Exception\\RuntimeException\n@return string The response", "docstring_tokens": ["Asks", "for", "a", "value", "hide", "and", "validates", "the", "response"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/ConsoleOutput.php#L307-L316", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php", "func_name": "ListCommand.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subclass Symfony list command to be able to register our own text descriptor\n\n@param InputInterface $input\n@param OutputInterface $output\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@return null|int null or 0 if everything went fine, or an error code", "docstring_tokens": ["Subclass", "Symfony", "list", "command", "to", "be", "able", "to", "register", "our", "own", "text", "descriptor"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Symfony/Command/ListCommand.php#L48-L86", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Log/Writer/ConsoleWriter.php", "func_name": "ConsoleWriter.writeLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes the log record\n\n@param \\TYPO3\\CMS\\Core\\Log\\LogRecord $record Log record\n@return \\TYPO3\\CMS\\Core\\Log\\Writer\\WriterInterface $this", "docstring_tokens": ["Writes", "the", "log", "record"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Log/Writer/ConsoleWriter.php#L69-L77", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Database/Schema/SchemaUpdateResult.php", "func_name": "SchemaUpdateResult.getPerformedUpdateTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of performed update types including the count\n\n@return array", "docstring_tokens": ["Returns", "the", "list", "of", "performed", "update", "types", "including", "the", "count"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Database/Schema/SchemaUpdateResult.php#L47-L55", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Database/Schema/SchemaUpdateResult.php", "func_name": "SchemaUpdateResult.addPerformedUpdates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds to the number of updates performed for a schema update type\n\n@param SchemaUpdateType $schemaUpdateType Schema update type\n@param array $updates Updates performed", "docstring_tokens": ["Adds", "to", "the", "number", "of", "updates", "performed", "for", "a", "schema", "update", "type"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Database/Schema/SchemaUpdateResult.php#L73-L76", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Database/Schema/SchemaUpdateResult.php", "func_name": "SchemaUpdateResult.addErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds to the list of errors occurred for a schema update type\n\n@param SchemaUpdateType $schemaUpdateType Schema update type\n@param array $errors List of error messages\n@param array $statements SQL Statements that were executed", "docstring_tokens": ["Adds", "to", "the", "list", "of", "errors", "occurred", "for", "a", "schema", "update", "type"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Database/Schema/SchemaUpdateResult.php#L93-L103", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ConfigurationCommandController.php", "func_name": "ConfigurationCommandController.removeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove configuration option\n\nRemoves a system configuration option by path.\n\nFor this command to succeed, the configuration option(s) must be in\nLocalConfiguration.php and not be overridden elsewhere.\n\nExample: %command.full_name% DB,EXT/EXTCONF/realurl\n\n@param array $paths Path to system configuration that should be removed. Multiple paths can be specified separated by comma\n@param bool $force If set, does not ask for confirmation", "docstring_tokens": ["Remove", "configuration", "option"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ConfigurationCommandController.php#L53-L73", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ConfigurationCommandController.php", "func_name": "ConfigurationCommandController.showCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show configuration value\n\nShows system configuration value by path.\nIf the currently active configuration differs from the value in LocalConfiguration.php\nthe difference between these values is shown.\n\nExample: %command.full_name% DB\n\n@param string $path Path to system configuration option", "docstring_tokens": ["Show", "configuration", "value"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ConfigurationCommandController.php#L86-L107", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ConfigurationCommandController.php", "func_name": "ConfigurationCommandController.showActiveCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show active configuration value\n\nShows active system configuration by path.\nShows the configuration value that is currently effective, no matter where and how it is set.\n\nExample: %command.full_name% DB --json\n\n@param string $path Path to system configuration\n@param bool $json If set, the configuration is shown as JSON", "docstring_tokens": ["Show", "active", "configuration", "value"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ConfigurationCommandController.php#L120-L128", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ConfigurationCommandController.php", "func_name": "ConfigurationCommandController.showLocalCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show local configuration value\n\nShows local configuration option value by path.\nShows the value which is stored in LocalConfiguration.php.\nNote that this value could be overridden. Use typo3cms configuration:show to see if this is the case.\n\nExample: %command.full_name% DB\n\n@param string $path Path to local system configuration\n@param bool $json If set, the configuration is shown as JSON\n@see typo3_console:configuration:show", "docstring_tokens": ["Show", "local", "configuration", "value"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ConfigurationCommandController.php#L143-L151", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/ConfigurationCommandController.php", "func_name": "ConfigurationCommandController.setCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set configuration value\n\nSet system configuration option value by path.\n\nExamples:\n%command.full_name% SYS/fileCreateMask 0664\n%command.full_name% EXTCONF/processor_enabled true --json\n%command.full_name% EXTCONF/lang/availableLanguages '[\"de\", \"fr\"]' --json\n\n@param string $path Path to system configuration\n@param string $value Value for system configuration\n@param bool $json Treat value as JSON (also makes it possible to force datatypes for value)", "docstring_tokens": ["Set", "configuration", "value"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/ConfigurationCommandController.php#L167-L198", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php", "func_name": "ExtensionInstallation.afterInstallation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actions to take after extension has been installed\n\n@param string $keyOfInstalledExtension", "docstring_tokens": ["Actions", "to", "take", "after", "extension", "has", "been", "installed"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php#L38-L50", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php", "func_name": "ExtensionInstallation.addFlashMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Message object and adds it to the FlashMessageQueue.\n\n@param string $messageBody The message\n@param string $messageTitle Optional message title\n@param int $severity Optional severity, must be one of \\TYPO3\\CMS\\Core\\Messaging\\FlashMessage constants\n@param bool $storeInSession Optional, defines whether the message should be stored in the session (default) or not\n@throws \\TYPO3\\CMS\\Core\\Exception\n@throws \\InvalidArgumentException if the message body is no string\n@return void", "docstring_tokens": ["Creates", "a", "Message", "object", "and", "adds", "it", "to", "the", "FlashMessageQueue", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php#L63-L74", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php", "func_name": "ExtensionInstallation.safeCopy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy typo3 console binary to root directory taking several possible situations into account\n\n@param string $fullSourcePath Path to the script that should be copied (depending on OS)\n@param string $fullTargetPath Target path to which the script should be copied to\n@param string $relativeWebDir Relative path to the web directory (which equals the TYPO3 root directory currently)\n@return bool\n@internal", "docstring_tokens": ["Copy", "typo3", "console", "binary", "to", "root", "directory", "taking", "several", "possible", "situations", "into", "account"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Resources/Private/ExtensionArtifacts/Classes/Console/Hook/ExtensionInstallation.php#L85-L125", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/DocumentationCommandController.php", "func_name": "DocumentationCommandController.generateXsdCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Fluid ViewHelper XSD Schema\n\nGenerates Schema documentation (XSD) for your ViewHelpers, preparing the\nfile to be placed online and used by any XSD-aware editor.\nAfter creating the XSD file, reference it in your IDE and import the namespace\nin your Fluid template by adding the xmlns:* attribute(s):\n\n\n@param string $phpNamespace Namespace of the Fluid ViewHelpers without leading backslash (for example 'TYPO3\\Fluid\\ViewHelpers' or 'Tx_News_ViewHelpers'). NOTE: Quote and/or escape this argument as needed to avoid backslashes from being interpreted!\n@param string $xsdNamespace Unique target namespace used in the XSD schema (for example \"http://yourdomain.org/ns/viewhelpers\"). Defaults to \"http://typo3.org/ns/\".\n@param string $targetFile File path and name of the generated XSD schema. If not specified the schema will be output to standard output.\n@return void", "docstring_tokens": ["Generate", "Fluid", "ViewHelper", "XSD", "Schema"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/DocumentationCommandController.php#L53-L79", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Scripts.php", "func_name": "Scripts.initializePackageManagement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the package system and loads the package configuration and settings\nprovided by the packages.\n\n@return void", "docstring_tokens": ["Initializes", "the", "package", "system", "and", "loads", "the", "package", "configuration", "and", "settings", "provided", "by", "the", "packages", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Scripts.php#L73-L80", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Scripts.php", "func_name": "Scripts.overrideImplementation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell Extbase, TYPO3 and PHP that we have another implementation\n\n@param string $originalClassName\n@param string $overrideClassName", "docstring_tokens": ["Tell", "Extbase", "TYPO3", "and", "PHP", "that", "we", "have", "another", "implementation"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Scripts.php#L175-L180", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/Scripts.php", "func_name": "Scripts.registerImplementation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tell Extbase about this implementation\n\n@param string $className\n@param string $alternativeClassName", "docstring_tokens": ["Tell", "Extbase", "about", "this", "implementation"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/Scripts.php#L188-L193", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/Configuration/ConfigurationService.php", "func_name": "ConfigurationService.setLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a value in LocalConfiguration.php\n\nBut only if types are compatible and local config is active\n\n@param string $path\n@param mixed $value\n@param string $targetType\n@return bool", "docstring_tokens": ["Sets", "a", "value", "in", "LocalConfiguration", ".", "php"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/Configuration/ConfigurationService.php#L167-L176", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/Configuration/ConfigurationService.php", "func_name": "ConfigurationService.convertToTargetType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a value to the type belonging to the given path\n\n@param string $path\n@param string $value\n@param string $targetType\n@throws TypesAreNotConvertibleException\n@return bool|float|int|string", "docstring_tokens": ["Convert", "a", "value", "to", "the", "type", "belonging", "to", "the", "given", "path"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/Configuration/ConfigurationService.php#L203-L234", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/Configuration/ConfigurationService.php", "func_name": "ConfigurationService.getType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the type of a value in given config path\n\n@param string $path\n@return string", "docstring_tokens": ["Returns", "the", "type", "of", "a", "value", "in", "given", "config", "path"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/Configuration/ConfigurationService.php#L242-L256", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/Configuration/ConfigurationService.php", "func_name": "ConfigurationService.isTypeConvertible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if target and actual type is scalar\n\n@param string $targetType\n@param string $actualType\n@return bool", "docstring_tokens": ["Checks", "if", "target", "and", "actual", "type", "is", "scalar"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/Configuration/ConfigurationService.php#L265-L275", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Symfony/Application.php", "func_name": "Application.isCommandAvailable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the given command can be executed in current application state\n\n@param Command $command\n@return bool", "docstring_tokens": ["Checks", "if", "the", "given", "command", "can", "be", "executed", "in", "current", "application", "state"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Symfony/Application.php#L109-L129", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Symfony/Command/CommandControllerCommand.php", "func_name": "CommandControllerCommand.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extbase has its own validation logic, so it is disabled in this place", "docstring_tokens": ["Extbase", "has", "its", "own", "validation", "logic", "so", "it", "is", "disabled", "in", "this", "place"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Symfony/Command/CommandControllerCommand.php#L92-L101", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Mvc/Cli/Symfony/Command/CommandControllerCommand.php", "func_name": "CommandControllerCommand.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the command to find any Extbase command\n\n@param InputInterface $input\n@param OutputInterface $output\n@return null|int null or 0 if everything went fine, or an error code", "docstring_tokens": ["Executes", "the", "command", "to", "find", "any", "Extbase", "command"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Mvc/Cli/Symfony/Command/CommandControllerCommand.php#L131-L149", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Kernel.php", "func_name": "Kernel.ensureRequiredEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks PHP sapi type and sets required PHP options", "docstring_tokens": ["Checks", "PHP", "sapi", "type", "and", "sets", "required", "PHP", "options"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Kernel.php#L76-L88", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Kernel.php", "func_name": "Kernel.initializeCompatibilityLayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If detected TYPO3 version does not match the main supported version,\noverlay compatibility classes for the detected branch, by registering\nan autoloader and aliasing the compatibility class with the original class name.\n\n@param ClassLoader $classLoader\n@internal", "docstring_tokens": ["If", "detected", "TYPO3", "version", "does", "not", "match", "the", "main", "supported", "version", "overlay", "compatibility", "classes", "for", "the", "detected", "branch", "by", "registering", "an", "autoloader", "and", "aliasing", "the", "compatibility", "class", "with", "the", "original", "class", "name", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Kernel.php#L98-L120", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Kernel.php", "func_name": "Kernel.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the given command input and return the exit code of the called command\n\n@param InputInterface $input\n@throws Exception\n@throws InvalidArgumentException\n@return int", "docstring_tokens": ["Handle", "the", "given", "command", "input", "and", "return", "the", "exit", "code", "of", "the", "called", "command"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Kernel.php#L150-L180", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ExceptionRenderer.php", "func_name": "ExceptionRenderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders Exception with trace and nested exceptions with trace.\n\n@param \\Throwable $exception\n@param OutputInterface $output\n@param Application|null $application", "docstring_tokens": ["Renders", "Exception", "with", "trace", "and", "nested", "exceptions", "with", "trace", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ExceptionRenderer.php#L44-L67", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ExceptionRenderer.php", "func_name": "ExceptionRenderer.outputException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output formatted exception.\n\n@param \\Throwable $exception\n@param OutputInterface $output", "docstring_tokens": ["Output", "formatted", "exception", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ExceptionRenderer.php#L75-L104", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ExceptionRenderer.php", "func_name": "ExceptionRenderer.outputTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output formatted trace.\n\n@param \\Throwable $exception", "docstring_tokens": ["Output", "formatted", "trace", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ExceptionRenderer.php#L146-L163", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Error/ExceptionRenderer.php", "func_name": "ExceptionRenderer.getPossibleShortenedFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shorten file name if inside extension or core extension.\n\n@param string $fileName\n@return string", "docstring_tokens": ["Shorten", "file", "name", "if", "inside", "extension", "or", "core", "extension", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Error/ExceptionRenderer.php#L228-L241", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/HelpCommandController.php", "func_name": "HelpCommandController.errorCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays an error message\n\n@internal\n@param \\TYPO3\\CMS\\Extbase\\Mvc\\Exception\\CommandException $exception\n@return void", "docstring_tokens": ["Displays", "an", "error", "message"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/HelpCommandController.php#L33-L46", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/DatabaseCommandController.php", "func_name": "DatabaseCommandController.importCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import mysql queries from stdin\n\nThis means that this can not only be used to pass insert statements,\nit but works as well to pass SELECT statements to it.\nThe mysql binary must be available in the path for this command to work.\nThis obviously only works when MySQL is used as DBMS.\n\nExample (import): ssh remote.server '/path/to/typo3cms database:export' | %command.full_name%\nExample (select): echo 'SELECT username from be_users WHERE admin=1;' | %command.full_name%\nExample (interactive): %command.full_name% --interactive\n\n@param bool $interactive Open an interactive mysql shell using the TYPO3 connection settings.\n@param string $connection TYPO3 database connection name\n@throws \\TYPO3\\CMS\\Extbase\\Mvc\\Exception\\StopActionException", "docstring_tokens": ["Import", "mysql", "queries", "from", "stdin"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/DatabaseCommandController.php#L135-L151", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Install/Upgrade/UpgradeHandling.php", "func_name": "UpgradeHandling.executeInSubProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the command in a sub process,\nbut execute some automated migration steps beforehand\n\n@param string $command\n@param array $arguments\n@param array &$messages\n@throws FailedSubProcessCommandException\n@throws \\UnexpectedValueException\n@throws \\RuntimeException\n@return mixed", "docstring_tokens": ["Execute", "the", "command", "in", "a", "sub", "process", "but", "execute", "some", "automated", "migration", "steps", "beforehand"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Install/Upgrade/UpgradeHandling.php#L231-L236", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionSetupResultRenderer.php", "func_name": "ExtensionSetupResultRenderer.renderSchemaResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output schema result\n@param ConsoleOutput $output", "docstring_tokens": ["Output", "schema", "result"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionSetupResultRenderer.php#L81-L99", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Extension/ExtensionSetupResultRenderer.php", "func_name": "ExtensionSetupResultRenderer.renderImportedStaticDataResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output at cli context imported static database content.\n\n@param ConsoleOutput $output", "docstring_tokens": ["Output", "at", "cli", "context", "imported", "static", "database", "content", "."], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Extension/ExtensionSetupResultRenderer.php#L106-L119", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Service/Database/SchemaService.php", "func_name": "SchemaService.updateSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform necessary database schema migrations\n\n@param SchemaUpdateType[] $schemaUpdateTypes List of permitted schema update types\n@param bool $dryRun If true, the database operations are not performed\n@return SchemaUpdateResult Result of the schema update", "docstring_tokens": ["Perform", "necessary", "database", "schema", "migrations"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Service/Database/SchemaService.php#L57-L94", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/RunLevel.php", "func_name": "RunLevel.buildSequence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the sequence for the given run level\n\n@param string $runLevel\n@throws InvalidArgumentException\n@return Sequence", "docstring_tokens": ["Builds", "the", "sequence", "for", "the", "given", "run", "level"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/RunLevel.php#L190-L196", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/RunLevel.php", "func_name": "RunLevel.buildEssentialSequence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Essential steps for a minimal usable system\n\n@param string $identifier\n@return Sequence", "docstring_tokens": ["Essential", "steps", "for", "a", "minimal", "usable", "system"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/RunLevel.php#L204-L213", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Core/Booting/RunLevel.php", "func_name": "RunLevel.buildBasicRuntimeSequence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "System with complete configuration, but no database\n\n@param string $identifier\n@return Sequence", "docstring_tokens": ["System", "with", "complete", "configuration", "but", "no", "database"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Core/Booting/RunLevel.php#L221-L228", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/CacheCommandController.php", "func_name": "CacheCommandController.flushGroupsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush all caches in specified groups\n\nFlushes all caches in specified groups.\nValid group names are by default:\n\n- lowlevel\n- pages\n- system\n\nExample: %command.full_name% pages,all\n\n@param array $groups An array of names (specified as comma separated values) of cache groups to flush", "docstring_tokens": ["Flush", "all", "caches", "in", "specified", "groups"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/CacheCommandController.php#L50-L59", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/CacheCommandController.php", "func_name": "CacheCommandController.flushTagsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush cache by tags\n\nFlushes caches by tags, optionally only caches in specified groups.\n\nExample: %command.full_name% news_123 --groups pages,all\n\n@param array $tags Array of tags (specified as comma separated values) to flush.\n@param array $groups Optional array of groups (specified as comma separated values) for which to flush tags. If no group is specified, caches of all groups are flushed.", "docstring_tokens": ["Flush", "cache", "by", "tags"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/CacheCommandController.php#L71-L84", "partition": "test"} +{"repo": "TYPO3-Console/TYPO3-Console", "path": "Classes/Console/Command/CacheCommandController.php", "func_name": "CacheCommandController.listGroupsCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List cache groups\n\nLists all registered cache groups.", "docstring_tokens": ["List", "cache", "groups"], "sha": "a8983d65aa5e2b7495082059cd72b6403b14abfd", "url": "https://github.com/TYPO3-Console/TYPO3-Console/blob/a8983d65aa5e2b7495082059cd72b6403b14abfd/Classes/Console/Command/CacheCommandController.php#L91-L107", "partition": "test"} +{"repo": "KnpLabs/DictionaryBundle", "path": "src/Knp/DictionaryBundle/Dictionary/Invokable.php", "func_name": "Invokable.hydrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hydrate values from callable.", "docstring_tokens": ["Hydrate", "values", "from", "callable", "."], "sha": "e888879de4accd6cf648265e876ef6e7a87846e2", "url": "https://github.com/KnpLabs/DictionaryBundle/blob/e888879de4accd6cf648265e876ef6e7a87846e2/src/Knp/DictionaryBundle/Dictionary/Invokable.php#L121-L136", "partition": "test"} +{"repo": "KnpLabs/DictionaryBundle", "path": "src/Knp/DictionaryBundle/Dictionary/Traceable.php", "func_name": "Traceable.trace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register this dictioanry as used.", "docstring_tokens": ["Register", "this", "dictioanry", "as", "used", "."], "sha": "e888879de4accd6cf648265e876ef6e7a87846e2", "url": "https://github.com/KnpLabs/DictionaryBundle/blob/e888879de4accd6cf648265e876ef6e7a87846e2/src/Knp/DictionaryBundle/Dictionary/Traceable.php#L109-L116", "partition": "test"} +{"repo": "artgris/FileManagerBundle", "path": "Controller/ManagerController.php", "func_name": "ManagerController.retrieveFilesNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tree Iterator.\n\n@param $path\n@param $regex\n\n@return int", "docstring_tokens": ["Tree", "Iterator", "."], "sha": "9127b3ba5721b1d8fde0d7b48ee49012bb9a4864", "url": "https://github.com/artgris/FileManagerBundle/blob/9127b3ba5721b1d8fde0d7b48ee49012bb9a4864/Controller/ManagerController.php#L459-L465", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/Message/AbstractRestRequest.php", "func_name": "AbstractRestRequest.toJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns object JSON representation required by PayPal.\nThe PayPal REST API requires the use of JSON_UNESCAPED_SLASHES.\n\nAdapted from the official PayPal REST API PHP SDK.\n(https://github.com/paypal/PayPal-PHP-SDK/blob/master/lib/PayPal/Common/PayPalModel.php)\n\n@param int $options http://php.net/manual/en/json.constants.php\n@return string", "docstring_tokens": ["Returns", "object", "JSON", "representation", "required", "by", "PayPal", ".", "The", "PayPal", "REST", "API", "requires", "the", "use", "of", "JSON_UNESCAPED_SLASHES", "."], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/Message/AbstractRestRequest.php#L193-L202", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/Message/RestAuthorizeRequest.php", "func_name": "RestAuthorizeRequest.getDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get transaction description.\n\nThe REST API does not currently have support for passing an invoice number\nor transaction ID.\n\n@return string", "docstring_tokens": ["Get", "transaction", "description", "."], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/Message/RestAuthorizeRequest.php#L336-L348", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/RestGateway.php", "func_name": "RestGateway.getToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get OAuth 2.0 access token.\n\n@param bool $createIfNeeded [optional] - If there is not an active token present, should we create one?\n@return string", "docstring_tokens": ["Get", "OAuth", "2", ".", "0", "access", "token", "."], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/RestGateway.php#L257-L271", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/RestGateway.php", "func_name": "RestGateway.hasToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is there a bearer token and is it still valid?\n\n@return bool", "docstring_tokens": ["Is", "there", "a", "bearer", "token", "and", "is", "it", "still", "valid?"], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/RestGateway.php#L320-L330", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/Message/RestListPurchaseRequest.php", "func_name": "RestListPurchaseRequest.setStartTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the request startTime\n\n@param string|\\DateTime $value\n@return AbstractRestRequest provides a fluent interface.", "docstring_tokens": ["Set", "the", "request", "startTime"], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/Message/RestListPurchaseRequest.php#L221-L228", "partition": "test"} +{"repo": "thephpleague/omnipay-paypal", "path": "src/Message/RestListPurchaseRequest.php", "func_name": "RestListPurchaseRequest.setEndTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the request endTime\n\n@param string|\\DateTime $value\n@return AbstractRestRequest provides a fluent interface.", "docstring_tokens": ["Set", "the", "request", "endTime"], "sha": "b500e0b17648958414df88e6cbc32cc2b341f1c2", "url": "https://github.com/thephpleague/omnipay-paypal/blob/b500e0b17648958414df88e6cbc32cc2b341f1c2/src/Message/RestListPurchaseRequest.php#L246-L253", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/IssuesBank.php", "func_name": "IssuesBank.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all issues of specific type.\n@param $type\n@return array", "docstring_tokens": ["Get", "all", "issues", "of", "specific", "type", "."], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/IssuesBank.php#L23-L44", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/Application.php", "func_name": "Application.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs console application", "docstring_tokens": ["Runs", "console", "application"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/Application.php#L34-L51", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/Application.php", "func_name": "Application.normalizeAndTruncatePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simplifies path to fit in specific width\n@param string $path\n@param integer $maxLength\n@return string", "docstring_tokens": ["Simplifies", "path", "to", "fit", "in", "specific", "width"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/Application.php#L287-L305", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/Application.php", "func_name": "Application.exitWithError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows error and terminates script\n@param string $message\n@param int $code", "docstring_tokens": ["Shows", "error", "and", "terminates", "script"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/Application.php#L357-L361", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/PhpCodeFixer.php", "func_name": "PhpCodeFixer.divideByComma", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Divide first level of tokens hierarchy by comma\n@param array $tokens\n@return array", "docstring_tokens": ["Divide", "first", "level", "of", "tokens", "hierarchy", "by", "comma"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/PhpCodeFixer.php#L484-L492", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/PhpCodeFixer.php", "func_name": "PhpCodeFixer.trimSpaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all T_WHITESPACE tokens from tokens hierarchy\n@param array $tokens\n@return array", "docstring_tokens": ["Removes", "all", "T_WHITESPACE", "tokens", "from", "tokens", "hierarchy"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/PhpCodeFixer.php#L499-L512", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/PhpCodeFixer.php", "func_name": "PhpCodeFixer.callFunctionUsageChecker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls function-usage checker\n@param string $checker\n@param string $functionName\n@param array $callTokens\n@return boolean", "docstring_tokens": ["Calls", "function", "-", "usage", "checker"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/PhpCodeFixer.php#L521-L527", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/Report.php", "func_name": "Report.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds issue to the report\n@param string $version PHP version\n@param string $type Issue type\n@param string $text Issue description\n@param string|null $replacement Possible replacement\n@param string $file File in which issue present\n@param integer $line Line of file\n@return void", "docstring_tokens": ["Adds", "issue", "to", "the", "report"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/Report.php#L36-L40", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/TerminalInfo.php", "func_name": "TerminalInfo.isColorsCapable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks that terminal supports colors\n@return bool", "docstring_tokens": ["Checks", "that", "terminal", "supports", "colors"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/TerminalInfo.php#L48-L66", "partition": "test"} +{"repo": "wapmorgan/PhpCodeFixer", "path": "src/TerminalInfo.php", "func_name": "TerminalInfo.getWindowsTerminalSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns size of terminal on Windows\n@return array", "docstring_tokens": ["Returns", "size", "of", "terminal", "on", "Windows"], "sha": "6e8982b0b3931bafc56dce4ed553348d64283aec", "url": "https://github.com/wapmorgan/PhpCodeFixer/blob/6e8982b0b3931bafc56dce4ed553348d64283aec/src/TerminalInfo.php#L120-L135", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/AutoloadSourceLocator.php", "func_name": "AutoloadSourceLocator.attemptAutoloadForIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to locate the specified identifier.\n\n@throws ReflectionException", "docstring_tokens": ["Attempts", "to", "locate", "the", "specified", "identifier", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/AutoloadSourceLocator.php#L91-L102", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/AutoloadSourceLocator.php", "func_name": "AutoloadSourceLocator.locateClassByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to locate a class by name.\n\nIf class already exists, simply use internal reflection API to get the\nfilename and store it.\n\nIf class does not exist, we make an assumption that whatever autoloaders\nthat are registered will be loading a file. We then override the file://\nprotocol stream wrapper to \"capture\" the filename we expect the class to\nbe in, and then restore it. Note that class_exists will cause an error\nthat it cannot find the file, so we squelch the errors by overriding the\nerror handler temporarily.\n\n@throws ReflectionException", "docstring_tokens": ["Attempt", "to", "locate", "a", "class", "by", "name", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/AutoloadSourceLocator.php#L119-L142", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/AutoloadSourceLocator.php", "func_name": "AutoloadSourceLocator.locateFunctionByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "We can only load functions if they already exist, because PHP does not\nhave function autoloading. Therefore if it exists, we simply use the\ninternal reflection API to find the filename. If it doesn't we can do\nnothing so throw an exception.\n\n@throws ReflectionException", "docstring_tokens": ["We", "can", "only", "load", "functions", "if", "they", "already", "exist", "because", "PHP", "does", "not", "have", "function", "autoloading", ".", "Therefore", "if", "it", "exists", "we", "simply", "use", "the", "internal", "reflection", "API", "to", "find", "the", "filename", ".", "If", "it", "doesn", "t", "we", "can", "do", "nothing", "so", "throw", "an", "exception", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/AutoloadSourceLocator.php#L152-L166", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/AutoloadSourceLocator.php", "func_name": "AutoloadSourceLocator.stream_open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Our wrapper simply records which file we tried to load and returns\nboolean false indicating failure.\n\n@see https://php.net/manual/en/class.streamwrapper.php\n@see https://php.net/manual/en/streamwrapper.stream-open.php\n\n@param string $path\n@param string $mode\n@param int $options\n@param string $opened_path\n\n@phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint", "docstring_tokens": ["Our", "wrapper", "simply", "records", "which", "file", "we", "tried", "to", "load", "and", "returns", "boolean", "false", "indicating", "failure", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/AutoloadSourceLocator.php#L182-L187", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/AutoloadSourceLocator.php", "func_name": "AutoloadSourceLocator.url_stat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "url_stat is triggered by calls like \"file_exists\". The call to \"file_exists\" must not be overloaded.\nThis function restores the original \"file\" stream, issues a call to \"stat\" to get the real results,\nand then re-registers the AutoloadSourceLocator stream wrapper.\n\n@see https://php.net/manual/en/class.streamwrapper.php\n@see https://php.net/manual/en/streamwrapper.url-stat.php\n\n@param string $path\n@param int $flags\n\n@return mixed[]|bool\n\n@phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint", "docstring_tokens": ["url_stat", "is", "triggered", "by", "calls", "like", "file_exists", ".", "The", "call", "to", "file_exists", "must", "not", "be", "overloaded", ".", "This", "function", "restores", "the", "original", "file", "stream", "issues", "a", "call", "to", "stat", "to", "get", "the", "real", "results", "and", "then", "re", "-", "registers", "the", "AutoloadSourceLocator", "stream", "wrapper", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/AutoloadSourceLocator.php#L204-L223", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/NodeCompiler/CompileNodeToValue.php", "func_name": "CompileNodeToValue.compileConstFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile constant expressions\n\n@return bool|mixed|null\n\n@throws Exception\\UnableToCompileNode", "docstring_tokens": ["Compile", "constant", "expressions"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/NodeCompiler/CompileNodeToValue.php#L66-L83", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/NodeCompiler/CompileNodeToValue.php", "func_name": "CompileNodeToValue.compileClassConstFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile class constants\n\n@return string|int|float|bool|mixed[]|null\n\n@throws IdentifierNotFound\n@throws Exception\\UnableToCompileNode If a referenced constant could not be located on the expected referenced class.", "docstring_tokens": ["Compile", "class", "constants"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/NodeCompiler/CompileNodeToValue.php#L93-L126", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Util/FindReflectionOnLine.php", "func_name": "FindReflectionOnLine.computeReflections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all class and function reflections in the specified file\n\n@return Reflection[]\n\n@throws ParseToAstFailure\n@throws InvalidFileLocation", "docstring_tokens": ["Find", "all", "class", "and", "function", "reflections", "in", "the", "specified", "file"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Util/FindReflectionOnLine.php#L79-L88", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Util/FindReflectionOnLine.php", "func_name": "FindReflectionOnLine.containsLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check to see if the line is within the boundaries of the reflection specified.\n\n@param ReflectionMethod|ReflectionClass|ReflectionFunction|Reflection $reflection\n\n@throws InvalidArgumentException", "docstring_tokens": ["Check", "to", "see", "if", "the", "line", "is", "within", "the", "boundaries", "of", "the", "reflection", "specified", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Util/FindReflectionOnLine.php#L97-L108", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflector/ClassReflector.php", "func_name": "ClassReflector.getAllClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the classes available in the scope specified by the SourceLocator.\n\n@return ReflectionClass[]", "docstring_tokens": ["Get", "all", "the", "classes", "available", "in", "the", "scope", "specified", "by", "the", "SourceLocator", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflector/ClassReflector.php#L50-L59", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionProperty.php", "func_name": "ReflectionProperty.createFromName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a class's property by its name", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "class", "s", "property", "by", "its", "name"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionProperty.php#L70-L73", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionProperty.php", "func_name": "ReflectionProperty.createFromInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of an instance's property by its name\n\n@param object $instance\n\n@throws InvalidArgumentException\n@throws ReflectionException\n@throws IdentifierNotFound", "docstring_tokens": ["Create", "a", "reflection", "of", "an", "instance", "s", "property", "by", "its", "name"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionProperty.php#L84-L87", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionProperty.php", "func_name": "ReflectionProperty.getDocBlockTypeStrings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the DocBlock type hints as an array of strings.\n\n@return string[]", "docstring_tokens": ["Get", "the", "DocBlock", "type", "hints", "as", "an", "array", "of", "strings", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionProperty.php#L215-L224", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Ast/Locator.php", "func_name": "Locator.findReflectionsOfType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of reflections found in some code.\n\n@return Reflection[]\n\n@throws Exception\\ParseToAstFailure", "docstring_tokens": ["Get", "an", "array", "of", "reflections", "found", "in", "some", "code", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Ast/Locator.php#L62-L77", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Ast/Locator.php", "func_name": "Locator.findInArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given an array of Reflections, try to find the identifier.\n\n@param Reflection[] $reflections\n\n@throws IdentifierNotFound", "docstring_tokens": ["Given", "an", "array", "of", "Reflections", "try", "to", "find", "the", "identifier", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Ast/Locator.php#L86-L97", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.createFromClassNameAndMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a parameter using a class name\n\n@throws OutOfBoundsException", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "parameter", "using", "a", "class", "name"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L76-L84", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.createFromClassInstanceAndMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a parameter using an instance\n\n@param object $instance\n\n@throws OutOfBoundsException", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "parameter", "using", "an", "instance"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L93-L101", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.createFromClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a parameter using a closure", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "parameter", "using", "a", "closure"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L106-L110", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.allowsNull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does this method allow null for a parameter?", "docstring_tokens": ["Does", "this", "method", "allow", "null", "for", "a", "parameter?"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L310-L325", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.getType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ReflectionType instance representing the type declaration for\nthis parameter\n\n(note: this has nothing to do with DocBlocks).", "docstring_tokens": ["Get", "the", "ReflectionType", "instance", "representing", "the", "type", "declaration", "for", "this", "parameter"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L372-L385", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionParameter.php", "func_name": "ReflectionParameter.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the parameter type declaration.", "docstring_tokens": ["Set", "the", "parameter", "type", "declaration", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionParameter.php#L400-L403", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflector/FunctionReflector.php", "func_name": "FunctionReflector.getAllFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the functions available in the scope specified by the SourceLocator.\n\n@return ReflectionFunction[]", "docstring_tokens": ["Get", "all", "the", "functions", "available", "in", "the", "scope", "specified", "by", "the", "SourceLocator", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflector/FunctionReflector.php#L54-L63", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionMethod.php", "func_name": "ReflectionMethod.createFromName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a method by it's name using a named class\n\n@throws IdentifierNotFound\n@throws OutOfBoundsException", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "method", "by", "it", "s", "name", "using", "a", "named", "class"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionMethod.php#L69-L72", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionMethod.php", "func_name": "ReflectionMethod.createFromInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a method by it's name using an instance\n\n@param object $instance\n\n@throws InvalidArgumentException\n@throws ReflectionException\n@throws IdentifierNotFound\n@throws OutOfBoundsException", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "method", "by", "it", "s", "name", "using", "an", "instance"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionMethod.php#L84-L87", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionMethod.php", "func_name": "ReflectionMethod.getPrototype", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the prototype for this method, if it exists. If it does not exist\nit will throw a MethodPrototypeNotFound exception.\n\n@throws Exception\\MethodPrototypeNotFound", "docstring_tokens": ["Find", "the", "prototype", "for", "this", "method", "if", "it", "exists", ".", "If", "it", "does", "not", "exist", "it", "will", "throw", "a", "MethodPrototypeNotFound", "exception", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionMethod.php#L95-L124", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionMethod.php", "func_name": "ReflectionMethod.isConstructor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the method a constructor.", "docstring_tokens": ["Is", "the", "method", "a", "constructor", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionMethod.php#L220-L232", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection and return the string representation of a named class", "docstring_tokens": ["Create", "a", "reflection", "and", "return", "the", "string", "representation", "of", "a", "named", "class"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L90-L97", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.createFromNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create from a Class Node.\n\n@internal\n\n@param ClassLikeNode $node Node has to be processed by the PhpParser\\NodeVisitor\\NameResolver\n@param NamespaceNode|null $namespace optional - if omitted, we assume it is global namespaced class", "docstring_tokens": ["Create", "from", "a", "Class", "Node", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L146-L163", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getAllMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct a flat list of all methods from current class, traits,\nparent classes and interfaces in this precise order.\n\n@return ReflectionMethod[]", "docstring_tokens": ["Construct", "a", "flat", "list", "of", "all", "methods", "from", "current", "class", "traits", "parent", "classes", "and", "interfaces", "in", "this", "precise", "order", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L234-L277", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an array of all methods for this class.\n\nFilter the results to include only methods with certain attributes. Defaults\nto no filtering.\nAny combination of \\ReflectionMethod::IS_STATIC,\n\\ReflectionMethod::IS_PUBLIC,\n\\ReflectionMethod::IS_PROTECTED,\n\\ReflectionMethod::IS_PRIVATE,\n\\ReflectionMethod::IS_ABSTRACT,\n\\ReflectionMethod::IS_FINAL.\nFor example if $filter = \\ReflectionMethod::IS_PUBLIC | \\ReflectionMethod::IS_FINAL\nthe only the final public methods will be returned\n\n@return ReflectionMethod[]", "docstring_tokens": ["Fetch", "an", "array", "of", "all", "methods", "for", "this", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L340-L354", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.hasMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the class have the specified method method?", "docstring_tokens": ["Does", "the", "class", "have", "the", "specified", "method", "method?"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L412-L421", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getConstant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of the specified class constant.\n\nReturns null if not specified.\n\n@return mixed|null", "docstring_tokens": ["Get", "the", "value", "of", "the", "specified", "class", "constant", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L456-L465", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getConstructor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the constructor method for this class.\n\n@throws OutOfBoundsException", "docstring_tokens": ["Get", "the", "constructor", "method", "for", "this", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L581-L592", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the properties for this class.\n\nFilter the results to include only properties with certain attributes. Defaults\nto no filtering.\nAny combination of \\ReflectionProperty::IS_STATIC,\n\\ReflectionProperty::IS_PUBLIC,\n\\ReflectionProperty::IS_PROTECTED,\n\\ReflectionProperty::IS_PRIVATE.\nFor example if $filter = \\ReflectionProperty::IS_STATIC | \\ReflectionProperty::IS_PUBLIC\nonly the static public properties will be returned\n\n@return ReflectionProperty[]", "docstring_tokens": ["Get", "the", "properties", "for", "this", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L653-L701", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getParentClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the parent class, if it is defined. If this class does not have a\nspecified parent class, this will throw an exception.\n\n@throws NotAClassReflection", "docstring_tokens": ["Get", "the", "parent", "class", "if", "it", "is", "defined", ".", "If", "this", "class", "does", "not", "have", "a", "specified", "parent", "class", "this", "will", "throw", "an", "exception", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L784-L799", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getParentClassNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the parent class names.\n\n@return string[] A numerical array with parent class names as the values.", "docstring_tokens": ["Gets", "the", "parent", "class", "names", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L806-L811", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getTraits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the traits used, if any are defined. If this class does not have any\ndefined traits, this will return an empty array.\n\n@return ReflectionClass[]", "docstring_tokens": ["Get", "the", "traits", "used", "if", "any", "are", "defined", ".", "If", "this", "class", "does", "not", "have", "any", "defined", "traits", "this", "will", "return", "an", "empty", "array", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L890-L908", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.reflectClassForNamedNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given an AST Node\\Name, create a new ReflectionClass for the element.", "docstring_tokens": ["Given", "an", "AST", "Node", "\\", "Name", "create", "a", "new", "ReflectionClass", "for", "the", "element", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L913-L925", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.isInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the given object is an instance.\n\n@link https://php.net/manual/en/reflectionclass.isinstance.php\n\n@param object $object\n\n@throws NotAnObject\n\n@psalm-suppress DocblockTypeContradiction", "docstring_tokens": ["Checks", "whether", "the", "given", "object", "is", "an", "instance", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1059-L1070", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.isSubclassOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the given class string is a subclass of this class.\n\n@link https://php.net/manual/en/reflectionclass.isinstance.php", "docstring_tokens": ["Checks", "whether", "the", "given", "class", "string", "is", "a", "subclass", "of", "this", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1077-L1089", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.implementsInterface", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether this class implements the given interface.\n\n@link https://php.net/manual/en/reflectionclass.implementsinterface.php", "docstring_tokens": ["Checks", "whether", "this", "class", "implements", "the", "given", "interface", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1096-L1099", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.isInstantiable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether this reflection is an instantiable class\n\n@link https://php.net/manual/en/reflectionclass.isinstantiable.php", "docstring_tokens": ["Checks", "whether", "this", "reflection", "is", "an", "instantiable", "class"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1106-L1127", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.isCloneable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether this is a reflection of a class that supports the clone operator\n\n@link https://php.net/manual/en/reflectionclass.iscloneable.php", "docstring_tokens": ["Checks", "whether", "this", "is", "a", "reflection", "of", "a", "class", "that", "supports", "the", "clone", "operator"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1134-L1145", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getInterfacesHierarchy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method allows us to retrieve all interfaces parent of the this interface. Do not use on class nodes!\n\n@return ReflectionClass[] parent interfaces of this interface\n\n@throws NotAnInterfaceReflection", "docstring_tokens": ["This", "method", "allows", "us", "to", "retrieve", "all", "interfaces", "parent", "of", "the", "this", "interface", ".", "Do", "not", "use", "on", "class", "nodes!"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1203-L1223", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.setStaticPropertyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value of a static property\n\n@param mixed $value\n\n@throws ClassDoesNotExist\n@throws NoObjectProvided\n@throws NotAnObject\n@throws ObjectNotInstanceOfClass", "docstring_tokens": ["Set", "the", "value", "of", "a", "static", "property"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1266-L1275", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.setFinal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set whether this class is final or not\n\n@throws NotAClassReflection", "docstring_tokens": ["Set", "whether", "this", "class", "is", "final", "or", "not"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1313-L1326", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.removeMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the named method from the class.\n\nReturns true if method was successfully removed.\nReturns false if method was not found, or could not be removed.", "docstring_tokens": ["Remove", "the", "named", "method", "from", "the", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1334-L1346", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.addMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new method to the class.", "docstring_tokens": ["Add", "a", "new", "method", "to", "the", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1351-L1355", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.addProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new property to the class.\n\nVisibility defaults to \\ReflectionProperty::IS_PUBLIC, or can be ::IS_PROTECTED or ::IS_PRIVATE.", "docstring_tokens": ["Add", "a", "new", "property", "to", "the", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1362-L1387", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.removeProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a property from the class.", "docstring_tokens": ["Remove", "a", "property", "from", "the", "class", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClass.php#L1392-L1415", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Identifier/IdentifierType.php", "func_name": "IdentifierType.isMatchingReflector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check to see if a reflector is of a valid type specified by this identifier.", "docstring_tokens": ["Check", "to", "see", "if", "a", "reflector", "is", "of", "a", "valid", "type", "specified", "by", "this", "identifier", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Identifier/IdentifierType.php#L56-L67", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionObject.php", "func_name": "ReflectionObject.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection and return the string representation of a class instance\n\n@param object $instance\n\n@throws IdentifierNotFound\n@throws ReflectionException\n@throws InvalidArgumentException", "docstring_tokens": ["Create", "a", "reflection", "and", "return", "the", "string", "representation", "of", "a", "class", "instance"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionObject.php#L56-L63", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionObject.php", "func_name": "ReflectionObject.createFromInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass an instance of an object to this method to reflect it\n\n@param object $object\n\n@throws ReflectionException\n@throws InvalidArgumentException\n@throws IdentifierNotFound\n\n@psalm-suppress DocblockTypeContradiction", "docstring_tokens": ["Pass", "an", "instance", "of", "an", "object", "to", "this", "method", "to", "reflect", "it"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionObject.php#L76-L94", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionObject.php", "func_name": "ReflectionObject.getRuntimeProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reflect on runtime properties for the current instance\n\n@see ReflectionClass::getProperties() for the usage of $filter\n\n@return ReflectionProperty[]", "docstring_tokens": ["Reflect", "on", "runtime", "properties", "for", "the", "current", "instance"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionObject.php#L103-L144", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionObject.php", "func_name": "ReflectionObject.createPropertyNodeFromReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an AST PropertyNode given a reflection\n\nNote that we don't copy across DocBlock, protected, private or static\nbecause runtime properties can't have these attributes.\n\n@param object $instance", "docstring_tokens": ["Create", "an", "AST", "PropertyNode", "given", "a", "reflection"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionObject.php#L154-L164", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.populateFunctionAbstract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populate the common elements of the function abstract.\n\n@param Node\\Stmt\\ClassMethod|Node\\Stmt\\Function_|Node\\Expr\\Closure $node Node has to be processed by the PhpParser\\NodeVisitor\\NameResolver\n\n@throws InvalidAbstractFunctionNodeType", "docstring_tokens": ["Populate", "the", "common", "elements", "of", "the", "function", "abstract", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L78-L90", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.setNodeOptionalFlag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "We must determine if params are optional or not ahead of time, but we\nmust do it in reverse...", "docstring_tokens": ["We", "must", "determine", "if", "params", "are", "optional", "or", "not", "ahead", "of", "time", "but", "we", "must", "do", "it", "in", "reverse", "..."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L106-L122", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.getNumberOfRequiredParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of required parameters for this method.", "docstring_tokens": ["Get", "the", "number", "of", "required", "parameters", "for", "this", "method", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L186-L194", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.getParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array list of the parameters for this method signature, as an\narray of ReflectionParameter instances.\n\n@return ReflectionParameter[]", "docstring_tokens": ["Get", "an", "array", "list", "of", "the", "parameters", "for", "this", "method", "signature", "as", "an", "array", "of", "ReflectionParameter", "instances", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L202-L217", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.getParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single parameter by name. Returns null if parameter not found for\nthe function.", "docstring_tokens": ["Get", "a", "single", "parameter", "by", "name", ".", "Returns", "null", "if", "parameter", "not", "found", "for", "the", "function", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L223-L232", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.isVariadic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the function has a variadic parameter.", "docstring_tokens": ["Check", "if", "the", "function", "has", "a", "variadic", "parameter", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L298-L309", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.setReturnType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the return type declaration.", "docstring_tokens": ["Set", "the", "return", "type", "declaration", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L431-L434", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.getBodyCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the body of this function as code.\n\nIf a PrettyPrinter is provided as a parameter, it will be used, otherwise\na default will be used.\n\nNote that the formatting of the code may not be the same as the original\nfunction. If specific formatting is required, you should provide your\nown implementation of a PrettyPrinter to unparse the AST.", "docstring_tokens": ["Retrieves", "the", "body", "of", "this", "function", "as", "code", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L472-L479", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionFunctionAbstract.php", "func_name": "ReflectionFunctionAbstract.getReturnStatementsAst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch an array of all return statements found within this function.\n\nNote that return statements within smaller scopes contained (e.g. anonymous classes, closures) are not returned\nhere as they are not within the immediate scope.\n\n@return Node\\Stmt\\Return_[]", "docstring_tokens": ["Fetch", "an", "array", "of", "all", "return", "statements", "found", "within", "this", "function", "."], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionFunctionAbstract.php#L583-L593", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/SourceLocator/Type/Composer/PsrAutoloaderLocator.php", "func_name": "PsrAutoloaderLocator.locateIdentifiersByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all identifiers of a type\n\n@return Reflection[]", "docstring_tokens": ["Find", "all", "identifiers", "of", "a", "type"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/SourceLocator/Type/Composer/PsrAutoloaderLocator.php#L66-L72", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClassConstant.php", "func_name": "ReflectionClassConstant.createFromNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a reflection of a class's constant by Const Node\n\n@internal\n\n@param ClassConst $node Node has to be processed by the PhpParser\\NodeVisitor\\NameResolver", "docstring_tokens": ["Create", "a", "reflection", "of", "a", "class", "s", "constant", "by", "Const", "Node"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClassConstant.php#L49-L62", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClassConstant.php", "func_name": "ReflectionClassConstant.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns constant value\n\n@return mixed", "docstring_tokens": ["Returns", "constant", "value"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClassConstant.php#L78-L91", "partition": "test"} +{"repo": "Roave/BetterReflection", "path": "src/Reflection/ReflectionClassConstant.php", "func_name": "ReflectionClassConstant.getModifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a bitfield of the access modifiers for this constant", "docstring_tokens": ["Returns", "a", "bitfield", "of", "the", "access", "modifiers", "for", "this", "constant"], "sha": "173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c", "url": "https://github.com/Roave/BetterReflection/blob/173f42ccb0af41b01b3c2dfd5bd185ccd9ead50c/src/Reflection/ReflectionClassConstant.php#L120-L128", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/AnnotationGenerator/PhpDocAnnotationGenerator.php", "func_name": "PhpDocAnnotationGenerator.generateDoc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates class or interface PHPDoc.", "docstring_tokens": ["Generates", "class", "or", "interface", "PHPDoc", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/AnnotationGenerator/PhpDocAnnotationGenerator.php#L149-L168", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/AnnotationGenerator/PhpDocAnnotationGenerator.php", "func_name": "PhpDocAnnotationGenerator.formatDoc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts HTML to Markdown and explode.", "docstring_tokens": ["Converts", "HTML", "to", "Markdown", "and", "explode", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/AnnotationGenerator/PhpDocAnnotationGenerator.php#L173-L185", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/CardinalitiesExtractor.php", "func_name": "CardinalitiesExtractor.extract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts cardinality of properties.", "docstring_tokens": ["Extracts", "cardinality", "of", "properties", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/CardinalitiesExtractor.php#L51-L62", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/CardinalitiesExtractor.php", "func_name": "CardinalitiesExtractor.extractForProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the cardinality of a property.\n\nBased on [Geraint Luff work](https://github.com/geraintluff/schema-org-gen).\n\n@param \\EasyRdf_Resource $property\n\n@return string The cardinality", "docstring_tokens": ["Extracts", "the", "cardinality", "of", "a", "property", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/CardinalitiesExtractor.php#L73-L104", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/TypesGenerator.php", "func_name": "TypesGenerator.isEnum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests if a type is an enum.", "docstring_tokens": ["Tests", "if", "a", "type", "is", "an", "enum", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/TypesGenerator.php#L448-L453", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/TypesGenerator.php", "func_name": "TypesGenerator.createPropertiesMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a map between classes and properties.\n\n@param array $types\n\n@return array", "docstring_tokens": ["Creates", "a", "map", "between", "classes", "and", "properties", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/TypesGenerator.php#L498-L522", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/TypesGenerator.php", "func_name": "TypesGenerator.namespaceToDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a namespace to a directory path according to PSR-4.", "docstring_tokens": ["Converts", "a", "namespace", "to", "a", "directory", "path", "according", "to", "PSR", "-", "4", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/TypesGenerator.php#L830-L837", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/TypesGenerator.php", "func_name": "TypesGenerator.fixCs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses PHP CS Fixer to make generated files following PSR and Symfony Coding Standards.", "docstring_tokens": ["Uses", "PHP", "CS", "Fixer", "to", "make", "generated", "files", "following", "PSR", "and", "Symfony", "Coding", "Standards", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/TypesGenerator.php#L842-L870", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/GoodRelationsBridge.php", "func_name": "GoodRelationsBridge.exist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a property exists in GoodRelations.", "docstring_tokens": ["Checks", "if", "a", "property", "exists", "in", "GoodRelations", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/GoodRelationsBridge.php#L85-L95", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/GoodRelationsBridge.php", "func_name": "GoodRelationsBridge.extractCardinality", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts cardinality from the Good Relations OWL.\n\n@return string|bool", "docstring_tokens": ["Extracts", "cardinality", "from", "the", "Good", "Relations", "OWL", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/GoodRelationsBridge.php#L102-L114", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/GoodRelationsBridge.php", "func_name": "GoodRelationsBridge.getPropertyUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a property URL.", "docstring_tokens": ["Gets", "a", "property", "URL", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/GoodRelationsBridge.php#L119-L124", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/AnnotationGenerator/AbstractAnnotationGenerator.php", "func_name": "AbstractAnnotationGenerator.toPhpType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a Schema.org range to a PHP type.", "docstring_tokens": ["Converts", "a", "Schema", ".", "org", "range", "to", "a", "PHP", "type", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/AnnotationGenerator/AbstractAnnotationGenerator.php#L137-L193", "partition": "test"} +{"repo": "api-platform/schema-generator", "path": "src/AnnotationGenerator/DoctrineOrmAnnotationGenerator.php", "func_name": "DoctrineOrmAnnotationGenerator.getRelationName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets class or interface name to use in relations.", "docstring_tokens": ["Gets", "class", "or", "interface", "name", "to", "use", "in", "relations", "."], "sha": "7aa2d23018541f14cbc46e27d540d6ab79344c5b", "url": "https://github.com/api-platform/schema-generator/blob/7aa2d23018541f14cbc46e27d540d6ab79344c5b/src/AnnotationGenerator/DoctrineOrmAnnotationGenerator.php#L228-L245", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.finishFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes closing tags to current file", "docstring_tokens": ["Writes", "closing", "tags", "to", "current", "file"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L180-L195", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes buffer into file\n\n@param int $footSize Size of the remaining closing tags\n@throws \\OverflowException", "docstring_tokens": ["Flushes", "buffer", "into", "file"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L211-L232", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.addItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new item to sitemap\n\n@param string|array $location location item URL\n@param integer $lastModified last modification timestamp\n@param string $changeFrequency change frequency. Use one of self:: constants here\n@param string $priority item's priority (0.0-1.0). Default null is equal to 0.5\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Adds", "a", "new", "item", "to", "sitemap"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L259-L280", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.addSingleLanguageItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new single item to sitemap\n\n@param string $location location item URL\n@param integer $lastModified last modification timestamp\n@param float $changeFrequency change frequency. Use one of self:: constants here\n@param string $priority item's priority (0.0-1.0). Default null is equal to 0.5\n\n@throws \\InvalidArgumentException\n\n@see addItem", "docstring_tokens": ["Adds", "a", "new", "single", "item", "to", "sitemap"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L295-L330", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.addMultiLanguageItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a multi-language item, based on multiple locations with alternate hrefs to sitemap\n\n@param array $locations array of language => link pairs\n@param integer $lastModified last modification timestamp\n@param float $changeFrequency change frequency. Use one of self:: constants here\n@param string $priority item's priority (0.0-1.0). Default null is equal to 0.5\n\n@throws \\InvalidArgumentException\n\n@see addItem", "docstring_tokens": ["Adds", "a", "multi", "-", "language", "item", "based", "on", "multiple", "locations", "with", "alternate", "hrefs", "to", "sitemap"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L344-L397", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.getSitemapUrls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of URLs written\n\n@param string $baseUrl base URL of all the sitemaps written\n@return array URLs of sitemaps written", "docstring_tokens": ["Returns", "an", "array", "of", "URLs", "written"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L426-L433", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Sitemap.php", "func_name": "Sitemap.setUseGzip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets whether the resulting files will be gzipped or not.\n@param bool $value\n@throws \\RuntimeException when trying to enable gzip while zlib is not available or when trying to change\nsetting when some items are already written", "docstring_tokens": ["Sets", "whether", "the", "resulting", "files", "will", "be", "gzipped", "or", "not", "."], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Sitemap.php#L484-L493", "partition": "test"} +{"repo": "samdark/sitemap", "path": "Index.php", "func_name": "Index.addSitemap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds sitemap link to the index file\n\n@param string $location URL of the sitemap\n@param integer $lastModified unix timestamp of sitemap modification time\n@throws \\InvalidArgumentException", "docstring_tokens": ["Adds", "sitemap", "link", "to", "the", "index", "file"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/Index.php#L56-L75", "partition": "test"} +{"repo": "samdark/sitemap", "path": "DeflateWriter.php", "func_name": "DeflateWriter.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deflate data in a deflate context and write it to the target file\n\n@param string $data\n@param int $flushMode zlib flush mode to use for writing", "docstring_tokens": ["Deflate", "data", "in", "a", "deflate", "context", "and", "write", "it", "to", "the", "target", "file"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/DeflateWriter.php#L35-L41", "partition": "test"} +{"repo": "samdark/sitemap", "path": "DeflateWriter.php", "func_name": "DeflateWriter.finish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure all data was written", "docstring_tokens": ["Make", "sure", "all", "data", "was", "written"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/DeflateWriter.php#L56-L62", "partition": "test"} +{"repo": "samdark/sitemap", "path": "TempFileGZIPWriter.php", "func_name": "TempFileGZIPWriter.finish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deflate buffered data", "docstring_tokens": ["Deflate", "buffered", "data"], "sha": "6649a5769397e46a83b96dad52ebbadd5ecbef39", "url": "https://github.com/samdark/sitemap/blob/6649a5769397e46a83b96dad52ebbadd5ecbef39/TempFileGZIPWriter.php#L44-L55", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/KeyGenerator.php", "func_name": "Crypt_GPG_KeyGenerator.setExpirationDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the expiration date of generated keys\n\n@param string|integer $date either a string that may be parsed by\nPHP's strtotime() function, or an integer\ntimestamp representing the number of seconds\nsince the UNIX epoch. This date must be at\nleast one date in the future. Keys that\nexpire in the past may not be generated. Use\nan expiration date of 0 for keys that do not\nexpire.\n\n@throws InvalidArgumentException if the date is not a valid format, or\nif the date is not at least one day in\nthe future, or if the date is greater\nthan 2038-01-19T03:14:07.\n\n@return Crypt_GPG_KeyGenerator the current object, for fluent interface.", "docstring_tokens": ["Sets", "the", "expiration", "date", "of", "generated", "keys"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/KeyGenerator.php#L270-L304", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/KeyGenerator.php", "func_name": "Crypt_GPG_KeyGenerator.setKeyParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the parameters for the primary key of generated key-pairs\n\n@param integer $algorithm the algorithm used by the key. This should be\none of the Crypt_GPG_SubKey::ALGORITHM_*\nconstants.\n@param integer $size optional. The size of the key. Different\nalgorithms have different size requirements.\nIf not specified, the default size for the\nspecified algorithm will be used. If an\ninvalid key size is used, GnuPG will do its\nbest to round it to a valid size.\n@param integer $usage optional. A bitwise combination of key usages.\nIf not specified, the primary key will be used\nonly to sign and certify. This is the default\nbehavior of GnuPG in interactive mode. Use\nthe Crypt_GPG_SubKey::USAGE_* constants here.\nThe primary key may be used to certify even\nif the certify usage is not specified.\n\n@return Crypt_GPG_KeyGenerator the current object, for fluent interface.", "docstring_tokens": ["Sets", "the", "parameters", "for", "the", "primary", "key", "of", "generated", "key", "-", "pairs"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/KeyGenerator.php#L348-L398", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/KeyGenerator.php", "func_name": "Crypt_GPG_KeyGenerator.setSubKeyParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the parameters for the sub-key of generated key-pairs\n\n@param integer $algorithm the algorithm used by the key. This should be\none of the Crypt_GPG_SubKey::ALGORITHM_*\nconstants.\n@param integer $size optional. The size of the key. Different\nalgorithms have different size requirements.\nIf not specified, the default size for the\nspecified algorithm will be used. If an\ninvalid key size is used, GnuPG will do its\nbest to round it to a valid size.\n@param integer $usage optional. A bitwise combination of key usages.\nIf not specified, the sub-key will be used\nonly to encrypt. This is the default behavior\nof GnuPG in interactive mode. Use the\nCrypt_GPG_SubKey::USAGE_* constants here.\n\n@return Crypt_GPG_KeyGenerator the current object, for fluent interface.", "docstring_tokens": ["Sets", "the", "parameters", "for", "the", "sub", "-", "key", "of", "generated", "key", "-", "pairs"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/KeyGenerator.php#L423-L478", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/KeyGenerator.php", "func_name": "Crypt_GPG_KeyGenerator.getUsage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a GnuPG key usage string suitable for key generation\n\nSee doc/DETAILS in the\n{@link http://www.gnupg.org/download/ GPG distribution} for detailed\ninformation on the key usage format.\n\n@param integer $usage a bitwise combination of the key usages. This is\na combination of the Crypt_GPG_SubKey::USAGE_*\nconstants.\n\n@return string the key usage string.", "docstring_tokens": ["Builds", "a", "GnuPG", "key", "usage", "string", "suitable", "for", "key", "generation"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/KeyGenerator.php#L624-L646", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/KeyGenerator.php", "func_name": "Crypt_GPG_KeyGenerator.getUserId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a user id object from parameters\n\n@param string|Crypt_GPG_UserId $name either a {@link Crypt_GPG_UserId}\nobject, or a string containing\nthe name of the user id.\n@param string $email optional. If $name is\nspecified as a string, this is\nthe email address of the user id.\n@param string $comment optional. If $name is\nspecified as a string, this is\nthe comment of the user id.\n\n@return Crypt_GPG_UserId a user id object for the specified parameters.", "docstring_tokens": ["Gets", "a", "user", "id", "object", "from", "parameters"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/KeyGenerator.php#L666-L676", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/UserId.php", "func_name": "Crypt_GPG_UserId.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a user id object from a user id string\n\nA user id string is of the form:\nname (comment) with the comment\nand email-address fields being optional.\n\n@param string $string the user id string to parse.\n\n@return Crypt_GPG_UserId the user id object parsed from the string.", "docstring_tokens": ["Parses", "a", "user", "id", "object", "from", "a", "user", "id", "string"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/UserId.php#L338-L371", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessControl.php", "func_name": "Crypt_GPG_ProcessControl.isRunning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the process is running\n\nIf the posix extension is available, posix_getpgid()\nis used. Otherwise ps is used on UNIX-like systems and\ntasklist on Windows.\n\n@return boolean true if the process is running, false if not.", "docstring_tokens": ["Checks", "if", "the", "process", "is", "running"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessControl.php#L99-L118", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessControl.php", "func_name": "Crypt_GPG_ProcessControl.terminate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ends the process gracefully\n\nThe signal SIGTERM is sent to the process. The gpg-agent process will\nend gracefully upon receiving the SIGTERM signal. Upon 3 consecutive\nSIGTERM signals the gpg-agent will forcefully shut down.\n\nIf the posix extension is available, posix_kill()\nis used. Otherwise kill is used on UNIX-like systems and\ntaskkill is used in Windows.\n\n@return void", "docstring_tokens": ["Ends", "the", "process", "gracefully"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessControl.php#L136-L145", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.setOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the operation that is being performed by the engine.\n\n@param string $operation The GPG operation to perform.\n\n@return void", "docstring_tokens": ["Sets", "the", "operation", "that", "is", "being", "performed", "by", "the", "engine", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L144-L173", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles error values in the error output from GPG\n\nThis method is responsible for setting the\n{@link Crypt_GPG_Engine::$_errorCode}.\n\n@param string $line the error line to handle.\n\n@return void", "docstring_tokens": ["Handles", "error", "values", "in", "the", "error", "output", "from", "GPG"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L467-L531", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.setErrorCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check exit code of the GPG operation.\n\n@param int $exitcode GPG process exit code\n\n@return int Internal error code", "docstring_tokens": ["Check", "exit", "code", "of", "the", "GPG", "operation", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L775-L795", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set data for the process execution.\n\n@param string $name Data element name:\n- Handle: The unique key handle used by this handler\nThe key handle is used to track GPG status output\nfor a particular key on --gen-key command before\nthe key has its own identifier.\n- IgnoreVerifyErrors: Do not throw exceptions\nwhen signature verification failes because\nof a missing public key.\n@param mixed $value Data element value\n\n@return void", "docstring_tokens": ["Set", "data", "for", "the", "process", "execution", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L837-L848", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.badPassException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Crypt_GPG_BadPassphraseException from operation data.\n\n@param int $code Error code\n@param string $message Error message\n\n@return Crypt_GPG_BadPassphraseException", "docstring_tokens": ["Create", "Crypt_GPG_BadPassphraseException", "from", "operation", "data", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L861-L888", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/ProcessHandler.php", "func_name": "Crypt_GPG_ProcessHandler.getPin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get registered passphrase for specified key.\n\n@param string $key Key identifier\n\n@return string Passphrase", "docstring_tokens": ["Get", "registered", "passphrase", "for", "specified", "key", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/ProcessHandler.php#L900-L926", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/SignatureCreationInfo.php", "func_name": "Crypt_GPG_SignatureCreationInfo.getHashAlgorithmName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a name for the used hashing algorithm.\n\n@return string|null", "docstring_tokens": ["Get", "a", "name", "for", "the", "used", "hashing", "algorithm", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/SignatureCreationInfo.php#L190-L196", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/SubKey.php", "func_name": "Crypt_GPG_SubKey.setCanSign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets whether or not this sub-key can sign data\n\n@param boolean $canSign true if this sub-key can sign data and false if\nit can not.\n\n@return Crypt_GPG_SubKey the current object, for fluent interface.", "docstring_tokens": ["Sets", "whether", "or", "not", "this", "sub", "-", "key", "can", "sign", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/SubKey.php#L544-L553", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/SubKey.php", "func_name": "Crypt_GPG_SubKey.setCanEncrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets whether or not this sub-key can encrypt data\n\n@param boolean $canEncrypt true if this sub-key can encrypt data and\nfalse if it can not.\n\n@return Crypt_GPG_SubKey the current object, for fluent interface.", "docstring_tokens": ["Sets", "whether", "or", "not", "this", "sub", "-", "key", "can", "encrypt", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/SubKey.php#L566-L575", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/SubKey.php", "func_name": "Crypt_GPG_SubKey.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a sub-key object from a sub-key string\n\nSee doc/DETAILS in the\n{@link http://www.gnupg.org/download/ GPG distribution} for information\non how the sub-key string is parsed.\n\n@param string $string the string containing the sub-key.\n\n@return Crypt_GPG_SubKey the sub-key object parsed from the string.", "docstring_tokens": ["Parses", "a", "sub", "-", "key", "object", "from", "a", "sub", "-", "key", "string"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/SubKey.php#L642-L675", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/SubKey.php", "func_name": "Crypt_GPG_SubKey._parseDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a date string as provided by GPG into a UNIX timestamp\n\n@param string $string the date string.\n\n@return integer the UNIX timestamp corresponding to the provided date\nstring.", "docstring_tokens": ["Parses", "a", "date", "string", "as", "provided", "by", "GPG", "into", "a", "UNIX", "timestamp"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/SubKey.php#L688-L708", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.deletePublicKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a public key from the keyring\n\nIf more than one key fingerprint is available for the specified\n$keyId (for example, if you use a non-unique uid) only the\nfirst public key is deleted.\n\nThe private key must be deleted first or an exception will be thrown.\nIn GnuPG >= 2.1 this limitation does not exist.\nSee {@link Crypt_GPG::deletePrivateKey()}.\n\n@param string $keyId either the full uid of the public key, the email\npart of the uid of the public key or the key id of\nthe public key. For example,\n\"Test User (example) \",\n\"test@example.com\" or a hexadecimal string.\n\n@return void\n\n@throws Crypt_GPG_KeyNotFoundException if a public key with the given\n$keyId is not found.\n\n@throws Crypt_GPG_DeletePrivateKeyException if the specified public key\nhas an associated private key on the keyring. The private key\nmust be deleted first (when using GnuPG < 2.1).\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Deletes", "a", "public", "key", "from", "the", "keyring"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L448-L469", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.getFingerprint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a key fingerprint from the keyring\n\nIf more than one key fingerprint is available (for example, if you use\na non-unique user id) only the first key fingerprint is returned.\n\nCalls the GPG --list-keys command with the\n--with-fingerprint option to retrieve a public key\nfingerprint.\n\n@param string $keyId either the full user id of the key, the email\npart of the user id of the key, or the key id of\nthe key. For example,\n\"Test User (example) \",\n\"test@example.com\" or a hexadecimal string.\n@param integer $format optional. How the fingerprint should be formatted.\nUse {@link Crypt_GPG::FORMAT_X509} for X.509\ncertificate format,\n{@link Crypt_GPG::FORMAT_CANONICAL} for the format\nused by GnuPG output and\n{@link Crypt_GPG::FORMAT_NONE} for no formatting.\nDefaults to Crypt_GPG::FORMAT_NONE.\n\n@return string the fingerprint of the key, or null if no fingerprint\nis found for the given $keyId.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Gets", "a", "key", "fingerprint", "from", "the", "keyring"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L585-L624", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts string data\n\nData is ASCII armored by default but may optionally be returned as\nbinary.\n\n@param string $data the data to be encrypted.\n@param boolean $armor optional. If true, ASCII armored data is returned;\notherwise, binary data is returned. Defaults to\ntrue.\n\n@return string the encrypted data.\n\n@throws Crypt_GPG_KeyNotFoundException if no encryption key is specified.\nSee {@link Crypt_GPG::addEncryptKey()}.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@sensitive $data", "docstring_tokens": ["Encrypts", "string", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L664-L667", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.encryptFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts a file\n\nEncrypted data is ASCII armored by default but may optionally be saved\nas binary.\n\n@param string $filename the filename of the file to encrypt.\n@param string $encryptedFile optional. The filename of the file in\nwhich to store the encrypted data. If null\nor unspecified, the encrypted data is\nreturned as a string.\n@param boolean $armor optional. If true, ASCII armored data is\nreturned; otherwise, binary data is\nreturned. Defaults to true.\n\n@return void|string if the $encryptedFile parameter is null,\na string containing the encrypted data is returned.\n\n@throws Crypt_GPG_KeyNotFoundException if no encryption key is specified.\nSee {@link Crypt_GPG::addEncryptKey()}.\n\n@throws Crypt_GPG_FileException if the output file is not writeable or\nif the input file is not readable.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Encrypts", "a", "file"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L700-L706", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.encryptAndSign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts and signs data\n\nData is encrypted and signed in a single pass.\n\nNOTE: Until GnuPG version 1.4.10, it was not possible to verify\nencrypted-signed data without decrypting it at the same time. If you try\nto use {@link Crypt_GPG::verify()} method on encrypted-signed data with\nearlier GnuPG versions, you will get an error. Please use\n{@link Crypt_GPG::decryptAndVerify()} to verify encrypted-signed data.\n\n@param string $data the data to be encrypted and signed.\n@param boolean $armor optional. If true, ASCII armored data is returned;\notherwise, binary data is returned. Defaults to\ntrue.\n\n@return string the encrypted signed data.\n\n@throws Crypt_GPG_KeyNotFoundException if no encryption key is specified\nor if no signing key is specified. See\n{@link Crypt_GPG::addEncryptKey()} and\n{@link Crypt_GPG::addSignKey()}.\n\n@throws Crypt_GPG_BadPassphraseException if a specified passphrase is\nincorrect or if a required passphrase is not specified.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@see Crypt_GPG::decryptAndVerify()", "docstring_tokens": ["Encrypts", "and", "signs", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L743-L746", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.encryptAndSignFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts and signs a file\n\nThe file is encrypted and signed in a single pass.\n\nNOTE: Until GnuPG version 1.4.10, it was not possible to verify\nencrypted-signed files without decrypting them at the same time. If you\ntry to use {@link Crypt_GPG::verify()} method on encrypted-signed files\nwith earlier GnuPG versions, you will get an error. Please use\n{@link Crypt_GPG::decryptAndVerifyFile()} to verify encrypted-signed\nfiles.\n\n@param string $filename the name of the file containing the data to\nbe encrypted and signed.\n@param string $signedFile optional. The name of the file in which the\nencrypted, signed data should be stored. If\nnull or unspecified, the encrypted, signed\ndata is returned as a string.\n@param boolean $armor optional. If true, ASCII armored data is\nreturned; otherwise, binary data is returned.\nDefaults to true.\n\n@return void|string if the $signedFile parameter is null, a\nstring containing the encrypted, signed data is\nreturned.\n\n@throws Crypt_GPG_KeyNotFoundException if no encryption key is specified\nor if no signing key is specified. See\n{@link Crypt_GPG::addEncryptKey()} and\n{@link Crypt_GPG::addSignKey()}.\n\n@throws Crypt_GPG_BadPassphraseException if a specified passphrase is\nincorrect or if a required passphrase is not specified.\n\n@throws Crypt_GPG_FileException if the output file is not writeable or\nif the input file is not readable.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@see Crypt_GPG::decryptAndVerifyFile()", "docstring_tokens": ["Encrypts", "and", "signs", "a", "file"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L794-L800", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.decryptAndVerify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts and verifies string data\n\nThis method assumes the required private key is available in the keyring\nand throws an exception if the private key is not available. To add a\nprivate key to the keyring, use the {@link Crypt_GPG::importKey()} or\n{@link Crypt_GPG::importKeyFile()} methods.\n\n@param string $encryptedData the encrypted, signed data to be decrypted\nand verified.\n@param boolean $ignoreVerifyErrors enables ignoring of signature\nverification errors caused by missing public key\nWhen enabled Crypt_GPG_KeyNotFoundException\nwill not be thrown.\n\n@return array two element array. The array has an element 'data'\ncontaining the decrypted data and an element\n'signatures' containing an array of\n{@link Crypt_GPG_Signature} objects for the signed data.\n\n@throws Crypt_GPG_KeyNotFoundException if the private key needed to\ndecrypt the data or the public key to verify the signature\nis not in the user's keyring.\n\n@throws Crypt_GPG_NoDataException if specified data does not contain\nGPG encrypted data.\n\n@throws Crypt_GPG_BadPassphraseException if a required passphrase is\nincorrect or if a required passphrase is not specified. See\n{@link Crypt_GPG::addDecryptKey()}.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Decrypts", "and", "verifies", "string", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L917-L920", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.decryptAndVerifyFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts and verifies a signed, encrypted file\n\nThis method assumes the required private key is available in the keyring\nand throws an exception if the private key is not available. To add a\nprivate key to the keyring, use the {@link Crypt_GPG::importKey()} or\n{@link Crypt_GPG::importKeyFile()} methods.\n\n@param string $encryptedFile the name of the signed, encrypted file to\nto decrypt and verify.\n@param string $decryptedFile optional. The name of the file to which the\ndecrypted data should be written. If null\nor unspecified, the decrypted data is\nreturned in the results array.\n@param boolean $ignoreVerifyErrors enables ignoring of signature\nverification errors caused by missing public key\nWhen enabled Crypt_GPG_KeyNotFoundException\nwill not be thrown.\n\n@return array two element array. The array has an element 'data'\ncontaining the decrypted data and an element\n'signatures' containing an array of\n{@link Crypt_GPG_Signature} objects for the signed data.\nIf the decrypted data is written to a file, the 'data'\nelement is null.\n\n@throws Crypt_GPG_KeyNotFoundException if the private key needed to\ndecrypt the data or the public key to verify the signature\nis not in the user's keyring.\n\n@throws Crypt_GPG_NoDataException if specified data does not contain\nGPG encrypted data.\n\n@throws Crypt_GPG_BadPassphraseException if a required passphrase is\nincorrect or if a required passphrase is not specified. See\n{@link Crypt_GPG::addDecryptKey()}.\n\n@throws Crypt_GPG_FileException if the output file is not writeable or\nif the input file is not readable.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Decrypts", "and", "verifies", "a", "signed", "encrypted", "file"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L969-L972", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.signFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Signs a file\n\nThe file may be signed using any one of the three available signing\nmodes:\n- {@link Crypt_GPG::SIGN_MODE_NORMAL}\n- {@link Crypt_GPG::SIGN_MODE_CLEAR}\n- {@link Crypt_GPG::SIGN_MODE_DETACHED}\n\n@param string $filename the name of the file containing the data to\nbe signed.\n@param string $signedFile optional. The name of the file in which the\nsigned data should be stored. If null or\nunspecified, the signed data is returned as a\nstring.\n@param int $mode optional. The data signing mode to use. Should\nbe one of {@link Crypt_GPG::SIGN_MODE_NORMAL},\n{@link Crypt_GPG::SIGN_MODE_CLEAR} or\n{@link Crypt_GPG::SIGN_MODE_DETACHED}. If not\nspecified, defaults to\nCrypt_GPG::SIGN_MODE_NORMAL.\n@param boolean $armor optional. If true, ASCII armored data is\nreturned; otherwise, binary data is returned.\nDefaults to true. This has no effect if the\nmode Crypt_GPG::SIGN_MODE_CLEAR is\nused.\n@param boolean $textmode optional. If true, line-breaks in signed data\nare normalized. Use this option when signing\ne-mail, or for greater compatibility between\nsystems with different line-break formats.\nDefaults to false. This has no effect if the\nmode Crypt_GPG::SIGN_MODE_CLEAR is\nused as clear-signing always uses textmode.\n\n@return void|string if the $signedFile parameter is null, a\nstring containing the signed data (or the signature\ndata if a detached signature is requested) is\nreturned.\n\n@throws Crypt_GPG_KeyNotFoundException if no signing key is specified.\nSee {@link Crypt_GPG::addSignKey()}.\n\n@throws Crypt_GPG_BadPassphraseException if a specified passphrase is\nincorrect or if a required passphrase is not specified.\n\n@throws Crypt_GPG_FileException if the output file is not writeable or\nif the input file is not readable.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Signs", "a", "file"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1082-L1097", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.addDecryptKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a key to use for decryption\n\n@param mixed $key the key to use. This may be a key identifier,\nuser id, fingerprint, {@link Crypt_GPG_Key} or\n{@link Crypt_GPG_SubKey}. The key must be able\nto encrypt.\n@param string $passphrase optional. The passphrase of the key required\nfor decryption.\n\n@return Crypt_GPG the current object, for fluent interface.\n\n@see Crypt_GPG::decrypt()\n@see Crypt_GPG::decryptFile()\n@see Crypt_GPG::clearDecryptKeys()\n@see Crypt_GPG::_addKey()\n\n@sensitive $passphrase", "docstring_tokens": ["Adds", "a", "key", "to", "use", "for", "decryption"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1197-L1201", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.addEncryptKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a key to use for encryption\n\n@param mixed $key the key to use. This may be a key identifier, user id\nuser id, fingerprint, {@link Crypt_GPG_Key} or\n{@link Crypt_GPG_SubKey}. The key must be able to\nencrypt.\n\n@return Crypt_GPG the current object, for fluent interface.\n\n@see Crypt_GPG::encrypt()\n@see Crypt_GPG::encryptFile()\n@see Crypt_GPG::clearEncryptKeys()\n@see Crypt_GPG::_addKey()", "docstring_tokens": ["Adds", "a", "key", "to", "use", "for", "encryption"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1221-L1225", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG.addSignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a key to use for signing\n\n@param mixed $key the key to use. This may be a key identifier,\nuser id, fingerprint, {@link Crypt_GPG_Key} or\n{@link Crypt_GPG_SubKey}. The key must be able\nto sign.\n@param string $passphrase optional. The passphrase of the key required\nfor signing.\n\n@return Crypt_GPG the current object, for fluent interface.\n\n@see Crypt_GPG::sign()\n@see Crypt_GPG::signFile()\n@see Crypt_GPG::clearSignKeys()\n@see Crypt_GPG::_addKey()\n\n@sensitive $passphrase", "docstring_tokens": ["Adds", "a", "key", "to", "use", "for", "signing"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1249-L1253", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._addKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a key to one of the internal key arrays\n\nThis handles resolving full key objects from the provided\n$key value.\n\n@param array &$array the array to which the key should be added.\n@param boolean $encrypt whether or not the key must be able to\nencrypt.\n@param boolean $sign whether or not the key must be able to sign.\n@param mixed $key the key to add. This may be a key identifier,\nuser id, fingerprint, {@link Crypt_GPG_Key} or\n{@link Crypt_GPG_SubKey}.\n@param string $passphrase optional. The passphrase associated with the\nkey.\n\n@return void\n\n@sensitive $passphrase", "docstring_tokens": ["Adds", "a", "key", "to", "one", "of", "the", "internal", "key", "arrays"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1410-L1481", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._importKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Imports a public or private key into the keyring\n\n@param string $key the key to be imported.\n@param boolean $isFile whether or not the input is a filename.\n\n@return array an associative array containing the following elements:\n- fingerprint - the fingerprint of the\nimported key,\n- public_imported - the number of public\nkeys imported,\n- public_unchanged - the number of unchanged\npublic keys,\n- private_imported - the number of private\nkeys imported,\n- private_unchanged - the number of unchanged\nprivate keys.\n\n@throws Crypt_GPG_NoDataException if the key data is missing or if the\ndata is is not valid key data.\n\n@throws Crypt_GPG_FileException if the key file is not readable.\n\n@throws Crypt_GPG_BadPassphraseException if a required passphrase is\nincorrect or if a required passphrase is not specified. See\n{@link Crypt_GPG::addPassphrase()}.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Imports", "a", "public", "or", "private", "key", "into", "the", "keyring"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1517-L1541", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._exportKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exports a private or public key from the keyring\n\nIf more than one key fingerprint is available for the specified\n$keyId (for example, if you use a non-unique uid) only the\nfirst key is exported.\n\n@param string $keyId either the full uid of the key, the email\npart of the uid of the key or the key id.\n@param boolean $armor optional. If true, ASCII armored data is returned;\notherwise, binary data is returned. Defaults to\ntrue.\n@param boolean $private return private instead of public key\n\n@return string the key data.\n\n@throws Crypt_GPG_KeyNotFoundException if a key with the given\n$keyId is not found.\n\n@throws Crypt_GPG_BadPassphraseException if a required passphrase is\nincorrect or if a required passphrase is not specified. See\n{@link Crypt_GPG::addPassphrase()}.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.", "docstring_tokens": ["Exports", "a", "private", "or", "public", "key", "from", "the", "keyring"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1573-L1597", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._decryptAndVerify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts and verifies encrypted, signed data\n\n@param string $data the encrypted signed data to be decrypted and\nverified.\n@param boolean $isFile whether or not the data is a filename.\n@param string $outputFile the name of the file to which the decrypted\ndata should be written. If null, the decrypted\ndata is returned in the results array.\n@param boolean $ignoreVerifyErrors enables ignoring of signature verification\nerrors caused by missing public key.\nWhen enabled Crypt_GPG_KeyNotFoundException\nwill not be thrown.\n\n@return array two element array. The array has an element 'data'\ncontaining the decrypted data and an element\n'signatures' containing an array of\n{@link Crypt_GPG_Signature} objects for the signed data.\nIf the decrypted data is written to a file, the 'data'\nelement is null.\n\n@throws Crypt_GPG_KeyNotFoundException if the private key needed to\ndecrypt the data is not in the user's keyring or if the public\nkey needed for verification is not in the user's keyring.\n\n@throws Crypt_GPG_NoDataException if specified data does not contain\nGPG signed, encrypted data.\n\n@throws Crypt_GPG_BadPassphraseException if a required passphrase is\nincorrect or if a required passphrase is not specified. See\n{@link Crypt_GPG::addDecryptKey()}.\n\n@throws Crypt_GPG_FileException if the output file is not writeable or\nif the input file is not readable.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@see Crypt_GPG_Signature", "docstring_tokens": ["Decrypts", "and", "verifies", "encrypted", "signed", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L1976-L1999", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._prepareInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares command input\n\n@param string $data the input data.\n@param boolean $isFile whether or not the input is a filename.\n@param boolean $allowEmpty whether to check if the input is not empty.\n\n@throws Crypt_GPG_NoDataException if the key data is missing.\n@throws Crypt_GPG_FileException if the file is not readable.", "docstring_tokens": ["Prepares", "command", "input"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L2014-L2036", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG.php", "func_name": "Crypt_GPG._prepareOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares command output\n\n@param string $outputFile the name of the file in which the output\ndata should be stored. If null, the output\ndata is returned as a string.\n@param boolean $input the input resource, in case it would need\nto be released (closed) on exception.\n\n@throws Crypt_GPG_FileException if the file is not writeable.", "docstring_tokens": ["Prepares", "command", "output"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG.php#L2052-L2071", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPGAbstract.php", "func_name": "Crypt_GPGAbstract._getKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available keys in the keyring\n\nCalls GPG with the --list-keys command and grabs keys. See\nthe first section of doc/DETAILS in the\n{@link http://www.gnupg.org/download/ GPG package} for a detailed\ndescription of how the GPG command output is parsed.\n\n@param string $keyId optional. Only keys with that match the specified\npattern are returned. The pattern may be part of\na user id, a key id or a key fingerprint. If not\nspecified, all keys are returned.\n\n@return array an array of {@link Crypt_GPG_Key} objects. If no keys\nmatch the specified $keyId an empty array is\nreturned.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@see Crypt_GPG_Key", "docstring_tokens": ["Gets", "the", "available", "keys", "in", "the", "keyring"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPGAbstract.php#L353-L457", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.sendCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a command to the GPG subprocess over the command file-descriptor\npipe\n\n@param string $command the command to send.\n\n@return void\n\n@sensitive $command", "docstring_tokens": ["Sends", "a", "command", "to", "the", "GPG", "subprocess", "over", "the", "command", "file", "-", "descriptor", "pipe"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L789-L794", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the GPG engine, preparing it for a new operation\n\n@return void\n\n@see Crypt_GPG_Engine::run()\n@see Crypt_GPG_Engine::setOperation()", "docstring_tokens": ["Resets", "the", "GPG", "engine", "preparing", "it", "for", "a", "new", "operation"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L807-L828", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the current GPG operation.\n\nThis creates and manages the GPG subprocess.\nThis will close input/output file handles.\n\nThe operation must be set with {@link Crypt_GPG_Engine::setOperation()}\nbefore this method is called.\n\n@return void\n\n@throws Crypt_GPG_InvalidOperationException if no operation is specified.\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\n\n@see Crypt_GPG_Engine::reset()\n@see Crypt_GPG_Engine::setOperation()", "docstring_tokens": ["Runs", "the", "current", "GPG", "operation", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L850-L862", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.setOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the operation to perform\n\n@param string $operation the operation to perform. This should be one\nof GPG's operations. For example,\n--encrypt, --decrypt,\n--sign, etc.\n@param array $arguments optional. Additional arguments for the GPG\nsubprocess. See the GPG manual for specific\nvalues.\n\n@return void\n\n@see Crypt_GPG_Engine::reset()\n@see Crypt_GPG_Engine::run()", "docstring_tokens": ["Sets", "the", "operation", "to", "perform"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L939-L945", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.setPins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the PINENTRY_USER_DATA environment variable with the currently\nadded keys and passphrases\n\nKeys and passphrases are stored as an indexed array of passphrases\nin JSON encoded to a flat string.\n\nFor GnuPG 2.x this is how passphrases are passed. For GnuPG 1.x the\nenvironment variable is set but not used.\n\n@param array $keys the internal key array to use.\n\n@return void", "docstring_tokens": ["Sets", "the", "PINENTRY_USER_DATA", "environment", "variable", "with", "the", "currently", "added", "keys", "and", "passphrases"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L964-L973", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the version of the GnuPG binary\n\n@return string a version number string containing the version of GnuPG\nbeing used. This value is suitable to use with PHP's\nversion_compare() function.\n\n@throws Crypt_GPG_Exception if an unknown or unexpected error occurs.\nUse the debug option and file a bug report if these\nexceptions occur.\n\n@throws Crypt_GPG_UnsupportedException if the provided binary is not\nGnuPG or if the GnuPG version is less than 1.0.2.", "docstring_tokens": ["Gets", "the", "version", "of", "the", "GnuPG", "binary"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L992-L1037", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.getProcessData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data from the last process execution.\n\n@param string $name Data element name (e.g. 'SignatureInfo')\n\n@return mixed\n@see Crypt_GPG_ProcessHandler::getData()", "docstring_tokens": ["Get", "data", "from", "the", "last", "process", "execution", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1050-L1068", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine.setProcessData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set some data for the process execution.\n\n@param string $name Data element name (e.g. 'Handle')\n@param mixed $value Data value\n\n@return void", "docstring_tokens": ["Set", "some", "data", "for", "the", "process", "execution", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1081-L1086", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._closeSubprocess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the internal GPG subprocess\n\nCloses the internal GPG subprocess. Sets the private class property\n{@link Crypt_GPG_Engine::$_process} to null.\n\n@return void\n\n@see Crypt_GPG_Engine::_openSubprocess()\n@see Crypt_GPG_Engine::$_process", "docstring_tokens": ["Closes", "the", "internal", "GPG", "subprocess"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1783-L1850", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._closeAgentLaunchProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes a the internal GPG-AGENT subprocess\n\nCloses the internal GPG-AGENT subprocess. Sets the private class property\n{@link Crypt_GPG_Engine::$_agentProcess} to null.\n\n@return void\n\n@see Crypt_GPG_Engine::_openSubprocess()\n@see Crypt_GPG_Engine::$_agentProcess", "docstring_tokens": ["Closes", "a", "the", "internal", "GPG", "-", "AGENT", "subprocess"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1866-L1885", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._closePipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes an opened pipe used to communicate with the GPG subprocess\n\nIf the pipe is already closed, it is ignored. If the pipe is open, it\nis flushed and then closed.\n\n@param integer $pipeNumber the file descriptor number of the pipe to\nclose.\n\n@return void", "docstring_tokens": ["Closes", "an", "opened", "pipe", "used", "to", "communicate", "with", "the", "GPG", "subprocess"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1901-L1909", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._closeIdleAgents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Forces automatically started gpg-agent process to cleanup and exit\nwithin a minute.\n\nThis is needed in GnuPG 2.1 where agents are started\nautomatically by gpg process, not our code.\n\n@return void", "docstring_tokens": ["Forces", "automatically", "started", "gpg", "-", "agent", "process", "to", "cleanup", "and", "exit", "within", "a", "minute", "."], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L1923-L1934", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._findBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the location of a binary for the current operating system\n\n@param string $name Name of a binary program\n\n@return string The location of the binary for the current operating\nsystem. If no suitable binary could be found, an empty\nstring is returned.", "docstring_tokens": ["Gets", "the", "location", "of", "a", "binary", "for", "the", "current", "operating", "system"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L2000-L2026", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._getPinEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the location of the PinEntry script\n\n@return string the location of the PinEntry script.", "docstring_tokens": ["Gets", "the", "location", "of", "the", "PinEntry", "script"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L2036-L2052", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Engine.php", "func_name": "Crypt_GPG_Engine._debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays debug text if debugging is turned on\n\nDebugging text is prepended with a debug identifier and echoed to stdout.\n\n@param string $text the debugging text to display.\n\n@return void", "docstring_tokens": ["Displays", "debug", "text", "if", "debugging", "is", "turned", "on"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Engine.php#L2066-L2083", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Key.php", "func_name": "Crypt_GPG_Key.getPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the primary sub-key of this key\n\nThe primary key is the first added sub-key.\n\n@return Crypt_GPG_SubKey the primary sub-key of this key.", "docstring_tokens": ["Gets", "the", "primary", "sub", "-", "key", "of", "this", "key"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Key.php#L128-L135", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Key.php", "func_name": "Crypt_GPG_Key.canSign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets whether or not this key can sign data\n\nThis key can sign data if any sub-key of this key can sign data.\n\n@return boolean true if this key can sign data and false if this key\ncannot sign data.", "docstring_tokens": ["Gets", "whether", "or", "not", "this", "key", "can", "sign", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Key.php#L148-L158", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/Key.php", "func_name": "Crypt_GPG_Key.canEncrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets whether or not this key can encrypt data\n\nThis key can encrypt data if any sub-key of this key can encrypt data.\n\n@return boolean true if this key can encrypt data and false if this\nkey cannot encrypt data.", "docstring_tokens": ["Gets", "whether", "or", "not", "this", "key", "can", "encrypt", "data"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/Key.php#L171-L181", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.setLogFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the log file location\n\n@param string $filename the new log filename to use. If an empty string\nis used, file-based logging is disabled.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Sets", "the", "log", "file", "location"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L271-L293", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs a message at the specified verbosity level\n\nIf a log file is used, the message is written to the log. Otherwise,\nthe message is sent to STDERR.\n\n@param string $data the message to log.\n@param integer $level the verbosity level above which the message should\nbe logged.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Logs", "a", "message", "at", "the", "specified", "verbosity", "level"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L352-L364", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects this pinentry to the assuan server\n\nOpens I/O streams and sends initial handshake.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Connects", "this", "pinentry", "to", "the", "assuan", "server"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L376-L394", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.parseCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses an assuan command and performs the appropriate action\n\nDocumentation of the assuan commands for pinentry is limited to\nnon-existent. Most of these commands were taken from the C source code\nto gpg-agent and pinentry.\n\nAdditional context was provided by using strace -f when calling the\ngpg-agent.\n\n@param string $line the assuan command line to parse\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Parses", "an", "assuan", "command", "and", "performs", "the", "appropriate", "action"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L413-L452", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.initPinsFromENV", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the PINs to be entered by this pinentry from the environment\nvariable PINENTRY_USER_DATA\n\nThe PINs are parsed from a JSON-encoded string.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Initializes", "the", "PINs", "to", "be", "entered", "by", "this", "pinentry", "from", "the", "environment", "variable", "PINENTRY_USER_DATA"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L465-L484", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.disconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disconnects this pinentry from the Assuan server\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Disconnects", "this", "pinentry", "from", "the", "Assuan", "server"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L494-L514", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.sendSetDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the currently requested key identifier and user identifier from\nthe description passed to this pinentry\n\n@param string $text the raw description sent from gpg-agent.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Parses", "the", "currently", "requested", "key", "identifier", "and", "user", "identifier", "from", "the", "description", "passed", "to", "this", "pinentry"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L540-L563", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.sendGetPin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the PIN value for the currently requested key\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Sends", "the", "PIN", "value", "for", "the", "currently", "requested", "key"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L617-L649", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.sendGetInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends information about this pinentry\n\n@param string $data the information requested by the assuan server.\nCurrently only 'pid' is supported. Other requests\nreturn no information.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Sends", "information", "about", "this", "pinentry"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L663-L676", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets data ready to send to the assuan server\n\nData is appropriately escaped and long lines are wrapped.\n\n@param string $data the data to send to the assuan server.\n\n@return string the properly escaped, formatted data.\n\n@see http://www.gnupg.org/documentation/manuals/assuan/Server-responses.html", "docstring_tokens": ["Gets", "data", "ready", "to", "send", "to", "the", "assuan", "server"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L756-L764", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.getWordWrappedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps strings at 1,000 bytes without splitting UTF-8 multibyte\ncharacters\n\nEach line is prepended with the specified line prefix. Wrapped lines\nare automatically appended with \\ characters.\n\nProtocol strings are UTF-8 but maximum line length is 1,000 bytes.\nmb_strcut() is used so we can limit line length by bytes\nand not split characters across multiple lines.\n\n@param string $data the data to wrap.\n@param string $prefix a single character to use as the line prefix. For\nexample, 'D' or '#'.\n\n@return string the word-wrapped, prefixed string.\n\n@see http://www.gnupg.org/documentation/manuals/assuan/Server-responses.html", "docstring_tokens": ["Wraps", "strings", "at", "1", "000", "bytes", "without", "splitting", "UTF", "-", "8", "multibyte", "characters"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L805-L828", "partition": "test"} +{"repo": "pear/Crypt_GPG", "path": "Crypt/GPG/PinEntry.php", "func_name": "Crypt_GPG_PinEntry.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends raw data to the assuan server\n\n@param string $data the data to send.\n\n@return Crypt_GPG_PinEntry the current object, for fluent interface.", "docstring_tokens": ["Sends", "raw", "data", "to", "the", "assuan", "server"], "sha": "bf07ab51207446ed33ea0075083df9bbc2358617", "url": "https://github.com/pear/Crypt_GPG/blob/bf07ab51207446ed33ea0075083df9bbc2358617/Crypt/GPG/PinEntry.php#L840-L846", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/JedGenerator.php", "func_name": "JedGenerator.buildMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an array with all translations.\n\n@param Translations $translations\n\n@return array", "docstring_tokens": ["Generates", "an", "array", "with", "all", "translations", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/JedGenerator.php#L51-L81", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/PotGenerator.php", "func_name": "PotGenerator.setCommentBeforeHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Text to include as a comment before the start of the PO contents\n\nDoesn't need to include # in the beginning of lines, these are added automatically.\n\n@param string $comment File comment.", "docstring_tokens": ["Text", "to", "include", "as", "a", "comment", "before", "the", "start", "of", "the", "PO", "contents"], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/PotGenerator.php#L24-L32", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/PotGenerator.php", "func_name": "PotGenerator.addLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one or more lines depending whether the string is multiline or not.\n\n@param array &$lines Array lines should be added to.\n@param string $name Name of the line, e.g. msgstr or msgid_plural.\n@param string $value The line to add.", "docstring_tokens": ["Add", "one", "or", "more", "lines", "depending", "whether", "the", "string", "is", "multiline", "or", "not", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/PotGenerator.php#L126-L138", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.get_main_file_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the main file data of the plugin or theme.\n\n@return array", "docstring_tokens": ["Retrieves", "the", "main", "file", "data", "of", "the", "plugin", "or", "theme", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L418-L472", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.extract_strings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a POT file and stores it on disk.\n\n@throws WP_CLI\\ExitException\n\n@return Translations A Translation set.", "docstring_tokens": ["Creates", "a", "POT", "file", "and", "stores", "it", "on", "disk", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L518-L607", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.get_file_comment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the copyright comment for the given package.\n\n@return string File comment.", "docstring_tokens": ["Returns", "the", "copyright", "comment", "for", "the", "given", "package", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L733-L779", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.set_default_headers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets default POT file headers for the project.\n\n@param Translations $translations Translations object.", "docstring_tokens": ["Sets", "default", "POT", "file", "headers", "for", "the", "project", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L786-L822", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.get_file_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves metadata from a file.\n\nSearches for metadata in the first 8kiB of a file, such as a plugin or theme.\nEach piece of metadata must be on its own line. Fields can not span multiple\nlines, the value will get cut at the end of the first line.\n\nIf the file data is not within that first 8kiB, then the author should correct\ntheir plugin file and move the data headers to the top.\n\n@see get_file_data()\n\n@param string $file Path to the file.\n@param array $headers List of headers, in the format array('HeaderKey' => 'Header Name').\n\n@return array Array of file headers in `HeaderKey => Header Value` format.", "docstring_tokens": ["Retrieves", "metadata", "from", "a", "file", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L855-L869", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakePotCommand.php", "func_name": "MakePotCommand.get_file_data_from_string", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves metadata from a string.\n\n@param string $string String to look for metadata in.\n@param array $headers List of headers.\n\n@return array Array of file headers in `HeaderKey => Header Value` format.", "docstring_tokens": ["Retrieves", "metadata", "from", "a", "string", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakePotCommand.php#L879-L889", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/JsFunctionsScanner.php", "func_name": "JsFunctionsScanner.resolveExpressionCallee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the callee of a call expression using known formats.\n\n@param Node\\CallExpression $node The call expression whose callee to resolve.\n\n@return array|bool Array containing the name and comments of the identifier if resolved. False if not.", "docstring_tokens": ["Resolve", "the", "callee", "of", "a", "call", "expression", "using", "known", "formats", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/JsFunctionsScanner.php#L167-L227", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/JsFunctionsScanner.php", "func_name": "JsFunctionsScanner.commentPrecedesNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns wether or not a comment precedes a node.\nThe comment must be before the node and on the same line or the one before.\n\n@param Node\\Comment $comment The comment.\n@param Node\\Node $node The node.\n\n@return bool Whether or not the comment precedes the node.", "docstring_tokens": ["Returns", "wether", "or", "not", "a", "comment", "precedes", "a", "node", ".", "The", "comment", "must", "be", "before", "the", "node", "and", "on", "the", "same", "line", "or", "the", "one", "before", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/JsFunctionsScanner.php#L238-L253", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/IterableCodeExtractor.php", "func_name": "IterableCodeExtractor.calculateMatchScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether a file is valid based on given matchers.\n\n@param SplFileInfo $file File or directory.\n@param array $matchers List of files and directories to match.\n@return int How strongly the file is matched.", "docstring_tokens": ["Determines", "whether", "a", "file", "is", "valid", "based", "on", "given", "matchers", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/IterableCodeExtractor.php#L101-L146", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/IterableCodeExtractor.php", "func_name": "IterableCodeExtractor.containsMatchingChildren", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether or not a directory has children that may be matched.\n\n@param SplFileInfo $dir Directory.\n@param array $matchers List of files and directories to match.\n@return bool Whether or not there are any matchers for children of this directory.", "docstring_tokens": ["Determines", "whether", "or", "not", "a", "directory", "has", "children", "that", "may", "be", "matched", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/IterableCodeExtractor.php#L155-L186", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/IterableCodeExtractor.php", "func_name": "IterableCodeExtractor.getFilesFromDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively gets all PHP files within a directory.\n\n@param string $dir A path of a directory.\n@param array $include List of files and directories to include.\n@param array $exclude List of files and directories to skip.\n@param array $extensions List of filename extensions to process.\n\n@return array File list.", "docstring_tokens": ["Recursively", "gets", "all", "PHP", "files", "within", "a", "directory", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/IterableCodeExtractor.php#L198-L238", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakeJsonCommand.php", "func_name": "MakeJsonCommand.make_json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits a single PO file into multiple JSON files.\n\n@param string $source_file Path to the source file.\n@param string $destination Path to the destination directory.\n@return array List of created JSON files.", "docstring_tokens": ["Splits", "a", "single", "PO", "file", "into", "multiple", "JSON", "files", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakeJsonCommand.php#L120-L179", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakeJsonCommand.php", "func_name": "MakeJsonCommand.build_json_files", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a mapping of JS file names to translation entries.\n\nExports translations for each JS file to a separate translation file.\n\n@param array $mapping A mapping of files to translation entries.\n@param string $base_file_name Base file name for JSON files.\n@param string $destination Path to the destination directory.\n\n@return array List of created JSON files.", "docstring_tokens": ["Builds", "a", "mapping", "of", "JS", "file", "names", "to", "translation", "entries", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakeJsonCommand.php#L192-L220", "partition": "test"} +{"repo": "wp-cli/i18n-command", "path": "src/MakeJsonCommand.php", "func_name": "MakeJsonCommand.remove_js_strings_from_po_file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes strings from PO file that only occur in JavaScript file.\n\n@param string $source_file Path to the PO file.\n@return bool True on success, false otherwise.", "docstring_tokens": ["Removes", "strings", "from", "PO", "file", "that", "only", "occur", "in", "JavaScript", "file", "."], "sha": "e52a9a602772339a0f844bd5e9a9ac8cc8b490ea", "url": "https://github.com/wp-cli/i18n-command/blob/e52a9a602772339a0f844bd5e9a9ac8cc8b490ea/src/MakeJsonCommand.php#L228-L253", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.markUpdatesSuccessful", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks a list of updates as successful.\n\n@param array $names\nArray of update ids.\n@param bool $checkListPoints\nIndicates the corresponding checkbox should be checked.\n\n@throws \\Drupal\\Core\\Entity\\EntityStorageException", "docstring_tokens": ["Marks", "a", "list", "of", "updates", "as", "successful", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L94-L102", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.markAllUpdates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks a list of updates.\n\n@param bool $status\nCheckboxes enabled or disabled.\n\n@throws \\Drupal\\Core\\Entity\\EntityStorageException", "docstring_tokens": ["Marks", "a", "list", "of", "updates", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L127-L143", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.setSuccessfulByHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set status for update keys.\n\n@param array $keys\nKeys for update entries.\n@param bool $status\nStatus that should be set.\n\n@throws \\Drupal\\Core\\Entity\\EntityStorageException", "docstring_tokens": ["Set", "status", "for", "update", "keys", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L155-L169", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.checkListPoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks an array of bulletpoints on a checklist.\n\n@param array $names\nArray of the bulletpoints.", "docstring_tokens": ["Checks", "an", "array", "of", "bulletpoints", "on", "a", "checklist", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L177-L197", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.checkAllListPoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks all the bulletpoints on a checklist.\n\n@param bool $status\nCheckboxes enabled or disabled.", "docstring_tokens": ["Checks", "all", "the", "bulletpoints", "on", "a", "checklist", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L205-L238", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/UpdateChecklist.php", "func_name": "UpdateChecklist.saveProgress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates and saves progress of the update checklist.\n\n@param array $values\nTwo dimensional array with structure \"version_key\" => [\"checkbox_id\" => TRUE|FALSE]\n\n@throws \\Drupal\\Core\\Entity\\EntityStorageException", "docstring_tokens": ["Updates", "and", "saves", "progress", "of", "the", "update", "checklist", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/UpdateChecklist.php#L248-L311", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_p_help/src/Controller/SupportController.php", "func_name": "SupportController.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prints a page about Droopler distribution.\n\n@return array\nA render array for the info page.", "docstring_tokens": ["Prints", "a", "page", "about", "Droopler", "distribution", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_p_help/src/Controller/SupportController.php#L18-L30", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/ConfigManager.php", "func_name": "ConfigManager.generateHashFromDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates hash for the specified config.\n\n@param string $configName\nFull name of the config, eg node.type.content_page.\n\n@return bool|string\nReturns hash or false if there is no config with provided name.", "docstring_tokens": ["Generates", "hash", "for", "the", "specified", "config", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/ConfigManager.php#L26-L38", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/ConfigManager.php", "func_name": "ConfigManager.compare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares config name hash wit provided hash.\n\n@param string $configName\nFull name of the config, eg node.type.content_page.\n@param string $hash\nOptional argument with hash.\n\n@return bool\nReturns true if hashes are the same or hash was not provided, false on different hashes.", "docstring_tokens": ["Compares", "config", "name", "hash", "wit", "provided", "hash", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/ConfigManager.php#L51-L58", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/Updater.php", "func_name": "Updater.importConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import a config file.\n\n@param string $module\nModule name.\n@param string $name\nConfig file name without .yml extension.\n@param string $hash\nHashed array with config data.\n\n@return bool\nReturns if config was imported successfully.", "docstring_tokens": ["Import", "a", "config", "file", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/Updater.php#L95-L104", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/Updater.php", "func_name": "Updater.importConfigs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import many config files at once.\n\n@param array $configs\nTwo dimensional array with structure \"module_name\" => [\"config_file_name\" => \"config_hash\"]\n\n@return bool\nReturns if all of the configs were imported successfully.", "docstring_tokens": ["Import", "many", "config", "files", "at", "once", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/Updater.php#L115-L124", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_update/src/Updater.php", "func_name": "Updater.installModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Install modules.\n\n@param array $modules\nNumeric array with module names.\n@param bool $enableDependencies\nShould dependencies for modules be enabled.\n\n@return bool\nReturns if modules were installed successfully.\n\n@throws \\Drupal\\Core\\Extension\\MissingDependencyException", "docstring_tokens": ["Install", "modules", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_update/src/Updater.php#L139-L151", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php", "func_name": "DownloadFile.checkLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check link to download file.\n\n@param string $link_hash\nLink Hash.\n@param string $paragraph_id\nParagraph id.\n\n@return array\nRender download page.", "docstring_tokens": ["Check", "link", "to", "download", "file", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php#L28-L52", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php", "func_name": "DownloadFile.checkLinkActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checking link was created before 24h.\n@param $entity", "docstring_tokens": ["Checking", "link", "was", "created", "before", "24h", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php#L74-L79", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php", "func_name": "DownloadFile.goHomeWithMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect to home page and show drupal message\n@param $message", "docstring_tokens": ["Redirect", "to", "home", "page", "and", "show", "drupal", "message"], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php#L85-L90", "partition": "test"} +{"repo": "droptica/droopler", "path": "modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php", "func_name": "DownloadFile.getFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send file to browsers.\n\n@param $file_hash\nFile link hash.\n\n@return \\Symfony\\Component\\HttpFoundation\\BinaryFileResponse\nReturn file.", "docstring_tokens": ["Send", "file", "to", "browsers", "."], "sha": "74a37c5b959f9111589802a30b6a5986cc7c3ef2", "url": "https://github.com/droptica/droopler/blob/74a37c5b959f9111589802a30b6a5986cc7c3ef2/modules/custom/d_p_subscribe_file/src/Controller/DownloadFile.php#L101-L109", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Source/Source.php", "func_name": "Source.getItemsFromData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an array of data items for rows from the set data.\n\n@return array", "docstring_tokens": ["Gets", "an", "array", "of", "data", "items", "for", "rows", "from", "the", "set", "data", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Source/Source.php#L186-L231", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Source/Source.php", "func_name": "Source.getTotalCountFromData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Total count of data items.\n\n@return int", "docstring_tokens": ["Get", "Total", "count", "of", "data", "items", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Source/Source.php#L552-L555", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Source/Source.php", "func_name": "Source.prepareStringForLikeCompare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares string to have almost the same behaviour as with a database,\nremoving accents and latin special chars.\n\n@param mixed $inputString\n@param string $type for array type, will serialize datas\n\n@return string the input, serialized for arrays or without accents for strings", "docstring_tokens": ["Prepares", "string", "to", "have", "almost", "the", "same", "behaviour", "as", "with", "a", "database", "removing", "accents", "and", "latin", "special", "chars", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Source/Source.php#L566-L575", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Source/Vector.php", "func_name": "Vector.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a two-dimentional array.\n\n@param array $data\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Set", "a", "two", "-", "dimentional", "array", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Source/Vector.php#L254-L274", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/GridFactory.php", "func_name": "GridFactory.resolveType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instance of type.\n\n@param string|GridTypeInterface $type The type of the grid\n\n@return GridTypeInterface", "docstring_tokens": ["Returns", "an", "instance", "of", "type", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/GridFactory.php#L99-L110", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/GridFactory.php", "func_name": "GridFactory.resolveOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the options resolved.\n\n@param GridTypeInterface $type\n@param Source $source\n@param array $options\n\n@return array", "docstring_tokens": ["Returns", "the", "options", "resolved", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/GridFactory.php#L121-L134", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Twig/DataGridExtension.php", "func_name": "DataGridExtension.getGrid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render grid block.\n\n@param Twig_Environment $environment\n@param \\APY\\DataGridBundle\\Grid\\Grid $grid\n@param string $theme\n@param string $id\n\n@return string", "docstring_tokens": ["Render", "grid", "block", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Twig/DataGridExtension.php#L181-L189", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Twig/DataGridExtension.php", "func_name": "DataGridExtension.getGridCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cell Drawing override.\n\n@param Twig_Environment $environment\n@param \\APY\\DataGridBundle\\Grid\\Column\\Column $column\n@param \\APY\\DataGridBundle\\Grid\\Row $row\n@param \\APY\\DataGridBundle\\Grid\\Grid $grid\n\n@return string", "docstring_tokens": ["Cell", "Drawing", "override", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Twig/DataGridExtension.php#L239-L262", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Twig/DataGridExtension.php", "func_name": "DataGridExtension.getGridFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter Drawing override.\n\n@param Twig_Environment $environment\n@param \\APY\\DataGridBundle\\Grid\\Column\\Column $column\n@param \\APY\\DataGridBundle\\Grid\\Grid $grid\n\n@return string", "docstring_tokens": ["Filter", "Drawing", "override", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Twig/DataGridExtension.php#L273-L292", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Twig/DataGridExtension.php", "func_name": "DataGridExtension.getGridColumnOperator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Column Operator Drawing override.\n\n@param Twig_Environment $environment\n@param \\APY\\DataGridBundle\\Grid\\Column\\Column $column\n@param \\APY\\DataGridBundle\\Grid\\Grid $grid\n\n@return string", "docstring_tokens": ["Column", "Operator", "Drawing", "override", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Twig/DataGridExtension.php#L303-L306", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Twig/DataGridExtension.php", "func_name": "DataGridExtension.hasBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Has block.\n\n@param Twig_Environment $environment\n@param $name string\n\n@return bool", "docstring_tokens": ["Has", "block", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Twig/DataGridExtension.php#L405-L415", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Helper/ORMCountWalker.php", "func_name": "ORMCountWalker.walkSelectStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Walks down a SelectStatement AST node, modifying it to retrieve a COUNT.\n\n@param SelectStatement $AST\n\n@throws \\RuntimeException", "docstring_tokens": ["Walks", "down", "a", "SelectStatement", "AST", "node", "modifying", "it", "to", "retrieve", "a", "COUNT", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Helper/ORMCountWalker.php#L46-L91", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets Source to the Grid.\n\n@param $source\n\n@throws \\InvalidArgumentException\n\n@return self", "docstring_tokens": ["Sets", "Source", "to", "the", "Grid", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L478-L492", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.isReadyForRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the grid redirection, export, etc..", "docstring_tokens": ["Handle", "the", "grid", "redirection", "export", "etc", ".."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L502-L545", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.processRequestData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads data from the request and write this data to the session.", "docstring_tokens": ["Reads", "data", "from", "the", "request", "and", "write", "this", "data", "to", "the", "session", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L600-L618", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.processMassActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process mass actions.\n\n@param int $actionId\n\n@throws \\RuntimeException\n@throws \\OutOfBoundsException", "docstring_tokens": ["Process", "mass", "actions", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L628-L672", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.processExports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process exports.\n\n@param int $exportId\n\n@throws \\OutOfBoundsException\n\n@return bool", "docstring_tokens": ["Process", "exports", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L683-L709", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.processFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store permanent filters to the session and disable the filter capability for the column if there are permanent filters.", "docstring_tokens": ["Store", "permanent", "filters", "to", "the", "session", "and", "disable", "the", "filter", "capability", "for", "the", "column", "if", "there", "are", "permanent", "filters", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L931-L966", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.processSessionData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures the grid with the data read from the session.", "docstring_tokens": ["Configures", "the", "grid", "with", "the", "data", "read", "from", "the", "session", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L982-L1011", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare Grid for Drawing.\n\n@throws \\Exception\n\n@return self", "docstring_tokens": ["Prepare", "Grid", "for", "Drawing", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1020-L1086", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes data to the session.\n\n@param string $key A unique key identifying the data\n@param mixed $data Data associated with the key", "docstring_tokens": ["Writes", "data", "to", "the", "session", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1122-L1134", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a column by its identifier.\n\n@param $columnId\n\n@return Column", "docstring_tokens": ["Get", "a", "column", "by", "its", "identifier", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1175-L1184", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.hasColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if column exists in columns and lazyAddColumn properties.\n\n@param $columnId\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "column", "exists", "in", "columns", "and", "lazyAddColumn", "properties", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1203-L1212", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setColumnsOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets order of Columns passing an array of column ids\nIf the list of ids is uncomplete, the remaining columns will be\nplaced after.\n\n@param array $columnIds\n@param bool $keepOtherColumns\n\n@return self", "docstring_tokens": ["Sets", "order", "of", "Columns", "passing", "an", "array", "of", "column", "ids", "If", "the", "list", "of", "ids", "is", "uncomplete", "the", "remaining", "columns", "will", "be", "placed", "after", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1238-L1243", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.addMassAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds Mass Action.\n\n@param Action\\MassActionInterface $action\n\n@return self", "docstring_tokens": ["Adds", "Mass", "Action", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1252-L1259", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.addTweak", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a tweak.\n\n@param string $title title of the tweak\n@param array $tweak array('filters' => array, 'order' => 'colomunId|order', 'page' => integer, 'limit' => integer, 'export' => integer, 'massAction' => integer)\n@param string $id id of the tweak matching the regex ^[0-9a-zA-Z_\\+-]+\n@param string $group group of the tweak\n\n@return self", "docstring_tokens": ["Add", "a", "tweak", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1281-L1295", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getTweaks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns tweaks\nAdd the url of the tweak.\n\n@return array", "docstring_tokens": ["Returns", "tweaks", "Add", "the", "url", "of", "the", "tweak", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1303-L1313", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getTweak", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a tweak.\n\n@return array", "docstring_tokens": ["Returns", "a", "tweak", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1325-L1333", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getTweaksGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns tweaks with a specific group.\n\n@return array", "docstring_tokens": ["Returns", "tweaks", "with", "a", "specific", "group", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1340-L1351", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.addRowAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds Row Action.\n\n@param Action\\RowActionInterface $action\n\n@return self", "docstring_tokens": ["Adds", "Row", "Action", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1367-L1374", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets template for export.\n\n@param \\Twig_Template|string $template\n\n@throws \\Exception\n\n@return self", "docstring_tokens": ["Sets", "template", "for", "export", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1395-L1409", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.addExport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds Export.\n\n@param ExportInterface $export\n\n@return self", "docstring_tokens": ["Adds", "Export", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1428-L1435", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getRouteUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns Route URL.\n\n@return string", "docstring_tokens": ["Returns", "Route", "URL", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1511-L1518", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for filters.\n\n@param array $filters Hash of columnName => initValue\n@param bool $permanent filters ?\n\n@return self", "docstring_tokens": ["Set", "value", "for", "filters", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1538-L1549", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setLimits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets Limits.\n\n@param mixed $limits e.g. 10, array(10, 1000) or array(10 => '10', 1000 => '1000')\n\n@throws \\InvalidArgumentException\n\n@return self", "docstring_tokens": ["Sets", "Limits", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1659-L1674", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getPageCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return count of available pages.\n\n@return float", "docstring_tokens": ["Return", "count", "of", "available", "pages", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1783-L1792", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.setMaxResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the max results of the grid.\n\n@param int $maxResults\n\n@throws \\InvalidArgumentException\n\n@return self", "docstring_tokens": ["Sets", "the", "max", "results", "of", "the", "grid", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1813-L1822", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.isTitleSectionVisible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if if title panel is visible in template - internal helper.\n\n@return bool", "docstring_tokens": ["Return", "true", "if", "if", "title", "panel", "is", "visible", "in", "template", "-", "internal", "helper", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1845-L1856", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.isFilterSectionVisible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if filter panel is visible in template - internal helper.\n\n@return bool", "docstring_tokens": ["Return", "true", "if", "filter", "panel", "is", "visible", "in", "template", "-", "internal", "helper", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1863-L1874", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.isPagerSectionVisible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if pager panel is visible in template - internal helper.\n\n@return bool return true if pager is visible", "docstring_tokens": ["Return", "true", "if", "pager", "panel", "is", "visible", "in", "template", "-", "internal", "helper", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L1881-L1891", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.showColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets on the visibility of columns.\n\n@param string|array $columnIds\n\n@return self", "docstring_tokens": ["Sets", "on", "the", "visibility", "of", "columns", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2039-L2046", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.hideColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets off the visiblilty of columns.\n\n@param string|array $columnIds\n\n@return self", "docstring_tokens": ["Sets", "off", "the", "visiblilty", "of", "columns", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2055-L2062", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getGridResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects or Renders a view - helper function.\n\n@param string|array $param1 The view name or an array of parameters to pass to the view\n@param string|array $param2 The view name or an array of parameters to pass to the view\n@param Response $response A response instance\n\n@return Response A Response instance", "docstring_tokens": ["Redirects", "or", "Renders", "a", "view", "-", "helper", "function", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2122-L2153", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getRawData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract raw data of columns.\n\n@param string|array $columnNames The name of the extract columns. If null, all the columns are return.\n@param bool $namedIndexes If sets to true, named indexes will be used\n\n@return array Raw data of columns", "docstring_tokens": ["Extract", "raw", "data", "of", "columns", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2163-L2187", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of the active filters of the grid stored in session.\n\n@throws \\Exception\n\n@return Filter[]", "docstring_tokens": ["Returns", "an", "array", "of", "the", "active", "filters", "of", "the", "grid", "stored", "in", "session", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2196-L2239", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.getFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the filter of a column stored in session.\n\n@param string $columnId\nId of the column\n\n@throws \\Exception\n\n@return Filter", "docstring_tokens": ["Returns", "the", "filter", "of", "a", "column", "stored", "in", "session", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2251-L2260", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Grid.php", "func_name": "Grid.hasFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A filter of the column is stored in session ?\n\n@param string $columnId\nId of the column\n\n@throws \\Exception\n\n@return bool", "docstring_tokens": ["A", "filter", "of", "the", "column", "is", "stored", "in", "session", "?"], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Grid.php#L2272-L2279", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Source/Entity.php", "func_name": "Entity.initQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the initial QueryBuilder for this DataGrid.\n\n@param QueryBuilder $queryBuilder", "docstring_tokens": ["Sets", "the", "initial", "QueryBuilder", "for", "this", "DataGrid", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Source/Entity.php#L351-L361", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.renderCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw cell.\n\n@param string $value\n@param Row $row\n@param $router\n\n@return string", "docstring_tokens": ["Draw", "cell", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L208-L220", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.isVisible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return column visibility.\n\n@return bool return true when column is visible", "docstring_tokens": ["Return", "column", "visibility", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L314-L323", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.setOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set column order.\n\n@param string $order asc|desc\n\n@return \\APY\\DataGridBundle\\Grid\\Column\\Column", "docstring_tokens": ["set", "column", "order", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L443-L451", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.setSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set column width.\n\n@param int $size in pixels\n\n@return \\APY\\DataGridBundle\\Grid\\Column\\Column", "docstring_tokens": ["Set", "column", "width", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L470-L479", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set filter data from session | request.\n\n@param $data\n\n@return \\APY\\DataGridBundle\\Grid\\Column\\Column", "docstring_tokens": ["set", "filter", "data", "from", "session", "|", "request", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L498-L519", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get filter data from session | request.\n\n@return array data", "docstring_tokens": ["get", "filter", "data", "from", "session", "|", "request", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L526-L547", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.setAlign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set column align.\n\n@param string $align left/right/center\n\n@return $this", "docstring_tokens": ["Set", "column", "align", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L614-L623", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/Column.php", "func_name": "Column.getOperators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return column filter operators.\n\n@return array $operators", "docstring_tokens": ["Return", "column", "filter", "operators", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/Column.php#L770-L788", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Columns.php", "func_name": "Columns.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add column.\n\n@param Column $column\n@param int $position\n\n@return Columns", "docstring_tokens": ["Add", "column", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Columns.php#L58-L77", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Columns.php", "func_name": "Columns.setColumnsOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets order of Columns passing an array of column ids\nIf the list of ids is uncomplete, the remaining columns will be\nplaced after if keepOtherColumns is true.\n\n@param array $columnIds\n@param bool $keepOtherColumns\n\n@return Columns", "docstring_tokens": ["Sets", "order", "of", "Columns", "passing", "an", "array", "of", "column", "ids", "If", "the", "list", "of", "ids", "is", "uncomplete", "the", "remaining", "columns", "will", "be", "placed", "after", "if", "keepOtherColumns", "is", "true", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Columns.php#L192-L215", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Action/RowAction.php", "func_name": "RowAction.addRouteParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add route parameter.\n\n@param array|string $routeParameters\n\n@return self", "docstring_tokens": ["Add", "route", "parameter", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Action/RowAction.php#L221-L234", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Action/RowAction.php", "func_name": "RowAction.getRouteParametersMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map the parameter.\n\n@param string $name parameter\n\n@return null|string", "docstring_tokens": ["Map", "the", "parameter", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Action/RowAction.php#L280-L283", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Action/RowAction.php", "func_name": "RowAction.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render action for row.\n\n@param Row $row\n\n@return RowAction|null", "docstring_tokens": ["Render", "action", "for", "row", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Action/RowAction.php#L381-L392", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/GridRegistry.php", "func_name": "GridRegistry.addType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a grid type.\n\n@param GridTypeInterface $type\n\n@return $this", "docstring_tokens": ["Add", "a", "grid", "type", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/GridRegistry.php#L39-L50", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/GridRegistry.php", "func_name": "GridRegistry.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a column type.\n\n@param Column $column\n\n@return $this", "docstring_tokens": ["Add", "a", "column", "type", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/GridRegistry.php#L85-L96", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.setContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Container associated with this Controller.\n\n@param ContainerInterface $container A ContainerInterface instance\n\n@return \\APY\\DataGridBundle\\Grid\\Export\\Export", "docstring_tokens": ["Sets", "the", "Container", "associated", "with", "this", "Controller", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L77-L84", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gets the export Response.\n\n@return Response", "docstring_tokens": ["gets", "the", "export", "Response", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L101-L128", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.getGridData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data form the grid.\n\n@param Grid $grid\n\n@return array\n\narray(\n'titles' => array(\n'column_id_1' => 'column_title_1',\n'column_id_2' => 'column_title_2'\n),\n'rows' =>array(\narray(\n'column_id_1' => 'cell_value_1_1',\n'column_id_2' => 'cell_value_1_2'\n),\narray(\n'column_id_1' => 'cell_value_2_1',\n'column_id_2' => 'cell_value_2_2'\n)\n)\n)", "docstring_tokens": ["Get", "data", "form", "the", "grid", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L178-L191", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.getFlatGridData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data form the grid in a flat array.\n\n@param Grid $grid\n\n@return array\n\narray(\n'0' => array(\n'column_id_1' => 'column_title_1',\n'column_id_2' => 'column_title_2'\n),\n'1' => array(\n'column_id_1' => 'cell_value_1_1',\n'column_id_2' => 'cell_value_1_2'\n),\n'2' => array(\n'column_id_1' => 'cell_value_2_1',\n'column_id_2' => 'cell_value_2_2'\n)\n)", "docstring_tokens": ["Get", "data", "form", "the", "grid", "in", "a", "flat", "array", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L229-L239", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.setTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set template.\n\n@param \\Twig_TemplateInterface|string $template\n\n@throws \\Exception\n\n@return \\APY\\DataGridBundle\\Grid\\Export\\Export", "docstring_tokens": ["set", "template", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L439-L455", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Export/Export.php", "func_name": "Export.getParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get parameter.\n\n@return mixed", "docstring_tokens": ["get", "parameter", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Export/Export.php#L680-L687", "partition": "test"} +{"repo": "APY/APYDataGridBundle", "path": "Grid/Column/ActionsColumn.php", "func_name": "ActionsColumn.getActionsToRender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of actions to render.\n\n@param $row\n\n@return array", "docstring_tokens": ["Get", "the", "list", "of", "actions", "to", "render", "."], "sha": "03050b366a79553b014aa4297d31b585a84622a3", "url": "https://github.com/APY/APYDataGridBundle/blob/03050b366a79553b014aa4297d31b585a84622a3/Grid/Column/ActionsColumn.php#L106-L118", "partition": "test"} +{"repo": "yii2mod/yii2-cart", "path": "Cart.php", "func_name": "Cart.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all items from the cart\n\n@param bool $save\n\n@return $this", "docstring_tokens": ["Delete", "all", "items", "from", "the", "cart"], "sha": "14bbda69edfcd234bb6008b53ea1198af4134038", "url": "https://github.com/yii2mod/yii2-cart/blob/14bbda69edfcd234bb6008b53ea1198af4134038/Cart.php#L75-L81", "partition": "test"} +{"repo": "yii2mod/yii2-cart", "path": "Cart.php", "func_name": "Cart.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an item to the cart\n\n@param models\\CartItemInterface $element\n@param bool $save\n\n@return $this", "docstring_tokens": ["Add", "an", "item", "to", "the", "cart"], "sha": "14bbda69edfcd234bb6008b53ea1198af4134038", "url": "https://github.com/yii2mod/yii2-cart/blob/14bbda69edfcd234bb6008b53ea1198af4134038/Cart.php#L107-L113", "partition": "test"} +{"repo": "yii2mod/yii2-cart", "path": "Cart.php", "func_name": "Cart.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an item from the cart\n\n@param string $uniqueId\n@param bool $save\n\n@throws \\yii\\base\\InvalidParamException\n\n@return $this", "docstring_tokens": ["Removes", "an", "item", "from", "the", "cart"], "sha": "14bbda69edfcd234bb6008b53ea1198af4134038", "url": "https://github.com/yii2mod/yii2-cart/blob/14bbda69edfcd234bb6008b53ea1198af4134038/Cart.php#L134-L145", "partition": "test"} +{"repo": "yii2mod/yii2-cart", "path": "Cart.php", "func_name": "Cart.getItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all items of a given type from the cart\n\n@param string $itemType One of self::ITEM_ constants\n\n@return CartItemInterface[]", "docstring_tokens": ["Returns", "all", "items", "of", "a", "given", "type", "from", "the", "cart"], "sha": "14bbda69edfcd234bb6008b53ea1198af4134038", "url": "https://github.com/yii2mod/yii2-cart/blob/14bbda69edfcd234bb6008b53ea1198af4134038/Cart.php#L164-L179", "partition": "test"} +{"repo": "auth0/laravel-auth0", "path": "src/Auth0/Login/Auth0Service.php", "func_name": "Auth0Service.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the user to the hosted login page", "docstring_tokens": ["Redirects", "the", "user", "to", "the", "hosted", "login", "page"], "sha": "36b49690420ca38805416467d4b13e86f790c9b4", "url": "https://github.com/auth0/laravel-auth0/blob/36b49690420ca38805416467d4b13e86f790c9b4/src/Auth0/Login/Auth0Service.php#L54-L58", "partition": "test"} +{"repo": "auth0/laravel-auth0", "path": "src/Auth0/Login/Auth0Service.php", "func_name": "Auth0Service.getUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the user is logged in, returns the user information.\n\n@return array with the User info as described in https://docs.auth0.com/user-profile and the user access token", "docstring_tokens": ["If", "the", "user", "is", "logged", "in", "returns", "the", "user", "information", "."], "sha": "36b49690420ca38805416467d4b13e86f790c9b4", "url": "https://github.com/auth0/laravel-auth0/blob/36b49690420ca38805416467d4b13e86f790c9b4/src/Auth0/Login/Auth0Service.php#L65-L79", "partition": "test"} +{"repo": "auth0/laravel-auth0", "path": "src/Auth0/Login/Auth0Service.php", "func_name": "Auth0Service.rememberUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use this to either enable or disable the \"remember\" function for users.\n\n@param null $value\n\n@return bool|null", "docstring_tokens": ["Use", "this", "to", "either", "enable", "or", "disable", "the", "remember", "function", "for", "users", "."], "sha": "36b49690420ca38805416467d4b13e86f790c9b4", "url": "https://github.com/auth0/laravel-auth0/blob/36b49690420ca38805416467d4b13e86f790c9b4/src/Auth0/Login/Auth0Service.php#L116-L123", "partition": "test"} +{"repo": "auth0/laravel-auth0", "path": "src/controllers/Auth0Controller.php", "func_name": "Auth0Controller.callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback action that should be called by auth0, logs the user in.", "docstring_tokens": ["Callback", "action", "that", "should", "be", "called", "by", "auth0", "logs", "the", "user", "in", "."], "sha": "36b49690420ca38805416467d4b13e86f790c9b4", "url": "https://github.com/auth0/laravel-auth0/blob/36b49690420ca38805416467d4b13e86f790c9b4/src/controllers/Auth0Controller.php#L28-L53", "partition": "test"} +{"repo": "wapmorgan/Morphos", "path": "src/S.php", "func_name": "S.length", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates count of characters in string.\n@param $string\n@return bool|int", "docstring_tokens": ["Calculates", "count", "of", "characters", "in", "string", "."], "sha": "18bbe5d17f8bae67f415c612c2d9b8071ede35ec", "url": "https://github.com/wapmorgan/Morphos/blob/18bbe5d17f8bae67f415c612c2d9b8071ede35ec/src/S.php#L41-L52", "partition": "test"} +{"repo": "wapmorgan/Morphos", "path": "src/S.php", "func_name": "S.slice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Slices string like python.\n@param string $string\n@param int $start\n@param int|null $end\n@return bool|string", "docstring_tokens": ["Slices", "string", "like", "python", "."], "sha": "18bbe5d17f8bae67f415c612c2d9b8071ede35ec", "url": "https://github.com/wapmorgan/Morphos/blob/18bbe5d17f8bae67f415c612c2d9b8071ede35ec/src/S.php#L61-L76", "partition": "test"} +{"repo": "wapmorgan/Morphos", "path": "src/S.php", "func_name": "S.lower", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lower case.\n@param $string\n@return bool|string", "docstring_tokens": ["Lower", "case", "."], "sha": "18bbe5d17f8bae67f415c612c2d9b8071ede35ec", "url": "https://github.com/wapmorgan/Morphos/blob/18bbe5d17f8bae67f415c612c2d9b8071ede35ec/src/S.php#L83-L90", "partition": "test"} +{"repo": "wapmorgan/Morphos", "path": "src/S.php", "func_name": "S.upper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upper case.\n@param $string\n@return bool|string", "docstring_tokens": ["Upper", "case", "."], "sha": "18bbe5d17f8bae67f415c612c2d9b8071ede35ec", "url": "https://github.com/wapmorgan/Morphos/blob/18bbe5d17f8bae67f415c612c2d9b8071ede35ec/src/S.php#L97-L104", "partition": "test"} +{"repo": "php-mock/php-mock-phpunit", "path": "classes/PHPMock.php", "func_name": "PHPMock.getFunctionMock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the enabled function mock.\n\nThis mock will be disabled automatically after the test run.\n\n@param string $namespace The function namespace.\n@param string $name The function name.\n\n@return MockObject The PHPUnit mock.", "docstring_tokens": ["Returns", "the", "enabled", "function", "mock", "."], "sha": "d49b8c5c6e5e0119b98c250012a68ecb0fac65ab", "url": "https://github.com/php-mock/php-mock-phpunit/blob/d49b8c5c6e5e0119b98c250012a68ecb0fac65ab/classes/PHPMock.php#L49-L70", "partition": "test"} +{"repo": "php-mock/php-mock-phpunit", "path": "classes/PHPMock.php", "func_name": "PHPMock.registerForTearDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically disable function mocks after the test was run.\n\nIf you use getFunctionMock() you don't need this method. This method\nis meant for a Deactivatable (e.g. a MockEnvironment) which was\ndirectly created with PHPMock's API.\n\n@param Deactivatable $deactivatable The function mocks.", "docstring_tokens": ["Automatically", "disable", "function", "mocks", "after", "the", "test", "was", "run", "."], "sha": "d49b8c5c6e5e0119b98c250012a68ecb0fac65ab", "url": "https://github.com/php-mock/php-mock-phpunit/blob/d49b8c5c6e5e0119b98c250012a68ecb0fac65ab/classes/PHPMock.php#L81-L85", "partition": "test"} +{"repo": "php-mock/php-mock-phpunit", "path": "classes/PHPMock.php", "func_name": "PHPMock.defineFunctionMock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines the mocked function in the given namespace.\n\nIn most cases you don't have to call this method. {@link getFunctionMock()}\nis doing this for you. But if the mock is defined after the first call in the\ntested class, the tested class doesn't resolve to the mock. This is\ndocumented in Bug #68541. You therefore have to define the namespaced\nfunction before the first call (e.g. with the beforeClass annotation).\n\nDefining the function has no side effects. If the function was\nalready defined this method does nothing.\n\n@see getFunctionMock()\n@link https://bugs.php.net/bug.php?id=68541 Bug #68541\n\n@param string $namespace The function namespace.\n@param string $name The function name.", "docstring_tokens": ["Defines", "the", "mocked", "function", "in", "the", "given", "namespace", "."], "sha": "d49b8c5c6e5e0119b98c250012a68ecb0fac65ab", "url": "https://github.com/php-mock/php-mock-phpunit/blob/d49b8c5c6e5e0119b98c250012a68ecb0fac65ab/classes/PHPMock.php#L105-L114", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Language.php", "func_name": "Language.flag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get single flags view.\n\n@param string $code\n\n@return mixed", "docstring_tokens": ["Get", "single", "flags", "view", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Language.php#L49-L59", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Language.php", "func_name": "Language.country", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get country code based on locale.\n\n@param string $locale\n\n@return mixed", "docstring_tokens": ["Get", "country", "code", "based", "on", "locale", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Language.php#L68-L81", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Language.php", "func_name": "Language.getCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the language code.\n\n@param string $name\n\n@return string", "docstring_tokens": ["Returns", "the", "language", "code", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Language.php#L211-L218", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Language.php", "func_name": "Language.getLongCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the language long code.\n\n@param string $short\n\n@return string", "docstring_tokens": ["Returns", "the", "language", "long", "code", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Language.php#L227-L247", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Language.php", "func_name": "Language.getName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the language name.\n\n@param string $code\n\n@return string", "docstring_tokens": ["Returns", "the", "language", "name", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Language.php#L285-L292", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Controllers/Language.php", "func_name": "Language.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set locale if it's allowed.\n\n@param string $locale\n@param \\Illuminate\\Http\\Request $request", "docstring_tokens": ["Set", "locale", "if", "it", "s", "allowed", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Controllers/Language.php#L17-L29", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Controllers/Language.php", "func_name": "Language.home", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set locale and return home url.\n\n@param string $locale\n@param \\Illuminate\\Http\\Request $request\n\n@return string", "docstring_tokens": ["Set", "locale", "and", "return", "home", "url", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Controllers/Language.php#L39-L46", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Controllers/Language.php", "func_name": "Language.back", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set locale and return back.\n\n@param string $locale\n@param \\Illuminate\\Http\\Request $request\n\n@return string", "docstring_tokens": ["Set", "locale", "and", "return", "back", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Controllers/Language.php#L56-L77", "partition": "test"} +{"repo": "akaunting/language", "path": "src/Middleware/SetLocale.php", "func_name": "SetLocale.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function checks if language to set is an allowed lang of config.\n\n@param string $locale", "docstring_tokens": ["This", "function", "checks", "if", "language", "to", "set", "is", "an", "allowed", "lang", "of", "config", "."], "sha": "8f3e7aff116755701df568ffe5c9dbf20d627327", "url": "https://github.com/akaunting/language/blob/8f3e7aff116755701df568ffe5c9dbf20d627327/src/Middleware/SetLocale.php#L15-L44", "partition": "test"} +{"repo": "schmittjoh/php-collection", "path": "src/PhpCollection/AbstractSequence.php", "func_name": "AbstractSequence.indexWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the first index where the given callable returns true.\n\n@param callable $callable\n\n@return integer the index, or -1 if the predicate is not true for any element.", "docstring_tokens": ["Finds", "the", "first", "index", "where", "the", "given", "callable", "returns", "true", "."], "sha": "f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6", "url": "https://github.com/schmittjoh/php-collection/blob/f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6/src/PhpCollection/AbstractSequence.php#L160-L169", "partition": "test"} +{"repo": "schmittjoh/php-collection", "path": "src/PhpCollection/AbstractSequence.php", "func_name": "AbstractSequence.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the element at the given index, and returns it.\n\n@param int $index\n\n@return T\n\n@throws \\OutOfBoundsException If there is no element at the given index.", "docstring_tokens": ["Removes", "the", "element", "at", "the", "given", "index", "and", "returns", "it", "."], "sha": "f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6", "url": "https://github.com/schmittjoh/php-collection/blob/f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6/src/PhpCollection/AbstractSequence.php#L230-L241", "partition": "test"} +{"repo": "schmittjoh/php-collection", "path": "src/PhpCollection/AbstractSequence.php", "func_name": "AbstractSequence.takeWhile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts element from the head while the passed callable returns true.\n\n@param callable $callable receives elements of this sequence as first argument, and returns true/false.\n\n@return Sequence", "docstring_tokens": ["Extracts", "element", "from", "the", "head", "while", "the", "passed", "callable", "returns", "true", "."], "sha": "f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6", "url": "https://github.com/schmittjoh/php-collection/blob/f2bcff45c0da7c27991bbc1f90f47c4b7fb434a6/src/PhpCollection/AbstractSequence.php#L296-L309", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.setAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "auth login with server\n@param string $username\n@param string $password\n@return $this", "docstring_tokens": ["auth", "login", "with", "server"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L125-L131", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.setOAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "auth oauthbearer with server\n@param string $accessToken\n@return $this", "docstring_tokens": ["auth", "oauthbearer", "with", "server"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L138-L143", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the message\n\n@param Message $message\n@return bool\n@throws CodeException\n@throws CryptoException\n@throws SMTPException", "docstring_tokens": ["Send", "the", "message"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L165-L187", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "connect the server\nSUCCESS 220\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["connect", "the", "server", "SUCCESS", "220"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L196-L211", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.starttls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP STARTTLS\nSUCCESS 220\n@return $this\n@throws CodeException\n@throws CryptoException\n@throws SMTPException", "docstring_tokens": ["SMTP", "STARTTLS", "SUCCESS", "220"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L221-L252", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.authLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP AUTH LOGIN\nSUCCESS 334\nSUCCESS 334\nSUCCESS 235\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "AUTH", "LOGIN", "SUCCESS", "334", "SUCCESS", "334", "SUCCESS", "235"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L280-L298", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.authOAuthBearer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP AUTH OAUTHBEARER\nSUCCESS 235\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "AUTH", "OAUTHBEARER", "SUCCESS", "235"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L307-L327", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.authXOAuth2", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP AUTH XOAUTH2\nSUCCESS 235\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "AUTH", "XOAUTH2", "SUCCESS", "235"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L336-L352", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.rcptTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP RCPT TO\nSUCCESS 250\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "RCPT", "TO", "SUCCESS", "250"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L378-L393", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP DATA\nSUCCESS 354\nSUCCESS 250\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "DATA", "SUCCESS", "354", "SUCCESS", "250"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L403-L416", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.quit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SMTP QUIT\nSUCCESS 221\n@return $this\n@throws CodeException\n@throws SMTPException", "docstring_tokens": ["SMTP", "QUIT", "SUCCESS", "221"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L425-L433", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/SMTP.php", "func_name": "SMTP.getCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get smtp response code\nonce time has three digital and a space\n@return string\n@throws SMTPException", "docstring_tokens": ["get", "smtp", "response", "code", "once", "time", "has", "three", "digital", "and", "a", "space"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/SMTP.php#L449-L460", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/Message.php", "func_name": "Message.setFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set mail from\n@param string $name\n@param string $email\n@return $this", "docstring_tokens": ["set", "mail", "from"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/Message.php#L127-L132", "partition": "test"} +{"repo": "txthinking/Mailer", "path": "src/Mailer/Message.php", "func_name": "Message.setFakeFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set mail fake from\n@param string $name\n@param string $email\n@return $this", "docstring_tokens": ["set", "mail", "fake", "from"], "sha": "49cd4e555a926bb4668c946c92691b88e0870b51", "url": "https://github.com/txthinking/Mailer/blob/49cd4e555a926bb4668c946c92691b88e0870b51/src/Mailer/Message.php#L141-L146", "partition": "test"} +{"repo": "symfony/class-loader", "path": "WinCacheClassLoader.php", "func_name": "WinCacheClassLoader.findFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a file by class name while caching lookups to WinCache.\n\n@param string $class A class name to resolve to file\n\n@return string|null", "docstring_tokens": ["Finds", "a", "file", "by", "class", "name", "while", "caching", "lookups", "to", "WinCache", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/WinCacheClassLoader.php#L124-L133", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ApcClassLoader.php", "func_name": "ApcClassLoader.findFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a file by class name while caching lookups to APC.\n\n@param string $class A class name to resolve to file\n\n@return string|null", "docstring_tokens": ["Finds", "a", "file", "by", "class", "name", "while", "caching", "lookups", "to", "APC", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ApcClassLoader.php#L125-L134", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassCollectionLoader.php", "func_name": "ClassCollectionLoader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a list of classes and caches them in one big file.\n\n@param array $classes An array of classes to load\n@param string $cacheDir A cache directory\n@param string $name The cache name prefix\n@param bool $autoReload Whether to flush the cache when the cache is stale or not\n@param bool $adaptive Whether to remove already declared classes or not\n@param string $extension File extension of the resulting file\n\n@throws \\InvalidArgumentException When class can't be loaded", "docstring_tokens": ["Loads", "a", "list", "of", "classes", "and", "caches", "them", "in", "one", "big", "file", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassCollectionLoader.php#L43-L113", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassCollectionLoader.php", "func_name": "ClassCollectionLoader.fixNamespaceDeclarations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds brackets around each namespace if it's not already the case.\n\n@param string $source Namespace string\n\n@return string Namespaces with brackets", "docstring_tokens": ["Adds", "brackets", "around", "each", "namespace", "if", "it", "s", "not", "already", "the", "case", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassCollectionLoader.php#L204-L272", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassCollectionLoader.php", "func_name": "ClassCollectionLoader.writeCacheFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a cache file.\n\n@param string $file Filename\n@param string $content Temporary file content\n\n@throws \\RuntimeException when a cache file cannot be written", "docstring_tokens": ["Writes", "a", "cache", "file", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassCollectionLoader.php#L306-L322", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassCollectionLoader.php", "func_name": "ClassCollectionLoader.getOrderedClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an ordered array of passed classes including all their dependencies.\n\n@param array $classes\n\n@return \\ReflectionClass[] An array of sorted \\ReflectionClass instances (dependencies added if needed)\n\n@throws \\InvalidArgumentException When a class can't be loaded", "docstring_tokens": ["Gets", "an", "ordered", "array", "of", "passed", "classes", "including", "all", "their", "dependencies", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassCollectionLoader.php#L333-L348", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassLoader.php", "func_name": "ClassLoader.addPrefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds prefixes.\n\n@param array $prefixes Prefixes to add", "docstring_tokens": ["Adds", "prefixes", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassLoader.php#L75-L80", "partition": "test"} +{"repo": "symfony/class-loader", "path": "ClassLoader.php", "func_name": "ClassLoader.addPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a set of classes.\n\n@param string $prefix The classes prefix\n@param array|string $paths The location(s) of the classes", "docstring_tokens": ["Registers", "a", "set", "of", "classes", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/ClassLoader.php#L88-L109", "partition": "test"} +{"repo": "symfony/class-loader", "path": "XcacheClassLoader.php", "func_name": "XcacheClassLoader.findFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a file by class name while caching lookups to Xcache.\n\n@param string $class A class name to resolve to file\n\n@return string|null", "docstring_tokens": ["Finds", "a", "file", "by", "class", "name", "while", "caching", "lookups", "to", "Xcache", "."], "sha": "2141b7653aca7407c80981371146a24da83a228c", "url": "https://github.com/symfony/class-loader/blob/2141b7653aca7407c80981371146a24da83a228c/XcacheClassLoader.php#L124-L134", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the given text considering the full language.\n\nThis includes parsing block elements as well as inline elements.\n\n@param string $text the text to parse\n@return string parsed markup", "docstring_tokens": ["Parses", "the", "given", "text", "considering", "the", "full", "language", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L48-L65", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.detectLineType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a set of lines and an index of a current line it uses the registed block types to\ndetect the type of this line.\n@param array $lines\n@param integer $current\n@return string name of the block type in lower case", "docstring_tokens": ["Given", "a", "set", "of", "lines", "and", "an", "index", "of", "a", "current", "line", "it", "uses", "the", "registed", "block", "types", "to", "detect", "the", "type", "of", "this", "line", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L138-L149", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.parseBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the block at current line by identifying the block type and parsing the content\n@param $lines\n@param $current\n@return array Array of two elements, the first element contains the block,\nthe second contains the next line index to be parsed.", "docstring_tokens": ["Parses", "the", "block", "at", "current", "line", "by", "identifying", "the", "block", "type", "and", "parsing", "the", "content"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L189-L196", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.inlineMarkers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a map of inline markers to the corresponding parser methods.\n\nThis array defines handler methods for inline markdown markers.\nWhen a marker is found in the text, the handler method is called with the text\nstarting at the position of the marker.\n\nNote that markers starting with whitespace may slow down the parser,\nyou may want to use [[renderText]] to deal with them.\n\nYou may override this method to define a set of markers and parsing methods.\nThe default implementation looks for protected methods starting with `parse` that\nalso have an `@marker` annotation in PHPDoc.\n\n@return array a map of markers to parser methods", "docstring_tokens": ["Returns", "a", "map", "of", "inline", "markers", "to", "the", "corresponding", "parser", "methods", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L270-L285", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.prepareMarkers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare markers that are used in the text to parse\n\nAdd all markers that are present in markdown.\nCheck is done to avoid iterations in parseInline(), good for huge markdown files\n@param string $text", "docstring_tokens": ["Prepare", "markers", "that", "are", "used", "in", "the", "text", "to", "parse"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L294-L311", "partition": "test"} +{"repo": "cebe/markdown", "path": "Parser.php", "func_name": "Parser.parseInline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses inline elements of the language.\n\n@param string $text the inline text to parse.\n@return array", "docstring_tokens": ["Parses", "inline", "elements", "of", "the", "language", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/Parser.php#L319-L366", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/EmphStrongTrait.php", "func_name": "EmphStrongTrait.parseEmphStrong", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses emphasized and strong elements.\n@marker _\n@marker *", "docstring_tokens": ["Parses", "emphasized", "and", "strong", "elements", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/EmphStrongTrait.php#L20-L73", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/HtmlTrait.php", "func_name": "HtmlTrait.identifyHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "identify a line as the beginning of a HTML block.", "docstring_tokens": ["identify", "a", "line", "as", "the", "beginning", "of", "a", "HTML", "block", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/HtmlTrait.php#L50-L74", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/HtmlTrait.php", "func_name": "HtmlTrait.consumeHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume lines for an HTML block", "docstring_tokens": ["Consume", "lines", "for", "an", "HTML", "block"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/HtmlTrait.php#L79-L110", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/FencedCodeTrait.php", "func_name": "FencedCodeTrait.identifyFencedCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "identify a line as the beginning of a fenced code block.", "docstring_tokens": ["identify", "a", "line", "as", "the", "beginning", "of", "a", "fenced", "code", "block", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/FencedCodeTrait.php#L22-L30", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/HeadlineTrait.php", "func_name": "HeadlineTrait.identifyHeadline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "identify a line as a headline", "docstring_tokens": ["identify", "a", "line", "as", "a", "headline"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/HeadlineTrait.php#L18-L29", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/HeadlineTrait.php", "func_name": "HeadlineTrait.consumeHeadline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume lines for a headline", "docstring_tokens": ["Consume", "lines", "for", "a", "headline"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/HeadlineTrait.php#L34-L57", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/LinkTrait.php", "func_name": "LinkTrait.replaceEscape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove backslash from escaped characters\n@param $text\n@return string", "docstring_tokens": ["Remove", "backslash", "from", "escaped", "characters"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/LinkTrait.php#L50-L57", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/LinkTrait.php", "func_name": "LinkTrait.parseLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a link indicated by `[`.\n@marker [", "docstring_tokens": ["Parses", "a", "link", "indicated", "by", "[", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/LinkTrait.php#L63-L88", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/LinkTrait.php", "func_name": "LinkTrait.parseImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses an image indicated by `![`.\n@marker ![", "docstring_tokens": ["Parses", "an", "image", "indicated", "by", "!", "[", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/LinkTrait.php#L94-L120", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/CodeTrait.php", "func_name": "CodeTrait.parseInlineCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses an inline code span `` ` ``.\n@marker `", "docstring_tokens": ["Parses", "an", "inline", "code", "span", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/CodeTrait.php#L19-L39", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/CodeTrait.php", "func_name": "CodeTrait.consumeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume lines for a code block element", "docstring_tokens": ["Consume", "lines", "for", "a", "code", "block", "element"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/CodeTrait.php#L27-L56", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/ListTrait.php", "func_name": "ListTrait.identifyUl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "identify a line as the beginning of an unordered list.", "docstring_tokens": ["identify", "a", "line", "as", "the", "beginning", "of", "an", "unordered", "list", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/ListTrait.php#L33-L38", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/ListTrait.php", "func_name": "ListTrait.renderList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a list", "docstring_tokens": ["Renders", "a", "list"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/ListTrait.php#L168-L182", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/QuoteTrait.php", "func_name": "QuoteTrait.consumeQuote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume lines for a blockquote element", "docstring_tokens": ["Consume", "lines", "for", "a", "blockquote", "element"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/QuoteTrait.php#L26-L50", "partition": "test"} +{"repo": "cebe/markdown", "path": "MarkdownExtra.php", "func_name": "MarkdownExtra.consumeReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume link references", "docstring_tokens": ["Consume", "link", "references"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/MarkdownExtra.php#L78-L101", "partition": "test"} +{"repo": "cebe/markdown", "path": "MarkdownExtra.php", "func_name": "MarkdownExtra.renderHeadline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a headline", "docstring_tokens": ["Renders", "a", "headline"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/MarkdownExtra.php#L141-L152", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/StrikeoutTrait.php", "func_name": "StrikeoutTrait.parseStrike", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the strikethrough feature.\n@marker ~~", "docstring_tokens": ["Parses", "the", "strikethrough", "feature", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/StrikeoutTrait.php#L19-L31", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/TableTrait.php", "func_name": "TableTrait.identifyTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "identify a line as the beginning of a table block.", "docstring_tokens": ["identify", "a", "line", "as", "the", "beginning", "of", "a", "table", "block", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/TableTrait.php#L18-L24", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/TableTrait.php", "func_name": "TableTrait.consumeTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consume lines for a table", "docstring_tokens": ["Consume", "lines", "for", "a", "table"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/TableTrait.php#L29-L95", "partition": "test"} +{"repo": "cebe/markdown", "path": "block/TableTrait.php", "func_name": "TableTrait.renderTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render a table block", "docstring_tokens": ["render", "a", "table", "block"], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/block/TableTrait.php#L100-L121", "partition": "test"} +{"repo": "cebe/markdown", "path": "inline/UrlLinkTrait.php", "func_name": "UrlLinkTrait.parseUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses urls and adds auto linking feature.\n@marker http\n@marker ftp", "docstring_tokens": ["Parses", "urls", "and", "adds", "auto", "linking", "feature", "."], "sha": "eeb1bf622e80f337479e00a5db94c56e7cf1326b", "url": "https://github.com/cebe/markdown/blob/eeb1bf622e80f337479e00a5db94c56e7cf1326b/inline/UrlLinkTrait.php#L23-L40", "partition": "test"} +{"repo": "lightSAML/lightSAML", "path": "src/LightSaml/Model/Assertion/Assertion.php", "func_name": "Assertion.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Core 3.3.4 Processing rules.\n\n@param string $nameId\n@param string|null $format\n\n@return bool", "docstring_tokens": ["Core", "3", ".", "3", ".", "4", "Processing", "rules", "."], "sha": "377f04d1fb25f2fb2e72dabeff10b336f1cbe4c5", "url": "https://github.com/lightSAML/lightSAML/blob/377f04d1fb25f2fb2e72dabeff10b336f1cbe4c5/src/LightSaml/Model/Assertion/Assertion.php#L79-L98", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Helpers/XMLHelper.php", "func_name": "XMLHelper.createElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut for creating an XML element.\n\n@param DOMDocument $document The document used to create the element. It will NOT be modified.\n@param string $name Name of the element.\n@param array $attributes String-to-string mapping of attributes to set on the element.\n@return DOMElement The newly constructed independent DOM element.", "docstring_tokens": ["Shortcut", "for", "creating", "an", "XML", "element", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Helpers/XMLHelper.php#L18-L27", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Helpers/XMLHelper.php", "func_name": "XMLHelper.createElementWithText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut for creating an XML element that contains CDATA-wrapped text.\n\n@param DOMDocument $document The document used to create the element. It will NOT be modified.\n@param string $name Name of the element.\n@param string $text The text body of the document.\n@param array $attributes String-to-string mapping of attributes to set on the element.\n@return DOMElement The newly constructed independent DOM element.", "docstring_tokens": ["Shortcut", "for", "creating", "an", "XML", "element", "that", "contains", "CDATA", "-", "wrapped", "text", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Helpers/XMLHelper.php#L38-L49", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/XML/XMLItem.php", "func_name": "XMLItem.validateImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if there is at least one image of type default\n\n@param array $images The images to validate.\n@return boolean Whether the images are valid or not.", "docstring_tokens": ["Checks", "if", "there", "is", "at", "least", "one", "image", "of", "type", "default"], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/XML/XMLItem.php#L167-L183", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Helpers/DataHelper.php", "func_name": "DataHelper.checkForEmptyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the provided value is empty.\n\n@param string $valueName Name of the value, for better error reporting.\n@param string|int|float $value The value to check. Regardless of type, it is coerced into a string.\n@return string Returns the value if not empty.", "docstring_tokens": ["Checks", "if", "the", "provided", "value", "is", "empty", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Helpers/DataHelper.php#L48-L57", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Helpers/DataHelper.php", "func_name": "DataHelper.checkForIllegalCsvPropertyKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies that property keys for use in CSV export don't contain characters that could break the format fatally.\n\n@param string $propertyKey The property key to check.\n@throw BadPropertyKeyException In case the property key contains dangerous characters.", "docstring_tokens": ["Verifies", "that", "property", "keys", "for", "use", "in", "CSV", "export", "don", "t", "contain", "characters", "that", "could", "break", "the", "format", "fatally", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Helpers/DataHelper.php#L83-L88", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Exporter.php", "func_name": "Exporter.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an exporter for the desired output format.\n\n@param int $type The type of export format to choose. Must be either Exporter::TYPE_XML or Exporter::TYPE_CSV.\n@param int $itemsPerPage Number of items being exported at once. Respecting this parameter is at the exporter\nimplementation's discretion.\n@param array $csvProperties Properties/extra columns for CSV export. Has no effect for XML export.\n@return Exporter The exporter for the desired output format.", "docstring_tokens": ["Creates", "an", "exporter", "for", "the", "desired", "output", "format", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Exporter.php#L35-L53", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Property.php", "func_name": "Property.addValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a value to the property element.\n\n@SuppressWarnings(PHPMD.StaticAccess)\n@param string $value The value to add to the property element.\n@param string|null $usergroup The usergroup of the property value.", "docstring_tokens": ["Add", "a", "value", "to", "the", "property", "element", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Property.php#L61-L68", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/XML/Page.php", "func_name": "Page.validateWithSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the export page against the schema. In case of violations, an exception is thrown.\n\n@param DOMDocument $document The document to validate.", "docstring_tokens": ["Validates", "the", "export", "page", "against", "the", "schema", ".", "In", "case", "of", "violations", "an", "exception", "is", "thrown", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/XML/Page.php#L76-L90", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the name of the item.\n\n@param string $name The name of the item.\n@param string $usergroup The usergroup of the name element.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "name", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L118-L121", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the summary of the item.\n\n@param string $summary The summary of the item.\n@param string $usergroup The usergroup of the summary.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "summary", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L142-L145", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the description of the item.\n\n@param string $description The description of the item.\n@param string $usergroup The usergroup of the description.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "description", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L166-L169", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addPrice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the price of the item.\n\n@param string $price The price of the item.\n@param string $usergroup The usergroup of the price.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "price", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L190-L197", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addBonus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the bonus of the item. The value must be a numeric.\n\n@param float $bonus The bonus value of the item.\n@param string $usergroup The usergroup of the bonus value.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "bonus", "of", "the", "item", ".", "The", "value", "must", "be", "a", "numeric", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L281-L284", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addSalesFrequency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the sales frequency of the item. The value must be a positive integer.\n\n@param int $salesFrequency The sales frequency of the item.\n@param string $usergroup The usergroup of the sales frequency.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "sales", "frequency", "of", "the", "item", ".", "The", "value", "must", "be", "a", "positive", "integer", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L305-L308", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addDateAdded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the date added value of the item.\n\n@param DateTime $dateAdded The date on which the item was added to the ecommerce system.\n@param string $usergroup The usergroup of the date added value.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "date", "added", "value", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L329-L332", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Data/Item.php", "func_name": "Item.addSort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortcut to easily add the sort value of the item.\n\n@param int $sort The sort value of the item.\n@param string $usergroup The usergroup of the sort value.", "docstring_tokens": ["Shortcut", "to", "easily", "add", "the", "sort", "value", "of", "the", "item", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Data/Item.php#L353-L356", "partition": "test"} +{"repo": "findologic/libflexport", "path": "src/FINDOLOGIC/Export/Helpers/UsergroupAwareSimpleValue.php", "func_name": "UsergroupAwareSimpleValue.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates given value.\nBasic implementation is validating against an empty string,\nbut is overridden when checking values more specific.\n\nWhen valid returns given value.\nWhen not valid an exception is thrown.\n\n@param string|int $value Validated value.\n@return string\n@throws EmptyValueNotAllowedException", "docstring_tokens": ["Validates", "given", "value", ".", "Basic", "implementation", "is", "validating", "against", "an", "empty", "string", "but", "is", "overridden", "when", "checking", "values", "more", "specific", "."], "sha": "3724b48d11223ae5721c55192a358d57c7e4269b", "url": "https://github.com/findologic/libflexport/blob/3724b48d11223ae5721c55192a358d57c7e4269b/src/FINDOLOGIC/Export/Helpers/UsergroupAwareSimpleValue.php#L59-L68", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Hooks.php", "func_name": "Hooks.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches content of a hook.\n\n@param string $name Name of the hook\n\n@return string Content of the hook\n\n@throws InvalidArgumentException Hook does not exist", "docstring_tokens": ["Fetches", "content", "of", "a", "hook", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Hooks.php#L58-L65", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Hooks.php", "func_name": "Hooks.setSymlink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a hook in repository using a symlink.\n\n@param string $name Name of the hook to insert\n@param string $file Target of symlink\n\n@throws LogicException Hook is already present\n@throws RuntimeException Error on symlink creation", "docstring_tokens": ["Insert", "a", "hook", "in", "repository", "using", "a", "symlink", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Hooks.php#L76-L86", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Hooks.php", "func_name": "Hooks.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a hook in repository.\n\n@param string $name Name of the hook\n@param string $content Content of the hook\n\n@throws LogicException The hook is already defined", "docstring_tokens": ["Set", "a", "hook", "in", "repository", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Hooks.php#L96-L105", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Hooks.php", "func_name": "Hooks.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a hook from repository.\n\n@param string $name Name of the hook\n\n@throws LogicException The hook is not present", "docstring_tokens": ["Removes", "a", "hook", "from", "repository", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Hooks.php#L114-L121", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Log.php", "func_name": "Log.countCommits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count commits, without offset or limit.\n\n@return int", "docstring_tokens": ["Count", "commits", "without", "offset", "or", "limit", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Log.php#L222-L231", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getReferences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the reference list associated to the repository.\n\n@return ReferenceBag", "docstring_tokens": ["Returns", "the", "reference", "list", "associated", "to", "the", "repository", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L309-L316", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getCommit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instanciates a commit object or fetches one from the cache.\n\n@param string $hash A commit hash, with a length of 40\n\n@return Commit", "docstring_tokens": ["Instanciates", "a", "commit", "object", "or", "fetches", "one", "from", "the", "cache", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L325-L332", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instanciates a tree object or fetches one from the cache.\n\n@param string $hash A tree hash, with a length of 40\n\n@return Tree", "docstring_tokens": ["Instanciates", "a", "tree", "object", "or", "fetches", "one", "from", "the", "cache", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L341-L348", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getBlob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instanciates a blob object or fetches one from the cache.\n\n@param string $hash A blob hash, with a length of 40\n\n@return Blob", "docstring_tokens": ["Instanciates", "a", "blob", "object", "or", "fetches", "one", "from", "the", "cache", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L357-L364", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns log for a given set of revisions and paths.\n\nAll those values can be null, meaning everything.\n\n@param array $revisions An array of revisions to show logs from. Can be\nany text value type\n@param array $paths Restrict log to modifications occurring on given\npaths.\n@param int $offset Start from a given offset in results.\n@param int $limit Limit number of total results.\n\n@return Log", "docstring_tokens": ["Returns", "log", "for", "a", "given", "set", "of", "revisions", "and", "paths", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L389-L392", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the size of repository, in kilobytes.\n\n@return int A sum, in kilobytes\n\n@throws RuntimeException An error occurred while computing size", "docstring_tokens": ["Returns", "the", "size", "of", "repository", "in", "kilobytes", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L418-L440", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.shell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a shell command on the repository, using PHP pipes.\n\n@param string $command The command to execute", "docstring_tokens": ["Executes", "a", "shell", "command", "on", "the", "repository", "using", "PHP", "pipes", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L447-L457", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.getDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns description of repository from description file in git directory.\n\n@return string The description", "docstring_tokens": ["Returns", "description", "of", "repository", "from", "description", "file", "in", "git", "directory", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L474-L492", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This command is a facility command. You can run any command\ndirectly on git repository.\n\n@param string $command Git command to run (checkout, branch, tag)\n@param array $args Arguments of git command\n\n@return string Output of a successful process or null if execution failed and debug-mode is disabled.\n\n@throws RuntimeException Error while executing git command (debug-mode only)", "docstring_tokens": ["This", "command", "is", "a", "facility", "command", ".", "You", "can", "run", "any", "command", "directly", "on", "git", "repository", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L532-L567", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Repository.php", "func_name": "Repository.cloneTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clones the current repository to a new directory and return instance of new repository.\n\n@param string $path path to the new repository in which current repository will be cloned\n@param bool $bare flag indicating if repository is bare or has a working-copy\n\n@return Repository the newly created repository", "docstring_tokens": ["Clones", "the", "current", "repository", "to", "a", "new", "directory", "and", "return", "instance", "of", "new", "repository", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Repository.php#L601-L604", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Commit.php", "func_name": "Commit.getParents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the parent commits.\n\n@return array An array of Commit objects", "docstring_tokens": ["Returns", "the", "parent", "commits", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Commit.php#L114-L122", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Commit.php", "func_name": "Commit.getShortMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first line of the commit, and the first 50 characters.\n\nPorted from https://github.com/fabpot/Twig-extensions/blob/d67bc7e69788795d7905b52d31188bbc1d390e01/lib/Twig/Extensions/Extension/Text.php#L52-L109\n\n@param int $length\n@param bool $preserve\n@param string $separator\n\n@return string", "docstring_tokens": ["Returns", "the", "first", "line", "of", "the", "commit", "and", "the", "first", "50", "characters", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Commit.php#L168-L181", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Commit.php", "func_name": "Commit.getIncludingBranches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find branch containing the commit.\n\n@param bool $local set true to try to locate a commit on local repository\n@param bool $remote set true to try to locate a commit on remote repository\n\n@return array An array of Reference\\Branch", "docstring_tokens": ["Find", "branch", "containing", "the", "commit", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Commit.php#L201-L243", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Admin.php", "func_name": "Admin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes a repository and returns the instance.\n\n@param string $path path to the repository\n@param bool $bare indicate to create a bare repository\n@param array $options options for Repository creation\n\n@return Repository\n\n@throws RuntimeException Directory exists or not writable (only if debug=true)", "docstring_tokens": ["Initializes", "a", "repository", "and", "returns", "the", "instance", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L35-L46", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Admin.php", "func_name": "Admin.isValidRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the validity of a git repository url without cloning it.\n\nThis will use the `ls-remote` command of git against the given url.\nUsually, this command returns 0 when successful, and 128 when the\nrepository is not found.\n\n@param string $url url of repository to check\n@param array $options options for Repository creation\n\n@return bool true if url is valid", "docstring_tokens": ["Checks", "the", "validity", "of", "a", "git", "repository", "url", "without", "cloning", "it", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L60-L67", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Admin.php", "func_name": "Admin.cloneTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone a repository to a local path.\n\n@param string $path indicates where to clone repository\n@param string $url url of repository to clone\n@param bool $bare indicates if repository should be bare or have a working copy\n@param array $options options for Repository creation\n\n@return Repository", "docstring_tokens": ["Clone", "a", "repository", "to", "a", "local", "path", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L79-L84", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Admin.php", "func_name": "Admin.cloneBranchTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone a repository branch to a local path.\n\n@param string $path indicates where to clone repository\n@param string $url url of repository to clone\n@param string $branch branch to clone\n@param bool $bare indicates if repository should be bare or have a working copy\n@param array $options options for Repository creation\n\n@return Repository", "docstring_tokens": ["Clone", "a", "repository", "branch", "to", "a", "local", "path", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L97-L105", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Admin.php", "func_name": "Admin.cloneRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal method to launch effective ``git clone`` command.\n\n@param string $path indicates where to clone repository\n@param string $url url of repository to clone\n@param array $args arguments to be added to the command-line\n@param array $options options for Repository creation\n\n@return Repository", "docstring_tokens": ["Internal", "method", "to", "launch", "effective", "git", "clone", "command", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Admin.php#L131-L142", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Blame.php", "func_name": "Blame.getGroupedLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns lines grouped by commit.\n\n@return array a list of two-elements array (commit, lines)", "docstring_tokens": ["Returns", "lines", "grouped", "by", "commit", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Blame.php#L84-L107", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Blame.php", "func_name": "Blame.getLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all lines of the blame.\n\n@return array", "docstring_tokens": ["Returns", "all", "lines", "of", "the", "blame", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Blame.php#L114-L136", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/ReferenceBag.php", "func_name": "ReferenceBag.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a reference, by name.\n\n@param string $fullname Fullname of the reference (refs/heads/master, for example).\n\n@return Reference A reference object.", "docstring_tokens": ["Returns", "a", "reference", "by", "name", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/ReferenceBag.php#L83-L92", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/ReferenceBag.php", "func_name": "ReferenceBag.getBranches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all branches.\n\n@return array", "docstring_tokens": ["Returns", "all", "branches", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/ReferenceBag.php#L244-L256", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/ReferenceBag.php", "func_name": "ReferenceBag.getLocalBranches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all locales branches.\n\n@return array", "docstring_tokens": ["Returns", "all", "locales", "branches", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/ReferenceBag.php#L263-L273", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/ReferenceBag.php", "func_name": "ReferenceBag.getRemoteBranches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all remote branches.\n\n@return array", "docstring_tokens": ["Returns", "all", "remote", "branches", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/ReferenceBag.php#L280-L290", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Blob.php", "func_name": "Blob.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns content of the blob.\n\n@throws ProcessException Error occurred while getting content of blob", "docstring_tokens": ["Returns", "content", "of", "the", "blob", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Blob.php#L64-L71", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Blob.php", "func_name": "Blob.getMimetype", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the mimetype of the blob.\n\n@return string A mimetype", "docstring_tokens": ["Determine", "the", "mimetype", "of", "the", "blob", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Blob.php#L78-L86", "partition": "test"} +{"repo": "gitonomy/gitlib", "path": "src/Gitonomy/Git/Diff/Diff.php", "func_name": "Diff.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export a diff as array.\n\n@return array The array", "docstring_tokens": ["Export", "a", "diff", "as", "array", "."], "sha": "9eb6a89434e09a701ad0acef7e8ef9c27c08c69a", "url": "https://github.com/gitonomy/gitlib/blob/9eb6a89434e09a701ad0acef7e8ef9c27c08c69a/src/Gitonomy/Git/Diff/Diff.php#L97-L108", "partition": "test"} +{"repo": "willdurand/EmailReplyParser", "path": "src/EmailReplyParser/Parser/EmailParser.php", "func_name": "EmailParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a text which represents an email and splits it into fragments.\n\n@param string $text A text.\n\n@return Email", "docstring_tokens": ["Parse", "a", "text", "which", "represents", "an", "email", "and", "splits", "it", "into", "fragments", "."], "sha": "bb95bc52afc186c378c57e06ed2ee1e9ef2d076c", "url": "https://github.com/willdurand/EmailReplyParser/blob/bb95bc52afc186c378c57e06ed2ee1e9ef2d076c/src/EmailReplyParser/Parser/EmailParser.php#L68-L126", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Builder/GenericBuilder.php", "func_name": "GenericBuilder.writeFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a SQL string in a readable human-friendly format.\n\n@param QueryInterface $query\n\n@return string", "docstring_tokens": ["Returns", "a", "SQL", "string", "in", "a", "readable", "human", "-", "friendly", "format", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Builder/GenericBuilder.php#L199-L206", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Builder/GenericBuilder.php", "func_name": "GenericBuilder.writeColumnName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the column name.\n\n@param Column $column\n\n@return string", "docstring_tokens": ["Returns", "the", "column", "name", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Builder/GenericBuilder.php#L370-L379", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Syntax/SyntaxFactory.php", "func_name": "SyntaxFactory.createColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a collection of Column objects.\n\n@param array $arguments\n@param Table|null $table\n\n@return array", "docstring_tokens": ["Creates", "a", "collection", "of", "Column", "objects", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Syntax/SyntaxFactory.php#L26-L45", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Syntax/SyntaxFactory.php", "func_name": "SyntaxFactory.createColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Column object.\n\n@param array $argument\n@param null|Table $table\n\n@return Column", "docstring_tokens": ["Creates", "a", "Column", "object", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Syntax/SyntaxFactory.php#L55-L68", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Syntax/SyntaxFactory.php", "func_name": "SyntaxFactory.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Table object.\n\n@param string[] $table\n\n@return Table", "docstring_tokens": ["Creates", "a", "Table", "object", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Syntax/SyntaxFactory.php#L77-L92", "partition": "test"} +{"repo": "nilportugues/php-sql-query-builder", "path": "src/Manipulation/AbstractBaseQuery.php", "func_name": "AbstractBaseQuery.getSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts this query into an SQL string by using the injected builder.\nOptionally can return the SQL with formatted structure.\n\n@param bool $formatted\n\n@return string", "docstring_tokens": ["Converts", "this", "query", "into", "an", "SQL", "string", "by", "using", "the", "injected", "builder", ".", "Optionally", "can", "return", "the", "SQL", "with", "formatted", "structure", "."], "sha": "89918711eb1e3e982309aa202b9987c08c6f495b", "url": "https://github.com/nilportugues/php-sql-query-builder/blob/89918711eb1e3e982309aa202b9987c08c6f495b/src/Manipulation/AbstractBaseQuery.php#L133-L140", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.bootCacheableEloquent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the cacheable eloquent trait for a model.\n\n@return void", "docstring_tokens": ["Boot", "the", "cacheable", "eloquent", "trait", "for", "a", "model", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L45-L58", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.storeCacheKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store the given cache key for the given model by mimicking cache tags.\n\n@param string $modelName\n@param string $cacheKey\n\n@return void", "docstring_tokens": ["Store", "the", "given", "cache", "key", "for", "the", "given", "model", "by", "mimicking", "cache", "tags", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L68-L77", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.getCacheKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cache keys from the given file.\n\n@param string $file\n\n@return array", "docstring_tokens": ["Get", "cache", "keys", "from", "the", "given", "file", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L86-L95", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.flushCacheKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush cache keys of the given model by mimicking cache tags.\n\n@param string $modelName\n\n@return array", "docstring_tokens": ["Flush", "cache", "keys", "of", "the", "given", "model", "by", "mimicking", "cache", "tags", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L104-L119", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.forgetCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Forget the model cache.\n\n@return void", "docstring_tokens": ["Forget", "the", "model", "cache", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L184-L199", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.resetCacheConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset cached model to its defaults.\n\n@return $this", "docstring_tokens": ["Reset", "cached", "model", "to", "its", "defaults", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L230-L236", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.generateCacheKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate unique cache key.\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $builder\n@param array $columns\n\n@return string", "docstring_tokens": ["Generate", "unique", "cache", "key", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L246-L278", "partition": "test"} +{"repo": "rinvex/laravel-cacheable", "path": "src/CacheableEloquent.php", "func_name": "CacheableEloquent.cacheQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache given callback.\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $builder\n@param array $columns\n@param \\Closure $closure\n\n@return mixed", "docstring_tokens": ["Cache", "given", "callback", "."], "sha": "d6b8a48ab6fa3e018f2eda05930915f6870339e0", "url": "https://github.com/rinvex/laravel-cacheable/blob/d6b8a48ab6fa3e018f2eda05930915f6870339e0/src/CacheableEloquent.php#L289-L316", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/utils/ValidationUtils.php", "func_name": "ValidationUtils.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method validates HPP request object using JSR-303 bean validation.\n\n@param HppRequest|HppResponse $hppRequest", "docstring_tokens": ["Method", "validates", "HPP", "request", "object", "using", "JSR", "-", "303", "bean", "validation", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/utils/ValidationUtils.php#L42-L65", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/utils/ValidationUtils.php", "func_name": "ValidationUtils.validateResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method validates HPP response hash.\n\n@param HppResponse $hppResponse\n@param string $secret", "docstring_tokens": ["Method", "validates", "HPP", "response", "hash", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/utils/ValidationUtils.php#L107-L114", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addAutoSettleFlag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a autoSettleFlag\n\n@param String|bool $autoSettleFlag\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "autoSettleFlag"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L976-L984", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addReturnTss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a returnTss\n\n@param String|bool $returnTss\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "returnTss"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1019-L1027", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addValidateCardOnly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a validateCardOnly\n\n@param String|bool $validateCardOnly\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "validateCardOnly"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1181-L1189", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addDccEnable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a dccEnable\n\n@param String $dccEnable\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "dccEnable"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1198-L1206", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addCardStorageEnable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a cardStorageEnable\n\n@param mixed|bool $cardStorageEnable\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "cardStorageEnable"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1215-L1223", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addOfferSaveCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a offerSaveCard\n\n@param string|bool $offerSaveCard\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "offerSaveCard"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1232-L1240", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addPayerExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding a payerExists\n\n@param string|bool $payerExists\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "a", "payerExists"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1275-L1283", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.addHppVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for adding the Hpp Version\n\n@param string $hppVersion\n\n@return HppRequest", "docstring_tokens": ["Helper", "method", "for", "adding", "the", "Hpp", "Version"], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1292-L1301", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.generateDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates default values for fields such as hash, timestamp and order ID.\n\n@param String $secret\n\n@return HppRequest", "docstring_tokens": ["Generates", "default", "values", "for", "fields", "such", "as", "hash", "timestamp", "and", "order", "ID", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1436-L1452", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 encodes all Hpp Request values.\n\n@param string $charSet\n\n@return HppRequest", "docstring_tokens": ["Base64", "encodes", "all", "Hpp", "Request", "values", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1547-L1590", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php", "func_name": "HppRequest.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 decodes all Hpp Request values.\n\n@param string $charSet\n\n@return HppRequest", "docstring_tokens": ["Base64", "decodes", "all", "Hpp", "Request", "values", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppRequest.php#L1599-L1640", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppResponse.php", "func_name": "HppResponse.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 encodes the HPP response values.\n\n@param string $charset\n\n@return HppResponse\n@throws Exception", "docstring_tokens": ["Base64", "encodes", "the", "HPP", "response", "values", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppResponse.php#L867-L901", "partition": "test"} +{"repo": "realexpayments/rxp-hpp-php", "path": "src/main/php/com-realexpayments-hpp-sdk/domain/HppResponse.php", "func_name": "HppResponse.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 decodes the HPP response values.\n\n@param string $charset\n\n@return HppResponse\n@throws Exception", "docstring_tokens": ["Base64", "decodes", "the", "HPP", "response", "values", "."], "sha": "95437a296cc87ca69a29dda256872b1ea52e7be9", "url": "https://github.com/realexpayments/rxp-hpp-php/blob/95437a296cc87ca69a29dda256872b1ea52e7be9/src/main/php/com-realexpayments-hpp-sdk/domain/HppResponse.php#L911-L945", "partition": "test"} +{"repo": "youshido-php/GraphQL", "path": "src/Validator/ConfigValidator/Rules/TypeValidationRule.php", "func_name": "TypeValidationRule.getFieldConfigRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exists for the performance\n@return array", "docstring_tokens": ["Exists", "for", "the", "performance"], "sha": "d392a5e7eea498b0434c1f0460f0b1f44fe38713", "url": "https://github.com/youshido-php/GraphQL/blob/d392a5e7eea498b0434c1f0460f0b1f44fe38713/src/Validator/ConfigValidator/Rules/TypeValidationRule.php#L194-L206", "partition": "test"} +{"repo": "youshido-php/GraphQL", "path": "src/Execution/Processor.php", "func_name": "Processor.unpackDeferredResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unpack results stored inside deferred resolvers.\n\n@param mixed $result\nThe result ree.\n\n@return mixed\nThe unpacked result.", "docstring_tokens": ["Unpack", "results", "stored", "inside", "deferred", "resolvers", "."], "sha": "d392a5e7eea498b0434c1f0460f0b1f44fe38713", "url": "https://github.com/youshido-php/GraphQL/blob/d392a5e7eea498b0434c1f0460f0b1f44fe38713/src/Execution/Processor.php#L133-L146", "partition": "test"} +{"repo": "youshido-php/GraphQL", "path": "src/Execution/Processor.php", "func_name": "Processor.deferredResolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply post-process callbacks to all deferred resolvers.", "docstring_tokens": ["Apply", "post", "-", "process", "callbacks", "to", "all", "deferred", "resolvers", "."], "sha": "d392a5e7eea498b0434c1f0460f0b1f44fe38713", "url": "https://github.com/youshido-php/GraphQL/blob/d392a5e7eea498b0434c1f0460f0b1f44fe38713/src/Execution/Processor.php#L394-L414", "partition": "test"} +{"repo": "youshido-php/GraphQL", "path": "src/Relay/Connection/ArrayConnection.php", "func_name": "ArrayConnection.cursorToKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a cursor to its array key.\n\n@param $cursor\n@return null|string", "docstring_tokens": ["Converts", "a", "cursor", "to", "its", "array", "key", "."], "sha": "d392a5e7eea498b0434c1f0460f0b1f44fe38713", "url": "https://github.com/youshido-php/GraphQL/blob/d392a5e7eea498b0434c1f0460f0b1f44fe38713/src/Relay/Connection/ArrayConnection.php#L57-L62", "partition": "test"} +{"repo": "youshido-php/GraphQL", "path": "src/Relay/Connection/ArrayConnection.php", "func_name": "ArrayConnection.cursorToOffsetWithDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a cursor to an array offset.\n\n@param $cursor\nThe cursor string.\n@param $default\nThe default value, in case the cursor is not given.\n@param array $array\nThe array to use in counting the offset. If empty, assumed to be an indexed array.\n@return int|null", "docstring_tokens": ["Converts", "a", "cursor", "to", "an", "array", "offset", "."], "sha": "d392a5e7eea498b0434c1f0460f0b1f44fe38713", "url": "https://github.com/youshido-php/GraphQL/blob/d392a5e7eea498b0434c1f0460f0b1f44fe38713/src/Relay/Connection/ArrayConnection.php#L75-L90", "partition": "test"} +{"repo": "hunzhiwange/framework", "path": "src/Leevel/View/Compiler.php", "func_name": "Compiler.listNodeCompiler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "foreach list.\n\n@param array $theme", "docstring_tokens": ["foreach", "list", "."], "sha": "53c6571593a85e800197815532f66b1891432995", "url": "https://github.com/hunzhiwange/framework/blob/53c6571593a85e800197815532f66b1891432995/src/Leevel/View/Compiler.php#L764-L800", "partition": "test"} +{"repo": "chriskonnertz/DeepLy", "path": "src/ChrisKonnertz/DeepLy/Protocol/JsonRpcProtocol.php", "func_name": "JsonRpcProtocol.createRequestData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a request bag according to the JSON RPC protocol.\nThe API will be able to understand it.\nThe result is encoded as a JSON string.\n\n@param array $payload The payload / parameters of the request. Will be encoded as JSON\n@param string $method The method of the API call.\n@return string", "docstring_tokens": ["Creates", "a", "request", "bag", "according", "to", "the", "JSON", "RPC", "protocol", ".", "The", "API", "will", "be", "able", "to", "understand", "it", ".", "The", "result", "is", "encoded", "as", "a", "JSON", "string", "."], "sha": "91f091cac09c8cc7bd2bc89170b490279ebbc46b", "url": "https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/Protocol/JsonRpcProtocol.php#L48-L72", "partition": "test"} +{"repo": "chriskonnertz/DeepLy", "path": "src/ChrisKonnertz/DeepLy/ResponseBag/SentencesBag.php", "func_name": "SentencesBag.getAllSentences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string array with all sentences from the response.\n\n@return string[]", "docstring_tokens": ["Returns", "a", "string", "array", "with", "all", "sentences", "from", "the", "response", "."], "sha": "91f091cac09c8cc7bd2bc89170b490279ebbc46b", "url": "https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/ResponseBag/SentencesBag.php#L52-L65", "partition": "test"} +{"repo": "chriskonnertz/DeepLy", "path": "src/ChrisKonnertz/DeepLy/DeepLy.php", "func_name": "DeepLy.splitText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses the DeepL API to split a text into a string array of sentences.\nThis method might throw an exception so you should wrap it in a try-catch-block.\n\n@param string|string[] $text The text you want to split into sentences. It can be a single string or string array\n@param string $from Optional: The source language, a self::LANG_ constant\n@return string[]\n@throws \\Exception", "docstring_tokens": ["Uses", "the", "DeepL", "API", "to", "split", "a", "text", "into", "a", "string", "array", "of", "sentences", ".", "This", "method", "might", "throw", "an", "exception", "so", "you", "should", "wrap", "it", "in", "a", "try", "-", "catch", "-", "block", "."], "sha": "91f091cac09c8cc7bd2bc89170b490279ebbc46b", "url": "https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/DeepLy.php#L184-L191", "partition": "test"} +{"repo": "chriskonnertz/DeepLy", "path": "src/ChrisKonnertz/DeepLy/DeepLy.php", "func_name": "DeepLy.detectLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to detect the language of a text and returns its language code.\nThe language of the text has to be one of the supported languages or the result will be incorrect.\nThis method might throw an exception so you should wrap it in a try-catch-block.\nEspecially it will throw an exception if the API was not able to auto-detected the language.\n\n@param string $text The text you want to analyze\n@return string|null Returns a language code from the self::LANG_CODES array or null\n@throws \\Exception", "docstring_tokens": ["Tries", "to", "detect", "the", "language", "of", "a", "text", "and", "returns", "its", "language", "code", ".", "The", "language", "of", "the", "text", "has", "to", "be", "one", "of", "the", "supported", "languages", "or", "the", "result", "will", "be", "incorrect", ".", "This", "method", "might", "throw", "an", "exception", "so", "you", "should", "wrap", "it", "in", "a", "try", "-", "catch", "-", "block", ".", "Especially", "it", "will", "throw", "an", "exception", "if", "the", "API", "was", "not", "able", "to", "auto", "-", "detected", "the", "language", "."], "sha": "91f091cac09c8cc7bd2bc89170b490279ebbc46b", "url": "https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/DeepLy.php#L203-L210", "partition": "test"} +{"repo": "chriskonnertz/DeepLy", "path": "src/ChrisKonnertz/DeepLy/DeepLy.php", "func_name": "DeepLy.getLangCodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Getter for the array with all supported language codes\n\n@param bool $withAuto Optional: If true, the 'auto' code will be in the returned array\n@return \\string[]", "docstring_tokens": ["Getter", "for", "the", "array", "with", "all", "supported", "language", "codes"], "sha": "91f091cac09c8cc7bd2bc89170b490279ebbc46b", "url": "https://github.com/chriskonnertz/DeepLy/blob/91f091cac09c8cc7bd2bc89170b490279ebbc46b/src/ChrisKonnertz/DeepLy/DeepLy.php#L523-L535", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.getDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the devault values used in new rows", "docstring_tokens": ["Get", "the", "devault", "values", "used", "in", "new", "rows"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L82-L97", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a row in the cache.", "docstring_tokens": ["Store", "a", "row", "in", "the", "cache", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L102-L109", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.getCached", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a row from the cache.\n@param mixed $id", "docstring_tokens": ["Returns", "a", "row", "from", "the", "cache", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L134-L147", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a row with a specific id exists.\n\n@see ArrayAccess\n@param mixed $offset", "docstring_tokens": ["Check", "if", "a", "row", "with", "a", "specific", "id", "exists", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L240-L250", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a row with a specific id.\n\n@see ArrayAccess\n\n@param mixed $offset", "docstring_tokens": ["Returns", "a", "row", "with", "a", "specific", "id", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L259-L269", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a row with a specific id.\n\n@see ArrayAccess\n@param mixed $offset\n@param mixed $value", "docstring_tokens": ["Store", "a", "row", "with", "a", "specific", "id", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L278-L301", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.offsetUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a row with a specific id.\n\n@see ArrayAccess\n@param mixed $offset", "docstring_tokens": ["Remove", "a", "row", "with", "a", "specific", "id", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L309-L316", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Table.php", "func_name": "Table.getJoinField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the foreign key.", "docstring_tokens": ["Returns", "the", "foreign", "key", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Table.php#L337-L342", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/RowCollection.php", "func_name": "RowCollection.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all rows in the database", "docstring_tokens": ["Delete", "all", "rows", "in", "the", "database"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/RowCollection.php#L337-L350", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/FieldFactory.php", "func_name": "FieldFactory.getClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the field class name.", "docstring_tokens": ["Get", "the", "field", "class", "name", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/FieldFactory.php#L115-L130", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Database.php", "func_name": "Database.setConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a config value\n@param mixed $value", "docstring_tokens": ["Set", "a", "config", "value"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Database.php#L80-L85", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Database.php", "func_name": "Database.getFieldFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the FieldFactory instance used by the tables.", "docstring_tokens": ["Returns", "the", "FieldFactory", "instance", "used", "by", "the", "tables", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Database.php#L136-L143", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Database.php", "func_name": "Database.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a query and returns the statement object with the result.\n\n@throws Exception", "docstring_tokens": ["Execute", "a", "query", "and", "returns", "the", "statement", "object", "with", "the", "result", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Database.php#L180-L186", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Database.php", "func_name": "Database.executeTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a callable inside a transaction.\n\n@return mixed The callable returned value", "docstring_tokens": ["Execute", "a", "callable", "inside", "a", "transaction", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Database.php#L193-L212", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Database.php", "func_name": "Database.beginTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a transaction if it's not started yet.", "docstring_tokens": ["Starts", "a", "transaction", "if", "it", "s", "not", "started", "yet", "."], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Database.php#L225-L234", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Fields/Point.php", "func_name": "Point.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether the value is valid before save in the database\n@param mixed $data", "docstring_tokens": ["Check", "whether", "the", "value", "is", "valid", "before", "save", "in", "the", "database"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Fields/Point.php#L59-L70", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a value is set or not", "docstring_tokens": ["Check", "whether", "a", "value", "is", "set", "or", "not"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L172-L177", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit the values using an array", "docstring_tokens": ["Edit", "the", "values", "using", "an", "array"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L200-L207", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the row in the database", "docstring_tokens": ["Delete", "the", "row", "in", "the", "database"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L240-L253", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.relate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Relate this row with other rows", "docstring_tokens": ["Relate", "this", "row", "with", "other", "rows"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L258-L295", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.unrelate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unrelate this row with other rows", "docstring_tokens": ["Unrelate", "this", "row", "with", "other", "rows"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L300-L336", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.unrelateAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unrelate this row with all rows of other tables", "docstring_tokens": ["Unrelate", "this", "row", "with", "all", "rows", "of", "other", "tables"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L341-L378", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a select query of a table related with this row", "docstring_tokens": ["Creates", "a", "select", "query", "of", "a", "table", "related", "with", "this", "row"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L383-L391", "partition": "test"} +{"repo": "oscarotero/simple-crud", "path": "src/Row.php", "func_name": "Row.getValueName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the real field name", "docstring_tokens": ["Return", "the", "real", "field", "name"], "sha": "4fb1d67b4da58f9006f4b4546a51f0c51c994b8f", "url": "https://github.com/oscarotero/simple-crud/blob/4fb1d67b4da58f9006f4b4546a51f0c51c994b8f/src/Row.php#L396-L414", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Quota.php", "func_name": "Quota.setLimits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of `QuotaLimit` definitions for the service.\nUsed by metric-based quotas only.\n\nGenerated from protobuf field repeated .google.api.QuotaLimit limits = 3;\n@param \\Google\\Api\\QuotaLimit[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["List", "of", "QuotaLimit", "definitions", "for", "the", "service", ".", "Used", "by", "metric", "-", "based", "quotas", "only", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Quota.php#L113-L119", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Quota.php", "func_name": "Quota.setMetricRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of `MetricRule` definitions, each one mapping a selected method to one\nor more metrics.\nUsed by metric-based quotas only.\n\nGenerated from protobuf field repeated .google.api.MetricRule metric_rules = 4;\n@param \\Google\\Api\\MetricRule[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["List", "of", "MetricRule", "definitions", "each", "one", "mapping", "a", "selected", "method", "to", "one", "or", "more", "metrics", ".", "Used", "by", "metric", "-", "based", "quotas", "only", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Quota.php#L143-L149", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Logging.php", "func_name": "Logging.setProducerDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logging configurations for sending logs to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none producer destination.\n\nGenerated from protobuf field repeated .google.api.Logging.LoggingDestination producer_destinations = 1;\n@param \\Google\\Api\\Logging\\LoggingDestination[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Logging", "configurations", "for", "sending", "logs", "to", "the", "producer", "project", ".", "There", "can", "be", "multiple", "producer", "destinations", "each", "one", "must", "have", "a", "different", "monitored", "resource", "type", ".", "A", "log", "can", "be", "used", "in", "at", "most", "one", "producer", "destination", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Logging.php#L110-L116", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Logging.php", "func_name": "Logging.setConsumerDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logging configurations for sending logs to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none consumer destination.\n\nGenerated from protobuf field repeated .google.api.Logging.LoggingDestination consumer_destinations = 2;\n@param \\Google\\Api\\Logging\\LoggingDestination[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Logging", "configurations", "for", "sending", "logs", "to", "the", "consumer", "project", ".", "There", "can", "be", "multiple", "consumer", "destinations", "each", "one", "must", "have", "a", "different", "monitored", "resource", "type", ".", "A", "log", "can", "be", "used", "in", "at", "most", "one", "consumer", "destination", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Logging.php#L142-L148", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/ConfigChange.php", "func_name": "ConfigChange.setAdvices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collection of advice provided for this change, useful for determining the\npossible impact of this change.\n\nGenerated from protobuf field repeated .google.api.Advice advices = 5;\n@param \\Google\\Api\\Advice[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Collection", "of", "advice", "provided", "for", "this", "change", "useful", "for", "determining", "the", "possible", "impact", "of", "this", "change", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/ConfigChange.php#L242-L248", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Service.php", "func_name": "Service.setEndpoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configuration for network endpoints. If this is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.\n\nGenerated from protobuf field repeated .google.api.Endpoint endpoints = 18;\n@param \\Google\\Api\\Endpoint[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Configuration", "for", "network", "endpoints", ".", "If", "this", "is", "empty", "then", "an", "endpoint", "with", "the", "same", "name", "as", "the", "service", "is", "automatically", "generated", "to", "service", "all", "defined", "APIs", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Service.php#L754-L760", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Service.php", "func_name": "Service.setLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines the logs used by this service.\n\nGenerated from protobuf field repeated .google.api.LogDescriptor logs = 23;\n@param \\Google\\Api\\LogDescriptor[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Defines", "the", "logs", "used", "by", "this", "service", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Service.php#L806-L812", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Service.php", "func_name": "Service.setMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines the metrics used by this service.\n\nGenerated from protobuf field repeated .google.api.MetricDescriptor metrics = 24;\n@param \\Google\\Api\\MetricDescriptor[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Defines", "the", "metrics", "used", "by", "this", "service", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Service.php#L832-L838", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Rpc/BadRequest.php", "func_name": "BadRequest.setFieldViolations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes all violations in a client request.\n\nGenerated from protobuf field repeated .google.rpc.BadRequest.FieldViolation field_violations = 1;\n@param \\Google\\Rpc\\BadRequest\\FieldViolation[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Describes", "all", "violations", "in", "a", "client", "request", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Rpc/BadRequest.php#L59-L65", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/LongRunning/ListOperationsResponse.php", "func_name": "ListOperationsResponse.setOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A list of operations that matches the specified filter in the request.\n\nGenerated from protobuf field repeated .google.longrunning.Operation operations = 1;\n@param \\Google\\LongRunning\\Operation[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["A", "list", "of", "operations", "that", "matches", "the", "specified", "filter", "in", "the", "request", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/LongRunning/ListOperationsResponse.php#L66-L72", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/ListRolesRequest.php", "func_name": "ListRolesRequest.setView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optional view for the returned Role objects.\n\nGenerated from protobuf field .google.iam.admin.v1.RoleView view = 4;\n@param int $var\n@return $this", "docstring_tokens": ["Optional", "view", "for", "the", "returned", "Role", "objects", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/ListRolesRequest.php#L180-L186", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/Role.php", "func_name": "Role.setIncludedPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The names of the permissions this role grants when bound in an IAM policy.\n\nGenerated from protobuf field repeated string included_permissions = 7;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "names", "of", "the", "permissions", "this", "role", "grants", "when", "bound", "in", "an", "IAM", "policy", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/Role.php#L206-L212", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/Role.php", "func_name": "Role.setStage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The current launch stage of the role.\n\nGenerated from protobuf field .google.iam.admin.v1.Role.RoleLaunchStage stage = 8;\n@param int $var\n@return $this", "docstring_tokens": ["The", "current", "launch", "stage", "of", "the", "role", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/Role.php#L232-L238", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Billing.php", "func_name": "Billing.setConsumerDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Billing configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations per service, each one must have\na different monitored resource type. A metric can be used in at most\none consumer destination.\n\nGenerated from protobuf field repeated .google.api.Billing.BillingDestination consumer_destinations = 8;\n@param \\Google\\Api\\Billing\\BillingDestination[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Billing", "configurations", "for", "sending", "metrics", "to", "the", "consumer", "project", ".", "There", "can", "be", "multiple", "consumer", "destinations", "per", "service", "each", "one", "must", "have", "a", "different", "monitored", "resource", "type", ".", "A", "metric", "can", "be", "used", "in", "at", "most", "one", "consumer", "destination", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Billing.php#L88-L94", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/HttpBody.php", "func_name": "HttpBody.setExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Application specific response metadata. Must be set in the first response\nfor streaming APIs.\n\nGenerated from protobuf field repeated .google.protobuf.Any extensions = 3;\n@param \\Google\\Protobuf\\Any[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Application", "specific", "response", "metadata", ".", "Must", "be", "set", "in", "the", "first", "response", "for", "streaming", "APIs", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/HttpBody.php#L157-L163", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Authentication.php", "func_name": "Authentication.setProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines a set of authentication providers that a service supports.\n\nGenerated from protobuf field repeated .google.api.AuthProvider providers = 4;\n@param \\Google\\Api\\AuthProvider[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Defines", "a", "set", "of", "authentication", "providers", "that", "a", "service", "supports", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Authentication.php#L107-L113", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/ContextRule.php", "func_name": "ContextRule.setRequested", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A list of full type names of requested contexts.\n\nGenerated from protobuf field repeated string requested = 2;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["A", "list", "of", "full", "type", "names", "of", "requested", "contexts", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/ContextRule.php#L105-L111", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/ContextRule.php", "func_name": "ContextRule.setProvided", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A list of full type names of provided contexts.\n\nGenerated from protobuf field repeated string provided = 3;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["A", "list", "of", "full", "type", "names", "of", "provided", "contexts", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/ContextRule.php#L131-L137", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Distribution/BucketOptions/Explicit.php", "func_name": "Explicit.setBounds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The values must be monotonically increasing.\n\nGenerated from protobuf field repeated double bounds = 1;\n@param float[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "values", "must", "be", "monotonically", "increasing", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Distribution/BucketOptions/Explicit.php#L65-L71", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/UpdateRoleRequest.php", "func_name": "UpdateRoleRequest.setRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The updated role.\n\nGenerated from protobuf field .google.iam.admin.v1.Role role = 2;\n@param \\Google\\Iam\\Admin\\V1\\Role $var\n@return $this", "docstring_tokens": ["The", "updated", "role", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/UpdateRoleRequest.php#L112-L118", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Page.php", "func_name": "Page.setSubpages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subpages of this page. The order of subpages specified here will be\nhonored in the generated docset.\n\nGenerated from protobuf field repeated .google.api.Page subpages = 3;\n@param \\Google\\Api\\Page[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Subpages", "of", "this", "page", ".", "The", "order", "of", "subpages", "specified", "here", "will", "be", "honored", "in", "the", "generated", "docset", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Page.php#L187-L193", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/ListServiceAccountKeysRequest.php", "func_name": "ListServiceAccountKeysRequest.setKeyTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the types of keys the user wants to include in the list\nresponse. Duplicate key types are not allowed. If no key type\nis provided, all keys are returned.\n\nGenerated from protobuf field repeated .google.iam.admin.v1.ListServiceAccountKeysRequest.KeyType key_types = 2;\n@param int[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Filters", "the", "types", "of", "keys", "the", "user", "wants", "to", "include", "in", "the", "list", "response", ".", "Duplicate", "key", "types", "are", "not", "allowed", ".", "If", "no", "key", "type", "is", "provided", "all", "keys", "are", "returned", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/ListServiceAccountKeysRequest.php#L116-L122", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Type/PostalAddress.php", "func_name": "PostalAddress.setRecipients", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optional. The recipient at the address.\nThis field may, under certain circumstances, contain multiline information.\nFor example, it might contain \"care of\" information.\n\nGenerated from protobuf field repeated string recipients = 10;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Optional", ".", "The", "recipient", "at", "the", "address", ".", "This", "field", "may", "under", "certain", "circumstances", "contain", "multiline", "information", ".", "For", "example", "it", "might", "contain", "care", "of", "information", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Type/PostalAddress.php#L589-L595", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Rpc/DebugInfo.php", "func_name": "DebugInfo.setStackEntries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The stack trace entries indicating where the error occurred.\n\nGenerated from protobuf field repeated string stack_entries = 1;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "stack", "trace", "entries", "indicating", "where", "the", "error", "occurred", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Rpc/DebugInfo.php#L66-L72", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Monitoring.php", "func_name": "Monitoring.setProducerDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Monitoring configurations for sending metrics to the producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none producer destination.\n\nGenerated from protobuf field repeated .google.api.Monitoring.MonitoringDestination producer_destinations = 1;\n@param \\Google\\Api\\Monitoring\\MonitoringDestination[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Monitoring", "configurations", "for", "sending", "metrics", "to", "the", "producer", "project", ".", "There", "can", "be", "multiple", "producer", "destinations", "each", "one", "must", "have", "a", "different", "monitored", "resource", "type", ".", "A", "metric", "can", "be", "used", "in", "at", "most", "one", "producer", "destination", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Monitoring.php#L118-L124", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Monitoring.php", "func_name": "Monitoring.setConsumerDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Monitoring configurations for sending metrics to the consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A metric can be used in at most\none consumer destination.\n\nGenerated from protobuf field repeated .google.api.Monitoring.MonitoringDestination consumer_destinations = 2;\n@param \\Google\\Api\\Monitoring\\MonitoringDestination[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Monitoring", "configurations", "for", "sending", "metrics", "to", "the", "consumer", "project", ".", "There", "can", "be", "multiple", "consumer", "destinations", "each", "one", "must", "have", "a", "different", "monitored", "resource", "type", ".", "A", "metric", "can", "be", "used", "in", "at", "most", "one", "consumer", "destination", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Monitoring.php#L150-L156", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/AuthenticationRule.php", "func_name": "AuthenticationRule.setRequirements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Requirements for additional authentication providers.\n\nGenerated from protobuf field repeated .google.api.AuthRequirement requirements = 7;\n@param \\Google\\Api\\AuthRequirement[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Requirements", "for", "additional", "authentication", "providers", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/AuthenticationRule.php#L170-L176", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Cloud/Iam/V1/Policy.php", "func_name": "Policy.setBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Associates a list of `members` to a `role`.\nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.\n\nGenerated from protobuf field repeated .google.iam.v1.Binding bindings = 4;\n@param \\Google\\Cloud\\Iam\\V1\\Binding[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Associates", "a", "list", "of", "members", "to", "a", "role", ".", "Multiple", "bindings", "must", "not", "be", "specified", "for", "the", "same", "role", ".", "bindings", "with", "no", "members", "will", "result", "in", "an", "error", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Cloud/Iam/V1/Policy.php#L149-L155", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/MetricRule.php", "func_name": "MetricRule.setMetricCosts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Metrics to update when the selected methods are called, and the associated\ncost applied to each metric.\nThe key of the map is the metric name, and the values are the amount\nincreased for the metric against which the quota limits are defined.\nThe value must not be negative.\n\nGenerated from protobuf field map metric_costs = 2;\n@param array|\\Google\\Protobuf\\Internal\\MapField $var\n@return $this", "docstring_tokens": ["Metrics", "to", "update", "when", "the", "selected", "methods", "are", "called", "and", "the", "associated", "cost", "applied", "to", "each", "metric", ".", "The", "key", "of", "the", "map", "is", "the", "metric", "name", "and", "the", "values", "are", "the", "amount", "increased", "for", "the", "metric", "against", "which", "the", "quota", "limits", "are", "defined", ".", "The", "value", "must", "not", "be", "negative", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/MetricRule.php#L115-L121", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Documentation.php", "func_name": "Documentation.setPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The top level pages for the documentation set.\n\nGenerated from protobuf field repeated .google.api.Page pages = 5;\n@param \\Google\\Api\\Page[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "top", "level", "pages", "for", "the", "documentation", "set", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Documentation.php#L195-L201", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Cloud/Iam/V1/BindingDelta.php", "func_name": "BindingDelta.setAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The action that was performed on a Binding.\nRequired\n\nGenerated from protobuf field .google.iam.v1.BindingDelta.Action action = 1;\n@param int $var\n@return $this", "docstring_tokens": ["The", "action", "that", "was", "performed", "on", "a", "Binding", ".", "Required"], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Cloud/Iam/V1/BindingDelta.php#L87-L93", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/SourceInfo.php", "func_name": "SourceInfo.setSourceFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "All files used during config generation.\n\nGenerated from protobuf field repeated .google.protobuf.Any source_files = 1;\n@param \\Google\\Protobuf\\Any[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["All", "files", "used", "during", "config", "generation", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/SourceInfo.php#L58-L64", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/ListServiceAccountKeysResponse.php", "func_name": "ListServiceAccountKeysResponse.setKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The public keys for the service account.\n\nGenerated from protobuf field repeated .google.iam.admin.v1.ServiceAccountKey keys = 1;\n@param \\Google\\Iam\\Admin\\V1\\ServiceAccountKey[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "public", "keys", "for", "the", "service", "account", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/ListServiceAccountKeysResponse.php#L58-L64", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/ListServiceAccountsResponse.php", "func_name": "ListServiceAccountsResponse.setAccounts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The list of matching service accounts.\n\nGenerated from protobuf field repeated .google.iam.admin.v1.ServiceAccount accounts = 1;\n@param \\Google\\Iam\\Admin\\V1\\ServiceAccount[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "list", "of", "matching", "service", "accounts", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/ListServiceAccountsResponse.php#L70-L76", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/Permission.php", "func_name": "Permission.setCustomRolesSupportLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The current custom role support level.\n\nGenerated from protobuf field .google.iam.admin.v1.Permission.CustomRolesSupportLevel custom_roles_support_level = 6;\n@param int $var\n@return $this", "docstring_tokens": ["The", "current", "custom", "role", "support", "level", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/Permission.php#L228-L234", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/V1/Logging/AuditData.php", "func_name": "AuditData.setPolicyDelta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Policy delta between the original policy and the newly set policy.\n\nGenerated from protobuf field .google.iam.v1.PolicyDelta policy_delta = 2;\n@param \\Google\\Cloud\\Iam\\V1\\PolicyDelta $var\n@return $this", "docstring_tokens": ["Policy", "delta", "between", "the", "original", "policy", "and", "the", "newly", "set", "policy", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/V1/Logging/AuditData.php#L60-L66", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Distribution.php", "func_name": "Distribution.setExemplars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Must be in increasing order of `value` field.\n\nGenerated from protobuf field repeated .google.api.Distribution.Exemplar exemplars = 10;\n@param \\Google\\Api\\Distribution\\Exemplar[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Must", "be", "in", "increasing", "order", "of", "value", "field", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Distribution.php#L361-L367", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/Endpoint.php", "func_name": "Endpoint.setFeatures", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The list of features enabled on this endpoint.\n\nGenerated from protobuf field repeated string features = 4;\n@param string[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "list", "of", "features", "enabled", "on", "this", "endpoint", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/Endpoint.php#L183-L189", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/ProjectProperties.php", "func_name": "ProjectProperties.setProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of per consumer project-specific properties.\n\nGenerated from protobuf field repeated .google.api.Property properties = 1;\n@param \\Google\\Api\\Property[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["List", "of", "per", "consumer", "project", "-", "specific", "properties", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/ProjectProperties.php#L71-L77", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Rpc/QuotaFailure.php", "func_name": "QuotaFailure.setViolations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes all quota violations.\n\nGenerated from protobuf field repeated .google.rpc.QuotaFailure.Violation violations = 1;\n@param \\Google\\Rpc\\QuotaFailure\\Violation[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Describes", "all", "quota", "violations", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Rpc/QuotaFailure.php#L66-L72", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/CreateServiceAccountKeyRequest.php", "func_name": "CreateServiceAccountKeyRequest.setPrivateKeyType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the\ndefault output format.\n\nGenerated from protobuf field .google.iam.admin.v1.ServiceAccountPrivateKeyType private_key_type = 2;\n@param int $var\n@return $this", "docstring_tokens": ["The", "output", "format", "of", "the", "private", "key", ".", "GOOGLE_CREDENTIALS_FILE", "is", "the", "default", "output", "format", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/CreateServiceAccountKeyRequest.php#L124-L130", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/CreateServiceAccountKeyRequest.php", "func_name": "CreateServiceAccountKeyRequest.setKeyAlgorithm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Which type of key and algorithm to use for the key.\nThe default is currently a 2K RSA key. However this may change in the\nfuture.\n\nGenerated from protobuf field .google.iam.admin.v1.ServiceAccountKeyAlgorithm key_algorithm = 3;\n@param int $var\n@return $this", "docstring_tokens": ["Which", "type", "of", "key", "and", "algorithm", "to", "use", "for", "the", "key", ".", "The", "default", "is", "currently", "a", "2K", "RSA", "key", ".", "However", "this", "may", "change", "in", "the", "future", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/CreateServiceAccountKeyRequest.php#L154-L160", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Rpc/Status.php", "func_name": "Status.setDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.\n\nGenerated from protobuf field repeated .google.protobuf.Any details = 3;\n@param \\Google\\Protobuf\\Any[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["A", "list", "of", "messages", "that", "carry", "the", "error", "details", ".", "There", "is", "a", "common", "set", "of", "message", "types", "for", "APIs", "to", "use", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Rpc/Status.php#L176-L182", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Cloud/Iam/V1/PolicyDelta.php", "func_name": "PolicyDelta.setBindingDeltas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The delta for Bindings between two policies.\n\nGenerated from protobuf field repeated .google.iam.v1.BindingDelta binding_deltas = 1;\n@param \\Google\\Cloud\\Iam\\V1\\BindingDelta[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "delta", "for", "Bindings", "between", "two", "policies", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Cloud/Iam/V1/PolicyDelta.php#L58-L64", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/GetServiceAccountKeyRequest.php", "func_name": "GetServiceAccountKeyRequest.setPublicKeyType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The output format of the public key requested.\nX509_PEM is the default output format.\n\nGenerated from protobuf field .google.iam.admin.v1.ServiceAccountPublicKeyType public_key_type = 2;\n@param int $var\n@return $this", "docstring_tokens": ["The", "output", "format", "of", "the", "public", "key", "requested", ".", "X509_PEM", "is", "the", "default", "output", "format", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/GetServiceAccountKeyRequest.php#L112-L118", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Iam/Admin/V1/QueryGrantableRolesResponse.php", "func_name": "QueryGrantableRolesResponse.setRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The list of matching roles.\n\nGenerated from protobuf field repeated .google.iam.admin.v1.Role roles = 1;\n@param \\Google\\Iam\\Admin\\V1\\Role[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["The", "list", "of", "matching", "roles", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Iam/Admin/V1/QueryGrantableRolesResponse.php#L68-L74", "partition": "test"} +{"repo": "googleapis/common-protos-php", "path": "src/Api/SystemParameterRule.php", "func_name": "SystemParameterRule.setParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define parameters. Multiple names may be defined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.\n\nGenerated from protobuf field repeated .google.api.SystemParameter parameters = 2;\n@param \\Google\\Api\\SystemParameter[]|\\Google\\Protobuf\\Internal\\RepeatedField $var\n@return $this", "docstring_tokens": ["Define", "parameters", ".", "Multiple", "names", "may", "be", "defined", "for", "a", "parameter", ".", "For", "a", "given", "method", "call", "only", "one", "of", "them", "should", "be", "used", ".", "If", "multiple", "names", "are", "used", "the", "behavior", "is", "implementation", "-", "dependent", ".", "If", "none", "of", "the", "specified", "names", "are", "present", "the", "behavior", "is", "parameter", "-", "dependent", "."], "sha": "d4763ce7c8046ec84534bd3aa61ab606f4b27373", "url": "https://github.com/googleapis/common-protos-php/blob/d4763ce7c8046ec84534bd3aa61ab606f4b27373/src/Api/SystemParameterRule.php#L117-L123", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.getCacheFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the cache file name\n\n@param string $filename the name of the cache file\n@param bool $actual get the actual file or the public file\n@param bool $mkdir a boolean to enable/disable the construction of the\ncache file directory\n@return string", "docstring_tokens": ["Gets", "the", "cache", "file", "name"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L147-L173", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.checkConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks that the cache conditions are respected\n\n@param string $cacheFile the cache file\n@param array $conditions an array of conditions to check\n@return bool\n@throws \\Exception", "docstring_tokens": ["Checks", "that", "the", "cache", "conditions", "are", "respected"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L183-L225", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the target filename exists in the cache and if the conditions\nare respected\n\n@param string $filename the filename\n@param array $conditions the conditions to respect\n@return bool", "docstring_tokens": ["Checks", "if", "the", "target", "filename", "exists", "in", "the", "cache", "and", "if", "the", "conditions", "are", "respected"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L235-L240", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write data in the cache\n\n@param string $filename the name of the cache file\n@param string $contents the contents to store\n@return self", "docstring_tokens": ["Write", "data", "in", "the", "cache"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L261-L268", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data from the cache\n\n@param string $filename the cache file name\n@param array $conditions\n@return null|string", "docstring_tokens": ["Get", "data", "from", "the", "cache"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L289-L296", "partition": "test"} +{"repo": "Gregwar/Cache", "path": "Cache.php", "func_name": "Cache.getOrCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or create the cache entry\n\n@param string $filename the cache file name\n@param array $conditions an array of conditions about expiration\n@param \\Closure $function the closure to call if the file does not exist\n@param bool $file returns the cache file or the file contents\n@param bool $actual returns the actual cache file\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "or", "create", "the", "cache", "entry"], "sha": "2423c78fcd5b3c0d0e5727a24b98a6017570bddf", "url": "https://github.com/Gregwar/Cache/blob/2423c78fcd5b3c0d0e5727a24b98a6017570bddf/Cache.php#L324-L349", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.is_installed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if WordPress is installed.\n\nDetermines whether WordPress is installed by checking if the standard\ndatabase tables are installed. Doesn't produce output; uses exit codes\nto communicate whether WordPress is installed.\n\n[--network]\n: Check if this is a multisite installation.\n\n## EXAMPLES\n\n# Check whether WordPress is installed; exit status 0 if installed, otherwise 1\n$ wp core is-installed\n$ echo $?\n1\n\n# Bash script for checking whether WordPress is installed or not\nif ! $(wp core is-installed); then\nwp core install\nfi\n\n@subcommand is-installed", "docstring_tokens": ["Checks", "if", "WordPress", "is", "installed", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L333-L341", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the standard WordPress installation process.\n\nCreates the WordPress tables in the database using the URL, title, and\ndefault admin user details provided. Performs the famous 5 minute install\nin seconds or less.\n\nNote: if you've installed WordPress in a subdirectory, then you'll need\nto `wp option update siteurl` after `wp core install`. For instance, if\nWordPress is installed in the `/wp` directory and your domain is example.com,\nthen you'll need to run `wp option update siteurl http://example.com/wp` for\nyour WordPress installation to function properly.\n\nNote: When using custom user tables (e.g. `CUSTOM_USER_TABLE`), the admin\nemail and password are ignored if the user_login already exists. If the\nuser_login doesn't exist, a new user will be created.\n\n## OPTIONS\n\n--url=\n: The address of the new site.\n\n--title=\n: The title of the new site.\n\n--admin_user=\n: The name of the admin user.\n\n[--admin_password=]\n: The password for the admin user. Defaults to randomly generated string.\n\n--admin_email=\n: The email address for the admin user.\n\n[--skip-email]\n: Don't send an email notification to the new admin user.\n\n## EXAMPLES\n\n# Install WordPress in 5 seconds\n$ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_password=strongpassword --admin_email=info@example.com\nSuccess: WordPress installed successfully.\n\n# Install WordPress without disclosing admin_password to bash history\n$ wp core install --url=example.com --title=Example --admin_user=supervisor --admin_email=info@example.com --prompt=admin_password < admin_password.txt", "docstring_tokens": ["Runs", "the", "standard", "WordPress", "installation", "process", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L389-L395", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.multisite_convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an existing single-site installation into a multisite installation.\n\nCreates the multisite database tables, and adds the multisite constants\nto wp-config.php.\n\nFor those using WordPress with Apache, remember to update the `.htaccess`\nfile with the appropriate multisite rewrite rules.\n\n[Review the multisite documentation](https://codex.wordpress.org/Create_A_Network)\nfor more details about how multisite works.\n\n## OPTIONS\n\n[--title=]\n: The title of the new network.\n\n[--base=]\n: Base path after the domain name that each site url will start with.\n---\ndefault: /\n---\n\n[--subdomains]\n: If passed, the network will use subdomains, instead of subdirectories. Doesn't work with 'localhost'.\n\n## EXAMPLES\n\n$ wp core multisite-convert\nSet up multisite database tables.\nAdded multisite constants to wp-config.php.\nSuccess: Network installed. Don't forget to set up rewrite rules.\n\n@subcommand multisite-convert\n@alias install-network", "docstring_tokens": ["Transforms", "an", "existing", "single", "-", "site", "installation", "into", "a", "multisite", "installation", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L433-L447", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.multisite_install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Installs WordPress multisite from scratch.\n\nCreates the WordPress tables in the database using the URL, title, and\ndefault admin user details provided. Then, creates the multisite tables\nin the database and adds multisite constants to the wp-config.php.\n\nFor those using WordPress with Apache, remember to update the `.htaccess`\nfile with the appropriate multisite rewrite rules.\n\n## OPTIONS\n\n[--url=]\n: The address of the new site.\n\n[--base=]\n: Base path after the domain name that each site url in the network will start with.\n---\ndefault: /\n---\n\n[--subdomains]\n: If passed, the network will use subdomains, instead of subdirectories. Doesn't work with 'localhost'.\n\n--title=\n: The title of the new site.\n\n--admin_user=\n: The name of the admin user.\n---\ndefault: admin\n---\n\n[--admin_password=]\n: The password for the admin user. Defaults to randomly generated string.\n\n--admin_email=\n: The email address for the admin user.\n\n[--skip-email]\n: Don't send an email notification to the new admin user.\n\n[--skip-config]\n: Don't add multisite constants to wp-config.php.\n\n## EXAMPLES\n\n$ wp core multisite-install --title=\"Welcome to the WordPress\" \\\n> --admin_user=\"admin\" --admin_password=\"password\" \\\n> --admin_email=\"user@example.com\"\nSingle site database tables already present.\nSet up multisite database tables.\nAdded multisite constants to wp-config.php.\nSuccess: Network installed. Don't forget to set up rewrite rules.\n\n@subcommand multisite-install", "docstring_tokens": ["Installs", "WordPress", "multisite", "from", "scratch", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L506-L552", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the WordPress version.\n\n## OPTIONS\n\n[--extra]\n: Show extended version information.\n\n## EXAMPLES\n\n# Display the WordPress version\n$ wp core version\n4.5.2\n\n# Display WordPress version along with other information\n$ wp core version --extra\nWordPress version: 4.5.2\nDatabase revision: 36686\nTinyMCE version: 4.310 (4310-20160418)\nPackage language: en_US\n\n@when before_wp_load", "docstring_tokens": ["Displays", "the", "WordPress", "version", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L825-L850", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.get_core_checksums", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Security copy of the core function with Requests - Gets the checksums for the given version of WordPress.\n\n@param string $version Version string to query.\n@param string $locale Locale to query.\n@return string|array String message on failure. An array of checksums on success.", "docstring_tokens": ["Security", "copy", "of", "the", "core", "function", "with", "Requests", "-", "Gets", "the", "checksums", "for", "the", "given", "version", "of", "WordPress", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L932-L955", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.update_db", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the WordPress database update procedure.\n\n[--network]\n: Update databases for all sites on a network\n\n[--dry-run]\n: Compare database versions without performing the update.\n\n## EXAMPLES\n\n# Update the WordPress database\n$ wp core update-db\nSuccess: WordPress database upgraded successfully from db version 36686 to 35700.\n\n# Update databases for all sites on a network\n$ wp core update-db --network\nWordPress database upgraded successfully from db version 35700 to 29630 on example.com/\nSuccess: WordPress database upgraded on 123/123 sites\n\n@subcommand update-db", "docstring_tokens": ["Runs", "the", "WordPress", "database", "update", "procedure", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L1161-L1240", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.get_download_url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets download url based on version, locale and desired file type.\n\n@param $version\n@param string $locale\n@param string $file_type\n@return string", "docstring_tokens": ["Gets", "download", "url", "based", "on", "version", "locale", "and", "desired", "file", "type", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L1250-L1264", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/Core_Command.php", "func_name": "Core_Command.get_updates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns update information.", "docstring_tokens": ["Returns", "update", "information", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/Core_Command.php#L1269-L1321", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/WP_CLI/Core/CoreUpgrader.php", "func_name": "CoreUpgrader.download_package", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Caches the download, and uses cached if available.\n\n@access public\n\n@param string $package The URI of the package. If this is the full path to an\nexisting local file, it will be returned untouched.\n@param bool $check_signatures Whether to validate file signatures. Default true.\n@return string|WP_Error The full path to the downloaded package file, or a WP_Error object.", "docstring_tokens": ["Caches", "the", "download", "and", "uses", "cached", "if", "available", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/WP_CLI/Core/CoreUpgrader.php#L30-L114", "partition": "test"} +{"repo": "wp-cli/core-command", "path": "src/WP_CLI/Core/CoreUpgrader.php", "func_name": "CoreUpgrader.upgrade", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upgrade WordPress core.\n\n@access public\n\n@global WP_Filesystem_Base $wp_filesystem Subclass\n@global callable $_wp_filesystem_direct_method\n\n@param object $current Response object for whether WordPress is current.\n@param array $args {\nOptional. Arguments for upgrading WordPress core. Default empty array.\n\n@type bool $pre_check_md5 Whether to check the file checksums before\nattempting the upgrade. Default true.\n@type bool $attempt_rollback Whether to attempt to rollback the chances if\nthere is a problem. Default false.\n@type bool $do_rollback Whether to perform this \"upgrade\" as a rollback.\nDefault false.\n}\n@return null|false|WP_Error False or WP_Error on failure, null on success.", "docstring_tokens": ["Upgrade", "WordPress", "core", "."], "sha": "14634828e559f69e2525fa9489635f301783aee8", "url": "https://github.com/wp-cli/core-command/blob/14634828e559f69e2525fa9489635f301783aee8/src/WP_CLI/Core/CoreUpgrader.php#L137-L145", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-table.php", "func_name": "Papi_Property_Table.build_table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build table from array data.\n\n@param array $arr\n@param bool $child\n\n@return stringe", "docstring_tokens": ["Build", "table", "from", "array", "data", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-table.php#L20-L59", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.admin_head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add custom css for hiding boxes with no frame in screen options.\n\n@return string", "docstring_tokens": ["Add", "custom", "css", "for", "hiding", "boxes", "with", "no", "frame", "in", "screen", "options", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L37-L46", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.move_meta_box_after_title", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move meta boxes after title.", "docstring_tokens": ["Move", "meta", "boxes", "after", "title", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L64-L68", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.get_post_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get meta post type.\n\n@return string", "docstring_tokens": ["Get", "meta", "post", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L75-L87", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.get_title", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get meta box title.\n\n@return string", "docstring_tokens": ["Get", "meta", "box", "title", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L94-L105", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.render_meta_box", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the meta box\n\n@param array $post\n@param array $args", "docstring_tokens": ["Render", "the", "meta", "box"], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L113-L130", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box.php", "func_name": "Papi_Admin_Meta_Box.setup_meta_box", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup meta box.", "docstring_tokens": ["Setup", "meta", "box", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box.php#L163-L188", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-type.php", "func_name": "Papi_Core_Type.get_meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get meta data from type class and merge\nwith the parent meta data.\n\n@return array", "docstring_tokens": ["Get", "meta", "data", "from", "type", "class", "and", "merge", "with", "the", "parent", "meta", "data", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-type.php#L120-L151", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-type.php", "func_name": "Papi_Core_Type.setup_file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the file and setup file path, file name and class name properties.\n\n@param string $file_path", "docstring_tokens": ["Load", "the", "file", "and", "setup", "file", "path", "file", "name", "and", "class", "name", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-type.php#L217-L220", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-type.php", "func_name": "Papi_Core_Type.setup_meta_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup meta data.", "docstring_tokens": ["Setup", "meta", "data", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-type.php#L233-L245", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.disabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the property is disabled or not.\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "property", "is", "disabled", "or", "not", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L185-L198", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new instance of the given type or a\nempty core property if no type is given.\n\n@return null|object", "docstring_tokens": ["Create", "a", "new", "instance", "of", "the", "given", "type", "or", "a", "empty", "core", "property", "if", "no", "type", "is", "given", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L217-L287", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.get_child_property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get child property.\n\n@param string $slug\n@param array $items\n\n@return Papi_Core_Property|null", "docstring_tokens": ["Get", "child", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L313-L327", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.get_option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get option value.\n\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "option", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L377-L393", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.get_post_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get post id.\n\n@return int", "docstring_tokens": ["Get", "post", "id", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L422-L432", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.html_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the html id attribute value.\n\n@param object|string $suffix\n@param int $row\n\n@return string", "docstring_tokens": ["Get", "the", "html", "id", "attribute", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L519-L535", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.html_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get html name for property with or without sub property and row number.\n\n@param array|object $sub_property\n@param int $row\n\n@return string", "docstring_tokens": ["Get", "html", "name", "for", "property", "with", "or", "without", "sub", "property", "and", "row", "number", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L545-L565", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.match_slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match property slug with given slug value.\n\n@param string $slug\n\n@return bool", "docstring_tokens": ["Match", "property", "slug", "with", "given", "slug", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L589-L595", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.prepare_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare value before database.\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Prepare", "value", "before", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L604-L622", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.render_is_allowed_by_rules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the property is allowed\nto render by the conditional rules.\n\n@param array $rules\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "property", "is", "allowed", "to", "render", "by", "the", "conditional", "rules", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L703-L709", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.set_option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set property option value.\n\n@param string $key\n@param mixed $value", "docstring_tokens": ["Set", "property", "option", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L748-L754", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.set_setting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set property setting value.\n\n@param string $key\n@param mixed $value", "docstring_tokens": ["Set", "property", "setting", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L762-L766", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.setup_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup properties.", "docstring_tokens": ["Setup", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L792-L802", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.setup_options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup property options.\n\n@param mixed $options\n\n@return mixed", "docstring_tokens": ["Setup", "property", "options", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L811-L852", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.setup_options_slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup options slug.\n\n@param stdClass $options\n\n@return string", "docstring_tokens": ["Setup", "options", "slug", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L861-L882", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-property.php", "func_name": "Papi_Core_Property.setup_options_settings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup options settings.\n\n@param stdClass $options\n\n@return stdClass", "docstring_tokens": ["Setup", "options", "settings", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-property.php#L891-L899", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-attachment-type.php", "func_name": "Papi_Attachment_Type.edit_attachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add attachment fields.\n\n@param array $form_fields\n@param WP_Post $post\n\n@return array", "docstring_tokens": ["Add", "attachment", "fields", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-attachment-type.php#L52-L93", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-attachment-type.php", "func_name": "Papi_Attachment_Type.save_attachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save attachment post data.\n\n@param array $post\n\n@return array", "docstring_tokens": ["Save", "attachment", "post", "data", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-attachment-type.php#L102-L109", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-attachment-type.php", "func_name": "Papi_Attachment_Type.singleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the entry type is a singleton.\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "entry", "type", "is", "a", "singleton", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-attachment-type.php#L116-L126", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.get_property_meta_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property meta value.\n\n@param string $slug\n\n@return mixed", "docstring_tokens": ["Get", "property", "meta", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L50-L58", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.format_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format property value from the property.\n\n@param string $slug\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Format", "property", "value", "from", "the", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L137-L175", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current property.\n\n@param string $slug\n\n@return Papi_Core_Property", "docstring_tokens": ["Get", "current", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L184-L197", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.load_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load property value from the property.\n\n@param string $slug\n\n@return mixed", "docstring_tokens": ["Load", "property", "value", "from", "the", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L206-L255", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get store from factory.\n\n@param int $post_id\n@param string $type\n\n@return mixed", "docstring_tokens": ["Get", "store", "from", "factory", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L265-L282", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-meta-store.php", "func_name": "Papi_Core_Meta_Store.get_property_option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property option or default value.\n\n@param string $slug\n@param string $option\n@param mixed $default\n\n@return bool", "docstring_tokens": ["Get", "property", "option", "or", "default", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-meta-store.php#L303-L320", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.can_render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the property can be rendered or not.\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "property", "can", "be", "rendered", "or", "not", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L50-L68", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the property.", "docstring_tokens": ["Render", "the", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L73-L86", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.render_hidden_html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output hidden input field that cointains which property is used.", "docstring_tokens": ["Output", "hidden", "input", "field", "that", "cointains", "which", "property", "is", "used", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L111-L132", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.render_label_html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render label for the property.", "docstring_tokens": ["Render", "label", "for", "the", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L137-L146", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.render_row_html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the final html that is displayed in the table.", "docstring_tokens": ["Render", "the", "final", "html", "that", "is", "displayed", "in", "the", "table", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L170-L209", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property.php", "func_name": "Papi_Property.render_rules_json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render Conditional rules as script tag with JSON.", "docstring_tokens": ["Render", "Conditional", "rules", "as", "script", "tag", "with", "JSON", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property.php#L214-L229", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-string.php", "func_name": "Papi_Property_String.get_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get value from the database.\n\n@return string", "docstring_tokens": ["Get", "value", "from", "the", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-string.php#L56-L64", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.decode_property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode property.\n\n@param string $key\n@param string $value\n\n@return mixed", "docstring_tokens": ["Decode", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L30-L37", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.get_post_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get post data.\n\n@param string $pattern\n\n@return array", "docstring_tokens": ["Get", "post", "data", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L46-L76", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.get_pre_deep_keys_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pre get deep keys and value.\n\nUsed for saving pre data when properties are in a flexible or repeater.\n\n@param array $arr\n\n@return array", "docstring_tokens": ["Pre", "get", "deep", "keys", "and", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L94-L111", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.prepare_post_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare post data.\nWill decode property options recursive.\n\n@param mixed $data\n\n@return mixed", "docstring_tokens": ["Prepare", "post", "data", ".", "Will", "decode", "property", "options", "recursive", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L121-L135", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.prepare_properties_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare properties data for saving.\n\n@param array $data\n@param int $post_id\n\n@return array", "docstring_tokens": ["Prepare", "properties", "data", "for", "saving", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L145-L214", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data-handler.php", "func_name": "Papi_Core_Data_Handler.santize_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize data before saving it.\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Sanitize", "data", "before", "saving", "it", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data-handler.php#L223-L235", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data.php", "func_name": "Papi_Core_Data.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete property value.\n\n@param int $id\n@param string $slug\n\n@return bool", "docstring_tokens": ["Delete", "property", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data.php#L37-L53", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data.php", "func_name": "Papi_Core_Data.get_function", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get right meta function for right type and context.\n\n@param string $context\n\n@return string", "docstring_tokens": ["Get", "right", "meta", "function", "for", "right", "type", "and", "context", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data.php#L62-L75", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data.php", "func_name": "Papi_Core_Data.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Geta property value for right meta type.\n\n@param int $id\n@param string $slug\n\n@return mixed", "docstring_tokens": ["Geta", "property", "value", "for", "right", "meta", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data.php#L85-L103", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data.php", "func_name": "Papi_Core_Data.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update property meta.\n\n@param int $id\n@param string $slug\n@param mixed $value\n\n@return bool", "docstring_tokens": ["Update", "property", "meta", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data.php#L114-L188", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-data.php", "func_name": "Papi_Core_Data.update_clear_cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear cache values on update property meta.\n\n@param int $id\n@param mixed $value", "docstring_tokens": ["Clear", "cache", "values", "on", "update", "property", "meta", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-data.php#L196-L206", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-post.php", "func_name": "Papi_Admin_Entry_Post.get_revision_ui_diff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the fields displayed in the post revision diff UI.\n\n@param array $return\n@param WP_Post $compare_from\n@param WP_Post $compare_to\n\n@return array", "docstring_tokens": ["Filters", "the", "fields", "displayed", "in", "the", "post", "revision", "diff", "UI", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-post.php#L31-L57", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-post.php", "func_name": "Papi_Admin_Entry_Post.hidden_meta_boxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output hidden meta boxes.", "docstring_tokens": ["Output", "hidden", "meta", "boxes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-post.php#L62-L70", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-post.php", "func_name": "Papi_Admin_Entry_Post.load_post_new", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load post new action\nRedirect to right url if no page type is set.", "docstring_tokens": ["Load", "post", "new", "action", "Redirect", "to", "right", "url", "if", "no", "page", "type", "is", "set", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-post.php#L83-L117", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-post.php", "func_name": "Papi_Admin_Entry_Post.redirect_post_location", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect post location when post is in iframe mode.\n\n@param string $location\n\n@return string", "docstring_tokens": ["Redirect", "post", "location", "when", "post", "is", "in", "iframe", "mode", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-post.php#L126-L139", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-post.php", "func_name": "Papi_Admin_Entry_Post.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup admin entry.", "docstring_tokens": ["Setup", "admin", "entry", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-post.php#L144-L153", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-post-command.php", "func_name": "Papi_CLI_Post_Command.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename meta key for page type.\n\n## OPTIONS\n\n\n: Page type id\n\n\n: Old meta key\n\n\n: New meta key\n\n## EXAMPLES\n\nwp papi post rename about-page-type name title\n\n@param array $args\n@param array $assoc_args", "docstring_tokens": ["Rename", "meta", "key", "for", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-post-command.php#L105-L137", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rule.php", "func_name": "Papi_Core_Conditional_Rule.get_field_slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field slug.\n\n@return string", "docstring_tokens": ["Get", "field", "slug", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rule.php#L50-L58", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rule.php", "func_name": "Papi_Core_Conditional_Rule.get_source", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the source value.\n\n@return mixed", "docstring_tokens": ["Get", "the", "source", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rule.php#L65-L87", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rule.php", "func_name": "Papi_Core_Conditional_Rule.setup_source", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup source callable.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Setup", "source", "callable", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rule.php#L96-L111", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rule.php", "func_name": "Papi_Core_Conditional_Rule.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the rule and assign properties with values.\n\n@param array $rule", "docstring_tokens": ["Setup", "the", "rule", "and", "assign", "properties", "with", "values", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rule.php#L118-L131", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.admin_init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Preboot all types and setup the current type if any.", "docstring_tokens": ["Preboot", "all", "types", "and", "setup", "the", "current", "type", "if", "any", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L53-L72", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.admin_body_class", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add custom body class when it's a page type.\n\n@param string $classes\n\n@return string", "docstring_tokens": ["Add", "custom", "body", "class", "when", "it", "s", "a", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L81-L101", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.edit_form_after_title", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output Papi page type hidden field.", "docstring_tokens": ["Output", "Papi", "page", "type", "hidden", "field", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L106-L117", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.get_entry_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Entry Type instance.\n\n@return Papi_Entry_Type|false", "docstring_tokens": ["Get", "Entry", "Type", "instance", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L124-L159", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.plugin_row_meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add docs links to plugin row meta.\n\n@param array $links\n@param string $file\n\n@return array", "docstring_tokens": ["Add", "docs", "links", "to", "plugin", "row", "meta", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L181-L189", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.update_front_page", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update page type to front page type when updating\nwhich page that should be used as front page.\n\n@param mixed $value\n@param string $option\n\n@return mixed", "docstring_tokens": ["Update", "page", "type", "to", "front", "page", "type", "when", "updating", "which", "page", "that", "should", "be", "used", "as", "front", "page", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L224-L256", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin.php", "func_name": "Papi_Admin.wp_link_query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter the link query results.\n\n@param array $results\n\n@return array", "docstring_tokens": ["Filter", "the", "link", "query", "results", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin.php#L265-L278", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-module.php", "func_name": "Papi_Property_Module.get_templates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get module templates by post id.\n\n@param int $id\n\n@return array", "docstring_tokens": ["Get", "module", "templates", "by", "post", "id", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-module.php#L132-L146", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/stores/class-papi-post-store.php", "func_name": "Papi_Post_Store.prepare_load_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare load value.\n\n@param Papi_Core_Property $property\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Prepare", "load", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/stores/class-papi-post-store.php#L90-L102", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-option-handler.php", "func_name": "Papi_Admin_Option_Handler.save_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save properties with a post id of zero.", "docstring_tokens": ["Save", "properties", "with", "a", "post", "id", "of", "zero", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-option-handler.php#L11-L38", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-page-type-switcher.php", "func_name": "Papi_Admin_Page_Type_Switcher.metabox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render metabox.", "docstring_tokens": ["Render", "metabox", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-page-type-switcher.php#L23-L79", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-page-type-switcher.php", "func_name": "Papi_Admin_Page_Type_Switcher.save_post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switch page type if all checks pass.\n\n@param int $post_id\n@param WP_post $post\n\n@return bool", "docstring_tokens": ["Switch", "page", "type", "if", "all", "checks", "pass", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-page-type-switcher.php#L89-L197", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.overwrite_post_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrite post data in `posts` table.\n\n@param int $post_id", "docstring_tokens": ["Overwrite", "post", "data", "in", "posts", "table", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L26-L43", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.pre_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pre save page template and page type.\n\n@param int $id", "docstring_tokens": ["Pre", "save", "page", "template", "and", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L50-L69", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.save_meta_boxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save meta boxes.\n\n@param int $id\n@param object\u00a0 $post", "docstring_tokens": ["Save", "meta", "boxes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L77-L125", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.save_revision", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save custom fields for revision post.\n\n@param int $post_id", "docstring_tokens": ["Save", "custom", "fields", "for", "revision", "post", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L132-L157", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.save_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save properties.\n\n@param int $id", "docstring_tokens": ["Save", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L164-L194", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.restore_post_revision", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore to post revision.\n\n@param int $post_id\n@param int $revision_id", "docstring_tokens": ["Restore", "to", "post", "revision", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L202-L216", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-handler.php", "func_name": "Papi_Admin_Meta_Handler.valid_post_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if post id is valid or not.\n\n@param int $post_id\n\n@return bool", "docstring_tokens": ["Check", "if", "post", "id", "is", "valid", "or", "not", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-handler.php#L236-L256", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional.php", "func_name": "Papi_Core_Conditional.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the property should be displayed by the rules.\n\n@param array $rules\n@param Papi_Core_Property $property\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "property", "should", "be", "displayed", "by", "the", "rules", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional.php#L27-L39", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional.php", "func_name": "Papi_Core_Conditional.display_by_relation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the display by relation.\n\n@param array $rules\n\n@return bool", "docstring_tokens": ["Get", "the", "display", "by", "relation", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional.php#L48-L102", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional.php", "func_name": "Papi_Core_Conditional.get_rule_slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get rule slug.\n\n@param Papi_Core_Conditional_Rule $rule\n@param Papi_Core_Property $property\n\n@return string", "docstring_tokens": ["Get", "rule", "slug", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional.php#L112-L132", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional.php", "func_name": "Papi_Core_Conditional.prepare_rules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare rules.\n\n@param array $rules\n@param Papi_Core_Property $property\n\n@return array", "docstring_tokens": ["Prepare", "rules", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional.php#L142-L167", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.allowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the page type is allowed by capabilities and post type.\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "page", "type", "is", "allowed", "by", "capabilities", "and", "post", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L135-L143", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.get_body_classes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get body css classes.\n\n@return array", "docstring_tokens": ["Get", "body", "css", "classes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L161-L173", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.get_child_types", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get child page types that lives under the current page type.\n\n@return array", "docstring_tokens": ["Get", "child", "page", "types", "that", "lives", "under", "the", "current", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L180-L192", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.get_labels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get labels that should be changed\nwhen using `fill_labels` option.\n\n@return array", "docstring_tokens": ["Get", "labels", "that", "should", "be", "changed", "when", "using", "fill_labels", "option", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L200-L210", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.get_post_type_supports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get post type supports that will be removed.\n\n@return array", "docstring_tokens": ["Get", "post", "type", "supports", "that", "will", "be", "removed", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L226-L252", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.remove_post_type_support", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove post type support action.", "docstring_tokens": ["Remove", "post", "type", "support", "action", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L281-L313", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.remove_meta_boxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove meta boxes.", "docstring_tokens": ["Remove", "meta", "boxes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L318-L372", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup page type.", "docstring_tokens": ["Setup", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L377-L399", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.setup_post_types", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup post types array.", "docstring_tokens": ["Setup", "post", "types", "array", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L404-L417", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-page-type.php", "func_name": "Papi_Page_Type.setup_page_templates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup page templates if templates is a array.", "docstring_tokens": ["Setup", "page", "templates", "if", "templates", "is", "a", "array", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-page-type.php#L422-L442", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-editor.php", "func_name": "Papi_Property_Editor.add_mce_buttons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add filters to filter TinyMCE buttons.", "docstring_tokens": ["Add", "filters", "to", "filter", "TinyMCE", "buttons", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-editor.php#L11-L16", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-editor.php", "func_name": "Papi_Property_Editor.reove_mce_buttons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove filters that filter TinyMCE buttons.", "docstring_tokens": ["Remove", "filters", "that", "filter", "TinyMCE", "buttons", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-editor.php#L97-L102", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.get_row_results", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get row results.\n\n@param array $dbresults\n\n@return array", "docstring_tokens": ["Get", "row", "results", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L311-L342", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.load_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change value after it's loaded from the database\nand populate every property in the repeater with the right property type.\n\n@param int $value\n@param string $repeater_slug\n@param int $post_id\n\n@return array", "docstring_tokens": ["Change", "value", "after", "it", "s", "loaded", "from", "the", "database", "and", "populate", "every", "property", "in", "the", "repeater", "with", "the", "right", "property", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L401-L418", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.prepare_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare properties, get properties options object,\ncheck which properties that are allowed to use.\n\n@param array $items\n\n@return array", "docstring_tokens": ["Prepare", "properties", "get", "properties", "options", "object", "check", "which", "properties", "that", "are", "allowed", "to", "use", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L461-L480", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.prepare_property_for_json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare property for JSON.\n\n@param Papi_Property $property\n\n@return bool|object", "docstring_tokens": ["Prepare", "property", "for", "JSON", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L489-L512", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.remove_repeater_rows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all repeater rows from the database.\n\n@param int $post_id\n@param string $repeater_slug", "docstring_tokens": ["Remove", "all", "repeater", "rows", "from", "the", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L520-L561", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.render_json_template", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render property JSON template.\n\n@param string $slug", "docstring_tokens": ["Render", "property", "JSON", "template", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L582-L603", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.render_repeater_head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render repeater head.", "docstring_tokens": ["Render", "repeater", "head", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L710-L733", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-repeater.php", "func_name": "Papi_Property_Repeater.render_repeater_rows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render repeater rows.", "docstring_tokens": ["Render", "repeater", "rows", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-repeater.php#L738-L783", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-settings.php", "func_name": "Papi_REST_API_Settings.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register options properties.", "docstring_tokens": ["Register", "options", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-settings.php#L24-L35", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-settings.php", "func_name": "Papi_REST_API_Settings.get_setting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get setting value for a property.\n\n@param string $key\n@param string $value\n\n@return mixed", "docstring_tokens": ["Get", "setting", "value", "for", "a", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-settings.php#L64-L80", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-settings.php", "func_name": "Papi_REST_API_Settings.prepare_response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare settings response.\n\n@param WP_HTTP_Response $response\n\n@return array", "docstring_tokens": ["Prepare", "settings", "response", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-settings.php#L89-L101", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-user.php", "func_name": "Papi_Property_User.get_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get value from database.\n\n@return int", "docstring_tokens": ["Get", "value", "from", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-user.php#L56-L64", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-user.php", "func_name": "Papi_Property_User.get_items", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get users as dropdown items.\n\n@return array", "docstring_tokens": ["Get", "users", "as", "dropdown", "items", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-user.php#L71-L87", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/papi-loader.php", "func_name": "Papi_Loader.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialise Papi.", "docstring_tokens": ["Initialise", "Papi", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/papi-loader.php#L135-L150", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/papi-loader.php", "func_name": "Papi_Loader.load_textdomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load Localisation files.\n\nLocales found in:\n- WP_LANG_DIR/papi/papi-LOCALE.mo\n- WP_CONTENT_DIR/[mu-]plugins/papi/languages/papi-LOCALE.mo", "docstring_tokens": ["Load", "Localisation", "files", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/papi-loader.php#L159-L165", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/papi-loader.php", "func_name": "Papi_Loader.require_files", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Require files.", "docstring_tokens": ["Require", "files", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/papi-loader.php#L170-L229", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/papi-loader.php", "func_name": "Papi_Loader.deactivate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deactivate Papi if the WordPress version is lower then 4.6.", "docstring_tokens": ["Deactivate", "Papi", "if", "the", "WordPress", "version", "is", "lower", "then", "4", ".", "6", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/papi-loader.php#L234-L249", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-dropdown.php", "func_name": "Papi_Property_Dropdown.is_string_items", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if items are strings or not.\n\n@return bool", "docstring_tokens": ["Determine", "if", "items", "are", "strings", "or", "not", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-dropdown.php#L44-L54", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-group.php", "func_name": "Papi_Property_Group.prepare_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare properties and set right slug and value.\n\n@param array $properties\n\n@return array", "docstring_tokens": ["Prepare", "properties", "and", "set", "right", "slug", "and", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-group.php#L85-L106", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-file.php", "func_name": "Papi_Property_File.get_file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get file by id or meta value.\n\n@param mixed $value\n\n@return int", "docstring_tokens": ["Get", "file", "by", "id", "or", "meta", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-file.php#L129-L158", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-file.php", "func_name": "Papi_Property_File.get_file_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get matching value based on key from a file.\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Get", "matching", "value", "based", "on", "key", "from", "a", "file", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-file.php#L167-L183", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-file.php", "func_name": "Papi_Property_File.update_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save file with a meta value or id.\n\n@param mixed $values\n@param string $slug\n@param int $post_id\n\n@return string", "docstring_tokens": ["Save", "file", "with", "a", "meta", "value", "or", "id", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-file.php#L343-L367", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a parameter or an object.\n\n@param string $id\n@param mixed $value\n@param bool $singleton\n\n@throws Exception when singleton cannot be rebind.\n\n@return mixed", "docstring_tokens": ["Set", "a", "parameter", "or", "an", "object", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L40-L61", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.call_closure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call closure.\n\n@param mixed $closure\n@param array $parameters\n\n@return Closure", "docstring_tokens": ["Call", "closure", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L71-L106", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.get_class_prefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class prefix.\n\n@param string $id\n@param bool $check\n\n@return string", "docstring_tokens": ["Get", "class", "prefix", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L141-L153", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.is_singleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a given type is a singleton or not.\n\n@param string $id\n\n@throws InvalidArgumentException if argument is not string.\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "given", "type", "is", "a", "singleton", "or", "not", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L164-L176", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.once", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add key and value to the container once.\n\n@param string $key\n@param mixed $callback\n\n@return mixed", "docstring_tokens": ["Add", "key", "and", "value", "to", "the", "container", "once", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L208-L219", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-container.php", "func_name": "Papi_Core_Container.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset value by identifier.\n\n@param string $id", "docstring_tokens": ["Unset", "value", "by", "identifier", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-container.php#L226-L229", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-menu.php", "func_name": "Papi_Admin_Menu.override_labels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override labels with labels from the entry type.\n\n@param Papi_Entry_Type $entry_type", "docstring_tokens": ["Override", "labels", "with", "labels", "from", "the", "entry", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-menu.php#L40-L64", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-menu.php", "func_name": "Papi_Admin_Menu.page_items_menu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Page items menu.\n\nThis function will register all entry types\nthat has a fake post type. Like option types.", "docstring_tokens": ["Page", "items", "menu", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-menu.php#L72-L98", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-menu.php", "func_name": "Papi_Admin_Menu.post_types_menu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup menu items for real post types.", "docstring_tokens": ["Setup", "menu", "items", "for", "real", "post", "types", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-menu.php#L103-L183", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-menu.php", "func_name": "Papi_Admin_Menu.render_view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Menu callback that loads right view depending on what the `page` query string says.", "docstring_tokens": ["Menu", "callback", "that", "loads", "right", "view", "depending", "on", "what", "the", "page", "query", "string", "says", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-menu.php#L188-L208", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-autoload.php", "func_name": "Papi_Core_Autoload.autoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autoload Papi classes.\n\n@codeCoverageIgnore\n\n@param string $class", "docstring_tokens": ["Autoload", "Papi", "classes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-autoload.php#L24-L48", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-sidebar.php", "func_name": "Papi_Property_Sidebar.get_items", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get registered sidebars as dropdown items.\n\n@return array", "docstring_tokens": ["Get", "registered", "sidebars", "as", "dropdown", "items", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-sidebar.php#L57-L68", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-post.php", "func_name": "Papi_Property_Post.get_labels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get labels from post types.\n\n@return array", "docstring_tokens": ["Get", "labels", "from", "post", "types", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-post.php#L94-L105", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/query/class-papi-query.php", "func_name": "Papi_Query.parse_args", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse query arguments.\n\n@param array $args", "docstring_tokens": ["Parse", "query", "arguments", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/query/class-papi-query.php#L80-L92", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/query/class-papi-query.php", "func_name": "Papi_Query.parse_post_args", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse post query arguments.\n\n@param array $args\n\n@return array", "docstring_tokens": ["Parse", "post", "query", "arguments", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/query/class-papi-query.php#L101-L117", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/query/class-papi-query.php", "func_name": "Papi_Query.parse_term_args", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse term query arguments.\n\n@param array $args\n\n@return array", "docstring_tokens": ["Parse", "term", "query", "arguments", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/query/class-papi-query.php#L126-L142", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/query/class-papi-query.php", "func_name": "Papi_Query.get_query_args", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get real query arguments without Papi Query specific arguments.\n\n@return array", "docstring_tokens": ["Get", "real", "query", "arguments", "without", "Papi", "Query", "specific", "arguments", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/query/class-papi-query.php#L171-L233", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/query/class-papi-query.php", "func_name": "Papi_Query.get_result", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get result.\n\nWorks for all query types.\n\n@return array", "docstring_tokens": ["Get", "result", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/query/class-papi-query.php#L242-L250", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.add_help_tabs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add help tabs.", "docstring_tokens": ["Add", "help", "tabs", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L54-L95", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.box", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new meta box with properties.\n\n@param mixed $file_or_options\n@param array $properties", "docstring_tokens": ["Add", "new", "meta", "box", "with", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L112-L139", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.call_parent_register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call parent register if it exists\nto collect boxes on the parent entry type.", "docstring_tokens": ["Call", "parent", "register", "if", "it", "exists", "to", "collect", "boxes", "on", "the", "parent", "entry", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L145-L162", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.convert_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert properties to properties objects.\n\n@param array|object $properties\n\n@return array", "docstring_tokens": ["Convert", "properties", "to", "properties", "objects", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L171-L196", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.get_body_classes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get admin body css classes.\n\nUse `body_classes` method to add custom admin body classes.\n\n@return array", "docstring_tokens": ["Get", "admin", "body", "css", "classes", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L216-L222", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.get_boxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get boxes from the page type.\n\n@return array", "docstring_tokens": ["Get", "boxes", "from", "the", "page", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L229-L282", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.get_property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property from entry type.\n\n@param string $slug\n@param string $child_slug\n\n@return Papi_Property", "docstring_tokens": ["Get", "property", "from", "entry", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L311-L365", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.get_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get root properties.\n\n@return array", "docstring_tokens": ["Get", "root", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L372-L383", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.merge_boxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge boxes with same title.\n\n@param array $boxes\n\n@return array", "docstring_tokens": ["Merge", "boxes", "with", "same", "title", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L416-L433", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup entry type.", "docstring_tokens": ["Setup", "entry", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L459-L476", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-entry-type.php", "func_name": "Papi_Entry_Type.tab", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new tab.\n\n@param mixed $file_or_options\n@param array $properties\n\n@return null|Papi_Core_Tab", "docstring_tokens": ["Add", "a", "new", "tab", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-entry-type.php#L486-L492", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-link.php", "func_name": "Papi_Property_Link.load_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load value from database.\n\n@param mixed $value\n@param string $slug\n@param int $post_id\n\n@return array", "docstring_tokens": ["Load", "value", "from", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-link.php#L92-L109", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-link.php", "func_name": "Papi_Property_Link.prepare_link_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare link array with post id. If it gets a post id\nbigger then zero it will use the permalink as url.\n\n@param array|object $link\n@param string $slug\n\n@return array|object", "docstring_tokens": ["Prepare", "link", "array", "with", "post", "id", ".", "If", "it", "gets", "a", "post", "id", "bigger", "then", "zero", "it", "will", "use", "the", "permalink", "as", "url", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-link.php#L175-L208", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-link.php", "func_name": "Papi_Property_Link.update_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare value for the database.\n\n@param mixed $values\n@param string $slug\n@param int $post_id\n\n@return array", "docstring_tokens": ["Prepare", "value", "for", "the", "database", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-link.php#L261-L294", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-taxonomy-type.php", "func_name": "Papi_Taxonomy_Type.allowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the taxonomy type is allowed by taxonomy type.\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "taxonomy", "type", "is", "allowed", "by", "taxonomy", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-taxonomy-type.php#L48-L56", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/types/class-papi-taxonomy-type.php", "func_name": "Papi_Taxonomy_Type.edit_form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render term edit form.", "docstring_tokens": ["Render", "term", "edit", "form", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/types/class-papi-taxonomy-type.php#L101-L120", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-post.php", "func_name": "Papi_REST_API_Post.get_post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter the post.\n\nRegister all properties with `register_meta` and prepare response filter.\n\n@param WP_Post $post\n\n@return WP_Post", "docstring_tokens": ["Filter", "the", "post", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-post.php#L39-L53", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-post.php", "func_name": "Papi_REST_API_Post.prepare_response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare response.\n\n@param WP_REST_Response $response\n\n@return WP_REST_Response", "docstring_tokens": ["Prepare", "response", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-post.php#L62-L72", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/rest-api/class-papi-rest-api-post.php", "func_name": "Papi_REST_API_Post.setup_fields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup REST API fields.", "docstring_tokens": ["Setup", "REST", "API", "fields", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/rest-api/class-papi-rest-api-post.php#L77-L89", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-command.php", "func_name": "Papi_CLI_Command.get_format_args", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get format args that will be passed into CLI Formatter.\n\n@param array $assoc_args Associative args from CLI\n\n@return array Formatter args", "docstring_tokens": ["Get", "format", "args", "that", "will", "be", "passed", "into", "CLI", "Formatter", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-command.php#L39-L59", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-view.php", "func_name": "Papi_Admin_View.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render file.\n\n@param string $file\n\n@return string", "docstring_tokens": ["Render", "file", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-view.php#L42-L46", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-box.php", "func_name": "Papi_Core_Box.get_option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get box option.\n\n@param string $key\n\n@return mixed", "docstring_tokens": ["Get", "box", "option", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-box.php#L111-L113", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.convert_prop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert value from a property.\n\n@param mixed $value\n@param Papi_Core_Conditional_Rule $rule\n\n@return mixed", "docstring_tokens": ["Convert", "value", "from", "a", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L46-L83", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.get_converted_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get converted value.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return array", "docstring_tokens": ["Get", "converted", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L103-L123", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.get_deep_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get deep value.\n\n@param string $slug\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Get", "deep", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L133-L137", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.get_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property value.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return mixed", "docstring_tokens": ["Get", "property", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L146-L168", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_equal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Equal conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Equal", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L177-L180", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_not_equal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Not equal conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Not", "equal", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L189-L192", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_greater_then", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Greater then conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Greater", "then", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L201-L214", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_not_in", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Not in array conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Not", "in", "array", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L306-L314", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_like", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Like conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Like", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L323-L338", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.get_between_values", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get between values.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return array", "docstring_tokens": ["Get", "between", "values", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L347-L369", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_between", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Between conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Between", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L378-L386", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/core/class-papi-core-conditional-rules.php", "func_name": "Papi_Core_Conditional_Rules.rule_not_between", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Not between conditional rule.\n\n@param Papi_Core_Conditional_Rule $rule\n\n@return bool", "docstring_tokens": ["Not", "between", "conditional", "rule", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/core/class-papi-core-conditional-rules.php#L395-L403", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-relationship.php", "func_name": "Papi_Property_Relationship.get_sort_option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get sort option value.\n\n@param int $post_id\n\n@return string", "docstring_tokens": ["Get", "sort", "option", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-relationship.php#L156-L163", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-relationship.php", "func_name": "Papi_Property_Relationship.get_sort_options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get sort options for relationship property.\n\n@return array", "docstring_tokens": ["Get", "sort", "options", "for", "relationship", "property", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-relationship.php#L170-L218", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-relationship.php", "func_name": "Papi_Property_Relationship.get_items", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get items to display from settings.\n\n@param stdClass $settings\n\n@return array", "docstring_tokens": ["Get", "items", "to", "display", "from", "settings", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-relationship.php#L227-L258", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-relationship.php", "func_name": "Papi_Property_Relationship.sort_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the values.\n\n@param array $values\n@param string $slug\n@param int $post_id\n\n@return array", "docstring_tokens": ["Sort", "the", "values", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-relationship.php#L408-L419", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-relationship.php", "func_name": "Papi_Property_Relationship.update_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the values on update.\n\n@param mixed $values\n@param string $slug\n@param int $post_id\n\n@return string", "docstring_tokens": ["Sort", "the", "values", "on", "update", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-relationship.php#L430-L445", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-type-command.php", "func_name": "Papi_CLI_Type_Command.get_meta_type_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get meta type value.\n\n@param Papi_Entry_Type $entry_type\n\n@return string", "docstring_tokens": ["Get", "meta", "type", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-type-command.php#L24-L37", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-type-command.php", "func_name": "Papi_CLI_Type_Command.list_", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List Papi types.\n\n## Options\n\n[--=]\n: Filter types based on type property.\n\n[--field=]\n: Prints the value of a single field for each type.\n\n[--fields=]\n: Limit the output to specific type fields.\n\n[--format=]\n: Acceptec values: table, csv, json, count, ids. Default: table.\n\n## AVAILABLE FIELDS\n\nThese fields will be displayed by default for each type:\n\n* name\n* id\n* post_type\n* template\n* number_of_pages\n* type\n\nNot all fields exists on a Papi type so some fields will have `n/a`\nas value when no value can be displayed.\n\n## EXAMPLES\n\nwp papi type list\n\n@subcommand list", "docstring_tokens": ["List", "Papi", "types", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-type-command.php#L76-L100", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-meta-box-tabs.php", "func_name": "Papi_Admin_Meta_Box_Tabs.html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate html for tabs and properties.", "docstring_tokens": ["Generate", "html", "for", "tabs", "and", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-meta-box-tabs.php#L46-L89", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.get_json_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate layout slug.\n\n@param string $key\n@param string $extra\n\n@return string", "docstring_tokens": ["Generate", "layout", "slug", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L204-L206", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.get_layout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get layout by slug.\n\n@param string $slug\n\n@return array", "docstring_tokens": ["Get", "layout", "by", "slug", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L215-L225", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.load_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change value after it's loaded from the database\nand populate every property in the flexible with the right property type.\n\n@param mixed $value\n@param string $repeater_slug\n@param int $post_id\n\n@return array", "docstring_tokens": ["Change", "value", "after", "it", "s", "loaded", "from", "the", "database", "and", "populate", "every", "property", "in", "the", "flexible", "with", "the", "right", "property", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L409-L427", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.prepare_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare properties.\n\nNot the best name for this function, but since\nproperty repeater using this we can't rename it.\n\n@param array $layouts\n\n@return array", "docstring_tokens": ["Prepare", "properties", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L502-L538", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.render_layout_input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render layout input.\n\n@param string $value", "docstring_tokens": ["Render", "layout", "input", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L604-L609", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-flexible.php", "func_name": "Papi_Property_Flexible.render_repeater_row", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render repeater row.", "docstring_tokens": ["Render", "repeater", "row", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-flexible.php#L781-L839", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-taxonomy.php", "func_name": "Papi_Admin_Entry_Taxonomy.add_form_fields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add form fields to edit tags page.", "docstring_tokens": ["Add", "form", "fields", "to", "edit", "tags", "page", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-taxonomy.php#L25-L74", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-taxonomy.php", "func_name": "Papi_Admin_Entry_Taxonomy.prepare_taxonomy_types", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare taxonomy types, add standard taxonomy if it should be added.\n\n@param array $taxonomy_types\n\n@return array", "docstring_tokens": ["Prepare", "taxonomy", "types", "add", "standard", "taxonomy", "if", "it", "should", "be", "added", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-taxonomy.php#L83-L100", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-entry-taxonomy.php", "func_name": "Papi_Admin_Entry_Taxonomy.setup_taxonomies_hooks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup hooks for all taxonomies.", "docstring_tokens": ["Setup", "hooks", "for", "all", "taxonomies", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-entry-taxonomy.php#L112-L127", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.ajax_url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add ajax url to Papi JavaScript object.", "docstring_tokens": ["Add", "ajax", "url", "to", "Papi", "JavaScript", "object", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L45-L57", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.handle_papi_ajax", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle Papi ajax.", "docstring_tokens": ["Handle", "Papi", "ajax", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L62-L86", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_entry_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get entry type via GET.\n\nGET /papi-ajax/?action=get_entry_type", "docstring_tokens": ["Get", "entry", "type", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L93-L103", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_posts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get posts via GET.\n\nPosts with empty title will be ignored.\n\nGET /papi-ajax/?action=get_posts", "docstring_tokens": ["Get", "posts", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L112-L147", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_property", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property html via GET.\n\nGET /papi-ajax/?action=get_property", "docstring_tokens": ["Get", "property", "html", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L154-L174", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get properties via POST.\n\nPOST /papi-ajax/?action=get_properties", "docstring_tokens": ["Get", "properties", "via", "POST", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L181-L222", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_rules_result", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get rules result via GET.\n\nGET /papi-ajax/?action=get_rules_result", "docstring_tokens": ["Get", "rules", "result", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L229-L270", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_shortcode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get shortcode via GET.\n\nGET /papi-ajax/?action=get_shortcode", "docstring_tokens": ["Get", "shortcode", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L277-L285", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-ajax.php", "func_name": "Papi_Admin_Ajax.get_terms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get terms via GET.\n\nGET /papi-ajax/?action=get_terms", "docstring_tokens": ["Get", "terms", "via", "GET", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-ajax.php#L292-L307", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-term-command.php", "func_name": "Papi_CLI_Term_Command.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fields that exists on a term.\n\n## OPTIONS\n\n\n: Term ID\n\n[--field=]\n: Instead of returning the whole term fields, returns the value of a single fields.\n\n[--fields=]\n: Get a specific subset of the term's fields.\n\n[--format=]\n: Accepted values: table, json, csv. Default: table.\n\n## AVAILABLE FIELDS\n\nThese fields are available for get command:\n\n* slug\n* type\n* exists\n\n## EXAMPLES\n\nwp papi term get 123 --format=json\n\nwp papi term get 123 --field=slug\n\n@param array $args\n@param array $assoc_args", "docstring_tokens": ["Get", "fields", "that", "exists", "on", "a", "term", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-term-command.php#L51-L82", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/cli/class-papi-cli-term-command.php", "func_name": "Papi_CLI_Term_Command.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename meta key for taxonomy type.\n\n## OPTIONS\n\n\n: Taxonomy type id\n\n\n: Old meta key\n\n\n: New meta key\n\n## EXAMPLES\n\nwp papi term rename about-page-type name title\n\n@param array $args\n@param array $assoc_args", "docstring_tokens": ["Rename", "meta", "key", "for", "taxonomy", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/cli/class-papi-cli-term-command.php#L105-L137", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-columns.php", "func_name": "Papi_Admin_Columns.manage_page_type_posts_columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add custom table header to page or taxonomy type.\n\n@param array $defaults\n\n@return array", "docstring_tokens": ["Add", "custom", "table", "header", "to", "page", "or", "taxonomy", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-columns.php#L47-L72", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-columns.php", "func_name": "Papi_Admin_Columns.manage_page_type_posts_custom_column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add custom table column to page or taxonomy type.\n\n@param string $column_name\n@param int $post_id\n@param int $term_id", "docstring_tokens": ["Add", "custom", "table", "column", "to", "page", "or", "taxonomy", "type", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-columns.php#L81-L116", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-columns.php", "func_name": "Papi_Admin_Columns.manage_page_type_sortable_columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add entry type as a sortable column.\n\n@param array $columns\n\n@return array", "docstring_tokens": ["Add", "entry", "type", "as", "a", "sortable", "column", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-columns.php#L125-L131", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-columns.php", "func_name": "Papi_Admin_Columns.pre_get_posts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter posts on load if `page_type` query string is set.\n\n@param WP_Query $query\n\n@return WP_Query", "docstring_tokens": ["Filter", "posts", "on", "load", "if", "page_type", "query", "string", "is", "set", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-columns.php#L140-L164", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/admin/class-papi-admin-columns.php", "func_name": "Papi_Admin_Columns.restrict_page_types", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter page types in post type list.", "docstring_tokens": ["Filter", "page", "types", "in", "post", "type", "list", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/admin/class-papi-admin-columns.php#L169-L211", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-term.php", "func_name": "Papi_Property_Term.format_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the value of the property before it's returned to the application.\n\n@param mixed $value\n@param string $slug\n@param int $term_id\n\n@return array", "docstring_tokens": ["Format", "the", "value", "of", "the", "property", "before", "it", "s", "returned", "to", "the", "application", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-term.php#L24-L60", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-term.php", "func_name": "Papi_Property_Term.get_labels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get labels from taxonomies.\n\n@return array", "docstring_tokens": ["Get", "labels", "from", "taxonomies", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-term.php#L89-L100", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-term.php", "func_name": "Papi_Property_Term.get_terms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get terms for specified taxonomy.\n\n@param string $taxonomy\n\n@return array", "docstring_tokens": ["Get", "terms", "for", "specified", "taxonomy", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-term.php#L118-L131", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-term.php", "func_name": "Papi_Property_Term.get_term_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get matching value based on key from a term.\n\n@param mixed $term\n\n@return mixed", "docstring_tokens": ["Get", "matching", "value", "based", "on", "key", "from", "a", "term", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-term.php#L140-L162", "partition": "test"} +{"repo": "wp-papi/papi", "path": "src/properties/class-papi-property-bool.php", "func_name": "Papi_Property_Bool.prepare_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare property value.\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Prepare", "property", "value", "."], "sha": "444960585ed761447b7886ff4cc31be91b4e8302", "url": "https://github.com/wp-papi/papi/blob/444960585ed761447b7886ff4cc31be91b4e8302/src/properties/class-papi-property-bool.php#L82-L88", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for stocks.\n\n@param string $searchTerm\n\n@return array|SearchResult[]\n\n@throws ApiException", "docstring_tokens": ["Search", "for", "stocks", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L44-L52", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.getHistoricalData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get historical data for a symbol.\n\n@param string $symbol\n@param string $interval\n@param \\DateTime $startDate\n@param \\DateTime $endDate\n\n@return array|HistoricalData[]\n\n@throws ApiException", "docstring_tokens": ["Get", "historical", "data", "for", "a", "symbol", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L66-L87", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.getQuote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get quote for a single symbol.\n\n@param string $symbol\n\n@return Quote|null", "docstring_tokens": ["Get", "quote", "for", "a", "single", "symbol", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L96-L101", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.getExchangeRate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get exchange rate for two currencies. Accepts concatenated ISO 4217 currency codes.\n\n@param string $currency1\n@param string $currency2\n\n@return Quote|null", "docstring_tokens": ["Get", "exchange", "rate", "for", "two", "currencies", ".", "Accepts", "concatenated", "ISO", "4217", "currency", "codes", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L123-L128", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.getExchangeRates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves currency exchange rates. Accepts concatenated ISO 4217 currency codes such as \"GBPUSD\".\n\n@param array $currencyPairs List of pairs of currencies\n\n@return array|Quote[]", "docstring_tokens": ["Retrieves", "currency", "exchange", "rates", ".", "Accepts", "concatenated", "ISO", "4217", "currency", "codes", "such", "as", "GBPUSD", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L137-L144", "partition": "test"} +{"repo": "scheb/yahoo-finance-api", "path": "src/ApiClient.php", "func_name": "ApiClient.fetchQuotes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch quote data from API.\n\n@param array $symbols\n\n@return array|Quote[]", "docstring_tokens": ["Fetch", "quote", "data", "from", "API", "."], "sha": "fbacb07e338c41489be5a2318a2213cda290e878", "url": "https://github.com/scheb/yahoo-finance-api/blob/fbacb07e338c41489be5a2318a2213cda290e878/src/ApiClient.php#L153-L159", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Columns/Column/BaseColumn.php", "func_name": "BaseColumn.getAttributesForHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get attributes for column header tag\n\n@return array", "docstring_tokens": ["Get", "attributes", "for", "column", "header", "tag"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Columns/Column/BaseColumn.php#L140-L153", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Columns/Column/BaseColumn.php", "func_name": "BaseColumn.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render column cell\n\n@param $instance\n@param int $totalCount\n@param string $content\n@return string", "docstring_tokens": ["Render", "column", "cell"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Columns/Column/BaseColumn.php#L163-L171", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Columns/Column/BaseColumn.php", "func_name": "BaseColumn.renderAppends", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render column cells appends\n\n@param $instance\n@param $totalCount\n@param $content\n@return string", "docstring_tokens": ["Render", "column", "cells", "appends"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Columns/Column/BaseColumn.php#L191-L199", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Controllers/ImagesController.php", "func_name": "ImagesController.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all images within \"images\" directory without \"seeds\" subdirectories\n\n@return array", "docstring_tokens": ["Get", "all", "images", "within", "images", "directory", "without", "seeds", "subdirectories"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Controllers/ImagesController.php#L48-L57", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Models/ModelItem.php", "func_name": "ModelItem.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set eager load fields\n\n@param $params\n@return ModelItem", "docstring_tokens": ["Set", "eager", "load", "fields"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Models/ModelItem.php#L203-L211", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Models/Form/Form.php", "func_name": "Form.setDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set default values for instance", "docstring_tokens": ["Set", "default", "values", "for", "instance"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Models/Form/Form.php#L73-L83", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Models/Filters/Title.php", "func_name": "Title.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get title as string\n\n@param string $parameter\n@throws ModelAttributeNotFoundException\n@throws TitleNotFormattedException\n@throws ModelNotFoundException\n@return string", "docstring_tokens": ["Get", "title", "as", "string"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Models/Filters/Title.php#L71-L87", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Html/FormBuilder.php", "func_name": "FormBuilder.makeGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append element label and error label to form element and wrap it with div\n\n@param string $name\n@param string $label\n@param string $formElement\n@return string", "docstring_tokens": ["Append", "element", "label", "and", "error", "label", "to", "form", "element", "and", "wrap", "it", "with", "div"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Html/FormBuilder.php#L42-L48", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Html/FormBuilder.php", "func_name": "FormBuilder.wrapContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append error label to element and wrap it with div\n\n@param string $name\n@param string $content\n@return string", "docstring_tokens": ["Append", "error", "label", "to", "element", "and", "wrap", "it", "with", "div"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Html/FormBuilder.php#L57-L62", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Html/FormBuilder.php", "func_name": "FormBuilder.wrapGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrap content with div\n\n@param string $content\n@param array $options\n@return string", "docstring_tokens": ["Wrap", "content", "with", "div"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Html/FormBuilder.php#L71-L75", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Html/FormBuilder.php", "func_name": "FormBuilder.addClassToOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add class to attributes array\n\n@param string $classToAdd\n@param array $options\n@return array", "docstring_tokens": ["Add", "class", "to", "attributes", "array"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Html/FormBuilder.php#L84-L99", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Router.php", "func_name": "Router.registerRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register all admin routes", "docstring_tokens": ["Register", "all", "admin", "routes"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Router.php#L112-L150", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Router.php", "func_name": "Router.registerAssetsRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register routes to admin assets", "docstring_tokens": ["Register", "routes", "to", "admin", "assets"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Router.php#L155-L172", "partition": "test"} +{"repo": "sleeping-owl/admin", "path": "src/SleepingOwl/Admin/Router.php", "func_name": "Router.registerAuthRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register login and logout routes", "docstring_tokens": ["Register", "login", "and", "logout", "routes"], "sha": "eed0001a84e7e6b6e84aa117403ac11b5c7d227b", "url": "https://github.com/sleeping-owl/admin/blob/eed0001a84e7e6b6e84aa117403ac11b5c7d227b/src/SleepingOwl/Admin/Router.php#L177-L197", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new process to the set.", "docstring_tokens": ["Add", "new", "process", "to", "the", "set", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L56-L75", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array of processes in the set having given status\n\n@return ProcessWrapper[]", "docstring_tokens": ["Get", "array", "of", "processes", "in", "the", "set", "having", "given", "status"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L82-L94", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.buildTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build out-tree graph from defined Processes and their relations.\n\n@internal Should be called directly only in unit-testing", "docstring_tokens": ["Build", "out", "-", "tree", "graph", "from", "defined", "Processes", "and", "their", "relations", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L101-L140", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.optimizeOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimize order of processes using given strategy.", "docstring_tokens": ["Optimize", "order", "of", "processes", "using", "given", "strategy", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L145-L158", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.countStatuses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get count of processes status", "docstring_tokens": ["Get", "count", "of", "processes", "status"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L163-L171", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.countResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get result counts of done processes", "docstring_tokens": ["Get", "result", "counts", "of", "done", "processes"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L176-L193", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.failDependants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mark all dependant processes of given process as failed\n\n@return ProcessWrapper[] Processes that has been failed", "docstring_tokens": ["Mark", "all", "dependant", "processes", "of", "given", "process", "as", "failed"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L200-L211", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSet.php", "func_name": "ProcessSet.getDependencyTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all wrapped processes that depends on process of given name.\n\n@return ProcessWrapper[]", "docstring_tokens": ["Get", "all", "wrapped", "processes", "that", "depends", "on", "process", "of", "given", "name", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSet.php#L218-L233", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Console/Style/StewardStyle.php", "func_name": "StewardStyle.output", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print output from process", "docstring_tokens": ["Print", "output", "from", "process"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Console/Style/StewardStyle.php#L72-L91", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Console/Style/StewardStyle.php", "func_name": "StewardStyle.errorOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print error output from process", "docstring_tokens": ["Print", "error", "output", "from", "process"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Console/Style/StewardStyle.php#L96-L110", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Console/Command/RunCommand.php", "func_name": "RunCommand.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize, check arguments and options values etc.", "docstring_tokens": ["Initialize", "check", "arguments", "and", "options", "values", "etc", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Console/Command/RunCommand.php#L170-L238", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/Downloader.php", "func_name": "Downloader.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get version that should be downloaded; if not set, attempt to retrieve latest released version", "docstring_tokens": ["Get", "version", "that", "should", "be", "downloaded", ";", "if", "not", "set", "attempt", "to", "retrieve", "latest", "released", "version"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/Downloader.php#L98-L105", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/Downloader.php", "func_name": "Downloader.getFileUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get complete URL of the file to download", "docstring_tokens": ["Get", "complete", "URL", "of", "the", "file", "to", "download"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/Downloader.php#L126-L145", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/Downloader.php", "func_name": "Downloader.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the download\n\n@throws \\RuntimeException Thrown when file cannot be downloaded\n@return int Downloaded size in bytes.", "docstring_tokens": ["Execute", "the", "download"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/Downloader.php#L153-L177", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Component/Select2.php", "func_name": "Select2.selectByVisiblePartialText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select first option which text partially matches the argument.\n\n@param string $text", "docstring_tokens": ["Select", "first", "option", "which", "text", "partially", "matches", "the", "argument", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Component/Select2.php#L130-L156", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Component/Legacy.php", "func_name": "Legacy.saveWithName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store legacy of test under a custom name\n\n@param string $legacyName filename to store the data if null getLegacyFilename is called to generate filename\nfrom the test class name\n@throws LegacyException", "docstring_tokens": ["Store", "legacy", "of", "test", "under", "a", "custom", "name"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Component/Legacy.php#L140-L149", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Component/Legacy.php", "func_name": "Legacy.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store legacy of test getLegacyFilename is called to generate filename from the test class name\n\n@param string $type LEGACY_TYPE_CASE (shared by all tests in test case)\nor LEGACY_TYPE_TEST (shared only by the same test function)\n@throws LegacyException", "docstring_tokens": ["Store", "legacy", "of", "test", "getLegacyFilename", "is", "called", "to", "generate", "filename", "from", "the", "test", "class", "name"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Component/Legacy.php#L158-L161", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Component/Legacy.php", "func_name": "Legacy.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads legacy of test getLegacyFilename is called to generate filename from the test class name.\nRaises exception if it is not found.\n\n@param string $type LEGACY_TYPE_CASE (shared by all tests in test case)\nor LEGACY_TYPE_TEST (shared only by the same test function)\n@throws LegacyException", "docstring_tokens": ["Reads", "legacy", "of", "test", "getLegacyFilename", "is", "called", "to", "generate", "filename", "from", "the", "test", "class", "name", ".", "Raises", "exception", "if", "it", "is", "not", "found", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Component/Legacy.php#L171-L174", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Component/Legacy.php", "func_name": "Legacy.loadWithName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads legacy specified by custom name.\nRaises exception if it is not found.\n\n@param string $legacyName filename to store the data from the test class name\n@throws LegacyException", "docstring_tokens": ["Reads", "legacy", "specified", "by", "custom", "name", ".", "Raises", "exception", "if", "it", "is", "not", "found", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Component/Legacy.php#L183-L202", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/SeleniumServerAdapter.php", "func_name": "SeleniumServerAdapter.isAccessible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if server URL is accessible and we can connected there", "docstring_tokens": ["Test", "if", "server", "URL", "is", "accessible", "and", "we", "can", "connected", "there"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/SeleniumServerAdapter.php#L65-L83", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/SeleniumServerAdapter.php", "func_name": "SeleniumServerAdapter.isSeleniumServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if remote server is really a Selenium server and is ready to accept connection", "docstring_tokens": ["Test", "if", "remote", "server", "is", "really", "a", "Selenium", "server", "and", "is", "ready", "to", "accept", "connection"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/SeleniumServerAdapter.php#L88-L111", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/SeleniumServerAdapter.php", "func_name": "SeleniumServerAdapter.getCloudService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get name of the cloud service we are connected to.\n\n@return string Cloud service identifier; empty string if no cloud service detected", "docstring_tokens": ["Get", "name", "of", "the", "cloud", "service", "we", "are", "connected", "to", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/SeleniumServerAdapter.php#L118-L128", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/SeleniumServerAdapter.php", "func_name": "SeleniumServerAdapter.guessPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess port for given service", "docstring_tokens": ["Guess", "port", "for", "given", "service"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/SeleniumServerAdapter.php#L178-L191", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/SeleniumServerAdapter.php", "func_name": "SeleniumServerAdapter.detectCloudServiceByStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect cloud service using server status response\n\n@param object $responseData", "docstring_tokens": ["Detect", "cloud", "service", "using", "server", "status", "response"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/SeleniumServerAdapter.php#L209-L222", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSetCreator.php", "func_name": "ProcessSetCreator.buildProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build Process instance for each testcase file", "docstring_tokens": ["Build", "Process", "instance", "for", "each", "testcase", "file"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSetCreator.php#L157-L189", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessSetCreator.php", "func_name": "ProcessSetCreator.getExcludingGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array of groups that cause this class to be excluded.\n\n@return array Empty array is returned if class should not be excluded.", "docstring_tokens": ["Get", "array", "of", "groups", "that", "cause", "this", "class", "to", "be", "excluded", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessSetCreator.php#L206-L217", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Listener/SnapshotListener.php", "func_name": "SnapshotListener.takeSnapshot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take screenshot and HTML snapshot of the page and save it.", "docstring_tokens": ["Take", "screenshot", "and", "HTML", "snapshot", "of", "the", "page", "and", "save", "it", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Listener/SnapshotListener.php#L39-L80", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Listener/SnapshotListener.php", "func_name": "SnapshotListener.getSnapshotUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get url based on relative path of specific snapshot.\nIn our implementation we prepend artifact's URL to given relative path to make it clickable in Jenkins output.", "docstring_tokens": ["Get", "url", "based", "on", "relative", "path", "of", "specific", "snapshot", ".", "In", "our", "implementation", "we", "prepend", "artifact", "s", "URL", "to", "given", "relative", "path", "to", "make", "it", "clickable", "in", "Jenkins", "output", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Listener/SnapshotListener.php#L86-L99", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Console/EventListener/ListenerInstantiator.php", "func_name": "ListenerInstantiator.instantiate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiate listeners in given directory and register them to given dispatcher", "docstring_tokens": ["Instantiate", "listeners", "in", "given", "directory", "and", "register", "them", "to", "given", "dispatcher"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Console/EventListener/ListenerInstantiator.php#L22-L36", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Publisher/XmlPublisher.php", "func_name": "XmlPublisher.getFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get full path to results file.", "docstring_tokens": ["Get", "full", "path", "to", "results", "file", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Publisher/XmlPublisher.php#L43-L50", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Publisher/XmlPublisher.php", "func_name": "XmlPublisher.quoteXpathAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encapsulate given attribute value into valid xpath expression.\n\n@param string $input Value of an xpath attribute selector", "docstring_tokens": ["Encapsulate", "given", "attribute", "value", "into", "valid", "xpath", "expression", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Publisher/XmlPublisher.php#L254-L266", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/MaxTotalDelayStrategy.php", "func_name": "MaxTotalDelayStrategy.optimize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimize order of tests in given tree based on their defined delay.\nThe aim is to run as first processes having the longest delay of their sub-dependencies.\n\n@return array Array of [string key (= testclass fully qualified name) => int value (= test order)]", "docstring_tokens": ["Optimize", "order", "of", "tests", "in", "given", "tree", "based", "on", "their", "defined", "delay", ".", "The", "aim", "is", "to", "run", "as", "first", "processes", "having", "the", "longest", "delay", "of", "their", "sub", "-", "dependencies", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/MaxTotalDelayStrategy.php#L17-L37", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/KeyValueCapabilityOptionsParser.php", "func_name": "KeyValueCapabilityOptionsParser.castToGuessedDataType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess most appropriate data type acceptable by JSON", "docstring_tokens": ["Guess", "most", "appropriate", "data", "type", "acceptable", "by", "JSON"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/KeyValueCapabilityOptionsParser.php#L38-L61", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessWrapper.php", "func_name": "ProcessWrapper.checkProcessTimeout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if process is not running longer then specified timeout, return error message if so.\n\n@return string Non-empty error message if process timeout exceeded", "docstring_tokens": ["Check", "if", "process", "is", "not", "running", "longer", "then", "specified", "timeout", "return", "error", "message", "if", "so", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessWrapper.php#L152-L167", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ProcessWrapper.php", "func_name": "ProcessWrapper.resolveResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve result of finished process", "docstring_tokens": ["Resolve", "result", "of", "finished", "process"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ProcessWrapper.php#L172-L201", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Timeline/TimelineDataBuilder.php", "func_name": "TimelineDataBuilder.getExecutors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array of unique executors\n\n@return array Array of executors, key = executor URL, value = executor ID", "docstring_tokens": ["Get", "array", "of", "unique", "executors"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Timeline/TimelineDataBuilder.php#L63-L90", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Selenium/CapabilitiesResolver.php", "func_name": "CapabilitiesResolver.setupCiCapabilities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup capabilities specific for continuous integration server", "docstring_tokens": ["Setup", "capabilities", "specific", "for", "continuous", "integration", "server"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Selenium/CapabilitiesResolver.php#L87-L102", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/ConfigProvider.php", "func_name": "ConfigProvider.setCustomConfigurationOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add custom configuration options that should be added to the default ones.\nCan be set only before initialization, because the configuration is then immutable.\n\nNote you cannot override the default configuration options.\n\n@param array $customConfigurationOptions Array with values = configuration options (environment variables)", "docstring_tokens": ["Add", "custom", "configuration", "options", "that", "should", "be", "added", "to", "the", "default", "ones", ".", "Can", "be", "set", "only", "before", "initialization", "because", "the", "configuration", "is", "then", "immutable", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/ConfigProvider.php#L66-L75", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/ConfigProvider.php", "func_name": "ConfigProvider.retrieveConfigurationValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve given configuration options values from environment. If value is not found, throw and exception.\n\n@throws \\RuntimeException\n@return array Option => value option name is converted from CAPS_WITH_UNDERSCORES to camelCase", "docstring_tokens": ["Retrieve", "given", "configuration", "options", "values", "from", "environment", ".", "If", "value", "is", "not", "found", "throw", "and", "exception", "."], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/ConfigProvider.php#L117-L133", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ExecutionLoop.php", "func_name": "ExecutionLoop.dequeueProcessesWithoutDelay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set queued processes without delay as prepared", "docstring_tokens": ["Set", "queued", "processes", "without", "delay", "as", "prepared"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ExecutionLoop.php#L175-L203", "partition": "test"} +{"repo": "lmc-eu/steward", "path": "src/Process/ExecutionLoop.php", "func_name": "ExecutionLoop.flushProcessOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush output of the process", "docstring_tokens": ["Flush", "output", "of", "the", "process"], "sha": "507db72cd5994fd290a79529048fe954f332c9b0", "url": "https://github.com/lmc-eu/steward/blob/507db72cd5994fd290a79529048fe954f332c9b0/src/Process/ExecutionLoop.php#L295-L305", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteability.php", "func_name": "Favoriteability.favorite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a collection with the User favorited Model.\nThe Model needs to have the Favoriteable trait\n\n@param $class *** Accepts for example: Post::class or 'App\\Post' ****\n@return Collection", "docstring_tokens": ["Return", "a", "collection", "with", "the", "User", "favorited", "Model", ".", "The", "Model", "needs", "to", "have", "the", "Favoriteable", "trait"], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteability.php#L34-L39", "partition": "test"} +{"repo": "Codeception/robo-paracept", "path": "src/MergeReports.php", "func_name": "MergeHTMLReportsTask.countSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function counts all types of tests' scenarios and writes in class members\n@param $dstFile \\DOMDocument - destination file", "docstring_tokens": ["This", "function", "counts", "all", "types", "of", "tests", "scenarios", "and", "writes", "in", "class", "members"], "sha": "ff00b078921ddd072122cd5e8267fdb76f92d054", "url": "https://github.com/Codeception/robo-paracept/blob/ff00b078921ddd072122cd5e8267fdb76f92d054/src/MergeReports.php#L253-L272", "partition": "test"} +{"repo": "Codeception/robo-paracept", "path": "src/MergeReports.php", "func_name": "MergeHTMLReportsTask.updateSummaryTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function updates values in Summary block for each type of scenarios\n@param $dstFile \\DOMDocument - destination file", "docstring_tokens": ["This", "function", "updates", "values", "in", "Summary", "block", "for", "each", "type", "of", "scenarios"], "sha": "ff00b078921ddd072122cd5e8267fdb76f92d054", "url": "https://github.com/Codeception/robo-paracept/blob/ff00b078921ddd072122cd5e8267fdb76f92d054/src/MergeReports.php#L278-L285", "partition": "test"} +{"repo": "Codeception/robo-paracept", "path": "src/MergeReports.php", "func_name": "MergeHTMLReportsTask.moveSummaryTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function moves Summary block in the bottom of result report\n@param $dstFile \\DOMDocument - destination file\n@param $node \\DOMNode - parent node of Summary table", "docstring_tokens": ["This", "function", "moves", "Summary", "block", "in", "the", "bottom", "of", "result", "report"], "sha": "ff00b078921ddd072122cd5e8267fdb76f92d054", "url": "https://github.com/Codeception/robo-paracept/blob/ff00b078921ddd072122cd5e8267fdb76f92d054/src/MergeReports.php#L292-L296", "partition": "test"} +{"repo": "Codeception/robo-paracept", "path": "src/MergeReports.php", "func_name": "MergeHTMLReportsTask.updateButtons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function updates \"+\" and \"-\" button for viewing test steps in final report\n@param $dstFile \\DOMDocument - destination file", "docstring_tokens": ["This", "function", "updates", "+", "and", "-", "button", "for", "viewing", "test", "steps", "in", "final", "report"], "sha": "ff00b078921ddd072122cd5e8267fdb76f92d054", "url": "https://github.com/Codeception/robo-paracept/blob/ff00b078921ddd072122cd5e8267fdb76f92d054/src/MergeReports.php#L315-L324", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteable.php", "func_name": "Favoriteable.addFavorite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add this Object to the user favorites\n\n@param int $user_id [if null its added to the auth user]", "docstring_tokens": ["Add", "this", "Object", "to", "the", "user", "favorites"], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteable.php#L33-L37", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteable.php", "func_name": "Favoriteable.removeFavorite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove this Object from the user favorites\n\n@param int $user_id [if null its added to the auth user]", "docstring_tokens": ["Remove", "this", "Object", "from", "the", "user", "favorites"], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteable.php#L45-L48", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteable.php", "func_name": "Favoriteable.toggleFavorite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle the favorite status from this Object\n\n@param int $user_id [if null its added to the auth user]", "docstring_tokens": ["Toggle", "the", "favorite", "status", "from", "this", "Object"], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteable.php#L55-L58", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteable.php", "func_name": "Favoriteable.isFavorited", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the user has favorited this Object\n\n@param int $user_id [if null its added to the auth user]\n@return boolean", "docstring_tokens": ["Check", "if", "the", "user", "has", "favorited", "this", "Object"], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteable.php#L66-L69", "partition": "test"} +{"repo": "ChristianKuri/laravel-favorite", "path": "src/Traits/Favoriteable.php", "func_name": "Favoriteable.favoritedBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a collection with the Users who marked as favorite this Object.\n\n@return Collection", "docstring_tokens": ["Return", "a", "collection", "with", "the", "Users", "who", "marked", "as", "favorite", "this", "Object", "."], "sha": "13ce8af16f5f802a3ded855c269a3e846f33c4b6", "url": "https://github.com/ChristianKuri/laravel-favorite/blob/13ce8af16f5f802a3ded855c269a3e846f33c4b6/src/Traits/Favoriteable.php#L76-L81", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.getPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the permissions used in the module.\n\n@return array", "docstring_tokens": ["Return", "the", "permissions", "used", "in", "the", "module", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L373-L392", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.insertToLanguageFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This would enter the necessary language file contents to respective language files.\n\n@param [array] $input", "docstring_tokens": ["This", "would", "enter", "the", "necessary", "language", "file", "contents", "to", "respective", "language", "files", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L745-L809", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.createViewFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creating View Files.\n\n@param array $input", "docstring_tokens": ["Creating", "View", "Files", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L816-L884", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.createMigration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creating Table File.\n\n@param array $input", "docstring_tokens": ["Creating", "Table", "File", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L891-L906", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.createEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creating Event Files.\n\n@param array $input", "docstring_tokens": ["Creating", "Event", "Files", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L913-L932", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.generateFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generating the file by\nreplacing placeholders in stub file.\n\n@param $stub_name Name of the Stub File\n@param $replacements [array] Array of the replacement to be done in stub file\n@param $file [string] full path of the file\n@param $contents [string][optional] file contents", "docstring_tokens": ["Generating", "the", "file", "by", "replacing", "placeholders", "in", "stub", "file", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L943-L959", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/Generator.php", "func_name": "Generator.getStubPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "getting the stub folder path.\n\n@return string", "docstring_tokens": ["getting", "the", "stub", "folder", "path", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/Generator.php#L966-L974", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/ModuleController.php", "func_name": "ModuleController.checkNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checking the path for a file if exists.\n\n@param Request $request", "docstring_tokens": ["Checking", "the", "path", "for", "a", "file", "if", "exists", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/ModuleController.php#L92-L115", "partition": "test"} +{"repo": "bvipul/generator", "path": "src/Controllers/ModuleController.php", "func_name": "ModuleController.checkTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checking if the table exists.\n\n@param Request $request", "docstring_tokens": ["Checking", "if", "the", "table", "exists", "."], "sha": "e30162b230a90392e1f41c826f0643b984a993e5", "url": "https://github.com/bvipul/generator/blob/e30162b230a90392e1f41c826f0643b984a993e5/src/Controllers/ModuleController.php#L122-L142", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Multi.php", "func_name": "Multi.onOneRandomServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "select one random server\n\n@throws Exception\n@return $this", "docstring_tokens": ["select", "one", "random", "server"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Multi.php#L47-L67", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Multi.php", "func_name": "Multi.onAllServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "select all the servers\n\n@param bool $strict\n\n@throws Exception\n@return $this", "docstring_tokens": ["select", "all", "the", "servers"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Multi.php#L77-L92", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Multi.php", "func_name": "Multi.onOneServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "select one server\n\n@param string $idServer\n@param boolean $strict\n\n@throws Exception\n@return $this", "docstring_tokens": ["select", "one", "server"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Multi.php#L103-L124", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Multi.php", "func_name": "Multi.onOneKeyServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "select one server according to the key\n\n@param string $key cache key\n\n@return $this\n@throws Exception when no redis server available", "docstring_tokens": ["select", "one", "server", "according", "to", "the", "key"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Multi.php#L134-L140", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Multi.php", "func_name": "Multi.callRedisCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "call a redis command\n\n@param PredisProxy $redis\n@param string $name\n@param array $arguments\n\n@throws Exception\n@return mixed", "docstring_tokens": ["call", "a", "redis", "command"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Multi.php#L184-L195", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Manager.php", "func_name": "Manager.setCurrentDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set the current db\n\n@param integer $v\n\n@throws Exception\n@return object DB", "docstring_tokens": ["set", "the", "current", "db"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Manager.php#L116-L127", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.del", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "delete a key\n\n@param array $keys array of keys\n\n@return integer", "docstring_tokens": ["delete", "a", "key"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L101-L137", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set a value\n\n@param string $key la cl\u00e9\n@param string $value valeur\n@param integer $ttl time to live\n\n@return Cache", "docstring_tokens": ["set", "a", "value"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L148-L181", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check if a key exist\n\n@param string $key cl\u00e9\n\n@return boolean", "docstring_tokens": ["check", "if", "a", "key", "exist"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L191-L198", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the type of a key\n\n@param string $key cl\u00e9\n\n@return mixed", "docstring_tokens": ["return", "the", "type", "of", "a", "key"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L207-L214", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.expire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set the key ttl\n\n@param string $key la cl\u00e9\n@param integer $ttl ttl en seconde\n\n@throws Exception\n@return int", "docstring_tokens": ["set", "the", "key", "ttl"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L277-L306", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "use for debugging !\n\nflush all keys in the namespace\n@return integer number of deleted keys", "docstring_tokens": ["use", "for", "debugging", "!"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L323-L339", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "execute multiple commands\n\n@throws Exception\n@return array outputs of the commands", "docstring_tokens": ["execute", "multiple", "commands"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L391-L417", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.dbSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return an array or server with the number of keys stored on each\n\n@param string $idServer Id du server\n\n@return array / integer", "docstring_tokens": ["return", "an", "array", "or", "server", "with", "the", "number", "of", "keys", "stored", "on", "each"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L501-L519", "partition": "test"} +{"repo": "M6Web/Redis", "path": "src/M6Web/Component/Redis/Cache.php", "func_name": "Cache.addToExecList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add a task to the execution list\n\n@param string $key cl\u00e9\n@param callable $func closure \u00e0 ajouter\n\n@return void", "docstring_tokens": ["add", "a", "task", "to", "the", "execution", "list"], "sha": "876f7e7c1ef8f94f242ecbb1440da8f0adf81227", "url": "https://github.com/M6Web/Redis/blob/876f7e7c1ef8f94f242ecbb1440da8f0adf81227/src/M6Web/Component/Redis/Cache.php#L569-L577", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Listener/ConsoleListener.php", "func_name": "ConsoleListener.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch custom event\n\n@param string $eventName\n@param BaseConsoleEvent $e\n\n@return boolean", "docstring_tokens": ["Dispatch", "custom", "event"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Listener/ConsoleListener.php#L78-L97", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Client/Client.php", "func_name": "Client.addTiming", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factorisation of the timing method\nfind the value timed\n\n@param object $event Event\n@param string $timingMethod Callable method in the event\n@param string $node Node\n@param array $tags Tags key => value for influxDb\n\n@throws Exception", "docstring_tokens": ["Factorisation", "of", "the", "timing", "method", "find", "the", "value", "timed"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Client/Client.php#L169-L175", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Client/Client.php", "func_name": "Client.replaceConfigPlaceholder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces a string with a method name\n\n@param EventInterface $event An event\n@param string $eventName The name of the event\n@param string $string The node in which the replacing will happen\n\n@return string", "docstring_tokens": ["Replaces", "a", "string", "with", "a", "method", "name"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Client/Client.php#L186-L200", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Client/Client.php", "func_name": "Client.mergeTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge config tags with tags manually sent with the event\n\n@param mixed $event\n@param array $config\n\n@return array of tags", "docstring_tokens": ["Merge", "config", "tags", "with", "tags", "manually", "sent", "with", "the", "event"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Client/Client.php#L210-L219", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Statsd/Listener.php", "func_name": "Listener.dispatchMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "dispatchMemory dispatch a memory event", "docstring_tokens": ["dispatchMemory", "dispatch", "a", "memory", "event"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Statsd/Listener.php#L90-L99", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Statsd/Listener.php", "func_name": "Listener.dispatchRequestTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "dispatchRequestTime dispatch the request time.\nThis time is a \"fake\" one, because some actions are performed before the initialization of the request\nIt is ~100ms smaller than the real kernel time.\n\n@param PostResponseEvent $event", "docstring_tokens": ["dispatchRequestTime", "dispatch", "the", "request", "time", ".", "This", "time", "is", "a", "fake", "one", "because", "some", "actions", "are", "performed", "before", "the", "initialization", "of", "the", "request", "It", "is", "~100ms", "smaller", "than", "the", "real", "kernel", "time", "."], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Statsd/Listener.php#L108-L119", "partition": "test"} +{"repo": "M6Web/StatsdBundle", "path": "src/Event/ConsoleEvent.php", "func_name": "ConsoleEvent.createFromConsoleEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new event object\n\n@param BaseConsoleEvent $e\n@param float $startTime\n@param float $executionTime\n\n@return ConsoleEvent\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Create", "new", "event", "object"], "sha": "a9f9f465eb81f3c8a8c39fa7b33da818c34ec656", "url": "https://github.com/M6Web/StatsdBundle/blob/a9f9f465eb81f3c8a8c39fa7b33da818c34ec656/src/Event/ConsoleEvent.php#L143-L150", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.srid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match SRID in EWKT object\n\n@return int", "docstring_tokens": ["Match", "SRID", "in", "EWKT", "object"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L106-L117", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.geometry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match spatial geometry object\n\n@return array", "docstring_tokens": ["Match", "spatial", "geometry", "object"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L136-L157", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.point", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a coordinate pair\n\n@return array", "docstring_tokens": ["Match", "a", "coordinate", "pair"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L164-L189", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.coordinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a number and optional exponent\n\n@return int|float", "docstring_tokens": ["Match", "a", "number", "and", "optional", "exponent"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L212-L217", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.pointList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a list of coordinates\n\n@return array[]", "docstring_tokens": ["Match", "a", "list", "of", "coordinates"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L244-L255", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.pointLists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match nested lists of coordinates\n\n@return array[]", "docstring_tokens": ["Match", "nested", "lists", "of", "coordinates"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L262-L280", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.multiPolygon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match MULTIPOLYGON value\n\n@return array[]", "docstring_tokens": ["Match", "MULTIPOLYGON", "value"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L287-L305", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.geometryCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match GEOMETRYCOLLECTION value\n\n@return array[]", "docstring_tokens": ["Match", "GEOMETRYCOLLECTION", "value"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L332-L343", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match token at current position in input\n\n@param $token", "docstring_tokens": ["Match", "token", "at", "current", "position", "in", "input"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L350-L359", "partition": "test"} +{"repo": "creof/wkt-parser", "path": "lib/CrEOF/Geo/WKT/Parser.php", "func_name": "Parser.syntaxError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create exception with descriptive error message\n\n@param string $expected\n\n@return UnexpectedValueException", "docstring_tokens": ["Create", "exception", "with", "descriptive", "error", "message"], "sha": "bc4c051b7a4e99b4943e2ec358218ed200aa991e", "url": "https://github.com/creof/wkt-parser/blob/bc4c051b7a4e99b4943e2ec358218ed200aa991e/lib/CrEOF/Geo/WKT/Parser.php#L368-L382", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/NetworkTraffic/Request.php", "func_name": "Request.createResponseParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an array of Response objects from a given response array\n@param $responseParts\n@return array", "docstring_tokens": ["Creates", "an", "array", "of", "Response", "objects", "from", "a", "given", "response", "array"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/NetworkTraffic/Request.php#L30-L39", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/NetworkTraffic/Request.php", "func_name": "Request.getTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if exists the request time\n@return \\DateTime", "docstring_tokens": ["Returns", "if", "exists", "the", "request", "time"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/NetworkTraffic/Request.php#L85-L93", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserBase.php", "func_name": "BrowserBase.createApiClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an http client to consume the phantomjs API", "docstring_tokens": ["Creates", "an", "http", "client", "to", "consume", "the", "phantomjs", "API"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserBase.php#L28-L36", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserBase.php", "func_name": "BrowserBase.command", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a command to the browser\n@throws BrowserError\n@throws \\Exception\n@return mixed", "docstring_tokens": ["Sends", "a", "command", "to", "the", "browser"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserBase.php#L81-L103", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/NetworkTraffic/Response.php", "func_name": "Response.getRedirectUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get redirect url if response is a redirect\n@return string", "docstring_tokens": ["Get", "redirect", "url", "if", "response", "is", "a", "redirect"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/NetworkTraffic/Response.php#L55-L60", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserRenderTrait.php", "func_name": "BrowserRenderTrait.checkRenderOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check and fix render options\n@param $options\n@return mixed", "docstring_tokens": ["Check", "and", "fix", "render", "options"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserRenderTrait.php#L15-L33", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserRenderTrait.php", "func_name": "BrowserRenderTrait.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a page or selection to a file given by path\n@param string $path\n@param array $options\n@return mixed", "docstring_tokens": ["Renders", "a", "page", "or", "selection", "to", "a", "file", "given", "by", "path"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserRenderTrait.php#L41-L44", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserRenderTrait.php", "func_name": "BrowserRenderTrait.renderBase64", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders base64 a page or selection to a file given by path\n@param string $imageFormat (PNG, GIF, JPEG)\n@param array $options\n@return mixed", "docstring_tokens": ["Renders", "base64", "a", "page", "or", "selection", "to", "a", "file", "given", "by", "path"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserRenderTrait.php#L52-L55", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserPageElementTrait.php", "func_name": "BrowserPageElementTrait.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find elements given a method and a selector\n@param $method\n@param $selector\n@return array", "docstring_tokens": ["Find", "elements", "given", "a", "method", "and", "a", "selector"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserPageElementTrait.php#L16-L23", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserPageElementTrait.php", "func_name": "BrowserPageElementTrait.findWithin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find elements within a page, method and selector\n@param $pageId\n@param $elementId\n@param $method\n@param $selector\n@return mixed", "docstring_tokens": ["Find", "elements", "within", "a", "page", "method", "and", "selector"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserPageElementTrait.php#L33-L35", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserPageElementTrait.php", "func_name": "BrowserPageElementTrait.setAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an attribute to the given element in the given page\n@param $pageId\n@param $elementId\n@param $name\n@param $value\n@return mixed\n@throws \\Zumba\\GastonJS\\Exception\\BrowserError\n@throws \\Exception", "docstring_tokens": ["Set", "an", "attribute", "to", "the", "given", "element", "in", "the", "given", "page"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserPageElementTrait.php#L141-L143", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserPageElementTrait.php", "func_name": "BrowserPageElementTrait.keyEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the order to execute a key event on a given element\n@param $pageId\n@param $elementId\n@param $keyEvent\n@param $key\n@param $modifier\n@return mixed", "docstring_tokens": ["Sends", "the", "order", "to", "execute", "a", "key", "event", "on", "a", "given", "element"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserPageElementTrait.php#L177-L179", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserPageElementTrait.php", "func_name": "BrowserPageElementTrait.selectOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the command to select and option given a value\n@param $pageId\n@param $elementId\n@param $value\n@param bool $multiple\n@return mixed", "docstring_tokens": ["Sends", "the", "command", "to", "select", "and", "option", "given", "a", "value"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserPageElementTrait.php#L189-L191", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserConfigurationTrait.php", "func_name": "BrowserConfigurationTrait.debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the debug mode on the browser\n@param bool $enable\n@return bool", "docstring_tokens": ["Set", "the", "debug", "mode", "on", "the", "browser"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserConfigurationTrait.php#L34-L37", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserConfigurationTrait.php", "func_name": "BrowserConfigurationTrait.setProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets or unsets web proxy.\n\n@param string|false $proxy proxy url formatted as '(http|socks5)://[username:password@]host:port', or false to unset\n@return bool\n@throws \\UnexpectedValueException when the proxy url is invalid", "docstring_tokens": ["Sets", "or", "unsets", "web", "proxy", "."], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserConfigurationTrait.php#L56-L75", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserNetworkTrait.php", "func_name": "BrowserNetworkTrait.networkTraffic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the network traffic that the page have created\n@return array", "docstring_tokens": ["Get", "all", "the", "network", "traffic", "that", "the", "page", "have", "created"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserNetworkTrait.php#L16-L29", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserCookieTrait.php", "func_name": "BrowserCookieTrait.cookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the cookies on the browser\n\n@return Cookie[]", "docstring_tokens": ["Gets", "the", "cookies", "on", "the", "browser"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserCookieTrait.php#L17-L24", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Browser/BrowserCookieTrait.php", "func_name": "BrowserCookieTrait.setCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a cookie on the browser, expires times is set in seconds\n@param $cookie\n@return mixed", "docstring_tokens": ["Sets", "a", "cookie", "on", "the", "browser", "expires", "times", "is", "set", "in", "seconds"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Browser/BrowserCookieTrait.php#L31-L38", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Exception/JavascriptError.php", "func_name": "JavascriptError.javascriptErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the javascript errors found during the use of the phantomjs\n@return array", "docstring_tokens": ["Get", "the", "javascript", "errors", "found", "during", "the", "use", "of", "the", "phantomjs"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Exception/JavascriptError.php#L24-L31", "partition": "test"} +{"repo": "jcalderonzumba/gastonjs", "path": "src/Exception/JavascriptError.php", "func_name": "JavascriptError.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the javascript errors found\n@return string", "docstring_tokens": ["Returns", "the", "javascript", "errors", "found"], "sha": "fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a", "url": "https://github.com/jcalderonzumba/gastonjs/blob/fe5f2506264343ce74db4a7ab1c0bb3f9b8bc35a/src/Exception/JavascriptError.php#L37-L47", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/Compilers/TrieCompiler.php", "func_name": "TrieCompiler.compileNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new node\n\n@param bool $isCompilingHostTrie Whether or not we're compiling a host trie\n@param TrieNode $currTrieNode The current node\n@param AstNode $ast The current AST node\n@param Route $route The current route\n@param TrieNode|null $hostTrie The host trie if one should be included, otherwise null", "docstring_tokens": ["Creates", "a", "new", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/Compilers/TrieCompiler.php#L98-L176", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/Compilers/TrieCompiler.php", "func_name": "TrieCompiler.compileVariableNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles a variable node\n\n@param AstNode $astNode The variable node to compile\n@return RouteVariable The created route variable", "docstring_tokens": ["Compiles", "a", "variable", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/Compilers/TrieCompiler.php#L184-L198", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/Compilers/TrieCompiler.php", "func_name": "TrieCompiler.createTrieNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a trie node\n\n@param string[]|RouteVariable[] $segmentBuffer The current buffer of parts (eg text or RouteVariables)\n@param bool $segmentContainsVariable Whether or not the segment contains a variable\n@param bool $isEndpoint Whether or not this node is an endpoint\n@param Route $route The current route\n@param TrieNode|null $hostTrie The host trie\n@return TrieNode The created node", "docstring_tokens": ["Creates", "a", "trie", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/Compilers/TrieCompiler.php#L210-L230", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.flushTextBuffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes any text from the buffer\n\n@param string $textBuffer The current text buffer\n@param Token[] $tokens The list of tokens to add to", "docstring_tokens": ["Flushes", "any", "text", "from", "the", "buffer"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L77-L83", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.lexNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lexes a number lexeme\n\n@param string $number The lexeme to add\n@param Token[] $tokens The list of tokens to add to\n@param int $cursor The current cursor", "docstring_tokens": ["Lexes", "a", "number", "lexeme"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L92-L105", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.lexPunctuation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lexes a punctuation lexeme\n\n@param string $punctuation The lexeme to add\n@param Token[] $tokens The list of tokens to add to\n@param int $cursor The current cursor", "docstring_tokens": ["Lexes", "a", "punctuation", "lexeme"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L114-L118", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.lexQuotedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lexes a quoted string lexeme\n\n@param string $quotedString The lexeme to add\n@param Token[] $tokens The list of tokens to add to\n@param int $cursor The current cursor", "docstring_tokens": ["Lexes", "a", "quoted", "string", "lexeme"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L127-L131", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.lexTextChar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lexes a text character lexeme\n\n@param string $char The lexeme to add\n@param string $textBuffer The text buffer to add to\n@param int $cursor The current cursor", "docstring_tokens": ["Lexes", "a", "text", "character", "lexeme"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L140-L144", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php", "func_name": "UriTemplateLexer.lexVariableName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lexes a variable name lexeme\n\n@param string $variableName The lexeme to add\n@param Token[] $tokens The list of tokens to add to\n@param int $cursor The current cursor", "docstring_tokens": ["Lexes", "a", "variable", "name", "lexeme"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/UriTemplateLexer.php#L153-L165", "partition": "test"} +{"repo": "aphiria/router", "path": "src/RouteCollection.php", "func_name": "RouteCollection.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the collection\n\n@param Route $route The route to add", "docstring_tokens": ["Adds", "a", "route", "to", "the", "collection"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/RouteCollection.php#L52-L59", "partition": "test"} +{"repo": "aphiria/router", "path": "src/RouteCollection.php", "func_name": "RouteCollection.getNamedRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the route with the input name\n\n@param string $name The name to search for\n@return Route|null The route with the input name if one existed, otherwise null", "docstring_tokens": ["Gets", "the", "route", "with", "the", "input", "name"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/RouteCollection.php#L89-L96", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieFactory.php", "func_name": "TrieFactory.createTrie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a trie\n\n@return TrieNode The trie", "docstring_tokens": ["Creates", "a", "trie"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieFactory.php#L58-L79", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Requests/RequestHeaderParser.php", "func_name": "RequestHeaderParser.normalizeName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes a name\n\n@param string $name The name to normalize\n@return string The normalized name", "docstring_tokens": ["Normalizes", "a", "name"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Requests/RequestHeaderParser.php#L59-L68", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/TokenStream.php", "func_name": "TokenStream.expect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests the current token to see if it matches the input type, and optionally the input value, and throws an\nexception if the token did not match\n\n@param string $type The type to check for\n@param mixed $value The optional value to match against\n@param string|null $message The exception message to use, otherwise a default one is generated\nAny '%s' in the message is first populated with the expected type, and then with the expected value\n@throws InvalidArgumentException Thrown if the current token didn't match the expected type and value", "docstring_tokens": ["Tests", "the", "current", "token", "to", "see", "if", "it", "matches", "the", "input", "type", "and", "optionally", "the", "input", "value", "and", "throws", "an", "exception", "if", "the", "token", "did", "not", "match"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/TokenStream.php#L48-L82", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/TokenStream.php", "func_name": "TokenStream.getCurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the current token\n\n@return Token|null The current token", "docstring_tokens": ["Gets", "the", "current", "token"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/TokenStream.php#L89-L92", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/TokenStream.php", "func_name": "TokenStream.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the next token, if there is one\n\n@return Token|null The next token, if there is one, otherwise false", "docstring_tokens": ["Gets", "the", "next", "token", "if", "there", "is", "one"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/TokenStream.php#L99-L102", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/TokenStream.php", "func_name": "TokenStream.nextIfType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the next token if the current one matches the input type, and optionally performs a value check\n\n@param string $type The type to check for\n@param mixed $value The optional value to match against\n@return bool True if the current token is of the input type, otherwise false", "docstring_tokens": ["Gets", "the", "next", "token", "if", "the", "current", "one", "matches", "the", "input", "type", "and", "optionally", "performs", "a", "value", "check"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/TokenStream.php#L111-L123", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/Lexers/TokenStream.php", "func_name": "TokenStream.peek", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Peeks ahead at the next token\n\n@param int $lookahead The number of tokens to look ahead\n@return Token|null The token", "docstring_tokens": ["Peeks", "ahead", "at", "the", "next", "token"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/Lexers/TokenStream.php#L131-L138", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/AstNode.php", "func_name": "AstNode.addChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a child to this node\n\n@param AstNode $node The child to add\n@return AstNode Returns this for chaining", "docstring_tokens": ["Adds", "a", "child", "to", "this", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/AstNode.php#L45-L51", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieNode.php", "func_name": "TrieNode.addChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a child node and recursively merges all its children, too\n\n@param $childNode $node The node to add\n@return self For chaining\n@throws InvalidArgumentException Thrown if the node was an invalid type", "docstring_tokens": ["Adds", "a", "child", "node", "and", "recursively", "merges", "all", "its", "children", "too"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieNode.php#L62-L73", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieNode.php", "func_name": "TrieNode.getAllChildren", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all the child nodes\n\n@return TrieNode[] The child nodes", "docstring_tokens": ["Gets", "all", "the", "child", "nodes"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieNode.php#L80-L93", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieNode.php", "func_name": "TrieNode.addLiteralChildNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a literal child node\n\n@param LiteralTrieNode $childNode The child node to add", "docstring_tokens": ["Adds", "a", "literal", "child", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieNode.php#L100-L119", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieNode.php", "func_name": "TrieNode.addVariableChildNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a variable child node\n\n@param VariableTrieNode $childNode The child node to add", "docstring_tokens": ["Adds", "a", "variable", "child", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieNode.php#L126-L148", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.buildAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds all the route builders in the registry\n\n@return Route[] The list of routes built by this registry", "docstring_tokens": ["Builds", "all", "the", "route", "builders", "in", "the", "registry"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L34-L43", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a group of routes that share similar options\n\n@param RouteGroupOptions $groupOptions The list of options shared by all routes in the group\n@param Closure $callback The callback that accepts an instance of this class", "docstring_tokens": ["Creates", "a", "group", "of", "routes", "that", "share", "similar", "options"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L51-L56", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a route builder with some values already set\n\n@param array|string $httpMethods The HTTP method or list of methods the route uses\n@param string $pathTemplate The path template\n@param string|null $hostTemplate The host template\n@param bool $isHttpsOnly Whether or not the route is HTTPS-only\n@return RouteBuilder The configured route builder", "docstring_tokens": ["Creates", "a", "route", "builder", "with", "some", "values", "already", "set"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L67-L84", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.applyGroupAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies a group's attributes to the input route builder\n\n@param RouteBuilder $routeBuilder The route builder to bind attributes to", "docstring_tokens": ["Applies", "a", "group", "s", "attributes", "to", "the", "input", "route", "builder"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L91-L100", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.applyGroupConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies a group's constraints to the input route builder\n\n@param RouteBuilder $routeBuilder The route builder to bind constraints to", "docstring_tokens": ["Applies", "a", "group", "s", "constraints", "to", "the", "input", "route", "builder"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L107-L116", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.applyGroupMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies a group's middleware to the input route builder\n\n@param RouteBuilder $routeBuilder The route builder to bind middleware to", "docstring_tokens": ["Applies", "a", "group", "s", "middleware", "to", "the", "input", "route", "builder"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L123-L132", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilderRegistry.php", "func_name": "RouteBuilderRegistry.applyGroupRouteTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies all the group options to a route\n\n@param string $pathTemplate The path template to apply settings to\n@param string|null $hostTemplate The host template to apply settings to\n@param bool $isHttpsOnly Whether or not the group is HTTPS-only", "docstring_tokens": ["Applies", "all", "the", "group", "options", "to", "a", "route"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilderRegistry.php#L141-L159", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Rules/RuleFactoryRegistrant.php", "func_name": "RuleFactoryRegistrant.registerRuleFactories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the built-in rule factories\n\n@param IRuleFactory The rule factory to register new factories to\n@return IRuleFactory The rule factory with all the registered factories (for chaining)", "docstring_tokens": ["Registers", "the", "built", "-", "in", "rule", "factories"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Rules/RuleFactoryRegistrant.php#L26-L60", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/TrieRouteMatcher.php", "func_name": "TrieRouteMatcher.getMatchCandidates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the list of matching route candidates for a particular node\n\nThis method uses generators that, given the order of the code, will return literal segments before variables\nones. Callers of this method will only attempt to descend the trie either on the first time or if previous\nmatch candidates didn't meet constraints, hence saving us unnecessary descents down the trie.\n\n@param TrieNode $node The current node\n@param array $segments The list of URI segments to match\n@param int $segmentIter The current index of segments\n@param array $hostSegments The list of URI host segments, which will be traversed if there's a host trie\n@param array $routeVars The mapping of route variable names to values\n@return iterable|MatchedRouteCandidate[] The list of matched route candidates", "docstring_tokens": ["Gets", "the", "list", "of", "matching", "route", "candidates", "for", "a", "particular", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/TrieRouteMatcher.php#L78-L122", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a route object from all the settings in this builder\n\n@return Route The built route\n@throws LogicException Thrown if no controller was specified", "docstring_tokens": ["Builds", "a", "route", "object", "from", "all", "the", "settings", "in", "this", "builder"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L61-L75", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.toMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds the controller the route uses to be a method\n\n@param string $controllerClassName The name of the class the route goes to\n@param string $controllerMethodName The name of the method the route goes to\n@return self For chaining", "docstring_tokens": ["Binds", "the", "controller", "the", "route", "uses", "to", "be", "a", "method"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L97-L102", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.withAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds a custom attribute to the route\nThis is useful for custom route constraint matching\n\n@param string $name The name of the attribute\n@param mixed $value The value of the attribute\n@return self For chaining", "docstring_tokens": ["Binds", "a", "custom", "attribute", "to", "the", "route", "This", "is", "useful", "for", "custom", "route", "constraint", "matching"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L112-L117", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.withManyAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds many custom attributes to the route\nThis is useful for custom route constraint matching\n\n@param array $attributes The mapping of custom attribute names => values\n@return self For chaining", "docstring_tokens": ["Binds", "many", "custom", "attributes", "to", "the", "route", "This", "is", "useful", "for", "custom", "route", "constraint", "matching"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L139-L144", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.withManyConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds constraints to this route\n\n@param IRouteConstraint[] $constraints The constraints to add\n@return self For chaining", "docstring_tokens": ["Binds", "constraints", "to", "this", "route"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L152-L157", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.withManyMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds many middleware bindings to the route\n\n@param MiddlewareBinding[]|string[] $middlewareBindings The list of middleware bindings to add, or a single\nclass name without properties\n@return self For chaining\n@throws InvalidArgumentException Thrown if the middleware bindings are not the correct type", "docstring_tokens": ["Binds", "many", "middleware", "bindings", "to", "the", "route"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L167-L182", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Builders/RouteBuilder.php", "func_name": "RouteBuilder.withMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds a single middleware class to the route\n\n@param string $middlewareClassName The name of the middleware class to bind\n@param array $middlewareProperties Any properties this method relies on\n@return self For chaining", "docstring_tokens": ["Binds", "a", "single", "middleware", "class", "to", "the", "route"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Builders/RouteBuilder.php#L191-L196", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/UriTemplateParser.php", "func_name": "UriTemplateParser.parsePunctuation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a punctuation token\n\n@param TokenStream $tokens The stream of tokens to parse\n@param AstNode $currNode The abstract syntax tree to add nodes to\n@param bool $parsingPath Whether or not we're parsing the path (otherwise we're parsing the host)\n@throws InvalidArgumentException Thrown if an unexpected punctuation token was found", "docstring_tokens": ["Parses", "a", "punctuation", "token"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/UriTemplateParser.php#L70-L158", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/UriTemplateParser.php", "func_name": "UriTemplateParser.parseText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a text token\n\n@param TokenStream $tokens The stream of tokens to parse\n@param AstNode $currNode The abstract syntax tree to add nodes to", "docstring_tokens": ["Parses", "a", "text", "token"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/UriTemplateParser.php#L166-L174", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/UriTemplateParser.php", "func_name": "UriTemplateParser.parseTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a stream of tokens and adds it to an abstract syntax tree\n\n@param TokenStream $tokens The tokens to parse\n@param AstNode $ast The abstract syntax tree to add to", "docstring_tokens": ["Parses", "a", "stream", "of", "tokens", "and", "adds", "it", "to", "an", "abstract", "syntax", "tree"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/UriTemplateParser.php#L182-L208", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/UriTemplateParser.php", "func_name": "UriTemplateParser.parseVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a stream of variable tokens\n\n@param TokenStream $tokens The stream of tokens to parse\n@param AstNode $currNode The abstract syntax tree to add nodes to", "docstring_tokens": ["Parses", "a", "stream", "of", "variable", "tokens"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/UriTemplateParser.php#L216-L243", "partition": "test"} +{"repo": "aphiria/router", "path": "src/UriTemplates/Parsers/UriTemplateParser.php", "func_name": "UriTemplateParser.parseVariableRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a single variable rule\n\n@param TokenStream $tokens The stream of tokens to parse\n@param AstNode $currNode The variable node to add nodes to", "docstring_tokens": ["Parses", "a", "single", "variable", "rule"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/UriTemplates/Parsers/UriTemplateParser.php#L251-L286", "partition": "test"} +{"repo": "aphiria/router", "path": "src/Matchers/Trees/VariableTrieNode.php", "func_name": "VariableTrieNode.isMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets whether or not a segment matches this node\n\n@param string $segmentValue The segment value to match against\n@param array $routeVariables The route variables found on a successful match\n@return bool True if the input segment value matches this node, otherwise false", "docstring_tokens": ["Gets", "whether", "or", "not", "a", "segment", "matches", "this", "node"], "sha": "d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b", "url": "https://github.com/aphiria/router/blob/d9fa90d5f17dddbd52f311c2ec5cfec5865fd66b/src/Matchers/Trees/VariableTrieNode.php#L74-L112", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group routes with the given attributes\n\n@param array $attributes\n@param Closure $routes\n@return $this", "docstring_tokens": ["Group", "routes", "with", "the", "given", "attributes"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L99-L145", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map a controller to a route and set basic attributes\n\n@param string $method\n@param string $route\n@param Closure|callable|string $controller\n@param Middleware|string|Middleware[]|string[] $middleware\n@param string|null $domain\n@param string|null $name\n@return $this", "docstring_tokens": ["Map", "a", "controller", "to", "a", "route", "and", "set", "basic", "attributes"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L158-L191", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch routes and run the application\n\n@return $this\n@throws RouteNotFoundException\n@throws Throwable", "docstring_tokens": ["Dispatch", "routes", "and", "run", "the", "application"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L200-L228", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.compareMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given request method matches given route method\n\n@param string|null $routeMethod\n@param string $requestMethod\n@return bool", "docstring_tokens": ["Check", "if", "given", "request", "method", "matches", "given", "route", "method"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L237-L240", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.compareDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given request domain matches given route domain\n\n@param string|null $routeDomain\n@param string $requestDomain\n@return bool", "docstring_tokens": ["Check", "if", "given", "request", "domain", "matches", "given", "route", "domain"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L249-L252", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.compareUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given request uri matches given uri method\n\n@param string $routeUri\n@param string $requestUri\n@param array $parameters\n@return bool", "docstring_tokens": ["Check", "if", "given", "request", "uri", "matches", "given", "uri", "method"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L262-L267", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the controller of the given route\n\n@param Route $route\n@param array $parameters\n@return mixed|ResponseInterface\n@throws InvalidControllerException\n@throws InvalidMiddlewareException\n@throws Throwable", "docstring_tokens": ["Run", "the", "controller", "of", "the", "given", "route"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L279-L292", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.arrangeMethodParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Arrange parameters for given method\n\n@param string $class\n@param string $method\n@param array $parameters\n@param ServerRequestInterface $request\n@return array\n@throws ReflectionException", "docstring_tokens": ["Arrange", "parameters", "for", "given", "method"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L397-L404", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.regexUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert route to regex\n\n@param string $route\n@return string", "docstring_tokens": ["Convert", "route", "to", "regex"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L457-L462", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.regexParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert route parameter to regex\n\n@param string $name\n@return string", "docstring_tokens": ["Convert", "route", "parameter", "to", "regex"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L470-L482", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.any", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map a controller to given route for all the http methods\n\n@param string $route\n@param Closure|callable|string $controller\n@param Middleware|string|Middleware[]|string[] $middleware\n@param string|null $domain\n@param string|null $name\n@return $this", "docstring_tokens": ["Map", "a", "controller", "to", "given", "route", "for", "all", "the", "http", "methods"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L494-L502", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.define", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a parameter pattern\n\n@param string $name\n@param string $pattern\n@return $this", "docstring_tokens": ["Define", "a", "parameter", "pattern"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L624-L629", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate URL for given route name\nIt returns Null if route with given name is not found.\n\n@param string $routeName\n@param string[] $parameters\n@return string|null", "docstring_tokens": ["Generate", "URL", "for", "given", "route", "name", "It", "returns", "Null", "if", "route", "with", "given", "name", "is", "not", "found", "."], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L639-L655", "partition": "test"} +{"repo": "miladrahimi/phprouter", "path": "src/Router.php", "func_name": "Router.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare router to dispatch routes", "docstring_tokens": ["Prepare", "router", "to", "dispatch", "routes"], "sha": "7036181516b1cfa77bdd323cc3f2a6a8af95cee8", "url": "https://github.com/miladrahimi/phprouter/blob/7036181516b1cfa77bdd323cc3f2a6a8af95cee8/src/Router.php#L668-L677", "partition": "test"} +{"repo": "mremi/UrlShortener", "path": "src/Mremi/UrlShortener/Provider/Google/GoogleProvider.php", "func_name": "GoogleProvider.getUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the URI.\n\n@param array $parameters An array of parameters, optional\n\n@return null|string", "docstring_tokens": ["Gets", "the", "URI", "."], "sha": "d814c07e27dedd359b865b27e8d01ed0f25b4a40", "url": "https://github.com/mremi/UrlShortener/blob/d814c07e27dedd359b865b27e8d01ed0f25b4a40/src/Mremi/UrlShortener/Provider/Google/GoogleProvider.php#L115-L126", "partition": "test"} +{"repo": "mremi/UrlShortener", "path": "src/Mremi/UrlShortener/Provider/Wechat/WechatProvider.php", "func_name": "WechatProvider.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the Wechat's response and returns it whether the status code is 200.\n\n@param string $apiRawResponse\n\n@return object\n\n@throws InvalidApiResponseException", "docstring_tokens": ["Validates", "the", "Wechat", "s", "response", "and", "returns", "it", "whether", "the", "status", "code", "is", "200", "."], "sha": "d814c07e27dedd359b865b27e8d01ed0f25b4a40", "url": "https://github.com/mremi/UrlShortener/blob/d814c07e27dedd359b865b27e8d01ed0f25b4a40/src/Mremi/UrlShortener/Provider/Wechat/WechatProvider.php#L122-L142", "partition": "test"} +{"repo": "mremi/UrlShortener", "path": "src/Mremi/UrlShortener/Provider/Bitly/BitlyProvider.php", "func_name": "BitlyProvider.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the Bit.ly's response and returns it whether the status code is 200.\n\n@param string $apiRawResponse\n\n@return object\n\n@throws InvalidApiResponseException", "docstring_tokens": ["Validates", "the", "Bit", ".", "ly", "s", "response", "and", "returns", "it", "whether", "the", "status", "code", "is", "200", "."], "sha": "d814c07e27dedd359b865b27e8d01ed0f25b4a40", "url": "https://github.com/mremi/UrlShortener/blob/d814c07e27dedd359b865b27e8d01ed0f25b4a40/src/Mremi/UrlShortener/Provider/Bitly/BitlyProvider.php#L126-L146", "partition": "test"} +{"repo": "mremi/UrlShortener", "path": "src/Mremi/UrlShortener/Provider/Sina/SinaProvider.php", "func_name": "SinaProvider.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the Sina's response and returns it whether the status code is 200.\n\n@param string $apiRawResponse An API response, as it returned\n\n@return object\n\n@throws InvalidApiResponseException", "docstring_tokens": ["Validates", "the", "Sina", "s", "response", "and", "returns", "it", "whether", "the", "status", "code", "is", "200", "."], "sha": "d814c07e27dedd359b865b27e8d01ed0f25b4a40", "url": "https://github.com/mremi/UrlShortener/blob/d814c07e27dedd359b865b27e8d01ed0f25b4a40/src/Mremi/UrlShortener/Provider/Sina/SinaProvider.php#L123-L146", "partition": "test"} +{"repo": "mremi/UrlShortener", "path": "src/Mremi/UrlShortener/Provider/ChainProvider.php", "func_name": "ChainProvider.getProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a provider by name.\n\n@param string $name A provider name\n\n@return UrlShortenerProviderInterface\n\n@throws \\RuntimeException If the provider does not exist", "docstring_tokens": ["Gets", "a", "provider", "by", "name", "."], "sha": "d814c07e27dedd359b865b27e8d01ed0f25b4a40", "url": "https://github.com/mremi/UrlShortener/blob/d814c07e27dedd359b865b27e8d01ed0f25b4a40/src/Mremi/UrlShortener/Provider/ChainProvider.php#L45-L52", "partition": "test"} +{"repo": "matthewbdaly/laravel-etag-middleware", "path": "src/ETag.php", "func_name": "ETag.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Implement Etag support.\n\n@param \\Illuminate\\Http\\Request $request The HTTP request.\n@param \\Closure $next Closure for the response.\n\n@return mixed", "docstring_tokens": ["Implement", "Etag", "support", "."], "sha": "1453c7d4b28d5d9730cfed0c0a185e727ec66f41", "url": "https://github.com/matthewbdaly/laravel-etag-middleware/blob/1453c7d4b28d5d9730cfed0c0a185e727ec66f41/src/ETag.php#L21-L56", "partition": "test"} +{"repo": "ipinfo/php", "path": "src/IPinfo.php", "func_name": "IPinfo.getDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get formatted details for an IP address.\n@param string|null $ip_address IP address to look up.\n@return Details Formatted IPinfo data.\n@throws IPinfoException", "docstring_tokens": ["Get", "formatted", "details", "for", "an", "IP", "address", "."], "sha": "87e5b3e059246bd8c241b006c0e7354d2beef5cd", "url": "https://github.com/ipinfo/php/blob/87e5b3e059246bd8c241b006c0e7354d2beef5cd/src/IPinfo.php#L52-L57", "partition": "test"} +{"repo": "ipinfo/php", "path": "src/IPinfo.php", "func_name": "IPinfo.formatDetailsObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format details and return as an object.\n@param array $details IP address details.\n@return Details Formatted IPinfo Details object.", "docstring_tokens": ["Format", "details", "and", "return", "as", "an", "object", "."], "sha": "87e5b3e059246bd8c241b006c0e7354d2beef5cd", "url": "https://github.com/ipinfo/php/blob/87e5b3e059246bd8c241b006c0e7354d2beef5cd/src/IPinfo.php#L64-L79", "partition": "test"} +{"repo": "ipinfo/php", "path": "src/IPinfo.php", "func_name": "IPinfo.getRequestDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get details for a specific IP address.\n@param string $ip_address IP address to query API for.\n@return array IP response data.\n@throws IPinfoException", "docstring_tokens": ["Get", "details", "for", "a", "specific", "IP", "address", "."], "sha": "87e5b3e059246bd8c241b006c0e7354d2beef5cd", "url": "https://github.com/ipinfo/php/blob/87e5b3e059246bd8c241b006c0e7354d2beef5cd/src/IPinfo.php#L87-L121", "partition": "test"} +{"repo": "ipinfo/php", "path": "src/cache/Default.php", "func_name": "DefaultCache.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the IP address key to the specified value.\n@param string $ip_address IP address to cache data for.\n@param mixed $value Data for specified IP address.", "docstring_tokens": ["Set", "the", "IP", "address", "key", "to", "the", "specified", "value", "."], "sha": "87e5b3e059246bd8c241b006c0e7354d2beef5cd", "url": "https://github.com/ipinfo/php/blob/87e5b3e059246bd8c241b006c0e7354d2beef5cd/src/cache/Default.php#L42-L51", "partition": "test"} +{"repo": "ipinfo/php", "path": "src/cache/Default.php", "func_name": "DefaultCache.manageSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If cache maxsize has been reached, remove oldest elements until limit is reached.", "docstring_tokens": ["If", "cache", "maxsize", "has", "been", "reached", "remove", "oldest", "elements", "until", "limit", "is", "reached", "."], "sha": "87e5b3e059246bd8c241b006c0e7354d2beef5cd", "url": "https://github.com/ipinfo/php/blob/87e5b3e059246bd8c241b006c0e7354d2beef5cd/src/cache/Default.php#L66-L77", "partition": "test"} +{"repo": "paymentwall/paymentwall-php", "path": "lib/Paymentwall/GenerericApiObject.php", "func_name": "Paymentwall_GenerericApiObject.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make post request\n\n@param array $params\n@param array $headers\n\n@return array", "docstring_tokens": ["Make", "post", "request"], "sha": "040cbd3aecafe25af35568590f78b6cef4b72015", "url": "https://github.com/paymentwall/paymentwall-php/blob/040cbd3aecafe25af35568590f78b6cef4b72015/lib/Paymentwall/GenerericApiObject.php#L41-L56", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Error.php", "func_name": "Error.errorHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return error html.\n\n@param mixed $e\n@param int $header\n@param boolean $debug\n@return string", "docstring_tokens": ["return", "error", "html", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Error.php#L53-L66", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set group route.\n\n@param array $filter\n@param \\Closure $routes\n@return void", "docstring_tokens": ["set", "group", "route", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L110-L135", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._pathParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse path.\n\n@param string $path\n@return string", "docstring_tokens": ["Parse", "path", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L143-L150", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._isVariableRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check route is variable route or not.\n\n@param string $path\n@return boolean", "docstring_tokens": ["check", "route", "is", "variable", "route", "or", "not", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L171-L182", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._variableRouteCacheControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To avoid memory leaks, clear variable route cache with LRU when data out of array length.\n\n@param string $value\n@return void", "docstring_tokens": ["To", "avoid", "memory", "leaks", "clear", "variable", "route", "cache", "with", "LRU", "when", "data", "out", "of", "array", "length", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L235-L257", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._setMapTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set map tree.\n\n@param string $method\n@param string $path\n@param mixed $content string or Closure\n@return void", "docstring_tokens": ["set", "map", "tree", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L267-L281", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._getRedirectUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get redirect url\n\n@param string $path\n@param array $param\n@return string", "docstring_tokens": ["get", "redirect", "url"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L290-L297", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._checkMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check middlewares.\n\n@param WorkerF\\Http\\Requests $request\n@param array $middleware_symbols\n@return mixed\n@throws \\InvalidArgumentException", "docstring_tokens": ["check", "middlewares", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L307-L322", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Http/Route.php", "func_name": "Route._runDispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "run dispatch.\n\n@param WorkerF\\Http\\Requests $request\n@param mixed $callback string or Closure\n@param array $middleware_symbols\n@param array $params\n@return mixed\n@throws \\LogicException\n@throws \\BadMethodCallException\n@throws \\InvalidArgumentException", "docstring_tokens": ["run", "dispatch", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Http/Route.php#L336-L368", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/DB.php", "func_name": "DB.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "init db connections.\n\n@param array $db_confs\n@return void\n@throws WorkerF\\DB\\ConnectException", "docstring_tokens": ["init", "db", "connections", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/DB.php#L29-L53", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/WorkerSocket/WorkerHttp.php", "func_name": "WorkerHttp.header", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create http response header.\n\n@param mixed $header array or string\n@return void", "docstring_tokens": ["create", "http", "response", "header", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/WorkerSocket/WorkerHttp.php#L20-L35", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/WorkerSocket/WorkerHttp.php", "func_name": "WorkerHttp.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get http response header.\n\n@param string $key\n@return string", "docstring_tokens": ["get", "http", "response", "header", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/WorkerSocket/WorkerHttp.php#L43-L50", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/Pgsql.php", "func_name": "Pgsql.insertGetLastId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get last insert ID for postgresql\n\n@param array $data\n@return null/int\n@throws \\PDOException", "docstring_tokens": ["get", "last", "insert", "ID", "for", "postgresql"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/Pgsql.php#L94-L116", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer._getDiParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create Dependency injection params.\n\n@param array $params\n@return array", "docstring_tokens": ["create", "Dependency", "injection", "params", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L26-L39", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.singleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set a singleton instance.\n\n@param object $instance\n@param string $name\n@return void\n@throws \\InvalidArgumentException", "docstring_tokens": ["set", "a", "singleton", "instance", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L49-L61", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.getSingleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a singleton instance.\n\n@param string $class_name\n@return mixed object or NULL", "docstring_tokens": ["get", "a", "singleton", "instance", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L69-L73", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "register class, instantiate class, set instance to singleton.\n\n@param string $abstract abstract class name\n@param string $concrete concrete class name, if NULL, use abstract class name\n@return void", "docstring_tokens": ["register", "class", "instantiate", "class", "set", "instance", "to", "singleton", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L93-L102", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.getInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Instance from reflection info.\n\n@param string $class_name\n@return object", "docstring_tokens": ["get", "Instance", "from", "reflection", "info", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L110-L120", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.getInstanceWithSingleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Instance, if instance is not singleton, set it to singleton.\n\n@param string $class_name\n@return object", "docstring_tokens": ["get", "Instance", "if", "instance", "is", "not", "singleton", "set", "it", "to", "singleton", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L128-L139", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/IOCContainer.php", "func_name": "IOCContainer.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "run class method.\n\n@param string $class_name\n@param string $method\n@param array $params\n@return mixed\n@throws \\BadMethodCallException", "docstring_tokens": ["run", "class", "method", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/IOCContainer.php#L150-L171", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/App.php", "func_name": "App.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "run http app.\n\n@param Workerman\\Connection\\TcpConnection $con\n@return void\n@throws \\LogicException\n@throws \\BadMethodCallException\n@throws \\InvalidArgumentException\n@throws \\PDOException", "docstring_tokens": ["run", "http", "app", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/App.php#L32-L60", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/App.php", "func_name": "App.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize some devices like redis \\ database ...\n\n@return void\n@throws WorkerF\\DB\\ConnectException", "docstring_tokens": ["Initialize", "some", "devices", "like", "redis", "\\", "database", "..."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/App.php#L68-L81", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Tool/Pipeline.php", "func_name": "Pipeline.pipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set pipes, single mode.\n\n@param $pipe\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["set", "pipes", "single", "mode", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Tool/Pipeline.php#L44-L53", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Redis.php", "func_name": "Redis.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "init redis clients.\n\n@param array $rd_confs\n@return void\n@throws WorkerF\\DB\\ConnectException", "docstring_tokens": ["init", "redis", "clients", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Redis.php#L28-L48", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Redis.php", "func_name": "Redis.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe to a set of given channels for messages.\n'read_write_timeout' => 0 to solve the timeout problem\n\n@param array|string $channels\n@param \\Closure $callback\n@param string $connection\n@param string $method\n@return void", "docstring_tokens": ["Subscribe", "to", "a", "set", "of", "given", "channels", "for", "messages", ".", "read_write_timeout", "=", ">", "0", "to", "solve", "the", "timeout", "problem"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Redis.php#L113-L128", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Redis.php", "func_name": "Redis.psubscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe to a set of given channels with wildcards.\n\n@param array|string $channels\n@param \\Closure $callback\n@param string $connection\n@return void", "docstring_tokens": ["Subscribe", "to", "a", "set", "of", "given", "channels", "with", "wildcards", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Redis.php#L138-L141", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "reset all attribute\nmemory-resident mode , need manual reset attr\n\n@return void", "docstring_tokens": ["reset", "all", "attribute", "memory", "-", "resident", "mode", "need", "manual", "reset", "attr"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L244-L258", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._wrapPrepareSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "wrap prepare sql\n\n@return void", "docstring_tokens": ["wrap", "prepare", "sql"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L328-L336", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "prepare and execute, if timeout, auto reconnect\n\n@return void\n@throws \\PDOException", "docstring_tokens": ["prepare", "and", "execute", "if", "timeout", "auto", "reconnect"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L344-L383", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._bindParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "bind all params\n\n@return void", "docstring_tokens": ["bind", "all", "params"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L390-L413", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._wrapTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set table prefix\n\n@param string $table\n@return string", "docstring_tokens": ["set", "table", "prefix"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L421-L427", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._wrapRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add backquote sto field, support alias mode, prefix mode, func mode\n\n@param string $str\n@return string", "docstring_tokens": ["add", "backquote", "sto", "field", "support", "alias", "mode", "prefix", "mode", "func", "mode"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L456-L483", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._condition_constructor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parse argurment, create build attr, store bind param\n\n@param int $args_num\n@param array $params\n@param string &$construct_str\n@return void\n@throws \\InvalidArgumentException", "docstring_tokens": ["parse", "argurment", "create", "build", "attr", "store", "bind", "param"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L494-L537", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._storeBuildAttr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "store build attr to tmp\n\n@return array", "docstring_tokens": ["store", "build", "attr", "to", "tmp"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L544-L554", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._reStoreBuildAttr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "restore build attr from tmp\n\n@param array $data\n@return void", "docstring_tokens": ["restore", "build", "attr", "from", "tmp"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L562-L567", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver._subBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "do sub build\n\n@param \\Closure $callback\n@return array\n@throws \\InvalidArgumentException\n@throws \\PDOException", "docstring_tokens": ["do", "sub", "build"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L598-L622", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set select cols\n\n@return self", "docstring_tokens": ["set", "select", "cols"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L653-L670", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build where string\n\n@return self", "docstring_tokens": ["build", "where", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L677-L690", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.orWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build orWhere string\n\n@return self", "docstring_tokens": ["build", "orWhere", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L697-L710", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereIn string\n\n@param string $field\n@param array $data\n@param string $condition\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereIn", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L722-L741", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereBetween", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereBetween string\n\n@param string $field\n@param int $start\n@param int $end\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereBetween", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L792-L811", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereNull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereNull string\n\n@param string $field\n@param string $condition\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereNull", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L836-L851", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereBrackets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereBrackets string\n\n@param \\Closure $callback\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereBrackets", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L897-L913", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereExists string\n\n@param \\Closure $callback\n@param string $condition\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereExists", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L936-L952", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.whereInSub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build whereInSub string\n\n@param string $field\n@param \\Closure $callback\n@param string $condition\n@param string $operator\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "whereInSub", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1000-L1016", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.groupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build groupBy string\n\n@param string $field\n@return self", "docstring_tokens": ["build", "groupBy", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1064-L1074", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.having", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build having string\n\n@return self", "docstring_tokens": ["build", "having", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1081-L1095", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.orHaving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build orHaving string\n\n@return self", "docstring_tokens": ["build", "orHaving", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1102-L1116", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.orderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build orderBy string\n\n@param string $field\n@param string $mode\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "orderBy", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1139-L1153", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build join string\n\n@param string $table\n@param string $one\n@param string $two\n@param string $type\n@return self\n@throws \\InvalidArgumentException", "docstring_tokens": ["build", "join", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1165-L1176", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.fromSub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build rightJoin string\n\n@param Closure $callback\n@return self\n@throws \\InvalidArgumentException\n@throws \\PDOException", "docstring_tokens": ["build", "rightJoin", "string"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1214-L1220", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get paginate data\n\n@param int $step\n@param int $page\n@return array\n@throws \\PDOException", "docstring_tokens": ["get", "paginate", "data"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1244-L1269", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get assoc data\n\n@return array\n@throws \\PDOException", "docstring_tokens": ["get", "assoc", "data"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1277-L1283", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.row", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get assoc row data\n\n@return array\n@throws \\PDOException", "docstring_tokens": ["get", "assoc", "row", "data"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1291-L1297", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get field list\n\n@param string $field\n@return array\n@throws \\PDOException", "docstring_tokens": ["get", "field", "list"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1306-L1313", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "native query, add auto reconnect\n\n@param string $sql\n@return \\PDOStatement/boolean\n@throws \\PDOException", "docstring_tokens": ["native", "query", "add", "auto", "reconnect"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1499-L1520", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "native prepare, add auto reconnect\n\n@param string $sql\n@param array $driver_options\n@return \\PDOStatement/boolean\n@throws \\PDOException", "docstring_tokens": ["native", "prepare", "add", "auto", "reconnect"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1560-L1581", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/DB/Drivers/PDODriver.php", "func_name": "PDODriver.beginTrans", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "begin Transaction, add auto reconnect\n\n@return boolean\n@throws \\PDOException", "docstring_tokens": ["begin", "Transaction", "add", "auto", "reconnect"], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/DB/Drivers/PDODriver.php#L1589-L1610", "partition": "test"} +{"repo": "wazsmwazsm/WorkerF", "path": "src/WorkerF/Exceptions/ExceptionHandler.php", "func_name": "ExceptionHandler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ExceptionHandler handle.\n\n@param \\Exception $e\n@return string", "docstring_tokens": ["ExceptionHandler", "handle", "."], "sha": "5982934d6beb59b3e3e4071be9bbbd4e16247dba", "url": "https://github.com/wazsmwazsm/WorkerF/blob/5982934d6beb59b3e3e4071be9bbbd4e16247dba/src/WorkerF/Exceptions/ExceptionHandler.php#L22-L39", "partition": "test"} +{"repo": "hidehalo/nanoid-php", "path": "src/Client.php", "func_name": "Client.generateId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate nanoid via optional modes\n\n@param integer $size\n@param integer $mode Client::MODE_NORMAL|Client::MODE_DYNAMIC\n@return string", "docstring_tokens": ["Generate", "nanoid", "via", "optional", "modes"], "sha": "0f4ffdd3b56200e2a927501b01bae31b62a35df7", "url": "https://github.com/hidehalo/nanoid-php/blob/0f4ffdd3b56200e2a927501b01bae31b62a35df7/src/Client.php#L52-L61", "partition": "test"} +{"repo": "hidehalo/nanoid-php", "path": "src/Client.php", "func_name": "Client.formatedId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The original API of nanoid. Use it be careful, Please make sure\nyou have been implements your custom GeneratorInterface as correctly.\nOtherwise use the build-in default random bytes generator\n\n@see https://github.com/ai/nanoid/blob/master/format.js\n@see https://github.com/ai/nanoid/blob/master/generate.js\n@param GeneratorInterface $generator\n@param integer $size\n@param string $alphabet default CoreInterface::SAFE_SYMBOLS\n@return string", "docstring_tokens": ["The", "original", "API", "of", "nanoid", ".", "Use", "it", "be", "careful", "Please", "make", "sure", "you", "have", "been", "implements", "your", "custom", "GeneratorInterface", "as", "correctly", ".", "Otherwise", "use", "the", "build", "-", "in", "default", "random", "bytes", "generator"], "sha": "0f4ffdd3b56200e2a927501b01bae31b62a35df7", "url": "https://github.com/hidehalo/nanoid-php/blob/0f4ffdd3b56200e2a927501b01bae31b62a35df7/src/Client.php#L75-L81", "partition": "test"} +{"repo": "hidehalo/nanoid-php", "path": "src/Client.php", "func_name": "Client.normalRandom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate secure URL-friendly unique ID.\nBy default, ID will have 21 symbols to have same collisions probability\nas UUID v4.\n\n@see https://github.com/ai/nanoid/blob/master/index.js\n@param integer $size\n@return string", "docstring_tokens": ["Generate", "secure", "URL", "-", "friendly", "unique", "ID", ".", "By", "default", "ID", "will", "have", "21", "symbols", "to", "have", "same", "collisions", "probability", "as", "UUID", "v4", "."], "sha": "0f4ffdd3b56200e2a927501b01bae31b62a35df7", "url": "https://github.com/hidehalo/nanoid-php/blob/0f4ffdd3b56200e2a927501b01bae31b62a35df7/src/Client.php#L92-L101", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.normalizeDSN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize DSN connection string.\n\nReturns normalized DSN as array ['dsn', 'user', 'pass', 'driver', 'rest'].\n\n@param array|string $dsn DSN string\n@param string $user Optional username, this takes precedence over dsn string\n@param string $pass Optional password, this takes precedence over dsn string\n\n@return array", "docstring_tokens": ["Normalize", "DSN", "connection", "string", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L58-L96", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.dsql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns new Query object with connection already set.\n\n@param array $properties\n\n@return Query", "docstring_tokens": ["Returns", "new", "Query", "object", "with", "connection", "already", "set", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L218-L225", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute Expression by using this connection.\n\n@param Expression $expr\n\n@return \\PDOStatement", "docstring_tokens": ["Execute", "Expression", "by", "using", "this", "connection", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L261-L269", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.beginTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts new transaction.\n\nDatabase driver supports statements for starting and committing\ntransactions. Unfortunately most of them don't allow to nest\ntransactions and commit gradually.\nWith this method you have some implementation of nested transactions.\n\nWhen you call it for the first time it will begin transaction. If you\ncall it more times, it will do nothing but will increase depth counter.\nYou will need to call commit() for each execution of beginTransactions()\nand only the last commit will perform actual commit in database.\n\nSo, if you have been working with the database and got un-handled\nexception in the middle of your code, everything will be rolled back.\n\n@return mixed Don't rely on any meaningful return", "docstring_tokens": ["Starts", "new", "transaction", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L310-L320", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.commit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Commits transaction.\n\nEach occurrence of beginTransaction() must be matched with commit().\nOnly when same amount of commits are executed, the actual commit will be\nissued to the database.\n\n@see beginTransaction()\n\n@return mixed Don't rely on any meaningful return", "docstring_tokens": ["Commits", "transaction", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L348-L362", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection.php", "func_name": "Connection.rollBack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rollbacks queries since beginTransaction and resets transaction depth.\n\n@see beginTransaction()\n\n@return mixed Don't rely on any meaningful return", "docstring_tokens": ["Rollbacks", "queries", "since", "beginTransaction", "and", "resets", "transaction", "depth", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection.php#L371-L385", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Connection_Oracle.php", "func_name": "Connection_Oracle.lastInsertID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return last inserted ID value.\n\nFew Connection drivers need to receive Model to get ID because PDO doesn't support this method.\n\n@param \\atk4\\data\\Model Optional data model from which to return last ID\n\n@return mixed", "docstring_tokens": ["Return", "last", "inserted", "ID", "value", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Connection_Oracle.php#L44-L60", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets arguments.\n\n@param string $tag\n\n@return $this", "docstring_tokens": ["Resets", "arguments", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L231-L255", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression._consume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively renders sub-query or expression, combining parameters.\n\n@param mixed $sql_code Expression\n@param string $escape_mode Fall-back escaping mode - param|escape|none\n\n@return string|array Quoted expression or array of param names", "docstring_tokens": ["Recursively", "renders", "sub", "-", "query", "or", "expression", "combining", "parameters", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L265-L313", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression._escapeSoft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Soft-escaping SQL identifier. This method will attempt to put\nescaping char around the identifier, however will not do so if you\nare using special characters like \".\", \"(\" or escaping char.\n\nIt will smartly escape table.field type of strings resulting\nin \"table\".\"field\".\n\n@param mixed $value Any string or array of strings\n\n@return string|array Escaped string or array of strings", "docstring_tokens": ["Soft", "-", "escaping", "SQL", "identifier", ".", "This", "method", "will", "attempt", "to", "put", "escaping", "char", "around", "the", "identifier", "however", "will", "not", "do", "so", "if", "you", "are", "using", "special", "characters", "like", ".", "(", "or", "escaping", "char", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L341-L358", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render expression and return it as string.\n\n@return string Rendered query", "docstring_tokens": ["Render", "expression", "and", "return", "it", "as", "string", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L427-L472", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.getDebugQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return formatted debug output.\n\nIgnore false positive warnings of PHPMD.\n\n@SuppressWarnings(PHPMD.StaticAccess)\n\n@param bool $html Show as HTML?\n\n@return string SQL syntax of query", "docstring_tokens": ["Return", "formatted", "debug", "output", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L485-L523", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes expression and return whole result-set in form of array of hashes.\n\n@return array", "docstring_tokens": ["Executes", "expression", "and", "return", "whole", "result", "-", "set", "in", "form", "of", "array", "of", "hashes", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L642-L651", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.getOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes expression and return first value of first row of data from result-set.\n\n@return string", "docstring_tokens": ["Executes", "expression", "and", "return", "first", "value", "of", "first", "row", "of", "data", "from", "result", "-", "set", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L658-L671", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Expression.php", "func_name": "Expression.getRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes expression and returns first row of data from result-set as a hash.\n\n@return array", "docstring_tokens": ["Executes", "expression", "and", "returns", "first", "row", "of", "data", "from", "result", "-", "set", "as", "a", "hash", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Expression.php#L678-L687", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specify a table to be used in a query.\n\n@param mixed $table Specifies table\n@param string $alias Specify alias for this table\n\n@return $this", "docstring_tokens": ["Specify", "a", "table", "to", "be", "used", "in", "a", "query", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L226-L271", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds condition to your query.\n\nExamples:\n$q->where('id',1);\n\nBy default condition implies equality. You can specify a different comparison\noperator by either including it along with the field or using 3-argument\nformat:\n$q->where('id>','1');\n$q->where('id','>',1);\n\nYou may use Expression as any part of the query.\n$q->where($q->expr('a=b'));\n$q->where('date>',$q->expr('now()'));\n$q->where($q->expr('length(password)'),'>',5);\n\nIf you specify Query as an argument, it will be automatically\nsurrounded by brackets:\n$q->where('user_id',$q->dsql()->table('users')->field('id'));\n\nYou can specify OR conditions by passing single argument - array:\n$q->where([\n['a','is',null],\n['b','is',null]\n]);\n\nIf entry of the OR condition is not an array, then it's assumed to\nbe an expression;\n\n$q->where([\n['age',20],\n'age is null'\n]);\n\nThe above use of OR conditions rely on orExpr() functionality. See\nthat method for more information.\n\nTo specify OR conditions\n$q->where($q->orExpr()->where('a',1)->where('b',1));\n\n@param mixed $field Field, array for OR or Expression\n@param mixed $cond Condition such as '=', '>' or 'is not'\n@param mixed $value Value. Will be quoted unless you pass expression\n@param string $kind Do not use directly. Use having()\n@param string $num_args When $kind is passed, we can't determine number of\nactual arguments, so this argument must be specified.\n\n@return $this", "docstring_tokens": ["Adds", "condition", "to", "your", "query", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L549-L634", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.__render_condition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders one condition.\n\n@param array $row Condition\n\n@return string", "docstring_tokens": ["Renders", "one", "condition", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L680-L743", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Implements GROUP BY functionality. Simply pass either field name\nas string or expression.\n\n@param mixed $group Group by this\n\n@return $this", "docstring_tokens": ["Implements", "GROUP", "BY", "functionality", ".", "Simply", "pass", "either", "field", "name", "as", "string", "or", "expression", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L813-L831", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets field value for INSERT or UPDATE statements.\n\n@param string|array $field Name of the field\n@param mixed $value Value of the field\n\n@return $this", "docstring_tokens": ["Sets", "field", "value", "for", "INSERT", "or", "UPDATE", "statements", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L863-L899", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set options for particular mode.\n\n@param mixed $option\n@param string $mode select|insert|replace\n\n@return $this", "docstring_tokens": ["Set", "options", "for", "particular", "mode", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L977-L995", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Orders results by field or Expression. See documentation for full\nlist of possible arguments.\n\n$q->order('name');\n$q->order('name desc');\n$q->order('name desc, id asc')\n$q->order('name',true);\n\n@param string|array $order Order by\n@param string|bool $desc true to sort descending\n\n@return $this", "docstring_tokens": ["Orders", "results", "by", "field", "or", "Expression", ".", "See", "documentation", "for", "full", "list", "of", "possible", "arguments", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L1130-L1172", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query.php", "func_name": "Query.mode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switch template for this query. Determines what would be done\non execute.\n\nBy default it is in SELECT mode\n\n@param string $mode\n\n@return $this", "docstring_tokens": ["Switch", "template", "for", "this", "query", ".", "Determines", "what", "would", "be", "done", "on", "execute", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query.php#L1243-L1258", "partition": "test"} +{"repo": "atk4/dsql", "path": "src/Query_Oracle.php", "func_name": "Query_Oracle.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit how many rows will be returned.\n\n@param int $cnt Number of rows to return\n@param int $shift Offset, how many rows to skip\n\n@return $this", "docstring_tokens": ["Limit", "how", "many", "rows", "will", "be", "returned", "."], "sha": "6abdd965c0ffedb9572fb97ceec1bdc806e941b2", "url": "https://github.com/atk4/dsql/blob/6abdd965c0ffedb9572fb97ceec1bdc806e941b2/src/Query_Oracle.php#L33-L39", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/ValueParser.php", "func_name": "ValueParser.parseString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a .env string\n\n@param string $value The value to parse\n\n@return string The parsed string", "docstring_tokens": ["Parses", "a", ".", "env", "string"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/ValueParser.php#L163-L181", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/ValueParser.php", "func_name": "ValueParser.fetchStringMatches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the regex matches in the string\n\n@param string $regex The regex to use\n@param string $value The value to parse\n@param string $symbol The symbol we're parsing for\n\n@throws \\M1\\Env\\Exception\\ParseException If the string has a missing end quote\n\n@return string[] The matches based on the regex and the value", "docstring_tokens": ["Gets", "the", "regex", "matches", "in", "the", "string"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/ValueParser.php#L194-L205", "partition": "test"} +{"repo": "m1/Env", "path": "src/Exception/ParseException.php", "func_name": "ParseException.createMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs a ParseException message\n\n@param string $message The value to parse\n@param string $line The line of the value\n@param int $line_num The line num of the value\n\n@return string The exception message", "docstring_tokens": ["Constructs", "a", "ParseException", "message"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Exception/ParseException.php#L51-L62", "partition": "test"} +{"repo": "m1/Env", "path": "src/Helper/StringHelper.php", "func_name": "StringHelper.startsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if value starts with a value\n\n@param string $string The value to search for\n@param string $line The line to test\n\n@return bool Returns if the line starts with value", "docstring_tokens": ["Returns", "if", "value", "starts", "with", "a", "value"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Helper/StringHelper.php#L121-L124", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.fetchVariableMatches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get variable matches inside a string\n\n@param string $value The value to parse\n\n@return array The variable matches", "docstring_tokens": ["Get", "variable", "matches", "inside", "a", "string"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L102-L111", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.hasParameterExpansion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the variable has a parameter expansion\n\n@param string $variable The variable to check\n\n@return bool Does the variable have a parameter expansion", "docstring_tokens": ["Checks", "to", "see", "if", "the", "variable", "has", "a", "parameter", "expansion"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L152-L161", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.fetchParameterExpansion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches and sets the parameter expansion\n\n@param string $variable_name The parameter expansion inside this to fetch\n\n@return string The parsed value", "docstring_tokens": ["Fetches", "and", "sets", "the", "parameter", "expansion"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L170-L186", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.fetchParameterExpansionSymbol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the parameter type symbol\n\n@param string $variable_name The variable\n@param string $type The type of parameter expansion\n\n@return array The symbol and if there is a empty check", "docstring_tokens": ["Fetches", "the", "parameter", "type", "symbol"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L212-L225", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.splitVariableDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits the parameter expansion into variable and default\n\n@param string $variable_name The variable name to split\n@param string $parameter_symbol The parameter expansion symbol\n\n@throws \\M1\\Env\\Exception\\ParseException If the parameter expansion if not valid syntax\n\n@return array The split variable and default value", "docstring_tokens": ["Splits", "the", "parameter", "expansion", "into", "variable", "and", "default"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L237-L250", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.parseVariableParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses and sets the variable and default if needed\n\n@param string $variable The variable to parse\n@param string $default The default value\n@param bool $exists Does the variable exist\n@param bool $empty Is there the variable empty if exists and the empty flag is set\n@param string $type The type of parameter expansion\n\n@return string The parsed value", "docstring_tokens": ["Parses", "and", "sets", "the", "variable", "and", "default", "if", "needed"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L264-L271", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.assignVariableParameterDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses and sets the variable parameter to default\n\n@param string $variable The variable to parse\n@param string $default The default value\n@param bool $empty Is there the variable empty if exists and the empty flag is set\n@param string $type The type of parameter expansion\n\n@return string The parsed default value", "docstring_tokens": ["Parses", "and", "sets", "the", "variable", "parameter", "to", "default"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L283-L292", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.hasVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if a variable exists\n\n@param string $variable The variable name to get\n\n@return bool", "docstring_tokens": ["Checks", "to", "see", "if", "a", "variable", "exists"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L301-L312", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/VariableParser.php", "func_name": "VariableParser.getVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get variable value\n\n@param string $variable\n\n@return mixed", "docstring_tokens": ["Get", "variable", "value"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/VariableParser.php#L321-L332", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser/KeyParser.php", "func_name": "KeyParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a .env key\n\n@param string $key The key string\n\n@throws \\M1\\Env\\Exception\\ParseException If key contains a character that isn't alphanumeric or a _\n\n@return string|false The parsed key, or false if the key is a comment", "docstring_tokens": ["Parses", "a", ".", "env", "key"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser/KeyParser.php#L39-L56", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.doParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens the .env, parses it then returns the contents\n\n@param string $content The content to parse\n\n@return array The .env contents", "docstring_tokens": ["Opens", "the", ".", "env", "parses", "it", "then", "returns", "the", "contents"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L106-L115", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.parseContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the .env line by line\n\n@param array $raw_lines The raw content of the file\n\n@throws \\M1\\Env\\Exception\\ParseException If the file does not have a key=value structure\n\n@return array The .env contents", "docstring_tokens": ["Parses", "the", ".", "env", "line", "by", "line"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L138-L154", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.parseLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a line of the .env\n\n@param string $raw_line The raw content of the line\n\n@return array The parsed lines", "docstring_tokens": ["Parses", "a", "line", "of", "the", ".", "env"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L163-L176", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.parseExport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a export line of the .env\n\n@param string $raw_line The raw content of the line\n\n@throws \\M1\\Env\\Exception\\ParseException If the file does not have a key=value structure\n\n@return string The parsed line", "docstring_tokens": ["Parses", "a", "export", "line", "of", "the", ".", "env"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L187-L206", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.parseKeyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the key = value items from the line\n\n@param string $raw_line The raw content of the line\n\n@throws \\M1\\Env\\Exception\\ParseException If the line does not have a key=value structure\n\n@return array The parsed lines", "docstring_tokens": ["Gets", "the", "key", "=", "value", "items", "from", "the", "line"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L217-L230", "partition": "test"} +{"repo": "m1/Env", "path": "src/Parser.php", "func_name": "Parser.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the contents of the .env\n\n@return array The .env contents", "docstring_tokens": ["Returns", "the", "contents", "of", "the", ".", "env"], "sha": "294addeedf15e1149eeb96ec829f2029d2017d39", "url": "https://github.com/m1/Env/blob/294addeedf15e1149eeb96ec829f2029d2017d39/src/Parser.php#L237-L243", "partition": "test"} +{"repo": "zenaton/zenaton-php", "path": "src/Zenaton/v1/Client.php", "func_name": "Client.startTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a single task.\n\n@throws AgentNotListeningException If the agent is not listening to the application\n@throws AgentUpdateRequiredException If the agent does not have the minimum required version\n@throws AgentException For any other error coming from the agent", "docstring_tokens": ["Start", "a", "single", "task", "."], "sha": "c75f30746fbf60b9f8a83198e94c9f20588a990d", "url": "https://github.com/zenaton/zenaton-php/blob/c75f30746fbf60b9f8a83198e94c9f20588a990d/src/Zenaton/v1/Client.php#L147-L167", "partition": "test"} +{"repo": "zenaton/zenaton-php", "path": "src/Zenaton/v1/Client.php", "func_name": "Client.startWorkflow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a workflow instance.\n\n@param WorkflowInterface $flow Workflow to start", "docstring_tokens": ["Start", "a", "workflow", "instance", "."], "sha": "c75f30746fbf60b9f8a83198e94c9f20588a990d", "url": "https://github.com/zenaton/zenaton-php/blob/c75f30746fbf60b9f8a83198e94c9f20588a990d/src/Zenaton/v1/Client.php#L174-L208", "partition": "test"} +{"repo": "zenaton/zenaton-php", "path": "src/Zenaton/v1/Client.php", "func_name": "Client.findWorkflow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a workflow instance.\n\n@param string $workflowName Workflow class name\n@param string $customId Provided custom id\n\n@return null|WorkflowInterface", "docstring_tokens": ["Find", "a", "workflow", "instance", "."], "sha": "c75f30746fbf60b9f8a83198e94c9f20588a990d", "url": "https://github.com/zenaton/zenaton-php/blob/c75f30746fbf60b9f8a83198e94c9f20588a990d/src/Zenaton/v1/Client.php#L251-L269", "partition": "test"} +{"repo": "zenaton/zenaton-php", "path": "src/Zenaton/v1/Traits/WithTimestamp.php", "func_name": "WithTimestamp._getTimestampOrDuration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return Wait timestamp or duration depending on methods used.\n\n@return array [null, duration] or [timestamp, null] or [null, null]", "docstring_tokens": ["Return", "Wait", "timestamp", "or", "duration", "depending", "on", "methods", "used", "."], "sha": "c75f30746fbf60b9f8a83198e94c9f20588a990d", "url": "https://github.com/zenaton/zenaton-php/blob/c75f30746fbf60b9f8a83198e94c9f20588a990d/src/Zenaton/v1/Traits/WithTimestamp.php#L25-L46", "partition": "test"} +{"repo": "zenaton/zenaton-php", "path": "src/Zenaton/v1/Services/Properties.php", "func_name": "Properties.getClassProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return properties of a class and all its inheritance hierarchy.\n\n@param object|string $argument Object or class name to get properties from\n@param null|int $filter Optional filter, for filtering desired property types. It's configured using the `\\ReflectionProperty` constants, and defaults to all property types.\n\n@throws \\ReflectionException if the class to reflect does not exist\n\n@return \\ReflectionProperty[]", "docstring_tokens": ["Return", "properties", "of", "a", "class", "and", "all", "its", "inheritance", "hierarchy", "."], "sha": "c75f30746fbf60b9f8a83198e94c9f20588a990d", "url": "https://github.com/zenaton/zenaton-php/blob/c75f30746fbf60b9f8a83198e94c9f20588a990d/src/Zenaton/v1/Services/Properties.php#L112-L125", "partition": "test"} +{"repo": "sonata-project/SonataSeoBundle", "path": "src/DependencyInjection/SonataSeoExtension.php", "func_name": "SonataSeoExtension.configureSitemap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the sitemap source manager.\n\n@param array $config\n@param ContainerBuilder $container", "docstring_tokens": ["Configure", "the", "sitemap", "source", "manager", "."], "sha": "02fc6a0b50464fb498561527b6e068a9515e22a7", "url": "https://github.com/sonata-project/SonataSeoBundle/blob/02fc6a0b50464fb498561527b6e068a9515e22a7/src/DependencyInjection/SonataSeoExtension.php#L74-L117", "partition": "test"} +{"repo": "sonata-project/SonataSeoBundle", "path": "src/DependencyInjection/SonataSeoExtension.php", "func_name": "SonataSeoExtension.fixConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix the sitemap configuration.\n\n@param array $config\n\n@return array", "docstring_tokens": ["Fix", "the", "sitemap", "configuration", "."], "sha": "02fc6a0b50464fb498561527b6e068a9515e22a7", "url": "https://github.com/sonata-project/SonataSeoBundle/blob/02fc6a0b50464fb498561527b6e068a9515e22a7/src/DependencyInjection/SonataSeoExtension.php#L126-L171", "partition": "test"} +{"repo": "sonata-project/SonataSeoBundle", "path": "src/Sitemap/SourceManager.php", "func_name": "SourceManager.addSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adding source with his group.\n\n@param string $group\n@param SourceIteratorInterface $source\n@param array $types", "docstring_tokens": ["Adding", "source", "with", "his", "group", "."], "sha": "02fc6a0b50464fb498561527b6e068a9515e22a7", "url": "https://github.com/sonata-project/SonataSeoBundle/blob/02fc6a0b50464fb498561527b6e068a9515e22a7/src/Sitemap/SourceManager.php#L41-L55", "partition": "test"} +{"repo": "sonata-project/SonataSeoBundle", "path": "src/Event/BreadcrumbListener.php", "func_name": "BreadcrumbListener.onBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add context related BlockService, if found.\n\n@param BlockEvent $event", "docstring_tokens": ["Add", "context", "related", "BlockService", "if", "found", "."], "sha": "02fc6a0b50464fb498561527b6e068a9515e22a7", "url": "https://github.com/sonata-project/SonataSeoBundle/blob/02fc6a0b50464fb498561527b6e068a9515e22a7/src/Event/BreadcrumbListener.php#L48-L68", "partition": "test"} +{"repo": "sonata-project/SonataSeoBundle", "path": "src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php", "func_name": "BaseBreadcrumbMenuBlockService.getRootMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize breadcrumb menu.\n\n@param BlockContextInterface $blockContext\n\n@return ItemInterface", "docstring_tokens": ["Initialize", "breadcrumb", "menu", "."], "sha": "02fc6a0b50464fb498561527b6e068a9515e22a7", "url": "https://github.com/sonata-project/SonataSeoBundle/blob/02fc6a0b50464fb498561527b6e068a9515e22a7/src/Block/Breadcrumb/BaseBreadcrumbMenuBlockService.php#L113-L137", "partition": "test"} +{"repo": "Dolphiq/craft3-iconpicker", "path": "src/fields/Iconpicker.php", "func_name": "Iconpicker.getFonts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the fonts that are residing in the fonts directory and have the right extention.\nIndex them by path as key and pathinfo array as value\n\n@return array", "docstring_tokens": ["Get", "all", "the", "fonts", "that", "are", "residing", "in", "the", "fonts", "directory", "and", "have", "the", "right", "extention", ".", "Index", "them", "by", "path", "as", "key", "and", "pathinfo", "array", "as", "value"], "sha": "0f51aea99bb7e05df0717720dc1329b35e7acf99", "url": "https://github.com/Dolphiq/craft3-iconpicker/blob/0f51aea99bb7e05df0717720dc1329b35e7acf99/src/fields/Iconpicker.php#L169-L195", "partition": "test"} +{"repo": "Dolphiq/craft3-iconpicker", "path": "src/fields/Iconpicker.php", "func_name": "Iconpicker.getIcons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a font and get all unicode characters available in that font.\n\n@return array|null", "docstring_tokens": ["Load", "a", "font", "and", "get", "all", "unicode", "characters", "available", "in", "that", "font", "."], "sha": "0f51aea99bb7e05df0717720dc1329b35e7acf99", "url": "https://github.com/Dolphiq/craft3-iconpicker/blob/0f51aea99bb7e05df0717720dc1329b35e7acf99/src/fields/Iconpicker.php#L214-L229", "partition": "test"} +{"repo": "Dolphiq/craft3-iconpicker", "path": "src/fields/Iconpicker.php", "func_name": "Iconpicker.getFontCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a css file that creates font families for each font file in the font directory", "docstring_tokens": ["Generate", "a", "css", "file", "that", "creates", "font", "families", "for", "each", "font", "file", "in", "the", "font", "directory"], "sha": "0f51aea99bb7e05df0717720dc1329b35e7acf99", "url": "https://github.com/Dolphiq/craft3-iconpicker/blob/0f51aea99bb7e05df0717720dc1329b35e7acf99/src/fields/Iconpicker.php#L251-L300", "partition": "test"} +{"repo": "paragonie/password_lock", "path": "src/PasswordLock.php", "func_name": "PasswordLock.hashAndEncrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "1. Hash password using bcrypt-base64-SHA256\n2. Encrypt-then-MAC the hash\n\n@param string $password\n@param Key $aesKey\n@return string\n@throws \\Exception\n@throws \\InvalidArgumentException", "docstring_tokens": ["1", ".", "Hash", "password", "using", "bcrypt", "-", "base64", "-", "SHA256", "2", ".", "Encrypt", "-", "then", "-", "MAC", "the", "hash"], "sha": "d1cd5dbfb64f2294e57f98b7147588b2bf74d19b", "url": "https://github.com/paragonie/password_lock/blob/d1cd5dbfb64f2294e57f98b7147588b2bf74d19b/src/PasswordLock.php#L22-L35", "partition": "test"} +{"repo": "paragonie/password_lock", "path": "src/PasswordLock.php", "func_name": "PasswordLock.upgradeFromVersion1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For migrating from an older version of the library\n\n@param string $password\n@param string $ciphertext\n@param string $oldKey\n@param Key $newKey\n@return string\n@throws \\Exception", "docstring_tokens": ["For", "migrating", "from", "an", "older", "version", "of", "the", "library"], "sha": "d1cd5dbfb64f2294e57f98b7147588b2bf74d19b", "url": "https://github.com/paragonie/password_lock/blob/d1cd5dbfb64f2294e57f98b7147588b2bf74d19b/src/PasswordLock.php#L119-L132", "partition": "test"} +{"repo": "phmLabs/Smoke", "path": "src/Cli/Command/ExplainCommand.php", "func_name": "ExplainCommand.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the analysis of the given website with all given parameters.\n\n@param InputInterface $input\n@param OutputInterface $output", "docstring_tokens": ["Runs", "the", "analysis", "of", "the", "given", "website", "with", "all", "given", "parameters", "."], "sha": "563d086168f845986071fce1ce58a701916b74a8", "url": "https://github.com/phmLabs/Smoke/blob/563d086168f845986071fce1ce58a701916b74a8/src/Cli/Command/ExplainCommand.php#L30-L54", "partition": "test"} +{"repo": "phmLabs/Smoke", "path": "src/Cli/Command/SmokeCommand.php", "func_name": "SmokeCommand.writeSmokeCredentials", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function creates the credentials header for the command line.\n\n@param null $url", "docstring_tokens": ["This", "function", "creates", "the", "credentials", "header", "for", "the", "command", "line", "."], "sha": "563d086168f845986071fce1ce58a701916b74a8", "url": "https://github.com/phmLabs/Smoke/blob/563d086168f845986071fce1ce58a701916b74a8/src/Cli/Command/SmokeCommand.php#L48-L59", "partition": "test"} +{"repo": "phmLabs/Smoke", "path": "src/Cli/Command/SmokeCommand.php", "func_name": "SmokeCommand.getConfigArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array representing the configuration.\n\n@param $configFile\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "representing", "the", "configuration", "."], "sha": "563d086168f845986071fce1ce58a701916b74a8", "url": "https://github.com/phmLabs/Smoke/blob/563d086168f845986071fce1ce58a701916b74a8/src/Cli/Command/SmokeCommand.php#L97-L120", "partition": "test"} +{"repo": "phmLabs/Smoke", "path": "src/Extensions/SmokeResponseRetriever/Retriever/Crawler/Filter/ForeignDomainFilter.php", "func_name": "ForeignDomainFilter.isFiltered", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter foreign domains before request is fired\n\n@param UriInterface $currentUri\n@param UriInterface $startUri\n@return bool", "docstring_tokens": ["Filter", "foreign", "domains", "before", "request", "is", "fired"], "sha": "563d086168f845986071fce1ce58a701916b74a8", "url": "https://github.com/phmLabs/Smoke/blob/563d086168f845986071fce1ce58a701916b74a8/src/Extensions/SmokeResponseRetriever/Retriever/Crawler/Filter/ForeignDomainFilter.php#L20-L36", "partition": "test"} +{"repo": "phmLabs/Smoke", "path": "src/Cli/Application.php", "func_name": "Application.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes all the commands.", "docstring_tokens": ["Initializes", "all", "the", "commands", "."], "sha": "563d086168f845986071fce1ce58a701916b74a8", "url": "https://github.com/phmLabs/Smoke/blob/563d086168f845986071fce1ce58a701916b74a8/src/Cli/Application.php#L50-L56", "partition": "test"} +{"repo": "slince/phpdish", "path": "src/PHPDish/Bundle/ThemeBundle/CacheWarmer/TemplateFinder.php", "func_name": "TemplateFinder.findAllTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all the templates in the bundle and in the kernel Resources folder.\n\n@return TemplateReferenceInterface[]", "docstring_tokens": ["Find", "all", "the", "templates", "in", "the", "bundle", "and", "in", "the", "kernel", "Resources", "folder", "."], "sha": "5057eec1b54cb349650d0ce162f663e49287ce2c", "url": "https://github.com/slince/phpdish/blob/5057eec1b54cb349650d0ce162f663e49287ce2c/src/PHPDish/Bundle/ThemeBundle/CacheWarmer/TemplateFinder.php#L76-L93", "partition": "test"} +{"repo": "slince/phpdish", "path": "src/PHPDish/Bundle/ThemeBundle/CacheWarmer/TemplateFinder.php", "func_name": "TemplateFinder.findTemplatesInBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find templates in the given bundle.\n\n@param BundleInterface $bundle The bundle where to look for templates\n\n@return TemplateReferenceInterface[]", "docstring_tokens": ["Find", "templates", "in", "the", "given", "bundle", "."], "sha": "5057eec1b54cb349650d0ce162f663e49287ce2c", "url": "https://github.com/slince/phpdish/blob/5057eec1b54cb349650d0ce162f663e49287ce2c/src/PHPDish/Bundle/ThemeBundle/CacheWarmer/TemplateFinder.php#L102-L122", "partition": "test"} +{"repo": "slince/phpdish", "path": "src/PHPDish/Bundle/CoreBundle/Command/AbstractInstallCommand.php", "func_name": "AbstractInstallCommand.executeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a command.\n\n@param string $command\n@param OutputInterface $output\n@param array $options Command options\n\n@return $this Self object", "docstring_tokens": ["Execute", "a", "command", "."], "sha": "5057eec1b54cb349650d0ce162f663e49287ce2c", "url": "https://github.com/slince/phpdish/blob/5057eec1b54cb349650d0ce162f663e49287ce2c/src/PHPDish/Bundle/CoreBundle/Command/AbstractInstallCommand.php#L52-L67", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.between", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the string between the given start and end.\n\n@param $start\n@param $end\n\n@return \\Spatie\\String\\Str", "docstring_tokens": ["Get", "the", "string", "between", "the", "given", "start", "and", "end", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L89-L116", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.sanitizeForTease", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize the string for teasing.\n\n@param $string\n\n@return string", "docstring_tokens": ["Sanitize", "the", "string", "for", "teasing", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L175-L186", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.replaceFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the first occurrence of a string.\n\n@param $search\n@param $replace\n\n@return \\Spatie\\String\\Str", "docstring_tokens": ["Replace", "the", "first", "occurrence", "of", "a", "string", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L196-L211", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.replaceLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the last occurrence of a string.\n\n@param $search\n@param $replace\n\n@return \\Spatie\\String\\Str", "docstring_tokens": ["Replace", "the", "last", "occurrence", "of", "a", "string", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L221-L236", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.possessive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the possessive version of a string.\n\n@return \\Spatie\\String\\Str", "docstring_tokens": ["Get", "the", "possessive", "version", "of", "a", "string", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L279-L292", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.segment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a segment from a string based on a delimiter.\nReturns an empty string when the offset doesn't exist.\nUse a negative index to start counting from the last element.\n\n@param string $delimiter\n@param int $index\n\n@return \\Spatie\\String\\Str", "docstring_tokens": ["Get", "a", "segment", "from", "a", "string", "based", "on", "a", "delimiter", ".", "Returns", "an", "empty", "string", "when", "the", "offset", "doesn", "t", "exist", ".", "Use", "a", "negative", "index", "to", "start", "counting", "from", "the", "last", "element", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L304-L316", "partition": "test"} +{"repo": "spatie/string", "path": "src/Str.php", "func_name": "Str.contains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias for find.\n\n@param array|string $needle\n@param bool $caseSensitive\n@param bool $absolute\n\n@return bool", "docstring_tokens": ["Alias", "for", "find", "."], "sha": "0da2ca3411ef5c47b5d89d68ecc11bfe87a70321", "url": "https://github.com/spatie/string/blob/0da2ca3411ef5c47b5d89d68ecc11bfe87a70321/src/Str.php#L375-L378", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/PayUMoneyGateway.php", "func_name": "PayUMoneyGateway.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PayUMoney Encrypt Function", "docstring_tokens": ["PayUMoney", "Encrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/PayUMoneyGateway.php#L112-L126", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/PayUMoneyGateway.php", "func_name": "PayUMoneyGateway.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PayUMoney Decrypt Function\n\n@param $plainText\n@param $key\n@return string", "docstring_tokens": ["PayUMoney", "Decrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/PayUMoneyGateway.php#L135-L150", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/CCAvenueGateway.php", "func_name": "CCAvenueGateway.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CCAvenue Encrypt Function\n\n@param $plainText\n@param $key\n@return string", "docstring_tokens": ["CCAvenue", "Encrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/CCAvenueGateway.php#L113-L127", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/CCAvenueGateway.php", "func_name": "CCAvenueGateway.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CCAvenue Decrypt Function\n\n@param $encryptedText\n@param $key\n@return string", "docstring_tokens": ["CCAvenue", "Decrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/CCAvenueGateway.php#L136-L148", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/CitrusGateway.php", "func_name": "CitrusGateway.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Citrus Encrypt Function", "docstring_tokens": ["Citrus", "Encrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/CitrusGateway.php#L103-L110", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/CitrusGateway.php", "func_name": "CitrusGateway.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Citrus Decrypt Function\n\n@param $response\n@return string", "docstring_tokens": ["Citrus", "Decrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/CitrusGateway.php#L118-L135", "partition": "test"} +{"repo": "softon/indipay", "path": "src/Gateways/EBSGateway.php", "func_name": "EBSGateway.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "EBS Encrypt Function", "docstring_tokens": ["EBS", "Encrypt", "Function"], "sha": "b1c2a67a70ec221b1efeb2e920248aeec6a03ae9", "url": "https://github.com/softon/indipay/blob/b1c2a67a70ec221b1efeb2e920248aeec6a03ae9/src/Gateways/EBSGateway.php#L115-L120", "partition": "test"} +{"repo": "VerbalExpressions/PHPVerbalExpressions", "path": "src/VerbalExpressions.php", "func_name": "VerbalExpressions.range", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a range\n\nAdds a range to our expression ex: range(a,z) => a-z, range(a,z,0,9) => a-z0-9\n\n@access public\n@return VerbalExpressions\n@throws \\InvalidArgumentException", "docstring_tokens": ["Add", "a", "range"], "sha": "ad260020d526d17a624a7cde2c4a48fc0461f6f8", "url": "https://github.com/VerbalExpressions/PHPVerbalExpressions/blob/ad260020d526d17a624a7cde2c4a48fc0461f6f8/src/VerbalExpressions.php#L302-L320", "partition": "test"} +{"repo": "VerbalExpressions/PHPVerbalExpressions", "path": "src/VerbalExpressions.php", "func_name": "VerbalExpressions.addModifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a modifier\n\nAdds a modifier\n\n@access public\n@param string $modifier\n@return VerbalExpressions", "docstring_tokens": ["Add", "a", "modifier"], "sha": "ad260020d526d17a624a7cde2c4a48fc0461f6f8", "url": "https://github.com/VerbalExpressions/PHPVerbalExpressions/blob/ad260020d526d17a624a7cde2c4a48fc0461f6f8/src/VerbalExpressions.php#L331-L338", "partition": "test"} +{"repo": "hanneskod/libmergepdf", "path": "src/Pages.php", "func_name": "Pages.addRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a range of pages", "docstring_tokens": ["Add", "a", "range", "of", "pages"], "sha": "338cb450328514cc7340fb029fe416ac0b891dd2", "url": "https://github.com/hanneskod/libmergepdf/blob/338cb450328514cc7340fb029fe416ac0b891dd2/src/Pages.php#L58-L61", "partition": "test"} +{"repo": "hanneskod/libmergepdf", "path": "src/Merger.php", "func_name": "Merger.addRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add raw PDF from string", "docstring_tokens": ["Add", "raw", "PDF", "from", "string"], "sha": "338cb450328514cc7340fb029fe416ac0b891dd2", "url": "https://github.com/hanneskod/libmergepdf/blob/338cb450328514cc7340fb029fe416ac0b891dd2/src/Merger.php#L38-L41", "partition": "test"} +{"repo": "hanneskod/libmergepdf", "path": "src/Merger.php", "func_name": "Merger.addFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add PDF from file", "docstring_tokens": ["Add", "PDF", "from", "file"], "sha": "338cb450328514cc7340fb029fe416ac0b891dd2", "url": "https://github.com/hanneskod/libmergepdf/blob/338cb450328514cc7340fb029fe416ac0b891dd2/src/Merger.php#L46-L49", "partition": "test"} +{"repo": "hanneskod/libmergepdf", "path": "src/Merger.php", "func_name": "Merger.addIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add files using iterator\n\nNote that optional pages constraint is used for every added pdf", "docstring_tokens": ["Add", "files", "using", "iterator"], "sha": "338cb450328514cc7340fb029fe416ac0b891dd2", "url": "https://github.com/hanneskod/libmergepdf/blob/338cb450328514cc7340fb029fe416ac0b891dd2/src/Merger.php#L56-L61", "partition": "test"} +{"repo": "jmikola/geojson", "path": "src/GeoJson/CoordinateReferenceSystem/Linked.php", "func_name": "Linked.jsonUnserializeFromProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method for creating a Linked CRS object from properties.\n\n@see CoordinateReferenceSystem::jsonUnserialize()\n@param array|object $properties\n@return Linked\n@throws UnserializationException", "docstring_tokens": ["Factory", "method", "for", "creating", "a", "Linked", "CRS", "object", "from", "properties", "."], "sha": "980408cc70cd7d5f043f917d827dcc40d7470202", "url": "https://github.com/jmikola/geojson/blob/980408cc70cd7d5f043f917d827dcc40d7470202/src/GeoJson/CoordinateReferenceSystem/Linked.php#L40-L56", "partition": "test"} +{"repo": "jmikola/geojson", "path": "src/GeoJson/GeoJson.php", "func_name": "GeoJson.setOptionalConstructorArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set optional CRS and BoundingBox arguments passed to a constructor.\n\n@todo Decide if multiple CRS or BoundingBox instances should override a\nprevious value or be ignored", "docstring_tokens": ["Set", "optional", "CRS", "and", "BoundingBox", "arguments", "passed", "to", "a", "constructor", "."], "sha": "980408cc70cd7d5f043f917d827dcc40d7470202", "url": "https://github.com/jmikola/geojson/blob/980408cc70cd7d5f043f917d827dcc40d7470202/src/GeoJson/GeoJson.php#L180-L191", "partition": "test"} +{"repo": "jmikola/geojson", "path": "src/GeoJson/Exception/UnserializationException.php", "func_name": "UnserializationException.invalidValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an UnserializationException for a value with an invalid type.\n\n@param string $context\n@param mixed $value\n@param string $expectedType\n@return UnserializationException", "docstring_tokens": ["Creates", "an", "UnserializationException", "for", "a", "value", "with", "an", "invalid", "type", "."], "sha": "980408cc70cd7d5f043f917d827dcc40d7470202", "url": "https://github.com/jmikola/geojson/blob/980408cc70cd7d5f043f917d827dcc40d7470202/src/GeoJson/Exception/UnserializationException.php#L15-L23", "partition": "test"} +{"repo": "jmikola/geojson", "path": "src/GeoJson/Exception/UnserializationException.php", "func_name": "UnserializationException.invalidProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an UnserializationException for a property with an invalid type.\n\n@param string $context\n@param string $property\n@param mixed $value\n@param string $expectedType\n@return UnserializationException", "docstring_tokens": ["Creates", "an", "UnserializationException", "for", "a", "property", "with", "an", "invalid", "type", "."], "sha": "980408cc70cd7d5f043f917d827dcc40d7470202", "url": "https://github.com/jmikola/geojson/blob/980408cc70cd7d5f043f917d827dcc40d7470202/src/GeoJson/Exception/UnserializationException.php#L34-L43", "partition": "test"} +{"repo": "jmikola/geojson", "path": "src/GeoJson/CoordinateReferenceSystem/Named.php", "func_name": "Named.jsonUnserializeFromProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method for creating a Named CRS object from properties.\n\n@see CoordinateReferenceSystem::jsonUnserialize()\n@param array|object $properties\n@return Named\n@throws UnserializationException", "docstring_tokens": ["Factory", "method", "for", "creating", "a", "Named", "CRS", "object", "from", "properties", "."], "sha": "980408cc70cd7d5f043f917d827dcc40d7470202", "url": "https://github.com/jmikola/geojson/blob/980408cc70cd7d5f043f917d827dcc40d7470202/src/GeoJson/CoordinateReferenceSystem/Named.php#L35-L50", "partition": "test"} +{"repo": "matthewbdaly/artisan-standalone", "path": "src/Base/Application.php", "func_name": "Application.configPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path to the application configuration files.\n\n@param string $path Optionally, a path to append to the config path\n@return string", "docstring_tokens": ["Get", "the", "path", "to", "the", "application", "configuration", "files", "."], "sha": "c4a4199fd8984dd52c23832676037c5b96eb8733", "url": "https://github.com/matthewbdaly/artisan-standalone/blob/c4a4199fd8984dd52c23832676037c5b96eb8733/src/Base/Application.php#L29-L32", "partition": "test"} +{"repo": "matthewbdaly/artisan-standalone", "path": "src/Base/Application.php", "func_name": "Application.getNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the application namespace.\n\n@return string\n\n@throws \\RuntimeException", "docstring_tokens": ["Get", "the", "application", "namespace", "."], "sha": "c4a4199fd8984dd52c23832676037c5b96eb8733", "url": "https://github.com/matthewbdaly/artisan-standalone/blob/c4a4199fd8984dd52c23832676037c5b96eb8733/src/Base/Application.php#L94-L107", "partition": "test"} +{"repo": "php-cache/adapter-bundle", "path": "src/DependencyInjection/CacheAdapterExtension.php", "func_name": "CacheAdapterExtension.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the configs for Cache and puts data into the container.\n\n@param array $configs Array of configs\n@param ContainerBuilder $container Container Object", "docstring_tokens": ["Loads", "the", "configs", "for", "Cache", "and", "puts", "data", "into", "the", "container", "."], "sha": "d58b2910f78d8ae719d27727c16abd4c904e8d65", "url": "https://github.com/php-cache/adapter-bundle/blob/d58b2910f78d8ae719d27727c16abd4c904e8d65/src/DependencyInjection/CacheAdapterExtension.php#L33-L69", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Derivation/HdNode.php", "func_name": "HdNode.newMasterNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new master node that can be used to derive subnodes\n\n@param $entropy\n@return HdNode", "docstring_tokens": ["Returns", "a", "new", "master", "node", "that", "can", "be", "used", "to", "derive", "subnodes"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Derivation/HdNode.php#L33-L41", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Model/Account.php", "func_name": "Account.getNativeBalance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string representing the native balance\n\n@return string\n@throws \\ErrorException", "docstring_tokens": ["Returns", "a", "string", "representing", "the", "native", "balance"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Model/Account.php#L288-L297", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Model/Account.php", "func_name": "Account.getNativeBalanceStroops", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the balance in stroops\n\n@return string\n@throws \\ErrorException", "docstring_tokens": ["Returns", "the", "balance", "in", "stroops"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Model/Account.php#L305-L314", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Model/Account.php", "func_name": "Account.getCustomAssetBalanceValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the numeric balance of the given asset\n\n@param Asset $asset\n@return null|string", "docstring_tokens": ["Returns", "the", "numeric", "balance", "of", "the", "given", "asset"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Model/Account.php#L322-L332", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Model/Account.php", "func_name": "Account.getCustomAssetBalance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an AssetAmount representing the balance of this asset\n\n@param Asset $asset\n@return null|AssetAmount", "docstring_tokens": ["Returns", "an", "AssetAmount", "representing", "the", "balance", "of", "this", "asset"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Model/Account.php#L340-L350", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Model/Account.php", "func_name": "Account.getCustomAssetBalanceStroops", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the balance of a custom asset in stroops\n\n@param Asset $asset\n@return null|string\n@throws \\ErrorException", "docstring_tokens": ["Returns", "the", "balance", "of", "a", "custom", "asset", "in", "stroops"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Model/Account.php#L359-L371", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Derivation/Bip39/Bip39.php", "func_name": "Bip39.getEntropyChecksumHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the hex-encoded checksum for the raw bytes in the entropy\n\n@param $entropyBytes\n@return string", "docstring_tokens": ["Returns", "the", "hex", "-", "encoded", "checksum", "for", "the", "raw", "bytes", "in", "the", "entropy"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Derivation/Bip39/Bip39.php#L27-L44", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Derivation/Bip39/Bip39.php", "func_name": "Bip39.bitstringToHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility method to convert a bitstring to hex.\n\nPrimarily a workaround to avoid requiring a real math library\n\n@param $bitstring\n@return string", "docstring_tokens": ["Utility", "method", "to", "convert", "a", "bitstring", "to", "hex", "."], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Derivation/Bip39/Bip39.php#L54-L76", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Derivation/Bip39/Bip39.php", "func_name": "Bip39.mnemonicToEntropy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a mnemonic to raw bytes\n\nNOTE: this is NOT the raw bytes used for a Stellar key! See mnemonicToSeedBytes\n\n@param $mnenomic\n@return bool|string", "docstring_tokens": ["Converts", "a", "mnemonic", "to", "raw", "bytes"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Derivation/Bip39/Bip39.php#L98-L121", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Transaction/TransactionBuilder.php", "func_name": "TransactionBuilder.authorizeTrustline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is called by asset issuers to authorize a trustline established by\na client account\n\n@param Asset $asset\n@param $trustorId\n@param null $sourceAccountId\n@return TransactionBuilder", "docstring_tokens": ["This", "is", "called", "by", "asset", "issuers", "to", "authorize", "a", "trustline", "established", "by", "a", "client", "account"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Transaction/TransactionBuilder.php#L297-L307", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Transaction/TransactionBuilder.php", "func_name": "TransactionBuilder.revokeTrustline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is called by asset issuers to revoke a trustline established by\na client account\n\n@param Asset $asset\n@param $trustorId\n@param null $sourceAccountId\n@return TransactionBuilder", "docstring_tokens": ["This", "is", "called", "by", "asset", "issuers", "to", "revoke", "a", "trustline", "established", "by", "a", "client", "account"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Transaction/TransactionBuilder.php#L318-L328", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/XdrModel/Operation/Operation.php", "func_name": "Operation.toXdr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Child classes MUST call this method to get the header for the operation\nand then append their body\n\n@return string", "docstring_tokens": ["Child", "classes", "MUST", "call", "this", "method", "to", "get", "the", "header", "for", "the", "operation", "and", "then", "append", "their", "body"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/XdrModel/Operation/Operation.php#L90-L101", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Xdr/XdrEncoder.php", "func_name": "XdrEncoder.opaqueVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Variable-length opaque data\n\nMaximum length is 2^32 - 1\n\n@param $value\n@return string", "docstring_tokens": ["Variable", "-", "length", "opaque", "data"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Xdr/XdrEncoder.php#L55-L66", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Xdr/XdrEncoder.php", "func_name": "XdrEncoder.optional", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes an optional data value as XDR.\n\nAny non-null $value will be encoded and returned\n\n@param XdrEncodableInterface $value\n@return string", "docstring_tokens": ["Encodes", "an", "optional", "data", "value", "as", "XDR", "."], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Xdr/XdrEncoder.php#L231-L244", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/History/BucketLevel.php", "func_name": "BucketLevel.getUniqueBucketHashes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of unique sha256 hashes in this bucket level\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "unique", "sha256", "hashes", "in", "this", "bucket", "level"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/History/BucketLevel.php#L77-L85", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Server.php", "func_name": "Server.accountExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the account exists on this server and has been funded\n\n@param $accountId\n@return bool\n@throws HorizonException\n@throws \\ErrorException", "docstring_tokens": ["Returns", "true", "if", "the", "account", "exists", "on", "this", "server", "and", "has", "been", "funded"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Server.php#L116-L129", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/XdrModel/Operation/SetOptionsOp.php", "func_name": "SetOptionsOp.setAuthRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If set, TrustLines are created with authorized set to false requiring the issuer to set it for each TrustLine\n\n@param $isRequired\n@return SetOptionsOp", "docstring_tokens": ["If", "set", "TrustLines", "are", "created", "with", "authorized", "set", "to", "false", "requiring", "the", "issuer", "to", "set", "it", "for", "each", "TrustLine"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/XdrModel/Operation/SetOptionsOp.php#L181-L193", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/XdrModel/Operation/SetOptionsOp.php", "func_name": "SetOptionsOp.setAuthRevocable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If set, the authorized flag in TrustLines can be cleared. Otherwise, authorization cannot be revoked\n\n@param $isRevocable\n@return SetOptionsOp", "docstring_tokens": ["If", "set", "the", "authorized", "flag", "in", "TrustLines", "can", "be", "cleared", ".", "Otherwise", "authorization", "cannot", "be", "revoked"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/XdrModel/Operation/SetOptionsOp.php#L209-L221", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Keypair.php", "func_name": "Keypair.getPublicKeyChecksum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the raw bytes of the checksum for the public key\n\n@return string", "docstring_tokens": ["Returns", "the", "raw", "bytes", "of", "the", "checksum", "for", "the", "public", "key"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Keypair.php#L197-L204", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Xdr/XdrDecoder.php", "func_name": "XdrDecoder.opaqueFixedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a fixed opaque value and returns it as a string\n\n@param $xdr\n@param $length\n@return string", "docstring_tokens": ["Reads", "a", "fixed", "opaque", "value", "and", "returns", "it", "as", "a", "string"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Xdr/XdrDecoder.php#L135-L141", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Horizon/Api/PostTransactionResponse.php", "func_name": "PostTransactionResponse.parseRawData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the raw response data and populates this object\n\n@param $rawData\n@throws \\ErrorException", "docstring_tokens": ["Parses", "the", "raw", "response", "data", "and", "populates", "this", "object"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Horizon/Api/PostTransactionResponse.php#L39-L47", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/XdrModel/TransactionEnvelope.php", "func_name": "TransactionEnvelope.sign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds signatures using the given keypairs or secret key strings\n\n@param Keypair[]|string[] $keypairsOrsecretKeyStrings\n@return $this", "docstring_tokens": ["Adds", "signatures", "using", "the", "given", "keypairs", "or", "secret", "key", "strings"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/XdrModel/TransactionEnvelope.php#L97-L119", "partition": "test"} +{"repo": "zulucrypto/stellar-api", "path": "src/Horizon/ApiClient.php", "func_name": "ApiClient.submitTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submits the transaction contained in the TransactionBuilder to the network\n\n@param TransactionBuilder $transactionBuilder\n@param $signingAccountSeedString\n@return PostTransactionResponse", "docstring_tokens": ["Submits", "the", "transaction", "contained", "in", "the", "TransactionBuilder", "to", "the", "network"], "sha": "b73df4f262bf7e1d18ed2157ec10d0634515ed16", "url": "https://github.com/zulucrypto/stellar-api/blob/b73df4f262bf7e1d18ed2157ec10d0634515ed16/src/Horizon/ApiClient.php#L141-L146", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Patch.php", "func_name": "Patch.fromText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a textual representation of patches and return a list of patch objects.\n\n@param string $patchText Text representation of patches.\n\n@throws \\InvalidArgumentException If invalid input.\n@throws \\UnexpectedValueException If text has bad syntax.\n@return PatchObject[] Array of PatchObjects.", "docstring_tokens": ["Parse", "a", "textual", "representation", "of", "patches", "and", "return", "a", "list", "of", "patch", "objects", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Patch.php#L129-L201", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Patch.php", "func_name": "Patch.toText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take a list of patches and return a textual representation.\n\n@param PatchObject[] $patches Array of PatchObjects.\n\n@return string Text representation of patches.", "docstring_tokens": ["Take", "a", "list", "of", "patches", "and", "return", "a", "textual", "representation", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Patch.php#L210-L218", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Patch.php", "func_name": "Patch.addContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increase the context until it is unique, but don't let the pattern expand beyond Match->maxBits.\n\n@param PatchObject $patch The patch to grow.\n@param string $text Source text.", "docstring_tokens": ["Increase", "the", "context", "until", "it", "is", "unique", "but", "don", "t", "let", "the", "pattern", "expand", "beyond", "Match", "-", ">", "maxBits", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Patch.php#L226-L270", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Patch.php", "func_name": "Patch.deepCopy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given an array of patches, return another array that is identical.\n\n@param PatchObject[] $patches Array of PatchObjects.\n\n@return PatchObject[] Array of PatchObjects.", "docstring_tokens": ["Given", "an", "array", "of", "patches", "return", "another", "array", "that", "is", "identical", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Patch.php#L730-L738", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Match.php", "func_name": "Match.bitapScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compute and return the score for a match with e errors and x location.\nAccesses loc and pattern through being a closure.\n\n@param int $errors Number of errors in match.\n@param int $matchLoc Location of match.\n@param int $patternLen Length of pattern to search.\n@param int $searchLoc The location to search around.\nTODO refactor param usage.\n\n@return float Overall score for match (0.0 = good, 1.0 = bad).", "docstring_tokens": ["Compute", "and", "return", "the", "score", "for", "a", "match", "with", "e", "errors", "and", "x", "location", ".", "Accesses", "loc", "and", "pattern", "through", "being", "a", "closure", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Match.php#L262-L271", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Match.php", "func_name": "Match.alphabet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialise the alphabet for the Bitap algorithm.\n\n@param string $pattern The text to encode.\n\n@return array Hash of character locations.", "docstring_tokens": ["Initialise", "the", "alphabet", "for", "the", "Bitap", "algorithm", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Match.php#L280-L290", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.prettyHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a diff array into a pretty HTML report.\n\n@return string HTML representation.", "docstring_tokens": ["Convert", "a", "diff", "array", "into", "a", "pretty", "HTML", "report", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L685-L709", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.toDelta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Crush the diff into an encoded string which describes the operations\nrequired to transform text1 into text2.\nE.g. =3\\t-2\\t+ing -> Keep 3 chars, delete 2 chars, insert 'ing'.\nOperations are tab-separated. Inserted text is escaped using %xx notation.\n\n@return string Delta text.", "docstring_tokens": ["Crush", "the", "diff", "into", "an", "encoded", "string", "which", "describes", "the", "operations", "required", "to", "transform", "text1", "into", "text2", ".", "E", ".", "g", ".", "=", "3", "\\", "t", "-", "2", "\\", "t", "+", "ing", "-", ">", "Keep", "3", "chars", "delete", "2", "chars", "insert", "ing", ".", "Operations", "are", "tab", "-", "separated", ".", "Inserted", "text", "is", "escaped", "using", "%xx", "notation", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L763-L781", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.fromDelta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given the original text1, and an encoded string which describes the\noperations required to transform text1 into text2, compute the full diff.\n\n@param string $text1 Source string for the diff.\n@param string $delta Delta text.\n\n@throws \\InvalidArgumentException If invalid input. TODO create exception class\n@return $this.", "docstring_tokens": ["Given", "the", "original", "text1", "and", "an", "encoded", "string", "which", "describes", "the", "operations", "required", "to", "transform", "text1", "into", "text2", "compute", "the", "full", "diff", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L793-L842", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.levenshtein", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compute the Levenshtein distance; the number of inserted, deleted or substituted characters.\n\n@return int Number of changes.", "docstring_tokens": ["Compute", "the", "Levenshtein", "distance", ";", "the", "number", "of", "inserted", "deleted", "or", "substituted", "characters", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L894-L924", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.compute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the differences between two texts. Assumes that the texts do not\nhave any common prefix or suffix.\n\n@param string $text1 Old string to be diffed.\n@param string $text2 New string to be diffed.\n@param bool $checklines Speedup flag. If false, then don't run a line-level diff\nfirst to identify the changed areas.\nIf true, then run a faster, slightly less optimal diff.\n@param int $deadline Time when the diff should be complete by.\n\n@return array Array of changes.", "docstring_tokens": ["Find", "the", "differences", "between", "two", "texts", ".", "Assumes", "that", "the", "texts", "do", "not", "have", "any", "common", "prefix", "or", "suffix", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L1050-L1131", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.lineMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a quick line-level diff on both strings, then rediff the parts for greater accuracy.\nThis speedup can produce non-minimal diffs.\n\n@param string $text1 Old string to be diffed.\n@param string $text2 New string to be diffed.\n@param int $deadline Time when the diff should be complete by.\n\n@return array Array of changes.", "docstring_tokens": ["Do", "a", "quick", "line", "-", "level", "diff", "on", "both", "strings", "then", "rediff", "the", "parts", "for", "greater", "accuracy", ".", "This", "speedup", "can", "produce", "non", "-", "minimal", "diffs", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L1143-L1201", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/Diff.php", "func_name": "Diff.bisectSplit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given the location of the 'middle snake', split the diff in two parts and recurse.\n\n@param string $text1 Old string to be diffed.\n@param string $text2 New string to be diffed.\n@param int $x Index of split point in text1.\n@param int $y Index of split point in text2.\n@param int $deadline Time at which to bail if not yet complete.\n\n@return array Array of diff arrays.", "docstring_tokens": ["Given", "the", "location", "of", "the", "middle", "snake", "split", "the", "diff", "in", "two", "parts", "and", "recurse", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/Diff.php#L1330-L1344", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.commonPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the common prefix of two strings.\n\n@param string $text1 First string.\n@param string $text2 Second string.\n\n@return int The number of characters common to the start of each string.", "docstring_tokens": ["Determine", "the", "common", "prefix", "of", "two", "strings", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L40-L65", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.commonSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the common suffix of two strings.\n\n@param string $text1 First string.\n@param string $text2 Second string.\n\n@return int The number of characters common to the end of each string.", "docstring_tokens": ["Determine", "the", "common", "suffix", "of", "two", "strings", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L75-L100", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.commontOverlap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the suffix of one string is the prefix of another.\n\n@param string $text1 First string.\n@param string $text2 Second string.\n\n@return int The number of characters common to the end of the first string and the start of the second string.", "docstring_tokens": ["Determine", "if", "the", "suffix", "of", "one", "string", "is", "the", "prefix", "of", "another", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L110-L153", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.halfMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the two texts share a substring which is at least half the length of the longer text?\nThis speedup can produce non-minimal diffs.\n\n@param string $text1 First string.\n@param string $text2 Second string.\n\n@return null|array Five element array, containing the prefix of text1, the suffix of text1,\nthe prefix of text2, the suffix of text2 and the common middle. Or null if there was no match.", "docstring_tokens": ["Do", "the", "two", "texts", "share", "a", "substring", "which", "is", "at", "least", "half", "the", "length", "of", "the", "longer", "text?", "This", "speedup", "can", "produce", "non", "-", "minimal", "diffs", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L165-L206", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.halfMatchI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does a substring of shorttext exist within longtext such that the substring\nis at least half the length of longtext?\n\n@param string $longtext Longer string.\n@param string $shorttext Shorter string.\n@param int $i Start index of quarter length substring within longtext.\n\n@return null|array Five element array, containing the prefix of longtext, the suffix of longtext,\nthe prefix of shorttext, the suffix of shorttext and the common middle. Or null if there was no match.", "docstring_tokens": ["Does", "a", "substring", "of", "shorttext", "exist", "within", "longtext", "such", "that", "the", "substring", "is", "at", "least", "half", "the", "length", "of", "longtext?"], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L219-L245", "partition": "test"} +{"repo": "yetanotherape/diff-match-patch", "path": "src/DiffToolkit.php", "func_name": "DiffToolkit.linesToChars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split two texts into an array of strings. Reduce the texts to a string of hashes where each\nUnicode character represents one line.\n\n@param string $text1 First string.\n@param string $text2 Second string.\n\n@return array Three element array, containing the encoded text1, the encoded text2 and the array\nof unique strings. The zeroth element of the array of unique strings is intentionally blank.", "docstring_tokens": ["Split", "two", "texts", "into", "an", "array", "of", "strings", ".", "Reduce", "the", "texts", "to", "a", "string", "of", "hashes", "where", "each", "Unicode", "character", "represents", "one", "line", "."], "sha": "ddbf7c0c021b970533a161f8078f675dcd7e5372", "url": "https://github.com/yetanotherape/diff-match-patch/blob/ddbf7c0c021b970533a161f8078f675dcd7e5372/src/DiffToolkit.php#L257-L272", "partition": "test"} +{"repo": "laravel-notification-channels/smsc-ru", "path": "src/SmscRuChannel.php", "func_name": "SmscRuChannel.getRecipients", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of phones from the given notifiable.\n\n@param mixed $notifiable\n@param Notification $notification\n\n@return string[]", "docstring_tokens": ["Gets", "a", "list", "of", "phones", "from", "the", "given", "notifiable", "."], "sha": "0ae027f1d1aab79d8d69170ce90441d8688125cc", "url": "https://github.com/laravel-notification-channels/smsc-ru/blob/0ae027f1d1aab79d8d69170ce90441d8688125cc/src/SmscRuChannel.php#L49-L58", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the major Laravel version number.\n\n@return int", "docstring_tokens": ["Get", "the", "major", "Laravel", "version", "number", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/ServiceProvider.php#L119-L125", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.registerPugCompiler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the regular Pug compiler.\n\n@return void", "docstring_tokens": ["Register", "the", "regular", "Pug", "compiler", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/ServiceProvider.php#L234-L246", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.getConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the configuration, which is keyed differently in L5 vs l4.\n\n@return array", "docstring_tokens": ["Get", "the", "configuration", "which", "is", "keyed", "differently", "in", "L5", "vs", "l4", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/ServiceProvider.php#L263-L270", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.construct", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Common pug compiler constructor.\n\n@param array $pugTarget\n@param Filesystem $files\n@param array $config", "docstring_tokens": ["Common", "pug", "compiler", "constructor", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L28-L46", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.getPug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lazy load Pug and return the instance.\n\n@return Pug", "docstring_tokens": ["Lazy", "load", "Pug", "and", "return", "the", "instance", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L53-L60", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.getCachePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns cache path.\n\n@return string $cachePath", "docstring_tokens": ["Returns", "cache", "path", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L67-L76", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an option from pug engine or default value.\n\n@param string $name\n@param null $default\n\n@return mixed|null", "docstring_tokens": ["Get", "an", "option", "from", "pug", "engine", "or", "default", "value", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L86-L99", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.isExpired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the view at the given path is expired.\n\n@param string $path\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "view", "at", "the", "given", "path", "is", "expired", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L146-L153", "partition": "test"} +{"repo": "BKWLD/laravel-pug", "path": "src/PugHandlerTrait.php", "func_name": "PugHandlerTrait.extractPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return path and set it or get it from the instance.\n\n@param string $path\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Return", "path", "and", "set", "it", "or", "get", "it", "from", "the", "instance", "."], "sha": "36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2", "url": "https://github.com/BKWLD/laravel-pug/blob/36cbcdfcf34fdd1a963bc2b2fbb10a15811bf8d2/src/PugHandlerTrait.php#L164-L179", "partition": "test"} +{"repo": "dotzero/laravel-amocrm", "path": "src/AmoCrmManager.php", "func_name": "AmoCrmManager.getClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the AmoCRM client instance.\n\n@return \\AmoCRM\\Client", "docstring_tokens": ["Get", "the", "AmoCRM", "client", "instance", "."], "sha": "10fe1cba0d7e7f00b1a400484eeb566d08f78318", "url": "https://github.com/dotzero/laravel-amocrm/blob/10fe1cba0d7e7f00b1a400484eeb566d08f78318/src/AmoCrmManager.php#L86-L97", "partition": "test"} +{"repo": "dotzero/laravel-amocrm", "path": "src/AmoCrmManager.php", "func_name": "AmoCrmManager.getB2BFamily", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the AmoCRM B2BFamily helper instance.\n\n@return \\AmoCRM\\Helpers\\B2BFamily", "docstring_tokens": ["Get", "the", "AmoCRM", "B2BFamily", "helper", "instance", "."], "sha": "10fe1cba0d7e7f00b1a400484eeb566d08f78318", "url": "https://github.com/dotzero/laravel-amocrm/blob/10fe1cba0d7e7f00b1a400484eeb566d08f78318/src/AmoCrmManager.php#L114-L124", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Optimizer.php", "func_name": "Optimizer.hashPrint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a hashed print from input file or content.\n\n@param string $input\n\n@return string", "docstring_tokens": ["Return", "a", "hashed", "print", "from", "input", "file", "or", "content", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Optimizer.php#L51-L76", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Optimizer.php", "func_name": "Optimizer.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a template file path.\n\n@param string $file\n\n@return bool|null|string", "docstring_tokens": ["Resolve", "a", "template", "file", "path", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Optimizer.php#L135-L144", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Optimizer.php", "func_name": "Optimizer.displayFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display a template.\n\n@param string $__pug_file\n@param array $__pug_parameters", "docstring_tokens": ["Display", "a", "template", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Optimizer.php#L181-L228", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Partial/ExtensionsTrait.php", "func_name": "ExtensionsTrait.getExtensionsOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get options from extensions list and default options.\n\n@param array $extensions list of extensions instances of class names\n@param array $options optional default options to merge with\n\n@return array", "docstring_tokens": ["Get", "options", "from", "extensions", "list", "and", "default", "options", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Partial/ExtensionsTrait.php#L146-L163", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.removeOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleanup previously set options.\n\n@example Phug::removeOptions(['filters'], ['coffee' => null]])\n\n@param array $path option base path\n@param mixed $options options to remove", "docstring_tokens": ["Cleanup", "previously", "set", "options", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L93-L121", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset all static options, filters and extensions.", "docstring_tokens": ["Reset", "all", "static", "options", "filters", "and", "extensions", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L126-L133", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.getRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a renderer with global options and argument options merged.\n\n@example Phug::getRenderer([])\n\n@param array $options\n\n@return Renderer", "docstring_tokens": ["Get", "a", "renderer", "with", "global", "options", "and", "argument", "options", "merged", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L144-L157", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a filter. Throws an exception if the name is already taken.\n\n@param string $name\n@param callable|string $filter\n\n@throws PhugException", "docstring_tokens": ["Add", "a", "filter", ".", "Throws", "an", "exception", "if", "the", "name", "is", "already", "taken", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L272-L283", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.addKeyword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a keyword. Throws an exception if the name is already taken.\n\n@param string $name\n@param callable|string $keyword\n\n@throws PhugException", "docstring_tokens": ["Add", "a", "keyword", ".", "Throws", "an", "exception", "if", "the", "name", "is", "already", "taken", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L391-L402", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Phug.php", "func_name": "Phug.textualCacheDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Same method as cacheDirectory but with textual human-friendly output.\n\n@param string $source input directories containing pug files\n@param string|null $destination output for compiled PHP files\n(if array given, will be used as options array)\n@param array|null $options optional options\n\n@throws RendererException\n\n@return string", "docstring_tokens": ["Same", "method", "as", "cacheDirectory", "but", "with", "textual", "human", "-", "friendly", "output", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Phug.php#L491-L503", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Cli.php", "func_name": "Cli.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the CLI applications with arguments list, return true for a success status, false for an error status.\n\n@param $arguments\n\n@return bool", "docstring_tokens": ["Run", "the", "CLI", "applications", "with", "arguments", "list", "return", "true", "for", "a", "success", "status", "false", "for", "an", "error", "status", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Cli.php#L152-L182", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Cli.php", "func_name": "Cli.getAvailableMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Yield all available methods.\n\n@param array|null $customMethods pass custom methods list (calculated from the facade if missing)\n\n@return \\Generator", "docstring_tokens": ["Yield", "all", "available", "methods", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Cli.php#L191-L201", "partition": "test"} +{"repo": "phug-php/phug", "path": "src/Phug/Cli.php", "func_name": "Cli.listAvailableMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump the list of available methods as textual output.\n\n@param array|null $customMethods pass custom methods list (calculated from the facade if missing)", "docstring_tokens": ["Dump", "the", "list", "of", "available", "methods", "as", "textual", "output", "."], "sha": "85a2c87864a80b0536755acc9ba65b9a78fdfbc1", "url": "https://github.com/phug-php/phug/blob/85a2c87864a80b0536755acc9ba65b9a78fdfbc1/src/Phug/Cli.php#L208-L224", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/Forms/GridField/SEOEditorMetaDescriptionColumn.php", "func_name": "SEOEditorMetaDescriptionColumn.getErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the errors which are specific to MetaDescription\n\n@param DataObject $record\n@return array", "docstring_tokens": ["Get", "the", "errors", "which", "are", "specific", "to", "MetaDescription"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/Forms/GridField/SEOEditorMetaDescriptionColumn.php#L115-L130", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/ModelAdmin/SEOEditorAdmin.php", "func_name": "SEOEditorAdmin.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list for the GridField\n\n@return SS_List", "docstring_tokens": ["Get", "the", "list", "for", "the", "GridField"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/ModelAdmin/SEOEditorAdmin.php#L175-L197", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/ModelAdmin/SEOEditorAdmin.php", "func_name": "SEOEditorAdmin.markDuplicates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mark duplicate attributes\n\n@param SS_List $list\n@return SS_List", "docstring_tokens": ["Mark", "duplicate", "attributes"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/ModelAdmin/SEOEditorAdmin.php#L205-L230", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/ModelAdmin/SEOEditorAdmin.php", "func_name": "SEOEditorAdmin.findDuplicates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find duplicate attributes within a list\n\n@param SS_List $list\n@param string $type\n@return SS_List", "docstring_tokens": ["Find", "duplicate", "attributes", "within", "a", "list"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/ModelAdmin/SEOEditorAdmin.php#L239-L260", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/ModelAdmin/SEOEditorAdmin.php", "func_name": "SEOEditorAdmin.removeEmptyAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove pages with empty attributes\n\n@param SS_List $list\n@param string $type\n@return SS_List", "docstring_tokens": ["Remove", "pages", "with", "empty", "attributes"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/ModelAdmin/SEOEditorAdmin.php#L269-L288", "partition": "test"} +{"repo": "littlegiant/silverstripe-seo-editor", "path": "src/Forms/SEOEditorCSVLoader.php", "func_name": "SEOEditorCSVLoader.processRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the columns needed when importing from CSV\n\n@param array $record\n@param array $columnMap\n@param BulkLoader_Result $results\n@param bool $preview\n@return bool|int", "docstring_tokens": ["Update", "the", "columns", "needed", "when", "importing", "from", "CSV"], "sha": "f8a5536540c69309c4d8b291b21c909acfbb1b17", "url": "https://github.com/littlegiant/silverstripe-seo-editor/blob/f8a5536540c69309c4d8b291b21c909acfbb1b17/src/Forms/SEOEditorCSVLoader.php#L31-L50", "partition": "test"} +{"repo": "tightenco/nova-releases", "path": "src/Http/Middleware/Authorize.php", "func_name": "Authorize.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the incoming request.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Closure $next\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Handle", "the", "incoming", "request", "."], "sha": "a994d1610641bcd4bae676635dc5d136fe05a8a9", "url": "https://github.com/tightenco/nova-releases/blob/a994d1610641bcd4bae676635dc5d136fe05a8a9/src/Http/Middleware/Authorize.php#L16-L19", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Profiler/Profile.php", "func_name": "Rediska_Profiler_Profile.getElapsedTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get elapsed time\n\n@param ineger[optioanl] $decimals\n@return integer|false", "docstring_tokens": ["Get", "elapsed", "time"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Profiler/Profile.php#L122-L135", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Command/Abstract.php", "func_name": "Rediska_Command_Abstract.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read reponses from connection\n\n@return array", "docstring_tokens": ["Read", "reponses", "from", "connection"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Command/Abstract.php#L148-L168", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Command/Abstract.php", "func_name": "Rediska_Command_Abstract._argumentsToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert arguments to string\n\n@param string $string\n@param array $arguments\n@return string", "docstring_tokens": ["Convert", "arguments", "to", "string"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Command/Abstract.php#L335-L361", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Command/Abstract.php", "func_name": "Rediska_Command_Abstract._getAndValidateArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get and validate command arguments\n\n@param array $arguments\n@return array", "docstring_tokens": ["Get", "and", "validate", "command", "arguments"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Command/Abstract.php#L369-L395", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Command/Abstract.php", "func_name": "Rediska_Command_Abstract._throwExceptionIfNotSupported", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw exception if command not supported by this version of Redis\n\n@param string $version", "docstring_tokens": ["Throw", "exception", "if", "command", "not", "supported", "by", "this", "version", "of", "Redis"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Command/Abstract.php#L402-L413", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Autoloader.php", "func_name": "Rediska_Autoloader.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Rediska autoload\n\n@param boolean $prepend Prepend the autoloader in the chain, the default is\n'false'. This parameter is available since PHP 5.3.0\nand will be silently disregarded otherwise.\n@return boolean", "docstring_tokens": ["Register", "Rediska", "autoload"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Autoloader.php#L43-L62", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Autoloader.php", "func_name": "Rediska_Autoloader.unregister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unregister Rediska autoload\n\n@return boolean", "docstring_tokens": ["Unregister", "Rediska", "autoload"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Autoloader.php#L69-L78", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Autoloader.php", "func_name": "Rediska_Autoloader.getRediskaPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Rediska path\n\n@return string", "docstring_tokens": ["Get", "Rediska", "path"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Autoloader.php#L113-L120", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/KeyDistributor/ConsistentHashing.php", "func_name": "Rediska_KeyDistributor_ConsistentHashing.getConnectionsByKeyName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of connections by key name\n\n@param string $name Key name\n@param int $requestedCount The length of the list to return\n@return array List of connections", "docstring_tokens": ["Get", "a", "list", "of", "connections", "by", "key", "name"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/KeyDistributor/ConsistentHashing.php#L89-L171", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Connections.php", "func_name": "Rediska_PubSub_Connections.getConnectionByChannelName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get connection by channel name\n\n@param string $name Channel name\n@return Rediska_Connection", "docstring_tokens": ["Get", "connection", "by", "channel", "name"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Connections.php#L132-L156", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Connections.php", "func_name": "Rediska_PubSub_Connections.getChannelsByConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get channels by connection\n\n@param $connection\n@return array", "docstring_tokens": ["Get", "channels", "by", "connection"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Connections.php#L179-L186", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Config.php", "func_name": "Rediska_Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parameter or parameters by pattern\n\n@param string $nameOrPattern Name or pattern\n@return string|array", "docstring_tokens": ["Get", "parameter", "or", "parameters", "by", "pattern"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Config.php#L48-L74", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Config.php", "func_name": "Rediska_Config.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value to parameter\n\n@param string $name Name\n@param string $value Value\n@return Rediska_Config", "docstring_tokens": ["Set", "value", "to", "parameter"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Config.php#L103-L109", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Config.php", "func_name": "Rediska_Config._throwIfNotSupported", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw if config not supported by Redis", "docstring_tokens": ["Throw", "if", "config", "not", "supported", "by", "Redis"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Config.php#L203-L210", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new queue\n\nVisibility timeout is how long a message is left in the queue \"invisible\"\nto other readers. If the message is acknowleged (deleted) before the\ntimeout, then the message is deleted. However, if the timeout expires\nthen the message will be made available to other queue readers.\n\n@param string $name queue name\n@param integer $timeout default visibility timeout\n@return boolean", "docstring_tokens": ["Create", "a", "new", "queue"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L94-L100", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a queue and all of it's messages\n\nReturns false if the queue is not found, true if the queue exists\n\n@param string $name queue name\n@return boolean", "docstring_tokens": ["Delete", "a", "queue", "and", "all", "of", "it", "s", "messages"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L110-L119", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the approximate number of messages in the queue\n\n@param Zend_Queue $queue\n@return integer", "docstring_tokens": ["Return", "the", "approximate", "number", "of", "messages", "in", "the", "queue"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L145-L163", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a message to the queue\n\n@param string $message Message to send to the active queue\n@param Zend_Queue $queue\n@return Zend_Queue_Message\n@throws Zend_Queue_Exception", "docstring_tokens": ["Send", "a", "message", "to", "the", "queue"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L177-L212", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.receive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get messages in the queue\n\n@param integer $maxMessages Maximum number of messages to return\n@param integer $timeout Visibility timeout for these messages\n@param Zend_Queue $queue\n@return Zend_Queue_Message_Iterator", "docstring_tokens": ["Get", "messages", "in", "the", "queue"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L222-L262", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis.deleteMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a message from the queue\n\nReturns true if the message is deleted, false if the deletion is\nunsuccessful.\n\n@param Zend_Queue_Message $message\n@return boolean", "docstring_tokens": ["Delete", "a", "message", "from", "the", "queue"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis.php#L273-L282", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Profiler.php", "func_name": "Rediska_Profiler.getTotalElapsedTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get total elapsed time\n\n@param integer[optional] $decimals\n@return integer", "docstring_tokens": ["Get", "total", "elapsed", "time"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Profiler.php#L91-L105", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Hash.php", "func_name": "Rediska_Key_Hash.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value to a hash field or fields\n\n@param array|string $fieldOrData Field or array of many fields and values: field => value\n@param mixed $value Value for single field\n@param boolean $overwrite Overwrite for single field (if false don't set and return false if key already exist). For default true.\n@return boolean", "docstring_tokens": ["Set", "value", "to", "a", "hash", "field", "or", "fields"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Hash.php#L44-L53", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Hash.php", "func_name": "Rediska_Key_Hash.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Array magic for set a field\n\n@param string $field\n@param mixed $value\n@return boolean", "docstring_tokens": ["Array", "magic", "for", "set", "a", "field"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Hash.php#L76-L85", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Hash.php", "func_name": "Rediska_Key_Hash.increment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment field value in hash\n\n@param mixed $field Field\n@param number $amount[optional] Increment amount. Default: 1\n@return integer", "docstring_tokens": ["Increment", "field", "value", "in", "hash"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Hash.php#L128-L137", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Hash.php", "func_name": "Rediska_Key_Hash.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove field from hash\n\n@param mixed $field Field\n@return boolean", "docstring_tokens": ["Remove", "field", "from", "hash"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Hash.php#L178-L187", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Session/SaveHandler/Redis.php", "func_name": "Rediska_Zend_Session_SaveHandler_Redis.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write session data\n\n@param string $id\n@param string $data\n@return boolean", "docstring_tokens": ["Write", "session", "data"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Session/SaveHandler/Redis.php#L133-L147", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Channel.php", "func_name": "Rediska_PubSub_Channel.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe to channel or channels\n\n@param string|array $channelOrChannels Channel name or names\n@return Rediska_PubSub_Channel", "docstring_tokens": ["Subscribe", "to", "channel", "or", "channels"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Channel.php#L118-L129", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Channel.php", "func_name": "Rediska_PubSub_Channel.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish a message to channel\n\n@param $message\n@return int", "docstring_tokens": ["Publish", "a", "message", "to", "channel"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Channel.php#L159-L168", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Channel.php", "func_name": "Rediska_PubSub_Channel._addMessageToBuffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add message response to buffer\n\n@param Rediska_PubSub_Response_Message $message", "docstring_tokens": ["Add", "message", "response", "to", "buffer"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Channel.php#L504-L513", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/PubSub/Channel.php", "func_name": "Rediska_PubSub_Channel._throwIfNotSupported", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw if PubSub not supported by Redis", "docstring_tokens": ["Throw", "if", "PubSub", "not", "supported", "by", "Redis"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/PubSub/Channel.php#L555-L562", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Serializer/Adapter/PhpSerialize.php", "func_name": "Rediska_Serializer_Adapter_PhpSerialize.catchUnserializeNotice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Catch unserialize notice", "docstring_tokens": ["Catch", "unserialize", "notice"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Serializer/Adapter/PhpSerialize.php#L54-L62", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis/Queues.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis_Queues.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new queue in the queues set\n\n@param string $name\n@return bool", "docstring_tokens": ["Create", "a", "new", "queue", "in", "the", "queues", "set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis/Queues.php#L61-L72", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis/Queues.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis_Queues.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a queue from the queues set\n\n@param $name\n@return bool", "docstring_tokens": ["Delete", "a", "queue", "from", "the", "queues", "set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis/Queues.php#L80-L94", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Queue/Adapter/Redis/Queues.php", "func_name": "Rediska_Zend_Queue_Adapter_Redis_Queues._getQueuesCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get queues cache. Fetches data from redis on first call.\n\n@return array", "docstring_tokens": ["Get", "queues", "cache", ".", "Fetches", "data", "from", "redis", "on", "first", "call", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Queue/Adapter/Redis/Queues.php#L111-L118", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Transaction.php", "func_name": "Rediska_Transaction.watch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks the given keys to be watched for conditional execution of a transaction.\n\n@throws Rediska_Transaction_Exception\n@param $keyOrKeys Key or array of keys\n@return Rediska_Transaction", "docstring_tokens": ["Marks", "the", "given", "keys", "to", "be", "watched", "for", "conditional", "execution", "of", "a", "transaction", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Transaction.php#L81-L103", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Transaction.php", "func_name": "Rediska_Transaction.unwatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes all the previously watched keys for a transaction.\n\n@return Rediska_Transaction", "docstring_tokens": ["Flushes", "all", "the", "previously", "watched", "keys", "for", "a", "transaction", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Transaction.php#L110-L122", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Transaction.php", "func_name": "Rediska_Transaction._addCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add command to transaction\n\n@param string $name Command name\n@param array $args Arguments\n@return Rediska_Transaction", "docstring_tokens": ["Add", "command", "to", "transaction"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Transaction.php#L209-L225", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/retwitter/application/controllers/PostController.php", "func_name": "PostController.newAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new post", "docstring_tokens": ["Create", "new", "post"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/retwitter/application/controllers/PostController.php#L18-L48", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/retwitter/application/controllers/PostController.php", "func_name": "PostController.indexAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read your posts", "docstring_tokens": ["Read", "your", "posts"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/retwitter/application/controllers/PostController.php#L53-L71", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Log/Writer/Redis.php", "func_name": "Rediska_Zend_Log_Writer_Redis.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new instance of Rediska_Zend_Log_Writer_Redis\n\n@param array|Zend_Config $config\n@return Zend_Log_Writer_Mock\n@throws Zend_Log_Exception", "docstring_tokens": ["Create", "a", "new", "instance", "of", "Rediska_Zend_Log_Writer_Redis"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Log/Writer/Redis.php#L71-L84", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the specified member to the Sorted set\n\n@param mixed $value Value\n@param numeric $score Score\n@return boolean", "docstring_tokens": ["Add", "the", "specified", "member", "to", "the", "Sorted", "set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L25-L34", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.getLengthByScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get count of members from sorted set by min and max score\n\n@param integer $min Min score\n@param integer $max Max score\n@return integer", "docstring_tokens": ["Get", "count", "of", "members", "from", "sorted", "set", "by", "min", "and", "max", "score"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L70-L73", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.getByScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Sorted set by score\n\n@param number $min Min score\n@param number $max Max score\n@param boolean $withScores Get with scores\n@param integer $limit Limit\n@param integer $offset Offset\n@param boolean $revert Is revert result\n@return array", "docstring_tokens": ["Get", "Sorted", "set", "by", "score"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L86-L89", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.removeByScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove members from sorted set by score\n\n@param $min Min score\n@param $max Max score\n@return integer", "docstring_tokens": ["Remove", "members", "from", "sorted", "set", "by", "score"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L98-L101", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.incrementScore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment score of element\n\n@param $value\n@return integer", "docstring_tokens": ["Increment", "score", "of", "element"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L120-L123", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.getByRank", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Sorted set by Rank\n\n@param boolean $withScores Get with scores\n@param integer $start Start index\n@param integer $end End index\n@param boolean $revert Revert elements (not used in sorting)\n@param boolean $responseIterator[optional] If true - command return iterator which read from socket buffer.\nImportant: new connection will be created\n\n@return array", "docstring_tokens": ["Get", "Sorted", "set", "by", "Rank"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L137-L140", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.removeByRank", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all elements in the sorted set at key with rank between start and end\n\n@param numeric $start Start position\n@param numeric $end End position\n@return integer", "docstring_tokens": ["Remove", "all", "elements", "in", "the", "sorted", "set", "at", "key", "with", "rank", "between", "start", "and", "end"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L149-L152", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.getRank", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get rank of member\n\n@param integer $value Member value\n@param boolean $revert Revert elements (not used in sorting)\n@return integer", "docstring_tokens": ["Get", "rank", "of", "member"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L161-L164", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.union", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store to key union between the sorted sets\n\n@param string|Rediska_Key_SortedSet|array $setOrSets Sorted set key name or object, or array of its\n@param string $storeKeyName Result sorted set key name\n@param string $aggregation Aggregation method: SUM (for default), MIN, MAX.\n@return integer", "docstring_tokens": ["Store", "to", "key", "union", "between", "the", "sorted", "sets"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L174-L179", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.intersect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store to key intersection between sorted sets\n\n@param string|Rediska_Key_SortedSet|array $setOrSets Sorted set key name or object, or array of its\n@param string $storeKeyName Result sorted set key name\n@param string $aggregation Aggregation method: SUM (for default), MIN, MAX.\n@return integer", "docstring_tokens": ["Store", "to", "key", "intersection", "between", "sorted", "sets"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L189-L194", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Sorted set values\n\n@param integer $withScores Return values with scores\n@param integer $start Start index\n@param integer $end End index\n@param boolean $revert Revert elements (not used in sorting)\n@param boolean $responseIterator[optional] If true - command return iterator which read from socket buffer.\nImportant: new connection will be created\n\n@return array", "docstring_tokens": ["Get", "Sorted", "set", "values"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L223-L226", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/SortedSet.php", "func_name": "Rediska_Key_SortedSet.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add array to Sorted set\n\n@param array $array", "docstring_tokens": ["Add", "array", "to", "Sorted", "set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/SortedSet.php#L233-L248", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Rediska client name\n\n@param string $name\n@return Rediska", "docstring_tokens": ["Set", "Rediska", "client", "name"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L178-L187", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.getConnectionByKeyName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Rediska connection instance by key name\n\n@throws Rediska_Connection_Exception\n@param string $name Key name\n@return Rediska_Connection", "docstring_tokens": ["Get", "Rediska", "connection", "instance", "by", "key", "name"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L304-L317", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.getConnections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Rediska connection instances\n\n@throws Rediska_Connection_Exception\n@return array", "docstring_tokens": ["Get", "all", "Rediska", "connection", "instances"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L340-L347", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.on", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Chain method to work with keys on specified by alias server\n\n@param $aliasOrConnection Alias or Rediska_Connection object\n@return Rediska_Connection_Specified", "docstring_tokens": ["Chain", "method", "to", "work", "with", "keys", "on", "specified", "by", "alias", "server"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L355-L367", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe to PubSub channel or channels\n\n@param string|array $channelOrChannels\n@param integer[optional] $timeout\n@return Rediska_PubSub_Channel", "docstring_tokens": ["Subscribe", "to", "PubSub", "channel", "or", "channels"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L412-L419", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Redis server configuration\n\n@param $aliasOrConnection Server alias or Rediska_Connection object\n@return Rediska_Config", "docstring_tokens": ["Get", "Redis", "server", "configuration"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L442-L460", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.setKeyDistributor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set key distributor.\nSee options description for more information.\n\n@throws Rediska_Exception\n@param string $name Object or name of key distributor (crc32, consistentHashing or you personal class)\n@return rediska", "docstring_tokens": ["Set", "key", "distributor", ".", "See", "options", "description", "for", "more", "information", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L470-L497", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska.php", "func_name": "Rediska.getSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Rediska serializer\n\n@return Rediska_Serializer", "docstring_tokens": ["Get", "Rediska", "serializer"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska.php#L518-L525", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Commands.php", "func_name": "Rediska_Commands.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get command instance\n\n@param Rediska $rediska Rediska instance\n@param string $name Command name\n@param array $arguments Command arguments\n@return Rediska_Command_Abstract", "docstring_tokens": ["Get", "command", "instance"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Commands.php#L170-L175", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Commands.php", "func_name": "Rediska_Commands._getCommandLowerNameAndThrowIfNotPresent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get command lower name and throw exception if command not present\n\n@param $name\n@return ", "docstring_tokens": ["Get", "command", "lower", "name", "and", "throw", "exception", "if", "command", "not", "present"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Commands.php#L193-L202", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Pipeline.php", "func_name": "Rediska_Pipeline.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute pipelined commands\n\n@return array", "docstring_tokens": ["Execute", "pipelined", "commands"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Pipeline.php#L67-L86", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Pipeline.php", "func_name": "Rediska_Pipeline._addCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add command to pipeline\n\n@param string $name Command name\n@param array $args Arguments\n@return Rediska_Pipeline", "docstring_tokens": ["Add", "command", "to", "pipeline"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Pipeline.php#L133-L160", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection/Exec.php", "func_name": "Rediska_Connection_Exec.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write command to connection\n\n@return boolean", "docstring_tokens": ["Write", "command", "to", "connection"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection/Exec.php#L84-L90", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection/Exec.php", "func_name": "Rediska_Connection_Exec.setResponseCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set response callback\n\n@param mixin $callback\n@return Rediska_Connection_Exec", "docstring_tokens": ["Set", "response", "callback"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection/Exec.php#L191-L200", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection/Exec.php", "func_name": "Rediska_Connection_Exec.transformMultiBulkCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transfrom Multi Bulk command to string\n\n@param array $command\n@return string", "docstring_tokens": ["Transfrom", "Multi", "Bulk", "command", "to", "string"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection/Exec.php#L241-L248", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append value to the end of List\n\n@param mixed $value Value\n@param boolean[optional] $createIfNotExists Create list if not exists\n@return boolean", "docstring_tokens": ["Append", "value", "to", "the", "end", "of", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L25-L34", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.prepend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append value to the head of List\n\n@param mixed $value Value\n@param boolean[optional] $createIfNotExists Create list if not exists\n@return boolean", "docstring_tokens": ["Append", "value", "to", "the", "head", "of", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L43-L52", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.truncate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trim the list at key to the specified range of elements\n\n@param integer $start Start index\n@param integer $end End index\n@return boolean", "docstring_tokens": ["Trim", "the", "list", "at", "key", "to", "the", "specified", "range", "of", "elements"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L71-L80", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new value as the element at index position of the List\n\n@param integer $index Index\n@param mixed $value Value\n@return boolean", "docstring_tokens": ["Set", "a", "new", "value", "as", "the", "element", "at", "index", "position", "of", "the", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L100-L109", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.insertAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a new value as the element after the reference value\n\n@param mixed $referenceValue Reference value\n@param mixed $value Value\n@return integer|boolean", "docstring_tokens": ["Insert", "a", "new", "value", "as", "the", "element", "after", "the", "reference", "value"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L118-L121", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.insertBefore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a new value as the element before the reference value\n\n@param mixed $referenceValue Reference value\n@param mixed $value Value\n@return integer|boolean", "docstring_tokens": ["Insert", "a", "new", "value", "as", "the", "element", "before", "the", "reference", "value"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L130-L133", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a new value as the element before or after the reference value\n\n@param string $position BEFORE or AFTER\n@param mixed $referenceValue Reference value\n@param mixed $value Value\n@return integer|boolean", "docstring_tokens": ["Insert", "a", "new", "value", "as", "the", "element", "before", "or", "after", "the", "reference", "value"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L143-L146", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete element from list by value\n\n@throws Rediska_Exception\n@param $value Element value\n@param $count Limit of deleted items\n@return integer", "docstring_tokens": ["Delete", "element", "from", "list", "by", "value"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L156-L165", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.shift", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return and remove the first element of the List\n\n@return mixed", "docstring_tokens": ["Return", "and", "remove", "the", "first", "element", "of", "the", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L172-L181", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.shiftBlocking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return and remove the first element of the List and block if list empty or not exists\n\n@param $timeout Blocking timeout\n@return mixed", "docstring_tokens": ["Return", "and", "remove", "the", "first", "element", "of", "the", "List", "and", "block", "if", "list", "empty", "or", "not", "exists"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L189-L198", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.pop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return and remove the last element of the List\n\n@param string|Rediska_Key_List $pushTo After pop, push value to another list\n@return mixed", "docstring_tokens": ["Return", "and", "remove", "the", "last", "element", "of", "the", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L206-L219", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.popBlocking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return and remove the last element of the List and block if list empty or not exists.\n\n@param integer $timeout[optional] Blocking timeout. 0 for default - timeout is disabled.\n@param string $pushToKey[optional] If not null - push value to another list.\n@return mixed", "docstring_tokens": ["Return", "and", "remove", "the", "last", "element", "of", "the", "List", "and", "block", "if", "list", "empty", "or", "not", "exists", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L228-L237", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/List.php", "func_name": "Rediska_Key_List.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add array to List\n\n@param array $array", "docstring_tokens": ["Add", "array", "to", "List"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/List.php#L287-L301", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load value with given id from cache\n\n@param string $id Cache id\n@param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested\n@return string|false cached datas", "docstring_tokens": ["Load", "value", "with", "given", "id", "from", "cache"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L178-L202", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save some string datas into a cache record\n\nNote : $data is always \"string\" (serialization is done by the\ncore not by the backend)\n\n@param string $data Datas to cache\n@param string $id Cache id\n@param array $tags Array of strings, the cache record will be tagged by each string entry\n@param int $specificLifetime If != false, set a specific lifetime for this cache record (null => infinite lifetime)\n@return boolean True if no problem", "docstring_tokens": ["Save", "some", "string", "datas", "into", "a", "cache", "record"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L230-L278", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a cache record\n\n@param string $id Cache id\n@return boolean True if no problem", "docstring_tokens": ["Remove", "a", "cache", "record"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L286-L308", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.clean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean some cache records\n\nAvailable modes are :\n'all' (default) => remove all cache entries ($tags is not used)\n'old' => supported\n'matchingTag' => supported\n'notMatchingTag' => supported\n'matchingAnyTag' => supported\n\n@param string $mode Clean mode\n@param array $tags Array of tags\n@throws Zend_Cache_Exception\n@return boolean True if no problem", "docstring_tokens": ["Clean", "some", "cache", "records"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L325-L355", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.setDirectives", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the frontend directives\n\n@param array $directives Assoc of directives\n@throws Zend_Cache_Exception\n@return void", "docstring_tokens": ["Set", "the", "frontend", "directives"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L422-L432", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.getIdsNotMatchingTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of stored cache ids which don't match given tags\n\nIn case of multiple tags, a logical OR is made between tags\n\n@param array $tags array of tags\n@return array array of not matching cache ids (string)", "docstring_tokens": ["Return", "an", "array", "of", "stored", "cache", "ids", "which", "don", "t", "match", "given", "tags"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L477-L483", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis.getMetadatas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of metadatas for the given cache id\n\nThe array must include these keys :\n- expire : the expire timestamp\n- tags : a string array of tags\n- mtime : timestamp of last modification time\n\n@param string $id cache id\n@return array array of metadatas (false if the cache id is not found)", "docstring_tokens": ["Return", "an", "array", "of", "metadatas", "for", "the", "given", "cache", "id"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L521-L540", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Zend/Cache/Backend/Redis.php", "func_name": "Rediska_Zend_Cache_Backend_Redis._collectGarbage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans up expired keys and list members\n@return boolean", "docstring_tokens": ["Cleans", "up", "expired", "keys", "and", "list", "members"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Zend/Cache/Backend/Redis.php#L594-L633", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the specified member to the Set\n\n@param mixed $value Value\n@return boolean", "docstring_tokens": ["Add", "the", "specified", "member", "to", "the", "Set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L24-L33", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the specified member from the Set\n\n@param mixed $value Value\n@return boolean", "docstring_tokens": ["Remove", "the", "specified", "member", "from", "the", "Set"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L41-L50", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move the specified member from one Set to another atomically\n\n@param string|Rediska_Key_Set $set Set key name or object\n@param mixed $value Value\n@return boolean", "docstring_tokens": ["Move", "the", "specified", "member", "from", "one", "Set", "to", "another", "atomically"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L59-L66", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.intersect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the intersection between the Sets\n\n@param string|Rediska_Key_Set|array $setOrSets Set key name or object, or array of its\n@param string|null $storeKeyName Store intersection to set with key name\n@return array|boolean", "docstring_tokens": ["Return", "the", "intersection", "between", "the", "Sets"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L96-L101", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.union", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the union between the Sets\n\n@param string|Rediska_Key_Set|array $setOrSets Set key name or object, or array of its\n@param string|null $storeKeyName Store union to set with key name\n@return array|boolean", "docstring_tokens": ["Return", "the", "union", "between", "the", "Sets"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L110-L115", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Set.php", "func_name": "Rediska_Key_Set.diff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the difference between the Sets\n\n@param string|array $setOrSets Set key name or object, or array of its\n@param string|null $storeKeyName Store union to set with key name\n@return array|boolean", "docstring_tokens": ["Return", "the", "difference", "between", "the", "Sets"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Set.php#L124-L129", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Options/RediskaInstance.php", "func_name": "Rediska_Options_RediskaInstance.getRediska", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Rediska instance\n\n@return Rediska", "docstring_tokens": ["Get", "Rediska", "instance"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Options/RediskaInstance.php#L46-L53", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key.php", "func_name": "Rediska_Key.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set key value\n\n@param $value\n@return boolean", "docstring_tokens": ["Set", "key", "value"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key.php#L24-L37", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key.php", "func_name": "Rediska_Key.setAndExpire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set and expire\n\n@param mixed $value\n@param integer $seconds\n@return boolean", "docstring_tokens": ["Set", "and", "expire"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key.php#L78-L81", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key.php", "func_name": "Rediska_Key.setBit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the bit value at offset in the string value stored at key\n\n@param integer $offset Offset\n@param integer $bit Bit (0 or 1)\n@return integer", "docstring_tokens": ["Returns", "the", "bit", "value", "at", "offset", "in", "the", "string", "value", "stored", "at", "key"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key.php#L101-L104", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key.php", "func_name": "Rediska_Key.getOrSetValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get value, if value not present set it from chain method\n\n@param mixin[optional] $object Object of chain method\n@param integer[optional] $expire Expire\n@param boolean[optional] $expireIsTimestamp If true $expire argument in seconds, or $expire is timestamp\n@return Rediska_Key_GetOrSetValue", "docstring_tokens": ["Get", "value", "if", "value", "not", "present", "set", "it", "from", "chain", "method"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key.php#L173-L176", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/retwitter/application/controllers/UserController.php", "func_name": "UserController.followersAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Users who follow given userId", "docstring_tokens": ["Users", "who", "follow", "given", "userId"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/retwitter/application/controllers/UserController.php#L76-L87", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/retwitter/application/controllers/UserController.php", "func_name": "UserController.followingAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Users who are followed by given userId", "docstring_tokens": ["Users", "who", "are", "followed", "by", "given", "userId"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/retwitter/application/controllers/UserController.php#L92-L100", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/retwitter/application/controllers/UserController.php", "func_name": "UserController.followAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start following given userId", "docstring_tokens": ["Start", "following", "given", "userId"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/retwitter/application/controllers/UserController.php#L105-L123", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Abstract.php", "func_name": "Rediska_Key_Abstract.moveToDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move key to other Db\n\n@see Rediska#moveToDb\n@param integer $dbIndex\n@return boolean", "docstring_tokens": ["Move", "key", "to", "other", "Db"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Abstract.php#L154-L163", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Abstract.php", "func_name": "Rediska_Key_Abstract.setExpire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set expire time\n\n@param $secondsOrTimestamp Time in seconds or timestamp\n@param $isTimestamp Time is timestamp? Default is false.\n@return Rediska_Key_Abstract", "docstring_tokens": ["Set", "expire", "time"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Abstract.php#L195-L205", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Key/Abstract.php", "func_name": "Rediska_Key_Abstract._getRediskaOn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get rediska and set specified connection\n\n@return Rediska", "docstring_tokens": ["Get", "rediska", "and", "set", "specified", "connection"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Key/Abstract.php#L255-L264", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Profiler/Stream.php", "func_name": "Rediska_Profiler_Stream.setMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set access mode\n\n@param string $mode\n@return Rediska_Profiler_Stream", "docstring_tokens": ["Set", "access", "mode"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Profiler/Stream.php#L98-L108", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Manager.php", "func_name": "Rediska_Manager.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Rediska\nReturn true if new instance and false if instance overwrited\n\n@param Rediska $rediska Rediska instance or options\n@return boolean", "docstring_tokens": ["Add", "Rediska", "Return", "true", "if", "new", "instance", "and", "false", "if", "instance", "overwrited"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Manager.php#L31-L62", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Manager.php", "func_name": "Rediska_Manager.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Rediska instances\n\n@return array", "docstring_tokens": ["Get", "all", "Rediska", "instances"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Manager.php#L96-L103", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Manager.php", "func_name": "Rediska_Manager._instanceFromOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instance from options if not yet\n\n@static\n@param $name\n@return void", "docstring_tokens": ["Instance", "from", "options", "if", "not", "yet"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Manager.php#L152-L158", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/ratelimit/ratelimit.php", "func_name": "Ratelimit.increment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment the count for the specified subject.\n\n@param string $subject A unique identifier, for example a session id or an IP\n@return void", "docstring_tokens": ["Increment", "the", "count", "for", "the", "specified", "subject", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/ratelimit/ratelimit.php#L65-L70", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/ratelimit/ratelimit.php", "func_name": "Ratelimit.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the counter for the specified subject.\n\n@param string $subject A unique identifier, for example a session id or an IP\n@return bool", "docstring_tokens": ["Resets", "the", "counter", "for", "the", "specified", "subject", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/ratelimit/ratelimit.php#L110-L113", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/ratelimit/ratelimit.php", "func_name": "Ratelimit._getBucketName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the bucket associated with the current time.\n\n@param int $time (optional) - default is the current time (seconds since epoch)\n@return int bucket", "docstring_tokens": ["Get", "the", "bucket", "associated", "with", "the", "current", "time", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/ratelimit/ratelimit.php#L121-L124", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/ratelimit/ratelimit.php", "func_name": "Ratelimit._setMultiIncrementTransactionPart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the commands needed for the increment function\n\n@param Rediska_Transaction $transaction\n@param string $subject A unique identifier, for example a session id or an IP\n@param int $bucket\n@return void", "docstring_tokens": ["Adds", "the", "commands", "needed", "for", "the", "increment", "function"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/ratelimit/ratelimit.php#L134-L141", "partition": "test"} +{"repo": "shumkov/rediska", "path": "examples/ratelimit/ratelimit.php", "func_name": "Ratelimit._setMulitExecGetCountPart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the commands needed for the count function\n\n@param Rediska_Transaction $transaction\n@param string $subject A unique identifier, for example a session id or an IP\n@param int $bucket\n@param int $count\n@return void", "docstring_tokens": ["Adds", "the", "commands", "needed", "for", "the", "count", "function"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/examples/ratelimit/ratelimit.php#L160-L168", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection/Socket.php", "func_name": "Rediska_Connection_Socket._createSocketConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create socket connection\n\n@return null|resource", "docstring_tokens": ["Create", "socket", "connection"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection/Socket.php#L225-L259", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection/Socket.php", "func_name": "Rediska_Connection_Socket._getReadBuffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get read buffer\n\n@return Rediska_Connection_Socket_ReadBuffer", "docstring_tokens": ["Get", "read", "buffer"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection/Socket.php#L266-L273", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection.php", "func_name": "Rediska_Connection.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read length bytes from connection stram\n\n@throws Rediska_Connection_Exception\n@param integer $length\n@return boolean", "docstring_tokens": ["Read", "length", "bytes", "from", "connection", "stram"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection.php#L206-L223", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection.php", "func_name": "Rediska_Connection.readLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read line from connection stream\n\n@throws Rediska_Connection_Exception\n@throws Rediska_Connection_TimeoutException\n@return string", "docstring_tokens": ["Read", "line", "from", "connection", "stream"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection.php#L232-L257", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection.php", "func_name": "Rediska_Connection.setReadTimeout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set read timeout\n\n@param $timeout\n@return Rediska_Connection", "docstring_tokens": ["Set", "read", "timeout"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection.php#L265-L277", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection.php", "func_name": "Rediska_Connection.getStreamContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If a stream context is provided, use it creating the socket.\n\nIt's supported to provide either an array with options, or an already created\nresource.\n\n@return mixed null or resource\n@see self::connect()", "docstring_tokens": ["If", "a", "stream", "context", "is", "provided", "use", "it", "creating", "the", "socket", "."], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection.php#L373-L384", "partition": "test"} +{"repo": "shumkov/rediska", "path": "library/Rediska/Connection.php", "func_name": "Rediska_Connection._readAndThrowException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read and throw exception if somthing wrong\n\n@param $length Lenght of bytes to read\n@return string", "docstring_tokens": ["Read", "and", "throw", "exception", "if", "somthing", "wrong"], "sha": "220afbfc4095e90aa050a5dfc00ce7413147ce45", "url": "https://github.com/shumkov/rediska/blob/220afbfc4095e90aa050a5dfc00ce7413147ce45/library/Rediska/Connection.php#L392-L407", "partition": "test"} +{"repo": "Brain-WP/Nonces", "path": "src/WpNonce.php", "func_name": "WpNonce.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the nonce against given context.\n\nWhen not provided, context defaults to `RequestGlobalsContext`, so that value is searched\nin super globals.\n\nWe need to filter the nonce life and remove the filter afterwards, because WP does not\nallow to filter nonce by action (yet? @link https://core.trac.wordpress.org/ticket/35188)\n\n@param NonceContextInterface $context\n@return bool", "docstring_tokens": ["Validates", "the", "nonce", "against", "given", "context", "."], "sha": "6bda2cb13b4f5e8af5cec71acbe5ec30fcbdd034", "url": "https://github.com/Brain-WP/Nonces/blob/6bda2cb13b4f5e8af5cec71acbe5ec30fcbdd034/src/WpNonce.php#L68-L84", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PeclAmqpDriver.php", "func_name": "PeclAmqpDriver.declareAndBindQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a persisting queue and bind it to an exchange\n\n@param string $exchange\n@param string $queueName\n@param string $routingKey\n\n@return void\n\n@throws \\AMQPConnectionException\n@throws \\AMQPChannelException\n@throws \\AMQPQueueException", "docstring_tokens": ["Create", "a", "persisting", "queue", "and", "bind", "it", "to", "an", "exchange"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PeclAmqpDriver.php#L118-L122", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PeclAmqpDriver.php", "func_name": "PeclAmqpDriver.ack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Acknowledge the reception of the message.\n\n@param Message $message\n\n@return void\n\n@throws \\AMQPConnectionException\n@throws \\AMQPChannelException\n@throws \\AMQPQueueException", "docstring_tokens": ["Acknowledge", "the", "reception", "of", "the", "message", "."], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PeclAmqpDriver.php#L238-L242", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PeclAmqpDriver.php", "func_name": "PeclAmqpDriver.nack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Acknowledge an error during the consumption of the message\n\n@param Message $message\n@param bool $requeue\n\n@return void\n\n@throws \\AMQPConnectionException\n@throws \\AMQPChannelException\n@throws \\AMQPQueueException", "docstring_tokens": ["Acknowledge", "an", "error", "during", "the", "consumption", "of", "the", "message"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PeclAmqpDriver.php#L256-L260", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PeclAmqpDriver.php", "func_name": "PeclAmqpDriver.getMessageProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the message parameters\n\n@param Message $message\n\n@return array", "docstring_tokens": ["Returns", "the", "message", "parameters"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PeclAmqpDriver.php#L330-L347", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Daemon/QueueHandlingDaemon.php", "func_name": "QueueHandlingDaemon.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the daemon\n\n@return void", "docstring_tokens": ["Run", "the", "daemon"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Daemon/QueueHandlingDaemon.php#L70-L96", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Daemon/QueueHandlingDaemon.php", "func_name": "QueueHandlingDaemon.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop the daemon\n\n@return void", "docstring_tokens": ["Stop", "the", "daemon"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Daemon/QueueHandlingDaemon.php#L103-L110", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Exception/TimeoutException.php", "func_name": "TimeoutException.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the exception from another timeout exception.\n\n@param \\Exception $e\n@param int $timeout\n\n@return TimeoutException", "docstring_tokens": ["Build", "the", "exception", "from", "another", "timeout", "exception", "."], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Exception/TimeoutException.php#L15-L22", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Handler/HandlerBuilder.php", "func_name": "HandlerBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the Handler.\n\n@param QueueConsumer $consumer\n\n@return QueueHandler\n\n@throws AssertionFailedException", "docstring_tokens": ["Build", "the", "Handler", "."], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Handler/HandlerBuilder.php#L132-L154", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Handler/SyncConsumerHandler.php", "func_name": "SyncConsumerHandler.handleSyncMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the return value.\n\n@param Message $message\n@param string $returnValue\n\n@throws ConsumerException\n@throws AssertionFailedException\n@throws \\InvalidArgumentException", "docstring_tokens": ["Handle", "the", "return", "value", "."], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Handler/SyncConsumerHandler.php#L81-L103", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/DriverFactory.php", "func_name": "DriverFactory.getDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the driver for your system\n\nIt accepts a PECL connection, a PhpAmqpLib connection or an array following\nthe following schema :\n[\n'host' => '',\n'port' => '',\n'user' => '',\n'pwd' => ''\n]\n\nIf you provide an array, the PECL extension has precedence over the PhpAmqpLib.\n\n@param $connection\n\n@return Driver\n\n@throws \\AMQPConnectionException\n@throws \\InvalidArgumentException", "docstring_tokens": ["Return", "the", "driver", "for", "your", "system"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/DriverFactory.php#L32-L49", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PhpAmqpLibDriver.php", "func_name": "PhpAmqpLibDriver.nack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Aknowledge an error during the consumption of the message\n\n@param Message $message\n@param bool $requeue\n\n@return void", "docstring_tokens": ["Aknowledge", "an", "error", "during", "the", "consumption", "of", "the", "message"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PhpAmqpLibDriver.php#L214-L217", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Driver/PhpAmqpLibDriver.php", "func_name": "PhpAmqpLibDriver.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close the connection\n\n@return void", "docstring_tokens": ["Close", "the", "connection"], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Driver/PhpAmqpLibDriver.php#L224-L230", "partition": "test"} +{"repo": "Evaneos/Burrow", "path": "src/Consumer/SerializingConsumer.php", "func_name": "SerializingConsumer.consume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Consumes a message.\n\n@param mixed $message\n@param string[] $headers\n\n@return string", "docstring_tokens": ["Consumes", "a", "message", "."], "sha": "98b4761ba68cfedd62a8cc0b064809a0fc6cc928", "url": "https://github.com/Evaneos/Burrow/blob/98b4761ba68cfedd62a8cc0b064809a0fc6cc928/src/Consumer/SerializingConsumer.php#L36-L44", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/Generators/DataTablesEditorCommand.php", "func_name": "DataTablesEditorCommand.replaceModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace model name.\n\n@param string $stub\n@return string", "docstring_tokens": ["Replace", "model", "name", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/Generators/DataTablesEditorCommand.php#L53-L60", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/Generators/DataTablesEditorCommand.php", "func_name": "DataTablesEditorCommand.qualifyClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the name and format according to the root namespace.\n\n@param string $name\n@return string", "docstring_tokens": ["Parse", "the", "name", "and", "format", "according", "to", "the", "root", "namespace", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/Generators/DataTablesEditorCommand.php#L123-L140", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/DataTablesEditor.php", "func_name": "DataTablesEditor.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process dataTables editor action request.\n\n@param Request $request\n@return JsonResponse|mixed\n@throws DataTablesEditorException", "docstring_tokens": ["Process", "dataTables", "editor", "action", "request", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/DataTablesEditor.php#L35-L44", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/DataTablesEditor.php", "func_name": "DataTablesEditor.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process create action request.\n\n@param Request $request\n@return JsonResponse", "docstring_tokens": ["Process", "create", "action", "request", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/DataTablesEditor.php#L52-L99", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/DataTablesEditor.php", "func_name": "DataTablesEditor.toJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display success data in dataTables editor format.\n\n@param array $data\n@param array $errors\n@return JsonResponse", "docstring_tokens": ["Display", "success", "data", "in", "dataTables", "editor", "format", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/DataTablesEditor.php#L157-L165", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/DataTablesEditor.php", "func_name": "DataTablesEditor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process edit action request.\n\n@param Request $request\n@return JsonResponse", "docstring_tokens": ["Process", "edit", "action", "request", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/DataTablesEditor.php#L173-L221", "partition": "test"} +{"repo": "yajra/laravel-datatables-editor", "path": "src/DataTablesEditor.php", "func_name": "DataTablesEditor.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process remove action request.\n\n@param Request $request\n@return JsonResponse", "docstring_tokens": ["Process", "remove", "action", "request", "."], "sha": "03327c5330e83723ac5dc119e5e1263108abcb98", "url": "https://github.com/yajra/laravel-datatables-editor/blob/03327c5330e83723ac5dc119e5e1263108abcb98/src/DataTablesEditor.php#L247-L297", "partition": "test"} +{"repo": "youshido-php/GraphQLBundle", "path": "Security/Voter/BlacklistVoter.php", "func_name": "BlacklistVoter.voteOnAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a single access check operation on a given attribute, subject and token.\n\n@param string $attribute\n@param mixed $subject\n@param TokenInterface $token\n\n@return bool", "docstring_tokens": ["Perform", "a", "single", "access", "check", "operation", "on", "a", "given", "attribute", "subject", "and", "token", "."], "sha": "e74a5449656643610dc407a293fbb3ce497ef0ec", "url": "https://github.com/youshido-php/GraphQLBundle/blob/e74a5449656643610dc407a293fbb3ce497ef0ec/Security/Voter/BlacklistVoter.php#L26-L30", "partition": "test"} +{"repo": "giansalex/greenter-report", "path": "src/Report/HtmlReport.php", "func_name": "HtmlReport.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build html report.\n\n@param DocumentInterface $document\n@param array $parameters\n\n@return mixed\n\n@throws \\Twig_Error_Loader\n@throws \\Twig_Error_Runtime\n@throws \\Twig_Error_Syntax", "docstring_tokens": ["Build", "html", "report", "."], "sha": "7dafa09852a0f4963b9cd5f3c0c5ae6c727c0841", "url": "https://github.com/giansalex/greenter-report/blob/7dafa09852a0f4963b9cd5f3c0c5ae6c727c0841/src/Report/HtmlReport.php#L57-L65", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/ByteBuffer.php", "func_name": "ByteBuffer.getString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a zero-byte terminated string from the current position of the\nbyte buffer\n\nThis reads the buffer up until the first occurance of a zero-byte or the\nend of the buffer. The zero-byte is not included in the returned string.\n\n@return string The zero-byte terminated string read from the byte stream", "docstring_tokens": ["Reads", "a", "zero", "-", "byte", "terminated", "string", "from", "the", "current", "position", "of", "the", "byte", "buffer"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/ByteBuffer.php#L189-L199", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameAchievement.php", "func_name": "GameAchievement.getGlobalPercentages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the global unlock percentages of all achievements for the given\ngame\n\n@param int $appId The unique Steam Application ID of the game (e.g.\n440 for Team Fortress 2). See\nhttp://developer.valvesoftware.com/wiki/Steam_Application_IDs for\nall application IDs\n@return array The symbolic achievement names with the corresponding\nglobal unlock percentages\n@throws \\SteamCondenser\\Exceptions\\WebApiException if a request to\nSteam's Web API fails", "docstring_tokens": ["Loads", "the", "global", "unlock", "percentages", "of", "all", "achievements", "for", "the", "given", "game"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameAchievement.php#L66-L76", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/SteamSocket.php", "func_name": "SteamSocket.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the underlying socket\n\n@see UDPSocket::close()", "docstring_tokens": ["Closes", "the", "underlying", "socket"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/SteamSocket.php#L94-L98", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/SteamSocket.php", "func_name": "SteamSocket.receivePacket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the given amount of data from the socket and wraps it into the\nbuffer\n\n@param int $bufferLength The data length to read from the socket\n@throws SocketException if an error occurs while reading data\n@throws TimeoutException if no packet is received on time\n@return int The number of bytes that have been read from the socket\n@see ByteBuffer", "docstring_tokens": ["Reads", "the", "given", "amount", "of", "data", "from", "the", "socket", "and", "wraps", "it", "into", "the", "buffer"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/SteamSocket.php#L118-L142", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/SteamSocket.php", "func_name": "SteamSocket.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the given packet to the server\n\nThis converts the packet into a byte stream first before writing it to\nthe socket.\n\n@param SteamPacket $dataPacket The packet to send to the server\n@see SteamPacket::__toString()", "docstring_tokens": ["Sends", "the", "given", "packet", "to", "the", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/SteamSocket.php#L153-L157", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/MasterServerSocket.php", "func_name": "MasterServerSocket.getReply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a single packet from the socket\n\n@return SteamPacket The packet replied from the server\n@throws PacketFormatException if the packet has the wrong format", "docstring_tokens": ["Reads", "a", "single", "packet", "from", "the", "socket"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/MasterServerSocket.php#L43-L55", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php", "func_name": "GoldSrcSocket.rconExec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the given command on the server via RCON\n\n@param string $password The password to authenticate with the server\n@param string $command The command to execute on the server\n@return RCONGoldSrcResponse The response replied by the server\n@see rconChallenge()\n@see rconSend()\n@throws RCONBanException if the IP of the local machine has been banned\non the game server\n@throws RCONNoAuthException if the password is incorrect", "docstring_tokens": ["Executes", "the", "given", "command", "on", "the", "server", "via", "RCON"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php#L110-L140", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php", "func_name": "GoldSrcSocket.rconGetChallenge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Requests a challenge number from the server to be used for further\nrequests\n\n@throws RCONBanException if the IP of the local machine has been banned\non the game server\n@see rconSend()", "docstring_tokens": ["Requests", "a", "challenge", "number", "from", "the", "server", "to", "be", "used", "for", "further", "requests"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php#L150-L159", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php", "func_name": "GoldSrcSocket.rconSend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps the given command in a RCON request packet and send it to the\nserver\n\n@param string $command The RCON command to send to the server", "docstring_tokens": ["Wraps", "the", "given", "command", "in", "a", "RCON", "request", "packet", "and", "send", "it", "to", "the", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/GoldSrcSocket.php#L167-L169", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/TCPSocket.php", "func_name": "TCPSocket.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects the TCP socket to the host with the given IP address and port\nnumber\n\nDepending on whether PHP's sockets extension is loaded, this uses either\nsocket_create/socket_connect or\nfsockopen.\n\n@param string $ipAddress The IP address to connect to\n@param int $portNumber The TCP port to connect to\n@param int $timeout The timeout in milliseconds\n@throws SocketException if an error occurs during connecting the socket", "docstring_tokens": ["Connects", "the", "TCP", "socket", "to", "the", "host", "with", "the", "given", "IP", "address", "and", "port", "number"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/TCPSocket.php#L38-L70", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/MasterServer.php", "func_name": "MasterServer.getServers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of game server matching the given region and filters\n\nFiltering:\nInstead of filtering the results sent by the master server locally, you\nshould at least use the following filters to narrow down the results\nsent by the master server.\n\nNote: Receiving all servers from the master server is taking\nquite some time.\n\nAvailable filters:\n\n
    \n
  • \\type\\d: Request only dedicated servers\n
  • \\secure\\1: Request only secure servers\n
  • \\gamedir\\[mod]: Request only servers of a specific mod\n
  • \\map\\[mapname]: Request only servers running a specific\nmap\n
  • \\linux\\1: Request only linux servers\n
  • \\emtpy\\1: Request only **non**-empty servers\n
  • \\full\\1: Request only servers **not** full\n
  • \\proxy\\1: Request only spectator proxy servers\n
\n\n@param int $regionCode The region code to specify a location of the\ngame servers\n@param string $filter The filters that game servers should match\n@param bool $force Return a list of servers even if an error occured\nwhile fetching them from the master server\n@return array A list of game servers matching the given\nregion and filters\n@see setTimeout()\n@see A2M_GET_SERVERS_BATCH2_Packet\n@throws SteamCondenserException if a problem occurs while parsing the\nreply\n@throws TimeoutException if too many timeouts occur while querying the\nmaster server", "docstring_tokens": ["Returns", "a", "list", "of", "game", "server", "matching", "the", "given", "region", "and", "filters"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/MasterServer.php#L145-L193", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameItemSchema.php", "func_name": "GameItemSchema.internalFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the item definitions of this schema using the Steam Web API\n\n@throws \\SteamCondenser\\Exceptions\\WebApiException if the item schema\ncannot be fetched", "docstring_tokens": ["Updates", "the", "item", "definitions", "of", "this", "schema", "using", "the", "Steam", "Web", "API"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameItemSchema.php#L186-L241", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.convertCommunityIdToSteamId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a 64bit numeric SteamID as used by the Steam Community to a\nSteamID as reported by game servers\n\n@param string $communityId The SteamID string as used by the Steam\nCommunity\n@return string The converted SteamID, like STEAM_0:0:12345\n@throws SteamCondenserException if the community ID is to small", "docstring_tokens": ["Converts", "a", "64bit", "numeric", "SteamID", "as", "used", "by", "the", "Steam", "Community", "to", "a", "SteamID", "as", "reported", "by", "game", "servers"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L81-L92", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.convertSteamIdToCommunityId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a SteamID as reported by game servers to a 64bit numeric\nSteamID as used by the Steam Community\n\n@param string $steamId The SteamID string as used on servers, like\nSTEAM_0:0:12345\n@return string The converted 64bit numeric SteamID\n@throws SteamCondenserException if the SteamID doesn't have the correct\nformat", "docstring_tokens": ["Converts", "a", "SteamID", "as", "reported", "by", "game", "servers", "to", "a", "64bit", "numeric", "SteamID", "as", "used", "by", "the", "Steam", "Community"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L125-L138", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.resolveVanityUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves a vanity URL of a Steam Community profile to a 64bit numeric\nSteamID\n\n@param string $vanityUrl The vanity URL of a Steam Community profile\n@return string The 64bit SteamID for the given vanity URL\n@throws WebApiException if the request to Steam's Web API fails", "docstring_tokens": ["Resolves", "a", "vanity", "URL", "of", "a", "Steam", "Community", "profile", "to", "a", "64bit", "numeric", "SteamID"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L171-L182", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.fetchFriends", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the friends of this user\n\nThis creates a new SteamId instance for each of the friends\nwithout fetching their data.\n\n@return SteamId[]\n@see getFriends()\n@throws SteamCondenserException if an error occurs while parsing the\ndata", "docstring_tokens": ["Fetches", "the", "friends", "of", "this", "user"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L211-L219", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.fetchGames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the games this user owns\n\n@see getGames()\n@throws SteamCondenserException if an error occurs while parsing the\ndata", "docstring_tokens": ["Fetches", "the", "games", "this", "user", "owns"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L228-L249", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.fetchGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the groups this user is member of\n\nUses the ISteamUser/GetUserGroupList interface.\n\n@return SteamGroup[] The groups of this user\n@see getGroups()", "docstring_tokens": ["Fetches", "the", "groups", "this", "user", "is", "member", "of"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L259-L269", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.getSteamId64", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns this user's 64bit SteamID\n\nIf the SteamID is not known yet it is resolved from the vanity URL.\n\n@return string This user's 64bit SteamID\n@see resolveVanityUrl", "docstring_tokens": ["Returns", "this", "user", "s", "64bit", "SteamID"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L406-L412", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.getRecentPlaytime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the time in minutes this user has played this game in the last\ntwo weeks\n\n@param int $appId The application ID of the game\n@return int The number of minutes this user played the given game in the\nlast two weeks", "docstring_tokens": ["Returns", "the", "time", "in", "minutes", "this", "user", "has", "played", "this", "game", "in", "the", "last", "two", "weeks"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L422-L428", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.getTotalPlaytime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the total time in minutes this user has played this game\n\n@param int $appId The application ID of the game\n@return int The total number of minutes this user played the given game", "docstring_tokens": ["Returns", "the", "total", "time", "in", "minutes", "this", "user", "has", "played", "this", "game"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L436-L442", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamId.php", "func_name": "SteamId.internalFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetchs data from the Steam Community by querying the XML version of the\nprofile specified by the ID of this Steam ID\n\n@throws SteamCondenserException if the Steam ID data is not available,\ne.g. when it is private, or when it cannot be parsed", "docstring_tokens": ["Fetchs", "data", "from", "the", "Steam", "Community", "by", "querying", "the", "XML", "version", "of", "the", "profile", "specified", "by", "the", "ID", "of", "this", "Steam", "ID"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamId.php#L460-L491", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Server.php", "func_name": "Server.rotateIp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rotate this server's IP address to the next one in the IP list\n\nIf this method returns true, it indicates that all IP\naddresses have been used, hinting at the server(s) being unreachable. An\nappropriate action should be taken to inform the user.\n\nServers with only one IP address will always cause this method to return\ntrue and the sockets will not be reinitialized.\n\n@return bool true, if the IP list reached its end. If the\nlist contains only one IP address, this method will instantly\nreturn true\n@see initSocket()", "docstring_tokens": ["Rotate", "this", "server", "s", "IP", "address", "to", "the", "next", "one", "in", "the", "IP", "list"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Server.php#L116-L127", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/SourceServer.php", "func_name": "SourceServer.initSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the sockets to communicate with the Source server\n\n@see RCONSocket\n@see SourceSocket", "docstring_tokens": ["Initializes", "the", "sockets", "to", "communicate", "with", "the", "Source", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/SourceServer.php#L83-L86", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/SourceServer.php", "func_name": "SourceServer.rconAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticates the connection for RCON communication with the server\n\n@param string $password The RCON password of the server\n@return bool whether authentication was successful\n@see rconExec()\n@throws RCONBanException if banned by the server\n@throws SteamCondenserException if a problem occurs while parsing the\nreply\n@throws TimeoutException if the request times out", "docstring_tokens": ["Authenticates", "the", "connection", "for", "RCON", "communication", "with", "the", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/SourceServer.php#L99-L112", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/UDPSocket.php", "func_name": "UDPSocket.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects the UDP socket to the host with the given IP address and port\nnumber\n\nDepending on whether PHP's sockets extension is loaded, this uses either\nsocket_create/socket_connect or\nfsockopen.\n\n@param string $ipAddress The IP address to connect to\n@param int $portNumber The UDP port to connect to\n@param int $timeout The timeout in milliseconds\n@throws SocketException if an error occurs during connecting the socket", "docstring_tokens": ["Connects", "the", "UDP", "socket", "to", "the", "host", "with", "the", "given", "IP", "address", "and", "port", "number"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/UDPSocket.php#L38-L56", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Cacheable.php", "func_name": "Cacheable.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new instance of the cacheable object or returns an already\ncached one\n\nThe parameters of this method are derived from the constructor of the\ncacheable class. Additionally, the following parameters are dynamically\nadded:\n\n@param bool $fetch If true the object\u2019s fetch()\nmethod will be called\n@param bool $bypassCache If true the cache will not be hit\n@return mixed A new object or a matching cached one", "docstring_tokens": ["Creates", "a", "new", "instance", "of", "the", "cacheable", "object", "or", "returns", "an", "already", "cached", "one"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Cacheable.php#L78-L105", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Cacheable.php", "func_name": "Cacheable.cachedInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If available, returns the cached instance for the object it is called on\n\nThis may be used to either replace an initial object with a completely\ncached instance of the same ID or to compare a modified object with the\ncopy that was cached before.\n\n@see cacheIds()", "docstring_tokens": ["If", "available", "returns", "the", "cached", "instance", "for", "the", "object", "it", "is", "called", "on"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Cacheable.php#L116-L136", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Cacheable.php", "func_name": "Cacheable.isCached", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether an object with the given ID is already cached\n\n@param mixed $id The ID of the desired object\n@return bool true if the object with the given ID is already\ncached", "docstring_tokens": ["Returns", "whether", "an", "object", "with", "the", "given", "ID", "is", "already", "cached"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Cacheable.php#L145-L157", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Cacheable.php", "func_name": "Cacheable.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves this object in the cache\n\nThis will use the ID attributes selected for caching", "docstring_tokens": ["Saves", "this", "object", "in", "the", "cache"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Cacheable.php#L181-L195", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Cacheable.php", "func_name": "Cacheable.cacheIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a complete list of all values for the cache IDs of the cacheable\nobject\n\n@return array The values for the cache IDs", "docstring_tokens": ["Returns", "a", "complete", "list", "of", "all", "values", "for", "the", "cache", "IDs", "of", "the", "cacheable", "object"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Cacheable.php#L203-L209", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GoldSrcServer.php", "func_name": "GoldSrcServer.initSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the sockets to communicate with the GoldSrc server\n\n@see GoldSrcSocket", "docstring_tokens": ["Initializes", "the", "sockets", "to", "communicate", "with", "the", "GoldSrc", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GoldSrcServer.php#L72-L74", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GoldSrcServer.php", "func_name": "GoldSrcServer.rconAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to establish RCON authentication with the server with the given\npassword\n\nThis will send an empty command that will ensure the given password was\ncorrect. If successful, the password is stored for future use.\n\n@param string $password The RCON password of the server\n@return bool true if authentication was successful\n@see #rconExec\n@throws TimeoutException if the request times out", "docstring_tokens": ["Tries", "to", "establish", "RCON", "authentication", "with", "the", "server", "with", "the", "given", "password"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GoldSrcServer.php#L88-L100", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Socket.php", "func_name": "Socket.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the socket", "docstring_tokens": ["Closes", "the", "socket"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Socket.php#L89-L98", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Socket.php", "func_name": "Socket.recv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Receives the specified amount of data from the socket\n\n@param int $length The number of bytes to read from the socket\n@return string The data read from the socket\n@throws ConnectionResetException if the server reset the connection\n@throws SocketException if reading from the socket fails", "docstring_tokens": ["Receives", "the", "specified", "amount", "of", "data", "from", "the", "socket"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Socket.php#L117-L138", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Socket.php", "func_name": "Socket.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Waits for data to be read from this socket before the specified timeout\noccurs\n\n@param int $timeout The number of milliseconds to wait for data arriving\non this socket before timing out\n@return bool whether data arrived on this socket before the timeout", "docstring_tokens": ["Waits", "for", "data", "to", "be", "read", "from", "this", "socket", "before", "the", "specified", "timeout", "occurs"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Socket.php#L148-L162", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Socket.php", "func_name": "Socket.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the specified data to the peer this socket is connected to\n\n@param string $data The data to send to the connected peer\n@throws SocketException if sending fails", "docstring_tokens": ["Sends", "the", "specified", "data", "to", "the", "peer", "this", "socket", "is", "connected", "to"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Socket.php#L170-L182", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/AppNews.php", "func_name": "AppNews.getNewsForApp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the news for the given game with the given restrictions\n\n@param int $appId The unique Steam Application ID of the game (e.g. 440\nfor Team Fortress 2). See\nhttp://developer.valvesoftware.com/wiki/Steam_Application_IDs for\nall application IDs\n@param int $count The maximum number of news to load (default: 5).\nThere's no reliable way to load all news. Use really a really\ngreat number instead\n@param int $maxLength The maximum content length of the news (default:\nnull). If a maximum length is defined, the content of the news\nwill only be at most maxLength characters long plus an\nellipsis\n@return array An array of news items for the specified game with the\ngiven options", "docstring_tokens": ["Loads", "the", "news", "for", "the", "given", "game", "with", "the", "given", "restrictions"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/AppNews.php#L90-L100", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/TF2/TF2Item.php", "func_name": "TF2Item.getClassesEquipped", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the class symbols for each class this player has equipped this\nitem\n\n@return array The names of the classes this player has equipped this\nitem", "docstring_tokens": ["Returns", "the", "class", "symbols", "for", "each", "class", "this", "player", "has", "equipped", "this", "item"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/TF2/TF2Item.php#L58-L67", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGroup.php", "func_name": "SteamGroup.getMemberCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of members this group has\n\nIf the members have already been fetched the size of the member array is\nreturned. Otherwise the group size is separately fetched without needing\nmultiple requests for big groups.\n\n@return int The number of this group's members\n@see fetchPage()", "docstring_tokens": ["Returns", "the", "number", "of", "members", "this", "group", "has"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGroup.php#L169-L178", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGroup.php", "func_name": "SteamGroup.getMembers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the members of this group\n\nIf the members haven't been fetched yet, this is done now.\n\n@return array The Steam ID's of the members of this group\n@see fetch()", "docstring_tokens": ["Returns", "the", "members", "of", "this", "group"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGroup.php#L188-L194", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGroup.php", "func_name": "SteamGroup.fetchPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a specific page of the member listing of this group\n\n@param int $page The member page to fetch\n@return int The total number of pages of this group's member listing\n@see fetch()", "docstring_tokens": ["Fetches", "a", "specific", "page", "of", "the", "member", "listing", "of", "this", "group"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGroup.php#L221-L242", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGroup.php", "func_name": "SteamGroup.internalFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads information about and members of this group\n\nThis includes the ID, name, headline, summary and avatar and custom URL.\n\nThis might take several HTTP requests as the Steam Community splits this\ndata over several XML documents if the group has lots of members.", "docstring_tokens": ["Loads", "information", "about", "and", "members", "of", "this", "group"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGroup.php#L252-L264", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameInventory.php", "func_name": "GameInventory.getItemSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the item schema\n\nThe item schema is fetched first if not done already\n\n@return GameItemSchema The item schema for the game this inventory\nbelongs to\n@throws \\SteamCondenser\\Exceptions\\WebApiException on Web API errors", "docstring_tokens": ["Returns", "the", "item", "schema"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameInventory.php#L175-L181", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameInventory.php", "func_name": "GameInventory.internalFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the contents of the backpack using Steam Web API", "docstring_tokens": ["Updates", "the", "contents", "of", "the", "backpack", "using", "Steam", "Web", "API"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameInventory.php#L222-L240", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/Portal2/Portal2Item.php", "func_name": "Portal2Item.getBotsEquipped", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the name for each bot this player has equipped this item\n\n@return array The names of the bots this player has equipped this item", "docstring_tokens": ["Returns", "the", "name", "for", "each", "bot", "this", "player", "has", "equipped", "this", "item"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/Portal2/Portal2Item.php#L56-L65", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/TF2/TF2GoldenWrench.php", "func_name": "TF2GoldenWrench.getGoldenWrenches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all Golden Wrenches\n\n@return array All Golden Wrenches\n@throws \\SteamCondenser\\Exceptions\\SteamCondenserException If an error\noccurs querying the Web API or the Steam Community", "docstring_tokens": ["Returns", "all", "Golden", "Wrenches"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/TF2/TF2GoldenWrench.php#L59-L70", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/WebApi.php", "func_name": "WebApi.setApiKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Steam Web API key\n\n@param string $apiKey The 128bit API key that has to be requested from\nhttp://steamcommunity.com/dev\n@throws WebApiException if the given API key is not a valid 128bit\nhexadecimal string", "docstring_tokens": ["Sets", "the", "Steam", "Web", "API", "key"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/WebApi.php#L177-L183", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/WebApi.php", "func_name": "WebApi.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches data from Steam Web API using the specified URL\n\n@param string $url The URL to load\n@return string The data returned by the Web API\n@throws WebApiException if the request failed", "docstring_tokens": ["Fetches", "data", "from", "Steam", "Web", "API", "using", "the", "specified", "URL"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/WebApi.php#L234-L250", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/Sockets/RCONSocket.php", "func_name": "RCONSocket.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the given RCON packet to the server\n\n@param SteamPacket $dataPacket The RCON packet to send to the server", "docstring_tokens": ["Sends", "the", "given", "RCON", "packet", "to", "the", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/Sockets/RCONSocket.php#L76-L83", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GameServer.php", "func_name": "GameServer.getPlayers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of players currently playing on this server\n\nIf the players haven't been fetched yet, it is done when calling this\nmethod for the first time.\n\nAs the players and their scores change quite often be sure to update\nthis list regularly by calling {@link updatePlayers()} if you rely on\nthis information.\n\n@param string $rconPassword The RCON password of this server may be\nprovided to gather more detailed information on the players, like\nSTEAM_IDs.\n@return array The players on this server\n@see updatePlayers()", "docstring_tokens": ["Returns", "a", "list", "of", "players", "currently", "playing", "on", "this", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GameServer.php#L194-L200", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GameServer.php", "func_name": "GameServer.handleResponseForRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the specified request to the server and handles the returned\nresponse\n\nDepending on the given request type this will fill the various data\nattributes of the server object.\n\n@param int $requestType The type of request to send to the server\n@param bool $repeatOnFailure Whether the request should be repeated, if\nthe replied packet isn't expected. This is useful to handle\nmissing challenge numbers, which will be automatically filled in,\nalthough not requested explicitly.\n@throws SteamCondenserException if either the request type or the\nresponse packet is not known", "docstring_tokens": ["Sends", "the", "specified", "request", "to", "the", "server", "and", "handles", "the", "returned", "response"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GameServer.php#L274-L317", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GameServer.php", "func_name": "GameServer.updatePing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a A2S_INFO request to the server and measures the time needed for\nthe reply\n\nIf this information is vital to you, be sure to call this method\nregularly to stay up-to-date.\n\n@return int The latency of this server in milliseconds\n@see getPing()\n@see initialize()", "docstring_tokens": ["Sends", "a", "A2S_INFO", "request", "to", "the", "server", "and", "measures", "the", "time", "needed", "for", "the", "reply"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GameServer.php#L380-L388", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/GameServer.php", "func_name": "GameServer.updatePlayers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a A2S_PLAYERS request to the server and updates the players' data\nfor this server\n\nAs the players and their scores change quite often be sure to update\nthis list regularly by calling this method if you rely on this\ninformation.\n\n@param string $rconPassword The RCON password of this server may be\nprovided to gather more detailed information on the players, like\nSTEAM_IDs.\n@see getPlayers()\n@see handleResponseForRequest()", "docstring_tokens": ["Sends", "a", "A2S_PLAYERS", "request", "to", "the", "server", "and", "updates", "the", "players", "data", "for", "this", "server"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/GameServer.php#L404-L428", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Servers/SteamPlayer.php", "func_name": "SteamPlayer.addInformation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extends a player object with information retrieved from a RCON call to\nthe status command\n\n@param string $playerData The player data retrieved from\nrcon status\n@throws SteamCondenserException if the information belongs to another\nplayer", "docstring_tokens": ["Extends", "a", "player", "object", "with", "information", "retrieved", "from", "a", "RCON", "call", "to", "the", "status", "command"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Servers/SteamPlayer.php#L114-L140", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.getLeaderboard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the leaderboard for the given game and leaderboard ID or name\n\n@param string $gameName The short name of the game\n@param mixed $id The ID or name of the leaderboard to return\n@return GameLeaderboard The matching leaderboard if available", "docstring_tokens": ["Returns", "the", "leaderboard", "for", "the", "given", "game", "and", "leaderboard", "ID", "or", "name"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L78-L94", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.getLeaderboards", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array containing all of a game's leaderboards\n\n@param string $gameName The name of the game\n@return GameLeaderboard[] The leaderboards for this game", "docstring_tokens": ["Returns", "an", "array", "containing", "all", "of", "a", "game", "s", "leaderboards"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L102-L108", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.loadLeaderboards", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the leaderboards of the specified games into the cache\n\n@param string $gameName The short name of the game\n@throws SteamCondenserException if an error occurs while fetching the\nleaderboards", "docstring_tokens": ["Loads", "the", "leaderboards", "of", "the", "specified", "games", "into", "the", "cache"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L117-L130", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.getEntryForSteamId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the entry on this leaderboard for the user with the given\nSteamID\n\n@param mixed $steamId The 64bit SteamID or the SteamId object\nof the user\n@return GameLeaderboardEntry The entry of the user if available\n@throws SteamCondenserException if the XML data is marked as erroneous", "docstring_tokens": ["Returns", "the", "entry", "on", "this", "leaderboard", "for", "the", "user", "with", "the", "given", "SteamID"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L200-L216", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.getEntryRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the entries on this leaderboard for a given rank range\n\nThe range is inclusive and a maximum of 5001 entries can be returned in\na single request.\n\n@param int $first The first entry to return from the leaderboard\n@param int $last The last entry to return from the leaderboard\n@return GameLeaderboardEntry[] The entries that match the given rank range\n@throws SteamCondenserException if the XML data is marked as erroneous\nor the range is incorrect", "docstring_tokens": ["Returns", "the", "entries", "on", "this", "leaderboard", "for", "a", "given", "rank", "range"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L245-L256", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.loadData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads leaderboard data for the given parameters\n\n@param array $params The parameters for the leaderboard data\n@return \\SimpleXMLElement The requested XML Data\n@throws SteamCondenserException if the XML data is marked as erroneous", "docstring_tokens": ["Loads", "leaderboard", "data", "for", "the", "given", "parameters"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L265-L282", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.loadDataForSteamId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads leaderboard data for the given user\n\n@param string|SteamId $steamId The 64bit SteamID or the\nSteamId object of the user\n@return \\SimpleXMLElement The XML data for the given user\n@throws SteamCondenserException if the XML data is marked as erroneous", "docstring_tokens": ["Loads", "leaderboard", "data", "for", "the", "given", "user"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L292-L300", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/GameLeaderboard.php", "func_name": "GameLeaderboard.parseEntries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses leaderboard entries from the given XML data\n\n@param \\SimpleXMLElement $xml The XML data to parse\n@return GameLeaderboardEntry The leaderboard entries for the given data", "docstring_tokens": ["Parses", "leaderboard", "entries", "from", "the", "given", "XML", "data"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/GameLeaderboard.php#L308-L316", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGame.php", "func_name": "SteamGame.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new or cached instance of the game specified by the given XML\ndata\n\n@param \\stdClass $gameData The Web API data of the game\n@return SteamGame The game instance for the given data\n@see __construct()", "docstring_tokens": ["Creates", "a", "new", "or", "cached", "instance", "of", "the", "game", "specified", "by", "the", "given", "XML", "data"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGame.php#L60-L66", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGame.php", "func_name": "SteamGame.checkUpToDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the given version of the game with the given application\nID is up-to-date\n\n@param int $appId The application ID of the game to check\n@param int $version The version to check against the Web API\n@return boolean true if the given version is up-to-date\n@throws SteamCondenserException if the Web API request fails", "docstring_tokens": ["Returns", "whether", "the", "given", "version", "of", "the", "game", "with", "the", "given", "application", "ID", "is", "up", "-", "to", "-", "date"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGame.php#L101-L109", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGame.php", "func_name": "SteamGame.getPlayerCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the overall number of players currently playing this game\n\n@return int The number of players playing this game", "docstring_tokens": ["Returns", "the", "overall", "number", "of", "players", "currently", "playing", "this", "game"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGame.php#L210-L215", "partition": "test"} +{"repo": "koraktor/steam-condenser-php", "path": "lib/SteamCondenser/Community/SteamGame.php", "func_name": "SteamGame.getUserStats", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a stats object for the given user and this game\n\n@param string $steamId The custom URL or the 64bit Steam ID of the user\n@return GameStats The stats of this game for the given user", "docstring_tokens": ["Creates", "a", "stats", "object", "for", "the", "given", "user", "and", "this", "game"], "sha": "92dde9e3b462e93cc498fe795a712c61eec7051e", "url": "https://github.com/koraktor/steam-condenser-php/blob/92dde9e3b462e93cc498fe795a712c61eec7051e/lib/SteamCondenser/Community/SteamGame.php#L232-L238", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartProcessor.php", "func_name": "WorkOrderPartProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified work orders parts and inventory.\n\n@param int|string $workOrderId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "work", "orders", "parts", "and", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartProcessor.php#L48-L61", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/Controller.php", "func_name": "Controller.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new event.\n\n@param Request $request\n\n@return \\Illuminate\\Support\\Facades\\Response", "docstring_tokens": ["Creates", "a", "new", "event", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/Controller.php#L51-L64", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/Controller.php", "func_name": "Controller.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified event.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "event", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/Controller.php#L73-L84", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/Controller.php", "func_name": "Controller.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an event.\n\n@param Request $request\n@param int|string $id\n\n@return \\Illuminate\\Support\\Facades\\Response", "docstring_tokens": ["Updates", "an", "event", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/Controller.php#L114-L127", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/Controller.php", "func_name": "Controller.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified event.\n\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "the", "specified", "event", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/Controller.php#L136-L147", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderProcessor.php", "func_name": "WorkOrderProcessor.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified work order.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderProcessor.php#L83-L96", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderProcessor.php", "func_name": "WorkOrderProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified work order.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderProcessor.php#L105-L112", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderProcessor.php", "func_name": "WorkOrderProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified work order.\n\n@param WorkOrderRequest $request\n@param int|string $id\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderProcessor.php#L122-L127", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php", "func_name": "WorkOrderPartStockController.getTake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for taking inventory stock\nand attaching it to the specified work order.\n\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "taking", "inventory", "stock", "and", "attaching", "it", "to", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php#L52-L55", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php", "func_name": "WorkOrderPartStockController.postTake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes taking quantity from the stock and\ninserting it into the work order.\n\n@param PartTakeRequest $request\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "taking", "quantity", "from", "the", "stock", "and", "inserting", "it", "into", "the", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php#L68-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php", "func_name": "WorkOrderPartStockController.getPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for returning parts to the inventory.\n\n@param int|string $workOrderId\n@param int|string $inventoryId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "returning", "parts", "to", "the", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php#L96-L99", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php", "func_name": "WorkOrderPartStockController.postPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes returning parts back into the inventory.\n\n@param PartReturnRequest $request\n@param int|string $workOrderId\n@param int|string $inventoryId\n@param int|string $stockId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "returning", "parts", "back", "into", "the", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderPartStockController.php#L111-L122", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Client/WorkRequest/Controller.php", "func_name": "Controller.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the users specified work request.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "users", "specified", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Client/WorkRequest/Controller.php#L75-L80", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Client/WorkRequest/Controller.php", "func_name": "Controller.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a users work request.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "a", "users", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Client/WorkRequest/Controller.php#L89-L94", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Client/WorkRequest/Controller.php", "func_name": "Controller.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates a users work request.\n\n@param WorkRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "a", "users", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Client/WorkRequest/Controller.php#L104-L117", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Client/WorkRequest/Controller.php", "func_name": "Controller.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a users work request.\n\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "a", "users", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Client/WorkRequest/Controller.php#L126-L139", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Traits/HasLocationTrait.php", "func_name": "HasLocationTrait.scopeLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters inventory results by specified location.\n\n@param mixed $query\n@param int|string $locationId\n\n@return mixed", "docstring_tokens": ["Filters", "inventory", "results", "by", "specified", "location", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Traits/HasLocationTrait.php#L47-L63", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/ReportController.php", "func_name": "ReportController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new report on the specified event.\n\n@param ReportRequest $request\n@param int|string $eventId\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "new", "report", "on", "the", "specified", "event", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/ReportController.php#L34-L47", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for adding attachments to the specified work order.\n\n@param int|string $workOrderId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "adding", "attachments", "to", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L63-L70", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes uploading and adding attaachments to the specified work order.\n\n@param AttachmentRequest $request\n@param int|string $workOrderId\n\n@return bool|array", "docstring_tokens": ["Processes", "uploading", "and", "adding", "attaachments", "to", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L80-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the work order attachments.\n\n@param int|string $workOrderId\n@param int|string $attachmentId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "work", "order", "attachments", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L95-L102", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified work order attachment.\n\n@param int|string $workOrderId\n@param int|string $attachmentId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "work", "order", "attachment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L112-L121", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified work order attachment.\n\n@param AttachmentUpdateRequest $request\n@param int|string $workOrderId\n@param int|string $attachmentId\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "work", "order", "attachment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L132-L139", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php", "func_name": "WorkOrderAttachmentProcessor.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified work order attachment.\n\n@param int|string $workOrderId\n@param int|string $attachmentId\n\n@return bool", "docstring_tokens": ["Deletes", "the", "specified", "work", "order", "attachment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAttachmentProcessor.php#L149-L156", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderReportPresenter.php", "func_name": "WorkOrderReportPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form of the specified work order report.\n\n@param WorkOrder $workOrder\n@param WorkOrderReport $report\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "of", "the", "specified", "work", "order", "report", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderReportPresenter.php#L22-L60", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Notification.php", "func_name": "Notification.getIconAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an html icon class of the type of\nnotification by retrieving it from the configuration file.\n\n@return string|null", "docstring_tokens": ["Returns", "an", "html", "icon", "class", "of", "the", "type", "of", "notification", "by", "retrieving", "it", "from", "the", "configuration", "file", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Notification.php#L50-L80", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockMovementController.php", "func_name": "StockMovementController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all the stock movement entries for the specified stock for the\nspecified inventory.\n\n@param $inventory_id\n@param $stock_id\n\n@return mixed", "docstring_tokens": ["Displays", "all", "the", "stock", "movement", "entries", "for", "the", "specified", "stock", "for", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockMovementController.php#L48-L64", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockMovementController.php", "func_name": "StockMovementController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a stock movement record.\n\n@param $inventory_id\n@param $stock_id\n@param $movement_id", "docstring_tokens": ["Displays", "a", "stock", "movement", "record", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockMovementController.php#L73-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockMovementController.php", "func_name": "StockMovementController.rollback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rolls back an inventory stock movement.\n\n@param $inventory_id\n@param $stock_id\n@param $movement_id\n\n@return \\Illuminate\\Http\\JsonResponse|mixed", "docstring_tokens": ["Rolls", "back", "an", "inventory", "stock", "movement", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockMovementController.php#L96-L117", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.getRevisedStatusAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the revised status attribute.\n\n@param int|string $id\n\n@return null|string", "docstring_tokens": ["Retrieves", "the", "revised", "status", "attribute", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L212-L223", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.getRevisedPriorityAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the revised priority attribute.\n\n@param int|string $id\n\n@return null|string", "docstring_tokens": ["Retrieves", "the", "revised", "priority", "attribute", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L232-L243", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.closeSessions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes all sessions on the current work order.\n\n@return array", "docstring_tokens": ["Closes", "all", "sessions", "on", "the", "current", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L250-L265", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.userCheckedIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the user is currently checked into the current work order.\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "user", "is", "currently", "checked", "into", "the", "current", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L293-L302", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.getStartedAtLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an HTML label for the work orders started at date.\n\n@return string", "docstring_tokens": ["Returns", "an", "HTML", "label", "for", "the", "work", "orders", "started", "at", "date", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L375-L390", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.getCompletedAtLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an HTML label for the work orders completed at date.\n\n@return string", "docstring_tokens": ["Returns", "an", "HTML", "label", "for", "the", "work", "orders", "completed", "at", "date", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L397-L412", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrder.php", "func_name": "WorkOrder.complete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Completes the work order by saving the completed at timestamp to now.\n\n@param int|string $statusId\n\n@return $this|bool", "docstring_tokens": ["Completes", "the", "work", "order", "by", "saving", "the", "completed", "at", "timestamp", "to", "now", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrder.php#L441-L451", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderStatusPresenter.php", "func_name": "WorkOrderStatusPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all statuses.\n\n@param Status $status\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "statuses", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderStatusPresenter.php#L23-L46", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderStatusPresenter.php", "func_name": "WorkOrderStatusPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form of the specified status.\n\n@param Status $status\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "of", "the", "specified", "status", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderStatusPresenter.php#L55-L92", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPriorityProcessor.php", "func_name": "WorkOrderPriorityProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all priorities.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "priorities", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPriorityProcessor.php#L41-L48", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPriorityProcessor.php", "func_name": "WorkOrderPriorityProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new priority.\n\n@param PriorityRequest $request\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "priority", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPriorityProcessor.php#L69-L74", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPriorityProcessor.php", "func_name": "WorkOrderPriorityProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified priority.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "priority", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPriorityProcessor.php#L83-L90", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPriorityProcessor.php", "func_name": "WorkOrderPriorityProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified priority.\n\n@param PriorityRequest $request\n@param int|string $id\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "priority", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPriorityProcessor.php#L100-L105", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Inventory.php", "func_name": "Inventory.scopeStock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters query by the inputted inventory item stock quantity.\n\n@param $query\n@param string $operator\n@param string $stock\n\n@return mixed", "docstring_tokens": ["Filters", "query", "by", "the", "inputted", "inventory", "item", "stock", "quantity", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Inventory.php#L185-L198", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Inventory.php", "func_name": "Inventory.scopeSku", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters query by the inputted inventory sku.\n\n@param $query\n@param string $sku\n\n@return mixed", "docstring_tokens": ["Filters", "query", "by", "the", "inputted", "inventory", "sku", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Inventory.php#L208-L217", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Inventory.php", "func_name": "Inventory.getCurrentStockAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mutator for showing the total current stock of the inventory item.\n\n@return int|string", "docstring_tokens": ["Mutator", "for", "showing", "the", "total", "current", "stock", "of", "the", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Inventory.php#L237-L246", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Inventory.php", "func_name": "Inventory.getRevisedMetricAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the revised metric attribute.\n\n@param int|string $id\n\n@return null|string", "docstring_tokens": ["Retrieves", "the", "revised", "metric", "attribute", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Inventory.php#L269-L280", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Model.php", "func_name": "Model.getOperator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a valid operator from the specified string.\n\n@param string $string\n\n@return bool|array", "docstring_tokens": ["Retrieves", "a", "valid", "operator", "from", "the", "specified", "string", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Model.php#L93-L110", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Model.php", "func_name": "Model.scopeSort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows all columns on the current database table to be sorted through\nquery scope.\n\n@param object $query\n@param string $field\n@param string $sort\n\n@return object", "docstring_tokens": ["Allows", "all", "columns", "on", "the", "current", "database", "table", "to", "be", "sorted", "through", "query", "scope", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Model.php#L139-L171", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Attachment.php", "func_name": "Attachment.getFullPathAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full path of the uploaded file.\n\n@return string", "docstring_tokens": ["Returns", "the", "full", "path", "of", "the", "uploaded", "file", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Attachment.php#L71-L80", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderStatusProcessor.php", "func_name": "WorkOrderStatusProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all statuses.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "statuses", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderStatusProcessor.php#L41-L48", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderStatusProcessor.php", "func_name": "WorkOrderStatusProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new status.\n\n@param StatusRequest $request\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "status", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderStatusProcessor.php#L69-L74", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderStatusProcessor.php", "func_name": "WorkOrderStatusProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified status.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "status", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderStatusProcessor.php#L83-L90", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderStatusProcessor.php", "func_name": "WorkOrderStatusProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified status.\n\n@param StatusRequest $request\n@param int|string $id\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "status", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderStatusProcessor.php#L100-L105", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryVariantProcessor.php", "func_name": "InventoryVariantProcessor.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for creating a variant for the specified inventory item.\n\n@param int|string $itemId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "creating", "a", "variant", "for", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryVariantProcessor.php#L41-L48", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryVariantProcessor.php", "func_name": "InventoryVariantProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a variant of the specified inventory item.\n\n@param InventoryRequest $request\n@param int|string $itemId\n\n@return bool", "docstring_tokens": ["Creates", "a", "variant", "of", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryVariantProcessor.php#L58-L69", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderReportProcessor.php", "func_name": "WorkOrderReportProcessor.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for creating a work order report.\n\n@param int|string $workOrderId\n\n@throws ReportExistsException\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "creating", "a", "work", "order", "report", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderReportProcessor.php#L53-L64", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderReportProcessor.php", "func_name": "WorkOrderReportProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new work order report.\n\n@param ReportRequest $request\n@param int|string $workOrderId\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "work", "order", "report", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderReportProcessor.php#L74-L81", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPresenter.php", "func_name": "WorkOrderPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all work orders.\n\n@param WorkOrder|Builder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "work", "orders", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPresenter.php#L28-L73", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPresenter.php", "func_name": "WorkOrderPresenter.tableAssigned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all work orders assigned to the current user.\n\n@param WorkOrder|Builder $workOrder\n\n@return Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "work", "orders", "assigned", "to", "the", "current", "user", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPresenter.php#L82-L89", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPresenter.php", "func_name": "WorkOrderPresenter.tableSessions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a table of all unique sessions on the specified work order.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Displays", "a", "table", "of", "all", "unique", "sessions", "on", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPresenter.php#L98-L103", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPresenter.php", "func_name": "WorkOrderPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for work orders.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "work", "orders", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPresenter.php#L112-L189", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPresenter.php", "func_name": "WorkOrderPresenter.formComment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for the specified work order comment.\n\n@param WorkOrder $workOrder\n@param Comment $comment\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "the", "specified", "work", "order", "comment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPresenter.php#L199-L204", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Jobs/Attachment/Store.php", "func_name": "Store.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads and attaches files for the current relation.\n\n@param Filesystem $filesystem\n\n@return bool|array", "docstring_tokens": ["Uploads", "and", "attaches", "files", "for", "the", "current", "relation", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Jobs/Attachment/Store.php#L49-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Asset/AssetPresenter.php", "func_name": "AssetPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all assets.\n\n@param Asset $asset\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "assets", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Asset/AssetPresenter.php#L23-L54", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Asset/AssetPresenter.php", "func_name": "AssetPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for the specified asset.\n\n@param Asset $asset\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Asset/AssetPresenter.php#L63-L159", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryPresenter.php", "func_name": "InventoryPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a table of all inventory items.\n\n@param Inventory|\\Illuminate\\Database\\Eloquent\\Builder $item\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "table", "of", "all", "inventory", "items", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryPresenter.php#L23-L60", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryPresenter.php", "func_name": "InventoryPresenter.tableStocks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a table of stocks for the specified inventory item.\n\n@param Inventory $item\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "table", "of", "stocks", "for", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryPresenter.php#L93-L96", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryPresenter.php", "func_name": "InventoryPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for creating a new inventory item.\n\n@param Inventory $inventory\n@param bool|false $variant\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "creating", "a", "new", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryPresenter.php#L106-L161", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryPresenter.php", "func_name": "InventoryPresenter.navbarStocks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new navbar for the inventory stocks index.\n\n@param Inventory $item\n\n@return \\Illuminate\\Support\\Fluent", "docstring_tokens": ["Returns", "a", "new", "navbar", "for", "the", "inventory", "stocks", "index", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryPresenter.php#L226-L229", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderAttachmentController.php", "func_name": "WorkOrderAttachmentController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes storing the attachment record.\n\n@param AttachmentRequest $request\n@param int|string $workOrderId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "storing", "the", "attachment", "record", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderAttachmentController.php#L59-L72", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderAttachmentController.php", "func_name": "WorkOrderAttachmentController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified ticket upload.\n\n@param AttachmentUpdateRequest $request\n@param int|string $workOrderId\n@param int|string $attachmentId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "ticket", "upload", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderAttachmentController.php#L109-L120", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/MetricPresenter.php", "func_name": "MetricPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all metrics.\n\n@param Metric $metric\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "metrics", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/MetricPresenter.php#L19-L28", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Presenter.php", "func_name": "Presenter.tableHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all revisions.\n\n@param string $for\n@param MorphMany $revisions\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "revisions", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Presenter.php#L92-L143", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ImageController.php", "func_name": "ImageController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads images and attaches them to the specified asset.\n\n@param ImageRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Uploads", "images", "and", "attaches", "them", "to", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ImageController.php#L71-L86", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ImageController.php", "func_name": "ImageController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the asset image.\n\n@param int|string $id\n@param int|string $imageId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "asset", "image", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ImageController.php#L96-L107", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ImageController.php", "func_name": "ImageController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified asset image upload.\n\n@param AttachmentUpdateRequest $request\n@param int|string $id\n@param int|string $imageId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "asset", "image", "upload", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ImageController.php#L139-L154", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/MetricProcessor.php", "func_name": "MetricProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all metrics.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "metrics", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/MetricProcessor.php#L40-L47", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/MetricProcessor.php", "func_name": "MetricProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new metric.\n\n@param MetricRequest $request\n\n@return mixed", "docstring_tokens": ["Creates", "a", "new", "metric", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/MetricProcessor.php#L68-L73", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/MetricProcessor.php", "func_name": "MetricProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified metric.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "metric", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/MetricProcessor.php#L96-L103", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Asset/AssetProcessor.php", "func_name": "AssetProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all assets.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "assets", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Asset/AssetProcessor.php#L47-L54", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Asset/AssetProcessor.php", "func_name": "AssetProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new asset.\n\n@param AssetRequest $request\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Asset/AssetProcessor.php#L75-L95", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Asset/AssetProcessor.php", "func_name": "AssetProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified asset.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Asset/AssetProcessor.php#L118-L125", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Asset/AssetProcessor.php", "func_name": "AssetProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified asset.\n\n@param AssetRequest $request\n@param int|string $id\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Asset/AssetProcessor.php#L135-L154", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Traits/HasScopeIdTrait.php", "func_name": "HasScopeIdTrait.scopeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows all tables extending from the base model to be scoped by ID.\n\n@param object $query\n@param int /string $id\n\n@return object", "docstring_tokens": ["Allows", "all", "tables", "extending", "from", "the", "base", "model", "to", "be", "scoped", "by", "ID", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Traits/HasScopeIdTrait.php#L15-L22", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Controller.php", "func_name": "Controller.response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the proper response to user. If the request was made from ajax, then an json response is sent.\nIf a request is a typical request without ajax, a user is sent a redirect with session flash messages.\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Returns", "the", "proper", "response", "to", "user", ".", "If", "the", "request", "was", "made", "from", "ajax", "then", "an", "json", "response", "is", "sent", ".", "If", "a", "request", "is", "a", "typical", "request", "without", "ajax", "a", "user", "is", "sent", "a", "redirect", "with", "session", "flash", "messages", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Controller.php#L63-L89", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Controller.php", "func_name": "Controller.input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns input from the client. If clean is set to true, the input will be\nran through the purifier before it is returned.\n\n@param string $name\n@param bool $clean\n\n@return mixed", "docstring_tokens": ["Returns", "input", "from", "the", "client", ".", "If", "clean", "is", "set", "to", "true", "the", "input", "will", "be", "ran", "through", "the", "purifier", "before", "it", "is", "returned", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Controller.php#L112-L123", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Traits/SelectHierarchyTrait.php", "func_name": "SelectHierarchyTrait.getSelectHierarchy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the complete nested set table in a nested list.\n\n@param string $belongsTo\n\n@return array", "docstring_tokens": ["Returns", "the", "complete", "nested", "set", "table", "in", "a", "nested", "list", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Traits/SelectHierarchyTrait.php#L16-L33", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Traits/SelectHierarchyTrait.php", "func_name": "SelectHierarchyTrait.getRenderedNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the specified category and it's children in single dimension array.\n\n@param Node $node\n\n@return array", "docstring_tokens": ["Renders", "the", "specified", "category", "and", "it", "s", "children", "in", "single", "dimension", "array", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Traits/SelectHierarchyTrait.php#L42-L63", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Providers/ComposerServiceProvider.php", "func_name": "ComposerServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers view composers during boot.\n\n@param Factory $view", "docstring_tokens": ["Registers", "view", "composers", "during", "boot", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Providers/ComposerServiceProvider.php#L24-L29", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Jobs/Attachment/Destroy.php", "func_name": "Destroy.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the current attachment as well as the file.\n\n@param Filesystem $filesystem\n\n@throws \\Exception\n\n@return bool", "docstring_tokens": ["Deletes", "the", "current", "attachment", "as", "well", "as", "the", "file", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Jobs/Attachment/Destroy.php#L36-L47", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all stocks for the specified inventory item.\n\n@param int|string $itemId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "stocks", "for", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L43-L52", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the from for creating a stock for.\n\n@param int|string $itemId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "from", "for", "creating", "a", "stock", "for", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L61-L68", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new stock on the specified item.\n\n@param InventoryStockRequest $request\n@param int|string $itemId\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "stock", "on", "the", "specified", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L78-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified items stock.\n\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "items", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L95-L104", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified items stock.\n\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "items", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L114-L123", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified inventory stock.\n\n@param InventoryStockRequest $request\n@param int|string $itemId\n@param int|string $stockId\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "inventory", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L134-L141", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryStockProcessor.php", "func_name": "InventoryStockProcessor.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified inventory stock.\n\n@param int|string $itemId\n@param int|string $stockId\n\n@return bool", "docstring_tokens": ["Deletes", "the", "specified", "inventory", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryStockProcessor.php#L151-L158", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all meters for the specified asset.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "meters", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L41-L46", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for creating a new meter for the specified asset.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "creating", "a", "new", "meter", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L55-L60", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new meter for the specified asset.\n\n@param MeterRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "new", "meter", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L70-L83", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified meter for the specified asset.\n\n@param int|string $id\n@param int|string $meterId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "meter", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L93-L100", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the\nspecified meter for the specified asset.\n\n@param int|string $id\n@param int|string $meterId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "meter", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L111-L120", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified meter attached to the specified asset.\n\n@param MeterRequest $request\n@param int|string $id\n@param int|string $meterId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "meter", "attached", "to", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L131-L144", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/Meter/Controller.php", "func_name": "Controller.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified meter for the specified asset.\n\n@param int|string $id\n@param int|string $meterId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "the", "specified", "meter", "for", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/Meter/Controller.php#L154-L169", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/NotificationController.php", "func_name": "NotificationController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new notification for the specified work order.\n\n@param string|int $workOrderId\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "new", "notification", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/NotificationController.php#L51-L70", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/NotificationController.php", "func_name": "NotificationController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified notification for the specified work order.\n\n@param string|int $workOrderId\n@param string|int $notificationId\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "notification", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/NotificationController.php#L80-L101", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/WorkOrder/WorkOrderViewer.php", "func_name": "WorkOrderViewer.startedAtFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The work order started at formatted string.\n\n@return null|string", "docstring_tokens": ["The", "work", "order", "started", "at", "formatted", "string", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/WorkOrder/WorkOrderViewer.php#L99-L110", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/WorkOrder/WorkOrderViewer.php", "func_name": "WorkOrderViewer.completedAtFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The work order completed at formatted string.\n\n@return null|string", "docstring_tokens": ["The", "work", "order", "completed", "at", "formatted", "string", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/WorkOrder/WorkOrderViewer.php#L117-L128", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderAssignedProcessor.php", "func_name": "WorkOrderAssignedProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the current users assigned work orders.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "current", "users", "assigned", "work", "orders", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderAssignedProcessor.php#L38-L45", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderCommentPresenter.php", "func_name": "WorkOrderCommentPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for the specified comment.\n\n@param WorkOrder $workOrder\n@param Comment $comment\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "the", "specified", "comment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderCommentPresenter.php#L21-L46", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/WorkOrderSession.php", "func_name": "WorkOrderSession.getHours", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of hours a session lasted with decimals.\n\n@return null|int", "docstring_tokens": ["Returns", "the", "number", "of", "hours", "a", "session", "lasted", "with", "decimals", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/WorkOrderSession.php#L70-L81", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.startDateFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Presents the correct start date formatted for editing.\n\n@param Event $apiObject\n\n@return string", "docstring_tokens": ["Presents", "the", "correct", "start", "date", "formatted", "for", "editing", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L89-L96", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.endDateFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Presents the correct end date formatted for editing.\n\n@param Event $apiObject\n\n@return string", "docstring_tokens": ["Presents", "the", "correct", "end", "date", "formatted", "for", "editing", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L145-L152", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.endTimeFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Presents the correct end time formatted for editing.\n\n@param Event $apiObject\n\n@return string|null", "docstring_tokens": ["Presents", "the", "correct", "end", "time", "formatted", "for", "editing", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L161-L172", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.recurFrequencyFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Presents the API events recurrence frequency in a nicer format.\n\n@param Event $apiObject\n\n@return string", "docstring_tokens": ["Presents", "the", "API", "events", "recurrence", "frequency", "in", "a", "nicer", "format", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L181-L188", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.recurFrequency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the API events actual recurrence frequency array.\n\n@param Event $apiObject\n\n@return array|null", "docstring_tokens": ["Returns", "the", "API", "events", "actual", "recurrence", "frequency", "array", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L197-L206", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.recurDays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the API events actual recurring days array.\n\n@return array|null", "docstring_tokens": ["Returns", "the", "API", "events", "actual", "recurring", "days", "array", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L213-L222", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Event/EventViewer.php", "func_name": "EventViewer.tags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the events tags view.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Returns", "the", "events", "tags", "view", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Event/EventViewer.php#L229-L244", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockController.php", "func_name": "StockController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new stock entry for the specified inventory item.\n\n@param InventoryStockRequest $request\n@param int|string $itemId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Create", "a", "new", "stock", "entry", "for", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockController.php#L58-L69", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockController.php", "func_name": "StockController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified stock for the specified inventory.\n\n@param InventoryStockRequest $request\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "stock", "for", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockController.php#L106-L117", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/StockController.php", "func_name": "StockController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the specified stock from the specified inventory.\n\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Removes", "the", "specified", "stock", "from", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/StockController.php#L127-L138", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderAttachmentPresenter.php", "func_name": "WorkOrderAttachmentPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all the specified work orders attachments.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "the", "specified", "work", "orders", "attachments", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderAttachmentPresenter.php#L23-L56", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderAttachmentPresenter.php", "func_name": "WorkOrderAttachmentPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for the specified work order attachment.\n\n@param WorkOrder $workOrder\n@param Attachment $attachment\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "the", "specified", "work", "order", "attachment", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderAttachmentPresenter.php#L66-L103", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/AuthController.php", "func_name": "AuthController.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a login request to the application.\n\n@param LoginRequest $request\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Handle", "a", "login", "request", "to", "the", "application", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/AuthController.php#L61-L91", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/AuthController.php", "func_name": "AuthController.handleUserWasAuthenticated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the response after the user was authenticated.\n\n@param \\Illuminate\\Http\\Request $request\n@param bool $throttles\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Send", "the", "response", "after", "the", "user", "was", "authenticated", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/AuthController.php#L101-L116", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/AuthController.php", "func_name": "AuthController.handleLdapUserWasAuthenticated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches roles depending on the users active directory group.\n\n@param User $user\n@param AdldapUser $adldapUser", "docstring_tokens": ["Attaches", "roles", "depending", "on", "the", "users", "active", "directory", "group", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/AuthController.php#L124-L133", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Observers/InventoryStockObserver.php", "func_name": "InventoryStockObserver.deleted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Captures the Inventory Stock models deleted event\nand cascades the delete to all of it's movements.\n\n@param InventoryStock $stock", "docstring_tokens": ["Captures", "the", "Inventory", "Stock", "models", "deleted", "event", "and", "cascades", "the", "delete", "to", "all", "of", "it", "s", "movements", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Observers/InventoryStockObserver.php#L15-L24", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Observers/InventoryStockObserver.php", "func_name": "InventoryStockObserver.restored", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Captures the Inventory Stock models restored event\nand cascades the restore to all of it's movements.\n\n@param InventoryStock $stock", "docstring_tokens": ["Captures", "the", "Inventory", "Stock", "models", "restored", "event", "and", "cascades", "the", "restore", "to", "all", "of", "it", "s", "movements", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Observers/InventoryStockObserver.php#L32-L41", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPriorityPresenter.php", "func_name": "WorkOrderPriorityPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all priorities.\n\n@param Priority $priority\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "priorities", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPriorityPresenter.php#L23-L46", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPriorityPresenter.php", "func_name": "WorkOrderPriorityPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for priorities.\n\n@param Priority $priority\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "priorities", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPriorityPresenter.php#L55-L92", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php", "func_name": "WorkOrderPartStockPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of stocks for the specified inventory\nitem for work order part selection.\n\n@param WorkOrder $workOrder\n@param Inventory $item\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "stocks", "for", "the", "specified", "inventory", "item", "for", "work", "order", "part", "selection", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php#L26-L57", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php", "func_name": "WorkOrderPartStockPresenter.formTake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for taking stock from the specified\ninventory for the specified work order.\n\n@param WorkOrder $workOrder\n@param Inventory $inventory\n@param InventoryStock $stock\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "taking", "stock", "from", "the", "specified", "inventory", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php#L129-L150", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php", "func_name": "WorkOrderPartStockPresenter.formPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for putting the stock from the\nspecified work order back into inventory.\n\n@param WorkOrder $workOrder\n@param Inventory $inventory\n@param InventoryStock $stock\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "putting", "the", "stock", "from", "the", "specified", "work", "order", "back", "into", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartStockPresenter.php#L162-L185", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/InventoryController.php", "func_name": "InventoryController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified inventory item.\n\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/InventoryController.php#L118-L129", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Flash.php", "func_name": "Flash.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a new session flash message.\n\n@param string $title\n@param string $message\n@param string $level\n@param string $key", "docstring_tokens": ["Generates", "a", "new", "session", "flash", "message", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Flash.php#L36-L41", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderReportController.php", "func_name": "WorkOrderReportController.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for creating a report\nfor the specified work order.\n\n@param int|string $workOrderId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "creating", "a", "report", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderReportController.php#L35-L44", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderReportController.php", "func_name": "WorkOrderReportController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new report for the specified work order.\n\n@param ReportRequest $request\n@param int|string $workOrderId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "new", "report", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderReportController.php#L54-L65", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/EventableController.php", "func_name": "EventableController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all of the specified eventables events.\n\n@param int|string $resourceId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "of", "the", "specified", "eventables", "events", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/EventableController.php#L40-L47", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/EventableController.php", "func_name": "EventableController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new event and attaches it to the specified eventable.\n\n@param EventRequest $request\n@param int|string $resourceId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "new", "event", "and", "attaches", "it", "to", "the", "specified", "eventable", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/EventableController.php#L73-L90", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/EventableController.php", "func_name": "EventableController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified event attached to the specified eventable.\n\n@param int|string $resourceId\n@param int|string $eventId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "event", "attached", "to", "the", "specified", "eventable", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/EventableController.php#L100-L117", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/EventableController.php", "func_name": "EventableController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified event attached to the specified eventable.\n\n@param EventRequest $request\n@param int|string $resourceId\n@param int|string $eventId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "event", "attached", "to", "the", "specified", "eventable", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/EventableController.php#L153-L168", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Event/EventableController.php", "func_name": "EventableController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified event attached to the specified eventable.\n\n@param int|string $resourceId\n@param int|string $eventId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "the", "specified", "event", "attached", "to", "the", "specified", "eventable", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Event/EventableController.php#L178-L197", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Traits/HasCategoryTrait.php", "func_name": "HasCategoryTrait.scopeCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters results by specified category.\n\n@param mixed $query\n@param int|string $categoryId\n\n@return mixed", "docstring_tokens": ["Filters", "results", "by", "specified", "category", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Traits/HasCategoryTrait.php#L47-L63", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/LoginPresenter.php", "func_name": "LoginPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a form for the login page.\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "form", "for", "the", "login", "page", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/LoginPresenter.php#L15-L32", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ManualController.php", "func_name": "ManualController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads manuals and attaches them to the specified asset.\n\n@param ManualRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Uploads", "manuals", "and", "attaches", "them", "to", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ManualController.php#L66-L81", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ManualController.php", "func_name": "ManualController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the asset manual.\n\n@param int|string $id\n@param int|string $manualId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "asset", "manual", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ManualController.php#L91-L102", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/ManualController.php", "func_name": "ManualController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified asset manual upload.\n\n@param AttachmentUpdateRequest $request\n@param int|string $id\n@param int|string $manualId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "asset", "manual", "upload", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/ManualController.php#L134-L149", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/WorkOrderController.php", "func_name": "WorkOrderController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches the specified work order to the specified asset.\n\n@param int|string $assetId\n@param int|string $workOrderId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Attaches", "the", "specified", "work", "order", "to", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/WorkOrderController.php#L61-L72", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Asset/WorkOrderController.php", "func_name": "WorkOrderController.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the specified work order from the specified asset.\n\n@param int|string $assetId\n@param int|string $workOrderId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Removes", "the", "specified", "work", "order", "from", "the", "specified", "asset", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Asset/WorkOrderController.php#L82-L93", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkRequest/UpdateController.php", "func_name": "UpdateController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new work order customer update.\n\n@param int $workRequestId\n\n@return mixed", "docstring_tokens": ["Creates", "a", "new", "work", "order", "customer", "update", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkRequest/UpdateController.php#L46-L64", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkRequest/UpdateController.php", "func_name": "UpdateController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes deleting a work order update.\n\n@param $workRequestId\n@param $updateId\n\n@return \\Illuminate\\Http\\JsonResponse|mixed", "docstring_tokens": ["Processes", "deleting", "a", "work", "order", "update", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkRequest/UpdateController.php#L74-L89", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartStockProcessor.php", "func_name": "WorkOrderPartStockProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all stocks and variants available for selection.\n\n@param int|string $workOrderId\n@param int|string $itemId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "stocks", "and", "variants", "available", "for", "selection", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartStockProcessor.php#L48-L59", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartStockProcessor.php", "func_name": "WorkOrderPartStockProcessor.getTake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for taking inventory for the specified work order.\n\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "taking", "inventory", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartStockProcessor.php#L70-L81", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartStockProcessor.php", "func_name": "WorkOrderPartStockProcessor.postTake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes taking inventory for the specified work order.\n\n@param PartTakeRequest $request\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@throws \\Stevebauman\\Inventory\\Exceptions\\InvalidQuantityException\n@throws \\Stevebauman\\Inventory\\Exceptions\\NotEnoughStockException\n\n@return bool", "docstring_tokens": ["Processes", "taking", "inventory", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartStockProcessor.php#L96-L105", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartStockProcessor.php", "func_name": "WorkOrderPartStockProcessor.getPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for putting inventory from the\nwork order back into the specified stock.\n\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "putting", "inventory", "from", "the", "work", "order", "back", "into", "the", "specified", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartStockProcessor.php#L117-L128", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderPartStockProcessor.php", "func_name": "WorkOrderPartStockProcessor.postPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes returning stock from the work order back into the specified inventory.\n\n@param PartReturnRequest $request\n@param int|string $workOrderId\n@param int|string $itemId\n@param int|string $stockId\n\n@throws \\Stevebauman\\Inventory\\Exceptions\\InvalidQuantityException\n\n@return bool", "docstring_tokens": ["Processes", "returning", "stock", "from", "the", "work", "order", "back", "into", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderPartStockProcessor.php#L142-L157", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkRequest/WorkRequestProcessor.php", "func_name": "WorkRequestProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all work requests.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "work", "requests", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkRequest/WorkRequestProcessor.php#L42-L49", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkRequest/WorkRequestProcessor.php", "func_name": "WorkRequestProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified work request.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkRequest/WorkRequestProcessor.php#L104-L111", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkRequest/WorkRequestProcessor.php", "func_name": "WorkRequestProcessor.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified work request.\n\n@param WorkHttpRequest $request\n@param int|string $id\n\n@return bool", "docstring_tokens": ["Updates", "the", "specified", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkRequest/WorkRequestProcessor.php#L121-L126", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/NestedSetController.php", "func_name": "NestedSetController.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows the form for creating a new category\nor category node if an ID is supplied.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Shows", "the", "form", "for", "creating", "a", "new", "category", "or", "category", "node", "if", "an", "ID", "is", "supplied", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/NestedSetController.php#L51-L70", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/NestedSetController.php", "func_name": "NestedSetController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes storing a new category or storing a new category\nunderneath another if an ID is specified.\n\n@param CategoryRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "storing", "a", "new", "category", "or", "storing", "a", "new", "category", "underneath", "another", "if", "an", "ID", "is", "specified", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/NestedSetController.php#L81-L94", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/NestedSetController.php", "func_name": "NestedSetController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for editing the specified category.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Show", "the", "form", "for", "editing", "the", "specified", "category", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/NestedSetController.php#L103-L112", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/NestedSetController.php", "func_name": "NestedSetController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes updating the specified category.\n\n@param CategoryRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "updating", "the", "specified", "category", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/NestedSetController.php#L122-L135", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/NestedSetController.php", "func_name": "NestedSetController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes removing the specified category.\n\n@param int|string $id\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Processes", "removing", "the", "specified", "category", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/NestedSetController.php#L144-L157", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderSessionPresenter.php", "func_name": "WorkOrderSessionPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all work order sessions.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "work", "order", "sessions", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderSessionPresenter.php#L20-L51", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderSessionPresenter.php", "func_name": "WorkOrderSessionPresenter.tablePerWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays unique sessions per worker and totals their hours.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Displays", "unique", "sessions", "per", "worker", "and", "totals", "their", "hours", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderSessionPresenter.php#L60-L83", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Observers/InventoryObserver.php", "func_name": "InventoryObserver.deleted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Captures the Inventory models deleted event\nand cascades the delete to all of it's stocks.\n\n@param Inventory $model", "docstring_tokens": ["Captures", "the", "Inventory", "models", "deleted", "event", "and", "cascades", "the", "delete", "to", "all", "of", "it", "s", "stocks", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Observers/InventoryObserver.php#L15-L24", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/Observers/InventoryObserver.php", "func_name": "InventoryObserver.restored", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Captures the Inventory models restored event\nand cascades the restore to all of it's stocks.\n\n@param Inventory $model", "docstring_tokens": ["Captures", "the", "Inventory", "models", "restored", "event", "and", "cascades", "the", "restore", "to", "all", "of", "it", "s", "stocks", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/Observers/InventoryObserver.php#L32-L41", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryProcessor.php", "func_name": "InventoryProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all inventory items.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "inventory", "items", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryProcessor.php#L41-L48", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryProcessor.php", "func_name": "InventoryProcessor.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new inventory item.\n\n@param InventoryRequest $request\n\n@return bool", "docstring_tokens": ["Creates", "a", "new", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryProcessor.php#L69-L74", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryProcessor.php", "func_name": "InventoryProcessor.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified inventory item.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryProcessor.php#L83-L105", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/Inventory/InventoryProcessor.php", "func_name": "InventoryProcessor.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the form for editing the specified inventory item.\n\n@param int|string $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "form", "for", "editing", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/Inventory/InventoryProcessor.php#L114-L121", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryStockPresenter.php", "func_name": "InventoryStockPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all stocks of the specified inventory item.\n\n@param Inventory $item\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "stocks", "of", "the", "specified", "inventory", "item", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryStockPresenter.php#L26-L59", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryStockPresenter.php", "func_name": "InventoryStockPresenter.tableMovements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all movements for the specified inventory stock.\n\n@param Inventory $item\n@param InventoryStock $stock\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "movements", "for", "the", "specified", "inventory", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryStockPresenter.php#L69-L100", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryStockPresenter.php", "func_name": "InventoryStockPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form of the specified inventory stock.\n\n@param Inventory $item\n@param InventoryStock $stock\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "of", "the", "specified", "inventory", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryStockPresenter.php#L110-L155", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/Inventory/InventoryStockPresenter.php", "func_name": "InventoryStockPresenter.navbar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new navbar for the inventory stock index.\n\n@param Inventory $item\n\n@return \\Illuminate\\Support\\Fluent", "docstring_tokens": ["Returns", "a", "new", "navbar", "for", "the", "inventory", "stock", "index", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/Inventory/InventoryStockPresenter.php#L164-L175", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php", "func_name": "WorkOrderPartPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all parts attached to the specified work order.\n\n@param WorkOrder $workOrder\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "parts", "attached", "to", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php#L22-L72", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php", "func_name": "WorkOrderPartPresenter.tableInventory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all inventory available for selection.\n\n@param WorkOrder $workOrder\n@param Inventory $inventory\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Displays", "all", "inventory", "available", "for", "selection", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php#L82-L133", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php", "func_name": "WorkOrderPartPresenter.navbarParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new navbar for the work order parts table.\n\n@param WorkOrder $workOrder\n\n@return \\Illuminate\\Support\\Fluent", "docstring_tokens": ["Returns", "a", "new", "navbar", "for", "the", "work", "order", "parts", "table", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkOrder/WorkOrderPartPresenter.php#L142-L153", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderSessionProcessor.php", "func_name": "WorkOrderSessionProcessor.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays all sessions for the specified work order.\n\n@param int|string $workOrderId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "all", "sessions", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderSessionProcessor.php#L42-L51", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderSessionProcessor.php", "func_name": "WorkOrderSessionProcessor.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the current users session for the specified work order.\n\n@param int|string $workOrderId\n\n@return mixed", "docstring_tokens": ["Starts", "the", "current", "users", "session", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderSessionProcessor.php#L60-L65", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Processors/WorkOrder/WorkOrderSessionProcessor.php", "func_name": "WorkOrderSessionProcessor.end", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ends the current users session for the specified work order.\n\n@param int|string $workOrderId\n\n@return mixed", "docstring_tokens": ["Ends", "the", "current", "users", "session", "for", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Processors/WorkOrder/WorkOrderSessionProcessor.php#L74-L79", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/InventoryStockMovement.php", "func_name": "InventoryStockMovement.getChangeAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the change of a stock.\n\nFor example: '+ 25' or '- 25'\n\n@return string", "docstring_tokens": ["Returns", "the", "change", "of", "a", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/InventoryStockMovement.php#L79-L88", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/NoteController.php", "func_name": "NoteController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a note for the specified inventory.\n\n@param NoteRequest $request\n@param int|string $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Creates", "a", "note", "for", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/NoteController.php#L48-L61", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/NoteController.php", "func_name": "NoteController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the specified inventory note.\n\n@param int|string $id\n@param int|string $noteId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Displays", "the", "specified", "inventory", "note", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/NoteController.php#L71-L82", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/NoteController.php", "func_name": "NoteController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the specified note for the specified inventory.\n\n@param NoteRequest $request\n@param int|string $id\n@param int|string $noteId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Updates", "the", "specified", "note", "for", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/NoteController.php#L114-L127", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/Inventory/NoteController.php", "func_name": "NoteController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the specified note attached to the specified inventory.\n\n@param int|string $id\n@param int|string $noteId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Deletes", "the", "specified", "note", "attached", "to", "the", "specified", "inventory", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/Inventory/NoteController.php#L137-L148", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/InventoryStock.php", "func_name": "InventoryStock.getLastMovementAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for viewing the last movement of the stock.\n\n@return null|string", "docstring_tokens": ["Accessor", "for", "viewing", "the", "last", "movement", "of", "the", "stock", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/InventoryStock.php#L115-L131", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/InventoryStock.php", "func_name": "InventoryStock.getLastMovementByAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for viewing the user responsible for the last\nmovement.\n\n@return null|string", "docstring_tokens": ["Accessor", "for", "viewing", "the", "user", "responsible", "for", "the", "last", "movement", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/InventoryStock.php#L139-L151", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Models/InventoryStock.php", "func_name": "InventoryStock.getQuantityMetricAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for viewing the quantity combined with the item metric.\n\n@return string", "docstring_tokens": ["Accessor", "for", "viewing", "the", "quantity", "combined", "with", "the", "item", "metric", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Models/InventoryStock.php#L158-L169", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Inventory/InventoryStockViewer.php", "func_name": "InventoryStockViewer.btnPutBackSomeForWorkOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the stocks put back some work order button view.\n\n@param WorkOrder $workOrder\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Returns", "the", "stocks", "put", "back", "some", "work", "order", "button", "view", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Inventory/InventoryStockViewer.php#L72-L82", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Viewers/Inventory/InventoryStockViewer.php", "func_name": "InventoryStockViewer.btnPutBackAllForWorkOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the stocks put back all work order button view.\n\n@param WorkOrder $workOrder\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Returns", "the", "stocks", "put", "back", "all", "work", "order", "button", "view", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Viewers/Inventory/InventoryStockViewer.php#L91-L101", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/WorkOrderSessionController.php", "func_name": "WorkOrderSessionController.end", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ends a maintenance workers session on a work order.\n\n@param int|string $workOrderId\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Ends", "a", "maintenance", "workers", "session", "on", "a", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/WorkOrderSessionController.php#L64-L75", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkRequest/WorkRequestPresenter.php", "func_name": "WorkRequestPresenter.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new table of all work requests.\n\n@param WorkRequest $workRequest\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "table", "of", "all", "work", "requests", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkRequest/WorkRequestPresenter.php#L21-L42", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Presenters/WorkRequest/WorkRequestPresenter.php", "func_name": "WorkRequestPresenter.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new form for the specified work request.\n\n@param WorkRequest $request\n\n@return \\Orchestra\\Contracts\\Html\\Builder", "docstring_tokens": ["Returns", "a", "new", "form", "for", "the", "specified", "work", "request", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Presenters/WorkRequest/WorkRequestPresenter.php#L51-L85", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/AssignmentController.php", "func_name": "AssignmentController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assigns workers to the specified work order ID.\n\n@param string|int $workOrder_id\n\n@return \\Illuminate\\Http\\JsonResponse|\\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Assigns", "workers", "to", "the", "specified", "work", "order", "ID", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/AssignmentController.php#L66-L91", "partition": "test"} +{"repo": "stevebauman/maintenance", "path": "app/Http/Controllers/WorkOrder/AssignmentController.php", "func_name": "AssignmentController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the specified assignent from the specified work order.\n\n@param string|int $workOrder_id\n@param string|int $assignment_id\n\n@return \\Illuminate\\Http\\JsonResponse|mixed", "docstring_tokens": ["Removes", "the", "specified", "assignent", "from", "the", "specified", "work", "order", "."], "sha": "3a205c7e809da015cbf978aeb7d11af54e65084a", "url": "https://github.com/stevebauman/maintenance/blob/3a205c7e809da015cbf978aeb7d11af54e65084a/app/Http/Controllers/WorkOrder/AssignmentController.php#L101-L114", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Selection.php", "func_name": "Selection.datalist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a datalist box field.\n\n@param string $id\n@param array $list\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "datalist", "box", "field", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Selection.php#L85-L108", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Selection.php", "func_name": "Selection.placeholderOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a placeholder select element option.\n\n@param string $display\n@param string|iterable|null $selected\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "placeholder", "select", "element", "option", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Selection.php#L215-L228", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Creator.php", "func_name": "Creator.getAppendage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the form appendage for the given method.\n\n@param string $method\n\n@return string", "docstring_tokens": ["Get", "the", "form", "appendage", "for", "the", "given", "method", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Creator.php#L109-L128", "partition": "test"} +{"repo": "laravie/html", "path": "src/Componentable.php", "func_name": "Componentable.renderComponent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a custom component.\n\n@param string $name\n@param array $arguments\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Render", "a", "custom", "component", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Componentable.php#L52-L60", "partition": "test"} +{"repo": "laravie/html", "path": "src/Componentable.php", "func_name": "Componentable.getComponentData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the component data, while respecting provided defaults.\n\n@param array $signature\n@param array $arguments\n\n@return array", "docstring_tokens": ["Prepare", "the", "component", "data", "while", "respecting", "provided", "defaults", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Componentable.php#L70-L90", "partition": "test"} +{"repo": "laravie/html", "path": "src/BladeServiceProvider.php", "func_name": "BladeServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Blade directives.\n\n@return void", "docstring_tokens": ["Register", "Blade", "directives", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/BladeServiceProvider.php#L30-L51", "partition": "test"} +{"repo": "laravie/html", "path": "src/FormBuilder.php", "func_name": "FormBuilder.model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new model based form builder.\n\n@param mixed $model\n@param array $options\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "new", "model", "based", "form", "builder", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/FormBuilder.php#L111-L116", "partition": "test"} +{"repo": "laravie/html", "path": "src/FormBuilder.php", "func_name": "FormBuilder.formatLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the label value.\n\n@param string $name\n@param string|null $value\n\n@return string", "docstring_tokens": ["Format", "the", "label", "value", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/FormBuilder.php#L168-L171", "partition": "test"} +{"repo": "laravie/html", "path": "src/FormBuilder.php", "func_name": "FormBuilder.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a HTML reset input element.\n\n@param string|null $value\n@param array $attributes\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "HTML", "reset", "input", "element", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/FormBuilder.php#L193-L196", "partition": "test"} +{"repo": "laravie/html", "path": "src/FormBuilder.php", "func_name": "FormBuilder.submit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a submit button element.\n\n@param string|null $value\n@param array $options\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "submit", "button", "element", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/FormBuilder.php#L220-L223", "partition": "test"} +{"repo": "laravie/html", "path": "src/FormBuilder.php", "func_name": "FormBuilder.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get value from current Request.\n\n@param string $name\n\n@return array|string|null", "docstring_tokens": ["Get", "value", "from", "current", "Request", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/FormBuilder.php#L317-L324", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.linkAsset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a HTML link to an asset.\n\n@param string $url\n@param string|null $title\n@param array $attributes\n@param bool|null $secure\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Generate", "a", "HTML", "link", "to", "an", "asset", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlBuilder.php#L201-L206", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.linkRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a HTML link to a named route.\n\n@param string $name\n@param string|null $title\n@param array $parameters\n@param array $attributes\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Generate", "a", "HTML", "link", "to", "a", "named", "route", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlBuilder.php#L232-L235", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.listingElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the HTML for a listing element.\n\n@param mixed $key\n@param string $type\n@param mixed $value\n\n@return string", "docstring_tokens": ["Create", "the", "HTML", "for", "a", "listing", "element", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlBuilder.php#L392-L399", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.attributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an HTML attribute string from an array.\n\n@param array $attributes\n\n@return string", "docstring_tokens": ["Build", "an", "HTML", "attribute", "string", "from", "an", "array", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlBuilder.php#L426-L450", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlServiceProvider.php", "func_name": "HtmlServiceProvider.registerHtmlBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the HTML builder instance.\n\n@return void", "docstring_tokens": ["Register", "the", "HTML", "builder", "instance", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlServiceProvider.php#L30-L37", "partition": "test"} +{"repo": "laravie/html", "path": "src/HtmlServiceProvider.php", "func_name": "HtmlServiceProvider.registerFormBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the form builder instance.\n\n@return void", "docstring_tokens": ["Register", "the", "form", "builder", "instance", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/HtmlServiceProvider.php#L44-L51", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Input.php", "func_name": "Input.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a search input field.\n\n@param string $name\n@param string|null $value\n@param array $options\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "search", "input", "field", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Input.php#L59-L62", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Input.php", "func_name": "Input.datetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a datetime input field.\n\n@param string $name\n@param \\DateTime|string|null $value\n@param array $options\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "datetime", "input", "field", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Input.php#L188-L195", "partition": "test"} +{"repo": "laravie/html", "path": "src/Concerns/Input.php", "func_name": "Input.file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a file input field.\n\n@param string $name\n@param array $options\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable", "docstring_tokens": ["Create", "a", "file", "input", "field", "."], "sha": "b5428277451b00d54abc6d31307a45c8999e197b", "url": "https://github.com/laravie/html/blob/b5428277451b00d54abc6d31307a45c8999e197b/src/Concerns/Input.php#L292-L295", "partition": "test"} +{"repo": "leo108/laravel_cas_server", "path": "src/Responses/BaseXmlResponse.php", "func_name": "BaseXmlResponse.removeXmlFirstLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove the first line of xml string\n@param string $str\n@return string", "docstring_tokens": ["remove", "the", "first", "line", "of", "xml", "string"], "sha": "96a46d7d033da0b584ab99b6e0955390ebf79ebd", "url": "https://github.com/leo108/laravel_cas_server/blob/96a46d7d033da0b584ab99b6e0955390ebf79ebd/src/Responses/BaseXmlResponse.php#L56-L64", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Dictionary.php", "func_name": "Dictionary.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a given locale-file as base for the dictionary\n\n@param string $locale Load the file for the given locale\n\n@return Dictionary", "docstring_tokens": ["Load", "a", "given", "locale", "-", "file", "as", "base", "for", "the", "dictionary"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Dictionary.php#L108-L121", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Dictionary.php", "func_name": "Dictionary.parseFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parse a dictionary-file to create an ini-file from it.\n\n@param string $locale Parse the file for the given locale\n\n@throws \\Org\\Heigl\\Hyphenator\\Exception\\PathNotFoundException\n@return string", "docstring_tokens": ["parse", "a", "dictionary", "-", "file", "to", "create", "an", "ini", "-", "file", "from", "it", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Dictionary.php#L131-L173", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Dictionary.php", "func_name": "Dictionary.getPatternsForWord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all patterns for a given word.\n\n@param string $word The word to get the patterns for.\n\n@return array", "docstring_tokens": ["Get", "all", "patterns", "for", "a", "given", "word", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Dictionary.php#L182-L198", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Dictionary.php", "func_name": "Dictionary.unifyLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unify the given locale to a default format.\n\nFor that in a 2 by 2 format the whole string is splited, the first part\nlowercased, the sewcond part upercased and concatenated with n under-\nscore.\n\na 2letter locae will simply be lowercased.\n\neverything else will be returned AS IS\n\n@param string $locale The locale to unify\n\n@return string", "docstring_tokens": ["Unify", "the", "given", "locale", "to", "a", "default", "format", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Dictionary.php#L230-L240", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Tokenizer/TokenizerRegistry.php", "func_name": "TokenizerRegistry.tokenize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass the given string through the given tokenizers\n\n@param string $string The String to be tokenized\n\n@return \\Org\\Heigl\\Hyphenator\\TokenRegistry", "docstring_tokens": ["Pass", "the", "given", "string", "through", "the", "given", "tokenizers"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Tokenizer/TokenizerRegistry.php#L110-L122", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Tokenizer/CustomHyphenationTokenizer.php", "func_name": "CustomHyphenationTokenizer.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the given input into tokens using punktuation marks as splitter\n\nThe input can be a string or a tokenRegistry. If the input is a\nTokenRegistry, each item will be tokenized.\n\n@param string|\\Org\\Heigl\\Hyphenator\\Tokenizer\\TokenRegistry $input The\ninput to be tokenized\n\n@return \\Org\\Heigl\\Hyphenator\\Tokenizer\\TokenRegistry", "docstring_tokens": ["Split", "the", "given", "input", "into", "tokens", "using", "punktuation", "marks", "as", "splitter"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Tokenizer/CustomHyphenationTokenizer.php#L72-L96", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Filter/Filter.php", "func_name": "Filter.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the options-object for this filter\n\n@param \\Org\\Heigl\\Hyphenator\\Options $options The options to set\n\n@return Filter", "docstring_tokens": ["Set", "the", "options", "-", "object", "for", "this", "filter"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Filter/Filter.php#L68-L73", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/DictionaryRegistry.php", "func_name": "DictionaryRegistry.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an item to the registry.\n\n@param Dictionary $dict The Dictionary to add to the registry\n\n@return DictionaryRegistry", "docstring_tokens": ["Add", "an", "item", "to", "the", "registry", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/DictionaryRegistry.php#L65-L72", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/DictionaryRegistry.php", "func_name": "DictionaryRegistry.getHyphenationPattterns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of hyphenation-patterns for a given word.\n\n@param string $word The word to get the patterns for.\n\n@return array", "docstring_tokens": ["Get", "an", "array", "of", "hyphenation", "-", "patterns", "for", "a", "given", "word", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/DictionaryRegistry.php#L97-L105", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Options.php", "func_name": "Options.setFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the filters\n\n@param string|array $filters The filters to use as comma separated list\nor array\n\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Set", "the", "filters"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Options.php#L330-L341", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Options.php", "func_name": "Options.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a filter to the options-array\n\n@param string|Filter $filter The filter to be added\n\n@throws \\UnexpectedValueException\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Add", "a", "filter", "to", "the", "options", "-", "array"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Options.php#L351-L364", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Options.php", "func_name": "Options.setTokenizers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the tokenizers to use\n\n@param string|array $tokenizers The Tokenizers to use\n\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Set", "the", "tokenizers", "to", "use"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Options.php#L383-L394", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Options.php", "func_name": "Options.addTokenizer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a tokenizer to the tomeizer-list\n\n@param string|Tokenizer $tokenizer The tokenizer to add\n\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Add", "a", "tokenizer", "to", "the", "tomeizer", "-", "list"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Options.php#L403-L419", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Options.php", "func_name": "Options.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an Option-Object by parsing a given file.\n\n@param string $file The config-file to be parsed\n\n@throws \\Org\\Heigl\\Hyphenator\\Exception\\PathNotFoundException\n@throws \\Org\\Heigl\\Hyphenator\\Exception\\InvalidArgumentException\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Create", "an", "Option", "-", "Object", "by", "parsing", "a", "given", "file", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Options.php#L440-L462", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Pattern.php", "func_name": "Pattern.getText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the text of the pattern\n\n@throws \\Org\\Heigl\\Hyphenator\\Exception\\NoPatternSetException\n@return string", "docstring_tokens": ["Get", "the", "text", "of", "the", "pattern"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Pattern.php#L124-L131", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Dictionary/Pattern.php", "func_name": "Pattern.getPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the pattern of this instance\n\n@throws \\Org\\Heigl\\Hyphenator\\Exception\\NoPatternSetException\n@return string", "docstring_tokens": ["Get", "the", "pattern", "of", "this", "instance"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Dictionary/Pattern.php#L139-L146", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Options\n\n@param \\Org\\Heigl\\Hyphenator\\Options $options The options to set\n\n@return \\Org\\Heigl\\Hyphenator\\Hyphenator", "docstring_tokens": ["Set", "the", "Options"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L201-L210", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Options\n\n@return \\Org\\Heigl\\Hyphenator\\Options", "docstring_tokens": ["Get", "the", "Options"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L217-L225", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.addDictionary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a Dictionary to the Hyphenator\n\n@param \\Org\\Heigl\\Hyphenator\\Dictionary\\Dictionary $dictionary The\nDictionary wit hyphenation-Patterns to add to this Hyphenator\n\n@return Org\\Heigl\\Hyphenator\\Hyphenator", "docstring_tokens": ["Add", "a", "Dictionary", "to", "the", "Hyphenator"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L235-L244", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a Filter to the Hyphenator\n\n@param \\Org\\Heigl\\Hyphenator\\Filter\\Filter|string $filter The Filter with\nnon-standard-hyphenation-patterns\n\n@link http://hunspell.sourceforge.net/tb87nemeth.pdf\n@return Org\\Heigl\\Hyphenator\\Hyphenator", "docstring_tokens": ["Add", "a", "Filter", "to", "the", "Hyphenator"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L255-L265", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.addTokenizer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a tokenizer to the tokenizer-registry\n\n@param Tokenizer\\Tokenizer|string $tokenizer The tokenizer to add\n\n@return Hyphenator", "docstring_tokens": ["Add", "a", "tokenizer", "to", "the", "tokenizer", "-", "registry"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L274-L283", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getTokenizers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tokenizers\n\n@return Tokenizer\\TokenizerRegistry", "docstring_tokens": ["Get", "the", "tokenizers"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L290-L299", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getDictionaries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the dictionaries\n\n@return Dictionaries\\DictionaryRegistry", "docstring_tokens": ["Get", "the", "dictionaries"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L306-L313", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the filters\n\n@return Filter\\FilterRegistry", "docstring_tokens": ["Get", "the", "filters"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L320-L329", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.hyphenate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method does the actual hyphenation.\n\nThe given $string is splitted into chunks (i.e. Words) at\nevery blank.\n\nAfter that every chunk is hyphenated and the array of chunks is merged\ninto a single string using blanks again.\n\nThis method does not take into account other word-delimiters than blanks\n(eg. returns or tabstops) and it will fail with texts containing markup\nin any way.\n\n@param string $string The string to hyphenate\n\n@return string The hyphenated string", "docstring_tokens": ["This", "method", "does", "the", "actual", "hyphenation", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L360-L371", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getHyphenationPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the hyphenation pattern for the contained tokens\n\nUse the dictionaties and options of the given Hyphenator-Object\n\n@param Tokenizer\\TokenRegistry $registry The Hyphenator object containing the\ndictionaries and options\n\n@return Tokenizer\\TokenRegistry", "docstring_tokens": ["Get", "the", "hyphenation", "pattern", "for", "the", "contained", "tokens"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L383-L397", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getPatternForToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hyphenate a Token-Object\n\n@param Tokenizer\\Token $token The token to hyphenate\n\n@return Tokenizer\\Token", "docstring_tokens": ["Hyphenate", "a", "Token", "-", "Object"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L419-L426", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.setDefaultHomePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the default home-Path\n\n@param string $homePath The default Hyphenator Home-path.\n\n@throws Exception\\PathNotFoundException\n@throws Exception\\PathNotDirException\n@return void", "docstring_tokens": ["Set", "the", "default", "home", "-", "Path"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L437-L447", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.getDefaultHomePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the default Home-Path\n\n@return string", "docstring_tokens": ["Get", "the", "default", "Home", "-", "Path"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L454-L469", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.setHomePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the instance-home-Path\n\n@param string $homePath This instances home-path.\n\n@throws Exception\\PathNotFoundException\n@throws Exception\\PathNotDirException\n@return \\Org\\Heigl\\Hyphenator\\Hyphenator", "docstring_tokens": ["Set", "the", "instance", "-", "home", "-", "Path"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L480-L492", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Hyphenator-Object for a certain locale\n\nTo determine the storage of the dictionaries we either use the set\ndefault configuration-file or we take the provided file and set the\nhome-path from the information within that file.\n\n@param string $path The path to the configuration-file to use\n@param string $locale The locale to be used\n\n@return Hyphenator", "docstring_tokens": ["Create", "a", "new", "Hyphenator", "-", "Object", "for", "a", "certain", "locale"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L524-L535", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Hyphenator.php", "func_name": "Hyphenator.__autoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "autoload classes.\n\n@param string $className the name of the class to load\n\n@return void", "docstring_tokens": ["autoload", "classes", "."], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Hyphenator.php#L544-L560", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Tokenizer/TokenRegistry.php", "func_name": "TokenRegistry.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace a given token with an array of new tokens\n\nThis will be used when a tokenizer has to replace a token that has been\ndivided into multiple tokens.\n\n@param Token $oldToken The token to be replaced\n@param Token[] $newTokens The array of tokens replacing the old one\n\n@return TokenRegistry", "docstring_tokens": ["Replace", "a", "given", "token", "with", "an", "array", "of", "new", "tokens"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Tokenizer/TokenRegistry.php#L83-L104", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Tokenizer/TokenRegistry.php", "func_name": "TokenRegistry.getTokenWithKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a Token entry by it's key\n\n@param mixed $key The key to get the token for\n\n@return \\Org\\Heigl\\Hyphenator\\Tokenizer\\Token", "docstring_tokens": ["Get", "a", "Token", "entry", "by", "it", "s", "key"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Tokenizer/TokenRegistry.php#L113-L120", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Tokenizer/WordToken.php", "func_name": "WordToken.getMergedPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge the given Hyphenation patterns to one pattern for the given token\n\nThis is done using the given quality value.\n\n@param \\int $quality The hyphenation quality to use\n\n@return Token", "docstring_tokens": ["Merge", "the", "given", "Hyphenation", "patterns", "to", "one", "pattern", "for", "the", "given", "token"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Tokenizer/WordToken.php#L93-L117", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Filter/FilterRegistry.php", "func_name": "FilterRegistry.getFilterWithKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a Filters entry by it's key\n\n@param mixed $key The key to get the Filter for.\n\n@return \\Org\\Heigl\\Hyphenator\\Filter\\Filter", "docstring_tokens": ["Get", "a", "Filters", "entry", "by", "it", "s", "key"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Filter/FilterRegistry.php#L83-L90", "partition": "test"} +{"repo": "heiglandreas/Org_Heigl_Hyphenator", "path": "src/Filter/FilterRegistry.php", "func_name": "FilterRegistry.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass the given string through the given Filter\n\n@param \\Org\\Heigl\\Hyphenator\\Tokenizer\\TokenRegistry $tokens The\nRegistry to filter\n\n@return \\Org\\Heigl\\Hyphenator\\Tokenizer\\TokenizerRegistry", "docstring_tokens": ["Pass", "the", "given", "string", "through", "the", "given", "Filter"], "sha": "24f49328d3f89c6ac803c83f1217c8cf8548118b", "url": "https://github.com/heiglandreas/Org_Heigl_Hyphenator/blob/24f49328d3f89c6ac803c83f1217c8cf8548118b/src/Filter/FilterRegistry.php#L112-L119", "partition": "test"} +{"repo": "Autodesk-Forge/core-php-client", "path": "lib/Auth/OAuth2/ThreeLeggedAuth.php", "func_name": "ThreeLeggedAuth.fetchToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns application token\n@param $authorizationCode\n@throws RuntimeException", "docstring_tokens": ["Returns", "application", "token"], "sha": "3d55f599a5f90b8710057ee051a1061b236933fd", "url": "https://github.com/Autodesk-Forge/core-php-client/blob/3d55f599a5f90b8710057ee051a1061b236933fd/lib/Auth/OAuth2/ThreeLeggedAuth.php#L65-L75", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Tasks/ShopMigrationTask.php", "func_name": "ShopMigrationTask.migrateOrders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "batch process orders", "docstring_tokens": ["batch", "process", "orders"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Tasks/ShopMigrationTask.php#L42-L56", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Tasks/ShopMigrationTask.php", "func_name": "ShopMigrationTask.migrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform migration scripts on a single order.", "docstring_tokens": ["Perform", "migration", "scripts", "on", "a", "single", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Tasks/ShopMigrationTask.php#L61-L69", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Tasks/ShopMigrationTask.php", "func_name": "ShopMigrationTask.migrateShippingValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert shipping and tax columns into modifiers\n\nApplies to pre 0.6 sites", "docstring_tokens": ["Convert", "shipping", "and", "tax", "columns", "into", "modifiers"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Tasks/ShopMigrationTask.php#L142-L165", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Tasks/ShopMigrationTask.php", "func_name": "ShopMigrationTask.migrateOrderCalculation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs calculation function on un-calculated orders.", "docstring_tokens": ["Performs", "calculation", "function", "on", "un", "-", "calculated", "orders", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Tasks/ShopMigrationTask.php#L170-L176", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Tasks/CalculateProductPopularity.php", "func_name": "CalculateProductPopularity.viaphp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "legacy function for working out popularity", "docstring_tokens": ["legacy", "function", "for", "working", "out", "popularity"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Tasks/CalculateProductPopularity.php#L55-L77", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/CheckoutPage.php", "func_name": "CheckoutPage.requireDefaultRecords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This module always requires a page model.", "docstring_tokens": ["This", "module", "always", "requires", "a", "page", "model", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/CheckoutPage.php#L84-L100", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderProcessor.php", "func_name": "OrderProcessor.makePayment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a payment model, and provide link to redirect to external gateway,\nor redirect to order link.\n\n@param string $gateway the gateway to use\n@param array $gatewaydata the data that should be passed to the gateway\n@param string $successUrl (optional) return URL for successful payments.\nIf left blank, the default return URL will be\nused @see getReturnUrl\n@param string $cancelUrl (optional) return URL for cancelled/failed payments\n\n@return ServiceResponse|null\n@throws \\SilverStripe\\Omnipay\\Exception\\InvalidConfigurationException", "docstring_tokens": ["Create", "a", "payment", "model", "and", "provide", "link", "to", "redirect", "to", "external", "gateway", "or", "redirect", "to", "order", "link", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderProcessor.php#L88-L135", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderProcessor.php", "func_name": "OrderProcessor.getGatewayData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map shop data to omnipay fields\n\n@param array $customData Usually user submitted data.\n\n@return array", "docstring_tokens": ["Map", "shop", "data", "to", "omnipay", "fields"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderProcessor.php#L144-L179", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderProcessor.php", "func_name": "OrderProcessor.createPayment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new payment for an order", "docstring_tokens": ["Create", "a", "new", "payment", "for", "an", "order"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderProcessor.php#L184-L208", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderProcessor.php", "func_name": "OrderProcessor.completePayment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Complete payment processing\n- send receipt\n- update order status accordingling\n- fire event hooks", "docstring_tokens": ["Complete", "payment", "processing", "-", "send", "receipt", "-", "update", "order", "status", "accordingling", "-", "fire", "event", "hooks"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderProcessor.php#L216-L241", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderProcessor.php", "func_name": "OrderProcessor.canPlace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if an order can be placed.\n\n@param boolean $order", "docstring_tokens": ["Determine", "if", "an", "order", "can", "be", "placed", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderProcessor.php#L248-L266", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ORM/FieldType/ShopCountry.php", "func_name": "ShopCountry.Nice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert ISO abbreviation to full, translated country name", "docstring_tokens": ["Convert", "ISO", "abbreviation", "to", "full", "translated", "country", "name"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ORM/FieldType/ShopCountry.php#L24-L31", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/Checkout.php", "func_name": "Checkout.setPaymentMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set payment method\n\n@throws \\SilverStripe\\Omnipay\\Exception\\InvalidConfigurationException", "docstring_tokens": ["Set", "payment", "method"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/Checkout.php#L135-L146", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/Checkout.php", "func_name": "Checkout.getSelectedPaymentMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the selected payment method from the session,\nor the only available method, if there is only one.\n\n@throws \\SilverStripe\\Omnipay\\Exception\\InvalidConfigurationException", "docstring_tokens": ["Gets", "the", "selected", "payment", "method", "from", "the", "session", "or", "the", "only", "available", "method", "if", "there", "is", "only", "one", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/Checkout.php#L154-L163", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderEmailNotifier.php", "func_name": "OrderEmailNotifier.sendConfirmation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send customer a confirmation that the order has been received\n\n@return bool", "docstring_tokens": ["Send", "customer", "a", "confirmation", "that", "the", "order", "has", "been", "received"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderEmailNotifier.php#L117-L130", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderEmailNotifier.php", "func_name": "OrderEmailNotifier.sendAdminNotification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Notify store owner about new order.\n\n@return bool|string", "docstring_tokens": ["Notify", "store", "owner", "about", "new", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderEmailNotifier.php#L137-L154", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/OrderEmailNotifier.php", "func_name": "OrderEmailNotifier.sendCancelNotification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends an email to the admin that an order has been cancelled", "docstring_tokens": ["Sends", "an", "email", "to", "the", "admin", "that", "an", "order", "has", "been", "cancelled"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/OrderEmailNotifier.php#L179-L197", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCartController.php", "func_name": "ShoppingCartController.build_url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper for creating a url", "docstring_tokens": ["Helper", "for", "creating", "a", "url"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCartController.php#L95-L117", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCartController.php", "func_name": "ShoppingCartController.direct", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is used here and in VariationForm and AddProductForm\n\n@param bool|string $status\n\n@return string|HTTPResponse", "docstring_tokens": ["This", "is", "used", "here", "and", "in", "VariationForm", "and", "AddProductForm"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCartController.php#L126-L136", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCartController.php", "func_name": "ShoppingCartController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle index requests\n\n@throws \\SilverStripe\\Control\\HTTPResponse_Exception", "docstring_tokens": ["Handle", "index", "requests"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCartController.php#L291-L299", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCartController.php", "func_name": "ShoppingCartController.debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays order info and cart contents.", "docstring_tokens": ["Displays", "order", "info", "and", "cart", "contents", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCartController.php#L304-L315", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ORM/Filters/MatchObjectFilter.php", "func_name": "MatchObjectFilter.getFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create SQL where filter\n\n@return array of filter statements", "docstring_tokens": ["Create", "SQL", "where", "filter"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ORM/Filters/MatchObjectFilter.php#L66-L102", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/ShopAccountForm.php", "func_name": "ShopAccountForm.submit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the changes to the form\n\n@param array $data\n@param Form $form\n@param HTTPRequest $request\n\n@return bool|HTTPResponse\n@throws \\SilverStripe\\ORM\\ValidationException", "docstring_tokens": ["Save", "the", "changes", "to", "the", "form"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/ShopAccountForm.php#L63-L77", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/ShopAccountForm.php", "func_name": "ShopAccountForm.proceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the changes to the form, and redirect to the checkout page\n\n@param array $data\n@param Form $form\n@param HTTPRequest $request\n\n@return bool|HTTPResponse\n@throws \\SilverStripe\\ORM\\ValidationException", "docstring_tokens": ["Save", "the", "changes", "to", "the", "form", "and", "redirect", "to", "the", "checkout", "page"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/ShopAccountForm.php#L89-L103", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/OrderTotalCalculator.php", "func_name": "OrderTotalCalculator.getModifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a modifier of a given class for the order.\nModifier will be retrieved from database if it already exists,\nor created if it is always required.\n\n@param string $className\n@param boolean $forcecreate - force the modifier to be created.", "docstring_tokens": ["Retrieve", "a", "modifier", "of", "a", "given", "class", "for", "the", "order", ".", "Modifier", "will", "be", "retrieved", "from", "database", "if", "it", "already", "exists", "or", "created", "if", "it", "is", "always", "required", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/OrderTotalCalculator.php#L130-L159", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/OrderItem.php", "func_name": "OrderItem.UnitPrice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get unit price for this item.\nFetches from db, or Buyable, based on order status.", "docstring_tokens": ["Get", "unit", "price", "for", "this", "item", ".", "Fetches", "from", "db", "or", "Buyable", "based", "on", "order", "status", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/OrderItem.php#L82-L91", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/OrderItem.php", "func_name": "OrderItem.calculatetotal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the total for this item.\nGenerally called by onBeforeWrite", "docstring_tokens": ["Calculates", "the", "total", "for", "this", "item", ".", "Generally", "called", "by", "onBeforeWrite"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/OrderItem.php#L132-L138", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/OrderItem.php", "func_name": "OrderItem.uniquedata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Intersects this item's required_fields with the data record.\nThis is used for uniquely adding items to the cart.", "docstring_tokens": ["Intersects", "this", "item", "s", "required_fields", "with", "the", "data", "record", ".", "This", "is", "used", "for", "uniquely", "adding", "items", "to", "the", "cart", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/OrderItem.php#L144-L159", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/OrderItem.php", "func_name": "OrderItem.onBeforeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recalculate total before saving to database.", "docstring_tokens": ["Recalculate", "total", "before", "saving", "to", "database", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/OrderItem.php#L164-L170", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Variation/OrderItem.php", "func_name": "OrderItem.ProductVariation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overloaded relationship, for getting versioned variations\n\n@param boolean $current\n@return Variation", "docstring_tokens": ["Overloaded", "relationship", "for", "getting", "versioned", "variations"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Variation/OrderItem.php#L34-L48", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Address.php", "func_name": "Address.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert address to a single string.", "docstring_tokens": ["Convert", "address", "to", "a", "single", "string", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Address.php#L218-L232", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ShopUserInfo.php", "func_name": "ShopUserInfo.getAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get location of user\n\n@param Address $address location\n@return null|Address", "docstring_tokens": ["Get", "location", "of", "user"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ShopUserInfo.php#L38-L48", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/CartPageController.php", "func_name": "CartPageController.CartForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A form for updating cart items", "docstring_tokens": ["A", "form", "for", "updating", "cart", "items"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/CartPageController.php#L37-L48", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Modifiers/Shipping/Weight.php", "func_name": "Weight.value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates shipping cost based on Product Weight.", "docstring_tokens": ["Calculates", "shipping", "cost", "based", "on", "Product", "Weight", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Modifiers/Shipping/Weight.php#L36-L60", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Modifiers/Shipping/Weight.php", "func_name": "Weight.Weight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the total weight of the order\n\n@return number", "docstring_tokens": ["Calculate", "the", "total", "weight", "of", "the", "order"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Modifiers/Shipping/Weight.php#L77-L92", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ORM/OrderItemList.php", "func_name": "OrderItemList.Sum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sums up all of desired field for items, and multiply by quantity.\nOptionally sum product field instead.\n\n@param string $field - field to sum\n@param boolean $onproduct - sum from product or not\n\n@return number - sum total of field", "docstring_tokens": ["Sums", "up", "all", "of", "desired", "field", "for", "items", "and", "multiply", "by", "quantity", ".", "Optionally", "sum", "product", "field", "instead", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ORM/OrderItemList.php#L31-L45", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ORM/OrderItemList.php", "func_name": "OrderItemList.SubTotal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add up the totals of all the order items in this list.", "docstring_tokens": ["Add", "up", "the", "totals", "of", "all", "the", "order", "items", "in", "this", "list", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ORM/OrderItemList.php#L50-L58", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Variation/Variation.php", "func_name": "Variation.onBeforeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save selected attributes - somewhat of a hack.", "docstring_tokens": ["Save", "selected", "attributes", "-", "somewhat", "of", "a", "hack", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Variation/Variation.php#L231-L244", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/CheckoutPageController.php", "func_name": "CheckoutPageController.getViewer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override viewer to get correct template for first step\n\n{@inheritDoc}\n@see \\SilverStripe\\CMS\\Controllers\\ContentController::getViewer()", "docstring_tokens": ["Override", "viewer", "to", "get", "correct", "template", "for", "first", "step"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/CheckoutPageController.php#L161-L167", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Product/OrderItem.php", "func_name": "OrderItem.Product", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get related product\n- live version if in cart, or\n- historical version if order is placed\n\n@param boolean $forcecurrent - force getting latest version of the product.\n\n@return Product", "docstring_tokens": ["Get", "related", "product", "-", "live", "version", "if", "in", "cart", "or", "-", "historical", "version", "if", "order", "is", "placed"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Product/OrderItem.php#L41-L57", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ProductVariationsExtension.php", "func_name": "ProductVariationsExtension.updateCMSFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds variations specific fields to the CMS.", "docstring_tokens": ["Adds", "variations", "specific", "fields", "to", "the", "CMS", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ProductVariationsExtension.php#L40-L73", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ProductVariationsExtension.php", "func_name": "ProductVariationsExtension.getVariationByAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass an array of attribute ids to query for the appropriate variation.\n\n@param array $attributes\n\n@return Variation|null", "docstring_tokens": ["Pass", "an", "array", "of", "attribute", "ids", "to", "query", "for", "the", "appropriate", "variation", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ProductVariationsExtension.php#L115-L134", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ProductVariationsExtension.php", "func_name": "ProductVariationsExtension.generateVariationsFromAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates variations based on selected attributes.\n\n@param AttributeType $attributetype\n@param array $values\n@throws \\SilverStripe\\ORM\\ValidationException", "docstring_tokens": ["Generates", "variations", "based", "on", "selected", "attributes", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ProductVariationsExtension.php#L143-L182", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ProductVariationsExtension.php", "func_name": "ProductVariationsExtension.onAfterDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure variations are deleted with product.", "docstring_tokens": ["Make", "sure", "variations", "are", "deleted", "with", "product", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ProductVariationsExtension.php#L218-L239", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.getComponentByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first available component with the given class or interface.\n\n@param String ClassName\n\n@return CheckoutComponent", "docstring_tokens": ["Returns", "the", "first", "available", "component", "with", "the", "given", "class", "or", "interface", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L87-L100", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.getFormFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get combined form fields\n\n@return FieldList namespaced fields", "docstring_tokens": ["Get", "combined", "form", "fields"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L123-L134", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.validateData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate every component against given data.\n\n@param array $data data to validate\n\n@return boolean validation result\n@throws ValidationException", "docstring_tokens": ["Validate", "every", "component", "against", "given", "data", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L153-L180", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get combined data\n\n@return array map of field names to data values", "docstring_tokens": ["Get", "combined", "data"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L187-L201", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set data on all components\n\n@param array $data map of field names to data values", "docstring_tokens": ["Set", "data", "on", "all", "components"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L208-L213", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutComponentConfig.php", "func_name": "CheckoutComponentConfig.dependantData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for saving data from other components.", "docstring_tokens": ["Helper", "function", "for", "saving", "data", "from", "other", "components", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutComponentConfig.php#L218-L241", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current order, or return null if it doesn't exist.\n\n@return Order", "docstring_tokens": ["Get", "the", "current", "order", "or", "return", "null", "if", "it", "doesn", "t", "exist", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L63-L81", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.setCurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the current cart\n\n@param Order $cart the Order to use as the current cart-content\n\n@return ShoppingCart", "docstring_tokens": ["Set", "the", "current", "cart"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L90-L100", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.findOrMake", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper that only allows orders to be started internally.\n\n@return Order", "docstring_tokens": ["Helper", "that", "only", "allows", "orders", "to", "be", "started", "internally", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L107-L123", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an item to the cart\n\n@param Buyable $buyable\n@param int $quantity\n@param array $filter\n\n@return boolean|OrderItem false or the new/existing item", "docstring_tokens": ["Adds", "an", "item", "to", "the", "cart"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L134-L170", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an item from the cart.\n\n@param Buyable $buyable\n@param int $quantity - number of items to remove, or leave null for all items (default)\n@param array $filter\n\n@return boolean success/failure", "docstring_tokens": ["Remove", "an", "item", "from", "the", "cart", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L181-L213", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.removeOrderItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a specific order item from cart\n\n@param OrderItem $item\n@param int $quantity - number of items to remove or leave `null` to remove all items (default)\n@return boolean success/failure", "docstring_tokens": ["Remove", "a", "specific", "order", "item", "from", "cart"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L222-L244", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.setQuantity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the quantity of an item in the cart.\nWill automatically add or remove item, if necessary.\n\n@param Buyable $buyable\n@param int $quantity\n@param array $filter\n\n@return boolean|OrderItem false or the new/existing item", "docstring_tokens": ["Sets", "the", "quantity", "of", "an", "item", "in", "the", "cart", ".", "Will", "automatically", "add", "or", "remove", "item", "if", "necessary", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L256-L269", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.updateOrderItemQuantity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update quantity of a given order item\n\n@param OrderItem $item\n@param int $quantity the new quantity to use\n@param array $filter\n@return boolean success/failure", "docstring_tokens": ["Update", "quantity", "of", "a", "given", "order", "item"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L279-L312", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.findOrMakeItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds or makes an order item for a given product + filter.\n\n@param Buyable $buyable the buyable\n@param int $quantity quantity to add\n@param array $filter\n\n@return OrderItem the found or created item\n@throws \\SilverStripe\\ORM\\ValidationException", "docstring_tokens": ["Finds", "or", "makes", "an", "order", "item", "for", "a", "given", "product", "+", "filter", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L324-L361", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds an existing order item.\n\n@param Buyable $buyable\n@param array $customfilter\n\n@return OrderItem the item requested or null", "docstring_tokens": ["Finds", "an", "existing", "order", "item", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L371-L398", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Cart/ShoppingCart.php", "func_name": "ShoppingCart.archiveorderid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store old cart id in session order history\n\n@param int|null $requestedOrderId optional parameter that denotes the order that was requested", "docstring_tokens": ["Store", "old", "cart", "id", "in", "session", "order", "history"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Cart/ShoppingCart.php#L429-L447", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Modifiers/Tax/FlatTax.php", "func_name": "FlatTax.value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tax amount to charge on the order.", "docstring_tokens": ["Get", "the", "tax", "amount", "to", "charge", "on", "the", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Modifiers/Tax/FlatTax.php#L54-L63", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ShopTools.php", "func_name": "ShopTools.price_for_display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a numeric price to the shop currency\n\n@param mixed $price the price to convert\n@return DBMoney the price wrapped in a Money DBField to be used for templates or similar", "docstring_tokens": ["Convert", "a", "numeric", "price", "to", "the", "shop", "currency"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ShopTools.php#L26-L33", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Admin/ProductBulkLoader.php", "func_name": "ProductBulkLoader.imageByFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set image, based on filename", "docstring_tokens": ["set", "image", "based", "on", "filename"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Admin/ProductBulkLoader.php#L148-L165", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Admin/ProductBulkLoader.php", "func_name": "ProductBulkLoader.setContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds paragraphs to content.", "docstring_tokens": ["Adds", "paragraphs", "to", "content", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Admin/ProductBulkLoader.php#L197-L204", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ShopConfigExtension.php", "func_name": "ShopConfigExtension.getCountriesList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of allowed countries\n\n@param boolean $prefixisocode - prefix the country code\n\n@return array", "docstring_tokens": ["Get", "list", "of", "allowed", "countries"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ShopConfigExtension.php#L112-L128", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ShopConfigExtension.php", "func_name": "ShopConfigExtension.getSingleCountry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For shops that only sell to a single country,\nthis will return the country code, otherwise null.\n\n@param string fullname get long form name of country\n\n@return string country code", "docstring_tokens": ["For", "shops", "that", "only", "sell", "to", "a", "single", "country", "this", "will", "return", "the", "country", "code", "otherwise", "null", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ShopConfigExtension.php#L138-L150", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ShopConfigExtension.php", "func_name": "ShopConfigExtension.countryCode2name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert iso country code to English country name\n\n@return string - name of country", "docstring_tokens": ["Convert", "iso", "country", "code", "to", "English", "country", "name"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ShopConfigExtension.php#L157-L164", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/ViewableCartExtension.php", "func_name": "ViewableCartExtension.Cart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cart, and do last minute calculation if necessary.", "docstring_tokens": ["Get", "the", "cart", "and", "do", "last", "minute", "calculation", "if", "necessary", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/ViewableCartExtension.php#L25-L33", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Variation/AttributeType.php", "func_name": "AttributeType.convertArrayToValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds or creates values for this type.\n\n@param array $values\n\n@return ArrayList", "docstring_tokens": ["Finds", "or", "creates", "values", "for", "this", "type", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Variation/AttributeType.php#L117-L132", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Variation/AttributeType.php", "func_name": "AttributeType.getDropDownField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a dropdown field for the user to select a variant.\n\n@param string $emptyString\n@param ArrayList $values\n\n@return DropdownField", "docstring_tokens": ["Returns", "a", "dropdown", "field", "for", "the", "user", "to", "select", "a", "variant", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Variation/AttributeType.php#L142-L161", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategory.php", "func_name": "ProductCategory.ProductsShowable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a set of products, based on the given parameters. Checks get query for sorting and pagination.\n\n@param bool $recursive include sub-categories\n\n@return DataList", "docstring_tokens": ["Retrieve", "a", "set", "of", "products", "based", "on", "the", "given", "parameters", ".", "Checks", "get", "query", "for", "sorting", "and", "pagination", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategory.php#L51-L80", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategory.php", "func_name": "ProductCategory.AllChildCategoryIDs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loop down each level of children to get all ids.", "docstring_tokens": ["Loop", "down", "each", "level", "of", "children", "to", "get", "all", "ids", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategory.php#L85-L97", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategory.php", "func_name": "ProductCategory.ChildCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return children ProductCategory pages of this category.\n\n@param bool $recursive\n\n@return DataList", "docstring_tokens": ["Return", "children", "ProductCategory", "pages", "of", "this", "category", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategory.php#L106-L114", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategory.php", "func_name": "ProductCategory.GroupsMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively generate a product menu, starting from the topmost category.\n\n@return DataList", "docstring_tokens": ["Recursively", "generate", "a", "product", "menu", "starting", "from", "the", "topmost", "category", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategory.php#L121-L128", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategory.php", "func_name": "ProductCategory.NestedTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override the nested title defaults, to show deeper nesting in the CMS.\n\n@param integer $level nesting level\n@param string $separator seperate nesting with this string", "docstring_tokens": ["Override", "the", "nested", "title", "defaults", "to", "show", "deeper", "nesting", "in", "the", "CMS", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategory.php#L136-L145", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/GridField/OrderGridFieldDetailForm_ItemRequest.php", "func_name": "OrderGridFieldDetailForm_ItemRequest.ItemEditForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add print button to order detail form", "docstring_tokens": ["Add", "print", "button", "to", "order", "detail", "form"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/GridField/OrderGridFieldDetailForm_ItemRequest.php#L22-L38", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/GridField/OrderGridFieldDetailForm_ItemRequest.php", "func_name": "OrderGridFieldDetailForm_ItemRequest.printorder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render order for printing", "docstring_tokens": ["Render", "order", "for", "printing"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/GridField/OrderGridFieldDetailForm_ItemRequest.php#L43-L61", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/Step/CheckoutStep.php", "func_name": "CheckoutStep.nextstep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the next step action\n\n@return string|NULL", "docstring_tokens": ["Get", "the", "next", "step", "action"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/Step/CheckoutStep.php#L22-L35", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Admin/OrdersAdmin.php", "func_name": "OrdersAdmin.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restrict list to non-hidden statuses", "docstring_tokens": ["Restrict", "list", "to", "non", "-", "hidden", "statuses"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Admin/OrdersAdmin.php#L39-L50", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Admin/OrdersAdmin.php", "func_name": "OrdersAdmin.getEditForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace gridfield detail form to include print functionality", "docstring_tokens": ["Replace", "gridfield", "detail", "form", "to", "include", "print", "functionality"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Admin/OrdersAdmin.php#L55-L86", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/CheckoutFieldFactory.php", "func_name": "CheckoutFieldFactory.getSubset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for reducing a field set to a given subset,\nin the given order.\n\n@param FieldList $fields form fields to take a subset from.\n@param array $subset list of field names to return as subset\n\n@return FieldList subset of form fields", "docstring_tokens": ["Helper", "function", "for", "reducing", "a", "field", "set", "to", "a", "given", "subset", "in", "the", "given", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/CheckoutFieldFactory.php#L158-L170", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Modifiers/OrderModifier.php", "func_name": "OrderModifier.modify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modifies the incoming value by adding,\nsubtracting or ignoring the value this modifier calculates.\n\nSets $this->Amount to the calculated value;\n\n@param $subtotal - running total to be modified\n@param $forcecalculation - force calculating the value, if order isn't in cart\n\n@return $subtotal - updated subtotal", "docstring_tokens": ["Modifies", "the", "incoming", "value", "by", "adding", "subtracting", "or", "ignoring", "the", "value", "this", "modifier", "calculates", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Modifiers/OrderModifier.php#L82-L99", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/SteppedCheckoutExtension.php", "func_name": "SteppedCheckoutExtension.setupSteps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up CheckoutPage_Controller decorators for managing steps", "docstring_tokens": ["Set", "up", "CheckoutPage_Controller", "decorators", "for", "managing", "steps"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/SteppedCheckoutExtension.php#L40-L65", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/SteppedCheckoutExtension.php", "func_name": "SteppedCheckoutExtension.onAfterInit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect back to start of checkout if no cart started", "docstring_tokens": ["Redirect", "back", "to", "start", "of", "checkout", "if", "no", "cart", "started"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/SteppedCheckoutExtension.php#L75-L83", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/SteppedCheckoutExtension.php", "func_name": "SteppedCheckoutExtension.IsCurrentStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if passed action is the same as the current step", "docstring_tokens": ["Check", "if", "passed", "action", "is", "the", "same", "as", "the", "current", "step"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/SteppedCheckoutExtension.php#L88-L96", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/SteppedCheckoutExtension.php", "func_name": "SteppedCheckoutExtension.actionPos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the numerical position of a step", "docstring_tokens": ["Get", "the", "numerical", "position", "of", "a", "step"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/SteppedCheckoutExtension.php#L142-L151", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/CartPage.php", "func_name": "CartPage.find_link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the link to the checkout page on this site\n\n@param boolean $urlSegment If set to TRUE, only returns the URLSegment field\n\n@return string Link to checkout page", "docstring_tokens": ["Returns", "the", "link", "to", "the", "checkout", "page", "on", "this", "site"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/CartPage.php#L35-L42", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/ProductCategoryController.php", "func_name": "ProductCategoryController.Products", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the products for this group.", "docstring_tokens": ["Return", "the", "products", "for", "this", "group", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/ProductCategoryController.php#L14-L30", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/ORM/FieldType/ShopCurrency.php", "func_name": "ShopCurrency.TrimCents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If no cents on the price, trim those off.\n\n@return string", "docstring_tokens": ["If", "no", "cents", "on", "the", "price", "trim", "those", "off", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/ORM/FieldType/ShopCurrency.php#L83-L92", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.getCMSFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add product fields to CMS\n\n@return FieldList updated field list", "docstring_tokens": ["Add", "product", "fields", "to", "CMS"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L146-L229", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.getCategoryOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for generating list of categories to select from.\n\n@return array categories", "docstring_tokens": ["Helper", "function", "for", "generating", "list", "of", "categories", "to", "select", "from", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L250-L263", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.getCategoryOptionsNoParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for generating a list of additional categories excluding the main parent.\n\n@return array categories", "docstring_tokens": ["Helper", "function", "for", "generating", "a", "list", "of", "additional", "categories", "excluding", "the", "main", "parent", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L270-L278", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.getCategoryIDs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get ids of all categories that this product appears in.\n\n@return array ids list", "docstring_tokens": ["Get", "ids", "of", "all", "categories", "that", "this", "product", "appears", "in", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L285-L296", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.sellingPrice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The raw retail price the visitor will get when they\nadd to cart. Can include discounts or markups on the base price.", "docstring_tokens": ["The", "raw", "retail", "price", "the", "visitor", "will", "get", "when", "they", "add", "to", "cart", ".", "Can", "include", "discounts", "or", "markups", "on", "the", "base", "price", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L405-L421", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/Product.php", "func_name": "Product.Image", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the product does not have an image, and a default image\nis defined in SiteConfig, return that instead.\n\n@return Image\n@throws \\Exception", "docstring_tokens": ["If", "the", "product", "does", "not", "have", "an", "image", "and", "a", "default", "image", "is", "defined", "in", "SiteConfig", "return", "that", "instead", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/Product.php#L459-L472", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/PaymentForm.php", "func_name": "PaymentForm.submitpayment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Behaviour can be overwritten by creating a processPaymentResponse method\non the controller owning this form. It takes a Symfony\\Component\\HttpFoundation\\Response argument,\nand expects an SS_HTTPResponse in return.", "docstring_tokens": ["Behaviour", "can", "be", "overwritten", "by", "creating", "a", "processPaymentResponse", "method", "on", "the", "controller", "owning", "this", "form", ".", "It", "takes", "a", "Symfony", "\\", "Component", "\\", "HttpFoundation", "\\", "Response", "argument", "and", "expects", "an", "SS_HTTPResponse", "in", "return", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/PaymentForm.php#L83-L146", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/OrderActionsForm.php", "func_name": "OrderActionsForm.dopayment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make payment for a place order, where payment had previously failed.\n\n@param array $data\n@param Form $form\n\n@return HTTPResponse", "docstring_tokens": ["Make", "payment", "for", "a", "place", "order", "where", "payment", "had", "previously", "failed", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/OrderActionsForm.php#L149-L183", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/OrderActionsForm.php", "func_name": "OrderActionsForm.docancel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Form action handler for CancelOrderForm.\n\nTake the order that this was to be change on,\nand set the status that was requested from\nthe form request data.\n\n@param array $data The form request data submitted\n@param Form $form The {@link Form} this was submitted on\n@throws \\SilverStripe\\ORM\\ValidationException", "docstring_tokens": ["Form", "action", "handler", "for", "CancelOrderForm", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/OrderActionsForm.php#L196-L218", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/OrderActionsForm.php", "func_name": "OrderActionsForm.getCCFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get credit card fields for the given gateways\n\n@param array $gateways\n@return CompositeField|null", "docstring_tokens": ["Get", "credit", "card", "fields", "for", "the", "given", "gateways"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/OrderActionsForm.php#L226-L266", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/OrderManipulationExtension.php", "func_name": "OrderManipulationExtension.add_session_order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an order to the session-stored history of orders.", "docstring_tokens": ["Add", "an", "order", "to", "the", "session", "-", "stored", "history", "of", "orders", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/OrderManipulationExtension.php#L35-L43", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/OrderManipulationExtension.php", "func_name": "OrderManipulationExtension.get_session_order_ids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get historical orders for current session.", "docstring_tokens": ["Get", "historical", "orders", "for", "current", "session", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/OrderManipulationExtension.php#L48-L55", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/OrderManipulationExtension.php", "func_name": "OrderManipulationExtension.orderfromid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the order via url 'ID' or form submission 'OrderID'.\nIt will check for permission based on session stored ids or member id.\n\n@return Order order", "docstring_tokens": ["Get", "the", "order", "via", "url", "ID", "or", "form", "submission", "OrderID", ".", "It", "will", "check", "for", "permission", "based", "on", "session", "stored", "ids", "or", "member", "id", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/OrderManipulationExtension.php#L68-L77", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/OrderManipulationExtension.php", "func_name": "OrderManipulationExtension.ActionsForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a form for cancelling, or retrying payment for a placed order.\n\n@return Form", "docstring_tokens": ["Build", "a", "form", "for", "cancelling", "or", "retrying", "payment", "for", "a", "placed", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/OrderManipulationExtension.php#L143-L155", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/ShopMemberFactory.php", "func_name": "ShopMemberFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create member account from data array.\nData must contain unique identifier.\n\n@throws ValidationException\n\n@param $data - map of member data\n\n@return Member - new member (not saved to db)", "docstring_tokens": ["Create", "member", "account", "from", "data", "array", ".", "Data", "must", "contain", "unique", "identifier", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/ShopMemberFactory.php#L23-L81", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/MemberExtension.php", "func_name": "MemberExtension.get_by_identifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get member by unique field.\n\n@return Member|null", "docstring_tokens": ["Get", "member", "by", "unique", "field", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/MemberExtension.php#L35-L41", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/MemberExtension.php", "func_name": "MemberExtension.afterMemberLoggedIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Link the current order to the current member on login,\nif there is one, and if configuration is set to do so.", "docstring_tokens": ["Link", "the", "current", "order", "to", "the", "current", "member", "on", "login", "if", "there", "is", "one", "and", "if", "configuration", "is", "set", "to", "do", "so", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/MemberExtension.php#L71-L77", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Extension/MemberExtension.php", "func_name": "MemberExtension.getPastOrders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the past orders for this member\n\n@return DataList list of orders", "docstring_tokens": ["Get", "the", "past", "orders", "for", "this", "member"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Extension/MemberExtension.php#L94-L99", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/ShopQuantityField.php", "func_name": "ShopQuantityField.AJAXLinkHiddenField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used for storing the quantity update link for ajax use.", "docstring_tokens": ["Used", "for", "storing", "the", "quantity", "update", "link", "for", "ajax", "use", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/ShopQuantityField.php#L126-L133", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Checkout/Component/AddressBook.php", "func_name": "AddressBook.getExistingAddressFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allow choosing from an existing address\n\n@return FieldList|null fields for", "docstring_tokens": ["Allow", "choosing", "from", "an", "existing", "address"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Checkout/Component/AddressBook.php#L65-L86", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getCMSFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create CMS fields for cms viewing and editing orders", "docstring_tokens": ["Create", "CMS", "fields", "for", "cms", "viewing", "and", "editing", "orders"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L298-L321", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getDefaultSearchContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adjust scafolded search context\n\n@return SearchContext the updated search context", "docstring_tokens": ["Adjust", "scafolded", "search", "context"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L342-L395", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hack for swapping out relation list with OrderItemList\n\n@inheritdoc", "docstring_tokens": ["Hack", "for", "swapping", "out", "relation", "list", "with", "OrderItemList"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L402-L412", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.calculate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the total\n\n@return float the final total", "docstring_tokens": ["Calculate", "the", "total"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L431-L438", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getModifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is needed to maintain backwards compatiability with\nsome subsystems using modifiers. eg discounts", "docstring_tokens": ["This", "is", "needed", "to", "maintain", "backwards", "compatiability", "with", "some", "subsystems", "using", "modifiers", ".", "eg", "discounts"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L444-L448", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.TotalOutstanding", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate how much is left to be paid on the order.\nEnforces rounding precision.\n\nPayments that have been authorized via a non-manual gateway should count towards the total paid amount.\nHowever, it's possible to exclude these by setting the $includeAuthorized parameter to false, which is\nuseful to determine the status of the Order. Order status should only change to 'Paid' when all\npayments are 'Captured'.\n\n@param bool $includeAuthorized whether or not to include authorized payments (excluding manual payments)\n@return float", "docstring_tokens": ["Calculate", "how", "much", "is", "left", "to", "be", "paid", "on", "the", "order", ".", "Enforces", "rounding", "precision", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L487-L493", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.Link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the link for finishing order processing.", "docstring_tokens": ["Get", "the", "link", "for", "finishing", "order", "processing", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L508-L519", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.canPay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an order can be paid for.\n\n@return boolean", "docstring_tokens": ["Check", "if", "an", "order", "can", "be", "paid", "for", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L553-L567", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.canDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prevent deleting orders.\n\n@return boolean", "docstring_tokens": ["Prevent", "deleting", "orders", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L574-L582", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.canView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an order can be viewed.\n\n@return boolean", "docstring_tokens": ["Check", "if", "an", "order", "can", "be", "viewed", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L589-L597", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the name of the customer.", "docstring_tokens": ["Gets", "the", "name", "of", "the", "customer", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L654-L659", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.getBillingAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get billing address, if marked to use seperate address, otherwise use shipping address,\nor the member default billing address.", "docstring_tokens": ["Get", "billing", "address", "if", "marked", "to", "use", "seperate", "address", "otherwise", "use", "shipping", "address", "or", "the", "member", "default", "billing", "address", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L678-L685", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.generateReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a unique reference identifier string for this order.", "docstring_tokens": ["Create", "a", "unique", "reference", "identifier", "string", "for", "this", "order", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L767-L781", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.onBeforeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Force creating an order reference", "docstring_tokens": ["Force", "creating", "an", "order", "reference"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L794-L814", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.onBeforeDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "delete attributes, statuslogs, and payments", "docstring_tokens": ["delete", "attributes", "statuslogs", "and", "payments"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L850-L869", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Model/Order.php", "func_name": "Order.provideI18nEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provide i18n entities for the order class\n\n@return array", "docstring_tokens": ["Provide", "i18n", "entities", "for", "the", "order", "class"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Model/Order.php#L929-L943", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/CartEditField.php", "func_name": "CartEditField.Field", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the cart with editable item fields.\n\n@param array $properties", "docstring_tokens": ["Render", "the", "cart", "with", "editable", "item", "fields", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/CartEditField.php#L88-L103", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Forms/CartEditField.php", "func_name": "CartEditField.editableItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add quantity, variation and remove fields to the\nitem set.\n\n@param SS_List $items", "docstring_tokens": ["Add", "quantity", "variation", "and", "remove", "fields", "to", "the", "item", "set", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Forms/CartEditField.php#L111-L163", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/AccountPage.php", "func_name": "AccountPage.find_link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the link or the URLSegment to the account page on this site\n\n@param boolean $urlSegment Return the URLSegment only\n\n@return mixed", "docstring_tokens": ["Returns", "the", "link", "or", "the", "URLSegment", "to", "the", "account", "page", "on", "this", "site"], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/AccountPage.php#L33-L37", "partition": "test"} +{"repo": "silvershop/silvershop-core", "path": "src/Page/AccountPage.php", "func_name": "AccountPage.get_order_link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a link to view the order on the account page.\n\n@param int|string $orderID ID of the order\n@param boolean $urlSegment Return the URLSegment only\n\n@return string", "docstring_tokens": ["Return", "a", "link", "to", "view", "the", "order", "on", "the", "account", "page", "."], "sha": "b090e970b06c0fb7e68107360760b6e2d6d184c4", "url": "https://github.com/silvershop/silvershop-core/blob/b090e970b06c0fb7e68107360760b6e2d6d184c4/src/Page/AccountPage.php#L47-L51", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.browse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Browses WP-CLI packages available for installation.\n\nLists packages available for installation from the [Package Index](http://wp-cli.org/package-index/).\nAlthough the package index will remain in place for backward compatibility reasons, it has been\ndeprecated and will not be updated further. Please refer to https://github.com/wp-cli/ideas/issues/51\nto read about its potential replacement.\n\n## OPTIONS\n\n[--fields=]\n: Limit the output to specific fields. Defaults to all fields.\n\n[--format=]\n: Render output in a particular format.\n---\ndefault: table\noptions:\n- table\n- csv\n- ids\n- json\n- yaml\n---\n\n## AVAILABLE FIELDS\n\nThese fields will be displayed by default for each package:\n\n* name\n* description\n* authors\n* version\n\nThere are no optionally available fields.\n\n## EXAMPLES\n\n$ wp package browse --format=yaml\n---\n10up/mu-migration:\nname: 10up/mu-migration\ndescription: A set of WP-CLI commands to support the migration of single WordPress instances to multisite\nauthors: N\u00edcholas Andr\u00e9\nversion: dev-master, dev-develop\naaemnnosttv/wp-cli-dotenv-command:\nname: aaemnnosttv/wp-cli-dotenv-command\ndescription: Dotenv commands for WP-CLI\nauthors: Evan Mattson\nversion: v0.1, v0.1-beta.1, v0.2, dev-master, dev-dev, dev-develop, dev-tests/behat\naaemnnosttv/wp-cli-http-command:\nname: aaemnnosttv/wp-cli-http-command\ndescription: WP-CLI command for using the WordPress HTTP API\nauthors: Evan Mattson\nversion: dev-master", "docstring_tokens": ["Browses", "WP", "-", "CLI", "packages", "available", "for", "installation", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L161-L167", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.list_", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists installed WP-CLI packages.\n\n## OPTIONS\n\n[--fields=]\n: Limit the output to specific fields. Defaults to all fields.\n\n[--format=]\n: Render output in a particular format.\n---\ndefault: table\noptions:\n- table\n- csv\n- ids\n- json\n- yaml\n---\n\n## AVAILABLE FIELDS\n\nThese fields will be displayed by default for each package:\n\n* name\n* authors\n* version\n* update\n* update_version\n\nThese fields are optionally available:\n\n* description\n\n## EXAMPLES\n\n$ wp package list\n+-----------------------+------------------------------------------+---------+------------+\n| name | description | authors | version |\n+-----------------------+------------------------------------------+---------+------------+\n| wp-cli/server-command | Start a development server for WordPress | | dev-master |\n+-----------------------+------------------------------------------+---------+------------+\n\n@subcommand list", "docstring_tokens": ["Lists", "installed", "WP", "-", "CLI", "packages", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L446-L449", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the path to an installed WP-CLI package, or the package directory.\n\nIf you want to contribute to a package, this is a great way to jump to it.\n\n## OPTIONS\n\n[]\n: Name of the package to get the directory for.\n\n## EXAMPLES\n\n# Get package path\n$ wp package path\n/home/person/.wp-cli/packages/\n\n# Change directory to package path\n$ cd $(wp package path) && pwd\n/home/vagrant/.wp-cli/packages", "docstring_tokens": ["Gets", "the", "path", "to", "an", "installed", "WP", "-", "CLI", "package", "or", "the", "package", "directory", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L471-L480", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates all installed WP-CLI packages to their latest version.\n\n## EXAMPLES\n\n$ wp package update\nUsing Composer to update packages...\n---\nLoading composer repositories with package information\nUpdating dependencies\nResolving dependencies through SAT\nDependency resolution completed in 0.074 seconds\nAnalyzed 1062 packages to resolve dependencies\nAnalyzed 22383 rules to resolve dependencies\nWriting lock file\nGenerating autoload files\n---\nSuccess: Packages updated.", "docstring_tokens": ["Updates", "all", "installed", "WP", "-", "CLI", "packages", "to", "their", "latest", "version", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L501-L529", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.uninstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uninstalls a WP-CLI package.\n\n## OPTIONS\n\n\n: Name of the package to uninstall.\n\n## EXAMPLES\n\n$ wp package uninstall wp-cli/server-command\nRemoving require statement from /home/person/.wp-cli/packages/composer.json\nDeleting package directory /home/person/.wp-cli/packages/vendor/wp-cli/server-command\nRegenerating Composer autoload.\nSuccess: Uninstalled package.", "docstring_tokens": ["Uninstalls", "a", "WP", "-", "CLI", "package", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L547-L596", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_composer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a Composer instance.", "docstring_tokens": ["Gets", "a", "Composer", "instance", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L612-L632", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_community_packages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all of the community packages.\n\n@return array", "docstring_tokens": ["Gets", "all", "of", "the", "community", "packages", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L639-L652", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.package_index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the package index instance\n\nWe need to construct the instance manually, because there's no way to select\na particular instance using $composer->getRepositoryManager()\n\n@return ComposerRepository", "docstring_tokens": ["Gets", "the", "package", "index", "instance"], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L662-L684", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.show_packages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a set of packages\n\n@param string $context\n@param array\n@param array", "docstring_tokens": ["Displays", "a", "set", "of", "packages"], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L693-L763", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_package_by_shortened_identifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a package by its shortened identifier.\n\nA shortened identifier has the form `/`.\n\nThis method first checks the deprecated package index, for BC reasons,\nand then falls back to the corresponding GitHub URL.", "docstring_tokens": ["Gets", "a", "package", "by", "its", "shortened", "identifier", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L773-L803", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_installed_packages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the installed community packages.", "docstring_tokens": ["Gets", "the", "installed", "community", "packages", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L808-L831", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_installed_package_by_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an installed package by its name.", "docstring_tokens": ["Gets", "an", "installed", "package", "by", "its", "name", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L836-L847", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_package_name_and_version_from_dir_package", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the name of the package from the composer.json in a directory path\n\n@param string $dir_package\n@return array Two-element array containing package name and version.", "docstring_tokens": ["Gets", "the", "name", "of", "the", "package", "from", "the", "composer", ".", "json", "in", "a", "directory", "path"], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L866-L884", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_composer_json_path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the absolute path to the WP-CLI packages composer.json.", "docstring_tokens": ["Gets", "the", "absolute", "path", "to", "the", "WP", "-", "CLI", "packages", "composer", ".", "json", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L896-L920", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.create_default_composer_json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a default WP-CLI packages composer.json.\n\n@param string $composer_path Where the composer.json should be created\n@return string Returns the absolute path of the newly created default WP-CLI packages composer.json.", "docstring_tokens": ["Creates", "a", "default", "WP", "-", "CLI", "packages", "composer", ".", "json", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L937-L982", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_raw_git_version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the version to use for raw github request. Very basic.\n\n@string $version Package version.\n@string Version to use for github request.", "docstring_tokens": ["Get", "the", "version", "to", "use", "for", "raw", "github", "request", ".", "Very", "basic", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L1082-L1100", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.guess_version_constraint_from_tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guesses the version constraint from a release tag.\n\n@param string $tag Release tag to guess the version constraint from.\n\n@return string Version constraint.", "docstring_tokens": ["Guesses", "the", "version", "constraint", "from", "a", "release", "tag", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L1136-L1146", "partition": "test"} +{"repo": "wp-cli/package-command", "path": "src/Package_Command.php", "func_name": "Package_Command.get_composer_json_path_backup_decoded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the WP-CLI packages composer.json, checking validity and returning array containing its path, contents, and decoded contents.\n\n@return array Indexed array containing the path, the contents, and the decoded contents of the WP-CLI packages composer.json.", "docstring_tokens": ["Reads", "the", "WP", "-", "CLI", "packages", "composer", ".", "json", "checking", "validity", "and", "returning", "array", "containing", "its", "path", "contents", "and", "decoded", "contents", "."], "sha": "52fea16f3cec0577b9c417a19ebc0f328c38d853", "url": "https://github.com/wp-cli/package-command/blob/52fea16f3cec0577b9c417a19ebc0f328c38d853/src/Package_Command.php#L1187-L1202", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/AbstractQueuedJob.php", "func_name": "AbstractQueuedJob.setObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a data object for persisting by adding its id and type to the serialised vars\n\n@param DataObject $object\n@param string $name A name to give it, if you want to store more than one", "docstring_tokens": ["Sets", "a", "data", "object", "for", "persisting", "by", "adding", "its", "id", "and", "type", "to", "the", "serialised", "vars"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/AbstractQueuedJob.php#L69-L73", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/AbstractQueuedJob.php", "func_name": "AbstractQueuedJob.loadCustomConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets custom configuration settings from the job data.", "docstring_tokens": ["Sets", "custom", "configuration", "settings", "from", "the", "job", "data", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/AbstractQueuedJob.php#L219-L232", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/DeleteAllJobsTask.php", "func_name": "DeleteAllJobsTask.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the task\n@param HTTPRequest $request", "docstring_tokens": ["Run", "the", "task"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/DeleteAllJobsTask.php#L39-L53", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/CleanupJob.php", "func_name": "CleanupJob.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear out stale jobs based on the cleanup values", "docstring_tokens": ["Clear", "out", "stale", "jobs", "based", "on", "the", "cleanup", "values"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/CleanupJob.php#L95-L164", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.queueJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a job to the queue to be started\n\nRelevant data about the job will be persisted using a QueuedJobDescriptor\n\n@param QueuedJob $job\nThe job to start.\n@param $startAfter\nThe date (in Y-m-d H:i:s format) to start execution after\n@param int $userId\nThe ID of a user to execute the job as. Defaults to the current user\n\n@return int", "docstring_tokens": ["Adds", "a", "job", "to", "the", "queue", "to", "be", "started"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L171-L215", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.copyJobToDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copies data from a job into a descriptor for persisting\n\n@param QueuedJob $job\n@param QueuedJobDescriptor $jobDescriptor", "docstring_tokens": ["Copies", "data", "from", "a", "job", "into", "a", "descriptor", "for", "persisting"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L239-L252", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.getNextPendingJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the current job queues and see if any of the jobs currently in there should be started. If so,\nreturn the next job that should be executed\n\n@param string $type Job type\n\n@return QueuedJobDescriptor|false", "docstring_tokens": ["Check", "the", "current", "job", "queues", "and", "see", "if", "any", "of", "the", "jobs", "currently", "in", "there", "should", "be", "started", ".", "If", "so", "return", "the", "next", "job", "that", "should", "be", "executed"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L288-L325", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.checkJobHealth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs an explicit check on all currently running jobs to make sure their \"processed\" count is incrementing\nbetween each run. If it's not, then we need to flag it as paused due to an error.\n\nThis typically happens when a PHP fatal error is thrown, which can't be picked up by the error\nhandler or exception checker; in this case, we detect these stalled jobs later and fix (try) to\nfix them\n\n@param int $queue The queue to check against", "docstring_tokens": ["Runs", "an", "explicit", "check", "on", "all", "currently", "running", "jobs", "to", "make", "sure", "their", "processed", "count", "is", "incrementing", "between", "each", "run", ".", "If", "it", "s", "not", "then", "we", "need", "to", "flag", "it", "as", "paused", "due", "to", "an", "error", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L337-L388", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.checkDefaultJobs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks through ll the scheduled jobs that are expected to exist", "docstring_tokens": ["Checks", "through", "ll", "the", "scheduled", "jobs", "that", "are", "expected", "to", "exist"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L393-L472", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.restartStalledJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to restart a stalled job\n\n@param QueuedJobDescriptor $stalledJob\n\n@return bool True if the job was successfully restarted", "docstring_tokens": ["Attempt", "to", "restart", "a", "stalled", "job"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L481-L524", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.initialiseJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares the given jobDescriptor for execution. Returns the job that\nwill actually be run in a state ready for executing.\n\nNote that this is called each time a job is picked up to be executed from the cron\njob - meaning that jobs that are paused and restarted will have 'setup()' called on them again,\nso your job MUST detect that and act accordingly.\n\n@param QueuedJobDescriptor $jobDescriptor\nThe Job descriptor of a job to prepare for execution\n\n@return QueuedJob|boolean\n@throws Exception", "docstring_tokens": ["Prepares", "the", "given", "jobDescriptor", "for", "execution", ".", "Returns", "the", "job", "that", "will", "actually", "be", "run", "in", "a", "state", "ready", "for", "executing", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L540-L569", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.hasPassedTimeLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is execution time too long?\n\n@return bool True if the script has passed the configured time_limit", "docstring_tokens": ["Is", "execution", "time", "too", "long?"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L956-L970", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.isMemoryTooHigh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is memory usage too high?\n\n@return bool", "docstring_tokens": ["Is", "memory", "usage", "too", "high?"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L977-L982", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.parseMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert memory limit string to bytes.\nBased on implementation in install.php5\n\n@param string $memString\n\n@return float", "docstring_tokens": ["Convert", "memory", "limit", "string", "to", "bytes", ".", "Based", "on", "implementation", "in", "install", ".", "php5"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L1036-L1050", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.getJobListFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the SQL filter used to get the job list - this is used by the UI for displaying the job list...\n\n@param string $type\nif we're after a particular job list\n@param int $includeUpUntil\nThe number of seconds to include jobs that have just finished, allowing a job list to be built that\nincludes recently finished jobs\n\n@return string", "docstring_tokens": ["Return", "the", "SQL", "filter", "used", "to", "get", "the", "job", "list", "-", "this", "is", "used", "by", "the", "UI", "for", "displaying", "the", "job", "list", "..."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L1089-L1107", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.runQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the job queue with the current queue runner\n\n@param string $queue", "docstring_tokens": ["Process", "the", "job", "queue", "with", "the", "current", "queue", "runner"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L1114-L1121", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Services/QueuedJobService.php", "func_name": "QueuedJobService.processJobQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process all jobs from a given queue\n\n@param string $name The job queue to completely process", "docstring_tokens": ["Process", "all", "jobs", "from", "a", "given", "queue"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Services/QueuedJobService.php#L1128-L1152", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Controllers/QueuedTaskRunner.php", "func_name": "QueuedTaskRunner.queueTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a RunBuildTaskJob to the job queue for a given task\n\n@param HTTPRequest $request", "docstring_tokens": ["Adds", "a", "RunBuildTaskJob", "to", "the", "job", "queue", "for", "a", "given", "task"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Controllers/QueuedTaskRunner.php#L105-L148", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/Engines/BaseRunner.php", "func_name": "BaseRunner.logDescriptorStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the status of the queued job descriptor.\n\n@param bool|null|QueuedJobDescriptor $descriptor\n@param string $queue", "docstring_tokens": ["Logs", "the", "status", "of", "the", "queued", "job", "descriptor", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/Engines/BaseRunner.php#L53-L66", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/Engines/BaseRunner.php", "func_name": "BaseRunner.listJobs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the number of current jobs per queue", "docstring_tokens": ["Logs", "the", "number", "of", "current", "jobs", "per", "queue"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/Engines/BaseRunner.php#L71-L79", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/DoormanQueuedJobTask.php", "func_name": "DoormanQueuedJobTask.refreshDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reload descriptor from DB", "docstring_tokens": ["Reload", "descriptor", "from", "DB"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/DoormanQueuedJobTask.php#L28-L33", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/CheckJobHealthTask.php", "func_name": "CheckJobHealthTask.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Implement this method in the task subclass to\nexecute via the TaskRunner\n\n@param HTTPRequest $request\n@return", "docstring_tokens": ["Implement", "this", "method", "in", "the", "task", "subclass", "to", "execute", "via", "the", "TaskRunner"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/CheckJobHealthTask.php#L37-L45", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.pause", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pause this job, but only if it is waiting, running, or init\n\n@param bool $force Pause this job even if it's not waiting, running, or init\n\n@return bool Return true if this job was paused", "docstring_tokens": ["Pause", "this", "job", "but", "only", "if", "it", "is", "waiting", "running", "or", "init"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L152-L163", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.resume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resume this job and schedules it for execution\n\n@param bool $force Resume this job even if it's not paused or broken\n\n@return bool Return true if this job was resumed", "docstring_tokens": ["Resume", "this", "job", "and", "schedules", "it", "for", "execution"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L172-L182", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.activateOnQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called to indicate that the job is ready to be run on the queue. This is done either as the result of\ncreating the job and adding it, or when resuming.", "docstring_tokens": ["Called", "to", "indicate", "that", "the", "job", "is", "ready", "to", "be", "run", "on", "the", "queue", ".", "This", "is", "done", "either", "as", "the", "result", "of", "creating", "the", "job", "and", "adding", "it", "or", "when", "resuming", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L196-L204", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.getJobDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the path to the queuedjob cache directory\n\n@return string", "docstring_tokens": ["Gets", "the", "path", "to", "the", "queuedjob", "cache", "directory"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L211-L223", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.cleanupJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called when the job has completed and we want to cleanup anything the descriptor has lying around\nin caches or the like.", "docstring_tokens": ["Called", "when", "the", "job", "has", "completed", "and", "we", "want", "to", "cleanup", "anything", "the", "descriptor", "has", "lying", "around", "in", "caches", "or", "the", "like", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L235-L242", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.getMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all job messages as an HTML unordered list.\n\n@return string|null", "docstring_tokens": ["Get", "all", "job", "messages", "as", "an", "HTML", "unordered", "list", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L255-L267", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.getLastMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last job message as a raw string\n\n@return string|null", "docstring_tokens": ["Get", "the", "last", "job", "message", "as", "a", "raw", "string"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L274-L282", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.getJobTypeString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a string representation of the numeric JobType\n@return string", "docstring_tokens": ["Return", "a", "string", "representation", "of", "the", "numeric", "JobType"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L296-L300", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/DataObjects/QueuedJobDescriptor.php", "func_name": "QueuedJobDescriptor.getJobTypeValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a map of numeric JobType values to localisable string representations.\n@return array", "docstring_tokens": ["Return", "a", "map", "of", "numeric", "JobType", "values", "to", "localisable", "string", "representations", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/DataObjects/QueuedJobDescriptor.php#L307-L314", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/GenerateGoogleSitemapJob.php", "func_name": "GenerateGoogleSitemapJob.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Note that this is duplicated for backwards compatibility purposes...", "docstring_tokens": ["Note", "that", "this", "is", "duplicated", "for", "backwards", "compatibility", "purposes", "..."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/GenerateGoogleSitemapJob.php#L78-L95", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/GenerateGoogleSitemapJob.php", "func_name": "GenerateGoogleSitemapJob.prepareForRestart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "On any restart, make sure to check that our temporary file is being created still.", "docstring_tokens": ["On", "any", "restart", "make", "sure", "to", "check", "that", "our", "temporary", "file", "is", "being", "created", "still", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/GenerateGoogleSitemapJob.php#L100-L112", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/GenerateGoogleSitemapJob.php", "func_name": "GenerateGoogleSitemapJob.completeJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs the completed file to the site's webroot", "docstring_tokens": ["Outputs", "the", "completed", "file", "to", "the", "site", "s", "webroot"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/GenerateGoogleSitemapJob.php#L198-L220", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/Engines/DoormanRunner.php", "func_name": "DoormanRunner.runQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run tasks on the given queue\n\n@param string $queue", "docstring_tokens": ["Run", "tasks", "on", "the", "given", "queue"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/Engines/DoormanRunner.php#L48-L86", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Forms/GridFieldQueuedJobExecute.php", "func_name": "GridFieldQueuedJobExecute.handleAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the actions and apply any changes to the GridField\n\n@param GridField $gridField\n@param string $actionName\n@param mixed $arguments\n@param array $data - form data\n@return void", "docstring_tokens": ["Handle", "the", "actions", "and", "apply", "any", "changes", "to", "the", "GridField"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Forms/GridFieldQueuedJobExecute.php#L161-L172", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/PublishItemsJob.php", "func_name": "PublishItemsJob.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines the title of the job\n\n@return string", "docstring_tokens": ["Defines", "the", "title", "of", "the", "job"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/PublishItemsJob.php#L42-L55", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/PublishItemsJob.php", "func_name": "PublishItemsJob.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is called immediately before a job begins - it gives you a chance\nto initialise job data and make sure everything's good to go\n\nWhat we're doing in our case is to queue up the list of items we know we need to\nprocess still (it's not everything - just the ones we know at the moment)\n\nWhen we go through, we'll constantly add and remove from this queue, meaning\nwe never overload it with content", "docstring_tokens": ["This", "is", "called", "immediately", "before", "a", "job", "begins", "-", "it", "gives", "you", "a", "chance", "to", "initialise", "job", "data", "and", "make", "sure", "everything", "s", "good", "to", "go"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/PublishItemsJob.php#L83-L98", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Jobs/PublishItemsJob.php", "func_name": "PublishItemsJob.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lets process a single node, and publish it if necessary", "docstring_tokens": ["Lets", "process", "a", "single", "node", "and", "publish", "it", "if", "necessary"], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Jobs/PublishItemsJob.php#L103-L144", "partition": "test"} +{"repo": "symbiote/silverstripe-queuedjobs", "path": "src/Tasks/ProcessJobQueueTask.php", "func_name": "ProcessJobQueueTask.getQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves the queue name to one of a few aliases.\n\n@todo Solve the \"Queued\"/\"queued\" mystery!\n\n@param HTTPRequest $request\n@return string", "docstring_tokens": ["Resolves", "the", "queue", "name", "to", "one", "of", "a", "few", "aliases", "."], "sha": "897149ebb689ab2304356048251b2f7c3db659b7", "url": "https://github.com/symbiote/silverstripe-queuedjobs/blob/897149ebb689ab2304356048251b2f7c3db659b7/src/Tasks/ProcessJobQueueTask.php#L70-L93", "partition": "test"} +{"repo": "yiisoft/yii2-shell", "path": "YiiCaster.php", "func_name": "YiiCaster.castModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array representing the properties of a model.\n\n@param \\yii\\db\\ActiveRecord $model\n@return array", "docstring_tokens": ["Get", "an", "array", "representing", "the", "properties", "of", "a", "model", "."], "sha": "9f6cf83b22df9ff30968ab0593d02a90710135be", "url": "https://github.com/yiisoft/yii2-shell/blob/9f6cf83b22df9ff30968ab0593d02a90710135be/YiiCaster.php#L27-L37", "partition": "test"} +{"repo": "yiisoft/yii2-shell", "path": "ShellController.php", "func_name": "ShellController.actionIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs interactive shell", "docstring_tokens": ["Runs", "interactive", "shell"], "sha": "9f6cf83b22df9ff30968ab0593d02a90710135be", "url": "https://github.com/yiisoft/yii2-shell/blob/9f6cf83b22df9ff30968ab0593d02a90710135be/ShellController.php#L42-L51", "partition": "test"} +{"repo": "axllent/silverstripe-scss", "path": "src/Extensions/SourceMapGenerator.php", "func_name": "SourceMapGenerator.saveMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the source map to a file\n\n@param string $content The content to write\n\n@return string URL to saved file", "docstring_tokens": ["Saves", "the", "source", "map", "to", "a", "file"], "sha": "26b3af86061427711ff919aa33d14d0b1fc9e36e", "url": "https://github.com/axllent/silverstripe-scss/blob/26b3af86061427711ff919aa33d14d0b1fc9e36e/src/Extensions/SourceMapGenerator.php#L32-L42", "partition": "test"} +{"repo": "klaussilveira/SimpleSHM", "path": "src/Simple/SHM/Block.php", "func_name": "Block.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes on a shared memory block\n\nFirst we check for the block existance, and if it doesn't, we'll create it. Now, if the\nblock already exists, we need to delete it and create it again with a new byte allocation that\nmatches the size of the data that we want to write there. We mark for deletion, close the semaphore\nand create it again.\n\n@access public\n@param string $data The data that you wan't to write into the shared memory block", "docstring_tokens": ["Writes", "on", "a", "shared", "memory", "block"], "sha": "57ab193137bf41b4975497c41b68b0bd470891a7", "url": "https://github.com/klaussilveira/SimpleSHM/blob/57ab193137bf41b4975497c41b68b0bd470891a7/src/Simple/SHM/Block.php#L93-L106", "partition": "test"} +{"repo": "klaussilveira/SimpleSHM", "path": "src/Simple/SHM/Block.php", "func_name": "Block.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads from a shared memory block\n\n@access public\n@return string The data read from the shared memory block", "docstring_tokens": ["Reads", "from", "a", "shared", "memory", "block"], "sha": "57ab193137bf41b4975497c41b68b0bd470891a7", "url": "https://github.com/klaussilveira/SimpleSHM/blob/57ab193137bf41b4975497c41b68b0bd470891a7/src/Simple/SHM/Block.php#L114-L120", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Sidebar_Command.php", "func_name": "Sidebar_Command.list_", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists registered sidebars.\n\n## OPTIONS\n\n[--fields=]\n: Limit the output to specific object fields.\n\n[--format=]\n: Render output in a particular format.\n---\ndefault: table\noptions:\n- table\n- csv\n- json\n- ids\n- count\n- yaml\n---\n\n## AVAILABLE FIELDS\n\nThese fields will be displayed by default for each sidebar:\n\n* name\n* id\n* description\n\nThese fields are optionally available:\n\n* class\n* before_widget\n* after_widget\n* before_title\n* after_title\n\n## EXAMPLES\n\n$ wp sidebar list --fields=name,id --format=csv\nname,id\n\"Widget Area\",sidebar-1\n\"Inactive Widgets\",wp_inactive_widgets\n\n@subcommand list", "docstring_tokens": ["Lists", "registered", "sidebars", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Sidebar_Command.php#L73-L86", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.list_", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists widgets associated with a sidebar.\n\n## OPTIONS\n\n\n: ID for the corresponding sidebar.\n\n[--fields=]\n: Limit the output to specific object fields.\n\n[--format=]\n: Render output in a particular format.\n---\ndefault: table\noptions:\n- table\n- csv\n- ids\n- json\n- count\n- yaml\n---\n\n## AVAILABLE FIELDS\n\nThese fields will be displayed by default for each widget:\n\n* name\n* id\n* position\n* options\n\nThere are no optionally available fields.\n\n## EXAMPLES\n\n$ wp widget list sidebar-1 --fields=name,id --format=csv\nname,id\nmeta,meta-5\nsearch,search-3\n\n@subcommand list", "docstring_tokens": ["Lists", "widgets", "associated", "with", "a", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L87-L102", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a widget to a sidebar.\n\nCreates a new widget entry in the database, and associates it with the\nsidebar.\n\n## OPTIONS\n\n\n: Widget name.\n\n\n: ID for the corresponding sidebar.\n\n[]\n: Widget's current position within the sidebar. Defaults to last\n\n[--=]\n: Widget option to add, with its new value\n\n## EXAMPLES\n\n# Add a new calendar widget to sidebar-1 with title \"Calendar\"\n$ wp widget add calendar sidebar-1 2 --title=\"Calendar\"\nSuccess: Added widget to sidebar.\n\n@subcommand add", "docstring_tokens": ["Adds", "a", "widget", "to", "a", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L132-L166", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates options for an existing widget.\n\n## OPTIONS\n\n\n: Unique ID for the widget\n\n[--=]\n: Field to update, with its new value\n\n## EXAMPLES\n\n# Change calendar-1 widget title to \"Our Calendar\"\n$ wp widget update calendar-1 --title=\"Our Calendar\"\nSuccess: Widget updated.\n\n@subcommand update", "docstring_tokens": ["Updates", "options", "for", "an", "existing", "widget", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L187-L207", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves the position of a widget.\n\nChanges the order of a widget in its existing sidebar, or moves it to a\nnew sidebar.\n\n## OPTIONS\n\n\n: Unique ID for the widget\n\n[--position=]\n: Assign the widget to a new position.\n\n[--sidebar-id=]\n: Assign the widget to a new sidebar\n\n## EXAMPLES\n\n# Change position of widget\n$ wp widget move recent-comments-2 --position=2\nSuccess: Widget moved.\n\n# Move widget to Inactive Widgets\n$ wp widget move recent-comments-2 --sidebar-id=wp_inactive_widgets\nSuccess: Widget moved.\n\n@subcommand move", "docstring_tokens": ["Moves", "the", "position", "of", "a", "widget", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L238-L265", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.deactivate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deactivates one or more widgets from an active sidebar.\n\nMoves widgets to Inactive Widgets.\n\n## OPTIONS\n\n...\n: Unique ID for the widget(s)\n\n## EXAMPLES\n\n# Deactivate the recent-comments-2 widget.\n$ wp widget deactivate recent-comments-2\nSuccess: 1 widget deactivated.\n\n@subcommand deactivate", "docstring_tokens": ["Deactivates", "one", "or", "more", "widgets", "from", "an", "active", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L285-L310", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes one or more widgets from a sidebar.\n\n## OPTIONS\n\n...\n: Unique ID for the widget(s)\n\n## EXAMPLES\n\n# Delete the recent-comments-2 widget from its sidebar.\n$ wp widget delete recent-comments-2\nSuccess: Deleted 1 of 1 widgets.\n\n@subcommand delete", "docstring_tokens": ["Deletes", "one", "or", "more", "widgets", "from", "a", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L328-L356", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets sidebar.\n\nRemoves all widgets from the sidebar and places them in Inactive Widgets.\n\n## OPTIONS\n\n[...]\n: One or more sidebars to reset.\n\n[--all]\n: If set, all sidebars will be reset.\n\n## EXAMPLES\n\n# Reset a sidebar\n$ wp widget reset sidebar-1\nSuccess: Sidebar 'sidebar-1' reset.\n\n# Reset multiple sidebars\n$ wp widget reset sidebar-1 sidebar-2\nSuccess: Sidebar 'sidebar-1' reset.\nSuccess: Sidebar 'sidebar-2' reset.\n\n# Reset all sidebars\n$ wp widget reset --all\nSuccess: Sidebar 'sidebar-1' reset.\nSuccess: Sidebar 'sidebar-2' reset.\nSuccess: Sidebar 'sidebar-3' reset.", "docstring_tokens": ["Resets", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L388-L438", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.validate_sidebar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a sidebar is a valid sidebar\n\n@param string $sidebar_id", "docstring_tokens": ["Checks", "whether", "a", "sidebar", "is", "a", "valid", "sidebar"], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L445-L453", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.validate_sidebar_widget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the specified widget is on the sidebar\n\n@param string $widget_id", "docstring_tokens": ["Checks", "whether", "the", "specified", "widget", "is", "on", "the", "sidebar"], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L460-L473", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.get_widget_data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the widget's name, option index, sidebar, and sidebar index from its ID\n\n@param string $widget_id\n@return array", "docstring_tokens": ["Gets", "the", "widget", "s", "name", "option", "index", "sidebar", "and", "sidebar", "index", "from", "its", "ID"], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L530-L550", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.move_sidebar_widget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Repositions a widget within a sidebar or move to another sidebar.\n\n@param string $widget_id\n@param string|null $current_sidebar_id\n@param string $new_sidebar_id\n@param int|null $current_index\n@param int $new_index", "docstring_tokens": ["Repositions", "a", "widget", "within", "a", "sidebar", "or", "move", "to", "another", "sidebar", "."], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L581-L616", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.get_widget_obj", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a widget's instantiated object based on its name\n\n@param string $id_base Name of the widget\n@return WP_Widget|false", "docstring_tokens": ["Gets", "a", "widget", "s", "instantiated", "object", "based", "on", "its", "name"], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L624-L633", "partition": "test"} +{"repo": "wp-cli/widget-command", "path": "src/Widget_Command.php", "func_name": "Widget_Command.sanitize_widget_options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans up a widget's options based on its update callback\n\n@param string $id_base Name of the widget\n@param mixed $dirty_options\n@param mixed $old_options\n@return mixed", "docstring_tokens": ["Cleans", "up", "a", "widget", "s", "options", "based", "on", "its", "update", "callback"], "sha": "58a1b2d2221cee852eb8a589535aaadb1217bb74", "url": "https://github.com/wp-cli/widget-command/blob/58a1b2d2221cee852eb8a589535aaadb1217bb74/src/Widget_Command.php#L643-L655", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Random.php", "func_name": "Random.getRandomInteger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a random integer within the specified range.\n\n@param integer $min The minimum expected value. Defaults to 0.\n@param integer $max The maximum expected value. Defaults to PHP_INT_MAX.\n@return integer A random integer between the specified values, inclusive.", "docstring_tokens": ["Get", "a", "random", "integer", "within", "the", "specified", "range", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Random.php#L124-L140", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Random.php", "func_name": "Random.getRandomString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a random string of the specified length.\n\n@param integer $length The length of the requested string.\n@return string A random string of the specified length, consisting of\ncharacters from the base64 character set.", "docstring_tokens": ["Get", "a", "random", "string", "of", "the", "specified", "length", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Random.php#L149-L171", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Encoder/Base32Encoder.php", "func_name": "Base32Encoder.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode a string of raw bytes.\n\n@param string $string\n@return string", "docstring_tokens": ["Encode", "a", "string", "of", "raw", "bytes", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Encoder/Base32Encoder.php#L32-L57", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Encoder/Base32Encoder.php", "func_name": "Base32Encoder.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode an encoded string.\n\n@param string $string\n@return string", "docstring_tokens": ["Decode", "an", "encoded", "string", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Encoder/Base32Encoder.php#L65-L84", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Generator/GeneratorFactory.php", "func_name": "GeneratorFactory.addGeneratorPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a search path for custom generators.\n\n@param string $prefix Namespace prefix used by generator classes\nin this path.\n@param string $path Directory path containing generator classes.\n@return boolean Returns true on success, false otherwise.", "docstring_tokens": ["Add", "a", "search", "path", "for", "custom", "generators", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Generator/GeneratorFactory.php#L54-L64", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Generator/GeneratorFactory.php", "func_name": "GeneratorFactory.removeGeneratorPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a registered generator path.\n\n@param type $prefixOrPath The prefix or directory path to remove.\n@return self Returns an instance of self for method chaining.", "docstring_tokens": ["Remove", "a", "registered", "generator", "path", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Generator/GeneratorFactory.php#L95-L109", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Generator/GeneratorFactory.php", "func_name": "GeneratorFactory.getGenerator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a supported random data generator.\n\nChecks the available supported generators and attempts to return the best\npossible generator.\n\n@return \\Rych\\Random\\Generator\\GeneratorInterface\n@uses \\Rych\\Random\\Generator\\GeneratorInterface::getPriority() Used to\nsort the available generators from lowest to highest priority.", "docstring_tokens": ["Get", "a", "supported", "random", "data", "generator", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Generator/GeneratorFactory.php#L121-L139", "partition": "test"} +{"repo": "rchouinard/rych-random", "path": "src/Generator/GeneratorFactory.php", "func_name": "GeneratorFactory.loadGenerators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populate the available generators array.\n\n@return void\n@uses \\Rych\\Random\\Generator\\GeneratorInterface Used to determine if a\ngenerator is supported by the system.", "docstring_tokens": ["Populate", "the", "available", "generators", "array", "."], "sha": "296cd31f16714be924911dc0b1db5cbce0e49db8", "url": "https://github.com/rchouinard/rych-random/blob/296cd31f16714be924911dc0b1db5cbce0e49db8/src/Generator/GeneratorFactory.php#L148-L188", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/FormGroup.php", "func_name": "FormGroup.showAsRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the group as an horizontal row, using the specified configuration. This method should be called last\nwhen the label and controls are all initialized.\n\nThe row configuration will be taken from config(\"bs4.form_rows.$rowConfig\")\n\n@param string $rowConfig The reference to the configuration (without prefix).\n\n@return \\MarvinLabs\\Html\\Bootstrap\\Elements\\FormGroup|static\n\n@throws \\InvalidArgumentException When the configuration does not exist\n@throws \\Psr\\Container\\NotFoundExceptionInterface Problem in dependency retrieval for 'config'\n@throws \\Psr\\Container\\ContainerExceptionInterface Problem in dependency retrieval for 'config'", "docstring_tokens": ["Show", "the", "group", "as", "an", "horizontal", "row", "using", "the", "specified", "configuration", ".", "This", "method", "should", "be", "called", "last", "when", "the", "label", "and", "controls", "are", "all", "initialized", "."], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/FormGroup.php#L107-L127", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/Input.php", "func_name": "Input.readOnly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make the input read only\n\n@param bool $showAsPlainText Style the input just like plain text (no border, padding, etc.)\n\n@return static", "docstring_tokens": ["Make", "the", "input", "read", "only"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/Input.php#L48-L54", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Traits/BuildsForms.php", "func_name": "BuildsForms.openForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open a form\n\n@param string $method The method to target for form action\n@param string $action The form action\n@param array $options A set of options for the form\n\nValid options are:\n\n- files => bool Does the form accept files\n- inline => bool Shall we render an inline form (Bootstrap specific)\n- model => mixed The model to bind to the form\n- hideErrors => bool Hide field errors\n- attributes => array Attributes to set on the form element\n\n@return \\Illuminate\\Contracts\\Support\\Htmlable\n@throws \\Exception When trying to open a form before closing the previous one", "docstring_tokens": ["Open", "a", "form"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Traits/BuildsForms.php#L50-L94", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/InputGroup.php", "func_name": "InputGroup.prefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an addon before the field\n\n@param string|\\Spatie\\Html\\BaseElement $prefix One or more prefixes to append before the field\n@param bool $isPlainText Is the prefix to be handled like a button, dropdown, etc.\n\n@return static", "docstring_tokens": ["Add", "an", "addon", "before", "the", "field"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/InputGroup.php#L40-L54", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/InputGroup.php", "func_name": "InputGroup.suffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an addon after the field\n\n@param string|\\Spatie\\Html\\BaseElement $suffix One or more suffixes to append before the field\n@param bool $isPlainText Is the prefix to be handled like a button, dropdown, etc.\n\n@return static", "docstring_tokens": ["Add", "an", "addon", "after", "the", "field"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/InputGroup.php#L64-L78", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/InputGroup.php", "func_name": "InputGroup.assembleAddons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the child elements corresponding to the given addons\n\n@param array $addons\n@param string $addonContainerClass\n\n@return static", "docstring_tokens": ["Add", "the", "child", "elements", "corresponding", "to", "the", "given", "addons"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/InputGroup.php#L98-L127", "partition": "test"} +{"repo": "marvinlabs/laravel-html-bootstrap-4", "path": "src/Bootstrap/Elements/Traits/SizableComponent.php", "func_name": "SizableComponent.size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the control size\n\n@param string $size\n\n@return static\n@throws \\RuntimeException When $size does not have a valid value", "docstring_tokens": ["Set", "the", "control", "size"], "sha": "77e1823cb3b5b395a2d30ad5a8cee82b21cffb33", "url": "https://github.com/marvinlabs/laravel-html-bootstrap-4/blob/77e1823cb3b5b395a2d30ad5a8cee82b21cffb33/src/Bootstrap/Elements/Traits/SizableComponent.php#L37-L51", "partition": "test"} +{"repo": "bergie/dnode-php", "path": "src/DNode/Session.php", "func_name": "Session.unscrub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace callbacks. The supplied function should take a callback\nid and return a callback of its own.", "docstring_tokens": ["Replace", "callbacks", ".", "The", "supplied", "function", "should", "take", "a", "callback", "id", "and", "return", "a", "callback", "of", "its", "own", "."], "sha": "048deef50afe95e21ef25c026bd79b2917920f3b", "url": "https://github.com/bergie/dnode-php/blob/048deef50afe95e21ef25c026bd79b2917920f3b/src/DNode/Session.php#L163-L183", "partition": "test"} +{"repo": "bergie/dnode-php", "path": "examples/bidirectional/server.php", "func_name": "Converter.clientTempF", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "fahrenheit in the supplied callback", "docstring_tokens": ["fahrenheit", "in", "the", "supplied", "callback"], "sha": "048deef50afe95e21ef25c026bd79b2917920f3b", "url": "https://github.com/bergie/dnode-php/blob/048deef50afe95e21ef25c026bd79b2917920f3b/examples/bidirectional/server.php#L10-L16", "partition": "test"} +{"repo": "bergie/dnode-php", "path": "examples/phpcr/simple/server.php", "func_name": "SimpleRemoteRepository.getNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the names of children nodes\n\n@param $sessionName - name of the session\n@param $path - absolute path of the parent node\n@param $cb - callback function\n\n@return void", "docstring_tokens": ["Get", "the", "names", "of", "children", "nodes"], "sha": "048deef50afe95e21ef25c026bd79b2917920f3b", "url": "https://github.com/bergie/dnode-php/blob/048deef50afe95e21ef25c026bd79b2917920f3b/examples/phpcr/simple/server.php#L46-L65", "partition": "test"} +{"repo": "bergie/dnode-php", "path": "examples/phpcr/simple/server.php", "func_name": "SimpleRemoteRepository.getProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the names of all properties\n\n@param $sessionName - name of the session\n@param $path - absolute path of the node\n@param $cb - callback function\n\n@return void", "docstring_tokens": ["Get", "the", "names", "of", "all", "properties"], "sha": "048deef50afe95e21ef25c026bd79b2917920f3b", "url": "https://github.com/bergie/dnode-php/blob/048deef50afe95e21ef25c026bd79b2917920f3b/examples/phpcr/simple/server.php#L76-L95", "partition": "test"} +{"repo": "ytake/Laravel.Smarty", "path": "src/Engines/SmartyEngine.php", "func_name": "SmartyEngine.evaluatePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the evaluated contents of the view at the given path.\n\n@param string $path\n@param array $data\n\n@throws \\Exception\n@return string", "docstring_tokens": ["Get", "the", "evaluated", "contents", "of", "the", "view", "at", "the", "given", "path", "."], "sha": "65c84f2b4e62687ba4af678664644fd5e435384f", "url": "https://github.com/ytake/Laravel.Smarty/blob/65c84f2b4e62687ba4af678664644fd5e435384f/src/Engines/SmartyEngine.php#L63-L83", "partition": "test"} +{"repo": "ytake/Laravel.Smarty", "path": "src/Cache/Redis.php", "func_name": "Redis.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save values for a set of keys to cache\n\n@param array $keys list of values to save\n@param int $expire expiration time\n\n@return bool true on success, false on failure", "docstring_tokens": ["Save", "values", "for", "a", "set", "of", "keys", "to", "cache"], "sha": "65c84f2b4e62687ba4af678664644fd5e435384f", "url": "https://github.com/ytake/Laravel.Smarty/blob/65c84f2b4e62687ba4af678664644fd5e435384f/src/Cache/Redis.php#L72-L79", "partition": "test"} +{"repo": "joomla-projects/selenium-server-standalone", "path": "Selenium.php", "func_name": "Selenium.getWebdriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect the correct driver for selenium\n\n@return string the webdriver string to use with selenium\n\n@since version", "docstring_tokens": ["Detect", "the", "correct", "driver", "for", "selenium"], "sha": "0e3ab3d9231126cf0d130863791b1f4d8133b1bd", "url": "https://github.com/joomla-projects/selenium-server-standalone/blob/0e3ab3d9231126cf0d130863791b1f4d8133b1bd/Selenium.php#L75-L120", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getAperture", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Aperture F-number\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "Aperture", "F", "-", "number"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L127-L134", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getAuthor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Author\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "Author"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L154-L161", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getHeadline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Headline\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "Headline"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L181-L188", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getCredit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Credit\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "Credit"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L208-L215", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the source\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "source"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L235-L242", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getJobtitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Jobtitle\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "Jobtitle"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L262-L269", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getIso", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the ISO speed\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "ISO", "speed"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L289-L296", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getFocusDistance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the focus distance, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "focus", "distance", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L363-L370", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the width in pixels, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "width", "in", "pixels", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L390-L397", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getHeight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the height in pixels, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "height", "in", "pixels", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L417-L424", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the title, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "title", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L444-L451", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getCaption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the caption, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "caption", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L471-L478", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getCopyright", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the copyright, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "copyright", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L498-L505", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getKeywords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the keywords, if they exists\n\n@return array|boolean", "docstring_tokens": ["Returns", "the", "keywords", "if", "they", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L525-L532", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getCamera", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the camera, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "camera", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L552-L559", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getHorizontalResolution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the horizontal resolution in DPI, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "horizontal", "resolution", "in", "DPI", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L579-L586", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getVerticalResolution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the vertical resolution in DPI, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "vertical", "resolution", "in", "DPI", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L606-L613", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getSoftware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the software, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "software", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L633-L640", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getFocalLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the focal length in mm, if it exists\n\n@return float|boolean", "docstring_tokens": ["Returns", "the", "focal", "length", "in", "mm", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L660-L667", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getCreationDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the creation datetime, if it exists\n\n@return \\DateTime|boolean", "docstring_tokens": ["Returns", "the", "creation", "datetime", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L687-L694", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getColorSpace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the colorspace, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "colorspace", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L714-L721", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the mimetype, if it exists\n\n@return string|boolean", "docstring_tokens": ["Returns", "the", "mimetype", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L741-L748", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getFileSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the filesize, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "filesize", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L768-L775", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getOrientation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the orientation, if it exists\n\n@return int|boolean", "docstring_tokens": ["Returns", "the", "orientation", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L795-L802", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Exif.php", "func_name": "Exif.getGPS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns GPS coordinates, if it exists\n\n@return array|boolean", "docstring_tokens": ["Returns", "GPS", "coordinates", "if", "it", "exists"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Exif.php#L822-L829", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Mapper/Native.php", "func_name": "Native.extractGPSCoordinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract GPS coordinates from components array\n\n@param array|string $components\n@return float", "docstring_tokens": ["Extract", "GPS", "coordinates", "from", "components", "array"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Mapper/Native.php#L255-L267", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/Exiftool.php", "func_name": "Exiftool.setToolPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter for the exiftool binary path\n\n@param string $path The path to the exiftool binary\n@return \\PHPExif\\Adapter\\Exiftool Current instance\n@throws \\InvalidArgumentException When path is invalid", "docstring_tokens": ["Setter", "for", "the", "exiftool", "binary", "path"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/Exiftool.php#L59-L73", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/Exiftool.php", "func_name": "Exiftool.getToolPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Getter for the exiftool binary path\nLazy loads the \"default\" path\n\n@return string", "docstring_tokens": ["Getter", "for", "the", "exiftool", "binary", "path", "Lazy", "loads", "the", "default", "path"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/Exiftool.php#L109-L117", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/Exiftool.php", "func_name": "Exiftool.getCliOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the output from given cli command\n\n@param string $command\n@return mixed\n@throws RuntimeException If the command can't be executed", "docstring_tokens": ["Returns", "the", "output", "from", "given", "cli", "command"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/Exiftool.php#L177-L201", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Hydrator/Mutator.php", "func_name": "Mutator.hydrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hydrates given array of data into the given Exif object\n\n@param object $object\n@param array $data\n@return void", "docstring_tokens": ["Hydrates", "given", "array", "of", "data", "into", "the", "given", "Exif", "object"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Hydrator/Mutator.php#L33-L43", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Mapper/Exiftool.php", "func_name": "Exiftool.extractGPSCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract GPS coordinates from formatted string\n\n@param string $coordinates\n@return array", "docstring_tokens": ["Extract", "GPS", "coordinates", "from", "formatted", "string"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Mapper/Exiftool.php#L198-L209", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/AdapterAbstract.php", "func_name": "AdapterAbstract.getMapper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for the data mapper\n\n@return \\PHPExif\\Mapper\\MapperInterface", "docstring_tokens": ["Accessor", "for", "the", "data", "mapper"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/AdapterAbstract.php#L77-L87", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/AdapterAbstract.php", "func_name": "AdapterAbstract.getHydrator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for the data hydrator\n\n@return \\PHPExif\\Hydrator\\HydratorInterface", "docstring_tokens": ["Accessor", "for", "the", "data", "hydrator"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/AdapterAbstract.php#L107-L117", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/AdapterAbstract.php", "func_name": "AdapterAbstract.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set array of options in the current object\n\n@param array $options\n@return \\PHPExif\\Reader\\AdapterAbstract", "docstring_tokens": ["Set", "array", "of", "options", "in", "the", "current", "object"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/AdapterAbstract.php#L125-L131", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/Native.php", "func_name": "Native.addRequiredSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an EXIF section to the list\n\n@param string $section\n@return \\PHPExif\\Adapter\\Native Current instance for chaining", "docstring_tokens": ["Adds", "an", "EXIF", "section", "to", "the", "list"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/Native.php#L113-L120", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Adapter/Native.php", "func_name": "Native.getIptcData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of IPTC data\n\n@param string $file The file to read the IPTC data from\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "IPTC", "data"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Adapter/Native.php#L213-L234", "partition": "test"} +{"repo": "PHPExif/php-exif", "path": "lib/PHPExif/Reader/Reader.php", "func_name": "Reader.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory for the reader\n\n@param string $type\n@return $this\n@throws \\InvalidArgumentException When given type is invalid", "docstring_tokens": ["Factory", "for", "the", "reader"], "sha": "41f23db39d7b48e4af0e134c2e80e577c1782ac9", "url": "https://github.com/PHPExif/php-exif/blob/41f23db39d7b48e4af0e134c2e80e577c1782ac9/lib/PHPExif/Reader/Reader.php#L72-L88", "partition": "test"} +{"repo": "CakeDC/Enum", "path": "src/Model/Behavior/Strategy/AbstractStrategy.php", "func_name": "AbstractStrategy._generatePrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates default prefix for strategy.\n\n@return string", "docstring_tokens": ["Generates", "default", "prefix", "for", "strategy", "."], "sha": "35b629fe946272150c17be9beecc0de85f6c822a", "url": "https://github.com/CakeDC/Enum/blob/35b629fe946272150c17be9beecc0de85f6c822a/src/Model/Behavior/Strategy/AbstractStrategy.php#L86-L92", "partition": "test"} +{"repo": "CakeDC/Enum", "path": "src/Model/Behavior/EnumBehavior.php", "func_name": "EnumBehavior._normalizeConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the strategies configuration and initializes the strategies.\n\n@return void", "docstring_tokens": ["Normalizes", "the", "strategies", "configuration", "and", "initializes", "the", "strategies", "."], "sha": "35b629fe946272150c17be9beecc0de85f6c822a", "url": "https://github.com/CakeDC/Enum/blob/35b629fe946272150c17be9beecc0de85f6c822a/src/Model/Behavior/EnumBehavior.php#L139-L169", "partition": "test"} +{"repo": "CakeDC/Enum", "path": "src/Model/Behavior/EnumBehavior.php", "func_name": "EnumBehavior._translate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate list values.\n\n@param array $list List.\n@return array", "docstring_tokens": ["Translate", "list", "values", "."], "sha": "35b629fe946272150c17be9beecc0de85f6c822a", "url": "https://github.com/CakeDC/Enum/blob/35b629fe946272150c17be9beecc0de85f6c822a/src/Model/Behavior/EnumBehavior.php#L232-L239", "partition": "test"} +{"repo": "silverstripe/silverstripe-staticpublishqueue", "path": "src/Task/StaticCacheFullBuildTask.php", "func_name": "StaticCacheFullBuildTask.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queue up a StaticCacheFullBuildJob\nCheck for startAfter param and do some sanity checking\n\n@param HTTPRequest $request\n@return", "docstring_tokens": ["Queue", "up", "a", "StaticCacheFullBuildJob", "Check", "for", "startAfter", "param", "and", "do", "some", "sanity", "checking"], "sha": "513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58", "url": "https://github.com/silverstripe/silverstripe-staticpublishqueue/blob/513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58/src/Task/StaticCacheFullBuildTask.php#L25-L90", "partition": "test"} +{"repo": "silverstripe/silverstripe-staticpublishqueue", "path": "src/Job/StaticCacheFullBuildJob.php", "func_name": "StaticCacheFullBuildJob.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do some processing yourself!", "docstring_tokens": ["Do", "some", "processing", "yourself!"], "sha": "513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58", "url": "https://github.com/silverstripe/silverstripe-staticpublishqueue/blob/513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58/src/Job/StaticCacheFullBuildJob.php#L46-L85", "partition": "test"} +{"repo": "silverstripe/silverstripe-staticpublishqueue", "path": "src/Extension/Engine/SiteTreePublishingEngine.php", "func_name": "SiteTreePublishingEngine.collectChanges", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect all changes for the given context.\n\n@param array $context", "docstring_tokens": ["Collect", "all", "changes", "for", "the", "given", "context", "."], "sha": "513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58", "url": "https://github.com/silverstripe/silverstripe-staticpublishqueue/blob/513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58/src/Extension/Engine/SiteTreePublishingEngine.php#L119-L133", "partition": "test"} +{"repo": "silverstripe/silverstripe-staticpublishqueue", "path": "src/Extension/Engine/SiteTreePublishingEngine.php", "func_name": "SiteTreePublishingEngine.flushChanges", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute URL deletions, enqueue URL updates.", "docstring_tokens": ["Execute", "URL", "deletions", "enqueue", "URL", "updates", "."], "sha": "513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58", "url": "https://github.com/silverstripe/silverstripe-staticpublishqueue/blob/513f660c0e6ff3a2492fd0dceb4e3bd63c7a4f58/src/Extension/Engine/SiteTreePublishingEngine.php#L138-L176", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleExtensionCleanerDebug.php", "func_name": "ModuleExtensionCleanerDebug.getModuleExtensionsGarbage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns extension which is no longer in metadata - garbage\n\n@param array $moduleMetaDataExtensions extensions defined in metadata.\n@param array $moduleInstalledExtensions extensions which are installed\n\n@return array", "docstring_tokens": ["Returns", "extension", "which", "is", "no", "longer", "in", "metadata", "-", "garbage"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleExtensionCleanerDebug.php#L95-L109", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleExtensionCleanerDebug.php", "func_name": "ModuleExtensionCleanerDebug.filterExtensionsByModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns extensions list by module id.\n\n@param array $modules Module array (nested format)\n@param string $module Module id/folder name\n\n@return array", "docstring_tokens": ["Returns", "extensions", "list", "by", "module", "id", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleExtensionCleanerDebug.php#L119-L154", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.getModuleBlocks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get template blocks defined in database.\n\n@return array\n@throws \\OxidEsales\\Eshop\\Core\\Exception\\DatabaseErrorException", "docstring_tokens": ["Get", "template", "blocks", "defined", "in", "database", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L78-L101", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.getModuleSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get module settings defined in database.\n\n@return array", "docstring_tokens": ["Get", "module", "settings", "defined", "in", "database", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L108-L116", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.isMetadataSupported", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check supported metadata version\n\n@return bool", "docstring_tokens": ["Check", "supported", "metadata", "version"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L123-L143", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkPhpFileExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "checks if module file exists on directory\nswitches between metadata version for checking\nchecks also for namespace class if metadata version = 2.0\n\n@param string $sClassName\n@param string $sExtention\n\n@return bool", "docstring_tokens": ["checks", "if", "module", "file", "exists", "on", "directory", "switches", "between", "metadata", "version", "for", "checking", "checks", "also", "for", "namespace", "class", "if", "metadata", "version", "=", "2", ".", "0"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L203-L214", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleVersions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze versions in metadata\nchecks if metadata version is same as database entry for metadata\n\n@return array", "docstring_tokens": ["Analyze", "versions", "in", "metadata", "checks", "if", "metadata", "version", "is", "same", "as", "database", "entry", "for", "metadata"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L224-L239", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkExtendedClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze extended class information in metadata and database.\n\n@return array", "docstring_tokens": ["Analyze", "extended", "class", "information", "in", "metadata", "and", "database", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L273-L340", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkTemplateBlocks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze template block information in metadata and database.\n\n@return array", "docstring_tokens": ["Analyze", "template", "block", "information", "in", "metadata", "and", "database", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L361-L423", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze settings in metadata ans settings.\n\n@return array", "docstring_tokens": ["Analyze", "settings", "in", "metadata", "ans", "settings", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L430-L441", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze templates in metadata ans settings.\n\n@return array", "docstring_tokens": ["Analyze", "templates", "in", "metadata", "ans", "settings", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L448-L454", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze controller in metadata\n\n@return array", "docstring_tokens": ["Analyze", "controller", "in", "metadata"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L461-L466", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze file in metadata\n\n@return array", "docstring_tokens": ["Analyze", "file", "in", "metadata"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L473-L477", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/InternalModule.php", "func_name": "InternalModule.checkModuleEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze events in metadata ans settings.\n\n@return array", "docstring_tokens": ["Analyze", "events", "in", "metadata", "ans", "settings", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/InternalModule.php#L508-L519", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Command/ModuleFixCommand.php", "func_name": "ModuleFixCommand._parseModuleIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse and return module ids from input\n\n@return array\n\n@throws InputException", "docstring_tokens": ["Parse", "and", "return", "module", "ids", "from", "input"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Command/ModuleFixCommand.php#L103-L130", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Command/ModuleFixCommand.php", "func_name": "ModuleFixCommand._parseShopConfigs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse and return shop config objects from input\n\n@return ShopConfig[]\n\n@throws InputException", "docstring_tokens": ["Parse", "and", "return", "shop", "config", "objects", "from", "input"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Command/ModuleFixCommand.php#L139-L157", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Command/ModuleFixCommand.php", "func_name": "ModuleFixCommand._getAvailableModuleIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all available module ids\n\n@return array", "docstring_tokens": ["Get", "all", "available", "module", "ids"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Command/ModuleFixCommand.php#L164-L177", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Command/ModuleFixCommand.php", "func_name": "ModuleFixCommand.isEnabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "important method for oxrun to bootstrap oxid\n@return bool", "docstring_tokens": ["important", "method", "for", "oxrun", "to", "bootstrap", "oxid"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Command/ModuleFixCommand.php#L183-L190", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Controller/Admin/UtilsController.php", "func_name": "UtilsController.getModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get active module object.\n\n@return oxModule", "docstring_tokens": ["Get", "active", "module", "object", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Controller/Admin/UtilsController.php#L49-L60", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Controller/Admin/UtilsController.php", "func_name": "UtilsController.getModuleCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns initialized cache instance\n\n@return oxModuleCache", "docstring_tokens": ["Returns", "initialized", "cache", "instance"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Controller/Admin/UtilsController.php#L67-L74", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Controller/Admin/UtilsController.php", "func_name": "UtilsController.getModuleInstaller", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns initialized module installer instance\n\n@return oxModuleInstaller", "docstring_tokens": ["Returns", "initialized", "module", "installer", "instance"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Controller/Admin/UtilsController.php#L81-L88", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer.fix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix module states task runs version, extend, files, templates, blocks,\nsettings and events information fix tasks\n\n@param Module $module\n@param Config|null $oConfig If not passed uses default base shop config", "docstring_tokens": ["Fix", "module", "states", "task", "runs", "version", "extend", "files", "templates", "blocks", "settings", "and", "events", "information", "fix", "tasks"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L96-L112", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer.cleanUpExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove extensions that are not registered by any module", "docstring_tokens": ["remove", "extensions", "that", "are", "not", "registered", "by", "any", "module"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L127-L166", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addTemplateFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module template files to config for smarty.\n\n@param array $aModuleTemplates Module templates array\n@param string $sModuleId Module id", "docstring_tokens": ["Add", "module", "template", "files", "to", "config", "for", "smarty", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L174-L195", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addModuleFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module files to config for auto loader.\n\n@param array $aModuleFiles Module files array\n@param string $sModuleId Module id", "docstring_tokens": ["Add", "module", "files", "to", "config", "for", "auto", "loader", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L204-L231", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addModuleEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module events to config.\n\n@param array $aModuleEvents Module events\n@param string $sModuleId Module id", "docstring_tokens": ["Add", "module", "events", "to", "config", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L240-L262", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addModuleExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module id with extensions to config.\n\n@param array $moduleExtensions Module version\n@param string $moduleId Module id", "docstring_tokens": ["Add", "module", "id", "with", "extensions", "to", "config", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L270-L292", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addModuleVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module version to config.\n\n@param string $sModuleVersion Module version\n@param string $sModuleId Module id", "docstring_tokens": ["Add", "module", "version", "to", "config", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L300-L323", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer.diff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "compares 2 assoc arrays\ntrue if there is something changed\n@param $array1\n@param $array2\n@return bool", "docstring_tokens": ["compares", "2", "assoc", "arrays", "true", "if", "there", "is", "something", "changed"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L332-L345", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addModuleSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds settings to database.\n\n@param array $moduleSettings Module settings array\n@param string $moduleId Module id", "docstring_tokens": ["Adds", "settings", "to", "database", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L406-L430", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer.setModuleControllers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add controllers map for a given module Id to config\n\n@param array $moduleControllers Map of controller ids and class names\n@param string $moduleId The Id of the module", "docstring_tokens": ["Add", "controllers", "map", "for", "a", "given", "module", "Id", "to", "config"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L439-L466", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/ModuleStateFixer.php", "func_name": "ModuleStateFixer._addExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add extension to module\n\n@param \\OxidEsales\\Eshop\\Core\\Module\\Module $module", "docstring_tokens": ["Add", "extension", "to", "module"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/ModuleStateFixer.php#L538-L569", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Core/OxidComposerModulesService.php", "func_name": "OxidComposerModulesService.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get List of packages", "docstring_tokens": ["get", "List", "of", "packages"], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Core/OxidComposerModulesService.php#L24-L46", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Controller/Admin/State.php", "func_name": "State.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect info about module state.\n\n@return string", "docstring_tokens": ["Collect", "info", "about", "module", "state", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Controller/Admin/State.php#L80-L90", "partition": "test"} +{"repo": "OXIDprojects/oxid-module-internals", "path": "Controller/Admin/State.php", "func_name": "State.block", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix module settings.", "docstring_tokens": ["Fix", "module", "settings", "."], "sha": "acfd0e6334b99b02c0f6ebcb738190511e89a4ee", "url": "https://github.com/OXIDprojects/oxid-module-internals/blob/acfd0e6334b99b02c0f6ebcb738190511e89a4ee/Controller/Admin/State.php#L96-L102", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/HttpFactory.php", "func_name": "HttpFactory.getHttp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to create an Http instance.\n\n@param array|\\ArrayAccess $options Client options array.\n@param array|string $adapters Adapter (string) or queue of adapters (array) to use for communication.\n\n@return Http\n\n@since 1.0\n@throws \\InvalidArgumentException\n@throws \\RuntimeException", "docstring_tokens": ["Method", "to", "create", "an", "Http", "instance", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/HttpFactory.php#L30-L45", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/HttpFactory.php", "func_name": "HttpFactory.getAvailableDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds an available TransportInterface object for communication\n\n@param array|\\ArrayAccess $options Options for creating TransportInterface object\n@param array|string $default Adapter (string) or queue of adapters (array) to use\n\n@return TransportInterface|boolean Interface sub-class or boolean false if no adapters are available\n\n@since 1.0\n@throws \\InvalidArgumentException", "docstring_tokens": ["Finds", "an", "available", "TransportInterface", "object", "for", "communication"], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/HttpFactory.php#L58-L98", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/HttpFactory.php", "func_name": "HttpFactory.getHttpTransports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the HTTP transport handlers\n\n@return array An array of available transport handlers\n\n@since 1.0", "docstring_tokens": ["Get", "the", "HTTP", "transport", "handlers"], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/HttpFactory.php#L107-L137", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Transport/Curl.php", "func_name": "Curl.setCAOptionAndValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the cURL resources with the appropriate root certificates.\n\n@param resource $ch The cURL resource you want to configure the certificates on.\n\n@return void\n\n@since 1.3.2", "docstring_tokens": ["Configure", "the", "cURL", "resources", "with", "the", "appropriate", "root", "certificates", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Transport/Curl.php#L244-L264", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Transport/Curl.php", "func_name": "Curl.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to get a response object from a server response.\n\n@param string $content The complete server response, including headers\nas a string if the response has no errors.\n@param array $info The cURL request information.\n\n@return Response\n\n@since 1.0\n@throws InvalidResponseCodeException", "docstring_tokens": ["Method", "to", "get", "a", "response", "object", "from", "a", "server", "response", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Transport/Curl.php#L278-L339", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Transport/Curl.php", "func_name": "Curl.redirectsAllowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if redirects are allowed\n\n@return boolean\n\n@since 1.2.1", "docstring_tokens": ["Check", "if", "redirects", "are", "allowed"], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Transport/Curl.php#L390-L409", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Http.php", "func_name": "Http.options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to send the OPTIONS command to the server.\n\n@param string|UriInterface $url The URI to the resource to request.\n@param array $headers An array of request headers to send with the request.\n@param integer $timeout Read timeout in seconds.\n\n@return Response\n\n@since 1.0", "docstring_tokens": ["Method", "to", "send", "the", "OPTIONS", "command", "to", "the", "server", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Http.php#L114-L117", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Http.php", "func_name": "Http.head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to send the HEAD command to the server.\n\n@param string|UriInterface $url The URI to the resource to request.\n@param array $headers An array of request headers to send with the request.\n@param integer $timeout Read timeout in seconds.\n\n@return Response\n\n@since 1.0", "docstring_tokens": ["Method", "to", "send", "the", "HEAD", "command", "to", "the", "server", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Http.php#L130-L133", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Http.php", "func_name": "Http.trace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to send the TRACE command to the server.\n\n@param string|UriInterface $url The URI to the resource to request.\n@param array $headers An array of request headers to send with the request.\n@param integer $timeout Read timeout in seconds.\n\n@return Response\n\n@since 1.0", "docstring_tokens": ["Method", "to", "send", "the", "TRACE", "command", "to", "the", "server", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Http.php#L213-L216", "partition": "test"} +{"repo": "joomla-framework/http", "path": "src/Http.php", "func_name": "Http.patch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to send the PATCH command to the server.\n\n@param string|UriInterface $url The URI to the resource to request.\n@param mixed $data Either an associative array or a string to be sent with the request.\n@param array $headers An array of request headers to send with the request.\n@param integer $timeout Read timeout in seconds.\n\n@return Response\n\n@since 1.0", "docstring_tokens": ["Method", "to", "send", "the", "PATCH", "command", "to", "the", "server", "."], "sha": "c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9", "url": "https://github.com/joomla-framework/http/blob/c8d7d0dc51fb66a6cc3491ab157618c0cbfecdd9/src/Http.php#L230-L233", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/GlobMatcher/Integration/AbstractGlobMatcher.php", "func_name": "AbstractGlobMatcher.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if given path matches a glob expression.\n\n@param string $relativePath\n@param string $globExpression Glob filter expressions, e.g. \"*.txt\" or \"*.pdf\".\n\n@throws \\InvalidArgumentException If given $globExpression is not a valid string.\n@throws \\InvalidArgumentException If given $globExpression is an absolute path.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "given", "path", "matches", "a", "glob", "expression", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/GlobMatcher/Integration/AbstractGlobMatcher.php#L30-L51", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/AbstractPackageInstaller.php", "func_name": "AbstractPackageInstaller.getExtraParameterValueByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for parameter with specific key in \"extra\" composer configuration block\n\n@param string $extraParameterKey\n@param string $defaultValue\n\n@return array|string|null", "docstring_tokens": ["Search", "for", "parameter", "with", "specific", "key", "in", "extra", "composer", "configuration", "block"], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/AbstractPackageInstaller.php#L118-L125", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/AbstractPackageInstaller.php", "func_name": "AbstractPackageInstaller.getCombinedFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Combine multiple glob expression lists into one list\n\n@param array $listOfGlobExpressionLists E.g. [[\"*.txt\", \"*.pdf\"], [\"*.md\"]]\n\n@return array", "docstring_tokens": ["Combine", "multiple", "glob", "expression", "lists", "into", "one", "list"], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/AbstractPackageInstaller.php#L152-L160", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Plugin.php", "func_name": "Plugin.activate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register shop packages installer.\n\n@param Composer $composer\n@param IOInterface $io", "docstring_tokens": ["Register", "shop", "packages", "installer", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Plugin.php#L53-L66", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/GlobMatcher/GlobListMatcher/GlobListMatcher.php", "func_name": "GlobListMatcher.matchAny", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if given relative path matches against at least one glob expression from provided list.\n\n@param string $relativePath\n@param array $globExpressionList List of glob expressions, e.g. [\"*.txt\", \"*.pdf\"].\n\n@throws \\InvalidArgumentException If $globExpressionList is not a \\Traversable instance.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "given", "relative", "path", "matches", "against", "at", "least", "one", "glob", "expression", "from", "provided", "list", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/GlobMatcher/GlobListMatcher/GlobListMatcher.php#L41-L56", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/GlobMatcher/GlobListMatcher/GlobListMatcher.php", "func_name": "GlobListMatcher.isMatchInList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the supplied globMatcher indicates a match for at least one item in given glob expression list.\n\n@param string $relativePath\n@param array $globExpressionList List of glob expressions, e.g. [\"*.txt\", \"*.pdf\"].\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "supplied", "globMatcher", "indicates", "a", "match", "for", "at", "least", "one", "item", "in", "given", "glob", "expression", "list", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/GlobMatcher/GlobListMatcher/GlobListMatcher.php#L66-L75", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/PackageInstallerTrigger.php", "func_name": "PackageInstallerTrigger.getShopSourcePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path to shop's source directory.\n\n@return string", "docstring_tokens": ["Get", "the", "path", "to", "shop", "s", "source", "directory", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/PackageInstallerTrigger.php#L86-L95", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/PackageInstallerTrigger.php", "func_name": "PackageInstallerTrigger.createInstaller", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates package installer.\n\n@param PackageInterface $package\n@return AbstractPackageInstaller", "docstring_tokens": ["Creates", "package", "installer", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/PackageInstallerTrigger.php#L103-L106", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copies all shop files from vendors to source directory.\n\n@param string $packagePath", "docstring_tokens": ["Copies", "all", "shop", "files", "from", "vendors", "to", "source", "directory", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L42-L48", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrites files in core directories.\n\n@param string $packagePath", "docstring_tokens": ["Overwrites", "files", "in", "core", "directories", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L55-L69", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.copyShopSourceFromPackageToTarget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy shop source files from package source to defined target path.\n\n@param string $packagePath", "docstring_tokens": ["Copy", "shop", "source", "files", "from", "package", "source", "to", "defined", "target", "path", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L88-L103", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.copyConfigurationDistFileWithinTarget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy shop's configuration file from distribution file.", "docstring_tokens": ["Copy", "shop", "s", "configuration", "file", "from", "distribution", "file", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L108-L114", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.copySetupFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy shop's setup files from package.\n\n@param string $packagePath Absolute path which points to shop's package directory.", "docstring_tokens": ["Copy", "shop", "s", "setup", "files", "from", "package", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L147-L160", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.isConfigFileNotConfiguredOrMissing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if config file is not configured or missing.\n\n@param string $shopConfigFileName Absolute path to shop configuration file to check.\n\n@return bool", "docstring_tokens": ["Return", "true", "if", "config", "file", "is", "not", "configured", "or", "missing", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L169-L193", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.copyFilesFromSourceToInstallationByFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy files from source to installation by filter.\n\n@param string $packagePath\n@param string $filter", "docstring_tokens": ["Copy", "files", "from", "source", "to", "installation", "by", "filter", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L223-L236", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.getFilteredFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return filtered files.\n\n@param string $directory\n@param string $filter\n\n@return GlobIterator", "docstring_tokens": ["Return", "filtered", "files", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L262-L267", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ShopPackageInstaller.php", "func_name": "ShopPackageInstaller.getAbsoluteFilePathFromInstallation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return absolute path to file from installation.\n\n@param string $sourcePackageDirectory\n@param string $absolutePathToFileFromPackage\n\n@return string", "docstring_tokens": ["Return", "absolute", "path", "to", "file", "from", "installation", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ShopPackageInstaller.php#L277-L294", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ThemePackageInstaller.php", "func_name": "ThemePackageInstaller.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrites theme files.\n\n@param string $packagePath", "docstring_tokens": ["Overwrites", "theme", "files", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ThemePackageInstaller.php#L47-L62", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ModulePackageInstaller.php", "func_name": "ModulePackageInstaller.copyPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy files from package source to defined target path.\n\n@param string $packagePath Absolute path to the package.", "docstring_tokens": ["Copy", "files", "from", "package", "source", "to", "defined", "target", "path", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ModulePackageInstaller.php#L66-L78", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Installer/Package/ModulePackageInstaller.php", "func_name": "ModulePackageInstaller.formSourcePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If module source directory option provided add it's relative path.\nOtherwise return plain package path.\n\n@param string $packagePath\n\n@return string", "docstring_tokens": ["If", "module", "source", "directory", "option", "provided", "add", "it", "s", "relative", "path", ".", "Otherwise", "return", "plain", "package", "path", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Installer/Package/ModulePackageInstaller.php#L88-L95", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/VfsFileStructureOperator.php", "func_name": "VfsFileStructureOperator.nest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert given flat file system structure into nested one.\n\n@param array|null $flatFileSystemStructure\n\n@return array", "docstring_tokens": ["Convert", "given", "flat", "file", "system", "structure", "into", "nested", "one", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/VfsFileStructureOperator.php#L21-L59", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php", "func_name": "CopyGlobFilteredFileManager.getFlatFileListIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an iterator which iterates through a given directory tree in a one-dimensional fashion.\n\nConsider the following file/directory structure as an example:\n\n* directory_a\n* file_a_a\n* directory_b\n* file_b_a\n* file_b_b\n* file_c\n\nRecursiveDirectoryIterator would iterate through:\n* directory_a [iterator]\n* directory_b [iterator]\n* file_c [SplFileInfo]\n\nIn contrast current method would iterate through:\n* directory_a [SplFileInfo]\n* directory_a/file_a_a [SplFileInfo]\n* directory_b [SplFileInfo]\n* directory_b/file_b_a [SplFileInfo]\n* directory_b/file_b_b [SplFileInfo]\n* file_c [SplFileInfo]\n\n@param string $sourcePath Absolute path to directory.\n\n@return \\Iterator", "docstring_tokens": ["Return", "an", "iterator", "which", "iterates", "through", "a", "given", "directory", "tree", "in", "a", "one", "-", "dimensional", "fashion", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php#L101-L107", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php", "func_name": "CopyGlobFilteredFileManager.copyDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy whole directory using given glob filters.\n\n@param string $sourcePath Absolute path to directory.\n@param string $destinationPath Absolute path to directory.\n@param array $globExpressionList List of glob expressions, e.g. [\"*.txt\", \"*.pdf\"].", "docstring_tokens": ["Copy", "whole", "directory", "using", "given", "glob", "filters", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php#L116-L128", "partition": "test"} +{"repo": "OXID-eSales/oxideshop_composer_plugin", "path": "src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php", "func_name": "CopyGlobFilteredFileManager.copyFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy file using given glob filters.\n\n@param string $sourcePathOfFile Absolute path to file.\n@param string $destinationPath Absolute path to directory.\n@param array $globExpressionList List of glob expressions, e.g. [\"*.txt\", \"*.pdf\"].", "docstring_tokens": ["Copy", "file", "using", "given", "glob", "filters", "."], "sha": "867d38a2637a191ceba1680ac6af41f6694affed", "url": "https://github.com/OXID-eSales/oxideshop_composer_plugin/blob/867d38a2637a191ceba1680ac6af41f6694affed/src/Utilities/CopyFileManager/CopyGlobFilteredFileManager.php#L137-L146", "partition": "test"} +{"repo": "simialbi/yii2-schema-org", "path": "src/composer/Installer.php", "func_name": "Installer.generateModels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run model generation action\n\n@param array $config Configuration for model generation\n\n@throws \\yii\\base\\InvalidConfigException\n@throws \\yii\\console\\Exception\n@throws \\yii\\base\\InvalidRouteException", "docstring_tokens": ["Run", "model", "generation", "action"], "sha": "c9aa61e90548b01aaa647d047da76a39ca5801e1", "url": "https://github.com/simialbi/yii2-schema-org/blob/c9aa61e90548b01aaa647d047da76a39ca5801e1/src/composer/Installer.php#L55-L95", "partition": "test"} +{"repo": "simialbi/yii2-schema-org", "path": "src/commands/ModelsController.php", "func_name": "ModelsController.traverseClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Traverse all classes and inherit properties from parents\n\n@param array $classes\n@param array $allClasses", "docstring_tokens": ["Traverse", "all", "classes", "and", "inherit", "properties", "from", "parents"], "sha": "c9aa61e90548b01aaa647d047da76a39ca5801e1", "url": "https://github.com/simialbi/yii2-schema-org/blob/c9aa61e90548b01aaa647d047da76a39ca5801e1/src/commands/ModelsController.php#L302-L330", "partition": "test"} +{"repo": "simialbi/yii2-schema-org", "path": "src/models/Model.php", "func_name": "Model.toJsonLDArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the model into an array for usage in ld+json.\n\nThis method will first identify which fields to be included in the resulting array by calling [[resolveFields()]].\nIt will then turn the model into an array with these fields. If `$recursive` is true,\nany embedded objects will also be converted into arrays.\n\nIf the model implements the [[Linkable]] interface, the resulting array will also have a `_link` element\nwhich refers to a list of links as specified by the interface.\n\n@param array $fields the fields being requested. If empty, all fields as specified by [[fields()]] will be returned.\n@param array $expand the additional fields being requested for exporting. Only fields declared in [[extraFields()]]\nwill be considered.\n@param bool $recursive whether to recursively return array representation of embedded objects.\n\n@return array the array representation of the object", "docstring_tokens": ["Converts", "the", "model", "into", "an", "array", "for", "usage", "in", "ld", "+", "json", "."], "sha": "c9aa61e90548b01aaa647d047da76a39ca5801e1", "url": "https://github.com/simialbi/yii2-schema-org/blob/c9aa61e90548b01aaa647d047da76a39ca5801e1/src/models/Model.php#L41-L46", "partition": "test"} +{"repo": "simialbi/yii2-schema-org", "path": "src/helpers/JsonLDHelper.php", "func_name": "JsonLDHelper.addBreadCrumbList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds BreadcrumbList schema.org markup based on the application view `breadcrumbs` parameter\n@throws \\yii\\base\\InvalidConfigException", "docstring_tokens": ["Adds", "BreadcrumbList", "schema", ".", "org", "markup", "based", "on", "the", "application", "view", "breadcrumbs", "parameter"], "sha": "c9aa61e90548b01aaa647d047da76a39ca5801e1", "url": "https://github.com/simialbi/yii2-schema-org/blob/c9aa61e90548b01aaa647d047da76a39ca5801e1/src/helpers/JsonLDHelper.php#L37-L73", "partition": "test"} +{"repo": "simialbi/yii2-schema-org", "path": "src/helpers/JsonLDHelper.php", "func_name": "JsonLDHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders ld+json data", "docstring_tokens": ["Renders", "ld", "+", "json", "data"], "sha": "c9aa61e90548b01aaa647d047da76a39ca5801e1", "url": "https://github.com/simialbi/yii2-schema-org/blob/c9aa61e90548b01aaa647d047da76a39ca5801e1/src/helpers/JsonLDHelper.php#L88-L100", "partition": "test"} +{"repo": "gushphp/ToInlineStyleEmailBundle", "path": "Converter/ToInlineStyleEmailConverter.php", "func_name": "ToInlineStyleEmailConverter.setHTMLByView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the string which represents the HTML file to be sent as email by rendering a template.\n\n@param string $view is the view to be rendered, e.g. Acme:MyBundle:MyController:index.html.twig\n@param array[optional] $parameters the array of options to be used for template rendering. This field is optional\n@throws MissingTemplatingEngineException The TwigEngine must be passed to the constructor, otherwise an exception is thrown", "docstring_tokens": ["Set", "the", "string", "which", "represents", "the", "HTML", "file", "to", "be", "sent", "as", "email", "by", "rendering", "a", "template", "."], "sha": "95a454ca7d7ec667baeaca2a5ddc24fce9f1a401", "url": "https://github.com/gushphp/ToInlineStyleEmailBundle/blob/95a454ca7d7ec667baeaca2a5ddc24fce9f1a401/Converter/ToInlineStyleEmailConverter.php#L99-L107", "partition": "test"} +{"repo": "gushphp/ToInlineStyleEmailBundle", "path": "Converter/ToInlineStyleEmailConverter.php", "func_name": "ToInlineStyleEmailConverter.generateStyledHTML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the HTML ready to be sent as email.\n\n@return string the HTML ready to be sent with an inline-style\n@throws MissingParamException the HTML and CSS are mandatory.", "docstring_tokens": ["Generate", "the", "HTML", "ready", "to", "be", "sent", "as", "email", "."], "sha": "95a454ca7d7ec667baeaca2a5ddc24fce9f1a401", "url": "https://github.com/gushphp/ToInlineStyleEmailBundle/blob/95a454ca7d7ec667baeaca2a5ddc24fce9f1a401/Converter/ToInlineStyleEmailConverter.php#L115-L134", "partition": "test"} +{"repo": "gushphp/ToInlineStyleEmailBundle", "path": "Twig/InlineCssParser.php", "func_name": "InlineCssParser.resolvePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve path to absolute if any bundle is mentioned\n@param string $path\n@return string", "docstring_tokens": ["Resolve", "path", "to", "absolute", "if", "any", "bundle", "is", "mentioned"], "sha": "95a454ca7d7ec667baeaca2a5ddc24fce9f1a401", "url": "https://github.com/gushphp/ToInlineStyleEmailBundle/blob/95a454ca7d7ec667baeaca2a5ddc24fce9f1a401/Twig/InlineCssParser.php#L91-L99", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Constraints/OnlySubsetsInList.php", "func_name": "OnlySubsetsInList.expected", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the actual subset expected?\n\n@param array $actual\n@return bool", "docstring_tokens": ["Is", "the", "actual", "subset", "expected?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Constraints/OnlySubsetsInList.php#L130-L135", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Constraints/OnlySubsetsInList.php", "func_name": "OnlySubsetsInList.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the expected subset exist in the actual array?\n\n@param array $expected\n@param mixed $actual\n@return bool", "docstring_tokens": ["Does", "the", "expected", "subset", "exist", "in", "the", "actual", "array?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Constraints/OnlySubsetsInList.php#L144-L153", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the HTTP status matches the expected status.\n\nThis assertion will print any JSON API errors in the supplied content if\nthe HTTP status does not match. This is useful for understanding why the status\nis not the expected status when an error has occurred.\n\n@param $status\n@param int $expected\n@param mixed|null $content\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "the", "HTTP", "status", "matches", "the", "expected", "status", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L51-L63", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that there is content with the expected media type.\n\n@param $type\n@param $content\n@param string $expected\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "there", "is", "content", "with", "the", "expected", "media", "type", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L74-L85", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert a JSON HTTP message with an expected status.\n\n@param $status\n@param $contentType\n@param $content\n@param int $expected\nthe expected HTTP status.\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "a", "JSON", "HTTP", "message", "with", "an", "expected", "status", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L98-L109", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertJsonApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert a JSON API HTTP message with an expected status.\n\n@param $status\n@param $contentType\n@param $content\n@param int $expected\nthe expected HTTP status.\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "a", "JSON", "API", "HTTP", "message", "with", "an", "expected", "status", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L122-L133", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertFetchedOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a resource was fetched.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\nthe expected resource, or a subset of the expected resource.\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "a", "resource", "was", "fetched", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L147-L158", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertFetchedExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that an exact resource or resource collection was fetched.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\nthe expected content of the document's data member.\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "an", "exact", "resource", "or", "resource", "collection", "was", "fetched", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L172-L183", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertFetchedManyInOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a resource collection was fetched in the expected order.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "a", "resource", "collection", "was", "fetched", "in", "the", "expected", "order", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L235-L250", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertFetchedToMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a to-many relationship was fetched.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "a", "to", "-", "many", "relationship", "was", "fetched", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L309-L324", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertFetchedToManyInOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a to-many relationship was fetched in the expected order.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "a", "to", "-", "many", "relationship", "was", "fetched", "in", "the", "expected", "order", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L337-L352", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertCreatedWithClientId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a resource was created with a client generated id.\n\n@param $status\n@param $contentType\n@param $content\n@param $location\n@param string $expectedLocation\n@param array $expected\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "a", "resource", "was", "created", "with", "a", "client", "generated", "id", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L403-L429", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertNoContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert a no content response.\n\n@param $status\n@param string|null\n@param string $message\n@return void", "docstring_tokens": ["Assert", "a", "no", "content", "response", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L494-L498", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertExactMetaWithoutData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert an exact top-level meta response without data.\n\n@param $status\n@param $contentType\n@param $content\n@param array $expected\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "an", "exact", "top", "-", "level", "meta", "response", "without", "data", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L536-L548", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertExactErrorStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the document contains an exact single error that matches the supplied error and has a status member.\n\n@param $status\n@param $contentType\n@param $content\n@param array $error\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "the", "document", "contains", "an", "exact", "single", "error", "that", "matches", "the", "supplied", "error", "and", "has", "a", "status", "member", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L661-L685", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertHasExactError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the HTTP message contains the supplied error within its errors member.\n\n@param $status\n@param $contentType\n@param $content\n@param int $expectedStatus\n@param array $error\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "the", "HTTP", "message", "contains", "the", "supplied", "error", "within", "its", "errors", "member", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L729-L745", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/HttpAssert.php", "func_name": "HttpAssert.assertErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the HTTP status contains the supplied errors.\n\n@param $status\n@param $contentType\n@param $content\n@param int $expectedStatus\n@param array $errors\n@param bool $strict\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "the", "HTTP", "status", "contains", "the", "supplied", "errors", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/HttpAssert.php#L759-L771", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.getDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the JSON API document.\n\n@return Document", "docstring_tokens": ["Get", "the", "JSON", "API", "document", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L48-L58", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.willSeeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the expected resource type for the data member of the JSON document.\n\n@param string $type\n@return $this", "docstring_tokens": ["Set", "the", "expected", "resource", "type", "for", "the", "data", "member", "of", "the", "JSON", "document", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L87-L96", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertFetchedOneExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that an exact resource was fetched.\n\n@param UrlRoutable|string|int|array $expected\nthe expected resource.\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "that", "an", "exact", "resource", "was", "fetched", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L138-L149", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertUpdated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert response is a JSON API resource updated response.\n\nFor a resource update, we typically expect either:\n\n- 200 OK with resource content; or\n- 204 No Content\n\nAlternatively a top-level meta only response is acceptable. If this is expected,\nit can be asserted using `assertMetaWithoutData`.\n\n@param array $expected\narray representation of the expected resource, or null for a no-content response\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "response", "is", "a", "JSON", "API", "resource", "updated", "response", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L389-L396", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertDeleted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert response is a JSON API resource deleted response.\n\nThe JSON API spec says that:\n\n- A server MUST return a 204 No Content status code if a deletion request is successful\nand no content is returned.\n- A server MUST return a 200 OK status code if a deletion request is successful and the server responds\nwith only top-level meta data.\n\n@param array|null $expected\nthe expected top-level meta, or null for no content response.\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "response", "is", "a", "JSON", "API", "resource", "deleted", "response", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L413-L420", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertIsIncluded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the expected resource is included in the document.\n\n@param string $type\n@param UrlRoutable|string|int|null $id\n@return $this", "docstring_tokens": ["Assert", "that", "the", "expected", "resource", "is", "included", "in", "the", "document", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L464-L474", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the included member contains the supplied resource.\n\n@param UrlRoutable|string|int|array $expected\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "that", "the", "included", "member", "contains", "the", "supplied", "resource", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L483-L491", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the top-level meta matches the expected values.\n\n@param array $expected\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "that", "the", "top", "-", "level", "meta", "matches", "the", "expected", "values", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L560-L565", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertExactMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the top-level meta is exactly the expected meta.\n\n@param array $expected\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "that", "the", "top", "-", "level", "meta", "is", "exactly", "the", "expected", "meta", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L574-L579", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertExactLinks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the top-level links are exactly the expected links.\n\n@param array $expected\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "that", "the", "top", "-", "level", "links", "are", "exactly", "the", "expected", "links", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L602-L607", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Concerns/HasHttpAssertions.php", "func_name": "HasHttpAssertions.assertExactErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the HTTP status contains the supplied exact errors.\n\n@param int $status\n@param array $errors\n@param bool $strict\n@return $this", "docstring_tokens": ["Assert", "the", "HTTP", "status", "contains", "the", "supplied", "exact", "errors", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Concerns/HasHttpAssertions.php#L767-L779", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the value at the pointer has the expected JSON API resource.\n\n@param array|string $document\nthe JSON API document.\n@param string $type\nthe expected resource object type.\n@param string $id\nthe expected resource object id.\n@param string $pointer\nthe JSON pointer to where the resource object is expected in the document.\n@param string $message", "docstring_tokens": ["Assert", "that", "the", "value", "at", "the", "pointer", "has", "the", "expected", "JSON", "API", "resource", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L54-L63", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the value at the pointer has the expected JSON API resource identifier.\n\n@param array|string $document\nthe JSON API document.\n@param string $type\nthe expected resource object type.\n@param string $id\nthe expected resource object id.\n@param string $pointer\nthe JSON pointer to where the resource object is expected in the document.\n@param string $message", "docstring_tokens": ["Assert", "that", "the", "value", "at", "the", "pointer", "has", "the", "expected", "JSON", "API", "resource", "identifier", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L78-L93", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the expected value is in the document at the specified path.\n\n@param array|string $document\nthe JSON API document.\n@param mixed $expected\nthe expected value.\n@param string $pointer\nthe JSON pointer to where the object is expected to exist within the document.\n@param bool $strict\nwhether strict comparison should be used.\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "the", "expected", "value", "is", "in", "the", "document", "at", "the", "specified", "path", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L109-L122", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertNotExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the value at the specified path is not the expected value.\n\n@param $document\n@param $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "the", "value", "at", "the", "specified", "path", "is", "not", "the", "expected", "value", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L134-L147", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document only contains the specified hashes.\n\nThis assertion does not check that the expected and actual lists are in the same order.\nTo assert the order, use `assertListInOrder`.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "only", "contains", "the", "specified", "hashes", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L230-L243", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertExactList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document only contains the specified values.\n\nThis assertion does not check that the expected and actual lists are in the same order.\nTo assert the order, use `assertExactListInOrder`.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "only", "contains", "the", "specified", "values", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L258-L271", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertListInOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document contains the hashes in the specified order.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "contains", "the", "hashes", "in", "the", "specified", "order", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L283-L296", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertExactListInOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document contains the values in the specified order.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "contains", "the", "values", "in", "the", "specified", "order", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L308-L317", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertIdentifiersList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document only contains the specified identifiers.\n\nAsserting that a list contains only identifiers will fail if any of the items in the\nlist is a resource object. I.e. to pass as an identifier, it must not contain\n`attributes` and/or `relationships` members.\n\nThis assertion does not check that the expected and actual lists are in the same order.\nTo assert the order, use `assertIdentifiersListInOrder`.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "only", "contains", "the", "specified", "identifiers", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L336-L349", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertIdentifiersListInOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document contains the identifiers in the specified order.\n\nAsserting that a list contains only identifiers will fail if any of the items in the\nlist is a resource object. I.e. to pass as an identifier, it must not contain\n`attributes` and/or `relationships` members.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "contains", "the", "identifiers", "in", "the", "specified", "order", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L365-L378", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertListContainsResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the document has a list containing the expected resource.\n\n@param array|string $document\nthe JSON API document.\n@param string $type\nthe expected resource object type.\n@param string $id\nthe expected resource object id.\n@param string $pointer\nthe JSON pointer to where the array is expected in the document.\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "the", "document", "has", "a", "list", "containing", "the", "expected", "resource", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L394-L405", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertListContainsHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document at the specified path contains the expected hash.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "at", "the", "specified", "path", "contains", "the", "expected", "hash", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L448-L461", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertListContainsExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that a list in the document at the specified path contains the expected value.\n\n@param $document\n@param array $expected\n@param string $pointer\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "a", "list", "in", "the", "document", "at", "the", "specified", "path", "contains", "the", "expected", "value", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L473-L486", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertIncludedContainsHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the included member contains the supplied hash.\n\n@param $document\n@param array $expected\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "that", "the", "included", "member", "contains", "the", "supplied", "hash", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L538-L546", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertExactError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the document contains a single error that exactly matches the supplied error.\n\n@param $document\n@param array $error\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "the", "document", "contains", "a", "single", "error", "that", "exactly", "matches", "the", "supplied", "error", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L571-L574", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertHasError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the document contains the supplied error within its errors member.\n\n@param $document\n@param array $error\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "the", "document", "contains", "the", "supplied", "error", "within", "its", "errors", "member", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L585-L588", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Assert.php", "func_name": "Assert.assertHasExactError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the document contains the exact supplied error within its errors member.\n\n@param $document\n@param array $error\n@param bool $strict\n@param string $message\n@return void", "docstring_tokens": ["Assert", "the", "document", "contains", "the", "exact", "supplied", "error", "within", "its", "errors", "member", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Assert.php#L599-L607", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Safely create a document.\n\n@param $content\n@return Document|null", "docstring_tokens": ["Safely", "create", "a", "document", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L48-L55", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.cast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast a document to an instance of this document class.\n\n@param Document|array|string $document\n@return Document", "docstring_tokens": ["Cast", "a", "document", "to", "an", "instance", "of", "this", "document", "class", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L63-L74", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.fromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a document from a string.\n\n@param string $json\n@return Document|null", "docstring_tokens": ["Create", "a", "document", "from", "a", "string", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L93-L102", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode a JSON string into a document.\n\n@param string $json\n@return Document", "docstring_tokens": ["Decode", "a", "JSON", "string", "into", "a", "document", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L110-L117", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from using a JSON pointer.\n\n@param string $pointer\n@param mixed|null $default\n@return mixed", "docstring_tokens": ["Get", "a", "value", "from", "using", "a", "JSON", "pointer", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L176-L183", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an item exists using JSON pointers.\n\n@param string ...$pointers\n@return bool", "docstring_tokens": ["Check", "if", "an", "item", "exists", "using", "JSON", "pointers", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L191-L198", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.assertExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that all the provided members exist.\n\n@param string|string[] $pointers\n@param string $message\n@return $this", "docstring_tokens": ["Assert", "that", "all", "the", "provided", "members", "exist", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L231-L240", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Document.php", "func_name": "Document.assertNotExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the provided members do not exist.\n\n@param string|string[] $pointers\n@param string $message\n@return Document", "docstring_tokens": ["Assert", "that", "the", "provided", "members", "do", "not", "exist", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Document.php#L249-L258", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Compare.php", "func_name": "Compare.exact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the actual value match the expected value?\n\n@param array $expected\n@param $actual\n@param bool $strict\n@return bool", "docstring_tokens": ["Does", "the", "actual", "value", "match", "the", "expected", "value?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Compare.php#L40-L50", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Compare.php", "func_name": "Compare.subset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the expected subset appear within the actual value?\n\n@param array $expected\n@param $actual\n@param bool $strict\n@return bool", "docstring_tokens": ["Does", "the", "expected", "subset", "appear", "within", "the", "actual", "value?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Compare.php#L60-L69", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Compare.php", "func_name": "Compare.resourceIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the supplied value a resource identifier?\n\nA resource identifier must have a type and id member. It must not have attributes\nor relationship members, otherwise it is a resource object.\n\n- attributes\n- relationships\n\n@param $value\n@return bool", "docstring_tokens": ["Is", "the", "supplied", "value", "a", "resource", "identifier?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Compare.php#L83-L95", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Compare.php", "func_name": "Compare.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively sort a JSON hash or JSON list for comparison.\n\n@param array $value\n@return array", "docstring_tokens": ["Recursively", "sort", "a", "JSON", "hash", "or", "JSON", "list", "for", "comparison", "."], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Compare.php#L137-L146", "partition": "test"} +{"repo": "cloudcreativity/json-api-testing", "path": "src/Compare.php", "func_name": "Compare.identifiable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the value identify a resource?\n\n@param $value\n@return bool", "docstring_tokens": ["Does", "the", "value", "identify", "a", "resource?"], "sha": "0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917", "url": "https://github.com/cloudcreativity/json-api-testing/blob/0243fa0a9b6ac0955beeb82af43b8eb5cc5f1917/src/Compare.php#L256-L262", "partition": "test"} +{"repo": "mcrumm/phlack", "path": "src/Bridge/Guzzle/Model/ListFilesIterator.php", "func_name": "ListFilesIterator.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a request to retrieve the next page of results. Hook for subclasses to implement.\n\n@return array Returns the newly loaded resources", "docstring_tokens": ["Send", "a", "request", "to", "retrieve", "the", "next", "page", "of", "results", ".", "Hook", "for", "subclasses", "to", "implement", "."], "sha": "234d85ce564cc80e1c8134c55ca242cd366bc2ee", "url": "https://github.com/mcrumm/phlack/blob/234d85ce564cc80e1c8134c55ca242cd366bc2ee/src/Bridge/Guzzle/Model/ListFilesIterator.php#L14-L25", "partition": "test"} +{"repo": "mcrumm/phlack", "path": "src/Common/Iterocitor.php", "func_name": "Iterocitor.tell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a message to a user.\n\n@param string $user user_id\n{@inheritdoc}", "docstring_tokens": ["Send", "a", "message", "to", "a", "user", "."], "sha": "234d85ce564cc80e1c8134c55ca242cd366bc2ee", "url": "https://github.com/mcrumm/phlack/blob/234d85ce564cc80e1c8134c55ca242cd366bc2ee/src/Common/Iterocitor.php#L55-L58", "partition": "test"} +{"repo": "mcrumm/phlack", "path": "src/Common/Iterocitor.php", "func_name": "Iterocitor.reply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Respond with a reply to a user.\n\n@param CommandInterface|string user_id, or a CommandInterface containing user_id and user_name.\n@param $text\n\n@return Reply", "docstring_tokens": ["Respond", "with", "a", "reply", "to", "a", "user", "."], "sha": "234d85ce564cc80e1c8134c55ca242cd366bc2ee", "url": "https://github.com/mcrumm/phlack/blob/234d85ce564cc80e1c8134c55ca242cd366bc2ee/src/Common/Iterocitor.php#L68-L77", "partition": "test"} +{"repo": "mcrumm/phlack", "path": "src/Common/OptionsResolver.php", "func_name": "OptionsResolver.setTypesAllowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a list of allowed types for the given option.\n\n@see Symfony\\Component\\OptionsResolver\\OptionsResolver::setAllowedTypes()\n\n@param array $allowedTypes\n\n@return $this", "docstring_tokens": ["Set", "a", "list", "of", "allowed", "types", "for", "the", "given", "option", "."], "sha": "234d85ce564cc80e1c8134c55ca242cd366bc2ee", "url": "https://github.com/mcrumm/phlack/blob/234d85ce564cc80e1c8134c55ca242cd366bc2ee/src/Common/OptionsResolver.php#L20-L31", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Output/HtmlOutput.php", "func_name": "HtmlOutput.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a message to the output.\n\n@param string|array $messages The message as an array of lines or a single string\n@param bool $newline Whether to add a newline\n@param int $type The type of output (one of the OUTPUT constants)\n\n@throws \\InvalidArgumentException When unknown output type is given\n\n@api", "docstring_tokens": ["Writes", "a", "message", "to", "the", "output", "."], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Output/HtmlOutput.php#L43-L58", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Output/Output.php", "func_name": "Output.writelnIfDebug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a message to the output, but only if Debug is enabled.\n\n@param $message string|array $messages The message as an array of lines of a single string\n\n@throws \\InvalidArgumentException When unknown output type is given", "docstring_tokens": ["Write", "a", "message", "to", "the", "output", "but", "only", "if", "Debug", "is", "enabled", "."], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Output/Output.php#L150-L156", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Output/Output.php", "func_name": "Output.addMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new message to the output of the validator.\n\n@param $type int message type\n@param $message string message\n@param \\Phpbb\\Epv\\Files\\FileInterface $file File the error happened in. When provided, this is displayed to the user", "docstring_tokens": ["Add", "a", "new", "message", "to", "the", "output", "of", "the", "validator", "."], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Output/Output.php#L165-L187", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Output/Output.php", "func_name": "Output.getMessageCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the count for a type;\n\n@param $type\n\n@return mixed", "docstring_tokens": ["Get", "the", "count", "for", "a", "type", ";"], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Output/Output.php#L224-L237", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Events/php_exporter.php", "func_name": "php_exporter.get_vars_from_single_line_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the variables in a single line array\n\n@param string $line\n@param bool $throw_multiline Throw an exception when there are too\nmany arguments in one line.\n\n@return array List of variables\n@throws \\LogicException", "docstring_tokens": ["Find", "the", "variables", "in", "a", "single", "line", "array"], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Events/php_exporter.php#L284-L304", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Events/php_exporter.php", "func_name": "php_exporter.get_vars_from_multi_line_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the variables in a multi line array\n\n@return array List of variables\n@throws \\LogicException", "docstring_tokens": ["Find", "the", "variables", "in", "a", "multi", "line", "array"], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Events/php_exporter.php#L312-L329", "partition": "test"} +{"repo": "phpbb/epv", "path": "src/Events/php_exporter.php", "func_name": "php_exporter.validate_vars_docblock_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates that two arrays contain the same strings\n\n@param array $vars_array Variables found in the array line\n@param array $vars_docblock Variables found in the doc block\n\n@return null\n@throws \\LogicException", "docstring_tokens": ["Validates", "that", "two", "arrays", "contain", "the", "same", "strings"], "sha": "ef657d88cd1d9d607abf2113db3fe29f01b645e1", "url": "https://github.com/phpbb/epv/blob/ef657d88cd1d9d607abf2113db3fe29f01b645e1/src/Events/php_exporter.php#L555-L566", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/AllTrait.php", "func_name": "AllTrait.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true when all elements of this iterable are not empty, otherwise returns false\n\nWhen the optional $STRATEGY argument is given, this argument is used to obtain the\nvalue which is tested to be empty.\n\n> iterable([1, 'hello world', true])->all()\ntrue\n\n> iterable([1, null, 3])->all()\nfalse\n\n@param null|string|\\Closure $strategy Optional, when not specified !empty will be used\n@return null|bool", "docstring_tokens": ["Returns", "true", "when", "all", "elements", "of", "this", "iterable", "are", "not", "empty", "otherwise", "returns", "false"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/AllTrait.php#L27-L43", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/AccumulateTrait.php", "func_name": "AccumulateTrait.accumulate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an iterator that containing accumulated elements\n\nIf the optional $closure argument is supplied, it should be a string:\nadd, sub, mul, min, or max. Or it can be a Closure taking two\narguments that will be used to instead of addition.\n\n> iter\\iterable([1,2,3,4,5])->accumulate()\n1 3 6 10 15\n\n> iter\\iterable(['One', 'Two', 'Three'])->accumulate(function ($a, $b) { return $a . $b; })\n'One' 'OneTwo' 'OneTwoThree'\n\n@param string|\\Closure $closure\n@return null|AccumulateIterator", "docstring_tokens": ["Returns", "an", "iterator", "that", "containing", "accumulated", "elements"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/AccumulateTrait.php#L29-L39", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/SortedIterator.php", "func_name": "SortedIterator.mergeSort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "As the manual says, \"If two members compare as equal, their\norder in the sorted array is undefined.\" This means that the\nsort used is not \"stable\" and may change the order of elements\nthat compare equal.\n\nSometimes you really do need a stable sort. For example, if you\nsort a list by one field, then sort it again by another field,\nbut don't want to lose the ordering from the previous field.\nIn that case it is better to use usort with a comparison\nfunction that takes both fields into account, but if you can't\ndo that then use the function below. It is a merge sort, which\nis guaranteed O(n*log(n)) complexity, which means it stays\nreasonably fast even when you use larger lists (unlike\nbubblesort and insertion sort, which are O(n^2)).\n\nhttp://www.php.net/manual/en/function.usort.php#38827\n\n@param array $array\n@param \\Closure $cmp_function", "docstring_tokens": ["As", "the", "manual", "says", "If", "two", "members", "compare", "as", "equal", "their", "order", "in", "the", "sorted", "array", "is", "undefined", ".", "This", "means", "that", "the", "sort", "used", "is", "not", "stable", "and", "may", "change", "the", "order", "of", "elements", "that", "compare", "equal", "."], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/SortedIterator.php#L83-L124", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/ToArrayTrait.php", "func_name": "ToArrayTrait.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an unsafe array built from this iterator\n\nNote that when the iterator contains overlapping keys, that\nthese will be *lost* when converting to an array.\n\nA safer option is to use either\n- $iterable->keys(),\n- $iterable->values(), or\n- $iterable->items()\n\n@return array", "docstring_tokens": ["Returns", "an", "unsafe", "array", "built", "from", "this", "iterator"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/ToArrayTrait.php#L25-L41", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/KeysTrait.php", "func_name": "KeysTrait.keys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with keys from this iterator\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "with", "keys", "from", "this", "iterator"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/KeysTrait.php#L15-L24", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/ZipTrait.php", "func_name": "ZipTrait.zip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an iterator where one or more iterables are zipped together\n\nThis function returns a list of tuples, where the i-th tuple contains\nthe i-th element from each of the argument sequences or iterables.\n\nThe returned list is truncated in length to the length of the\nshortest argument sequence.\n\n> zip([1, 2, 3], ['a', 'b', 'c'])\n[1, 'a'] [2, 'b'] [3, 'c']\n\n@param array|string|\\Iterator $iterable\n@param array|string|\\Iterator $iterable2\n@return ZipIterator", "docstring_tokens": ["Returns", "an", "iterator", "where", "one", "or", "more", "iterables", "are", "zipped", "together"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/ZipTrait.php#L30-L42", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/ValuesTrait.php", "func_name": "ValuesTrait.values", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with values from this iterator\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "with", "values", "from", "this", "iterator"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/ValuesTrait.php#L17-L26", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/ReduceTrait.php", "func_name": "ReduceTrait.reduce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reduce an iterator to a single value\n\n> iter\\iterable([1,2,3])->reduce()\n6\n\n> iter\\iterable([1,2,3])->reduce('max')\n3\n\n> iter\\iterable([1,2,3])->reduce('sub', 10)\n4\n\n> iter\\iterable([])->reduce('min', 1)\n1\n\n@param string|\\Closure $closure\n@param mixed $initializer\n@return mixed", "docstring_tokens": ["Reduce", "an", "iterator", "to", "a", "single", "value"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/ReduceTrait.php#L31-L54", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/MapIterator.php", "func_name": "MapIterator.genericKeysToKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compute the key for an element\n\nWhen multiple iterables are given, the key for an element is computed by taking\nthe keys of the element of all iterables, when they are the same, this key is used,\notherwise a compound key is created by concatenating the keys together.\n\n@param array $keysAndValues\n@return mixed", "docstring_tokens": ["Compute", "the", "key", "for", "an", "element"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/MapIterator.php#L57-L83", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/lib/Traits/GroupByTrait.php", "func_name": "GroupByTrait.groupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make an iterator that returns consecutive groups from this\niterable. Generally, this iterable needs to already be sorted on\nthe same key function.\n\nWhen $strategy is a string, the key is obtained through one of\nthe following:\n1. $value->{$strategy}, when $value is an object and\n$strategy is an existing property,\n2. call $value->{$strategy}(), when $value is an object and\n$strategy is an existing method,\n3. $value[$strategy], when $value is an array and $strategy\nis an existing key,\n4. otherwise the key will default to null.\n\nAlternatively $strategy can be a closure. In this case the\n$strategy closure is called with each value in this iterable and the\nkey will be its return value. $strategy is called with two\nparameters: the value and the key of the iterable as the first and\nsecond parameter, respectively.\n\nThe operation of groupBy() is similar to the uniq filter in Unix.\nIt generates a break or new group every time the value of the key\nfunction changes (which is why it is usually necessary to have\nsorted the data using the same key function). That behavior\ndiffers from SQL's GROUP BY which aggregates common elements\nregardless of their input order.\n\n> $list = [['type'=>'A', 'title'=>'one'], ['type'=>'A', 'title'=>'two'], ['type'=>'B', 'title'=>'three']]\n> iter\\iterable($list)->groupBy('type')\n'A'=>[['type'=>'A', 'title'=>'one'], ['type'=>'A', 'title'=>'two']] 'B'=>[['type'=>'B', 'title'=>'three']]\n\n@param null|string|\\Closure $strategy\n@param bool $sort\n@return GroupbyIterator", "docstring_tokens": ["Make", "an", "iterator", "that", "returns", "consecutive", "groups", "from", "this", "iterable", ".", "Generally", "this", "iterable", "needs", "to", "already", "be", "sorted", "on", "the", "same", "key", "function", "."], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/lib/Traits/GroupByTrait.php#L49-L63", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/twig/Extension.php", "func_name": "Extension.reduce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reduce an iterable to a single value\n\nSimple examples:\n{{ [1,2,3]|reduce }} --> 6\n{{ [1,2,3]|reduce('max') }} --> 3\n\nSro example to get the prices for all items in the basket:\n{{ transaction_snapshot.Basket.Items|map('TotalPrice.Amount')|reduce }}\n\n@param array|string|\\Iterator $iterable\n@param string|\\Closure $closure\n@param mixed $initializer\n@return mixed", "docstring_tokens": ["Reduce", "an", "iterable", "to", "a", "single", "value"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/twig/Extension.php#L96-L99", "partition": "test"} +{"repo": "zicht/itertools", "path": "src/Zicht/Itertools/twig/Extension.php", "func_name": "Extension.reducing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a reduction closure\n\nAny parameters provided, beyond $name, are passed directly to the underlying\nreduction. This can be used to, for example, provide a $glue when using join.\n\n@param string $name\n@return \\Closure\n@throws \\InvalidArgumentException", "docstring_tokens": ["Returns", "a", "reduction", "closure"], "sha": "f0439a572f7ccbc363ab692927e970727c6eb776", "url": "https://github.com/zicht/itertools/blob/f0439a572f7ccbc363ab692927e970727c6eb776/src/Zicht/Itertools/twig/Extension.php#L179-L202", "partition": "test"} +{"repo": "wp-cli/autoload-splitter", "path": "src/ComposerPlugin.php", "func_name": "ComposerPlugin.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump the event for discovery purposes.\n\n@param Event $event Event that was triggered.", "docstring_tokens": ["Dump", "the", "event", "for", "discovery", "purposes", "."], "sha": "a27d0335563203b4805afe1d60bf3fbcf9459f6b", "url": "https://github.com/wp-cli/autoload-splitter/blob/a27d0335563203b4805afe1d60bf3fbcf9459f6b/src/ComposerPlugin.php#L49-L104", "partition": "test"} +{"repo": "wp-cli/autoload-splitter", "path": "src/ComposerPlugin.php", "func_name": "ComposerPlugin.getExtraKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a config key from the \"Extra\" section.\n\n@param string $key Key to look for.\n@param string $fallback Fallback value to use if the key was not provided.\n\n@return string", "docstring_tokens": ["Get", "the", "value", "of", "a", "config", "key", "from", "the", "Extra", "section", "."], "sha": "a27d0335563203b4805afe1d60bf3fbcf9459f6b", "url": "https://github.com/wp-cli/autoload-splitter/blob/a27d0335563203b4805afe1d60bf3fbcf9459f6b/src/ComposerPlugin.php#L124-L135", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Normalizer/NormalizerBase.php", "func_name": "NormalizerBase.escapePrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes namespace prefixes in predicates.\n\n@param string $predicate\nThe predicate whose namespace you wish to escape.\n@param array $namespaces\nAssociative array of namespaces keyed by prefix.\n\n@return string\nThe predicate with escaped namespace prefix.", "docstring_tokens": ["Escapes", "namespace", "prefixes", "in", "predicates", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Normalizer/NormalizerBase.php#L58-L65", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/ContextGenerator/JsonldContextGenerator.php", "func_name": "JsonldContextGenerator.parseCompactedIri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses and IRI, checks if it is complaint with compacted IRI definition.\n\nAssumes this notion of compact IRI/similar to CURIE\nhttp://json-ld.org/spec/ED/json-ld-syntax/20120522/#dfn-prefix.\n\n@param string $iri\nIRIs are strings.\n\n@return array\nIf $iri is a compacted iri, prefix and term as separate\narray members, if not, unmodified $iri in term position\nand null prefix.", "docstring_tokens": ["Parses", "and", "IRI", "checks", "if", "it", "is", "complaint", "with", "compacted", "IRI", "definition", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/ContextGenerator/JsonldContextGenerator.php#L298-L306", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/ContextGenerator/JsonldContextGenerator.php", "func_name": "JsonldContextGenerator.getTermContextFromField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Naive approach on Drupal field to JSON-LD type mapping.\n\nTODO: Would be fine to have this definitions in an\nconfigEntity way in the future.\n\n@param string $field_type\nAs provided by \\Drupal\\Core\\Field\\FieldDefinitionInterface::getType().\n\n@return array\nA json-ld term definition if there is a match\nor array(\"@type\" => \"xsd:string\") in case of no match.", "docstring_tokens": ["Naive", "approach", "on", "Drupal", "field", "to", "JSON", "-", "LD", "type", "mapping", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/ContextGenerator/JsonldContextGenerator.php#L321-L355", "partition": "test"} +{"repo": "matomo-org/component-cache", "path": "src/Eager.php", "func_name": "Eager.persistCacheIfNeeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will persist all previously made changes if there were any.\n\n@param int $lifeTime The cache lifetime in seconds.\nIf != 0, sets a specific lifetime for this cache entry (0 => infinite lifeTime).", "docstring_tokens": ["Will", "persist", "all", "previously", "made", "changes", "if", "there", "were", "any", "."], "sha": "3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4", "url": "https://github.com/matomo-org/component-cache/blob/3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4/src/Eager.php#L131-L136", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Controller/JsonldContextController.php", "func_name": "JsonldContextController.content", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an JSON-LD Context for a entity bundle.\n\n@param string $entity_type\nRoute argument, an entity type.\n@param string $bundle\nRoute argument, a bundle.\n@param \\Symfony\\Component\\HttpFoundation\\Request $request\nThe Symfony Http Request.\n\n@return \\Symfony\\Component\\HttpFoundation\\Response\nAn Http response.", "docstring_tokens": ["Returns", "an", "JSON", "-", "LD", "Context", "for", "a", "entity", "bundle", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Controller/JsonldContextController.php#L65-L87", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Normalizer/FieldNormalizer.php", "func_name": "FieldNormalizer.normalizeFieldItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to normalize field items.\n\n@param \\Drupal\\Core\\Field\\FieldItemListInterface $field\nThe field object.\n@param string $format\nThe format.\n@param array $context\nThe context array.\n\n@return array\nThe array of normalized field items.", "docstring_tokens": ["Helper", "function", "to", "normalize", "field", "items", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Normalizer/FieldNormalizer.php#L102-L111", "partition": "test"} +{"repo": "matomo-org/component-cache", "path": "src/Backend/Chained.php", "func_name": "Chained.doDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns true even when file does not exist", "docstring_tokens": ["returns", "true", "even", "when", "file", "does", "not", "exist"], "sha": "3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4", "url": "https://github.com/matomo-org/component-cache/blob/3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4/src/Backend/Chained.php#L79-L88", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Normalizer/FieldItemNormalizer.php", "func_name": "FieldItemNormalizer.createTranslatedInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a translated version of the field item instance.\n\nTo indicate that a field item applies to one translation of an entity and\nnot another, the property path must originate with a translation of the\nentity. This is the reason for using target_instances, from which the\nproperty path can be traversed up to the root.\n\n@param \\Drupal\\Core\\Field\\FieldItemInterface $item\nThe untranslated field item instance.\n@param string $langcode\nThe langcode.\n\n@return \\Drupal\\Core\\Field\\FieldItemInterface\nThe translated field item instance.", "docstring_tokens": ["Get", "a", "translated", "version", "of", "the", "field", "item", "instance", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Normalizer/FieldItemNormalizer.php#L198-L211", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Normalizer/ContentEntityNormalizer.php", "func_name": "ContentEntityNormalizer.getEntityUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs the entity URI.\n\n@param \\Drupal\\Core\\Entity\\EntityInterface $entity\nThe entity.\n\n@return string\nThe entity URI.", "docstring_tokens": ["Constructs", "the", "entity", "URI", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Normalizer/ContentEntityNormalizer.php#L250-L259", "partition": "test"} +{"repo": "Islandora-CLAW/jsonld", "path": "src/Normalizer/ContentEntityNormalizer.php", "func_name": "ContentEntityNormalizer.getTypedDataIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the typed data IDs for a type URI.\n\n@param array $types\nThe type array(s) (value of the 'type' attribute of the incoming data).\n@param array $context\nContext from the normalizer/serializer operation.\n\n@return array\nThe typed data IDs.", "docstring_tokens": ["Gets", "the", "typed", "data", "IDs", "for", "a", "type", "URI", "."], "sha": "89910a2971468b5da5c0c32f85c73d2071856d0e", "url": "https://github.com/Islandora-CLAW/jsonld/blob/89910a2971468b5da5c0c32f85c73d2071856d0e/src/Normalizer/ContentEntityNormalizer.php#L272-L300", "partition": "test"} +{"repo": "matomo-org/component-cache", "path": "src/Backend/Factory.php", "func_name": "Factory.buildBackend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a specific backend instance.\n\n@param string $type The type of backend you want to create. Eg 'array', 'file', 'chained', 'null', 'redis'.\n@param array $options An array of options for the backend you want to create.\n@return Backend\n@throws Factory\\BackendNotFoundException In case the given type was not found.", "docstring_tokens": ["Build", "a", "specific", "backend", "instance", "."], "sha": "3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4", "url": "https://github.com/matomo-org/component-cache/blob/3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4/src/Backend/Factory.php#L87-L114", "partition": "test"} +{"repo": "matomo-org/component-cache", "path": "src/Lazy.php", "func_name": "Lazy.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches an entry from the cache.\n\n@param string $id The cache id.\n@return mixed The cached data or FALSE, if no cache entry exists for the given id.", "docstring_tokens": ["Fetches", "an", "entry", "from", "the", "cache", "."], "sha": "3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4", "url": "https://github.com/matomo-org/component-cache/blob/3c236fbaf3b956f7eeb1ffeeddf4caf2df49f0d4/src/Lazy.php#L33-L38", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/SilentResponse.php", "func_name": "SilentResponse.runString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a user function.\n\n@param string $callable Function name.\n@param array $arguments Arguments to pass to the user function.\n@return $this\n@throws \\StatonLab\\TripalTestSuite\\Exceptions\\FunctionNotFoundException", "docstring_tokens": ["Runs", "a", "user", "function", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/SilentResponse.php#L48-L61", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/BaseCommand.php", "func_name": "BaseCommand.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write an error.\n\n@param string|array $line", "docstring_tokens": ["Write", "an", "error", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/BaseCommand.php#L78-L92", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/BaseCommand.php", "func_name": "BaseCommand.ask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ask the user a question.\n\n@param $question\n@param bool $default\n@return mixed", "docstring_tokens": ["Ask", "the", "user", "a", "question", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/BaseCommand.php#L165-L171", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Actions/Processors/AttributeOptionCreateProcessor.php", "func_name": "AttributeOptionCreateProcessor.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist's the passed row.\n\n@param array $row The row to persist\n@param string|null $name The name of the prepared statement that has to be executed\n\n@return string The last inserted ID", "docstring_tokens": ["Persist", "s", "the", "passed", "row", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Actions/Processors/AttributeOptionCreateProcessor.php#L61-L65", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/Factory.php", "func_name": "Factory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the data.\n\n@param array $overrides\n@throws \\Exception\n@return \\stdClass|array If only one item was inserted, an object will be returned.\nOtherwise, an array of objects will be returned.", "docstring_tokens": ["Create", "the", "data", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/Factory.php#L104-L120", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/Factory.php", "func_name": "Factory.override", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override array.\n\n@param array $values\n@param array $overrides\n@return array", "docstring_tokens": ["Override", "array", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/Factory.php#L129-L140", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/Factory.php", "func_name": "Factory.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert data into the db and obtain the inserted records.\n\n@param $values\n@throws \\Exception\n@return \\stdClass", "docstring_tokens": ["Insert", "data", "into", "the", "db", "and", "obtain", "the", "inserted", "records", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/Factory.php#L149-L158", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/Factory.php", "func_name": "Factory.extractPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the primary key of a table.\n\n@throws \\Exception\n@return string", "docstring_tokens": ["Get", "the", "primary", "key", "of", "a", "table", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/Factory.php#L166-L184", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Concerns/InteractsWithAuthSystem.php", "func_name": "InteractsWithAuthSystem.actingAs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the active user.\n\n@param int|object $user Either a user object or simply a user id.\n@return $this", "docstring_tokens": ["Set", "the", "active", "user", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Concerns/InteractsWithAuthSystem.php#L13-L37", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/InitCommand.php", "func_name": "InitCommand.copyStubs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy stubs to their paths.\n\n@param array $files List of files in the following structure: [STUB_FILENAME => NEW_PATH]", "docstring_tokens": ["Copy", "stubs", "to", "their", "paths", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/InitCommand.php#L103-L113", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/InitCommand.php", "func_name": "InitCommand.configureVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a replaces variables in given files.\n\n@param array $files List of files and values in the following structure:\n['FILE_NAME' => [\n\"VARIABLE\" => \"NEW_VALUE\"\n]\n]\n@throws \\Exception", "docstring_tokens": ["Finds", "a", "replaces", "variables", "in", "given", "files", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/InitCommand.php#L150-L165", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Observers/CatalogAttributeObserver.php", "func_name": "CatalogAttributeObserver.serializeAdditionalData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serialize the additional_data attribute of the passed array.\n\n@param array $attr The attribute with the data to serialize\n\n@return array The attribute with the serialized additional_data", "docstring_tokens": ["Serialize", "the", "additional_data", "attribute", "of", "the", "passed", "array", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Observers/CatalogAttributeObserver.php#L192-L202", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Observers/CatalogAttributeObserver.php", "func_name": "CatalogAttributeObserver.isSwatchType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's TRUE if the additional data contains a swatch type.\n\n@param array $additionalData The additional data to query for a valid swatch type\n\n@return boolean TRUE if the data contains a swatch type, else FALSE", "docstring_tokens": ["Return", "s", "TRUE", "if", "the", "additional", "data", "contains", "a", "swatch", "type", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Observers/CatalogAttributeObserver.php#L267-L270", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Callbacks/SwatchTypeLoader.php", "func_name": "SwatchTypeLoader.loadSwatchType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the swatch type for the attribute with the passed code and entity type ID.\n\n@param integer $entityTypeId The entity type ID of the EAV attribute to return the swatch type for\n@param string $attributeCode The attribute code\n\n@return string|null The swatch type (either one of 'text' or 'visual') or NULL, if the attribute is NOT a swatch type", "docstring_tokens": ["Returns", "the", "swatch", "type", "for", "the", "attribute", "with", "the", "passed", "code", "and", "entity", "type", "ID", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Callbacks/SwatchTypeLoader.php#L122-L145", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/DBSeedCommand.php", "func_name": "DBSeedCommand.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seed the database.\n\n@throws \\Exception", "docstring_tokens": ["Seed", "the", "database", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/DBSeedCommand.php#L31-L57", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/DBSeedCommand.php", "func_name": "DBSeedCommand.prepSeeder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the fully qualified seeder name.\n\n@param $name\n@return string", "docstring_tokens": ["Get", "the", "fully", "qualified", "seeder", "name", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/DBSeedCommand.php#L75-L83", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/AttributeOptionSwatchRepository.php", "func_name": "AttributeOptionSwatchRepository.findOneByOptionIdAndStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load's and return's the EAV attribute option swatch with the passed option ID and store ID\n\n@param string $optionId The option ID of the attribute option swatch to load\n@param integer $storeId The store ID of the attribute option swatch to load\n\n@return array The EAV attribute option swatch", "docstring_tokens": ["Load", "s", "and", "return", "s", "the", "EAV", "attribute", "option", "swatch", "with", "the", "passed", "option", "ID", "and", "store", "ID"], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/AttributeOptionSwatchRepository.php#L89-L101", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/EntityAttributeRepository.php", "func_name": "EntityAttributeRepository.findOneByAttributeIdAndAttributeSetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV entity attribute with the passed attribute + attribute set ID.\n\n@param integer $attributeId The ID of the EAV entity attribute's attribute to return\n@param integer $attributeSetId The ID of the EAV entity attribute's attribute set to return\n\n@return array The EAV entity attribute", "docstring_tokens": ["Return", "s", "the", "EAV", "entity", "attribute", "with", "the", "passed", "attribute", "+", "attribute", "set", "ID", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/EntityAttributeRepository.php#L76-L88", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/AttributeOptionRepository.php", "func_name": "AttributeOptionRepository.findOneByEntityTypeIdAndAttributeCodeAndStoreIdAndValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load's and return's the EAV attribute option with the passed entity type ID and code, store ID and value.\n\n@param string $entityTypeId The entity type ID of the EAV attribute to load the option for\n@param string $attributeCode The code of the EAV attribute option to load\n@param integer $storeId The store ID of the attribute option to load\n@param string $value The value of the attribute option to load\n\n@return array The EAV attribute option", "docstring_tokens": ["Load", "s", "and", "return", "s", "the", "EAV", "attribute", "option", "with", "the", "passed", "entity", "type", "ID", "and", "code", "store", "ID", "and", "value", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/AttributeOptionRepository.php#L122-L136", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/AttributeOptionRepository.php", "func_name": "AttributeOptionRepository.findOneByAttributeIdAndHighestSortOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the EAV attribute option of attribute with the passed ID with the highest sort order.\n\n@param integer $attributeId The ID of the attribute to return the EAV option with the highest sort order for\n\n@return array|null The EAV attribute option with the highest sort order", "docstring_tokens": ["Returns", "the", "EAV", "attribute", "option", "of", "attribute", "with", "the", "passed", "ID", "with", "the", "highest", "sort", "order", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/AttributeOptionRepository.php#L173-L179", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/MakeSeederCommand.php", "func_name": "MakeSeederCommand.createDatabaseSeedersFolder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the database seeders folder if it doesn't exist.\n\n@throws FileNotFoundException", "docstring_tokens": ["Creates", "the", "database", "seeders", "folder", "if", "it", "doesn", "t", "exist", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/MakeSeederCommand.php#L49-L59", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Console/Commands/MakeSeederCommand.php", "func_name": "MakeSeederCommand.makeSeeder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a database seeder.\n\n@throws \\Exception", "docstring_tokens": ["Make", "a", "database", "seeder", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Console/Commands/MakeSeederCommand.php#L66-L86", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Observers/AttributeOptionUpdateObserver.php", "func_name": "AttributeOptionUpdateObserver.initializeAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the EAV attribute option with the passed attributes and returns an instance.\n\n@param array $attr The EAV attribute option attributes\n\n@return array The initialized EAV attribute option", "docstring_tokens": ["Initialize", "the", "EAV", "attribute", "option", "with", "the", "passed", "attributes", "and", "returns", "an", "instance", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Observers/AttributeOptionUpdateObserver.php#L45-L63", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/DBTransaction.php", "func_name": "DBTransaction.DBTransactionSetUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a Drupal DB Transaction.", "docstring_tokens": ["Start", "a", "Drupal", "DB", "Transaction", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/DBTransaction.php#L15-L21", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/CatalogAttributeRepository.php", "func_name": "CatalogAttributeRepository.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV catalog attribute with the passed ID.\n\n@param string $attributeId The ID of the EAV catalog attribute to return\n\n@return array The EAV catalog attribute", "docstring_tokens": ["Return", "s", "the", "EAV", "catalog", "attribute", "with", "the", "passed", "ID", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/CatalogAttributeRepository.php#L66-L71", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/MenuCaller.php", "func_name": "MenuCaller.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set public path.\n\n@param $path\n@return $this", "docstring_tokens": ["Set", "public", "path", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/MenuCaller.php#L49-L59", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/MenuCaller.php", "func_name": "MenuCaller.addParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add parameters to the request.\n\n@param $params\n@return $this", "docstring_tokens": ["Add", "parameters", "to", "the", "request", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/MenuCaller.php#L80-L94", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/MenuCaller.php", "func_name": "MenuCaller.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a mock HTTP response.\n\n@return \\StatonLab\\TripalTestSuite\\Mocks\\TestResponseMock\n@throws \\Exception", "docstring_tokens": ["Creates", "a", "mock", "HTTP", "response", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/MenuCaller.php#L102-L133", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/MenuCaller.php", "func_name": "MenuCaller.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the menu handler and construct the response.\n\n@return array", "docstring_tokens": ["Execute", "the", "menu", "handler", "and", "construct", "the", "response", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/MenuCaller.php#L140-L185", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/MenuCaller.php", "func_name": "MenuCaller.injectParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Injects parameters into the request.", "docstring_tokens": ["Injects", "parameters", "into", "the", "request", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/MenuCaller.php#L190-L208", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Repositories/AttributeRepository.php", "func_name": "AttributeRepository.findOneByAttributeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV attribute with the passed code.\n\n@param string $attributeCode The code of the EAV attribute to return\n\n@return array The EAV attribute\n@deprecated Since 2.0.2\n@see \\TechDivision\\Import\\Attribute\\Repositories\\AttributeRepositoryInterface::findOneByEntityIdAndAttributeCode()", "docstring_tokens": ["Return", "s", "the", "EAV", "attribute", "with", "the", "passed", "code", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Repositories/AttributeRepository.php#L79-L84", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Subjects/BunchSubject.php", "func_name": "BunchSubject.tearDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean up the global data after importing the bunch.\n\n@param string $serial The serial of the actual import\n\n@return void", "docstring_tokens": ["Clean", "up", "the", "global", "data", "after", "importing", "the", "bunch", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Subjects/BunchSubject.php#L110-L126", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Subjects/BunchSubject.php", "func_name": "BunchSubject.preLoadAttributeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pre-load and temporary persist the attribute ID for the passed EAV attribute.\n\n@param array $attribute The EAV attribute to pre-load\n\n@return void", "docstring_tokens": ["Pre", "-", "load", "and", "temporary", "persist", "the", "attribute", "ID", "for", "the", "passed", "EAV", "attribute", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Subjects/BunchSubject.php#L203-L206", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Concerns/PublishesData.php", "func_name": "PublishesData.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish records from chado to entities.\n\n@param string data_table Chado table name such as feature.\n@param array $ids CURRENTLY UNSUPPORTED.\n@param string $primary_key The primary key name such as feature_id. If not\nprovided, the key is obtained using the tripal API.\n@throws \\Exception\n@return \\StatonLab\\TripalTestSuite\\Database\\PublishRecords", "docstring_tokens": ["Publish", "records", "from", "chado", "to", "entities", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Concerns/PublishesData.php#L18-L24", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BaseResponse.php", "func_name": "BaseResponse.assertSee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert string exists in response body.\n\n@param string $content\n@return $this", "docstring_tokens": ["Assert", "string", "exists", "in", "response", "body", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BaseResponse.php#L23-L29", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BaseResponse.php", "func_name": "BaseResponse.json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the json response as an associative array.\n\n@return array\n@throws \\StatonLab\\TripalTestSuite\\Exceptions\\InvalidJSONException", "docstring_tokens": ["Get", "the", "json", "response", "as", "an", "associative", "array", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BaseResponse.php#L37-L47", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BaseResponse.php", "func_name": "BaseResponse.assertJsonStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the response has the given structure.\n\n@param array $structure Expected structure\n@params array $data Response data\n@return $this", "docstring_tokens": ["Assert", "that", "the", "response", "has", "the", "given", "structure", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BaseResponse.php#L56-L83", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BootstrapDrupal.php", "func_name": "BootstrapDrupal.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap Drupal.\n\n@throws \\Statonlab\\TripalTestSuite\\Exceptions\\TripalTestSuiteException", "docstring_tokens": ["Bootstrap", "Drupal", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BootstrapDrupal.php#L19-L51", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BootstrapDrupal.php", "func_name": "BootstrapDrupal.getDrupalRoot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets Drupal root path.\n\n@return string", "docstring_tokens": ["Gets", "Drupal", "root", "path", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BootstrapDrupal.php#L58-L74", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BootstrapDrupal.php", "func_name": "BootstrapDrupal.getEnvironmentFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Look for environment variable file.\n\n@return bool|string", "docstring_tokens": ["Look", "for", "environment", "variable", "file", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BootstrapDrupal.php#L97-L117", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Services/BootstrapDrupal.php", "func_name": "BootstrapDrupal.readEnvironmentFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read env files.\n\n@throws \\Statonlab\\TripalTestSuite\\Exceptions\\TripalTestSuiteException", "docstring_tokens": ["Read", "env", "files", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Services/BootstrapDrupal.php#L124-L148", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/PublishRecords.php", "func_name": "PublishRecords.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform the publishing.\n\n@throws Exception", "docstring_tokens": ["Perform", "the", "publishing", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/PublishRecords.php#L57-L80", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Database/LoadsDatabaseSeeders.php", "func_name": "LoadsDatabaseSeeders.loadDatabaseSeeders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the database seeders.\n\n@return mixed\n@throws TripalTestBootstrapException", "docstring_tokens": ["Load", "the", "database", "seeders", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Database/LoadsDatabaseSeeders.php#L22-L43", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Subjects/AbstractAttributeSubject.php", "func_name": "AbstractAttributeSubject.getEntityType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the entity type for the passed code, of if no entity type code has\nbeen passed, the default one from the configuration will be used.\n\n@param string|null $entityTypeCode The entity type code\n\n@return array The requested entity type\n@throws \\Exception Is thrown, if the entity type with the passed code is not available", "docstring_tokens": ["Return", "s", "the", "entity", "type", "for", "the", "passed", "code", "of", "if", "no", "entity", "type", "code", "has", "been", "passed", "the", "default", "one", "from", "the", "configuration", "will", "be", "used", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Subjects/AbstractAttributeSubject.php#L128-L150", "partition": "test"} +{"repo": "techdivision/import-attribute", "path": "src/Subjects/AbstractAttributeSubject.php", "func_name": "AbstractAttributeSubject.getEntityTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the entity type ID for the passed code, or if no entity type code has\nbeen passed, the default one from the configuration will be used.\n\n@param string|null $entityTypeCode The entity type code\n\n@return integer The actual entity type ID", "docstring_tokens": ["Returns", "the", "entity", "type", "ID", "for", "the", "passed", "code", "or", "if", "no", "entity", "type", "code", "has", "been", "passed", "the", "default", "one", "from", "the", "configuration", "will", "be", "used", "."], "sha": "7d75902d079e64b5c3e33c43fdf8071334489d62", "url": "https://github.com/techdivision/import-attribute/blob/7d75902d079e64b5c3e33c43fdf8071334489d62/src/Subjects/AbstractAttributeSubject.php#L160-L168", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Concerns/MakesHTTPRequests.php", "func_name": "MakesHTTPRequests._call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the request.\n\n@param string $method\n@param string $uri\n@params array $params\n\n@throws \\Exception\n@return TestResponse", "docstring_tokens": ["Sends", "the", "request", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Concerns/MakesHTTPRequests.php#L109-L134", "partition": "test"} +{"repo": "tripal/TripalTestSuite", "path": "src/Concerns/MakesHTTPRequests.php", "func_name": "MakesHTTPRequests._prepareURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare url for request.\n\n@param $uri\n@return string", "docstring_tokens": ["Prepare", "url", "for", "request", "."], "sha": "3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4", "url": "https://github.com/tripal/TripalTestSuite/blob/3e877af0204c59b9aa6b7ef0324ca4b985a7e3b4/src/Concerns/MakesHTTPRequests.php#L142-L151", "partition": "test"} +{"repo": "SobanVuex/php-newrelic", "path": "src/Agent.php", "func_name": "Agent.acceptDistributedTracePayloadHttpsafe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accepts a distributed trace payload.\n\nAgent version 8.4 or higher.\n\n@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelicacceptdistributedtracepayloadhttpsafe-php-agent-api\n@see self::createDistributedTracePayload\n\n@param string $payload JSON formatted string created by using self::createDistributedTracePayload\n@param string $type (optional) A string overriding the default transport type.\n\n@return bool\n\n@since 2.1.0", "docstring_tokens": ["Accepts", "a", "distributed", "trace", "payload", "."], "sha": "e0b1d22f2d305b5230473288933fb455cb64f6bd", "url": "https://github.com/SobanVuex/php-newrelic/blob/e0b1d22f2d305b5230473288933fb455cb64f6bd/src/Agent.php#L92-L99", "partition": "test"} +{"repo": "SobanVuex/php-newrelic", "path": "src/Agent.php", "func_name": "Agent.endTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop instrumenting the current transaction immediately.\n\nAgent version 3.0.5.95 or higher.\n\n@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelic_end_transaction\n@see self::endOfTransaction\n@see self::startTransaction\n\n@param bool $ignore (optional) Defaults to false\n\n@return bool", "docstring_tokens": ["Stop", "instrumenting", "the", "current", "transaction", "immediately", "."], "sha": "e0b1d22f2d305b5230473288933fb455cb64f6bd", "url": "https://github.com/SobanVuex/php-newrelic/blob/e0b1d22f2d305b5230473288933fb455cb64f6bd/src/Agent.php#L264-L271", "partition": "test"} +{"repo": "SobanVuex/php-newrelic", "path": "src/Agent.php", "func_name": "Agent.setAppname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the New Relic app name, which controls data rollup.\n\nAgent version 3.1.5.111 or higher.\n\n@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelic_set_appname\n\n@param string|array $name Name(s) of app metrics should be reported under in New Relic user interface\n@param string $license (optional) Specify a different license key to report metrics to a different\nNew Relic account\n@param bool $xmit (optional) Defaults to false\n\n@return bool", "docstring_tokens": ["Sets", "the", "New", "Relic", "app", "name", "which", "controls", "data", "rollup", "."], "sha": "e0b1d22f2d305b5230473288933fb455cb64f6bd", "url": "https://github.com/SobanVuex/php-newrelic/blob/e0b1d22f2d305b5230473288933fb455cb64f6bd/src/Agent.php#L446-L459", "partition": "test"} +{"repo": "SobanVuex/php-newrelic", "path": "src/Agent.php", "func_name": "Agent.setUserAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create user-related custom attributes. newrelic_add_custom_parameter is more flexible.\n\nAgent version 3.1.5.111 or higher.\n\n@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelic_set_user_attributes\n@see self::addCustomParameter\n\n@param string $user Specify a name or username to associate with this page view\n@param string $account Specify the name of a user account to associate with this page view\n@param string $product Specify the name of a product to associate with this page view\n\n@return bool", "docstring_tokens": ["Create", "user", "-", "related", "custom", "attributes", ".", "newrelic_add_custom_parameter", "is", "more", "flexible", "."], "sha": "e0b1d22f2d305b5230473288933fb455cb64f6bd", "url": "https://github.com/SobanVuex/php-newrelic/blob/e0b1d22f2d305b5230473288933fb455cb64f6bd/src/Agent.php#L475-L482", "partition": "test"} +{"repo": "SobanVuex/php-newrelic", "path": "src/Agent.php", "func_name": "Agent.startTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a new transaction, usually after manually ending a transaction.\n\nAgent version 3.0.5.95 or higher.\n\n@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelic_start_transaction\n@see self::endTransaction\n\n@param string $appname The application name to associate with data from this transaction\n@param string $license (optional) Provide a different license key if you want the transaction to report\nto a different New Relic account\n\n@return bool", "docstring_tokens": ["Starts", "a", "new", "transaction", "usually", "after", "manually", "ending", "a", "transaction", "."], "sha": "e0b1d22f2d305b5230473288933fb455cb64f6bd", "url": "https://github.com/SobanVuex/php-newrelic/blob/e0b1d22f2d305b5230473288933fb455cb64f6bd/src/Agent.php#L498-L509", "partition": "test"} +{"repo": "samsonasik/RedirectHandlerModule", "path": "src/Controller/Plugin/Redirect.php", "func_name": "Redirect.toUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect with Handling against url.\n\n@param string $url\n\n@return \\Zend\\Http\\PhpEnvironment\\Response", "docstring_tokens": ["Redirect", "with", "Handling", "against", "url", "."], "sha": "ec3bff6cac2cd091fb592093b003e9d1b570c5de", "url": "https://github.com/samsonasik/RedirectHandlerModule/blob/ec3bff6cac2cd091fb592093b003e9d1b570c5de/src/Controller/Plugin/Redirect.php#L59-L138", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Utils/ConfigurationUtil.php", "func_name": "ConfigurationUtil.prepareConstructorArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare's the arguments for the passed reflection class by applying the values from the passed configuration array\nto the apropriate arguments. If no value is found in the configuration, the constructor argument's default value is\nused.\n\n@param \\ReflectionClass $reflectionClass The reflection class to prepare the arguments for\n@param array $params The constructor arguments from the configuration\n\n@return array The array with the constructor arguements", "docstring_tokens": ["Prepare", "s", "the", "arguments", "for", "the", "passed", "reflection", "class", "by", "applying", "the", "values", "from", "the", "passed", "configuration", "array", "to", "the", "apropriate", "arguments", ".", "If", "no", "value", "is", "found", "in", "the", "configuration", "the", "constructor", "argument", "s", "default", "value", "is", "used", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Utils/ConfigurationUtil.php#L62-L93", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Callbacks/AbstractCallback.php", "func_name": "AbstractCallback.appendExceptionSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append's the exception suffix containing filename and line number to the\npassed message. If no message has been passed, only the suffix will be\nreturned.\n\n@param string|null $message The message to append the exception suffix to\n@param string|null $filename The filename used to create the suffix\n@param string|null $lineNumber The line number used to create the suffx\n\n@return string The message with the appended exception suffix", "docstring_tokens": ["Append", "s", "the", "exception", "suffix", "containing", "filename", "and", "line", "number", "to", "the", "passed", "message", ".", "If", "no", "message", "has", "been", "passed", "only", "the", "suffix", "will", "be", "returned", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Callbacks/AbstractCallback.php#L97-L100", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Callbacks/AbstractCallback.php", "func_name": "AbstractCallback.wrapException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps the passed exeception into a new one by trying to resolve the original filname,\nline number and column name and use it for a detailed exception message.\n\n@param string $columnName The column name that should be resolved\n@param \\Exception $parent The exception we want to wrap\n@param string $className The class name of the exception type we want to wrap the parent one\n\n@return \\Exception the wrapped exception", "docstring_tokens": ["Wraps", "the", "passed", "exeception", "into", "a", "new", "one", "by", "trying", "to", "resolve", "the", "original", "filname", "line", "number", "and", "column", "name", "and", "use", "it", "for", "a", "detailed", "exception", "message", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Callbacks/AbstractCallback.php#L112-L118", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/Goodby/Lexer.php", "func_name": "Lexer.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the passed CSV file.\n\n@param string $filename The filename to parse\n@param \\Goodby\\CSV\\Import\\Protocol\\InterpreterInterface $interpreter The interpreter instance\n\n@return void", "docstring_tokens": ["Parse", "the", "passed", "CSV", "file", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/Goodby/Lexer.php#L84-L127", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeGroupRepository.php", "func_name": "EavAttributeGroupRepository.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV attribute group with the passed ID.\n\n@param integer $id The EAV attribute group ID\n\n@return array The EAV attribute group", "docstring_tokens": ["Return", "s", "the", "EAV", "attribute", "group", "with", "the", "passed", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeGroupRepository.php#L83-L89", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeGroupRepository.php", "func_name": "EavAttributeGroupRepository.findAllByAttributeSetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the attribute groups for the passed attribute set ID, whereas the array\nis prepared with the attribute group names as keys.\n\n@param mixed $attributeSetId The EAV attribute set ID to return the attribute groups for\n\n@return array|boolean The EAV attribute groups for the passed attribute ID", "docstring_tokens": ["Return", "s", "the", "attribute", "groups", "for", "the", "passed", "attribute", "set", "ID", "whereas", "the", "array", "is", "prepared", "with", "the", "attribute", "group", "names", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeGroupRepository.php#L99-L118", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeGroupRepository.php", "func_name": "EavAttributeGroupRepository.findOneByEntityTypeCodeAndAttributeSetNameAndAttributeGroupName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV attribute group with the passed entity type code, attribute set and attribute group name.\n\n@param string $entityTypeCode The entity type code of the EAV attribute group to return\n@param string $attributeSetName The attribute set name of the EAV attribute group to return\n@param string $attributeGroupName The attribute group name of the EAV attribute group to return\n\n@return array The EAV attribute group", "docstring_tokens": ["Return", "s", "the", "EAV", "attribute", "group", "with", "the", "passed", "entity", "type", "code", "attribute", "set", "and", "attribute", "group", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeGroupRepository.php#L129-L142", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/Csv/LexerConfigFactory.php", "func_name": "LexerConfigFactory.createLexerConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create a new lexer configuration instance.\n\n@return \\Goodby\\CSV\\Import\\Standard\\LexerConfig The lexer configuration", "docstring_tokens": ["Factory", "method", "to", "create", "a", "new", "lexer", "configuration", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/Csv/LexerConfigFactory.php#L60-L93", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeOptionValueRepository.php", "func_name": "EavAttributeOptionValueRepository.findOneByOptionIdAndStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load's and return's the EAV attribute option value with the passed option ID and store ID\n\n@param string $optionId The option ID of the attribute option\n@param integer $storeId The store ID of the attribute option to load\n\n@return array The EAV attribute option value", "docstring_tokens": ["Load", "s", "and", "return", "s", "the", "EAV", "attribute", "option", "value", "with", "the", "passed", "option", "ID", "and", "store", "ID"], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeOptionValueRepository.php#L122-L153", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/FileResolverFactory.php", "func_name": "FileResolverFactory.createFileResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the file resolver instance for the subject with the passed configuration.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subject The subject to create the file resolver for\n\n@return \\TechDivision\\Import\\Subjects\\FileResolver\\FileResolverInterface The file resolver instance", "docstring_tokens": ["Creates", "and", "returns", "the", "file", "resolver", "instance", "for", "the", "subject", "with", "the", "passed", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/FileResolverFactory.php#L62-L71", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CoreConfigDataRepository.php", "func_name": "CoreConfigDataRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the Magento 2 configuration.\n\n@return array The configuration", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "Magento", "2", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CoreConfigDataRepository.php#L88-L110", "partition": "test"} +{"repo": "techdivision/import", "path": "src/SystemLoggerTrait.php", "func_name": "SystemLoggerTrait.getSystemLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the logger with the passed name, by default the system logger.\n\n@param string $name The name of the requested system logger\n\n@return \\Psr\\Log\\LoggerInterface The logger instance\n@throws \\Exception Is thrown, if the requested logger is NOT available", "docstring_tokens": ["Return", "s", "the", "logger", "with", "the", "passed", "name", "by", "default", "the", "system", "logger", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/SystemLoggerTrait.php#L52-L62", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Plugins/PluginFactory.php", "func_name": "PluginFactory.createPlugin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create new plugin instance.\n\n@param \\TechDivision\\Import\\Configuration\\PluginConfigurationInterface $pluginConfiguration The plugin configuration\n\n@return \\TechDivision\\Import\\Plugins\\PluginInterface The plugin instance", "docstring_tokens": ["Factory", "method", "to", "create", "new", "plugin", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Plugins/PluginFactory.php#L62-L71", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Observers/AbstractObserver.php", "func_name": "AbstractObserver.mergeEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge's and return's the entity with the passed attributes and set's the\nstatus to 'update'.\n\n@param array $entity The entity to merge the attributes into\n@param array $attr The attributes to be merged\n\n@return array The merged entity", "docstring_tokens": ["Merge", "s", "and", "return", "s", "the", "entity", "with", "the", "passed", "attributes", "and", "set", "s", "the", "status", "to", "update", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Observers/AbstractObserver.php#L98-L101", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/I18n/NumberConverterFactory.php", "func_name": "NumberConverterFactory.createNumberConverter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the number converter instance for the subject with the passed configuration.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subject The subject to create the number converter for\n\n@return \\TechDivision\\Import\\Subjects\\I18n\\NumberConverterInterface The number converter instance", "docstring_tokens": ["Creates", "and", "returns", "the", "number", "converter", "instance", "for", "the", "subject", "with", "the", "passed", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/I18n/NumberConverterFactory.php#L62-L71", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractEavSubject.php", "func_name": "AbstractEavSubject.castValueByBackendType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast's the passed value based on the backend type information.\n\n@param string $backendType The backend type to cast to\n@param mixed $value The value to be casted\n\n@return mixed The casted value", "docstring_tokens": ["Cast", "s", "the", "passed", "value", "based", "on", "the", "backend", "type", "information", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractEavSubject.php#L209-L229", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractEavSubject.php", "func_name": "AbstractEavSubject.getEntityTypeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the entity type code to be used.\n\n@return string The entity type code to be used", "docstring_tokens": ["Return", "s", "the", "entity", "type", "code", "to", "be", "used", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractEavSubject.php#L236-L249", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractEavSubject.php", "func_name": "AbstractEavSubject.getAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the attributes for the attribute set of the product that has to be created.\n\n@return array The attributes\n@throws \\Exception Is thrown, if the attribute set or the given entity type with the passed name is not available", "docstring_tokens": ["Return", "s", "the", "attributes", "for", "the", "attribute", "set", "of", "the", "product", "that", "has", "to", "be", "created", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractEavSubject.php#L294-L329", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractEavSubject.php", "func_name": "AbstractEavSubject.getEavUserDefinedAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available user defined EAV attributes for the actual entity type.\n\n@return array The array with the user defined EAV attributes", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "user", "defined", "EAV", "attributes", "for", "the", "actual", "entity", "type", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractEavSubject.php#L336-L349", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractEavSubject.php", "func_name": "AbstractEavSubject.getEavAttributeByAttributeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV attribute with the passed attribute code.\n\n@param string $attributeCode The attribute code\n\n@return array The array with the EAV attribute\n@throws \\Exception Is thrown if the attribute with the passed code is not available", "docstring_tokens": ["Return", "s", "the", "EAV", "attribute", "with", "the", "passed", "attribute", "code", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractEavSubject.php#L359-L376", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Assembler/CategoryAssembler.php", "func_name": "CategoryAssembler.getCategoriesWithResolvedPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the available categories and their\nresolved path as keys.\n\n@return array The array with the categories", "docstring_tokens": ["Returns", "an", "array", "with", "the", "available", "categories", "and", "their", "resolved", "path", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Assembler/CategoryAssembler.php#L73-L108", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Assembler/CategoryAssembler.php", "func_name": "CategoryAssembler.getCategoriesWithResolvedPathByStoreView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available categories and their resolved path\nas keys by store view ID.\n\n@param integer $storeViewId The store view ID to return the categories for\n\n@return array The available categories for the passed store view ID", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "categories", "and", "their", "resolved", "path", "as", "keys", "by", "store", "view", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Assembler/CategoryAssembler.php#L119-L153", "partition": "test"} +{"repo": "techdivision/import", "path": "src/HeaderTrait.php", "func_name": "HeaderTrait.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the header value for the passed name.\n\n@param string $name The name of the header to return the value for\n\n@return mixed The header value\n@throws \\InvalidArgumentException Is thrown, if the header with the passed name is NOT available", "docstring_tokens": ["Return", "s", "the", "header", "value", "for", "the", "passed", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/HeaderTrait.php#L101-L114", "partition": "test"} +{"repo": "techdivision/import", "path": "src/HeaderTrait.php", "func_name": "HeaderTrait.addHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add's the header with the passed name and position, if not NULL.\n\n@param string $name The header name to add\n\n@return integer The new headers position", "docstring_tokens": ["Add", "s", "the", "header", "with", "the", "passed", "name", "and", "position", "if", "not", "NULL", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/HeaderTrait.php#L123-L131", "partition": "test"} +{"repo": "techdivision/import", "path": "src/HeaderTrait.php", "func_name": "HeaderTrait.mapAttributeCodeByHeaderMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map the passed attribute code, if a header mapping exists and return the\nmapped mapping.\n\n@param string $attributeCode The attribute code to map\n\n@return string The mapped attribute code, or the original one", "docstring_tokens": ["Map", "the", "passed", "attribute", "code", "if", "a", "header", "mapping", "exists", "and", "return", "the", "mapped", "mapping", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/HeaderTrait.php#L141-L154", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.tearDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean up the global data after importing the variants.\n\n@param string $serial The serial of the actual import\n\n@return void", "docstring_tokens": ["Clean", "up", "the", "global", "data", "after", "importing", "the", "variants", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L532-L551", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.registerObserver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the passed observer with the specific type.\n\n@param \\TechDivision\\Import\\Observers\\ObserverInterface $observer The observer to register\n@param string $type The type to register the observer with\n\n@return void", "docstring_tokens": ["Register", "the", "passed", "observer", "with", "the", "specific", "type", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L584-L595", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.registerCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the passed callback with the specific type.\n\n@param \\TechDivision\\Import\\Callbacks\\CallbackInterface $callback The subject to register the callbacks for\n@param string $type The type to register the callback with\n\n@return void", "docstring_tokens": ["Register", "the", "passed", "callback", "with", "the", "specific", "type", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L605-L616", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.getCallbacksByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the array with callbacks for the passed type.\n\n@param string $type The type of the callbacks to return\n\n@return array The callbacks", "docstring_tokens": ["Return", "s", "the", "array", "with", "callbacks", "for", "the", "passed", "type", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L625-L638", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.importRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Imports the passed row into the database. If the import failed, the exception\nwill be catched and logged, but the import process will be continued.\n\n@param array $row The row with the data to be imported\n\n@return void", "docstring_tokens": ["Imports", "the", "passed", "row", "into", "the", "database", ".", "If", "the", "import", "failed", "the", "exception", "will", "be", "catched", "and", "logged", "but", "the", "import", "process", "will", "be", "continued", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L765-L847", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.prepareStoreViewCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare's the store view code in the subject. If the store_view_code row doesn't contain\nany value, the default code of the default store view will be set.\n\n@return void", "docstring_tokens": ["Prepare", "s", "the", "store", "view", "code", "in", "the", "subject", ".", "If", "the", "store_view_code", "row", "doesn", "t", "contain", "any", "value", "the", "default", "code", "of", "the", "default", "store", "view", "will", "be", "set", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L922-L932", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.getStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the store ID of the store with the passed store view code\n\n@param string $storeViewCode The store view code to return the store ID for\n\n@return integer The ID of the store with the passed ID\n@throws \\Exception Is thrown, if the store with the actual code is not available", "docstring_tokens": ["Return", "s", "the", "store", "ID", "of", "the", "store", "with", "the", "passed", "store", "view", "code"], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L942-L959", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.getRootCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the root category for the actual view store.\n\n@return array The store's root category\n@throws \\Exception Is thrown if the root category for the passed store code is NOT available", "docstring_tokens": ["Return", "s", "the", "root", "category", "for", "the", "actual", "view", "store", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L988-L1001", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.resolveOriginalColumnName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the original column name for the passed one.\n\n@param string $columnName The column name that has to be resolved\n\n@return string|null The original column name", "docstring_tokens": ["Resolve", "the", "original", "column", "name", "for", "the", "passed", "one", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L1098-L1119", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.getOriginalData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the original data if available, or an empty array.\n\n@return array The original data", "docstring_tokens": ["Return", "s", "the", "original", "data", "if", "available", "or", "an", "empty", "array", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L1126-L1140", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.hasOriginalData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query's whether or not the actual column contains original data like\nfilename, line number and column names.\n\n@return boolean TRUE if the actual column contains origin data, else FALSE", "docstring_tokens": ["Query", "s", "whether", "or", "not", "the", "actual", "column", "contains", "original", "data", "like", "filename", "line", "number", "and", "column", "names", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L1148-L1151", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.wrapException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps the passed exeception into a new one by trying to resolve the original filname,\nline number and column names and use it for a detailed exception message.\n\n@param array $columnNames The column names that should be resolved and wrapped\n@param \\Exception $parent The exception we want to wrap\n@param string $className The class name of the exception type we want to wrap the parent one\n\n@return \\Exception the wrapped exception", "docstring_tokens": ["Wraps", "the", "passed", "exeception", "into", "a", "new", "one", "by", "trying", "to", "resolve", "the", "original", "filname", "line", "number", "and", "column", "names", "and", "use", "it", "for", "a", "detailed", "exception", "message", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L1163-L1206", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/AbstractSubject.php", "func_name": "AbstractSubject.appendExceptionSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append's the exception suffix containing filename and line number to the\npassed message. If no message has been passed, only the suffix will be\nreturned\n\n@param string|null $message The message to append the exception suffix to\n@param string|null $filename The filename used to create the suffix\n@param string|null $lineNumber The line number used to create the suffx\n\n@return string The message with the appended exception suffix", "docstring_tokens": ["Append", "s", "the", "exception", "suffix", "containing", "filename", "and", "line", "number", "to", "the", "passed", "message", ".", "If", "no", "message", "has", "been", "passed", "only", "the", "suffix", "will", "be", "returned"], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/AbstractSubject.php#L1232-L1252", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileUploadTrait.php", "func_name": "FileUploadTrait.getNewFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new file name if the same is already exists.\n\n@param string $targetFilename The name of the exisising files\n\n@return string The new filename", "docstring_tokens": ["Get", "new", "file", "name", "if", "the", "same", "is", "already", "exists", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileUploadTrait.php#L129-L156", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileUploadTrait.php", "func_name": "FileUploadTrait.uploadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upload's the file with the passed name to the Magento\nmedia directory. If the file already exists, the will\nbe given a new name that will be returned.\n\n@param string $filename The name of the file to be uploaded\n\n@return string The name of the uploaded file\n@throws \\Exception Is thrown, if the file with the passed name is not available", "docstring_tokens": ["Upload", "s", "the", "file", "with", "the", "passed", "name", "to", "the", "Magento", "media", "directory", ".", "If", "the", "file", "already", "exists", "the", "will", "be", "given", "a", "new", "name", "that", "will", "be", "returned", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileUploadTrait.php#L168-L199", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileUploadTrait.php", "func_name": "FileUploadTrait.deleteFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the file with the passed name.\n\n@param string $filename The name of the file to be deleted\n\n@return boolean TRUE on success, else FALSE", "docstring_tokens": ["Delete", "the", "file", "with", "the", "passed", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileUploadTrait.php#L208-L225", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavEntityTypeRepository.php", "func_name": "EavEntityTypeRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with all available EAV entity types with the entity type code as key.\n\n@return array The available link types", "docstring_tokens": ["Return", "s", "an", "array", "with", "all", "available", "EAV", "entity", "types", "with", "the", "entity", "type", "code", "as", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavEntityTypeRepository.php#L72-L91", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavEntityTypeRepository.php", "func_name": "EavEntityTypeRepository.findOneByEntityTypeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an EAV entity type with the passed entity type code.\n\n@param string $entityTypeCode The code of the entity type to return\n\n@return array The entity type with the passed entity type code", "docstring_tokens": ["Return", "s", "an", "EAV", "entity", "type", "with", "the", "passed", "entity", "type", "code", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavEntityTypeRepository.php#L100-L105", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/ValueCsvSerializer.php", "func_name": "ValueCsvSerializer.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes the elements of the passed array by using the\ninstances CSV configuration options.\n\n@param array|null $unserialized The serialized data\n\n@return string|null The serialized array", "docstring_tokens": ["Serializes", "the", "elements", "of", "the", "passed", "array", "by", "using", "the", "instances", "CSV", "configuration", "options", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/ValueCsvSerializer.php#L72-L95", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/ValueCsvSerializer.php", "func_name": "ValueCsvSerializer.unserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserializes the elements of the passed value by using the\ninstances CSV configuration options.\n\n@param string|null $serialized The value to unserialize\n\n@return array|null The exploded values", "docstring_tokens": ["Unserializes", "the", "elements", "of", "the", "passed", "value", "by", "using", "the", "instances", "CSV", "configuration", "options", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/ValueCsvSerializer.php#L105-L123", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Plugins/MissingOptionValuesPlugin.php", "func_name": "MissingOptionValuesPlugin.getTargetDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the target directory the CSV files has to be exported to.\n\n@return string The name of the target directory", "docstring_tokens": ["Return", "s", "the", "target", "directory", "the", "CSV", "files", "has", "to", "be", "exported", "to", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Plugins/MissingOptionValuesPlugin.php#L214-L227", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/Csv/ExportConfigFactory.php", "func_name": "ExportConfigFactory.createExportConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create a new export configuration instance.\n\n@return \\Goodby\\CSV\\Export\\Standard\\ExporterConfig The export configuration", "docstring_tokens": ["Factory", "method", "to", "create", "a", "new", "export", "configuration", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/Csv/ExportConfigFactory.php#L60-L98", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/AdditionalAttributeCsvSerializer.php", "func_name": "AdditionalAttributeCsvSerializer.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Passes the configuration and initializes the serializer.\n\n@param \\TechDivision\\Import\\Configuration\\CsvConfigurationInterface $configuration The CSV configuration\n\n@return void", "docstring_tokens": ["Passes", "the", "configuration", "and", "initializes", "the", "serializer", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/AdditionalAttributeCsvSerializer.php#L101-L109", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/AdditionalAttributeCsvSerializer.php", "func_name": "AdditionalAttributeCsvSerializer.unserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserializes the elements of the passed string.\n\n@param string|null $serialized The value to unserialize\n\n@return array The unserialized values\n@see \\TechDivision\\Import\\Serializers\\SerializerInterface::unserialize()", "docstring_tokens": ["Unserializes", "the", "elements", "of", "the", "passed", "string", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/AdditionalAttributeCsvSerializer.php#L119-L139", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/AdditionalAttributeCsvSerializer.php", "func_name": "AdditionalAttributeCsvSerializer.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serializes the elements of the passed array.\n\n@param array|null $unserialized The serialized data\n\n@return string The serialized array\n@see \\TechDivision\\Import\\Serializers\\SerializerInterface::serialize()", "docstring_tokens": ["Serializes", "the", "elements", "of", "the", "passed", "array", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/AdditionalAttributeCsvSerializer.php#L149-L164", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Actions/Processors/AbstractBaseProcessor.php", "func_name": "AbstractBaseProcessor.getPreparedStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the prepared statement.\n\n@param string $name The name of the prepared statement to return\n\n@return \\PDOStatement The prepared statement", "docstring_tokens": ["Return", "s", "the", "prepared", "statement", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Actions/Processors/AbstractBaseProcessor.php#L81-L91", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Actions/Processors/AbstractBaseProcessor.php", "func_name": "AbstractBaseProcessor.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the proceessor with the prepared statements.\n\n@return void", "docstring_tokens": ["Initializes", "the", "proceessor", "with", "the", "prepared", "statements", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Actions/Processors/AbstractBaseProcessor.php#L169-L178", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Observers/AdditionalAttributeObserver.php", "func_name": "AdditionalAttributeObserver.parseAdditionaAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the string with the additional attributes as CSV and returns an array.\n\n@param string $additionalAttributes The string with the additional attributes\n\n@return array The array with the parsed\n@link http://php.net/manual/de/function.str-getcsv.php", "docstring_tokens": ["Parses", "the", "string", "with", "the", "additional", "attributes", "as", "CSV", "and", "returns", "an", "array", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Observers/AdditionalAttributeObserver.php#L113-L126", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Utils/Generators/CoreConfigDataUidGenerator.php", "func_name": "CoreConfigDataUidGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a unique identifier for the passed 'core_config_data' entity.\n\n@param array $entity The entity to generate the UID for\n\n@return string The unique identifier\n@see \\TechDivision\\Import\\Utils\\Generators\\GeneratorInterface::generate()", "docstring_tokens": ["Create", "a", "unique", "identifier", "for", "the", "passed", "core_config_data", "entity", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Utils/Generators/CoreConfigDataUidGenerator.php#L45-L55", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/AbstractCachedRepository.php", "func_name": "AbstractCachedRepository.resolveReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve's the cache key.\n\n@param string $from The cache key to resolve\n\n@return string The resolved reference", "docstring_tokens": ["Resolve", "s", "the", "cache", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/AbstractCachedRepository.php#L106-L116", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/AbstractCachedRepository.php", "func_name": "AbstractCachedRepository.toCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the passed value to the cache.\n\n@param string $cacheKey The cache key\n@param mixed $value The value to cache\n@param array $references An array with references to add\n\n@return void", "docstring_tokens": ["Add", "the", "passed", "value", "to", "the", "cache", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/AbstractCachedRepository.php#L127-L137", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/AbstractCachedRepository.php", "func_name": "AbstractCachedRepository.fromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query whether or not a value for the passed cache key exists. If yes, the value\nwill be returned, else an exception will be thrown.\n\n@param string $cacheKey The cache key to return the value for\n\n@return mixed The value for the passed cache key\n@throws \\Exception Is thrown, if no value is available", "docstring_tokens": ["Query", "whether", "or", "not", "a", "value", "for", "the", "passed", "cache", "key", "exists", ".", "If", "yes", "the", "value", "will", "be", "returned", "else", "an", "exception", "will", "be", "thrown", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/AbstractCachedRepository.php#L148-L158", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/AbstractCachedRepository.php", "func_name": "AbstractCachedRepository.flushCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush the cache, or the value with the passed key.\n\n@param mixed|null $cacheKey The key of the value to flush\n\n@return void", "docstring_tokens": ["Flush", "the", "cache", "or", "the", "value", "with", "the", "passed", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/AbstractCachedRepository.php#L167-L180", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeSetRepository.php", "func_name": "EavAttributeSetRepository.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the EAV attribute set with the passed ID.\n\n@param integer $id The EAV attribute set ID\n\n@return array The attribute set", "docstring_tokens": ["Return", "s", "the", "EAV", "attribute", "set", "with", "the", "passed", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeSetRepository.php#L93-L99", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeSetRepository.php", "func_name": "EavAttributeSetRepository.findAllByEntityTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the attribute sets for the passed entity type ID, whereas the array\nis prepared with the attribute set names as keys.\n\n@param mixed $entityTypeId The entity type ID to return the attribute sets for\n\n@return array|boolean The attribute sets for the passed entity type ID", "docstring_tokens": ["Return", "s", "the", "attribute", "sets", "for", "the", "passed", "entity", "type", "ID", "whereas", "the", "array", "is", "prepared", "with", "the", "attribute", "set", "names", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeSetRepository.php#L109-L128", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeSetRepository.php", "func_name": "EavAttributeSetRepository.findOneByEntityTypeIdAndAttributeSetName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load's and return's the EAV attribute set with the passed entity type ID and attribute set name.\n\n@param string $entityTypeId The entity type ID of the EAV attribute set to load\n@param string $attributeSetName The attribute set name of the EAV attribute set to return\n\n@return array The EAV attribute set", "docstring_tokens": ["Load", "s", "and", "return", "s", "the", "EAV", "attribute", "set", "with", "the", "passed", "entity", "type", "ID", "and", "attribute", "set", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeSetRepository.php#L138-L150", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeSetRepository.php", "func_name": "EavAttributeSetRepository.findOneByEntityTypeCodeAndAttributeSetName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load's and return's the EAV attribute set with the passed entity type code and attribute set name.\n\n@param string $entityTypeCode The entity type code of the EAV attribute set to load\n@param string $attributeSetName The attribute set name of the EAV attribute set to return\n\n@return array The EAV attribute set", "docstring_tokens": ["Load", "s", "and", "return", "s", "the", "EAV", "attribute", "set", "with", "the", "passed", "entity", "type", "code", "and", "attribute", "set", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeSetRepository.php#L160-L172", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/CsvExportAdapterFactory.php", "func_name": "CsvExportAdapterFactory.createExportAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the export adapter for the subject with the passed configuration.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subjectConfiguration The subject configuration\n\n@return \\TechDivision\\Import\\Adapter\\ExportAdapterInterface The export adapter instance", "docstring_tokens": ["Creates", "and", "returns", "the", "export", "adapter", "for", "the", "subject", "with", "the", "passed", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/CsvExportAdapterFactory.php#L63-L78", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Connection/PDOConnectionWrapper.php", "func_name": "PDOConnectionWrapper.quote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Quotes a string for use in a query.\n\n@param string $string The string to be quoted\n@param integer $parameterType Provides a data type hint for drivers that have alternate quoting styles\n\n@return string|boolean Returns a quoted string that is theoretically safe to pass into an SQL statement or FALSE if the driver does not support quoting in this way\n@link http://php.net/manual/en/pdo.quote.php", "docstring_tokens": ["Quotes", "a", "string", "for", "use", "in", "a", "query", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Connection/PDOConnectionWrapper.php#L173-L176", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/UrlRewriteRepository.php", "func_name": "UrlRewriteRepository.findAllByEntityTypeAndEntityId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the URL rewrites for the passed entity type and ID.\n\n@param string $entityType The entity type to load the URL rewrites for\n@param integer $entityId The entity ID to load the URL rewrites for\n\n@return array The URL rewrites", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "URL", "rewrites", "for", "the", "passed", "entity", "type", "and", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/UrlRewriteRepository.php#L75-L87", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/UrlRewriteRepository.php", "func_name": "UrlRewriteRepository.findAllByEntityTypeAndEntityIdAndStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the URL rewrites for the passed entity type, entity and store ID.\n\n@param string $entityType The entity type to load the URL rewrites for\n@param integer $entityId The entity ID to load the URL rewrites for\n@param integer $storeId The store ID to load the URL rewrites for\n\n@return array The URL rewrites", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "URL", "rewrites", "for", "the", "passed", "entity", "type", "entity", "and", "store", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/UrlRewriteRepository.php#L98-L111", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/Goodby/Interpreter.php", "func_name": "Interpreter.notify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Notify the observers.\n\n@param array $row The row that has to be processed\n\n@return void", "docstring_tokens": ["Notify", "the", "observers", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/Goodby/Interpreter.php#L127-L137", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/Goodby/Interpreter.php", "func_name": "Interpreter.checkRowConsistency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the column count is consistent with comparing other rows.\n\n@param array $row The row that has to be processed\n\n@return void\n@throws \\Goodby\\CSV\\Export\\Standard\\Exception\\StrictViolationException Is thrown, if row consistency check fails", "docstring_tokens": ["Check", "if", "the", "column", "count", "is", "consistent", "with", "comparing", "other", "rows", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/Goodby/Interpreter.php#L160-L183", "partition": "test"} +{"repo": "techdivision/import", "path": "src/RowTrait.php", "func_name": "RowTrait.hasValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query whether or not a value for the column with the passed name exists.\n\n@param string $name The column name to query for a valid value\n\n@return boolean TRUE if the value is set, else FALSE", "docstring_tokens": ["Query", "whether", "or", "not", "a", "value", "for", "the", "column", "with", "the", "passed", "name", "exists", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/RowTrait.php#L100-L114", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/SubjectFactory.php", "func_name": "SubjectFactory.createSubject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create new subject instance.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subjectConfiguration The subject configuration\n\n@return \\TechDivision\\Import\\Subjects\\SubjectInterface The subject instance", "docstring_tokens": ["Factory", "method", "to", "create", "new", "subject", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/SubjectFactory.php#L101-L178", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Serializers/AdditionalAttributeCsvSerializerFactory.php", "func_name": "AdditionalAttributeCsvSerializerFactory.createSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the serializer instance.\n\n@param \\TechDivision\\Import\\Configuration\\CsvConfigurationInterface $configuration The CSV configuration\n\n@return \\TechDivision\\Import\\Serializers\\ConfigurationAwareSerializerInterface The serializer instance", "docstring_tokens": ["Creates", "and", "returns", "the", "serializer", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Serializers/AdditionalAttributeCsvSerializerFactory.php#L63-L73", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findAllByEntityTypeIdAndAttributeSetName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available EAV attributes for the passed entity type ID and attribute set name.\n\n@param integer $entityTypeId The entity type ID of the EAV attributes to return\n@param string $attributeSetName The attribute set name of the EAV attributes to return\n\n@return array The array with all available EAV attributes", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "EAV", "attributes", "for", "the", "passed", "entity", "type", "ID", "and", "attribute", "set", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L124-L147", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findAllByOptionValueAndStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available EAV attributes for the passed option value and store ID.\n\n@param string $optionValue The option value of the EAV attributes\n@param string $storeId The store ID of the EAV attribues\n\n@return array The array with all available EAV attributes", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "EAV", "attributes", "for", "the", "passed", "option", "value", "and", "store", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L157-L169", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findAllByIsUserDefined", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available EAV attributes for the passed is user defined flag.\n\n@param integer $isUserDefined The flag itself\n\n@return array The array with the EAV attributes matching the passed flag", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "EAV", "attributes", "for", "the", "passed", "is", "user", "defined", "flag", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L178-L198", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findAllByEntityTypeIdAndIsUserDefined", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available EAV attributes for the passed is entity type and\nuser defined flag.\n\n@param integer $entityTypeId The entity type ID of the EAV attributes to return\n@param integer $isUserDefined The flag itself\n\n@return array The array with the EAV attributes matching the passed entity type and user defined flag", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "EAV", "attributes", "for", "the", "passed", "is", "entity", "type", "and", "user", "defined", "flag", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L209-L232", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findAllByEntityTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available EAV attributes for the passed is entity type.\n\n@param integer $entityTypeId The entity type ID of the EAV attributes to return\n\n@return array The array with the EAV attributes matching the passed entity type", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "EAV", "attributes", "for", "the", "passed", "is", "entity", "type", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L241-L258", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/EavAttributeRepository.php", "func_name": "EavAttributeRepository.findOneByOptionValueAndStoreId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the first EAV attribute for the passed option value and store ID.\n\n@param string $optionValue The option value of the EAV attributes\n@param string $storeId The store ID of the EAV attribues\n\n@return array The array with the EAV attribute", "docstring_tokens": ["Return", "s", "the", "first", "EAV", "attribute", "for", "the", "passed", "option", "value", "and", "store", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/EavAttributeRepository.php#L268-L275", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Observers/ObserverVisitor.php", "func_name": "ObserverVisitor.prepareObservers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the observers defined in the system configuration.\n\n@param \\TechDivision\\Import\\Subjects\\SubjectInterface $subject The subject to prepare the observers for\n@param array $observers The array with the observers\n@param string $type The actual observer type\n\n@return void", "docstring_tokens": ["Prepare", "the", "observers", "defined", "in", "the", "system", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Observers/ObserverVisitor.php#L83-L100", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FilesystemTrait.php", "func_name": "FilesystemTrait.resolvePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method tries to resolve the passed path and returns it. If the path\nis relative, the actual working directory will be prepended.\n\n@param string $path The path to be resolved\n\n@return string The resolved path\n@throws \\InvalidArgumentException Is thrown, if the path can not be resolved", "docstring_tokens": ["This", "method", "tries", "to", "resolve", "the", "passed", "path", "and", "returns", "it", ".", "If", "the", "path", "is", "relative", "the", "actual", "working", "directory", "will", "be", "prepended", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FilesystemTrait.php#L75-L95", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FilesystemTrait.php", "func_name": "FilesystemTrait.mkdir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new directroy.\n\n@param string $pathname The directory path\n@param integer $mode The mode is 0777 by default, which means the widest possible access\n@param string $recursive Allows the creation of nested directories specified in the pathname\n\n@return boolean TRUE on success, else FALSE\n@link http://php.net/mkdir", "docstring_tokens": ["Creates", "a", "new", "directroy", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FilesystemTrait.php#L107-L110", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Services/RegistryProcessor.php", "func_name": "RegistryProcessor.setAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the passed attribute under the specified key in the registry.\n\n@param mixed $key The key to register the value with\n@param mixed $value The value to be registered\n\n@return void\n@throws \\Exception Is thrown, if the key has already been used", "docstring_tokens": ["Register", "the", "passed", "attribute", "under", "the", "specified", "key", "in", "the", "registry", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Services/RegistryProcessor.php#L51-L61", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Services/RegistryProcessor.php", "func_name": "RegistryProcessor.raiseCounter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Raises the value for the attribute with the passed key by one.\n\n@param mixed $key The key of the attribute to raise the value for\n@param mixed $counterName The name of the counter to raise\n\n@return integer The counter's new value", "docstring_tokens": ["Raises", "the", "value", "for", "the", "attribute", "with", "the", "passed", "key", "by", "one", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Services/RegistryProcessor.php#L111-L123", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Services/RegistryProcessor.php", "func_name": "RegistryProcessor.mergeAttributesRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method merges the passed attributes with an array that\nhas already been added under the passed key.\n\nIf no value will be found under the passed key, the attributes\nwill simply be registered.\n\n@param mixed $key The key of the attributes that has to be merged with the passed ones\n@param array $attributes The attributes that has to be merged with the exising ones\n\n@return void\n@throws \\Exception Is thrown, if the already registered value is no array\n@link http://php.net/array_replace_recursive", "docstring_tokens": ["This", "method", "merges", "the", "passed", "attributes", "with", "an", "array", "that", "has", "already", "been", "added", "under", "the", "passed", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Services/RegistryProcessor.php#L139-L156", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/LeagueFilesystemAdapterFactory.php", "func_name": "LeagueFilesystemAdapterFactory.createFilesystemAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create new filesystem adapter instance.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subjectConfiguration The subject configuration\n\n@return \\TechDivision\\Import\\Adapter\\FilesystemAdapterInterface The filesystem adapter instance", "docstring_tokens": ["Factory", "method", "to", "create", "new", "filesystem", "adapter", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/LeagueFilesystemAdapterFactory.php#L47-L70", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CategoryRepository.php", "func_name": "CategoryRepository.findAllByStoreView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with all available categories by store view ID.\n\n@param integer $storeViewId The store view ID to return the categories for\n\n@return array The available categories for the passed store view ID", "docstring_tokens": ["Return", "s", "an", "array", "with", "all", "available", "categories", "by", "store", "view", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CategoryRepository.php#L88-L93", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CategoryRepository.php", "func_name": "CategoryRepository.findAllRootCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the root categories with the store code as key.\n\n@return array The root categories", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "root", "categories", "with", "the", "store", "code", "as", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CategoryRepository.php#L100-L119", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Events/EmitterFactory.php", "func_name": "EmitterFactory.createEmitter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The factory method that creates a new emitter instance.\n\n@return void", "docstring_tokens": ["The", "factory", "method", "that", "creates", "a", "new", "emitter", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Events/EmitterFactory.php#L71-L103", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Events/EmitterFactory.php", "func_name": "EmitterFactory.prepareListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the listeners defined in the system configuration.\n\n@param \\League\\Event\\EmitterInterface $emitter The event emitter to prepare the listeners for\n@param array $listeners The array with the listeners\n@param string $eventName The actual event name\n\n@return void", "docstring_tokens": ["Prepare", "the", "listeners", "defined", "in", "the", "system", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Events/EmitterFactory.php#L114-L130", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Plugins/AbstractPlugin.php", "func_name": "AbstractPlugin.removeDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the passed directory recursively.\n\n@param string $src Name of the directory to remove\n\n@return void\n@throws \\Exception Is thrown, if the directory can not be removed", "docstring_tokens": ["Removes", "the", "passed", "directory", "recursively", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Plugins/AbstractPlugin.php#L234-L259", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Plugins/AbstractPlugin.php", "func_name": "AbstractPlugin.getSwiftMailer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the configured swift mailer instance.\n\n@return \\Swift_Mailer|null The mailer instance", "docstring_tokens": ["Return", "s", "the", "configured", "swift", "mailer", "instance", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Plugins/AbstractPlugin.php#L266-L276", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/AbstractFileResolver.php", "func_name": "AbstractFileResolver.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the file resolver for the import process with the passed serial.\n\n@param string $serial The unique identifier of the actual import process\n\n@return void\n@throws \\Exception Is thrown if the configured source directory is not available", "docstring_tokens": ["Initializes", "the", "file", "resolver", "for", "the", "import", "process", "with", "the", "passed", "serial", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/AbstractFileResolver.php#L187-L200", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/AbstractFileResolver.php", "func_name": "AbstractFileResolver.loadFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the files from the source directory and return's them sorted.\n\n@param string $serial The unique identifier of the actual import process\n\n@return array The array with the files matching the subjects suffix\n@throws \\Exception Is thrown, when the source directory is NOT available", "docstring_tokens": ["Loads", "the", "files", "from", "the", "source", "directory", "and", "return", "s", "them", "sorted", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/AbstractFileResolver.php#L232-L251", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Actions/Processors/UrlRewriteDeleteProcessor.php", "func_name": "UrlRewriteDeleteProcessor.getStatements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's the array with the SQL statements that has to be prepared.\n\n@return array The SQL statements to be prepared\n@see \\TechDivision\\Import\\Actions\\Processors\\AbstractBaseProcessor::getStatements()", "docstring_tokens": ["Return", "s", "the", "array", "with", "the", "SQL", "statements", "that", "has", "to", "be", "prepared", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Actions/Processors/UrlRewriteDeleteProcessor.php#L43-L51", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Adapter/CsvImportAdapterFactory.php", "func_name": "CsvImportAdapterFactory.createImportAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the import adapter for the subject with the passed configuration.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subjectConfiguration The subject configuration\n\n@return \\TechDivision\\Import\\Adapter\\ExportAdapterInterface The import adapter instance", "docstring_tokens": ["Creates", "and", "returns", "the", "import", "adapter", "for", "the", "subject", "with", "the", "passed", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Adapter/CsvImportAdapterFactory.php#L63-L78", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Callbacks/CallbackVisitor.php", "func_name": "CallbackVisitor.prepareCallbacks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the callbacks defined in the system configuration.\n\n@param \\TechDivision\\Import\\Subjects\\SubjectInterface $subject The subject to prepare the callbacks for\n@param array $callbacks The array with the callbacks\n@param string $type The actual callback type\n\n@return void", "docstring_tokens": ["Prepare", "the", "callbacks", "defined", "in", "the", "system", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Callbacks/CallbackVisitor.php#L83-L100", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Services/ImportProcessor.php", "func_name": "ImportProcessor.getGlobalData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array with the global data necessary for the\nimport process.\n\n@return array The array with the global data", "docstring_tokens": ["Returns", "the", "array", "with", "the", "global", "data", "necessary", "for", "the", "import", "process", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Services/ImportProcessor.php#L1004-L1076", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/AbstractSqlStatementRepository.php", "func_name": "AbstractSqlStatementRepository.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the SQL statement with the passed ID.\n\n@param string $id The ID of the SQL statement to return\n\n@return string The SQL statement\n@throws \\Exception Is thrown, if the SQL statement with the passed key cannot be found", "docstring_tokens": ["Returns", "the", "SQL", "statement", "with", "the", "passed", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/AbstractSqlStatementRepository.php#L50-L60", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/I18n/DateConverterFactory.php", "func_name": "DateConverterFactory.createDateConverter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the date converter instance for the subject with the passed configuration.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subject The subject to create the date converter for\n\n@return \\TechDivision\\Import\\Subjects\\I18n\\DateConverterInterface The date converter instance", "docstring_tokens": ["Creates", "and", "returns", "the", "date", "converter", "instance", "for", "the", "subject", "with", "the", "passed", "configuration", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/I18n/DateConverterFactory.php#L62-L71", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/ExportableTrait.php", "func_name": "ExportableTrait.overrideArtefacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the passed product type artefacts to the product with the\nlast entity ID and overrides existing ones with the same key.\n\n@param string $type The artefact type, e. g. configurable\n@param array $artefacts The product type artefacts\n\n@return void", "docstring_tokens": ["Add", "the", "passed", "product", "type", "artefacts", "to", "the", "product", "with", "the", "last", "entity", "ID", "and", "overrides", "existing", "ones", "with", "the", "same", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/ExportableTrait.php#L112-L117", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/ExportableTrait.php", "func_name": "ExportableTrait.appendArtefacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append's the passed product type artefacts to the product with the\nlast entity ID.\n\n@param string $type The artefact type, e. g. configurable\n@param array $artefacts The product type artefacts\n\n@return void", "docstring_tokens": ["Append", "s", "the", "passed", "product", "type", "artefacts", "to", "the", "product", "with", "the", "last", "entity", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/ExportableTrait.php#L128-L133", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/ExportableTrait.php", "func_name": "ExportableTrait.getArtefactsByTypeAndEntityId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the artefacts for the passed type and entity ID.\n\n@param string $type The artefact type, e. g. configurable\n@param string $entityId The entity ID to return the artefacts for\n\n@return array The array with the artefacts\n@throws \\Exception Is thrown, if no artefacts are available", "docstring_tokens": ["Return", "the", "artefacts", "for", "the", "passed", "type", "and", "entity", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/ExportableTrait.php#L144-L171", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/ExportableTrait.php", "func_name": "ExportableTrait.newArtefact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create's and return's a new empty artefact entity.\n\n@param array $columns The array with the column data\n@param array $originalColumnNames The array with a mapping from the old to the new column names\n\n@return array The new artefact entity", "docstring_tokens": ["Create", "s", "and", "return", "s", "a", "new", "empty", "artefact", "entity", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/ExportableTrait.php#L194-L214", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/ExportableTrait.php", "func_name": "ExportableTrait.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export's the artefacts to CSV files.\n\n@param integer $timestamp The timestamp part of the original import file\n@param string $counter The counter part of the origin import file\n\n@return void", "docstring_tokens": ["Export", "s", "the", "artefacts", "to", "CSV", "files", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/ExportableTrait.php#L224-L227", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/LinkTypeRepository.php", "func_name": "LinkTypeRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with all available link types with the link type code as key.\n\n@return array The available link types", "docstring_tokens": ["Return", "s", "an", "array", "with", "all", "available", "link", "types", "with", "the", "link", "type", "code", "as", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/LinkTypeRepository.php#L70-L95", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/ImageTypeRepository.php", "func_name": "ImageTypeRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with all available image types for the passed entity type code\nand frontend input type with the link type code as key.\n\n@return array The available image types", "docstring_tokens": ["Return", "s", "an", "array", "with", "all", "available", "image", "types", "for", "the", "passed", "entity", "type", "code", "and", "frontend", "input", "type", "with", "the", "link", "type", "code", "as", "key", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/ImageTypeRepository.php#L74-L100", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/I18n/SimpleDateConverter.php", "func_name": "SimpleDateConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the passed date into a Magento 2 compatible date format.\n\n@param string $date The date to convert\n\n@return string The converted date", "docstring_tokens": ["Converts", "the", "passed", "date", "into", "a", "Magento", "2", "compatible", "date", "format", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/I18n/SimpleDateConverter.php#L83-L93", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/I18n/SimpleNumberConverter.php", "func_name": "SimpleNumberConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the passed number into a float value.\n\n@param string $number The number to parse\n\n@return float The float value of the number", "docstring_tokens": ["Converts", "the", "passed", "number", "into", "a", "float", "value", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/I18n/SimpleNumberConverter.php#L108-L116", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Plugins/SubjectExecutor.php", "func_name": "SubjectExecutor.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the passed subject.\n\n@param \\TechDivision\\Import\\Configuration\\SubjectConfigurationInterface $subject The message with the subject information\n@param array $matches The bunch matches\n@param string $serial The UUID of the actual import\n@param string $pathname The path to the file to import\n\n@return void", "docstring_tokens": ["Executes", "the", "passed", "subject", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Plugins/SubjectExecutor.php#L92-L129", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.getPatternKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the elements the filenames consists of, converted to lowercase.\n\n@return array The array with the filename elements", "docstring_tokens": ["Returns", "the", "elements", "the", "filenames", "consists", "of", "converted", "to", "lowercase", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L105-L118", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.resolvePatternValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the values to create the regex pattern from.\n\n@return array The array with the pattern values", "docstring_tokens": ["Returns", "the", "values", "to", "create", "the", "regex", "pattern", "from", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L139-L155", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.resolvePatternValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves the pattern value for the given element name.\n\n@param string $element The element name to resolve the pattern value for\n\n@return string|null The resolved pattern value", "docstring_tokens": ["Resolves", "the", "pattern", "value", "for", "the", "given", "element", "name", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L164-L183", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.preparePattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares and returns the pattern for the regex to load the files from the\nsource directory for the passed subject.\n\n@return string The prepared regex pattern", "docstring_tokens": ["Prepares", "and", "returns", "the", "pattern", "for", "the", "regex", "to", "load", "the", "files", "from", "the", "source", "directory", "for", "the", "passed", "subject", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L191-L194", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.prepareOkFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares and returns an OK filename from the passed parts.\n\n@param array $parts The parts to concatenate the OK filename from\n\n@return string The OK filename", "docstring_tokens": ["Prepares", "and", "returns", "an", "OK", "filename", "from", "the", "passed", "parts", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L203-L206", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.isEqualFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query whether or not the basename, without suffix, of the passed filenames are equal.\n\n@param string $filename1 The first filename to compare\n@param string $filename2 The second filename to compare\n\n@return boolean TRUE if the passed files basename are equal, else FALSE", "docstring_tokens": ["Query", "whether", "or", "not", "the", "basename", "without", "suffix", "of", "the", "passed", "filenames", "are", "equal", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L216-L219", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.getOkFilenames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the names of the expected OK files for the actual subject.\n\n@return array The array with the expected OK filenames", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "names", "of", "the", "expected", "OK", "files", "for", "the", "actual", "subject", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L239-L263", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.shouldBeHandled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queries whether or not, the passed filename should be handled by the subject.\n\n@param string $filename The filename to query for\n\n@return boolean TRUE if the file should be handled, else FALSE", "docstring_tokens": ["Queries", "whether", "or", "not", "the", "passed", "filename", "should", "be", "handled", "by", "the", "subject", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L292-L307", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Subjects/FileResolver/SimpleFileResolver.php", "func_name": "SimpleFileResolver.cleanUpOkFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query whether or not, the passed CSV filename is in the OK file. If the filename was found,\nthe OK file will be cleaned-up.\n\n@param string $filename The filename to be cleaned-up\n\n@return void\n@throws \\Exception Is thrown, if the passed filename is NOT in the OK file or the OK can not be cleaned-up", "docstring_tokens": ["Query", "whether", "or", "not", "the", "passed", "CSV", "filename", "is", "in", "the", "OK", "file", ".", "If", "the", "filename", "was", "found", "the", "OK", "file", "will", "be", "cleaned", "-", "up", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Subjects/FileResolver/SimpleFileResolver.php#L318-L374", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/TaxClassRepository.php", "func_name": "TaxClassRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available tax classes and their\nclass names as keys.\n\n@return array The array with all available tax classes", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "tax", "classes", "and", "their", "class", "names", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/TaxClassRepository.php#L57-L76", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CacheWarmer/EavAttributeOptionValueCacheWarmer.php", "func_name": "EavAttributeOptionValueCacheWarmer.warm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Warms the cache for the passed repository.\n\n@return void", "docstring_tokens": ["Warms", "the", "cache", "for", "the", "passed", "repository", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CacheWarmer/EavAttributeOptionValueCacheWarmer.php#L61-L98", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/StoreWebsiteRepository.php", "func_name": "StoreWebsiteRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available store websites and their\ncode as keys.\n\n@return array The array with all available store websites", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "store", "websites", "and", "their", "code", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/StoreWebsiteRepository.php#L64-L83", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/StoreRepository.php", "func_name": "StoreRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return's an array with the available stores and their\nstore codes as keys.\n\n@return array The array with all available stores", "docstring_tokens": ["Return", "s", "an", "array", "with", "the", "available", "stores", "and", "their", "store", "codes", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/StoreRepository.php#L73-L92", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CategoryVarcharRepository.php", "func_name": "CategoryVarcharRepository.findAllByEntityIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the category varchar values for the categories with\nthe passed with the passed entity IDs.\n\n@param array $entityIds The array with the category IDs\n\n@return mixed The category varchar values", "docstring_tokens": ["Returns", "the", "category", "varchar", "values", "for", "the", "categories", "with", "the", "passed", "with", "the", "passed", "entity", "IDs", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CategoryVarcharRepository.php#L54-L65", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CategoryVarcharRepository.php", "func_name": "CategoryVarcharRepository.findByEntityId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the category varchar values for the categories with\nthe passed with the passed entity ID.\n\n@param int $entityId The category ID\n\n@return array The category varchar values", "docstring_tokens": ["Returns", "the", "category", "varchar", "values", "for", "the", "categories", "with", "the", "passed", "with", "the", "passed", "entity", "ID", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CategoryVarcharRepository.php#L75-L85", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Repositories/CustomerGroupRepository.php", "func_name": "CustomerGroupRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the available customer groups and their code as keys.\n\n@return array The array with the customer groups", "docstring_tokens": ["Returns", "an", "array", "with", "the", "available", "customer", "groups", "and", "their", "code", "as", "keys", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Repositories/CustomerGroupRepository.php#L66-L85", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Utils/PrimaryKeyUtil.php", "func_name": "PrimaryKeyUtil.getPrimaryKeyMemberName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the primary key member name for the actual Magento edition.\n\n@return string The primary key member name\n@throws \\Exception Is thrown if the edition is not supported/available", "docstring_tokens": ["Returns", "the", "primary", "key", "member", "name", "for", "the", "actual", "Magento", "edition", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Utils/PrimaryKeyUtil.php#L70-L83", "partition": "test"} +{"repo": "techdivision/import", "path": "src/Observers/AttributeObserverTrait.php", "func_name": "AttributeObserverTrait.clearRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all the empty values from the row and return the cleared row.\n\n@return array The cleared row", "docstring_tokens": ["Remove", "all", "the", "empty", "values", "from", "the", "row", "and", "return", "the", "cleared", "row", "."], "sha": "66d3eb967cbbd2d248942044fa8ede1192e48fd4", "url": "https://github.com/techdivision/import/blob/66d3eb967cbbd2d248942044fa8ede1192e48fd4/src/Observers/AttributeObserverTrait.php#L109-L139", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/RenderBlade.php", "func_name": "RenderBlade.blade", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return markup from a Blade template\n@param string $view View name\n@param array $data View data\n@param string $viewPath Path to the blade views\n@return string The markup", "docstring_tokens": ["Return", "markup", "from", "a", "Blade", "template"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/RenderBlade.php#L16-L24", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Api/Events.php", "func_name": "Events.registerRestRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers all rest routes for events\n@return void", "docstring_tokens": ["Registers", "all", "rest", "routes", "for", "events"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Api/Events.php#L22-L34", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Api/Events.php", "func_name": "Events.getCollectionParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the query params for collections\n@return array", "docstring_tokens": ["Get", "the", "query", "params", "for", "collections"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Api/Events.php#L52-L132", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Api/Events.php", "func_name": "Events.sanitizeEndDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize end date. Add 1 day to include events occurring on end date\n@param $data\n@return int", "docstring_tokens": ["Sanitize", "end", "date", ".", "Add", "1", "day", "to", "include", "events", "occurring", "on", "end", "date"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Api/Events.php#L155-L166", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Api/Events.php", "func_name": "Events.getEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all events between two dates\n@param object $request Object containing request details\n@return array|\\WP_REST_Response", "docstring_tokens": ["Get", "all", "events", "between", "two", "dates"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Api/Events.php#L183-L234", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Api/Events.php", "func_name": "Events.mapEventModuleData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize and adds data to event list\n@param int $moduleId The module ID\n@param array $events List of events\n@return array", "docstring_tokens": ["Sanitize", "and", "adds", "data", "to", "event", "list"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Api/Events.php#L242-L313", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/Translations.php", "func_name": "Translations.defineCategoryTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set category languages and define translations", "docstring_tokens": ["Set", "category", "languages", "and", "define", "translations"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/Translations.php#L10-L89", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.beforeSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stuff to do before save\n@return void", "docstring_tokens": ["Stuff", "to", "do", "before", "save"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L13-L17", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.afterSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do after save\n@return bool Used if post got removed or not", "docstring_tokens": ["Do", "after", "save"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L23-L40", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves location as meta data\n@return void", "docstring_tokens": ["Saves", "location", "as", "meta", "data"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L46-L59", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveAddLocations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves additional locations as meta data\n@return void", "docstring_tokens": ["Saves", "additional", "locations", "as", "meta", "data"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L65-L75", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves categories as taxonomy terms\n@return void", "docstring_tokens": ["Saves", "categories", "as", "taxonomy", "terms"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L81-L94", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves groups as taxonomy terms\n@return void", "docstring_tokens": ["Saves", "groups", "as", "taxonomy", "terms"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L100-L110", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves tags as taxonomy terms\n@return void", "docstring_tokens": ["Saves", "tags", "as", "taxonomy", "terms"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L116-L129", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveOccasions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save event occasions to integrate_occasions table\n@return boolean true if one or more occasions was saved, false if not.", "docstring_tokens": ["Save", "event", "occasions", "to", "integrate_occasions", "table"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L135-L176", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.saveLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply language and translations to the event.\nCompatible with the plugin 'Polylang'", "docstring_tokens": ["Apply", "language", "and", "translations", "to", "the", "event", ".", "Compatible", "with", "the", "plugin", "Polylang"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L182-L219", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Event.php", "func_name": "Event.getEventByOriginalId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find an event by it's original id\n@param int $id Event ID\n@return Int|bool", "docstring_tokens": ["Find", "an", "event", "by", "it", "s", "original", "id"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Event.php#L226-L246", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.checkFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the event passes one of the taxonomy filters\n@param bool $cat_filter Bool, equals true if event passed category filter\n@param bool $tag_filter Bool, equals true if event passed tag filter\n@return bool", "docstring_tokens": ["Check", "if", "the", "event", "passes", "one", "of", "the", "taxonomy", "filters"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L271-L290", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.removeExpiredOccasions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove expired occasions from databse\n@return void", "docstring_tokens": ["Remove", "expired", "occasions", "from", "databse"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L296-L317", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.removeDeletedEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove events that has been deleted from API\n@param $ids", "docstring_tokens": ["Remove", "events", "that", "has", "been", "deleted", "from", "API"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L323-L352", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.removeExpiredEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove expired events from databse\n@return void", "docstring_tokens": ["Remove", "expired", "events", "from", "databse"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L358-L384", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.filterTaxonomies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter by taxonomies, if add or not to add\n@param array $taxonomies All taxonomies\n@param int $type Type of taxonomy, 0 = category, 1 = tag\n@return bool", "docstring_tokens": ["Filter", "by", "taxonomies", "if", "add", "or", "not", "to", "add"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L392-L410", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerApi.php", "func_name": "EventManagerApi.deleteEmptyTaxonomies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete empty event taxonomies\n@return void", "docstring_tokens": ["Delete", "empty", "event", "taxonomies"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerApi.php#L416-L440", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Location/Location.php", "func_name": "Location.renderLocationList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display a list with location from API\n@param Obj $post Current post object\n@return string Markup", "docstring_tokens": ["Display", "a", "list", "with", "location", "from", "API"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Location/Location.php#L57-L83", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Location/Location.php", "func_name": "Location.saveLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save location module metadata on save\n@param int $post_id The post ID\n@param post $post The post object\n@param bool $update Whether this is an existing post being updated or not", "docstring_tokens": ["Save", "location", "module", "metadata", "on", "save"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Location/Location.php#L91-L106", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/CacheBust.php", "func_name": "CacheBust.getRevManifest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode assets json to array\n@return array containg assets filenames", "docstring_tokens": ["Decode", "assets", "json", "to", "array"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/CacheBust.php#L32-L41", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Admin/AdminDisplayEvent.php", "func_name": "AdminDisplayEvent.removeMetaBoxes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove meta boxes from edit Event view", "docstring_tokens": ["Remove", "meta", "boxes", "from", "edit", "Event", "view"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Admin/AdminDisplayEvent.php#L23-L32", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Admin/AdminDisplayEvent.php", "func_name": "AdminDisplayEvent.outputMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserialize and implode arrays\n@param mixed $data data to be formatted\n@return string", "docstring_tokens": ["Unserialize", "and", "implode", "arrays"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Admin/AdminDisplayEvent.php#L232-L239", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Admin/AdminDisplayEvent.php", "func_name": "AdminDisplayEvent.multiImplode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Implode arrays into strings\n@param array $array array to be imploded\n@param string $glue used to separate array objects\n@return string", "docstring_tokens": ["Implode", "arrays", "into", "strings"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Admin/AdminDisplayEvent.php#L247-L263", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/CustomPostType.php", "func_name": "CustomPostType.registerPostType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the post type with WP\n@return string Post type slug", "docstring_tokens": ["Registers", "the", "post", "type", "with", "WP"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/CustomPostType.php#L41-L63", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/CustomPostType.php", "func_name": "CustomPostType.addTableColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a column to the admin list table\n@param string $key Column key\n@param string $title Column title\n@param boolean $sortable Sortable or not\n@param callback $contentCallback Callback function for displaying\ncolumn content (params: $columnKey, $postId)", "docstring_tokens": ["Adds", "a", "column", "to", "the", "admin", "list", "table"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/CustomPostType.php#L73-L84", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/CustomPostType.php", "func_name": "CustomPostType.tableColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up table columns\n@param array $columns Default columns\n@return array New columns", "docstring_tokens": ["Set", "up", "table", "columns"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/CustomPostType.php#L91-L98", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/CustomPostType.php", "func_name": "CustomPostType.tableSortableColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup sortable columns\n@param array $columns Default columns\n@return array New columns", "docstring_tokens": ["Setup", "sortable", "columns"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/CustomPostType.php#L105-L117", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/CustomPostType.php", "func_name": "CustomPostType.tableColumnsContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set table column content with callback functions\n@param string $column Key of the column\n@param integer $postId Post id of the current row in table\n@return void", "docstring_tokens": ["Set", "table", "column", "content", "with", "callback", "functions"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/CustomPostType.php#L125-L132", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerGroups.php", "func_name": "EventManagerGroups.saveTerms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save or update taxonomy term\n@param string $name name\n@param string $slug slug\n@param string $taxonomy taxonomy\n@param integer $parent parent id\n@return int", "docstring_tokens": ["Save", "or", "update", "taxonomy", "term"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerGroups.php#L77-L91", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser/EventManagerGroups.php", "func_name": "EventManagerGroups.activateNewGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically add new terms to Group filter option if the parent is selected\n@param int $termId Term ID\n@param int $parentId Terms parent ID\n@return void", "docstring_tokens": ["Automatically", "add", "new", "terms", "to", "Group", "filter", "option", "if", "the", "parent", "is", "selected"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser/EventManagerGroups.php#L99-L109", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/PostManager.php", "func_name": "PostManager.removeEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all values that are empty, except the value 0\n@param $metaValue\n@return $metaValue", "docstring_tokens": ["Remove", "all", "values", "that", "are", "empty", "except", "the", "value", "0"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/PostManager.php#L109-L116", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/PostManager.php", "func_name": "PostManager.getEmptyValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all values that are empty\n@param $metaValue\n@return $metaValue", "docstring_tokens": ["Get", "all", "values", "that", "are", "empty"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/PostManager.php#L123-L130", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/PostManager.php", "func_name": "PostManager.removeEmptyMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete meta data from db if it's deleted from API\n@param array $meta empty meta data fields\n@param int $post_id post object id\n@return void", "docstring_tokens": ["Delete", "meta", "data", "from", "db", "if", "it", "s", "deleted", "from", "API"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/PostManager.php#L138-L146", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/PostManager.php", "func_name": "PostManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the event and it's data\n@return integer The inserted/updated post id", "docstring_tokens": ["Saves", "the", "event", "and", "it", "s", "data"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/PostManager.php#L152-L223", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Entity/PostManager.php", "func_name": "PostManager.attachmentExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a attachment src already exists in media library\n@param string $src Media url\n@return mixed", "docstring_tokens": ["Checks", "if", "a", "attachment", "src", "already", "exists", "in", "media", "library"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Entity/PostManager.php#L338-L349", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Shortcodes/SubmitForm.php", "func_name": "SubmitForm.submitFormCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return form markup\n@param array $atts Attributes\n@param string $content Content\n@param string $tag Shortcode name\n@return string Form markup", "docstring_tokens": ["Return", "form", "markup"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Shortcodes/SubmitForm.php#L31-L48", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/EventArchive.php", "func_name": "EventArchive.addEventDateArgsToPermalinks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add date arguments to event permalink URL", "docstring_tokens": ["Add", "date", "arguments", "to", "event", "permalink", "URL"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/EventArchive.php#L45-L52", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/EventArchive.php", "func_name": "EventArchive.eventFilterWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add where statements\n@param string $where current where statement\n@return string updated statement", "docstring_tokens": ["Add", "where", "statements"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/EventArchive.php#L100-L132", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/SingleEventData.php", "func_name": "SingleEventData.singleEventDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get single event date\n@return array", "docstring_tokens": ["Get", "single", "event", "date"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/SingleEventData.php#L11-L41", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/SingleEventData.php", "func_name": "SingleEventData.getNextOccasionDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get next event occasion date in time\n@param array $occasions All occasions of an event\n@param string $dateFormat event start date\n@return string/boolean", "docstring_tokens": ["Get", "next", "event", "occasion", "date", "in", "time"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/SingleEventData.php#L49-L66", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/SingleEventData.php", "func_name": "SingleEventData.getClosest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the closest value from array of values\n@param string $search Value to compare\n@param array $arr event start date\n@return string/boolean", "docstring_tokens": ["Get", "the", "closest", "value", "from", "array", "of", "values"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/SingleEventData.php#L74-L83", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/SingleEventData.php", "func_name": "SingleEventData.dateParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get date parts as array\n@param string $start_date event start date\n@return array date values", "docstring_tokens": ["Get", "date", "parts", "as", "array"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/SingleEventData.php#L90-L102", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Admin/Options.php", "func_name": "Options.saveDrawPoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save area coordinates as option", "docstring_tokens": ["Save", "area", "coordinates", "as", "option"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Admin/Options.php#L53-L66", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.enqueueAdmin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enqueue required styles and scripts for admin ui\n@return void", "docstring_tokens": ["Enqueue", "required", "styles", "and", "scripts", "for", "admin", "ui"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L81-L105", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.enqueueFront", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enqueue required styles and scripts on front views\n@return void", "docstring_tokens": ["Enqueue", "required", "styles", "and", "scripts", "on", "front", "views"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L111-L139", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.formatShortDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format short start date\n@param string $start_date occasion start date\n@return array date values", "docstring_tokens": ["Format", "short", "start", "date"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L164-L176", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.importEventsCron", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start cron jobs\n@return void", "docstring_tokens": ["Start", "cron", "jobs"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L194-L199", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.importPublishingGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import publishing groups from Event Manager API\n@return void", "docstring_tokens": ["Import", "publishing", "groups", "from", "Event", "Manager", "API"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L215-L222", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.checkDatabaseTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create database table if not exist\n@return void", "docstring_tokens": ["Create", "database", "table", "if", "not", "exist"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L228-L237", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/App.php", "func_name": "App.databaseCreation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates event occasion database table on plugin activation", "docstring_tokens": ["Creates", "event", "occasion", "database", "table", "on", "plugin", "activation"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/App.php#L242-L263", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser.php", "func_name": "Parser.checkIfEventExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if event already exist and return it's id\n@param [type] $event_manager_id [description]\n@return [type] [description]", "docstring_tokens": ["Check", "if", "event", "already", "exist", "and", "return", "it", "s", "id"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser.php#L29-L41", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Parser.php", "func_name": "Parser.requestApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request to Api\n@param string $url Request Url\n@return array|bool|\\WP_Error", "docstring_tokens": ["Request", "to", "Api"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Parser.php#L53-L83", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/QueryEvents.php", "func_name": "QueryEvents.getEventOccasions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get event occasions\n@param int $post_id post id\n@param bool $custom True to get occasions with custom content\n@return array object with occasions", "docstring_tokens": ["Get", "event", "occasions"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/QueryEvents.php#L137-L154", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/QueryEvents.php", "func_name": "QueryEvents.getEventMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get event meta data\n@param int $post_id post id\n@return array array with occasions", "docstring_tokens": ["Get", "event", "meta", "data"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/QueryEvents.php#L161-L175", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/QueryEvents.php", "func_name": "QueryEvents.stringLimiter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limits event description\n@param string $string content string to limit\n@param int $limit maximum number of letters\n@return string", "docstring_tokens": ["Limits", "event", "description"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/QueryEvents.php#L183-L192", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Helper/QueryEvents.php", "func_name": "QueryEvents.getNearbyLocations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get event that occurs nearby a locations and within given distance\n@param string $lat latitude\n@param string $lng longitude\n@param int/float $distance radius distance in km\n@return array with locations", "docstring_tokens": ["Get", "event", "that", "occurs", "nearby", "a", "locations", "and", "within", "given", "distance"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Helper/QueryEvents.php#L201-L240", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Widget/DisplayEvents.php", "func_name": "DisplayEvents.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles updating the settings for the current Display Events widget instance.\n\n@param array $new_instance Values just sent to be saved.\n@param array $old_instance Previously saved values from database.\n\n@return array Updated safe values to be saved.", "docstring_tokens": ["Handles", "updating", "the", "settings", "for", "the", "current", "Display", "Events", "widget", "instance", "."], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Widget/DisplayEvents.php#L98-L110", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.ajaxPagination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get events on pagination click", "docstring_tokens": ["Get", "events", "on", "pagination", "click"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L101-L110", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get included Events\n@param int $module_id Module ID\n@param int $page Pagination page number\n@param bool $useLimit True = limit by setting, false = get all\n@return array Array with event objects", "docstring_tokens": ["Get", "included", "Events"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L140-L171", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getModuleCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return categories filter\n@param int $moduleId The module ID\n@return array|null", "docstring_tokens": ["Return", "categories", "filter"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L178-L189", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getFilterableCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return categories available for filtering\n@param int $moduleId The module ID\n@return array|null", "docstring_tokens": ["Return", "categories", "available", "for", "filtering"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L196-L231", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getModuleGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return groups filter\n@param int $moduleId The module ID\n@return array|null", "docstring_tokens": ["Return", "groups", "filter"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L238-L249", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getModuleTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return tags filter\n@param int $moduleId The module ID\n@return array|null", "docstring_tokens": ["Return", "tags", "filter"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L256-L267", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/Module/Event/Event.php", "func_name": "Event.getAgeFilterRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return list with filterable ages\n@param int $moduleId The module ID\n@return array", "docstring_tokens": ["Return", "list", "with", "filterable", "ages"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/Module/Event/Event.php#L274-L290", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/OAuth/OAuthAdmin.php", "func_name": "OAuthAdmin.oauthRequestCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback for the submenu page. Forms to complete authorization.", "docstring_tokens": ["Callback", "for", "the", "submenu", "page", ".", "Forms", "to", "complete", "authorization", "."], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/OAuth/OAuthAdmin.php#L33-L115", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/OAuth/OAuthRequests.php", "func_name": "OAuthRequests.sanitizeInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize array with input data\n@param array &$array Defualt array\n@return array Sanitized array", "docstring_tokens": ["Sanitize", "array", "with", "input", "data"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/OAuth/OAuthRequests.php#L336-L350", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.singleViewData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add event data to single view\n@param array $data Default view data\n@return array Modified view data", "docstring_tokens": ["Add", "event", "data", "to", "single", "view"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L101-L151", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.getUserGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import user groups when saving settings\n@param string $value the value of the field\n@param int $post_id the post id to save against\n@param array $field the field object\n@return string the new value", "docstring_tokens": ["Import", "user", "groups", "when", "saving", "settings"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L170-L177", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.updateGroupValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add term children to user group value\n@param string $value the value of the field\n@param int $post_id the post id to save against\n@param array $field the field object\n@return string the new value", "docstring_tokens": ["Add", "term", "children", "to", "user", "group", "value"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L186-L210", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.eventContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace content if occasion has custom content.\n@param string $content Content of the current post.\n@return string", "docstring_tokens": ["Replace", "content", "if", "occasion", "has", "custom", "content", "."], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L228-L240", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.eventContentLead", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove lead content if the occasion has custom content\n@param string $lead Lead content of the current post.\n@return string", "docstring_tokens": ["Remove", "lead", "content", "if", "the", "occasion", "has", "custom", "content"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L247-L259", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.getCustomContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get custom occasion content\n@return string", "docstring_tokens": ["Get", "custom", "occasion", "content"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L265-L280", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.registerEventCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register event categories as taxonomy", "docstring_tokens": ["Register", "event", "categories", "as", "taxonomy"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L285-L317", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.registerEventTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register event tags as taxonomy", "docstring_tokens": ["Register", "event", "tags", "as", "taxonomy"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L322-L354", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.registerEventGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register event groups as taxonomy", "docstring_tokens": ["Register", "event", "groups", "as", "taxonomy"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L359-L391", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.addImportButtons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add buttons to start parsing xcap and Cbis\n@return void", "docstring_tokens": ["Add", "buttons", "to", "start", "parsing", "xcap", "and", "Cbis"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L411-L424", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.importEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start parsing event importer", "docstring_tokens": ["Start", "parsing", "event", "importer"], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L429-L438", "partition": "test"} +{"repo": "helsingborg-stad/api-event-manager-integration", "path": "source/php/PostTypes/Events.php", "func_name": "Events.acceptOrDeny", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accept or deny an event. Changes post status to draft if denied.\n@return int $value", "docstring_tokens": ["Accept", "or", "deny", "an", "event", ".", "Changes", "post", "status", "to", "draft", "if", "denied", "."], "sha": "d29a177f3973eaebd506e4356d45462e6f2a712b", "url": "https://github.com/helsingborg-stad/api-event-manager-integration/blob/d29a177f3973eaebd506e4356d45462e6f2a712b/source/php/PostTypes/Events.php#L444-L470", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Jobs/CreateTunnel.php", "func_name": "CreateTunnel.createTunnel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the SSH Tunnel for us.", "docstring_tokens": ["Creates", "the", "SSH", "Tunnel", "for", "us", "."], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Jobs/CreateTunnel.php#L80-L89", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Jobs/CreateTunnel.php", "func_name": "CreateTunnel.verifyTunnel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies whether the tunnel is active or not.\n@return bool", "docstring_tokens": ["Verifies", "whether", "the", "tunnel", "is", "active", "or", "not", "."], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Jobs/CreateTunnel.php#L95-L102", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Jobs/CreateTunnel.php", "func_name": "CreateTunnel.runCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a command and converts the exit code to a boolean\n@param $command\n@return bool", "docstring_tokens": ["Runs", "a", "command", "and", "converts", "the", "exit", "code", "to", "a", "boolean"], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Jobs/CreateTunnel.php#L109-L114", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Daemon/Listener.php", "func_name": "Listener.setSignalHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the signal to be handled by either the closure or the built in\nsignal handler.\n\n@param int $signal\n@param callable|null $closure\n\n@return bool", "docstring_tokens": ["Sets", "the", "signal", "to", "be", "handled", "by", "either", "the", "closure", "or", "the", "built", "in", "signal", "handler", "."], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Daemon/Listener.php#L49-L54", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Daemon/Listener.php", "func_name": "Listener.sigHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Built in Signal Handler.\n@param int $signo", "docstring_tokens": ["Built", "in", "Signal", "Handler", "."], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Daemon/Listener.php#L60-L63", "partition": "test"} +{"repo": "stechstudio/laravel-ssh-tunnel", "path": "src/Daemon/Listener.php", "func_name": "Listener.runProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the given process.\n\n@param Process $process\n@param int $memory\n@return void", "docstring_tokens": ["Run", "the", "given", "process", "."], "sha": "c041dddcc8ad5eb92a40610d6e16812fe5141c29", "url": "https://github.com/stechstudio/laravel-ssh-tunnel/blob/c041dddcc8ad5eb92a40610d6e16812fe5141c29/src/Daemon/Listener.php#L79-L101", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/FrontendEditor.php", "func_name": "FrontendEditor.editFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a frontend editor for the given table.\n\n@param string $containerName The name of the data container to edit.\n\n@param string $defaultAction The default action to issue, if none provided by the input provider.\n\n@return string", "docstring_tokens": ["Create", "a", "frontend", "editor", "for", "the", "given", "table", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/FrontendEditor.php#L79-L93", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/FrontendEditor.php", "func_name": "FrontendEditor.createDcGeneral", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the dc-general and return it's environment instance.\n\n@param string $containerName The name of the data container to edit.\n\n@return EnvironmentInterface", "docstring_tokens": ["Create", "the", "dc", "-", "general", "and", "return", "it", "s", "environment", "instance", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/FrontendEditor.php#L102-L115", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/WidgetManager.php", "func_name": "WidgetManager.getWidget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the instance of a widget for the given property.\n\n@param string $property Name of the property for which the widget shall be retrieved.\n\n@param PropertyValueBag $valueBag The input values to use (optional).\n\n@return \\Widget\n\n@throws DcGeneralRuntimeException When No widget could be build.\n@throws DcGeneralInvalidArgumentException When property is not defined in the property definitions.", "docstring_tokens": ["Retrieve", "the", "instance", "of", "a", "widget", "for", "the", "given", "property", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/WidgetManager.php#L79-L110", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/WidgetManager.php", "func_name": "WidgetManager.renderWidget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the widget for the named property.\n\n@param string $property The name of the property for which the widget shall be rendered.\n\n@param bool $ignoreErrors Flag if the error property of the widget shall get cleared prior rendering.\n\n@param PropertyValueBag $valueBag The input values to use (optional).\n\n@return string\n\n@throws DcGeneralRuntimeException For unknown properties.", "docstring_tokens": ["Render", "the", "widget", "for", "the", "named", "property", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/WidgetManager.php#L125-L152", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/WidgetManager.php", "func_name": "WidgetManager.processInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the input values from the input provider and update the information in the value bag.\n\n@param PropertyValueBag $valueBag The value bag to update.\n\n@return void", "docstring_tokens": ["Process", "the", "input", "values", "from", "the", "input", "provider", "and", "update", "the", "information", "in", "the", "value", "bag", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/WidgetManager.php#L161-L171", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/WidgetManager.php", "func_name": "WidgetManager.processProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process a single property.\n\n@param PropertyValueBag $valueBag The value bag to update.\n\n@param string $property The property to process.\n\n@return void\n\n@throws DcGeneralRuntimeException When No widget could be build.\n@throws DcGeneralInvalidArgumentException When property is not defined in the property definitions.", "docstring_tokens": ["Process", "a", "single", "property", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/WidgetManager.php#L185-L215", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/WidgetManager.php", "func_name": "WidgetManager.hijackPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remember current POST data and overwrite it with the values from the value bag.\n\nThe previous values are returned and can be restored via a call to restorePost().\n\n@param PropertyValueBag $valueBag The value bag to retrieve the new post data from.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)\n@SuppressWarnings(PHPMD.CamelCaseVariableName)", "docstring_tokens": ["Remember", "current", "POST", "data", "and", "overwrite", "it", "with", "the", "values", "from", "the", "value", "bag", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/WidgetManager.php#L229-L241", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/ActionHandler/DeleteHandler.php", "func_name": "DeleteHandler.handleEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the event to process the action.\n\n@param ActionEvent $event The action event.\n\n@return void\n\n@throws RedirectResponseException After successful delete.\n@throws DcGeneralRuntimeException When the DataContainer is not deletable.", "docstring_tokens": ["Handle", "the", "event", "to", "process", "the", "action", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/ActionHandler/DeleteHandler.php#L73-L92", "partition": "test"} +{"repo": "neos/imagine", "path": "Classes/ImagineFactory.php", "func_name": "ImagineFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method which creates an Imagine instance.\n\nBy default this factory creates an Imagine service according to the currently configured driver (for example GD\nor ImageMagick).\n\nYou may alternatively specify a class name of a driver-dependent class you need an instance of. For example,\nspecifying \"Image\" with the currently configured driver \"Gd\" will return an instance of the class\n\\Imagine\\Gd\\Image.\n\n@param string $className If specified, this factory will create an instance of the driver dependent class\n@return \\Imagine\\Image\\ImagineInterface\n@throws \\ReflectionException\n@api", "docstring_tokens": ["Factory", "method", "which", "creates", "an", "Imagine", "instance", "."], "sha": "1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90", "url": "https://github.com/neos/imagine/blob/1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90/Classes/ImagineFactory.php#L44-L65", "partition": "test"} +{"repo": "neos/imagine", "path": "Classes/ImagineFactory.php", "func_name": "ImagineFactory.configureImagickSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets limits for the Imagick driver.\n\n@return void", "docstring_tokens": ["Sets", "limits", "for", "the", "Imagick", "driver", "."], "sha": "1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90", "url": "https://github.com/neos/imagine/blob/1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90/Classes/ImagineFactory.php#L84-L94", "partition": "test"} +{"repo": "neos/imagine", "path": "Classes/AbstractImagineFactory.php", "func_name": "AbstractImagineFactory.injectSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Injects the settings.\n\n@param array $settings\n@return void\n@throws \\InvalidArgumentException", "docstring_tokens": ["Injects", "the", "settings", "."], "sha": "1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90", "url": "https://github.com/neos/imagine/blob/1d1c4d974e5d7d7d088ff9b99e6f97d0b4fb5b90/Classes/AbstractImagineFactory.php#L36-L46", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/DefaultWidgetBuilder.php", "func_name": "DefaultWidgetBuilder.handleEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the build widget event.\n\n@param BuildWidgetEvent $event The event.\n\n@return void", "docstring_tokens": ["Handle", "the", "build", "widget", "event", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/DefaultWidgetBuilder.php#L65-L75", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/DefaultWidgetBuilder.php", "func_name": "DefaultWidgetBuilder.getWidgetClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to resolve the class name for the widget.\n\n@param PropertyInterface $property The property to get the widget class name for.\n\n@return string\n\n@SuppressWarnings(PHPMD.Superglobals)\n@SuppressWarnings(PHPMD.CamelCaseVariableName)", "docstring_tokens": ["Try", "to", "resolve", "the", "class", "name", "for", "the", "widget", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/DefaultWidgetBuilder.php#L186-L198", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/DefaultWidgetBuilder.php", "func_name": "DefaultWidgetBuilder.getOptionsForWidget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get special labels.\n\n@param EnvironmentInterface $environment The environment.\n\n@param PropertyInterface $propInfo The property for which the options shall be retrieved.\n\n@param ModelInterface $model The model.\n\n@return string[]", "docstring_tokens": ["Get", "special", "labels", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/DefaultWidgetBuilder.php#L211-L228", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the edit mask.\n\n@return string\n\n@throws DcGeneralRuntimeException If the data container is not editable, closed.\n\n@throws DcGeneralInvalidArgumentException If an unknown property is encountered in the palette.", "docstring_tokens": ["Create", "the", "edit", "mask", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L156-L202", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.enforceModelRelationship", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method triggers the event to update the parent child relationships of the current model.\n\n@return void", "docstring_tokens": ["This", "method", "triggers", "the", "event", "to", "update", "the", "parent", "child", "relationships", "of", "the", "current", "model", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L209-L214", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.processInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process input and return all modified properties or null if there is no input.\n\n@param WidgetManager $widgetManager The widget manager in use.\n\n@return null|PropertyValueBag", "docstring_tokens": ["Process", "input", "and", "return", "all", "modified", "properties", "or", "null", "if", "there", "is", "no", "input", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L223-L246", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.handlePrePersist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trigger the pre persist event and handle the prePersist function if available.\n\n@return void", "docstring_tokens": ["Trigger", "the", "pre", "persist", "event", "and", "handle", "the", "prePersist", "function", "if", "available", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L253-L263", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.handlePostPersist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trigger the post persist event and handle the postPersist function if available.\n\n@return void", "docstring_tokens": ["Trigger", "the", "post", "persist", "event", "and", "handle", "the", "postPersist", "function", "if", "available", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L270-L278", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.translateLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a translated label from the translator.\n\nThe fallback is as follows:\n1. Try to translate via the data definition name as translation section.\n2. Try to translate with the prefix 'MSC.'.\n3. Return the input value as nothing worked out.\n\n@param string $transString The non translated label for the button.\n\n@param array $parameters The parameters to pass to the translator.\n\n@return string", "docstring_tokens": ["Get", "a", "translated", "label", "from", "the", "translator", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L294-L309", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.buildFieldSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the field sets.\n\n@param WidgetManager $widgetManager The widget manager in use.\n\n@param PaletteInterface $palette The palette to use.\n\n@param PropertyValueBag $propertyValues The property values.\n\n@return array\n\n@throws DcGeneralRuntimeException For unknown properties.\n@throws DcGeneralInvalidArgumentException When the property is not registered in the definition.\n\n@SuppressWarnings(PHPMD.CyclomaticComplexity)", "docstring_tokens": ["Build", "the", "field", "sets", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L357-L409", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.handleSubmit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the submit and determine which button has been triggered.\n\nThis method will redirect the client.\n\n@param array $buttons The registered edit buttons.\n\n@return void", "docstring_tokens": ["Handle", "the", "submit", "and", "determine", "which", "button", "has", "been", "triggered", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L474-L486", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.getHeadline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the headline to use.\n\n@return string.", "docstring_tokens": ["Determine", "the", "headline", "to", "use", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L493-L499", "partition": "test"} +{"repo": "contao-community-alliance/dc-general-contao-frontend", "path": "src/View/EditMask.php", "func_name": "EditMask.doPersist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the persisting of the currently loaded model.\n\n@return void", "docstring_tokens": ["Handle", "the", "persisting", "of", "the", "currently", "loaded", "model", "."], "sha": "0a5c293f90fae42732ce1795f2ccfa26a76effce", "url": "https://github.com/contao-community-alliance/dc-general-contao-frontend/blob/0a5c293f90fae42732ce1795f2ccfa26a76effce/src/View/EditMask.php#L506-L523", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.configureCas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure CAS Client|Proxy\n\n@param $method", "docstring_tokens": ["Configure", "CAS", "Client|Proxy"], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L76-L107", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.parseConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maintain backwards compatibility with config file\n\n@param array $config", "docstring_tokens": ["Maintain", "backwards", "compatibility", "with", "config", "file"], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L114-L141", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.configureCasValidation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure SSL Validation\n\nHaving some kind of server cert validation in production\nis highly recommended.", "docstring_tokens": ["Configure", "SSL", "Validation"], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L149-L158", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.getAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a specific attribute by key name. The\nattribute returned can be either a string or\nan array based on matches.\n\n@param $key\n\n@return mixed", "docstring_tokens": ["Retrieve", "a", "specific", "attribute", "by", "key", "name", ".", "The", "attribute", "returned", "can", "be", "either", "a", "string", "or", "an", "array", "based", "on", "matches", "."], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L209-L218", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.hasAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for the existence of a key in attributes.\n\n@param $key\n\n@return boolean", "docstring_tokens": ["Check", "for", "the", "existence", "of", "a", "key", "in", "attributes", "."], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L227-L233", "partition": "test"} +{"repo": "subfission/cas", "path": "src/Subfission/Cas/CasManager.php", "func_name": "CasManager.logout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logout of the CAS session and redirect users.\n\n@param string $url\n@param string $service", "docstring_tokens": ["Logout", "of", "the", "CAS", "session", "and", "redirect", "users", "."], "sha": "f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a", "url": "https://github.com/subfission/cas/blob/f3c9c003e293a7f6d1c364c2f8612a4cfbfa4d3a/src/Subfission/Cas/CasManager.php#L241-L260", "partition": "test"} +{"repo": "shrikeh/teapot", "path": "src/StatusLine/ResponseStatusLine.php", "func_name": "ResponseStatusLine.setCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the code. Used in constructor to ensure the code meets the\nrequirements for a status code.\n\n@param int $code The status code\n@throws InvalidStatusCodeException If the status code is invalid", "docstring_tokens": ["Set", "the", "code", ".", "Used", "in", "constructor", "to", "ensure", "the", "code", "meets", "the", "requirements", "for", "a", "status", "code", "."], "sha": "a9de138a014590469aa6ee4692e96c8912b5dfe6", "url": "https://github.com/shrikeh/teapot/blob/a9de138a014590469aa6ee4692e96c8912b5dfe6/src/StatusLine/ResponseStatusLine.php#L173-L184", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Paging/CursorResultAuto.php", "func_name": "CursorResultAuto.getKeyOrNull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to get model row number or key. Return row number column if exists.", "docstring_tokens": ["Try", "to", "get", "model", "row", "number", "or", "key", ".", "Return", "row", "number", "column", "if", "exists", "."], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Paging/CursorResultAuto.php#L51-L57", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Paging/CursorResultAuto.php", "func_name": "CursorResultAuto.isIntegerKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect, if cursor value is integer or not.\nExtract key type from model, if possible, otherwise just check cursor value type\n\n@param mixed $current Current curor value\n@param mixed $model one of items or null\n@return boolean", "docstring_tokens": ["Detect", "if", "cursor", "value", "is", "integer", "or", "not", ".", "Extract", "key", "type", "from", "model", "if", "possible", "otherwise", "just", "check", "cursor", "value", "type"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Paging/CursorResultAuto.php#L67-L77", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/api/index.php", "func_name": "Api4Gis.getFragmentsFromUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the request into fragments and find the api resource", "docstring_tokens": ["Split", "the", "request", "into", "fragments", "and", "find", "the", "api", "resource"], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/api/index.php#L184-L212", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/classes/container/C4GContainer.php", "func_name": "C4GContainer.addContainersFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a two-dimensional array to the container, where every outer array element becomes a container\nand every inner array element becomes an element of the corresponding container.\n@param array $array\n@throws \\Exception", "docstring_tokens": ["Add", "a", "two", "-", "dimensional", "array", "to", "the", "container", "where", "every", "outer", "array", "element", "becomes", "a", "container", "and", "every", "inner", "array", "element", "becomes", "an", "element", "of", "the", "corresponding", "container", "."], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/classes/container/C4GContainer.php#L53-L61", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Paging/CursorQueryBuilder.php", "func_name": "CursorQueryBuilder.buildQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a query, which will return only one page from original data set, matching cursor parameters\n\n@return EloquentBuilder|QueryBuilder", "docstring_tokens": ["Build", "a", "query", "which", "will", "return", "only", "one", "page", "from", "original", "data", "set", "matching", "cursor", "parameters"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Paging/CursorQueryBuilder.php#L59-L67", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Paging/CursorQueryBuilder.php", "func_name": "CursorQueryBuilder.wrapWithRowCounter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add statement, which will include number of rows in original data set into query, which returns one page\n\n@param EloquentBuilder|QueryBuilder $originalQuery Query, that retuns original data set to paginate\n@return QueryBuilder", "docstring_tokens": ["Add", "statement", "which", "will", "include", "number", "of", "rows", "in", "original", "data", "set", "into", "query", "which", "returns", "one", "page"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Paging/CursorQueryBuilder.php#L75-L83", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Paging/CursorQueryBuilder.php", "func_name": "CursorQueryBuilder.getFakeModelQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Buld query around model clone without scopes, that may affect query result.\n\n@param QueryBuilder $wrappedQuery Query to actually perform\n@return EloquentBuilder|QueryBuilder", "docstring_tokens": ["Buld", "query", "around", "model", "clone", "without", "scopes", "that", "may", "affect", "query", "result", "."], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Paging/CursorQueryBuilder.php#L91-L112", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/models/C4gActivationkeyModel.php", "func_name": "C4gActivationkeyModel.generateActivationLinkFromKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generates an activationlink from geiven key\n@param string $key\n@return string", "docstring_tokens": ["generates", "an", "activationlink", "from", "geiven", "key"], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/models/C4gActivationkeyModel.php#L34-L84", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/models/C4gActivationkeyModel.php", "func_name": "C4gActivationkeyModel.assignUserToKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "assigns an user to a key, if not already claimed\n@param int $userId\n@param string $key\n@return boolean", "docstring_tokens": ["assigns", "an", "user", "to", "a", "key", "if", "not", "already", "claimed"], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/models/C4gActivationkeyModel.php#L121-L128", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/models/C4gActivationkeyModel.php", "func_name": "C4gActivationkeyModel.keyIsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns the action connected to the given key\n@param string $key\n@return string", "docstring_tokens": ["returns", "the", "action", "connected", "to", "the", "given", "key"], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/models/C4gActivationkeyModel.php#L145-L150", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Traits/PaginatedOutput.php", "func_name": "PaginatedOutput.readPaging", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read request paging data\n\nIf checking value specified, allows only integer positive value equal or less 100 (setting).\nIf value not specified, take the default value from settings.\n\n@param Request $request raw request data\n@return PagingInfo", "docstring_tokens": ["Read", "request", "paging", "data"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Traits/PaginatedOutput.php#L24-L37", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Classes/Helper/AutoloadHelper.php", "func_name": "AutoloadHelper.registerTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registriert die gefundenen Templates bei Contao.\n@param $objFiles", "docstring_tokens": ["Registriert", "die", "gefundenen", "Templates", "bei", "Contao", "."], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Classes/Helper/AutoloadHelper.php#L38-L45", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Exceptions/ApiExceptionHandler.php", "func_name": "ApiExceptionHandler.registerCustomHandlers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register certain handlers via Dingo\\API facade\n\nWe can't pass class method as callback directly,\nso we wrap them into closures.", "docstring_tokens": ["Register", "certain", "handlers", "via", "Dingo", "\\", "API", "facade"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Exceptions/ApiExceptionHandler.php#L38-L55", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Exceptions/ApiExceptionHandler.php", "func_name": "ApiExceptionHandler.handleAuthorizationError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Security gateway throws AuthorizationException without HTTP code set.\nRender AccessDeniedHttpException instead to produce 403 HTTP code instead of 500\n\n@param \\Exception $e Original exception to wrap and handle\n@return Response", "docstring_tokens": ["Security", "gateway", "throws", "AuthorizationException", "without", "HTTP", "code", "set", ".", "Render", "AccessDeniedHttpException", "instead", "to", "produce", "403", "HTTP", "code", "instead", "of", "500"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Exceptions/ApiExceptionHandler.php#L64-L68", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Exceptions/ApiExceptionHandler.php", "func_name": "ApiExceptionHandler.handleValidation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dingo API does not handle default Laravel validation exception.\nWrap it into ValidationHttpException, processed properly\n\n@param ValidationException $e Original exception to wrap and handle\n@return Response", "docstring_tokens": ["Dingo", "API", "does", "not", "handle", "default", "Laravel", "validation", "exception", ".", "Wrap", "it", "into", "ValidationHttpException", "processed", "properly"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Exceptions/ApiExceptionHandler.php#L78-L82", "partition": "test"} +{"repo": "Saritasa/php-dingo-api-custom", "path": "src/Exceptions/ApiExceptionHandler.php", "func_name": "ApiExceptionHandler.handleModelNotFound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace model not found exception to guarantee 404 error instead of 500\n\n@param ModelNotFoundException $e Original exception to wrap and handle\n@return Response", "docstring_tokens": ["Replace", "model", "not", "found", "exception", "to", "guarantee", "404", "error", "instead", "of", "500"], "sha": "8347778070433674ae2ff9e6ff683623726fbe0d", "url": "https://github.com/Saritasa/php-dingo-api-custom/blob/8347778070433674ae2ff9e6ff683623726fbe0d/src/Exceptions/ApiExceptionHandler.php#L90-L94", "partition": "test"} +{"repo": "Kuestenschmiede/CoreBundle", "path": "Resources/contao/classes/stack/StackDatabase.php", "func_name": "StackDatabase.pop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Entfernt ein Element vom Stack.\n@return array|mixed", "docstring_tokens": ["Entfernt", "ein", "Element", "vom", "Stack", "."], "sha": "f8a9044369df8f45dd07bdf25d02119042ac5bc4", "url": "https://github.com/Kuestenschmiede/CoreBundle/blob/f8a9044369df8f45dd07bdf25d02119042ac5bc4/Resources/contao/classes/stack/StackDatabase.php#L95-L106", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/console/BowerPackageController.php", "func_name": "BowerPackageController.getComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets components array from bower API.\n\n@param bool $skipCache whether to skip using local cache\n@return array", "docstring_tokens": ["Gets", "components", "array", "from", "bower", "API", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/console/BowerPackageController.php#L54-L69", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/console/QueueController.php", "func_name": "QueueController.attachEventHandlers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches handlers on Queue events.", "docstring_tokens": ["Attaches", "handlers", "on", "Queue", "events", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/console/QueueController.php#L85-L120", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/librariesio/LibrariesioRepository.php", "func_name": "LibrariesioRepository.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send request to server with api_key and return a Response.\n@param string $method\n@param string $uri\n@param array $options\n@throws \\GuzzleHttp\\Exception\\BadResponseException\n@return \\GuzzleHttp\\Psr7\\Response", "docstring_tokens": ["Send", "request", "to", "server", "with", "api_key", "and", "return", "a", "Response", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/librariesio/LibrariesioRepository.php#L66-L83", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/librariesio/Project.php", "func_name": "Project.isAvailable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the package exists in Asset-Packagist.\n@return boolean", "docstring_tokens": ["Check", "the", "package", "exists", "in", "Asset", "-", "Packagist", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/librariesio/Project.php#L70-L77", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/console/MaintenanceController.php", "func_name": "MaintenanceController.actionSyncToDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Synchronizes file system packages to the database.", "docstring_tokens": ["Synchronizes", "file", "system", "packages", "to", "the", "database", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/console/MaintenanceController.php#L53-L70", "partition": "test"} +{"repo": "hiqdev/asset-packagist", "path": "src/console/MaintenanceController.php", "func_name": "MaintenanceController.actionUpdateExpired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates expired packages.", "docstring_tokens": ["Updates", "expired", "packages", "."], "sha": "2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a", "url": "https://github.com/hiqdev/asset-packagist/blob/2f198a43b2ceeb9b863aaea283dbb7bd3ee45c1a/src/console/MaintenanceController.php#L75-L88", "partition": "test"} +{"repo": "neo4j-contrib/neo4j-symfony", "path": "Factory/ClientFactory.php", "func_name": "ClientFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an Client form multiple connection.\n\n@param string $names\n\n@return ClientInterface", "docstring_tokens": ["Build", "an", "Client", "form", "multiple", "connection", "."], "sha": "9334e51599b7cb4b698d15d962029260f186df80", "url": "https://github.com/neo4j-contrib/neo4j-symfony/blob/9334e51599b7cb4b698d15d962029260f186df80/Factory/ClientFactory.php#L44-L56", "partition": "test"} +{"repo": "neo4j-contrib/neo4j-symfony", "path": "DependencyInjection/Neo4jExtension.php", "func_name": "Neo4jExtension.getUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get URL form config.\n\n@param array $config\n\n@return string", "docstring_tokens": ["Get", "URL", "form", "config", "."], "sha": "9334e51599b7cb4b698d15d962029260f186df80", "url": "https://github.com/neo4j-contrib/neo4j-symfony/blob/9334e51599b7cb4b698d15d962029260f186df80/DependencyInjection/Neo4jExtension.php#L199-L213", "partition": "test"} +{"repo": "neo4j-contrib/neo4j-symfony", "path": "DependencyInjection/Neo4jExtension.php", "func_name": "Neo4jExtension.getPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the correct default port if not manually set.\n\n@param array $config\n\n@return int", "docstring_tokens": ["Return", "the", "correct", "default", "port", "if", "not", "manually", "set", "."], "sha": "9334e51599b7cb4b698d15d962029260f186df80", "url": "https://github.com/neo4j-contrib/neo4j-symfony/blob/9334e51599b7cb4b698d15d962029260f186df80/DependencyInjection/Neo4jExtension.php#L222-L229", "partition": "test"} +{"repo": "neo4j-contrib/neo4j-symfony", "path": "DependencyInjection/Neo4jExtension.php", "func_name": "Neo4jExtension.validateEntityManagers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure the EntityManager is installed if we have configured it.\n\n@param array &$config\n\n@return bool true if \"graphaware/neo4j-php-ogm\" is installed\n\n@thorws \\LogicException if EntityManagers os not installed but they are configured.", "docstring_tokens": ["Make", "sure", "the", "EntityManager", "is", "installed", "if", "we", "have", "configured", "it", "."], "sha": "9334e51599b7cb4b698d15d962029260f186df80", "url": "https://github.com/neo4j-contrib/neo4j-symfony/blob/9334e51599b7cb4b698d15d962029260f186df80/DependencyInjection/Neo4jExtension.php#L240-L255", "partition": "test"} +{"repo": "pressbooks/pb-cli", "path": "features/bootstrap/FeatureContext.php", "func_name": "FeatureContext.terminate_proc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Terminate a process and any of its children.", "docstring_tokens": ["Terminate", "a", "process", "and", "any", "of", "its", "children", "."], "sha": "e907c95299221a55f7c713e65a29e579031674ff", "url": "https://github.com/pressbooks/pb-cli/blob/e907c95299221a55f7c713e65a29e579031674ff/features/bootstrap/FeatureContext.php#L130-L153", "partition": "test"} +{"repo": "pressbooks/pb-cli", "path": "inc/ThemeLockCommand.php", "func_name": "ThemeLockCommand.lock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lock a book's theme.\n\n## OPTIONS\n\n--url=\n: The URL of the target book.\n\n@when after_wp_load\n\n@param array $args\n@param array $assoc_args\n\n@throws \\WP_CLI\\ExitException", "docstring_tokens": ["Lock", "a", "book", "s", "theme", "."], "sha": "e907c95299221a55f7c713e65a29e579031674ff", "url": "https://github.com/pressbooks/pb-cli/blob/e907c95299221a55f7c713e65a29e579031674ff/inc/ThemeLockCommand.php#L27-L49", "partition": "test"} +{"repo": "pressbooks/pb-cli", "path": "inc/ThemeLockCommand.php", "func_name": "ThemeLockCommand.unlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unlock a book's theme.\n\n## OPTIONS\n\n--url=\n: The URL of the target book.\n\n@when after_wp_load\n\n@param array $args\n@param array $assoc_args", "docstring_tokens": ["Unlock", "a", "book", "s", "theme", "."], "sha": "e907c95299221a55f7c713e65a29e579031674ff", "url": "https://github.com/pressbooks/pb-cli/blob/e907c95299221a55f7c713e65a29e579031674ff/inc/ThemeLockCommand.php#L64-L82", "partition": "test"} +{"repo": "pressbooks/pb-cli", "path": "inc/CloneCommand.php", "func_name": "CloneCommand.clone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone a book.\n\n## OPTIONS\n\n\n: URL\n\n\n: Book slug on the current network\n\n--user=\n: sets request to a specific WordPress user\n\n@when after_wp_load\n\n@param array $args\n@param array $assoc_args\n\n@throws \\WP_CLI\\ExitException", "docstring_tokens": ["Clone", "a", "book", "."], "sha": "e907c95299221a55f7c713e65a29e579031674ff", "url": "https://github.com/pressbooks/pb-cli/blob/e907c95299221a55f7c713e65a29e579031674ff/inc/CloneCommand.php#L31-L71", "partition": "test"} +{"repo": "MetaModels/filter_tags", "path": "src/FilterSetting/Tags.php", "func_name": "Tags.buildParamValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build filter param values.\n\n@param array $arrFilterUrl Given filter url.\n@param string $strParamName Name of filter param.\n\n@return array|null", "docstring_tokens": ["Build", "filter", "param", "values", "."], "sha": "9c56c466ec262e96046defc8613f6d2b943a8e33", "url": "https://github.com/MetaModels/filter_tags/blob/9c56c466ec262e96046defc8613f6d2b943a8e33/src/FilterSetting/Tags.php#L192-L204", "partition": "test"} +{"repo": "MetaModels/filter_tags", "path": "src/FilterSetting/Tags.php", "func_name": "Tags.buildParameterFilterWidgets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build parameter filter widgets.\n\n@param array $arrJumpTo The jumpTo page.\n@param FrontendFilterOptions $objFrontendFilterOptions Frontendfilter options.\n@param IAttribute $objAttribute MetaModel Attribute.\n@param string $strParamName Param name.\n@param array $arrOptions Options.\n@param array $arrCount Count configuration.\n@param array|null $arrParamValue Parameter value.\n@param array $arrMyFilterUrl Filter url of the current filter.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)\n@SuppressWarnings(PHPMD.CamelCaseVariableName)", "docstring_tokens": ["Build", "parameter", "filter", "widgets", "."], "sha": "9c56c466ec262e96046defc8613f6d2b943a8e33", "url": "https://github.com/MetaModels/filter_tags/blob/9c56c466ec262e96046defc8613f6d2b943a8e33/src/FilterSetting/Tags.php#L248-L290", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Atomizer/Atomizer.php", "func_name": "Atomizer.sortedTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tables sorted in order of their dependencies.\n\n@param bool $reverse\n@return AbstractTable[]", "docstring_tokens": ["Tables", "sorted", "in", "order", "of", "their", "dependencies", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Atomizer/Atomizer.php#L111-L124", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.isConfigured", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if all related databases are configures with migrations.\n\n@return bool", "docstring_tokens": ["Check", "if", "all", "related", "databases", "are", "configures", "with", "migrations", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L56-L65", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure all related databases with migration table.", "docstring_tokens": ["Configure", "all", "related", "databases", "with", "migration", "table", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L70-L87", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.getMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get every available migration with valid meta information.\n\n@return MigrationInterface[]", "docstring_tokens": ["Get", "every", "available", "migration", "with", "valid", "meta", "information", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L94-L103", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute one migration and return it's instance.\n\n@param CapsuleInterface $capsule\n@return null|MigrationInterface\n\n@throws \\Throwable", "docstring_tokens": ["Execute", "one", "migration", "and", "return", "it", "s", "instance", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L113-L138", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.rollback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rollback last migration and return it's instance.\n\n@param CapsuleInterface $capsule\n@return null|MigrationInterface\n\n@throws \\Throwable", "docstring_tokens": ["Rollback", "last", "migration", "and", "return", "it", "s", "instance", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L148-L173", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.resolveState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clarify migration state with valid status and execution time\n\n@param MigrationInterface $migration\n@return State", "docstring_tokens": ["Clarify", "migration", "state", "with", "valid", "status", "and", "execution", "time"], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L181-L199", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Migrator.php", "func_name": "Migrator.migrationTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migration table, all migration information will be stored in it.\n\n@param string|null $database\n@return Table", "docstring_tokens": ["Migration", "table", "all", "migration", "information", "will", "be", "stored", "in", "it", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Migrator.php#L207-L210", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Atomizer/Renderer.php", "func_name": "Renderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render values and options into source.\n\n@param Source $source\n@param string $format\n@param array ...$values", "docstring_tokens": ["Render", "values", "and", "options", "into", "source", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Atomizer/Renderer.php#L302-L343", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/Atomizer/Renderer.php", "func_name": "Renderer.mountIndents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Mount indents for column and index options.\n\n@param $serialized\n@return string", "docstring_tokens": ["Mount", "indents", "for", "column", "and", "index", "options", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/Atomizer/Renderer.php#L408-L417", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.setPrimaryKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set table primary keys index. Attention, you can only call it when table being created.\n\n@param array $keys\n@return TableBlueprint", "docstring_tokens": ["Set", "table", "primary", "keys", "index", ".", "Attention", "you", "can", "only", "call", "it", "when", "table", "being", "created", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L236-L241", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create table schema. Must be last operation in the sequence.", "docstring_tokens": ["Create", "table", "schema", ".", "Must", "be", "last", "operation", "in", "the", "sequence", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L246-L253", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update table schema. Must be last operation in the sequence.", "docstring_tokens": ["Update", "table", "schema", ".", "Must", "be", "last", "operation", "in", "the", "sequence", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L258-L265", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.drop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drop table. Must be last operation in the sequence.", "docstring_tokens": ["Drop", "table", ".", "Must", "be", "last", "operation", "in", "the", "sequence", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L270-L277", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename table. Must be last operation in the sequence.\n\n@param string $newName", "docstring_tokens": ["Rename", "table", ".", "Must", "be", "last", "operation", "in", "the", "sequence", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L284-L291", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/TableBlueprint.php", "func_name": "TableBlueprint.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute blueprint operations.", "docstring_tokens": ["Execute", "blueprint", "operations", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/TableBlueprint.php#L309-L317", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/FileRepository.php", "func_name": "FileRepository.getFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal method to fetch all migration filenames.", "docstring_tokens": ["Internal", "method", "to", "fetch", "all", "migration", "filenames", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/FileRepository.php#L126-L151", "partition": "test"} +{"repo": "spiral/migrations", "path": "src/FileRepository.php", "func_name": "FileRepository.createFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request new migration filename based on user input and current timestamp.\n\n@param string $name\n@return string", "docstring_tokens": ["Request", "new", "migration", "filename", "based", "on", "user", "input", "and", "current", "timestamp", "."], "sha": "d7ea264874373433bc4e16bb9b86050a4cd28000", "url": "https://github.com/spiral/migrations/blob/d7ea264874373433bc4e16bb9b86050a4cd28000/src/FileRepository.php#L159-L172", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/ServiceContainer/LaravelBooter.php", "func_name": "LaravelBooter.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the app.\n\n@return mixed", "docstring_tokens": ["Boot", "the", "app", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/ServiceContainer/LaravelBooter.php#L62-L77", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/ServiceContainer/BehatExtension.php", "func_name": "BehatExtension.loadLaravel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot up Laravel.\n\n@param ContainerBuilder $container\n@param array $config\n@return mixed", "docstring_tokens": ["Boot", "up", "Laravel", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/ServiceContainer/BehatExtension.php#L76-L83", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/ServiceContainer/BehatExtension.php", "func_name": "BehatExtension.loadInitializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the initializer.\n\n@param ContainerBuilder $container\n@param HttpKernelInterface $app", "docstring_tokens": ["Load", "the", "initializer", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/ServiceContainer/BehatExtension.php#L91-L99", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/ServiceContainer/BehatExtension.php", "func_name": "BehatExtension.loadLaravelArgumentResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load argument resolver\n\n@param ContainerBuilder $container\n@param Application $app", "docstring_tokens": ["Load", "argument", "resolver"], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/ServiceContainer/BehatExtension.php#L107-L114", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/Context/Services/MailTrap.php", "func_name": "MailTrap.applyMailTrapConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the configuration for MailTrap.\n\n@param integer|null $inboxId\n@throws Exception", "docstring_tokens": ["Get", "the", "configuration", "for", "MailTrap", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/Context/Services/MailTrap.php#L39-L49", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/Context/Services/MailTrap.php", "func_name": "MailTrap.fetchInbox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch a MailTrap inbox.\n\n@param integer|null $inboxId\n@return mixed\n@throws RuntimeException", "docstring_tokens": ["Fetch", "a", "MailTrap", "inbox", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/Context/Services/MailTrap.php#L58-L69", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/Context/Services/MailTrap.php", "func_name": "MailTrap.requestClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request a new Guzzle client.\n\n@return Client", "docstring_tokens": ["Request", "a", "new", "Guzzle", "client", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/Context/Services/MailTrap.php#L117-L127", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/Context/KernelAwareInitializer.php", "func_name": "KernelAwareInitializer.rebootKernel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After each scenario, reboot the kernel.", "docstring_tokens": ["After", "each", "scenario", "reboot", "the", "kernel", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/Context/KernelAwareInitializer.php#L72-L84", "partition": "test"} +{"repo": "laracasts/Behat-Laravel-Extension", "path": "src/Context/Argument/LaravelArgumentResolver.php", "func_name": "LaravelArgumentResolver.resolveArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves context constructor arguments.\n\n@param ReflectionClass $classReflection\n@param mixed[] $arguments\n\n@return mixed[]", "docstring_tokens": ["Resolves", "context", "constructor", "arguments", "."], "sha": "6374ca10c78f11f0ad213e44df2e2300d98beade", "url": "https://github.com/laracasts/Behat-Laravel-Extension/blob/6374ca10c78f11f0ad213e44df2e2300d98beade/src/Context/Argument/LaravelArgumentResolver.php#L29-L38", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.stream_open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open pre-mocked StreamInterface by it's unique uri.\n\n@param string $path\n@param int $mode\n@param int $options\n@param string &$opened_path\n@return bool", "docstring_tokens": ["Open", "pre", "-", "mocked", "StreamInterface", "by", "it", "s", "unique", "uri", "."], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L72-L84", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.url_stat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get stats based on wrapped StreamInterface by it's mocked uri.\n\n@see stat()\n@param string $path\n@param int $flags\n@return array|null", "docstring_tokens": ["Get", "stats", "based", "on", "wrapped", "StreamInterface", "by", "it", "s", "mocked", "uri", "."], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L156-L163", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.getStreamStats", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method used to correctly resolve StreamInterface stats.\n\n@param StreamInterface $stream\n@return array", "docstring_tokens": ["Helper", "method", "used", "to", "correctly", "resolve", "StreamInterface", "stats", "."], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L171-L199", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given uri or stream has been allocated.\n\n@param string|StreamInterface $file\n@return bool", "docstring_tokens": ["Check", "if", "given", "uri", "or", "stream", "has", "been", "allocated", "."], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L220-L227", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.getFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register StreamInterface and get unique url for it.\n\n@param StreamInterface $stream\n@return string", "docstring_tokens": ["Register", "StreamInterface", "and", "get", "unique", "url", "for", "it", "."], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L261-L269", "partition": "test"} +{"repo": "spiral/streams", "path": "src/StreamWrapper.php", "func_name": "StreamWrapper.release", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Free uri dedicated to specified StreamInterface. Method is useful for long living\napplications. You must close resource by yourself!\n\n@param string|StreamInterface $file String uri or StreamInterface.", "docstring_tokens": ["Free", "uri", "dedicated", "to", "specified", "StreamInterface", ".", "Method", "is", "useful", "for", "long", "living", "applications", ".", "You", "must", "close", "resource", "by", "yourself!"], "sha": "3caefe12cd2a4bcbccd65841884dc0330df44d97", "url": "https://github.com/spiral/streams/blob/3caefe12cd2a4bcbccd65841884dc0330df44d97/src/StreamWrapper.php#L277-L284", "partition": "test"} +{"repo": "php-api-clients/command-bus", "path": "src/CommandBus.php", "func_name": "CommandBus.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the given command and optionally returns a value.\n\n@param object $command\n\n@return CancellablePromiseInterface", "docstring_tokens": ["Executes", "the", "given", "command", "and", "optionally", "returns", "a", "value", "."], "sha": "aa529ac480a7bd35a54ac51770e61cc15e6341dd", "url": "https://github.com/php-api-clients/command-bus/blob/aa529ac480a7bd35a54ac51770e61cc15e6341dd/src/CommandBus.php#L43-L48", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Node.php", "func_name": "Node.emptyNodeExpansionWorked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to expand the current node if it's an empty one\nand return whether the expansion worked or not.\n\n\\retval bool\n\\c true if this node was an empty one and it\nwas successfully expanded, \\c false otherwise.", "docstring_tokens": ["Try", "to", "expand", "the", "current", "node", "if", "it", "s", "an", "empty", "one", "and", "return", "whether", "the", "expansion", "worked", "or", "not", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Node.php#L170-L179", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Server.php", "func_name": "Server.expose", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Expose the public methods of a class or object,\nwith an optional prefix.\n\n\\param mixed $other\nClass or object to expose.\nFor classes, only public static methods are exposed.\nFor objects, public non-static methods are exposed,\nexcept for the constructor.\n\n\\param string $prefix\nPrefix under which the class/object's methods\nwill be exposed. Defaults to the empty string\n(ie. the methods are exposed without any prefix).\n\n\\return\nThis method does not return any value.\n\n\\note\nTo expose all public methods of an object (both\nstatic and non-static), call this method twice:\n- once with the actual object\n- and a second time with get_class($object)", "docstring_tokens": ["Expose", "the", "public", "methods", "of", "a", "class", "or", "object", "with", "an", "optional", "prefix", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Server.php#L290-L329", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Server.php", "func_name": "Server.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle an XML-RPC request and return a response for it.\n\n\\param string $URI\n(optional) URI to the XML-RPC request to process,\nIf omitted, this method will try to retrieve the request\ndirectly from the data POST'ed to this script.\n\n\\retval fpoirotte::XRL::ResponseInterface\nThe response for that request. This response\nmay indicate either success or failure of the\nRemote Procedure Call.\n\n\\note\nUse the \"data://\" wrapper to pass the serialized\nrequest as raw data.\n\n\\see\nSee http://php.net/wrappers.data.php for information\non how to use the \"data://\" wrapper.", "docstring_tokens": ["Handle", "an", "XML", "-", "RPC", "request", "and", "return", "a", "response", "for", "it", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Server.php#L352-L371", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Server.php", "func_name": "Server.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call an XML-RPC procedure.\n\n\\param string $procedure\nName of the procedure to call.\n\n\\param array $params\nParameters for that procedure.\n\n\\retval mixed\nThe procedure's return value.", "docstring_tokens": ["Call", "an", "XML", "-", "RPC", "procedure", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Server.php#L385-L397", "partition": "test"} +{"repo": "webtoolsnz/yii2-widgets", "path": "src/CheckboxButtonGroup.php", "func_name": "CheckboxButtonGroup.renderInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the html input for the widget", "docstring_tokens": ["render", "the", "html", "input", "for", "the", "widget"], "sha": "37a985e6f68bdc6d9397f822909ada2ce49627fb", "url": "https://github.com/webtoolsnz/yii2-widgets/blob/37a985e6f68bdc6d9397f822909ada2ce49627fb/src/CheckboxButtonGroup.php#L80-L106", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.enable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turn a regular XML-RPC server into one\nthat supports various XML-RPC capabilities.\n\n\\param fpoirotte::XRL::Server $server\nAn XML-RPC to upgrade.\n\n\\param array $whitelist\n(optional) Whitelist of methods that can\nbe announced by the newly upgraded server.\nPass an empty array to disable announces.\nBy default, all methods are announced.\n\n\\retval fpoirotte::XRL::Server\nThe upgraded server.", "docstring_tokens": ["Turn", "a", "regular", "XML", "-", "RPC", "server", "into", "one", "that", "supports", "various", "XML", "-", "RPC", "capabilities", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L71-L76", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.extractTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract parameter and return type information\nfrom a documentation comment.\n\n\\param string $doc\nDocumentation comment the types\nwill be extracted from.\n\n\\retval array\nArray with type information.\nThe \"retval\" key contains information about the return type,\nwhile the array in the \"params\" key contains information\nabout each parameter's type (indexed by its name).", "docstring_tokens": ["Extract", "parameter", "and", "return", "type", "information", "from", "a", "documentation", "comment", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L92-L144", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.listMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the methods supported by the server.\n\n\\retval array\nArray with the names of available methods.", "docstring_tokens": ["List", "the", "methods", "supported", "by", "the", "server", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L222-L229", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.methodSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return possible signatures for a method.\n\n\\param string $method\nName of the method.\n\n\\retval array\nAn array containing:\n- The return type of the method as its first value\n- The types for the method's parameters in the following values", "docstring_tokens": ["Return", "possible", "signatures", "for", "a", "method", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L242-L273", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.methodHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get help about a procedure.\n\n\\param string $method\nName of the procedure.\n\n\\retval string\nHuman readable help message for the given procedure.", "docstring_tokens": ["Get", "help", "about", "a", "procedure", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L284-L331", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CapableServer.php", "func_name": "CapableServer.multicall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform several calls to XML-RPC methods\nin a single go.\n\n\\param array $requests\nArray of requests, each described as a struct\nwith the following information:\n- \"methodName\": name of the method to call\n- \"params\": array of parameters for the method\n\n\\retval array\nArray of responses, one for each request,\nin the same order.\nEach response may be either a fault or an array\nwith a single element (the call's result).\n\n\\note\nRecursive calls to system.multicall are forbidden.", "docstring_tokens": ["Perform", "several", "calls", "to", "XML", "-", "RPC", "methods", "in", "a", "single", "go", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CapableServer.php#L352-L382", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Autoload.php", "func_name": "Autoload.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load an XRL class or interface.\n\n\\param string $class\nName of the class/interface to load.\n\n\\note\nThe autoloader will only try to load classes/interfaces\nwhose name starts with \"fpoirotte\\\\XRL\\\\\" (case-sensitive).\n\n\\warning\nThe autoloader will throw an exception (which will\nmost likely result in a fatal error in your application)\nin case the class or interface's name contains a colon.\nThis is a protection against a possible remote inclusion\nvulnerability introduced in PHP 5.3.8 using is_a().\n\n\\retval bool\n\\c true if the class or interface could be loaded,\n\\c false otherwise.", "docstring_tokens": ["Load", "an", "XRL", "class", "or", "interface", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Autoload.php#L43-L69", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return XRL's version.\n\n\\retval string\nXRL's version, or \"dev\" if the version\ninformation could not be retrieved.", "docstring_tokens": ["Return", "XRL", "s", "version", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L31-L61", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.printUsage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display this script's usage.\n\n\\param fpoirotte::XRL::Output $output\nOutput where usage information\nwill be sent.\n\n\\param string $prog\nThe name of this script, ie.\n\\c $_SERVER['argv'][0]", "docstring_tokens": ["Display", "this", "script", "s", "usage", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L93-L102", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.parseBool", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a boolean out of some text.\n\"0\", \"off\" or \"false\" can be used to represent\n\\c false while \"1\", \"on\" or \"true\" can used to\nrepresent \\c true.\n\n\\param string $value\nSome text that's supposed to represent\na boolean value.\n\n\\retval bool\nThe value that was parsed.\n\n\\throw Exception\nThe given text did not contain\na boolean value.", "docstring_tokens": ["Parse", "a", "boolean", "out", "of", "some", "text", ".", "0", "off", "or", "false", "can", "be", "used", "to", "represent", "\\", "c", "false", "while", "1", "on", "or", "true", "can", "used", "to", "represent", "\\", "c", "true", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L121-L131", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.parseFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the content of a file.\n\n\\param string $value\nName of the file to read.\n\n\\retval string\nThe content of that file.\n\n\\throw Exception\nThe file did not exist or its content\ncould not be read.", "docstring_tokens": ["Return", "the", "content", "of", "a", "file", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L146-L153", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the arguments passed to this script.\n\n\\param array $args\nA list with the arguments passed to this\nscript.\n\n\\retval array\nAn array of ($options,$params)\nfor this script.\n\n\\throw Exception\nSome error occurred during the parsing.\nSee the exception's message for more\ninformation.", "docstring_tokens": ["Parse", "the", "arguments", "passed", "to", "this", "script", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L340-L409", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/CLI.php", "func_name": "CLI.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run this CLI script.\n\n\\param array $args\nA list of arguments passed to this script.\n\n\\retval int\nExit code. \\c 0 is used to indicate a\nsuccess, while any other code indicates\nan error.\n\n\\note\nIn case of an error, additional messages\nmay be sent to \\c STDERR by this script.", "docstring_tokens": ["Run", "this", "CLI", "script", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/CLI.php#L426-L507", "partition": "test"} +{"repo": "1ma/DIC", "path": "src/Container.php", "func_name": "Container.resolved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether a given service has already been resolved\ninto its final value, or is still a callable.\n\n@throws NotFoundExceptionInterface No entry was found for **this** identifier.", "docstring_tokens": ["Returns", "whether", "a", "given", "service", "has", "already", "been", "resolved", "into", "its", "final", "value", "or", "is", "still", "a", "callable", "."], "sha": "515fc890a642d1699f7682aa34769cc9994f12f0", "url": "https://github.com/1ma/DIC/blob/515fc890a642d1699f7682aa34769cc9994f12f0/src/Container.php#L65-L72", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Encoder.php", "func_name": "Encoder.getWriter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an XML writer that will be used\nto produce XML-RPC requests and responses.\n\n\\retval XMLWriter\nXML writer to use to produce documents.", "docstring_tokens": ["Return", "an", "XML", "writer", "that", "will", "be", "used", "to", "produce", "XML", "-", "RPC", "requests", "and", "responses", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Encoder.php#L82-L94", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Encoder.php", "func_name": "Encoder.finalizeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method must be called when the document\nis complete and returns the document.\n\n\\param XMLWriter $writer\nXML writer used to produce the document.\n\n\\retval string\nThe XML document that was generated,\nas serialized XML.", "docstring_tokens": ["This", "method", "must", "be", "called", "when", "the", "document", "is", "complete", "and", "returns", "the", "document", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Encoder.php#L107-L126", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.getReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an XML reader for some data.\n\n\\param string $URI\nURI to the XML data to process.\n\n\\param bool $request\nWhether the data refers to an XML-RPC\nrequest (\\c true) or a response (\\c false).\n\n\\retval XMLReader\nAn XML reader for the given data.\n\n\\throw InvalidArgumentException\nYou tried to pass something that is not\na boolean as the \\c $request parameter.\n\n\\note\nThe reader is set to validate the document\non the fly if that's what this decoder was\nconfigured to do during construction.", "docstring_tokens": ["Returns", "an", "XML", "reader", "for", "some", "data", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L114-L135", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.readNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a node from the XML reader\nand return it.\n\n\\param XMLReader $reader\nReader to read the node from.\n\n\\retval fpoirotte::XRL::Node\nThe XML node that's been read.", "docstring_tokens": ["Read", "a", "node", "from", "the", "XML", "reader", "and", "return", "it", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L147-L155", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.expectStartTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a node from the document and throw\nan exception if it is not an opening tag\nwith the given name.\n\n\\param XMLReader $reader\nReader object the node will be read from.\n\n\\param string $expectedTag\nName of the tag we're expecting.\n\n\\throw InvalidArgumentException\nThrown whenever one of the following\nconditions is met:\n- We reached the end of the document.\n- The next node was not an opening tag.\n- The next node was an opening tag, but\nits name was not the one we expected.", "docstring_tokens": ["Read", "a", "node", "from", "the", "document", "and", "throw", "an", "exception", "if", "it", "is", "not", "an", "opening", "tag", "with", "the", "given", "name", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L188-L209", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.expectEndTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a node from the document and throw\nan exception if it is not a closing tag\nwith the given name.\n\n\\param XMLReader $reader\nReader object the node will be read from.\n\n\\param string $expectedTag\nName of the tag we're expecting.\n\n\\throw InvalidArgumentException\nThrown whenever one of the following\nconditions is met:\n- We reached the end of the document.\n- The next node was not a closing tag.\n- The next node was a closing tag, but\nits name was not the one we expected.", "docstring_tokens": ["Read", "a", "node", "from", "the", "document", "and", "throw", "an", "exception", "if", "it", "is", "not", "a", "closing", "tag", "with", "the", "given", "name", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L230-L251", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.parseText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a node from the document and throw\nan exception if it is not a text node.\nOtherwise, return its content.\n\n\\param XMLReader $reader\nReader object the node will be read from.\n\n\\retval string\nThe value of the text node.\n\n\\throw InvalidArgumentException\nThrown whenever one of the following\nconditions is met:\n- We reached the end of the document.\n- The next node was not a text node.", "docstring_tokens": ["Read", "a", "node", "from", "the", "document", "and", "throw", "an", "exception", "if", "it", "is", "not", "a", "text", "node", ".", "Otherwise", "return", "its", "content", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L270-L286", "partition": "test"} +{"repo": "fpoirotte/XRL", "path": "src/Decoder.php", "func_name": "Decoder.checkType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the type of a value.\n\n\\param array $allowedTypes\nWhitelist of allowed types.\nIf empty, any type is allowed.\n\n\\param string $type\nThe actual type of the value\nbeing tested.\n\n\\param mixed $value\nThe value being tested.\n\n\\retval mixed\nThe original value that was passed\nto this method, if type allows.\n\n\\throw InvalidArgumentException\nThe given type cannot be used\nin this context (disallowed).", "docstring_tokens": ["Check", "the", "type", "of", "a", "value", "."], "sha": "4c5ef93ca73b7a010c2a3793cca0b9be218fcebf", "url": "https://github.com/fpoirotte/XRL/blob/4c5ef93ca73b7a010c2a3793cca0b9be218fcebf/src/Decoder.php#L310-L320", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Builder.php", "func_name": "Builder.checkbox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a checkbox field.\n\n@param string $id String for use in the 'id' attribute of tags.\n@param string $title Title of the field.\n@param array $additionalArguments Optional. Additional arguments that are passed to `register_setting` and\n`add_settings_field`.\n\n@return Field", "docstring_tokens": ["Build", "a", "checkbox", "field", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Builder.php#L62-L86", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Builder.php", "func_name": "Builder.email", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an email field.\n\n@param string $id String for use in the 'id' attribute of tags.\n@param string $title Title of the field.\n@param array $additionalArguments Optional. Additional arguments that are passed to `register_setting` and\n`add_settings_field`.\n\n@return Field", "docstring_tokens": ["Build", "an", "email", "field", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Builder.php#L98-L122", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Builder.php", "func_name": "Builder.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a select field.\n\n@param string $id String for use in the 'id' attribute of tags.\n@param string $title Title of the field.\n@param array $options Valid options.\n@param array $additionalArguments Optional. Additional arguments that are passed to `register_setting` and\n`add_settings_field`.\n\n@return Field", "docstring_tokens": ["Build", "a", "select", "field", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Builder.php#L164-L192", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Registrar.php", "func_name": "Registrar.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register sections with WordPress.\n\n@void", "docstring_tokens": ["Register", "sections", "with", "WordPress", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Registrar.php#L52-L62", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Registrar.php", "func_name": "Registrar.registerSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a section to the settings page with WordPress.\n\n@param SectionInterface $section Section to be registered.\n\n@void", "docstring_tokens": ["Register", "a", "section", "to", "the", "settings", "page", "with", "WordPress", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Registrar.php#L71-L79", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Registrar.php", "func_name": "Registrar.registerFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register fields of a section with WordPress.\n\n@param SectionInterface $section Section which holds a list of its fields.\n\n@return void", "docstring_tokens": ["Register", "fields", "of", "a", "section", "with", "WordPress", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Registrar.php#L88-L103", "partition": "test"} +{"repo": "TypistTech/wp-better-settings", "path": "src/Registrar.php", "func_name": "Registrar.registerSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a setting and its data with WordPress.\n\n@param SectionInterface $section Section which holds a list of its fields.\n\n@return void", "docstring_tokens": ["Register", "a", "setting", "and", "its", "data", "with", "WordPress", "."], "sha": "30fd7f962f8ab029ae6d6d53f48f8d4826a87f20", "url": "https://github.com/TypistTech/wp-better-settings/blob/30fd7f962f8ab029ae6d6d53f48f8d4826a87f20/src/Registrar.php#L112-L124", "partition": "test"} +{"repo": "thinhbuzz/laravel-google-captcha", "path": "src/Captcha.php", "func_name": "Captcha.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create captcha html element\n\n@param array $attributes\n@param array $options\n@return string", "docstring_tokens": ["Create", "captcha", "html", "element"], "sha": "b3668a2e09b6375c9d2d4847316369900bf6bae1", "url": "https://github.com/thinhbuzz/laravel-google-captcha/blob/b3668a2e09b6375c9d2d4847316369900bf6bae1/src/Captcha.php#L67-L89", "partition": "test"} +{"repo": "thinhbuzz/laravel-google-captcha", "path": "src/Captcha.php", "func_name": "Captcha.getJsLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create javascript api link with language\n\n@param array $options\n@return string", "docstring_tokens": ["Create", "javascript", "api", "link", "with", "language"], "sha": "b3668a2e09b6375c9d2d4847316369900bf6bae1", "url": "https://github.com/thinhbuzz/laravel-google-captcha/blob/b3668a2e09b6375c9d2d4847316369900bf6bae1/src/Captcha.php#L107-L122", "partition": "test"} +{"repo": "thinhbuzz/laravel-google-captcha", "path": "src/Captcha.php", "func_name": "Captcha.displayMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display multiple captcha on page\n\n@param array $options\n@return string", "docstring_tokens": ["Display", "multiple", "captcha", "on", "page"], "sha": "b3668a2e09b6375c9d2d4847316369900bf6bae1", "url": "https://github.com/thinhbuzz/laravel-google-captcha/blob/b3668a2e09b6375c9d2d4847316369900bf6bae1/src/Captcha.php#L146-L157", "partition": "test"} +{"repo": "thinhbuzz/laravel-google-captcha", "path": "src/Captcha.php", "func_name": "Captcha.buildCaptchaHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build captcha by attributes\n\n@param array $captchaAttribute\n\n@return string", "docstring_tokens": ["Build", "captcha", "by", "attributes"], "sha": "b3668a2e09b6375c9d2d4847316369900bf6bae1", "url": "https://github.com/thinhbuzz/laravel-google-captcha/blob/b3668a2e09b6375c9d2d4847316369900bf6bae1/src/Captcha.php#L212-L223", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.uploadAsset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads an asset to the Moovly API.\n\n@param \\SplFileInfo $file\n@param Library $library\n\n@return MoovlyObject\n\n@throws MoovlyException", "docstring_tokens": ["Uploads", "an", "asset", "to", "the", "Moovly", "API", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L116-L154", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getProject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches one project.\n\n@param string $projectId\n\n@return Project\n\n@throws MoovlyException", "docstring_tokens": ["Fetches", "one", "project", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L165-L178", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getProjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches all projects.\n\n@param string $filter\n\n@return Project[]\n\n@throws MoovlyException", "docstring_tokens": ["Fetches", "all", "projects", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L189-L208", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.createTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a template.\n\n@param Project $project\n\n@return Template\n\n@throws MoovlyException", "docstring_tokens": ["Creates", "a", "template", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L219-L232", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a template.\n\n@param string $templateId\n\n@return Template\n\n@throws MoovlyException", "docstring_tokens": ["Fetches", "a", "template", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L243-L254", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches all templates the bearer has access to.\n\n@return Template[]\n\n@throws MoovlyException", "docstring_tokens": ["Fetches", "all", "templates", "the", "bearer", "has", "access", "to", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L263-L278", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.createJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a new Job request in the Moovly API. This expects a Job model. Use the\nJobFactory and the ValueFactory to create this.\n\n@param Job $job\n\n@return Job\n\n@throws MoovlyException", "docstring_tokens": ["Registers", "a", "new", "Job", "request", "in", "the", "Moovly", "API", ".", "This", "expects", "a", "Job", "model", ".", "Use", "the", "JobFactory", "and", "the", "ValueFactory", "to", "create", "this", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L290-L350", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a job.\n\n@param string $jobId\n\n@return Job\n\n@throws MoovlyException", "docstring_tokens": ["Gets", "a", "job", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L361-L372", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getJobsByTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all the jobs that were made with a template.\n\n@param Template $template\n\n@return Job[]\n\n@throws MoovlyException", "docstring_tokens": ["Gets", "all", "the", "jobs", "that", "were", "made", "with", "a", "template", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L383-L398", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getCurrentUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current user.\n\n@return User\n\n@throws MoovlyException", "docstring_tokens": ["Returns", "the", "current", "user", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L433-L444", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.getPersonalLibraryForUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the user's personal library.\n\n@return Library\n\n@throws MoovlyException", "docstring_tokens": ["Get", "the", "user", "s", "personal", "library", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L453-L464", "partition": "test"} +{"repo": "Moovly/moovly-php-sdk", "path": "src/Service/MoovlyService.php", "func_name": "MoovlyService.mergeJobValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes sure the API of newly created jobs is as complete for values as possible.\n\n@param array $preRequestValues\n@param array $postRequestValues\n\n@return array", "docstring_tokens": ["Makes", "sure", "the", "API", "of", "newly", "created", "jobs", "is", "as", "complete", "for", "values", "as", "possible", "."], "sha": "adc642af29a95a0cdb634ca2d87b927a5bbd15fa", "url": "https://github.com/Moovly/moovly-php-sdk/blob/adc642af29a95a0cdb634ca2d87b927a5bbd15fa/src/Service/MoovlyService.php#L474-L493", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/User/LdapUserProvider.php", "func_name": "LdapUserProvider.getLdapUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for, and return, the LDAP user by a specific attribute.\n\n@param string $attribute\n@param string $value\n@return LdapObject", "docstring_tokens": ["Search", "for", "and", "return", "the", "LDAP", "user", "by", "a", "specific", "attribute", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapUserProvider.php#L137-L153", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "DependencyInjection/LdapToolsExtension.php", "func_name": "LdapToolsExtension.setLdapConfigDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass the configuration to be loaded for the LdapTools Configuration class.\n\n@param ContainerBuilder $container\n@param array $config", "docstring_tokens": ["Pass", "the", "configuration", "to", "be", "loaded", "for", "the", "LdapTools", "Configuration", "class", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/DependencyInjection/LdapToolsExtension.php#L79-L105", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/User/LdapUserChecker.php", "func_name": "LdapUserChecker.checkLdapErrorCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on the LDAP error code and the LDAP type, throw any specific exceptions detected.\n\n@param UserInterface $user The user object.\n@param int $code The extended LDAP error code.\n@param string $ldapType The LDAP type used for authentication.", "docstring_tokens": ["Based", "on", "the", "LDAP", "error", "code", "and", "the", "LDAP", "type", "throw", "any", "specific", "exceptions", "detected", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapUserChecker.php#L35-L54", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Form/Type/LdapObjectType.php", "func_name": "LdapObjectType.setAllowedTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A rather ugly way of allowing compatibility with the resolver component for pre 2.6 versions.\n\n@param OptionsResolver $resolver", "docstring_tokens": ["A", "rather", "ugly", "way", "of", "allowing", "compatibility", "with", "the", "resolver", "component", "for", "pre", "2", ".", "6", "versions", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Form/Type/LdapObjectType.php#L128-L140", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/LdapAuthenticationTrait.php", "func_name": "LdapAuthenticationTrait.setLdapCredentialsIfNeeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If no LDAP credentials are in the config then attempt to use the user supplied credentials from the login. But\nonly if we are using the LdapUserProvider.\n\n@param string $username\n@param string $password\n@param UserProviderInterface $userProvider", "docstring_tokens": ["If", "no", "LDAP", "credentials", "are", "in", "the", "config", "then", "attempt", "to", "use", "the", "user", "supplied", "credentials", "from", "the", "login", ".", "But", "only", "if", "we", "are", "using", "the", "LdapUserProvider", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/LdapAuthenticationTrait.php#L72-L87", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/LdapAuthenticationTrait.php", "func_name": "LdapAuthenticationTrait.switchDomainIfNeeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the domain needs to a different context for the request, then switch it.\n\n@param string|null $domain", "docstring_tokens": ["If", "the", "domain", "needs", "to", "a", "different", "context", "for", "the", "request", "then", "switch", "it", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/LdapAuthenticationTrait.php#L94-L99", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/LdapAuthenticationTrait.php", "func_name": "LdapAuthenticationTrait.switchDomainBackIfNeeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the passed domain is not the current context, then switch back to it.\n\n@param string $domain", "docstring_tokens": ["If", "the", "passed", "domain", "is", "not", "the", "current", "context", "then", "switch", "back", "to", "it", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/LdapAuthenticationTrait.php#L106-L111", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/LdapAuthenticationTrait.php", "func_name": "LdapAuthenticationTrait.hideOrThrow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether or not the exception should be masked with a BadCredentials or not.\n\n@param \\Exception $e\n@param bool $hideUserNotFoundExceptions\n@throws \\Exception", "docstring_tokens": ["Determine", "whether", "or", "not", "the", "exception", "should", "be", "masked", "with", "a", "BadCredentials", "or", "not", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/LdapAuthenticationTrait.php#L120-L133", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/Firewall/LdapFormLoginListener.php", "func_name": "LdapFormLoginListener.getUsernamePasswordToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the UsernamePasswordToken based off the Request parameters.\n\n@param Request $request\n@return UsernamePasswordToken", "docstring_tokens": ["Get", "the", "UsernamePasswordToken", "based", "off", "the", "Request", "parameters", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/Firewall/LdapFormLoginListener.php#L125-L140", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/Firewall/LdapFormLoginListener.php", "func_name": "LdapFormLoginListener.addDomainToTokenIfPresent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the domain name for the login request to the token if specified.\n\n@param Request $request\n@param UsernamePasswordToken $token", "docstring_tokens": ["Add", "the", "domain", "name", "for", "the", "login", "request", "to", "the", "token", "if", "specified", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/Firewall/LdapFormLoginListener.php#L148-L158", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Doctrine/Subscriber/LdapObjectSubscriber.php", "func_name": "LdapObjectSubscriber.transformValueForDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles transforming the value as it currently is to the value the DB expects.\n\n@param LifecycleEventArgs $args", "docstring_tokens": ["Handles", "transforming", "the", "value", "as", "it", "currently", "is", "to", "the", "value", "the", "DB", "expects", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Doctrine/Subscriber/LdapObjectSubscriber.php#L103-L114", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Doctrine/Subscriber/LdapObjectSubscriber.php", "func_name": "LdapObjectSubscriber.getLdapObjectAnnotationProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the properties from the entity that have a LdapObject annotation defined.\n\n@param object $entity\n@param ObjectManager $om\n@return array", "docstring_tokens": ["Get", "all", "the", "properties", "from", "the", "entity", "that", "have", "a", "LdapObject", "annotation", "defined", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Doctrine/Subscriber/LdapObjectSubscriber.php#L123-L136", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Doctrine/Subscriber/LdapObjectSubscriber.php", "func_name": "LdapObjectSubscriber.setLdapObjectForProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Based on an array of IDs for LDAP objects, set the property to either a LdapObject for LdapObjectCollection.\n\n@param \\ReflectionProperty $property\n@param LdapObjectAnnotation $annotation\n@param $entity", "docstring_tokens": ["Based", "on", "an", "array", "of", "IDs", "for", "LDAP", "objects", "set", "the", "property", "to", "either", "a", "LdapObject", "for", "LdapObjectCollection", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Doctrine/Subscriber/LdapObjectSubscriber.php#L145-L162", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Doctrine/Subscriber/LdapObjectSubscriber.php", "func_name": "LdapObjectSubscriber.setLdapValueForProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the specified ID for each LDAP object and save it to an array.\n\n@param \\ReflectionProperty $property\n@param LdapObjectAnnotation $annotation\n@param $entity", "docstring_tokens": ["Get", "the", "specified", "ID", "for", "each", "LDAP", "object", "and", "save", "it", "to", "an", "array", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Doctrine/Subscriber/LdapObjectSubscriber.php#L171-L190", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "LdapToolsBundle.php", "func_name": "LdapToolsBundle.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make Symfony aware of the LDAP listener factory and add the compiler pass.\n\n@param ContainerBuilder $container", "docstring_tokens": ["Make", "Symfony", "aware", "of", "the", "LDAP", "listener", "factory", "and", "add", "the", "compiler", "pass", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/LdapToolsBundle.php#L55-L62", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Form/ChoiceLoader/LdapObjectChoiceTrait.php", "func_name": "LdapObjectChoiceTrait.getLdapValuesForChoices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the values of a set of choices.\n\n@param LdapObject[] $choices\n@return array", "docstring_tokens": ["Get", "the", "values", "of", "a", "set", "of", "choices", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Form/ChoiceLoader/LdapObjectChoiceTrait.php#L72-L81", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Form/ChoiceLoader/LdapObjectChoiceTrait.php", "func_name": "LdapObjectChoiceTrait.getLdapObjectsByQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the LDAP objects from LDAP. Optionally only get those specified by the passed values.\n\n@param array $values The values used to narrow the LDAP query.\n@return \\LdapTools\\Object\\LdapObjectCollection", "docstring_tokens": ["Get", "the", "LDAP", "objects", "from", "LDAP", ".", "Optionally", "only", "get", "those", "specified", "by", "the", "passed", "values", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Form/ChoiceLoader/LdapObjectChoiceTrait.php#L89-L110", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Log/LdapProfilerLogger.php", "func_name": "LdapProfilerLogger.getOperations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the operations recorded by the profiler. Or get the operations for a specific domain.\n\n@param null|string $domain\n@return LogOperation[]", "docstring_tokens": ["Get", "all", "of", "the", "operations", "recorded", "by", "the", "profiler", ".", "Or", "get", "the", "operations", "for", "a", "specific", "domain", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Log/LdapProfilerLogger.php#L66-L75", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/User/LdapRoleMapper.php", "func_name": "LdapRoleMapper.setRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the roles for the user based on LDAP group membership.\n\n@param LdapUserInterface $user\n@return LdapUserInterface", "docstring_tokens": ["Set", "the", "roles", "for", "the", "user", "based", "on", "LDAP", "group", "membership", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapRoleMapper.php#L62-L83", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/User/LdapRoleMapper.php", "func_name": "LdapRoleMapper.hasGroupForRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check all of the groups that are valid for a specific role against all of the LDAP groups that the user belongs\nto.\n\n@param array $roleGroups\n@param LdapObjectCollection $ldapGroups\n@return bool", "docstring_tokens": ["Check", "all", "of", "the", "groups", "that", "are", "valid", "for", "a", "specific", "role", "against", "all", "of", "the", "LDAP", "groups", "that", "the", "user", "belongs", "to", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapRoleMapper.php#L93-L112", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Security/User/LdapRoleMapper.php", "func_name": "LdapRoleMapper.hasGroupWithAttributeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check each LDAP group to see if any of them have an attribute with a specific value.\n\n@param LdapObjectCollection $groups\n@param string $attribute\n@param string $value\n@return bool", "docstring_tokens": ["Check", "each", "LDAP", "group", "to", "see", "if", "any", "of", "them", "have", "an", "attribute", "with", "a", "specific", "value", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Security/User/LdapRoleMapper.php#L122-L134", "partition": "test"} +{"repo": "ldaptools/ldaptools-bundle", "path": "Log/LdapLogger.php", "func_name": "LdapLogger.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs a message.\n\n@param LogOperation $log", "docstring_tokens": ["Logs", "a", "message", "."], "sha": "eaa445aa551c321b9689614ac32101c3e3cf0298", "url": "https://github.com/ldaptools/ldaptools-bundle/blob/eaa445aa551c321b9689614ac32101c3e3cf0298/Log/LdapLogger.php#L76-L85", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.saveMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the media to disk and DB\n\n@param $file object\nThe Symfony\\Component\\HttpFoundation\\File\\UploadedFile Object\n\n@param $group string\nThe group of file being uploaded, to allow for say a profile picture and a\nbackground to be uploaded for a user\n\n@param $type string\nIf the field is for a single file that gets deleted set it to 'single',\nor if it is a multiple file upload, set it to 'multiple'\n\n@param $options array\nAn array of extra options for the file\n\n@return object\nThe Devfactory\\Media\\Models\\Media Object", "docstring_tokens": ["Save", "the", "media", "to", "disk", "and", "DB"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L80-L99", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.updateMediaById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the meta data of a certain media file.\n\n@param $id int\nThe ID of the media item to update\n\n@param $options array\nAn key => value array of elements in the DB to change, key must be one of:\n'alt', 'title', 'name', 'weight'\n\n@return void", "docstring_tokens": ["Update", "the", "meta", "data", "of", "a", "certain", "media", "file", "."], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L113-L127", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the media assigned to the current model instance\n\n@param $group string\nThe file group to retrieve\n\n@return object\nA Illuminate\\Database\\Eloquent\\Collection Object of\nDevfactory\\Media\\Models\\Media Objects", "docstring_tokens": ["Get", "all", "the", "media", "assigned", "to", "the", "current", "model", "instance"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L139-L145", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.removeMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform the actual delete of the database row and removal of the\nfile from the filesystem\n\n@param $group string\nThe file group to delete\n\n@return bool", "docstring_tokens": ["Perform", "the", "actual", "delete", "of", "the", "database", "row", "and", "removal", "of", "the", "file", "from", "the", "filesystem"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L245-L254", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the optional arguments and merge them with the defaults", "docstring_tokens": ["Parse", "the", "optional", "arguments", "and", "merge", "them", "with", "the", "defaults"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L259-L270", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to process the media filename according to the settings\n\n@return string\nThe parsed filename", "docstring_tokens": ["Helper", "function", "to", "process", "the", "media", "filename", "according", "to", "the", "settings"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L278-L292", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.fileExistsRename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a file exists and creates a new name if it does\n\n@return string\nThe uniquely named file", "docstring_tokens": ["Checks", "if", "a", "file", "exists", "and", "creates", "a", "new", "name", "if", "it", "does"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L300-L306", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.fileRename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends _X to the file's basename if it already exists\n\n@return string\nThe newly renamed file", "docstring_tokens": ["Appends", "_X", "to", "the", "file", "s", "basename", "if", "it", "already", "exists"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L314-L326", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getAlt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the alt text for the file, from options, then from db, otherwise ''\n\n@return string\nThe Alt text", "docstring_tokens": ["Get", "the", "alt", "text", "for", "the", "file", "from", "options", "then", "from", "db", "otherwise"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L334-L344", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Title text for the file, from options, then from db, otherwise ''\n\n@return string\nThe Title text", "docstring_tokens": ["Get", "the", "Title", "text", "for", "the", "file", "from", "options", "then", "from", "db", "otherwise"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L352-L362", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Name text for the file, from options, then from db, otherwise ''\n\n@return string\nThe Name text", "docstring_tokens": ["Get", "the", "Name", "text", "for", "the", "file", "from", "options", "then", "from", "db", "otherwise"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L370-L380", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.getWeight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the weight of the image from options, then from existing media,\nthen compared to others in the group\n\n@return int\nThe weight of the image", "docstring_tokens": ["Calculate", "the", "weight", "of", "the", "image", "from", "options", "then", "from", "existing", "media", "then", "compared", "to", "others", "in", "the", "group"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L389-L399", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.databasePut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert the media into the database\n\n@return object\nDevfactory\\Media\\Models\\Media Object", "docstring_tokens": ["Insert", "the", "media", "into", "the", "database"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L407-L422", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.removeExistingMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove any media that already exists for the current group type\n\n@return int\nThe number of elements removed", "docstring_tokens": ["Remove", "any", "media", "that", "already", "exists", "for", "the", "current", "group", "type"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L430-L438", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.storagePut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the media to the file system", "docstring_tokens": ["Write", "the", "media", "to", "the", "file", "system"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L443-L447", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.storageClone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone a file from passed Media Object to a new Media location on disk\n\n@return bool\nTRUE if the file copied, FALSE if it could not be copied", "docstring_tokens": ["Clone", "a", "file", "from", "passed", "Media", "Object", "to", "a", "new", "Media", "location", "on", "disk"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L455-L461", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.makeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the passed directory if it doesn't exist\n\n@param $directory string\nThe full path of the directory to create\n\n@return bool\nTRUE if the directory exists, FALSE if it could not be created", "docstring_tokens": ["Creates", "the", "passed", "directory", "if", "it", "doesn", "t", "exist"], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L472-L478", "partition": "test"} +{"repo": "DevFactoryCH/media", "path": "src/MediaTrait.php", "func_name": "MediaTrait.cloneMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone an existing media item, onto a new model instance.\n\n@param object $media\nThe old Media that should be cloned to the current instance.\n@param bool $storage_clone\nOptionally, also copy the file in storage to a new, unique file\n@param $clone_attributes\nOptionally, override certain attributes on the clone\n\n@return \\Devfactory\\Media\\Models\\Media", "docstring_tokens": ["Clone", "an", "existing", "media", "item", "onto", "a", "new", "model", "instance", "."], "sha": "d30611fe32bc302616eec3e7db1c2df5d3542ba6", "url": "https://github.com/DevFactoryCH/media/blob/d30611fe32bc302616eec3e7db1c2df5d3542ba6/src/MediaTrait.php#L492-L506", "partition": "test"} +{"repo": "UniSharp/pricing", "path": "src/PricingServiceProvider.php", "func_name": "PricingServiceProvider.bootConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot configure.\n\n@return void", "docstring_tokens": ["Boot", "configure", "."], "sha": "0a044a3605f2b83481d1d45688897ed56c559265", "url": "https://github.com/UniSharp/pricing/blob/0a044a3605f2b83481d1d45688897ed56c559265/src/PricingServiceProvider.php#L43-L52", "partition": "test"} +{"repo": "Log1x/blade-svg-sage", "path": "src/BladeSvgSage.php", "func_name": "BladeSvgSage.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register BladeSvgSage and SvgFactory with the Sage container.\n\n@return void", "docstring_tokens": ["Register", "BladeSvgSage", "and", "SvgFactory", "with", "the", "Sage", "container", "."], "sha": "fb6f7e72d6a89a06960820f45397be319476ed42", "url": "https://github.com/Log1x/blade-svg-sage/blob/fb6f7e72d6a89a06960820f45397be319476ed42/src/BladeSvgSage.php#L39-L48", "partition": "test"} +{"repo": "Log1x/blade-svg-sage", "path": "src/BladeSvgSage.php", "func_name": "BladeSvgSage.directives", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Directives with Blade.\n\n@return void", "docstring_tokens": ["Register", "Directives", "with", "Blade", "."], "sha": "fb6f7e72d6a89a06960820f45397be319476ed42", "url": "https://github.com/Log1x/blade-svg-sage/blob/fb6f7e72d6a89a06960820f45397be319476ed42/src/BladeSvgSage.php#L55-L71", "partition": "test"} +{"repo": "Log1x/blade-svg-sage", "path": "src/BladeSvgSage.php", "func_name": "BladeSvgSage.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the config.\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Returns", "the", "config", "."], "sha": "fb6f7e72d6a89a06960820f45397be319476ed42", "url": "https://github.com/Log1x/blade-svg-sage/blob/fb6f7e72d6a89a06960820f45397be319476ed42/src/BladeSvgSage.php#L78-L90", "partition": "test"} +{"repo": "Log1x/blade-svg-sage", "path": "src/BladeSvgSage.php", "func_name": "BladeSvgSage.svg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the rendered SVG for the image specified.\n\n@param string $name\n@param string $class\n@param array $attrs\n@return mixed", "docstring_tokens": ["Returns", "the", "rendered", "SVG", "for", "the", "image", "specified", "."], "sha": "fb6f7e72d6a89a06960820f45397be319476ed42", "url": "https://github.com/Log1x/blade-svg-sage/blob/fb6f7e72d6a89a06960820f45397be319476ed42/src/BladeSvgSage.php#L121-L128", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.ResultTransmitter.php", "func_name": "taoQtiCommon_helpers_ResultTransmitter.transmitItemVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transmit a QtiSm Runtime Variable to the target Result Server as an Item Result.\n\n@param mixed $variables QtiSm Runtime Variable(s).\n@param string $transmissionId A unique identifier that identifies uniquely the visited item.\n@param string $itemUri An optional URI that identifies uniquely the item the $variable comes from.\n@param string $testUri An optional URL that identifies uniquely the test the $variable comes from.\n@throws taoQtiCommon_helpers_ResultTransmissionException If an error occurs while transmitting the Variable to the target Result Server.", "docstring_tokens": ["Transmit", "a", "QtiSm", "Runtime", "Variable", "to", "the", "target", "Result", "Server", "as", "an", "Item", "Result", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.ResultTransmitter.php#L81-L132", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.ResultTransmitter.php", "func_name": "taoQtiCommon_helpers_ResultTransmitter.transformValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a QTI Datatype value to a value compliant\nwith result server.\n\n@param mixed $value\n@return string", "docstring_tokens": ["Transform", "a", "QTI", "Datatype", "value", "to", "a", "value", "compliant", "with", "result", "server", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.ResultTransmitter.php#L179-L192", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.PciStateOutput.php", "func_name": "taoQtiCommon_helpers_PciStateOutput.addVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a variable to be transformed into its IMS PCI JSON Representation\nfor a later output.\n\n@param Variable $variable", "docstring_tokens": ["Add", "a", "variable", "to", "be", "transformed", "into", "its", "IMS", "PCI", "JSON", "Representation", "for", "a", "later", "output", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.PciStateOutput.php#L45-L50", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.Utils.php", "func_name": "taoQtiCommon_helpers_Utils.isQtiFilePlaceHolder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Whether or not a given QTI Variable contains the QTI Placeholder File.\n\n@param Variable $variable\n@return boolean", "docstring_tokens": ["Whether", "or", "not", "a", "given", "QTI", "Variable", "contains", "the", "QTI", "Placeholder", "File", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.Utils.php#L114-L131", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.Utils.php", "func_name": "taoQtiCommon_helpers_Utils.isQtiFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Whether or not a given QTI Variable contains a QTI File value.\n\n@param Variable $variable\n@param boolean $considerNull Whether or not to consider File variables containing NULL variables.\n@return boolean", "docstring_tokens": ["Whether", "or", "not", "a", "given", "QTI", "Variable", "contains", "a", "QTI", "File", "value", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.Utils.php#L140-L147", "partition": "test"} +{"repo": "oat-sa/lib-tao-qti", "path": "helpers/class.Utils.php", "func_name": "taoQtiCommon_helpers_Utils.toQtiDatatype", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a TAO serialized result value to its QtiDatatype equivalent.\n\nThis method transforms a TAO serialized result $value to a the equivalent QtiDatatype depending\non result's $cardinality and $baseType.\n\nNote: at the present time, this implementation only supports 'single', 'multiple', and 'ordered' cardinality in conjunction\nwith the 'identifier', 'boolean', 'pair' or 'directedPair' baseType.\n\n@param string $cardinality i.e. 'ordered', 'multiple' or 'single'.\n@param string $basetype i.e. 'identifier'\n@param string $value A TAO serialized result value e.g. ''\n@return mixed A QtiDatatype object or null in case of no possibility to transform $value in the appropriate target $cardinality and $basetype.", "docstring_tokens": ["Transform", "a", "TAO", "serialized", "result", "value", "to", "its", "QtiDatatype", "equivalent", "."], "sha": "5f39b0c9b2143caef1de1f56983f29e2c89654ec", "url": "https://github.com/oat-sa/lib-tao-qti/blob/5f39b0c9b2143caef1de1f56983f29e2c89654ec/helpers/class.Utils.php#L163-L230", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRevision.php", "func_name": "ObjectRevision.createFromObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new revision from an object\n\n1. Load the last revision\n2. Load the current item from DB\n3. Create diff from (1) and (2).\n\n@param RevisionableInterface $obj The object to create the revision from.\n@return ObjectRevision Chainable", "docstring_tokens": ["Create", "a", "new", "revision", "from", "an", "object"], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRevision.php#L321-L341", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRevision.php", "func_name": "ObjectRevision.recursiveDiff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursive arrayDiff.\n\n@param array $array1 First array.\n@param array $array2 Second Array.\n@return array The array diff.", "docstring_tokens": ["Recursive", "arrayDiff", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRevision.php#L367-L404", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.setIp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the client IP address.\n\n@param integer|null $ip The remote IP at object creation.\n@return UserDataInterface Chainable", "docstring_tokens": ["Set", "the", "client", "IP", "address", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L78-L96", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.setLang", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the origin language.\n\n@param string $lang The language code.\n@throws InvalidArgumentException If the argument is not a string.\n@return UserDataInterface Chainable", "docstring_tokens": ["Set", "the", "origin", "language", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L115-L128", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.setOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the origin of the object submission.\n\n@param string $origin The source URL or identifier of the submission.\n@throws InvalidArgumentException If the argument is not a string.\n@return UserDataInterface Chainable", "docstring_tokens": ["Set", "the", "origin", "of", "the", "object", "submission", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L147-L160", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.resolveOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the origin of the user data.\n\n@return string", "docstring_tokens": ["Resolve", "the", "origin", "of", "the", "user", "data", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L167-L183", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.setTs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set when the object was created.\n\n@param DateTimeInterface|string|null $timestamp The timestamp at object's creation.\nNULL is accepted and instances of DateTimeInterface are recommended;\nany other value will be converted (if possible) into one.\n@throws InvalidArgumentException If the timestamp is invalid.\n@return UserDataInterface Chainable", "docstring_tokens": ["Set", "when", "the", "object", "was", "created", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L204-L231", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/UserData.php", "func_name": "UserData.preSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Event called before _creating_ the object.\n\n@see Charcoal\\Source\\StorableTrait::preSave() For the \"create\" Event.\n@return boolean", "docstring_tokens": ["Event", "called", "before", "_creating_", "the", "object", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/UserData.php#L249-L264", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectSchedule.php", "func_name": "ObjectSchedule.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the item.\n\n@param callable $callback An optional callback routine executed after the item is processed.\n@param callable $successCallback An optional callback routine executed when the item is resolved.\n@param callable $failureCallback An optional callback routine executed when the item is rejected.\n@return boolean|null Success / Failure, or null in case of a skipped item.", "docstring_tokens": ["Process", "the", "item", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectSchedule.php#L330-L390", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.preUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Event called before _updating_ the object.\n\n@see Charcoal\\Source\\StorableTrait::preUpdate() For the \"update\" Event.\n@param array $properties Optional. The list of properties to update.\n@return boolean", "docstring_tokens": ["Event", "called", "before", "_updating_", "the", "object", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L174-L180", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.isSlugUnique", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the current slug is unique.\n\n@return boolean", "docstring_tokens": ["Determine", "if", "the", "current", "slug", "is", "unique", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L187-L222", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.generateUniqueSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a unique URL slug for routable object.\n\n@return self", "docstring_tokens": ["Generate", "a", "unique", "URL", "slug", "for", "routable", "object", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L229-L242", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.setSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object route URI.\n\n@param string|null $slug The route.\n@throws InvalidArgumentException If the slug argument is not a string.\n@return self", "docstring_tokens": ["Set", "the", "object", "route", "URI", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L277-L292", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.setCreationDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the route's last creation date.\n\n@param string|DateTimeInterface|null $time The date/time value.\n@throws InvalidArgumentException If the date/time value is invalid.\n@return self", "docstring_tokens": ["Set", "the", "route", "s", "last", "creation", "date", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L314-L342", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.setLastModificationDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the route's last modification date.\n\n@param string|DateTimeInterface|null $time The date/time value.\n@throws InvalidArgumentException If the date/time value is invalid.\n@return self", "docstring_tokens": ["Set", "the", "route", "s", "last", "modification", "date", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L351-L379", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/ObjectRoute.php", "func_name": "ObjectRoute.setRouteOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Customize the template's options.\n\n@param mixed $options Template options.\n@return self", "docstring_tokens": ["Customize", "the", "template", "s", "options", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/ObjectRoute.php#L426-L435", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.setMaster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set this object's immediate parent.\n\n@param mixed $master The object's parent (or master).\n@throws UnexpectedValueException The current object cannot be its own parent.\n@return HierarchicalInterface Chainable", "docstring_tokens": ["Set", "this", "object", "s", "immediate", "parent", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L72-L90", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.children", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the children directly under this object.\n@return array", "docstring_tokens": ["Get", "the", "children", "directly", "under", "this", "object", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L307-L315", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.siblings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the objects on the same level as this one.\n@return array", "docstring_tokens": ["Get", "all", "the", "objects", "on", "the", "same", "level", "as", "this", "one", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L370-L385", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.loadObjectFromSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an object from the storage source by its ID.\n\n@param mixed $id The object id.\n@return null|HierarchicalInterface", "docstring_tokens": ["Retrieve", "an", "object", "from", "the", "storage", "source", "by", "its", "ID", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L445-L455", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.loadObjectFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an object from the cache store by its ID.\n\n@param mixed $id The object id.\n@return null|HierarchicalInterface", "docstring_tokens": ["Retrieve", "an", "object", "from", "the", "cache", "store", "by", "its", "ID", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L463-L471", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/HierarchicalTrait.php", "func_name": "HierarchicalTrait.addObjectToCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an object to the cache store.\n\n@param ModelInterface $obj The object to store.\n@return HierarchicalInterface Chainable", "docstring_tokens": ["Add", "an", "object", "to", "the", "cache", "store", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/HierarchicalTrait.php#L479-L484", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/CategoryTrait.php", "func_name": "CategoryTrait.categoryItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the category items, directly within it.\n\n@return \\Charcoal\\Object\\CategorizableInterface[]|array A list of `CategorizableInterface` objects", "docstring_tokens": ["Retrieves", "the", "category", "items", "directly", "within", "it", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/CategoryTrait.php#L80-L86", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.slugPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the object's URL slug pattern.\n\n@throws Exception If a slug pattern is not defined.\n@return \\Charcoal\\Translator\\Translation|null", "docstring_tokens": ["Retrieve", "the", "object", "s", "URL", "slug", "pattern", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L111-L129", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.slugPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve route prefix for the object's URL slug pattern.\n\n@return \\Charcoal\\Translator\\Translation|null", "docstring_tokens": ["Retrieve", "route", "prefix", "for", "the", "object", "s", "URL", "slug", "pattern", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L136-L147", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.slugSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve route suffix for the object's URL slug pattern.\n\n@return \\Charcoal\\Translator\\Translation|null", "docstring_tokens": ["Retrieve", "route", "suffix", "for", "the", "object", "s", "URL", "slug", "pattern", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L154-L165", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.isSlugEditable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the slug is editable.\n\n@return boolean", "docstring_tokens": ["Determine", "if", "the", "slug", "is", "editable", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L172-L185", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.setSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object's URL slug.\n\n@param mixed $slug The slug.\n@return RoutableInterface Chainable", "docstring_tokens": ["Set", "the", "object", "s", "URL", "slug", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L193-L213", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.generateSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a URL slug from the object's URL slug pattern.\n\n@throws UnexpectedValueException If the slug is empty.\n@return \\Charcoal\\Translator\\Translation", "docstring_tokens": ["Generate", "a", "URL", "slug", "from", "the", "object", "s", "URL", "slug", "pattern", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L231-L272", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.generateRoutePattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a route from the given pattern.\n\n@uses self::parseRouteToken() If a view renderer is unavailable.\n@param string $pattern The slug pattern.\n@return string Returns the generated route.", "docstring_tokens": ["Generate", "a", "route", "from", "the", "given", "pattern", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L281-L290", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.filterRouteToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter the given value for a URI.\n\n@used-by self::parseRouteToken() To resolve the token's value.\n@param mixed $value A value to filter.\n@param string $token The parsed token.\n@return string The filtered $value.", "docstring_tokens": ["Filter", "the", "given", "value", "for", "a", "URI", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L341-L358", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.generateObjectRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Route generation.\n\nSaves all routes to {@see \\Charcoal\\Object\\ObjectRoute}.\n\n@param mixed $slug Slug by langs.\n@param array $data Object route custom data.\n@throws InvalidArgumentException If the slug is invalid.\n@return void", "docstring_tokens": ["Route", "generation", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L370-L444", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the object's URI.\n\n@param string|null $lang If object is multilingual, return the object route for the specified locale.\n@return string", "docstring_tokens": ["Retrieve", "the", "object", "s", "URI", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L511-L525", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.slugify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a string into a slug.\n\n@param string $str The string to slugify.\n@return string The slugified string.", "docstring_tokens": ["Convert", "a", "string", "into", "a", "slug", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L533-L592", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.finalizeSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finalize slug.\n\nAdds any prefix and suffix defined in the routable configuration set.\n\n@param string $slug A slug.\n@throws UnexpectedValueException If the slug affixes are invalid.\n@return string", "docstring_tokens": ["Finalize", "slug", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L603-L626", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.deleteObjectRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all object routes.\n\nShould be called on object deletion {@see \\Charcoal\\Model\\AbstractModel::preDelete()}.\n\n@return boolean Success or failure.", "docstring_tokens": ["Delete", "all", "object", "routes", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L635-L664", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RoutableTrait.php", "func_name": "RoutableTrait.createRouteObjectCollectionLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a route collection loader.\n\n@return CollectionLoader", "docstring_tokens": ["Create", "a", "route", "collection", "loader", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RoutableTrait.php#L671-L680", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/RevisionableTrait.php", "func_name": "RevisionableTrait.allRevisions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves all revisions for the current objet\n\n@param callable $callback Optional object callback.\n@return array", "docstring_tokens": ["Retrieves", "all", "revisions", "for", "the", "current", "objet"], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/RevisionableTrait.php#L140-L156", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/PublishableTrait.php", "func_name": "PublishableTrait.setPublishDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object's publication date.\n\n@param string|DateTimeInterface|null $time The date/time value.\n@throws UnexpectedValueException If the date/time value is invalid.\n@throws InvalidArgumentException If the value is not a date/time instance.\n@return PublishableInterface Chainable", "docstring_tokens": ["Set", "the", "object", "s", "publication", "date", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/PublishableTrait.php#L47-L74", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/PublishableTrait.php", "func_name": "PublishableTrait.setExpiryDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object's expiration date.\n\n@param string|DateTimeInterface|null $time The date/time value.\n@throws UnexpectedValueException If the date/time value is invalid.\n@throws InvalidArgumentException If the value is not a date/time instance.\n@return PublishableInterface Chainable", "docstring_tokens": ["Set", "the", "object", "s", "expiration", "date", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/PublishableTrait.php#L94-L121", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/PublishableTrait.php", "func_name": "PublishableTrait.setPublishStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object's publication status.\n\n@param string $status A publication status.\n@throws InvalidArgumentException If the status is invalid.\n@return PublishableInterface Chainable", "docstring_tokens": ["Set", "the", "object", "s", "publication", "status", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/PublishableTrait.php#L140-L173", "partition": "test"} +{"repo": "locomotivemtl/charcoal-object", "path": "src/Charcoal/Object/PublishableTrait.php", "func_name": "PublishableTrait.publishDateStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the object's publication status based on publication and expiration dates.\n\n- If the publication status is not \"published\", that status is returned (e.g., \"draft\", \"pending\", NULL).\n- If no publication date is set, then it's assumed to be always published (or \"expired\").\n- If no expiration date is set, then it's assumed to never expire.\n- If a publication date is set to a future date, then it's assumed to be scheduled to be published (\"upcoming\").\n\n@return string|null", "docstring_tokens": ["Retrieve", "the", "object", "s", "publication", "status", "based", "on", "publication", "and", "expiration", "dates", "."], "sha": "11c459d0e1519de215ca1c18301ee8f5e8d1e09b", "url": "https://github.com/locomotivemtl/charcoal-object/blob/11c459d0e1519de215ca1c18301ee8f5e8d1e09b/src/Charcoal/Object/PublishableTrait.php#L195-L223", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Help.php", "func_name": "Help.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the admin help pagge\n@return void", "docstring_tokens": ["Renders", "the", "admin", "help", "pagge"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Help.php#L61-L123", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Utilities.php", "func_name": "Utilities.rewrite_routes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rewrite the app's routes\n@return void", "docstring_tokens": ["Rewrite", "the", "app", "s", "routes"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Utilities.php#L73-L96", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/DataExport/SourceResponse.php", "func_name": "SourceResponse.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the pointer in the data set to the beginning", "docstring_tokens": ["Resets", "the", "pointer", "in", "the", "data", "set", "to", "the", "beginning"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/DataExport/SourceResponse.php#L214-L223", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/DataExport/SourceResponse.php", "func_name": "SourceResponse.getNextItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the next item in the data set, passing it to the formatter, if defined\n\n@return \\stdClass", "docstring_tokens": ["Returns", "the", "next", "item", "in", "the", "data", "set", "passing", "it", "to", "the", "formatter", "if", "defined"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/DataExport/SourceResponse.php#L232-L246", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Logs.php", "func_name": "Logs.site", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Route site log pages\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Route", "site", "log", "pages"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Logs.php#L71-L89", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Logs.php", "func_name": "Logs.siteIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Browse site log files\n@return void", "docstring_tokens": ["Browse", "site", "log", "files"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Logs.php#L97-L113", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Logs.php", "func_name": "Logs.siteView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View a single log file", "docstring_tokens": ["View", "a", "single", "log", "file"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Logs.php#L120-L140", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Logs.php", "func_name": "Logs.event", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Browse Site Events\n@return void", "docstring_tokens": ["Browse", "Site", "Events"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Logs.php#L148-L228", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.permissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of extra permissions for this controller\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "extra", "permissions", "for", "this", "controller"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L366-L379", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Browse all items\n\n@return void", "docstring_tokens": ["Browse", "all", "items"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L388-L466", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an item\n\n@return void", "docstring_tokens": ["Delete", "an", "item"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L719-L776", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.restore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore an item\n\n@return void", "docstring_tokens": ["Restore", "an", "item"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L785-L822", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort items into order\n\n@return void", "docstring_tokens": ["Sort", "items", "into", "order"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L831-L892", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.localisedItemCanBeDeleted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether a localised item can be delted\n\n@param Resource $oItem The item to test\n\n@return bool\n@throws FactoryException", "docstring_tokens": ["Determines", "whether", "a", "localised", "item", "can", "be", "delted"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1152-L1165", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.getTitleSingle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the string to use as the \"single\" title\n\n@return string", "docstring_tokens": ["Returns", "the", "string", "to", "use", "as", "the", "single", "title"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1174-L1185", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.indexDropdownFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Any dropdown style filters to include on the index page\n\n@return array", "docstring_tokens": ["Any", "dropdown", "style", "filters", "to", "include", "on", "the", "index", "page"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1282-L1307", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.getPostObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract data from post variable\n\n@return array", "docstring_tokens": ["Extract", "data", "from", "post", "variable"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1541-L1576", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.getItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the item being requested, thorwing a 404 if it's not found\n\n@param array $aData Data to pass to the getById method\n@param integer $iSegment The URL segment contianing the ID\n\n@return mixed\n@throws FactoryException", "docstring_tokens": ["Returns", "the", "item", "being", "requested", "thorwing", "a", "404", "if", "it", "s", "not", "found"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1589-L1620", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/DefaultController.php", "func_name": "DefaultController.returnToIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the user to the index pagel if a referrer is available then go there instead\nThis is useful for returning the user to a filtered view\n\n@throws FactoryException", "docstring_tokens": ["Returns", "the", "user", "to", "the", "index", "pagel", "if", "a", "referrer", "is", "available", "then", "go", "there", "instead", "This", "is", "useful", "for", "returning", "the", "user", "to", "a", "filtered", "view"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/DefaultController.php#L1672-L1682", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Factory/IndexFilter.php", "func_name": "IndexFilter.addOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new option\n\n@param string|Option $sLabel The label to give the option, or an IndexFilterOption object\n@param mixed $mValue The value to give the option\n@param bool $bIsSelected Whether the item is selected\n@param bool $bIsQuery If true, treat the value as the entire query\n\n@return $this", "docstring_tokens": ["Adds", "a", "new", "option"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Factory/IndexFilter.php#L105-L118", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Factory/IndexFilter.php", "func_name": "IndexFilter.addOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add multiple options\n\n@param array $aOptions An array of options to add\n\n@return $this", "docstring_tokens": ["Add", "multiple", "options"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Factory/IndexFilter.php#L129-L144", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Factory/IndexFilter.php", "func_name": "IndexFilter.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific option\n\n@param integer $iOptionIndex the option index to return\n\n@return mixed|null", "docstring_tokens": ["Returns", "a", "specific", "option"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Factory/IndexFilter.php#L167-L170", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Factory/IndexFilter/Option.php", "func_name": "Option.handleMethodCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the appropriate \"method\" behaviour\n\n@param array $aMethods The array of methods to check against\n@param string $sMethod The method being called\n@param mixed $mValue The value to assign when setting\n\n@return $this|mixed", "docstring_tokens": ["Executes", "the", "appropriate", "method", "behaviour"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Factory/IndexFilter/Option.php#L118-L126", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Export.php", "func_name": "Export.setBatchStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the status of multiple request items in a batch\n\n@param array $aIds The requests to update\n@param string $sStatus The status to set\n@param string $sError Any error message to set", "docstring_tokens": ["Updates", "the", "status", "of", "multiple", "request", "items", "in", "a", "batch"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Export.php#L47-L62", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Export.php", "func_name": "Export.setBatchDownloadId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the download ID of multiple requests\n\n@param array $aIds The requests to update\n@param integer $iDownloadId The download ID", "docstring_tokens": ["Updates", "the", "download", "ID", "of", "multiple", "requests"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Export.php#L72-L84", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initial touch point for admin, all requests are routed through here.\n\n@return void", "docstring_tokens": ["Initial", "touch", "point", "for", "admin", "all", "requests", "are", "routed", "through", "here", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L90-L131", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.findAdminControllers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches modules and the app for valid admin controllers which the active\nuser has permission to access.\n\n@return void", "docstring_tokens": ["Searches", "modules", "and", "the", "app", "for", "valid", "admin", "controllers", "which", "the", "active", "user", "has", "permission", "to", "access", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L141-L173", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.loadAdminControllers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for admin controllers in specific locations\n\n@param string $moduleName The name of the module currently being searched\n@param string $controllerPath The full path to the controllers\n@param string $appPath If the app can extend these controllers, this is where it will place the file\n@param array $ignore An array of filenames to ignore\n\n@return void", "docstring_tokens": ["Looks", "for", "admin", "controllers", "in", "specific", "locations"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L187-L202", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.loadAdminController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a specific admin controller\n\n@param string $file The file to load\n@param string $moduleName The name of the module currently being searched\n@param string $controllerPath The full path to the controller\n@param string $appPath If the app can extend this controllers, this is where it will place the file\n\n@return void", "docstring_tokens": ["Loads", "a", "specific", "admin", "controller"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L247-L277", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.loadAdminClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to load an AdminClass\n\n@param string $fileName The filename of the class being loaded\n@param string $className The name of the class being loaded\n@param string $classPath The path of the class being loaded\n@param string $moduleName The name of the module to which this class belongs\n\n@throws RouterException\n@return boolean", "docstring_tokens": ["Attempts", "to", "load", "an", "AdminClass"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L307-L346", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/AdminRouter.php", "func_name": "AdminRouter.routeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes the request to the appropriate controller\n\n@return void", "docstring_tokens": ["Routes", "the", "request", "to", "the", "appropriate", "controller"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/AdminRouter.php#L530-L560", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a view in admin taking into account the module being accessed. Passes controller\ndata and optionally loads the header and footer views.\n\n@param string $sViewFile The view to load\n@param boolean $bLoadStructure Whether or not to include the header and footers in the output\n@param boolean $bReturnView Whether to return the view or send it to the Output class\n\n@return mixed String when $bReturnView is true, void otherwise\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Loads", "a", "view", "in", "admin", "taking", "into", "account", "the", "module", "being", "accessed", ".", "Passes", "controller", "data", "and", "optionally", "loads", "the", "header", "and", "footer", "views", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L36-L80", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadCsv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a CSV and sends to the browser, if a filename is given then it's\nsent as a download\n\n@param mixed $mData The data to render, either an array or a DB query object\n@param string $sFilename The filename to give the file if downloading\n@param boolean $bHeaderRow The first element in the $mData resultset is a header row\n\n@return void\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Generates", "a", "CSV", "and", "sends", "to", "the", "browser", "if", "a", "filename", "is", "given", "then", "it", "s", "sent", "as", "a", "download"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L95-L137", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadInlineView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a single view taking into account the module being accessed.\n\n@param string $sViewFile The view to load\n@param array $aViewData The data to pass to the view\n@param boolean $bReturnView Whether to return the view or send it to the Output class\n\n@throws \\Exception\n\n@return mixed String when $bReturnView is true, void otherwise", "docstring_tokens": ["Load", "a", "single", "view", "taking", "into", "account", "the", "module", "being", "accessed", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L152-L209", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadSearch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the admin \"search\" component\n\n@param \\stdClass $oSearchObj An object as created by self::searchObject();\n@param boolean $bReturnView Whether to return the view to the caller, or output to the browser\n\n@return mixed String when $bReturnView is true, void otherwise\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Loads", "the", "admin", "search", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L222-L238", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.searchFilterGetValueAtKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a value from a filter object at a specific key\n\n@param \\stdClass $oFilterObj The filter object to search\n@param integer $iKey The key to inspect\n\n@return mixed Mixed on success, null on failure", "docstring_tokens": ["Returns", "a", "value", "from", "a", "filter", "object", "at", "a", "specific", "key"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L352-L355", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadPagination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the admin \"pagination\" component\n\n@param \\stdClass $oPaginationObject An object as created by self::paginationObject();\n@param boolean $bReturnView Whether to return the view to the caller, or output to the browser\n\n@return mixed String when $bReturnView is true, void otherwise\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Loads", "the", "admin", "pagination", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L368-L379", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadCellAuto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically decides what type of cell to load\n\n@param mixed $mValue The value of the cell\n@param string $sCellClass Any classes to add to the cell\n@param string $sCellAdditional Any additional HTML to add to the cell (after the value)\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Automatically", "decides", "what", "type", "of", "cell", "to", "load"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L413-L425", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadUserCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the admin \"user\" table cell component\n\n@param mixed $mUser The user object or the User's ID/email/username\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "the", "admin", "user", "table", "cell", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L437-L468", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadDateCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the admin \"date\" table cell component\n\n@param string $sDate The date to render\n@param string $sNoData What to render if the date is invalid or empty\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "the", "admin", "date", "table", "cell", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L481-L490", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadDateTimeCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the admin \"dateTime\" table cell component\n\n@param string $sDateTime The dateTime to render\n@param string $sNoData What to render if the datetime is invalid or empty\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "the", "admin", "dateTime", "table", "cell", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L503-L512", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadBoolCell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the admin \"boolean\" table cell component\n\n@param string $value The value to 'truthy' test\n@param string $sDateTime A datetime to show (for truthy values only)\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "the", "admin", "boolean", "table", "cell", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L525-L534", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.loadSettingsComponentTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the admin \"settings component table\" component\n\n@param string $sComponentService The component service to use\n@param array $sProvider The model provider\n@param string $sComponentType The type of component being loaded\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "the", "admin", "settings", "component", "table", "component"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L548-L566", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.addHeaderButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a button to Admin's header area\n\n@param string $sUrl The button's URL\n@param string $sLabel The button's label\n@param string $sContext The button's context\n@param string $sConfirmTitle If a confirmation is required, the title to use\n@param string $sConfirmBody If a confirmation is required, the body to use", "docstring_tokens": ["Adds", "a", "button", "to", "Admin", "s", "header", "area"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L611-L627", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Helper.php", "func_name": "Helper.dynamicTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a dynamic table\n\n@param string $sKey The key to give items in the table\n@param array $aFields The fields to render\n@param array $aData Data to populate the table with\n\n@return string\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Generates", "a", "dynamic", "table"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Helper.php#L653-L665", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Nav.php", "func_name": "Nav.postSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the user's admin nav preferences\n@return \\Nails\\Api\\Factory\\ApiResponse", "docstring_tokens": ["Saves", "the", "user", "s", "admin", "nav", "preferences"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Nav.php#L44-L58", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Console/Command/DataExport/Create.php", "func_name": "Create.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the app\n\n@param InputInterface $oInput The Input Interface provided by Symfony\n@param OutputInterface $oOutput The Output Interface provided by Symfony\n\n@return int", "docstring_tokens": ["Executes", "the", "app"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Console/Command/DataExport/Create.php#L51-L82", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Console/Command/DataExport/Create.php", "func_name": "Create.createSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the Model\n\n@return void\n@throws \\Exception", "docstring_tokens": ["Create", "the", "Model"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Console/Command/DataExport/Create.php#L92-L118", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/DataExport/Format/Csv.php", "func_name": "Csv.formatRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes items to be written to the CSV\n\n@param \\stdClass|array $oRow The row to format\n\n@return string", "docstring_tokens": ["Escapes", "items", "to", "be", "written", "to", "the", "CSV"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/DataExport/Format/Csv.php#L73-L83", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Nav.php", "func_name": "Nav.addAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new action to the navGroup. An action is menu item essentially.\n\n@param string $label The label to give the action\n@param string $url The url this action applies to\n@param array $alerts An array of alerts to have along side this action\n@param mixed $order An optional order index, used to push menu items up and down the group\n\n@return Nav $this, for chaining", "docstring_tokens": ["Adds", "a", "new", "action", "to", "the", "navGroup", ".", "An", "action", "is", "menu", "item", "essentially", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Nav.php#L111-L124", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Admin.php", "func_name": "Admin.setAdminData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a piece of admin data\n\n@param string $key The key to set\n@param mixed $value The value to set\n@param mixed $userId The user's ID, if null active user is used.\n\n@return boolean", "docstring_tokens": ["Sets", "a", "piece", "of", "admin", "data"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Admin.php#L49-L52", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Admin.php", "func_name": "Admin.unsetAdminData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unsets a piece of admin data\n\n@param string $key The key to set\n@param mixed $userId The user's ID, if null active user is used.\n\n@return boolean", "docstring_tokens": ["Unsets", "a", "piece", "of", "admin", "data"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Admin.php#L64-L67", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Admin.php", "func_name": "Admin.setUnsetAdminData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the setting and unsetting of admin data\n\n@param string $key The key to set\n@param mixed $value The value to set\n@param mixed $userId The user's ID, if null active user is used.\n@param boolean $set Whether the data is being set or unset\n\n@return boolean", "docstring_tokens": ["Handles", "the", "setting", "and", "unsetting", "of", "admin", "data"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Admin.php#L81-L109", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/Admin.php", "func_name": "Admin.clearAdminData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Completely clears out the admin array\n\n@param mixed $userId The user's ID, if null active user is used.\n\n@return boolean", "docstring_tokens": ["Completely", "clears", "out", "the", "admin", "array"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/Admin.php#L187-L205", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/SiteLog.php", "func_name": "SiteLog.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of log files\n@return void", "docstring_tokens": ["Get", "a", "list", "of", "log", "files"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/SiteLog.php#L41-L71", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Ckeditor.php", "func_name": "Ckeditor.findConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for an app version of the file\n\n@param string $sFile The file name to search for\n\n@return string", "docstring_tokens": ["Looks", "for", "an", "app", "version", "of", "the", "file"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Ckeditor.php#L61-L71", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/Base.php", "func_name": "Base.loadJs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load all Admin orientated JS\n\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "all", "Admin", "orientated", "JS"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/Base.php#L136-L206", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/Base.php", "func_name": "Base.loadCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load all Admin orientated CSS\n\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "all", "Admin", "orientated", "CSS"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/Base.php#L215-L259", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/Base.php", "func_name": "Base.loadLibraries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load services required by admin\n\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Load", "services", "required", "by", "admin"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/Base.php#L268-L311", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/Base.php", "func_name": "Base.autoLoad", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autoload component items\n\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Autoload", "component", "items"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/Base.php#L320-L349", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Controller/Base.php", "func_name": "Base.backwardsCompatibility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides some backwards compatability\n\n@param \\stdClass $oBindTo The class to bind to", "docstring_tokens": ["Provides", "some", "backwards", "compatability"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Controller/Base.php#L358-L363", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Settings.php", "func_name": "Settings.site", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Manage Site settings\n\n@return void", "docstring_tokens": ["Manage", "Site", "settings"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Settings.php#L149-L215", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Settings.php", "func_name": "Settings.prepareWhitelist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a multi line input and converts it into an array\n\n@param string $sInput The input string\n\n@return array", "docstring_tokens": ["Takes", "a", "multi", "line", "input", "and", "converts", "it", "into", "an", "array"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Settings.php#L305-L322", "partition": "test"} +{"repo": "nails/module-admin", "path": "admin/controllers/Settings.php", "func_name": "Settings.extractFieldsets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively gets all the settings from the settings array\n\n@param string $sComponentSlug The component's slug\n@param array $aSettings The array of fieldsets and/or settings\n@param int $fieldSetIndex The index of the fieldset", "docstring_tokens": ["Recursively", "gets", "all", "the", "settings", "from", "the", "settings", "array"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/admin/controllers/Settings.php#L481-L517", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Service/DataExport.php", "func_name": "DataExport.getSourceBySlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific source by its slug\n\n@param $sSlug\n\n@return \\stdClass|null", "docstring_tokens": ["Returns", "a", "specific", "source", "by", "its", "slug"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Service/DataExport.php#L114-L123", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Service/DataExport.php", "func_name": "DataExport.getFormatBySlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific format by its slug\n\n@param $sSlug\n\n@return \\stdClass|null", "docstring_tokens": ["Returns", "a", "specific", "format", "by", "its", "slug"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Service/DataExport.php#L146-L155", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Service/DataExport.php", "func_name": "DataExport.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a DateExport source then passes to a DataExport format. Once complete\nthe resulting file is uploaded to the CDN and the object's ID returned.\n\n@param string $sSourceSlug The slug of the source to use\n@param string $sFormatSlug The slug of the format to use\n@param array $aOptions Additional options to pass to the source\n\n@return integer\n@throws NailsException", "docstring_tokens": ["Executes", "a", "DateExport", "source", "then", "passes", "to", "a", "DataExport", "format", ".", "Once", "complete", "the", "resulting", "file", "is", "uploaded", "to", "the", "CDN", "and", "the", "object", "s", "ID", "returned", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Service/DataExport.php#L170-L244", "partition": "test"} +{"repo": "nails/module-admin", "path": "cron/controllers/Export.php", "func_name": "Export.executionFailed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks a request as failed, recording why it failed and informs the recipients\n\n@param \\Exception $oException The exception whichw as thrown\n@param \\stdClass $oRequest The current request\n@param \\Nails\\Admin\\Model\\Export $oModel The data export model\n@param \\Nails\\Admin\\Factory\\Email\\DataExport $oEmail The email object", "docstring_tokens": ["Marks", "a", "request", "as", "failed", "recording", "why", "it", "failed", "and", "informs", "the", "recipients"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/cron/controllers/Export.php#L108-L126", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/ChangeLog.php", "func_name": "ChangeLog.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new changelog item\n\n@param string $sVerb The verb, e.g \"created\"\n@param string $sArticle\n@param string $sItem\n@param integer $iItemId The item's ID (e.g the blog post's ID)\n@param string $sTitle The title of the item (e.g the blog post's title)\n@param string $sUrl The url to the item (e.g the blog post's URL)\n@param string $sField\n@param mixed $mOldValue The old value\n@param mixed $mNewValue The new value\n@param boolean $bStrict whether or not to compare $mOldValue and $mNewValue strictly\n\n@return bool\n@throws \\Nails\\Common\\Exception\\FactoryException\n@throws \\Nails\\Common\\Exception\\ModelException", "docstring_tokens": ["Adds", "a", "new", "changelog", "item"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/ChangeLog.php#L86-L166", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/ChangeLog.php", "func_name": "ChangeLog.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the changelog items\n\n@throws \\Nails\\Common\\Exception\\FactoryException\n@throws \\Nails\\Common\\Exception\\ModelException", "docstring_tokens": ["Save", "the", "changelog", "items"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/ChangeLog.php#L176-L198", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/ChangeLog.php", "func_name": "ChangeLog.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches all objects, optionally paginated.\n\n@param integer $iPage The page number of the results, if null then no pagination\n@param integer $iPerPage How many items per page of paginated results\n@param array $aData Any data to pass to getCountCommon()\n@param bool $bIncludeDeleted Whetehr to include deleted items\n\n@return array", "docstring_tokens": ["Fetches", "all", "objects", "optionally", "paginated", "."], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/ChangeLog.php#L222-L243", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/ChangeLog.php", "func_name": "ChangeLog.getCountCommon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies common conditionals\n\n@param array $aData Data passed from the calling method\n\n@throws \\Nails\\Common\\Exception\\FactoryException", "docstring_tokens": ["Applies", "common", "conditionals"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/ChangeLog.php#L254-L281", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Model/ChangeLog.php", "func_name": "ChangeLog.formatObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats a single object\n\nThe getAll() method iterates over each returned item with this method so as to\ncorrectly format the output. Use this to cast integers and booleans and/or organise data into objects.\n\n@param object $oObj A reference to the object being formatted.\n@param array $aData The same data array which is passed to _getcount_common, for reference if needed\n@param array $aIntegers Fields which should be cast as integers if numerical and not null\n@param array $aBools Fields which should be cast as booleans if not null\n@param array $aFloats Fields which should be cast as floats if not null", "docstring_tokens": ["Formats", "a", "single", "object"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Model/ChangeLog.php#L297-L327", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Note.php", "func_name": "Note.getRemap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles GET requests\n\n@param string $sMethod The method being called\n@param array $aData Any data to apply to the requests\n\n@return ApiResponse\n@throws ApiException\n@throws FactoryException", "docstring_tokens": ["Handles", "GET", "requests"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Note.php#L45-L54", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Note.php", "func_name": "Note.validateUserInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates user input; adds the model to the response\n\n@param array $aData The user data to validate\n@param \\stdClass $oItem The current object (when editing)\n\n@return array\n@throws ApiException\n@throws FactoryException", "docstring_tokens": ["Validates", "user", "input", ";", "adds", "the", "model", "to", "the", "response"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Note.php#L91-L99", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Note.php", "func_name": "Note.getModelClassAndId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an arry of the model's class name and the item's ID\n\n@return array\n@throws ApiException\n@throws FactoryException", "docstring_tokens": ["Returns", "an", "arry", "of", "the", "model", "s", "class", "name", "and", "the", "item", "s", "ID"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Note.php#L110-L125", "partition": "test"} +{"repo": "nails/module-admin", "path": "src/Api/Controller/Note.php", "func_name": "Note.formatObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the response object\n\n@param \\stdClass $oObj The object to format\n\n@return \\stdClass", "docstring_tokens": ["Formats", "the", "response", "object"], "sha": "2ed8a91b5f05c86fcde21feb621cfafe391ee0c3", "url": "https://github.com/nails/module-admin/blob/2ed8a91b5f05c86fcde21feb621cfafe391ee0c3/src/Api/Controller/Note.php#L136-L148", "partition": "test"} +{"repo": "donatj/SimpleCalendar", "path": "lib/donatj/SimpleCalendar.php", "func_name": "SimpleCalendar.setDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the date for the calendar\n\n@param null|string $date_string Date string parsed by strtotime for the calendar date. If null set to current timestamp.", "docstring_tokens": ["Sets", "the", "date", "for", "the", "calendar"], "sha": "83ed70ffcadecc0f29e3f2068986ccec5d26738f", "url": "https://github.com/donatj/SimpleCalendar/blob/83ed70ffcadecc0f29e3f2068986ccec5d26738f/lib/donatj/SimpleCalendar.php#L41-L47", "partition": "test"} +{"repo": "donatj/SimpleCalendar", "path": "lib/donatj/SimpleCalendar.php", "func_name": "SimpleCalendar.addDailyHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a daily event to the calendar\n\n@param string $html The raw HTML to place on the calendar for this event\n@param string $start_date_string Date string for when the event starts\n@param null|string $end_date_string Date string for when the event ends. Defaults to start date", "docstring_tokens": ["Add", "a", "daily", "event", "to", "the", "calendar"], "sha": "83ed70ffcadecc0f29e3f2068986ccec5d26738f", "url": "https://github.com/donatj/SimpleCalendar/blob/83ed70ffcadecc0f29e3f2068986ccec5d26738f/lib/donatj/SimpleCalendar.php#L56-L74", "partition": "test"} +{"repo": "donatj/SimpleCalendar", "path": "lib/donatj/SimpleCalendar.php", "func_name": "SimpleCalendar.setStartOfWeek", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the first day of the week\n\n@param int|string $offset Day to start on, ex: \"Monday\" or 0-6 where 0 is Sunday", "docstring_tokens": ["Sets", "the", "first", "day", "of", "the", "week"], "sha": "83ed70ffcadecc0f29e3f2068986ccec5d26738f", "url": "https://github.com/donatj/SimpleCalendar/blob/83ed70ffcadecc0f29e3f2068986ccec5d26738f/lib/donatj/SimpleCalendar.php#L86-L92", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Debug.php", "func_name": "Debug.p", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print debug message\n\n@param string $str Debug message\n@param array $args (Optional) Value to dump\n@static\n@access public\n@return void", "docstring_tokens": ["Print", "debug", "message"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Debug.php#L36-L52", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Payments.php", "func_name": "Payments.submitBonus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submit a Custom Payment\n\n@param integer $teamReference Team reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Submit", "a", "Custom", "Payment"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Payments.php#L52-L60", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Activities/Engagement.php", "func_name": "Engagement.assign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign engagements to the list of activities\n\n@param string $company Company ID\n@param string $team Team ID\n@param integer $engagement Engagement\n@param array $params Parameters\n@return object", "docstring_tokens": ["Assign", "engagements", "to", "the", "list", "of", "activities"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Activities/Engagement.php#L70-L78", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Activities/Engagement.php", "func_name": "Engagement.assignToEngagement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign to specific engagement the list of activities\n\n@param integer $engagement Engagement\n@param array $params Parameters\n@return object", "docstring_tokens": ["Assign", "to", "specific", "engagement", "the", "list", "of", "activities"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Activities/Engagement.php#L87-L95", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Earnings.php", "func_name": "Earnings.getByFreelancer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Earning Reports for a Specific Freelancer\n\n@param integer $freelancerReference Freelancer reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Earning", "Reports", "for", "a", "Specific", "Freelancer"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Earnings.php#L52-L60", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Earnings.php", "func_name": "Earnings.getByFreelancersTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Earning Reports for a Specific Freelancer's Team\n\n@param integer $freelancerTeamReference Freelancer team reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Earning", "Reports", "for", "a", "Specific", "Freelancer", "s", "Team"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Earnings.php#L69-L77", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Earnings.php", "func_name": "Earnings.getByFreelancersCompany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Earning Reports for a Specific Freelancer's Company\n\n@param integer $freelancerCompanyReference Freelancer company reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Earning", "Reports", "for", "a", "Specific", "Freelancer", "s", "Company"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Earnings.php#L86-L94", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Earnings.php", "func_name": "Earnings.getByBuyersTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Earning Reports for a Specific Buyer's Team\n\n@param integer $buyerTeamReference Buyer team reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Earning", "Reports", "for", "a", "Specific", "Buyer", "s", "Team"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Earnings.php#L103-L111", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Earnings.php", "func_name": "Earnings.getByBuyersCompany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Earning Reports for a Specific Buyer's Company\n\n@param integer $buyerCompanyReference Buyer company reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Earning", "Reports", "for", "a", "Specific", "Buyer", "s", "Company"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Earnings.php#L120-L128", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Engagements.php", "func_name": "Engagements.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of engagements\n\n@param array $params Parameters\n@return object", "docstring_tokens": ["Get", "list", "of", "engagements"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Engagements.php#L51-L59", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Engagements.php", "func_name": "Engagements.getSpecific", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get specific engagement\n\n@param integer $reference Engagement's reference\n@return object", "docstring_tokens": ["Get", "specific", "engagement"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Engagements.php#L67-L75", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Utils.php", "func_name": "Utils.getFullUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get full url, based on global constant\n\n@param\tstring $url Relative URL\n@param\tstring $ep (Optional) Entry point\n@static\n@access\tpublic\n@return\tstring", "docstring_tokens": ["Get", "full", "url", "based", "on", "global", "constant"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Utils.php#L31-L43", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Freelancers/Offers.php", "func_name": "Offers.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of offers\n\n@param array $params Parameters\n@return object", "docstring_tokens": ["Get", "list", "of", "offers"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Freelancers/Offers.php#L51-L59", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Freelancers/Offers.php", "func_name": "Offers.actions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run a specific action\n\n@param integer $reference Offer reference\n@param array $params Prameters\n@return object", "docstring_tokens": ["Run", "a", "specific", "action"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Freelancers/Offers.php#L84-L92", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Finance/Accounts.php", "func_name": "Accounts.getSpecific", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Financial Reports for a Specific Account\n\n@param integer $entityReference Entity reference\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generate", "Financial", "Reports", "for", "a", "Specific", "Account"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Finance/Accounts.php#L69-L77", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Roles.php", "func_name": "Roles.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user roles\n\n@return object", "docstring_tokens": ["Get", "user", "roles"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Roles.php#L50-L58", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Roles.php", "func_name": "Roles.getBySpecificUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get by specific user\n\n@param integer $reference User reference\n@return object", "docstring_tokens": ["Get", "by", "specific", "user"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Roles.php#L66-L74", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Interviews.php", "func_name": "Interviews.invite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invite to Interview\n\n@param string $jobKey Job key\n@param array $params Parameters\n@return object", "docstring_tokens": ["Invite", "to", "Interview"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Interviews.php#L52-L60", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Time.php", "func_name": "Time.getByAgency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generating Agency Specific Reports\n\n@param string $company Company ID\n@param string $agency Agency ID\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generating", "Agency", "Specific", "Reports"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Time.php#L113-L118", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Reports/Time.php", "func_name": "Time.getByCompany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generating Company Wide Reports\n\n@param string $company Company ID\n@param array $params Parameters\n@return object", "docstring_tokens": ["Generating", "Company", "Wide", "Reports"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Reports/Time.php#L127-L132", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Organization/Teams.php", "func_name": "Teams.getUsersInTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Users in Team\n\n@param integer $teamReference Team reference\n@return object", "docstring_tokens": ["Get", "Users", "in", "Team"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Organization/Teams.php#L66-L74", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Jobs.php", "func_name": "Jobs.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of jobs\n\n@param array $params Parameters\n@return object", "docstring_tokens": ["Get", "list", "of", "jobs"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Jobs.php#L51-L59", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Jobs.php", "func_name": "Jobs.getSpecific", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get specific job by key\n\n@param string $key Job key\n@return object", "docstring_tokens": ["Get", "specific", "job", "by", "key"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Jobs.php#L67-L75", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Jobs.php", "func_name": "Jobs.postJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post a new job\n\n@param array $params Parameters\n@return object", "docstring_tokens": ["Post", "a", "new", "job"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Jobs.php#L83-L91", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Jobs.php", "func_name": "Jobs.editJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit existend job\n\n@param string $key Job key\n@param array $params Parameters\n@return object", "docstring_tokens": ["Edit", "existend", "job"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Jobs.php#L100-L108", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Jobs.php", "func_name": "Jobs.deleteJob", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete existend job\n\n@param string $key Job key\n@param array $params Parameters\n@return object", "docstring_tokens": ["Delete", "existend", "job"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Jobs.php#L117-L125", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Organization/Users.php", "func_name": "Users.getMyInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Auth User Info\n\n@return object", "docstring_tokens": ["Get", "Auth", "User", "Info"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Organization/Users.php#L50-L58", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Organization/Users.php", "func_name": "Users.getSpecific", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Specific User Info\n\n@param integer $userReference User Reference\n@return object", "docstring_tokens": ["Get", "Specific", "User", "Info"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Organization/Users.php#L66-L74", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Activities/Team.php", "func_name": "Team._getByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get by type\n\n@param string $company Company ID\n@param string $team Team ID\n@param string $code (Optional) Code(s)\n@return object", "docstring_tokens": ["Get", "by", "type"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Activities/Team.php#L53-L66", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.getRoomDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific room information\n\n@param string $company Company ID\n@param string $roomId Room ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Get", "a", "specific", "room", "information"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L70-L78", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.getRoomByOffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific room by offer ID\n\n@param string $company Company ID\n@param\tinteger $offerId Offer ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Get", "a", "specific", "room", "by", "offer", "ID"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L89-L97", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.getRoomByApplication", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific room by application ID\n\n@param string $company Company ID\n@param\tinteger $applicationId Application ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Get", "a", "specific", "room", "by", "application", "ID"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L108-L116", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.getRoomByContract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific room by contract ID\n\n@param string $company Company ID\n@param\tinteger $contractId Contract ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Get", "a", "specific", "room", "by", "contract", "ID"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L127-L135", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.createRoom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new room\n\n@param string $company Company ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Create", "a", "new", "room"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L145-L153", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.sendMessageToRoom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a message to a room\n\n@param string $company Company ID\n@param\tstring $roomId Room ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Send", "a", "message", "to", "a", "room"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L164-L172", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.updateRoomSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a room settings\n\n@param string $company Company ID\n@param\tstring $roomId Room ID\n@param\tstring $username User ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Update", "a", "room", "settings"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L184-L192", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Messages.php", "func_name": "Messages.updateRoomMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the metadata of a room\n\n@param string $company Company ID\n@param\tstring $roomId Room ID\n@param array $params List of parameters\n@access public\n@return object", "docstring_tokens": ["Update", "the", "metadata", "of", "a", "room"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Messages.php#L203-L211", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Snapshot.php", "func_name": "Snapshot.getByContract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get snapshot info by specific contract\n\n@param string $contractId Contract ID\n@param string $ts Timestamp\n@return object", "docstring_tokens": ["Get", "snapshot", "info", "by", "specific", "contract"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Snapshot.php#L52-L60", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Snapshot.php", "func_name": "Snapshot.updateByContract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update snapshot by specific contract\n\n@param string $contractId Contract ID\n@param string $ts Timestamp\n@param array $params Parameters\n@return object", "docstring_tokens": ["Update", "snapshot", "by", "specific", "contract"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Snapshot.php#L70-L78", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Snapshot.php", "func_name": "Snapshot.deleteByContract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete snapshot by specific contract\n\n@param string $contractId Contract ID\n@param string $ts Timestamp\n@return object", "docstring_tokens": ["Delete", "snapshot", "by", "specific", "contract"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Snapshot.php#L87-L95", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Milestones.php", "func_name": "Milestones.getActiveMilestone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get active Milestone for specific Contract\n\n@param integer $contractId Contract reference\n@return object", "docstring_tokens": ["Get", "active", "Milestone", "for", "specific", "Contract"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Milestones.php#L51-L59", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Milestones.php", "func_name": "Milestones.getSubmissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Submissions for specific Milestone\n\n@param integer $milestoneId Milestone ID\n@return object", "docstring_tokens": ["Get", "all", "Submissions", "for", "specific", "Milestone"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Milestones.php#L67-L75", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Milestones.php", "func_name": "Milestones.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Milestone\n\n@param array $params Parameters\n@return object", "docstring_tokens": ["Create", "a", "new", "Milestone"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Milestones.php#L83-L91", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Milestones.php", "func_name": "Milestones.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit an existing Milestone\n\n@param integer $milestoneId Milestone ID\n@param array $params Parameters\n@return object", "docstring_tokens": ["Edit", "an", "existing", "Milestone"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Milestones.php#L100-L108", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Routers/Hr/Milestones.php", "func_name": "Milestones.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an existing Milestone\n\n@param integer $milestoneId Milestone ID\n@return object", "docstring_tokens": ["Delete", "an", "existing", "Milestone"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Routers/Hr/Milestones.php#L150-L158", "partition": "test"} +{"repo": "upwork/php-upwork", "path": "src/Upwork/API/Client.php", "func_name": "Client._request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run API request\n\n@param string $type Type of request, i.e. method\n@param string $url URL\n@param array $params (Optional) Additional list of parameters\n@access protected\n@return array", "docstring_tokens": ["Run", "API", "request"], "sha": "17eb86b22b0fca885a85b55879eaa81c9bc87823", "url": "https://github.com/upwork/php-upwork/blob/17eb86b22b0fca885a85b55879eaa81c9bc87823/src/Upwork/API/Client.php#L122-L153", "partition": "test"} +{"repo": "ibonly/laravel-accountkit", "path": "src/FacebookAccountKitServiceProvider.php", "func_name": "FacebookAccountKitServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publishes all the config file this package needs to function", "docstring_tokens": ["Publishes", "all", "the", "config", "file", "this", "package", "needs", "to", "function"], "sha": "b9ef13b2d831d456eab12f3944250b5b4d3959fa", "url": "https://github.com/ibonly/laravel-accountkit/blob/b9ef13b2d831d456eab12f3944250b5b4d3959fa/src/FacebookAccountKitServiceProvider.php#L28-L41", "partition": "test"} +{"repo": "ibonly/laravel-accountkit", "path": "src/AccountKit.php", "func_name": "AccountKit.getContentBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make Request To AccountKit\n\n@param string $url\n\n@return mixed", "docstring_tokens": ["Make", "Request", "To", "AccountKit"], "sha": "b9ef13b2d831d456eab12f3944250b5b4d3959fa", "url": "https://github.com/ibonly/laravel-accountkit/blob/b9ef13b2d831d456eab12f3944250b5b4d3959fa/src/AccountKit.php#L96-L101", "partition": "test"} +{"repo": "ibonly/laravel-accountkit", "path": "src/FacebookAccountKit.php", "func_name": "FacebookAccountKit.accountKitData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get All User Data\n\n@param string $code\n@return array", "docstring_tokens": ["Get", "All", "User", "Data"], "sha": "b9ef13b2d831d456eab12f3944250b5b4d3959fa", "url": "https://github.com/ibonly/laravel-accountkit/blob/b9ef13b2d831d456eab12f3944250b5b4d3959fa/src/FacebookAccountKit.php#L21-L40", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display a list of contact.\n\n@return Response", "docstring_tokens": ["Display", "a", "list", "of", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L37-L58", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display contact.\n\n@param Request $request\n@param Model $contact\n\n@return Response", "docstring_tokens": ["Display", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L68-L81", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for creating a new contact.\n\n@param Request $request\n\n@return Response", "docstring_tokens": ["Show", "the", "form", "for", "creating", "a", "new", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L90-L98", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show contact for editing.\n\n@param Request $request\n@param Model $contact\n\n@return Response", "docstring_tokens": ["Show", "contact", "for", "editing", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L138-L144", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the contact.\n\n@param Request $request\n@param Model $contact\n\n@return Response", "docstring_tokens": ["Update", "the", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L154-L173", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactResourceController.php", "func_name": "ContactResourceController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the contact.\n\n@param Model $contact\n\n@return Response", "docstring_tokens": ["Remove", "the", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactResourceController.php#L182-L202", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Contact.php", "func_name": "Contact.gadget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make gadget View\n\n@param string $view\n\n@param int $count\n\n@return View", "docstring_tokens": ["Make", "gadget", "View"], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Contact.php#L43-L55", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Contact.php", "func_name": "Contact.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns field of contact.\n\n@param array $filter\n\n@return int", "docstring_tokens": ["Returns", "field", "of", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Contact.php#L63-L69", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Policies/ContactPolicy.php", "func_name": "ContactPolicy.view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given user can view the contact.\n\n@param User $user\n@param Contact $contact\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "user", "can", "view", "the", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Policies/ContactPolicy.php#L19-L24", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Policies/ContactPolicy.php", "func_name": "ContactPolicy.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given user can update the given contact.\n\n@param User $user\n@param Contact $contact\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "user", "can", "update", "the", "given", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Policies/ContactPolicy.php#L47-L52", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Policies/ContactPolicy.php", "func_name": "ContactPolicy.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given user can delete the given contact.\n\n@param User $user\n@param Contact $contact\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "user", "can", "delete", "the", "given", "contact", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Policies/ContactPolicy.php#L62-L67", "partition": "test"} +{"repo": "Litecms/Contact", "path": "src/Http/Controllers/ContactPublicController.php", "func_name": "ContactPublicController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show contact's list.\n\n@param string $slug\n\n@return response", "docstring_tokens": ["Show", "contact", "s", "list", "."], "sha": "cf8ea54f4553010ac7ea572c68622f8bf8203f4f", "url": "https://github.com/Litecms/Contact/blob/cf8ea54f4553010ac7ea572c68622f8bf8203f4f/src/Http/Controllers/ContactPublicController.php#L34-L50", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Parsers/HtmlParser.php", "func_name": "HtmlParser.parseHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract required data from html source\n@param LinkInterface $link\n@return array", "docstring_tokens": ["Extract", "required", "data", "from", "html", "source"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Parsers/HtmlParser.php#L138-L184", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Client.php", "func_name": "Client.getPreviews", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to get previews from as many parsers as possible\n@return PreviewInterface[]", "docstring_tokens": ["Try", "to", "get", "previews", "from", "as", "many", "parsers", "as", "possible"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Client.php#L38-L48", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Client.php", "func_name": "Client.getPreview", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a preview from a single parser\n@param string $parserId\n@throws UnknownParserException\n@return PreviewInterface|boolean", "docstring_tokens": ["Get", "a", "preview", "from", "a", "single", "parser"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Client.php#L56-L63", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Client.php", "func_name": "Client.addParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add parser to the beginning of parsers list\n\n@param ParserInterface $parser\n@return $this", "docstring_tokens": ["Add", "parser", "to", "the", "beginning", "of", "parsers", "list"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Client.php#L71-L76", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Client.php", "func_name": "Client.removeParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove parser from parsers list\n\n@param string $name Parser name\n@return $this", "docstring_tokens": ["Remove", "parser", "from", "parsers", "list"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Client.php#L135-L142", "partition": "test"} +{"repo": "dusterio/link-preview", "path": "src/Client.php", "func_name": "Client.addDefaultParsers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add default parsers\n@return void", "docstring_tokens": ["Add", "default", "parsers"], "sha": "0c1bbff112e66c2f7a9ca72c5855f892fd26fdab", "url": "https://github.com/dusterio/link-preview/blob/0c1bbff112e66c2f7a9ca72c5855f892fd26fdab/src/Client.php#L148-L153", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Color.php", "func_name": "Color.contrastFromHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Contrast the given hex based color.\n\n@return array", "docstring_tokens": ["Contrast", "the", "given", "hex", "based", "color", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Color.php#L12-L24", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/FileSystem.php", "func_name": "FileSystem.enclosePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enclose the provided string with slashes.\n\n@param string $path\n\n@return string", "docstring_tokens": ["Enclose", "the", "provided", "string", "with", "slashes", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/FileSystem.php#L14-L27", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Database.php", "func_name": "Database.convertInterval", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the interval string to the mysql constant.\n\n@param string $interval\n\n@return string", "docstring_tokens": ["Convert", "the", "interval", "string", "to", "the", "mysql", "constant", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Database.php#L46-L80", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Response/MacroServiceProvider.php", "func_name": "MacroServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the application's response macros.\n\n@return void", "docstring_tokens": ["Register", "the", "application", "s", "response", "macros", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Response/MacroServiceProvider.php#L15-L31", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Timezone.php", "func_name": "Timezone.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a region grouped array.\n\n@param array $config\n\n@return array", "docstring_tokens": ["Returns", "a", "region", "grouped", "array", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Timezone.php#L35-L77", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Timezone.php", "func_name": "Timezone.optionsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a flat array.\n\n@param array $config\n\n@return array", "docstring_tokens": ["Return", "a", "flat", "array", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Timezone.php#L86-L102", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/LaravelModel.php", "func_name": "LaravelModel.getModelRelation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the table keys based on the relation.\n\n@param Relation $relation\n\n@return array", "docstring_tokens": ["Get", "the", "table", "keys", "based", "on", "the", "relation", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/LaravelModel.php#L14-L53", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/LaravelModel.php", "func_name": "LaravelModel.modelJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This determines the foreign key relations automatically to prevent the need to figure out the columns.\n\n@param string $relation_name\n@param string $operator\n@param string $type\n@param bool $where\n\n@return Builder\n\n@SuppressWarnings(PHPMD.BooleanArgumentFlag)\n@SuppressWarnings(PHPMD.LongVariable)\n@SuppressWarnings(PHPMD.StaticAccess)", "docstring_tokens": ["This", "determines", "the", "foreign", "key", "relations", "automatically", "to", "prevent", "the", "need", "to", "figure", "out", "the", "columns", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/LaravelModel.php#L69-L112", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Aws.php", "func_name": "Aws.client", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Client connection details.\n\n@return array", "docstring_tokens": ["Client", "connection", "details", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Aws.php#L12-L22", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/SemanticVersion.php", "func_name": "SemanticVersion.toNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a semantic version string to a number.\n\n@param string $value\n\n@return array", "docstring_tokens": ["Convert", "a", "semantic", "version", "string", "to", "a", "number", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/SemanticVersion.php#L14-L31", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Traits/JobTrait.php", "func_name": "JobTrait.scopeLookupKeyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scope a given key value.\n\n@param Builer $query\n@param string $key\n@param string $value\n@param string $class_name\n@param string $data_type\n\n@return void", "docstring_tokens": ["Scope", "a", "given", "key", "value", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Traits/JobTrait.php#L50-L105", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Traits/JobTrait.php", "func_name": "JobTrait.setAvailableAtAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set available_at attribute.\n\n@param string $value\n@param $this", "docstring_tokens": ["Set", "available_at", "attribute", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Traits/JobTrait.php#L149-L154", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Traits/JobTrait.php", "func_name": "JobTrait.getPayloadAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the payload.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Get", "the", "payload", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Traits/JobTrait.php#L163-L170", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Human.php", "func_name": "Human.bytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert bytes to a word.\n\n@param int $bytes\n@param int $decimals\n@param int $mod\n\n@return string", "docstring_tokens": ["Convert", "bytes", "to", "a", "word", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Human.php#L33-L42", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Human.php", "func_name": "Human.timeOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an integer timeset to pretty.\n\n@param int $offset\n\n@return string", "docstring_tokens": ["Convert", "an", "integer", "timeset", "to", "pretty", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Human.php#L51-L57", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Human.php", "func_name": "Human.seconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert seconds to words.\n\n@param int $seconds\n@param array $options\n\n@return string", "docstring_tokens": ["Convert", "seconds", "to", "words", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Human.php#L67-L116", "partition": "test"} +{"repo": "hnhdigital-os/laravel-helper-collection", "path": "src/Human.php", "func_name": "Human.truncate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Truncate a string.\n\n@param string $long_text\n@param int $length\n@param array $options\n\n@return string", "docstring_tokens": ["Truncate", "a", "string", "."], "sha": "14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c", "url": "https://github.com/hnhdigital-os/laravel-helper-collection/blob/14d3ef3a8a527f7bba04cb2fc9c42e2f2185cf0c/src/Human.php#L127-L146", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.addPermission", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add permissions to a topic\n\nExample:\n$AmazonSNS->addPermission('topic:arn:123', 'New Permission', array('987654321000' => 'Publish', '876543210000' => array('Publish', 'SetTopicAttributes')));\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_AddPermission.html\n@param string $topicArn\n@param string $label Unique name of permissions\n@param array $permissions [optional] Array of permissions - member ID as keys, actions as values\n@return bool\n@throws InvalidArgumentException", "docstring_tokens": ["Add", "permissions", "to", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L106-L152", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.confirmSubscription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Confirm a subscription to a topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_ConfirmSubscription.html\n@param string $topicArn\n@param string $token\n@param bool|null $authenticateOnUnsubscribe [optional]\n@return string - SubscriptionARN\n@throws InvalidArgumentException", "docstring_tokens": ["Confirm", "a", "subscription", "to", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L164-L181", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.createTopic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an SNS topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_CreateTopic.html\n@param string $name\n@return string - TopicARN\n@throws InvalidArgumentException", "docstring_tokens": ["Create", "an", "SNS", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L191-L199", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.getTopicAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the attributes of a topic like owner, ACL, display name\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_GetTopicAttributes.html\n@param string $topicArn\n@return array\n@throws InvalidArgumentException", "docstring_tokens": ["Get", "the", "attributes", "of", "a", "topic", "like", "owner", "ACL", "display", "name"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L227-L247", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.listSubscriptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List subscriptions that user is subscribed to\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_ListSubscriptions.html\n@param string|null $nextToken [optional] Token to retrieve next page of results\n@return array", "docstring_tokens": ["List", "subscriptions", "that", "user", "is", "subscribed", "to"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L256-L275", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.listSubscriptionsByTopic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List subscribers to a topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_ListSubscriptionsByTopic.html\n@param string $topicArn\n@param string|null $nextToken [optional] Token to retrieve next page of results\n@return array\n@throws InvalidArgumentException", "docstring_tokens": ["List", "subscribers", "to", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L286-L311", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.listTopics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List SNS topics\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_ListTopics.html\n@param string|null $nextToken [optional] Token to retrieve next page of results\n@return array", "docstring_tokens": ["List", "SNS", "topics"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L320-L333", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish a message to a topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_Publish.html\n@param string $topicArn\n@param string $message\n@param string $subject [optional] Used when sending emails\n@param string $messageStructure [optional] Used when you want to send a different message for each protocol.If you set MessageStructure to json, the value of the Message parameter must: be a syntactically valid JSON object; and contain at least a top-level JSON key of \"default\" with a value that is a string.\n@return string\n@throws InvalidArgumentException", "docstring_tokens": ["Publish", "a", "message", "to", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L346-L367", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.removePermission", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a set of permissions indentified by topic and label that was used when creating permissions\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_RemovePermission.html\n@param string $topicArn\n@param string $label\n@return bool\n@throws InvalidArgumentException", "docstring_tokens": ["Remove", "a", "set", "of", "permissions", "indentified", "by", "topic", "and", "label", "that", "was", "used", "when", "creating", "permissions"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L378-L386", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.setTopicAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a single attribute on a topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_SetTopicAttributes.html\n@param string $topicArn\n@param string $attrName\n@param mixed $attrValue\n@return bool\n@throws InvalidArgumentException", "docstring_tokens": ["Set", "a", "single", "attribute", "on", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L398-L410", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe to a topic\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_Subscribe.html\n@param string $topicArn\n@param string $protocol - http/https/email/email-json/sms/sqs\n@param string $endpoint\n@return string $SubscriptionArn\n@throws InvalidArgumentException", "docstring_tokens": ["Subscribe", "to", "a", "topic"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L422-L434", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.createPlatformEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Platform endpoint\n\n@link http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformEndpoint.html\n@param string $platformApplicationArn\n@param string $token\n@param string $userData\n@return string\n@throws InvalidArgumentException", "docstring_tokens": ["Create", "Platform", "endpoint"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L464-L481", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS.publishToEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish a message to an Endpoint\n\n@link http://docs.amazonwebservices.com/sns/latest/api/API_Publish.html\n@param string $deviceArn\n@param string $message\n@return string\n@throws InvalidArgumentException", "docstring_tokens": ["Publish", "a", "message", "to", "an", "Endpoint"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L513-L524", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS._request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform and process a cURL request\n\n@param string $action\n@param array $params [optional]\n@return SimpleXMLElement\n@throws SNSException|APIException", "docstring_tokens": ["Perform", "and", "process", "a", "cURL", "request"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L538-L598", "partition": "test"} +{"repo": "chrisbarr/AmazonSNS-PHP-API", "path": "lib/AmazonSNS.php", "func_name": "AmazonSNS._processXmlToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform the standard AmazonSNS XML array format into a normal array\n\n@param SimpleXMLElement $xmlArray\n@return array", "docstring_tokens": ["Transform", "the", "standard", "AmazonSNS", "XML", "array", "format", "into", "a", "normal", "array"], "sha": "df3c6ae499088cc7be5be9058cbff1e660c2bc2d", "url": "https://github.com/chrisbarr/AmazonSNS-PHP-API/blob/df3c6ae499088cc7be5be9058cbff1e660c2bc2d/lib/AmazonSNS.php#L616-L634", "partition": "test"} +{"repo": "anorgan/QuTee", "path": "src/Qutee/Queue.php", "func_name": "Queue.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear all tasks\n\n@return boolean", "docstring_tokens": ["Clear", "all", "tasks"], "sha": "144777bab9047b807db1fc270fb21d687235e48b", "url": "https://github.com/anorgan/QuTee/blob/144777bab9047b807db1fc270fb21d687235e48b/src/Qutee/Queue.php#L131-L142", "partition": "test"} +{"repo": "anorgan/QuTee", "path": "src/Qutee/Persistor/Beanstalk.php", "func_name": "Beanstalk._convertPriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "QuTee - Higher the number, higher the priority;\nBeanstalkd - Lower the number, higher the priority\n\n@param int $priority\n\n@return int", "docstring_tokens": ["QuTee", "-", "Higher", "the", "number", "higher", "the", "priority", ";", "Beanstalkd", "-", "Lower", "the", "number", "higher", "the", "priority"], "sha": "144777bab9047b807db1fc270fb21d687235e48b", "url": "https://github.com/anorgan/QuTee/blob/144777bab9047b807db1fc270fb21d687235e48b/src/Qutee/Persistor/Beanstalk.php#L149-L170", "partition": "test"} +{"repo": "anorgan/QuTee", "path": "src/Qutee/Worker.php", "func_name": "Worker.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the worker, get tasks of the queue, run them\n\n@return Task|null Task which ran, or null if no task found\n@throws \\Exception", "docstring_tokens": ["Run", "the", "worker", "get", "tasks", "of", "the", "queue", "run", "them"], "sha": "144777bab9047b807db1fc270fb21d687235e48b", "url": "https://github.com/anorgan/QuTee/blob/144777bab9047b807db1fc270fb21d687235e48b/src/Qutee/Worker.php#L139-L168", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "resources/stubs/app/Providers/SparkServiceProvider.php", "func_name": "SparkServiceProvider.customizeSettingsTabs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Customize the tabs on the settings screen.\n\n@return void", "docstring_tokens": ["Customize", "the", "tabs", "on", "the", "settings", "screen", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/resources/stubs/app/Providers/SparkServiceProvider.php#L93-L112", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/API/InvitationController.php", "func_name": "InvitationController.getInvitation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the invitation for the given code.\n\nUser to display coupon during registration.\n\n@param string $code\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "the", "invitation", "for", "the", "given", "code", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/API/InvitationController.php#L52-L73", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Spark.php", "func_name": "Spark.createDefaultSettingsTabs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the default settings tabs configuration.\n\n@return \\Laravel\\Spark\\Ux\\Settings\\DashboardTabs", "docstring_tokens": ["Create", "the", "default", "settings", "tabs", "configuration", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Spark.php#L511-L520", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Coupon.php", "func_name": "Coupon.fromStripeCoupon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a coupon instance from the given Stripe coupon instance.\n\n@param \\Stripe\\Coupon $stripeCoupon\n@return $this", "docstring_tokens": ["Generate", "a", "coupon", "instance", "from", "the", "given", "Stripe", "coupon", "instance", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Coupon.php#L77-L96", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/API/SubscriptionController.php", "func_name": "SubscriptionController.getCoupon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the coupon for a given code.\n\nUsed for the registration page.\n\n@param string $code\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "the", "coupon", "for", "a", "given", "code", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/API/SubscriptionController.php#L46-L61", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/API/SubscriptionController.php", "func_name": "SubscriptionController.getCouponForUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current coupon for the authenticated user.\n\nUsed to display current discount on settings -> subscription tab.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "the", "current", "coupon", "for", "the", "authenticated", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/API/SubscriptionController.php#L70-L93", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/API/TeamController.php", "func_name": "TeamController.getTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the team for the given ID.\n\n@param \\Illuminate\\Http\\Request $request\n@param int $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "the", "team", "for", "the", "given", "ID", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/API/TeamController.php#L43-L46", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/API/TeamController.php", "func_name": "TeamController.getTeamRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the available roles that may be assigned to team members.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "all", "of", "the", "available", "roles", "that", "may", "be", "assigned", "to", "team", "members", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/API/TeamController.php#L64-L73", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/ProfileController.php", "func_name": "ProfileController.updateUserProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the user's profile information.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "user", "s", "profile", "information", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/ProfileController.php#L46-L65", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/ProfileController.php", "func_name": "ProfileController.validateUserProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the incoming request to update the user's profile.\n\n@param \\Illuminate\\Http\\Request $request\n@return void", "docstring_tokens": ["Validate", "the", "incoming", "request", "to", "update", "the", "user", "s", "profile", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/ProfileController.php#L73-L85", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/ProfileController.php", "func_name": "ProfileController.updateStripeEmailAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the user's e-mail address on Stripe.\n\n@return void", "docstring_tokens": ["Update", "the", "user", "s", "e", "-", "mail", "address", "on", "Stripe", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/ProfileController.php#L92-L99", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Console/Install.php", "func_name": "Install.installJavaScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Install the default JavaScript file for the application.\n\n@return void", "docstring_tokens": ["Install", "the", "default", "JavaScript", "file", "for", "the", "application", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Console/Install.php#L213-L232", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Console/Install.php", "func_name": "Install.installEnvironmentVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Install the environment variables for the application.\n\n@return void", "docstring_tokens": ["Install", "the", "environment", "variables", "for", "the", "application", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Console/Install.php#L252-L266", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribe the user to a new plan.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Subscribe", "the", "user", "to", "a", "new", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L50-L72", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.changeSubscriptionPlan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change the user's subscription plan.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Change", "the", "user", "s", "subscription", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L80-L98", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.updateCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the user's billing card information.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "user", "s", "billing", "card", "information", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L106-L115", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.updateExtraBillingInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the extra billing information for the user.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "extra", "billing", "information", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L123-L128", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.cancelSubscription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cancel the user's subscription.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Cancel", "the", "user", "s", "subscription", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L135-L142", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.resumeSubscription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resume the user's subscription.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Resume", "the", "user", "s", "subscription", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L149-L158", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SubscriptionController.php", "func_name": "SubscriptionController.downloadInvoice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download the given invoice for the user.\n\n@param string $invoiceId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Download", "the", "given", "invoice", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SubscriptionController.php#L166-L175", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plan.php", "func_name": "Plan.price", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the price of the plan.\n\n@param int $price\n@return $this|int", "docstring_tokens": ["Set", "the", "price", "of", "the", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plan.php#L147-L156", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plan.php", "func_name": "Plan.currencySymbol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the currency symbol used by the plan.\n\n@param string $symbol\n@return $this|string", "docstring_tokens": ["Set", "the", "currency", "symbol", "used", "by", "the", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plan.php#L164-L173", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plan.php", "func_name": "Plan.trialDays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specify the number of trial days the plan receives.\n\n@param int $days\n@return $this", "docstring_tokens": ["Specify", "the", "number", "of", "trial", "days", "the", "plan", "receives", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plan.php#L191-L200", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plan.php", "func_name": "Plan.tier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the \"tier\" of the plan.\n\n@param string $tier\n@return $this", "docstring_tokens": ["Set", "the", "tier", "of", "the", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plan.php#L208-L217", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plan.php", "func_name": "Plan.features", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the features of the plan.\n\n@param array $features\n@return $this|array", "docstring_tokens": ["Set", "the", "features", "of", "the", "plan", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plan.php#L225-L234", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/UserRepository.php", "func_name": "UserRepository.getCurrentUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current user of the application.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Get", "the", "current", "user", "of", "the", "application", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/UserRepository.php#L21-L30", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/UserRepository.php", "func_name": "UserRepository.createUserFromRegistrationRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new user of the application based on a registration request.\n\n@param \\Illuminate\\Http\\Request $request\n@param bool $withSubscription\n@return \\Illuminate\\Contracts\\Auth\\Authenticatable", "docstring_tokens": ["Create", "a", "new", "user", "of", "the", "application", "based", "on", "a", "registration", "request", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/UserRepository.php#L39-L50", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/UserRepository.php", "func_name": "UserRepository.createNewUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new user of the application.\n\n@param \\Illuminate\\Http\\Request $request\n@param bool $withSubscription\n@return \\Illuminate\\Contracts\\Auth\\Authenticatable", "docstring_tokens": ["Create", "a", "new", "user", "of", "the", "application", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/UserRepository.php#L59-L66", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/UserRepository.php", "func_name": "UserRepository.createDefaultUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the default user instance for a new registration.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Contracts\\Auth\\Authenticatable", "docstring_tokens": ["Create", "the", "default", "user", "instance", "for", "a", "new", "registration", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/UserRepository.php#L74-L83", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/UserRepository.php", "func_name": "UserRepository.createSubscriptionOnStripe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the subscription on Stripe.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@return void", "docstring_tokens": ["Create", "the", "subscription", "on", "Stripe", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/UserRepository.php#L92-L109", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Services/Auth/TwoFactor/Authy.php", "func_name": "Authy.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the given user with the provider.\n\n@param \\Laravel\\Spark\\Contracts\\Auth\\TwoFactor\\Authenticatable $user\n@return void", "docstring_tokens": ["Register", "the", "given", "user", "with", "the", "provider", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Services/Auth/TwoFactor/Authy.php#L29-L46", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Services/Auth/TwoFactor/Authy.php", "func_name": "Authy.tokenIsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given token is valid for the given user.\n\n@param \\Laravel\\Spark\\Contracts\\Auth\\TwoFactor\\Authenticatable $user\n@param string $token\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "token", "is", "valid", "for", "the", "given", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Services/Auth/TwoFactor/Authy.php#L55-L70", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Services/Auth/TwoFactor/Authy.php", "func_name": "Authy.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the given user from the provider.\n\n@param \\Laravel\\Spark\\Contracts\\Auth\\TwoFactor\\Authenticatable $user\n@return bool", "docstring_tokens": ["Delete", "the", "given", "user", "from", "the", "provider", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Services/Auth/TwoFactor/Authy.php#L78-L89", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/DashboardController.php", "func_name": "DashboardController.show", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the settings dashboard.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Show", "the", "settings", "dashboard", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/DashboardController.php#L40-L55", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Teams/Team.php", "func_name": "Team.inviteUserByEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invite a user to the team by e-mail address.\n\n@param string $email\n@return \\Laravel\\Spark\\Teams\\Invitation", "docstring_tokens": ["Invite", "a", "user", "to", "the", "team", "by", "e", "-", "mail", "address", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Teams/Team.php#L57-L83", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Teams/Team.php", "func_name": "Team.removeUserById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a user from the team by their ID.\n\n@param int $userId\n@return void", "docstring_tokens": ["Remove", "a", "user", "from", "the", "team", "by", "their", "ID", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Teams/Team.php#L91-L102", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/InvitationController.php", "func_name": "InvitationController.sendTeamInvitation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send an invitation for the given team.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Send", "an", "invitation", "for", "the", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/InvitationController.php#L43-L62", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/InvitationController.php", "func_name": "InvitationController.acceptTeamInvitation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accept the given team invitation.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $inviteId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Accept", "the", "given", "team", "invitation", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/InvitationController.php#L71-L82", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Ux/Settings/Tabs.php", "func_name": "Tabs.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new custom tab instance.\n\n@param string $name\n@param string $view\n@param string $icon\n@return \\Laravel\\Spark\\Ux\\Settings\\Tab", "docstring_tokens": ["Create", "a", "new", "custom", "tab", "instance", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Ux/Settings/Tabs.php#L48-L51", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Ux/Settings/Tabs.php", "func_name": "Tabs.displayable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of the displayable tabs.\n\n@param dynamic\n@return array", "docstring_tokens": ["Get", "an", "array", "of", "the", "displayable", "tabs", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Ux/Settings/Tabs.php#L59-L66", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Providers/SparkServiceProvider.php", "func_name": "SparkServiceProvider.defineResources", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the resources used by Spark.\n\n@return void", "docstring_tokens": ["Define", "the", "resources", "used", "by", "Spark", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Providers/SparkServiceProvider.php#L55-L80", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Providers/SparkServiceProvider.php", "func_name": "SparkServiceProvider.defineServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind the Spark services into the container.\n\n@return void", "docstring_tokens": ["Bind", "the", "Spark", "services", "into", "the", "container", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Providers/SparkServiceProvider.php#L113-L125", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Billing/EmailInvoiceNotifier.php", "func_name": "EmailInvoiceNotifier.notify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Notify the given user about a new invoice.\n\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@param \\Laravel\\Cashier\\Invoice $invoice\n@return void", "docstring_tokens": ["Notify", "the", "given", "user", "about", "a", "new", "invoice", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Billing/EmailInvoiceNotifier.php#L21-L36", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Stripe/WebhookController.php", "func_name": "WebhookController.handleInvoicePaymentSucceeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a cancelled customer from a Stripe subscription.\n\nBy default, this e-mails a copy of the invoice to the customer.\n\n@param array $payload\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Handle", "a", "cancelled", "customer", "from", "a", "Stripe", "subscription", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Stripe/WebhookController.php#L19-L34", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/TeamRepository.php", "func_name": "TeamRepository.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new team for the given user and data.\n\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@param array $data\n@return \\Laravel\\Spark\\Teams\\Team", "docstring_tokens": ["Create", "a", "new", "team", "for", "the", "given", "user", "and", "data", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/TeamRepository.php#L17-L28", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/TeamRepository.php", "func_name": "TeamRepository.getAllTeamsForUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the teams for the user.\n\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@return \\Illuminate\\Database\\Eloquent\\Collection", "docstring_tokens": ["Get", "all", "of", "the", "teams", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/TeamRepository.php#L48-L57", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/TeamRepository.php", "func_name": "TeamRepository.getPendingInvitationsForUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the pending invitations for the user.\n\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@return \\Illuminate\\Database\\Eloquent\\Collection", "docstring_tokens": ["Get", "all", "of", "the", "pending", "invitations", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/TeamRepository.php#L65-L78", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Repositories/TeamRepository.php", "func_name": "TeamRepository.attachUserToTeamByInvitation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a user to a given team based on their invitation.\n\n@param string $invitationId\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@return void", "docstring_tokens": ["Attach", "a", "user", "to", "a", "given", "team", "based", "on", "their", "invitation", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Repositories/TeamRepository.php#L87-L102", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plans.php", "func_name": "Plans.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get plan matching a given ID.\n\n@param string $id\n@return \\Laravel\\Spark\\Subscriptions\\Plan", "docstring_tokens": ["Get", "plan", "matching", "a", "given", "ID", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plans.php#L49-L58", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Subscriptions/Plans.php", "func_name": "Plans.tier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the monthly plans for a given tier.\n\n@return array", "docstring_tokens": ["Get", "all", "of", "the", "monthly", "plans", "for", "a", "given", "tier", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Subscriptions/Plans.php#L100-L105", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Teams/CanJoinTeams.php", "func_name": "CanJoinTeams.currentTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the team that user is currently viewing.\n\n@return \\Illuminate\\Database\\Eloquent\\Model|null", "docstring_tokens": ["Get", "the", "team", "that", "user", "is", "currently", "viewing", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Teams/CanJoinTeams.php#L57-L68", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Teams/CanJoinTeams.php", "func_name": "CanJoinTeams.ownsTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given team is owned by the user.\n\n@param \\Laravel\\Spark\\Teams\\Team $team\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "team", "is", "owned", "by", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Teams/CanJoinTeams.php#L103-L110", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Teams/CanJoinTeams.php", "func_name": "CanJoinTeams.teamRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the user's role on a given team.\n\n@param \\Laravel\\Spark\\Teams\\Team $team\n@return string", "docstring_tokens": ["Get", "the", "user", "s", "role", "on", "a", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Teams/CanJoinTeams.php#L118-L125", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new team.\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Create", "a", "new", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L45-L64", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the edit screen for a given team.\n\n@param \\Illuminate\\Http\\Request $request\n@param int $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Show", "the", "edit", "screen", "for", "a", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L73-L84", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the team's owner information.\n\n@param \\Illuminate\\Http\\Request $request\n@param int $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "team", "s", "owner", "information", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L93-L110", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.switchCurrentTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switch the team the user is currently viewing.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Switch", "the", "team", "the", "user", "is", "currently", "viewing", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L139-L148", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.updateTeamMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a team member on the given team.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@param string $userId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "a", "team", "member", "on", "the", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L158-L182", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.removeTeamMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a team member from the team.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@param string $userId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Remove", "a", "team", "member", "from", "the", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L215-L225", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.leaveTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the user from the given team.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Remove", "the", "user", "from", "the", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L234-L245", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/TeamController.php", "func_name": "TeamController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy the given team.\n\n@param \\Illuminate\\Http\\Request $request\n@param string $teamId\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Destroy", "the", "given", "team", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/TeamController.php#L254-L272", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/InteractsWithSparkHooks.php", "func_name": "InteractsWithSparkHooks.callCustomValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the response from a custom validator callback.\n\n@param callable|string $callback\n@param \\Illuminate\\Http\\Request $request\n@param array $arguments\n@return void", "docstring_tokens": ["Get", "the", "response", "from", "a", "custom", "validator", "callback", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/InteractsWithSparkHooks.php#L19-L36", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/InteractsWithSparkHooks.php", "func_name": "InteractsWithSparkHooks.callCustomUpdater", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a custom Spark updater callback.\n\n@param callable|string $callback\n@param \\Illuminate\\Http\\Request $request\n@param array $arguments\n@return mixed", "docstring_tokens": ["Call", "a", "custom", "Spark", "updater", "callback", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/InteractsWithSparkHooks.php#L46-L55", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SecurityController.php", "func_name": "SecurityController.updatePassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the user's password.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "user", "s", "password", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SecurityController.php#L48-L64", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SecurityController.php", "func_name": "SecurityController.enableTwoFactorAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enable two-factor authentication for the user.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Enable", "two", "-", "factor", "authentication", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SecurityController.php#L72-L95", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SecurityController.php", "func_name": "SecurityController.validateEnablingTwoFactorAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate an incoming request to enable two-factor authentication.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response|null", "docstring_tokens": ["Validate", "an", "incoming", "request", "to", "enable", "two", "-", "factor", "authentication", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SecurityController.php#L103-L119", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Settings/SecurityController.php", "func_name": "SecurityController.disableTwoFactorAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable two-factor authentication for the user.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Disable", "two", "-", "factor", "authentication", "for", "the", "user", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Settings/SecurityController.php#L127-L134", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.authenticated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the post-authentication response.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $user\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Send", "the", "post", "-", "authentication", "response", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L84-L91", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.logoutAndRedirectToTokenScreen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a redirect response to the two-factor token screen.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Illuminate\\Contracts\\Auth\\Authenticatable $users\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Generate", "a", "redirect", "response", "to", "the", "two", "-", "factor", "token", "screen", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L100-L107", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.postToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the two-factor authentication token.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Verify", "the", "two", "-", "factor", "authentication", "token", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L125-L146", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.getRegister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the application registration form.\n\n@param \\Illuminate\\Http\\Request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Show", "the", "application", "registration", "form", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L154-L169", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.validateRegistration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the new registration.\n\n@param \\Illuminate\\Http\\Request $request\n@param bool $withSubscription\n@return void", "docstring_tokens": ["Validate", "the", "new", "registration", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L227-L236", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.validateDefaultRegistration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a new registration using the default rules.\n\n@param \\Illuminate\\Http\\Request $request\n@param bool $withSubscription\n@return void", "docstring_tokens": ["Validate", "a", "new", "registration", "using", "the", "default", "rules", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L245-L267", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.validateCoupon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that the provided coupon actually exists on Stripe.\n\n@param \\Illuminate\\Validation\\Validator $validator\n@param \\Illuminate\\Http\\Request $request\n@return void", "docstring_tokens": ["Validate", "that", "the", "provided", "coupon", "actually", "exists", "on", "Stripe", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L276-L291", "partition": "test"} +{"repo": "mastashake08/laravel-spark-archive", "path": "app/Http/Controllers/Auth/AuthController.php", "func_name": "AuthController.getLogout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log the user out of the application.\n\n@param \\Illuminate\\Http\\Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Log", "the", "user", "out", "of", "the", "application", "."], "sha": "5c833e498eefed6fea79823e0a760f53a323207a", "url": "https://github.com/mastashake08/laravel-spark-archive/blob/5c833e498eefed6fea79823e0a760f53a323207a/app/Http/Controllers/Auth/AuthController.php#L299-L306", "partition": "test"} +{"repo": "grape-fluid/application", "path": "src/BasePresenter.php", "func_name": "BasePresenter.flashMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flash zprava s podporou translatoru\n\n@param $message\n@param string $type\n@return \\stdClass", "docstring_tokens": ["Flash", "zprava", "s", "podporou", "translatoru"], "sha": "0fe7b6da93f18ca9715718d75d811c5c4d264abd", "url": "https://github.com/grape-fluid/application/blob/0fe7b6da93f18ca9715718d75d811c5c4d264abd/src/BasePresenter.php#L214-L217", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/CreateEventCapableTrait.php", "func_name": "CreateEventCapableTrait._createEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new event instance.\n\n@since [*next-version*]\n\n@param string $name The event name.\n@param array $params The event parameters.\n@param mixed $target The target object. Used for context.\n@param bool $propagation True to propagate the event, false to not.\n\n@return EventInterface The new event.", "docstring_tokens": ["Creates", "a", "new", "event", "instance", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/CreateEventCapableTrait.php#L26-L29", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ExceptionHandler.php", "func_name": "ExceptionHandler.registerException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers an exception.\n@param string $class\n@param callable $exporter MUST NOT be a closure.\n@param callable $importer MUST NOT be a closure.\n@return $this\n@throws \\InvalidArgumentException\n@throws \\LogicException", "docstring_tokens": ["Registers", "an", "exception", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ExceptionHandler.php#L71-L86", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ExceptionHandler.php", "func_name": "ExceptionHandler.exportException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exports the exception.\n@param \\Throwable $error\n@return array\n@throws \\BadMethodCallException Thrown if the exception class is not registered.", "docstring_tokens": ["Exports", "the", "exception", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ExceptionHandler.php#L109-L122", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ExceptionHandler.php", "func_name": "ExceptionHandler.importException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Imports the exception.\n@param array $error\n@return \\Throwable\n@throws \\BadMethodCallException Thrown if the exception class is not registered.", "docstring_tokens": ["Imports", "the", "exception", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ExceptionHandler.php#L130-L138", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/NormalizeEventCapableTrait.php", "func_name": "NormalizeEventCapableTrait._normalizeEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the given event into an Event instance.\n\n@since [*next-version*]\n\n@param EventInterface|string|Stringable $event Event instance or an event name string.\n@param array $params The event parameters; will be added to existing parameters if\nthe $event argument is an {@see EventInterface} instance.\n@param object $target The target of the event.\n\n@return EventInterface The event instance.", "docstring_tokens": ["Normalizes", "the", "given", "event", "into", "an", "Event", "instance", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/NormalizeEventCapableTrait.php#L29-L53", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/WpHandlerWrapperCacheTrait.php", "func_name": "WpHandlerWrapperCacheTrait._getWpHandlerWrapper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a WordPress event handler wrapper.\n\nFor the same name/callback pair, returns the same wrapper.\n\n@since [*next-version*]\n\n@param string $name Name of the event.\n@param callable $callback Handler of the event.\n\n@return Closure The wrapper.", "docstring_tokens": ["Gets", "a", "WordPress", "event", "handler", "wrapper", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/WpHandlerWrapperCacheTrait.php#L35-L49", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/EventCacheTrait.php", "func_name": "EventCacheTrait._createCachedEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an event instance in cache.\n\n@since [*next-version*]\n\n@param string|Stringable|EventInterface $event The name of the event, or the event instance.\n@param array $args Optional array of event arguments.\n\n@return EventInterface The created event instance.", "docstring_tokens": ["Creates", "an", "event", "instance", "in", "cache", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/EventCacheTrait.php#L34-L40", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/EventCacheTrait.php", "func_name": "EventCacheTrait._hasCachedEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if an event instance exists in cache for the given event name.\n\n@since [*next-version*]\n\n@param string|Stringable|EventInterface $event The name of the event, or the event instance.\n\n@return bool True if an event instance exists for the given event name, false otherwise.", "docstring_tokens": ["Checks", "if", "an", "event", "instance", "exists", "in", "cache", "for", "the", "given", "event", "name", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/EventCacheTrait.php#L51-L58", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/EventCacheTrait.php", "func_name": "EventCacheTrait._getCachedEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the cached event instance for the given name, creating it if needed.\n\n@since [*next-version*]\n\n@param string|Stringable|EventInterface $event The name of the event, or the event instance.\n@param array $args Optional array of event arguments.\n\n@return EventInterface The event instance.", "docstring_tokens": ["Gets", "the", "cached", "event", "instance", "for", "the", "given", "name", "creating", "it", "if", "needed", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/EventCacheTrait.php#L70-L82", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/EventCacheTrait.php", "func_name": "EventCacheTrait._removeCachedEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a cached event instance.\n\n@since [*next-version*]\n\n@param string|Stringable|EventInterface $event The name of the event, or the event instance.\n\n@return $this This instance.", "docstring_tokens": ["Removes", "a", "cached", "event", "instance", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/EventCacheTrait.php#L93-L102", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/CreateWpHandlerWrapperCapableTrait.php", "func_name": "CreateWpHandlerWrapperCapableTrait._createWpHandlerWrapper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a wrapper for a WordPress event handler, containing and replacing it.\n\nIf the wrapper receives an {@see EventInterface}, it will use that and assume it was triggered and normalized by\na PSR-14 event manager.\n\nOtherwise it will assume that regular arguments have been passed (as would be done through the WordPress\nfunctional API for hooks) and an event object will be created for those arguments.\n\nThis consequently allows handlers to stop event propagation in WordPress. Profit!\n\n@since [*next-version*]\n\n@param string $name The name of the event, for which a wrapper is created.\n@param callable $callback The callback to wrap.\n@param bool $throwOnPropStop If true, a {@see StoppedPropagationExceptionInterface} exception\nis thrown when propagation is stopped.\n\n@return Closure The wrapper.", "docstring_tokens": ["Creates", "a", "wrapper", "for", "a", "WordPress", "event", "handler", "containing", "and", "replacing", "it", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/CreateWpHandlerWrapperCapableTrait.php#L42-L84", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Message.php", "func_name": "Message.exportException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exports an exception.\n@param \\Throwable|null $e\n@return array|null", "docstring_tokens": ["Exports", "an", "exception", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Message.php#L117-L149", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Message.php", "func_name": "Message.importException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an exported exception back into a Throwable.\n@param array $export\n@param array|null $args Passed to the constructor if not using the Exception Handler.\n@return \\Throwable", "docstring_tokens": ["Converts", "an", "exported", "exception", "back", "into", "a", "Throwable", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Message.php#L157-L199", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/RemoveWpHookCapableTrait.php", "func_name": "RemoveWpHookCapableTrait._removeWpHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a hook handler from a WordPress event.\n\n@since [*next-version*]\n\n@param string|Stringable $name The hook name.\n@param callable $handler The hook handler callback.\n@param int|null $priority The priority of the hook - larger numbers signify later execution.", "docstring_tokens": ["Removes", "a", "hook", "handler", "from", "a", "WordPress", "event", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/RemoveWpHookCapableTrait.php#L24-L33", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/ReplaceWpHookCapableTrait.php", "func_name": "ReplaceWpHookCapableTrait._replaceWpHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces a WordPress hook instance.\n\n@since [*next-version*]\n\n@param string $hook The name of the hook.", "docstring_tokens": ["Replaces", "a", "WordPress", "hook", "instance", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/ReplaceWpHookCapableTrait.php#L21-L30", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Worker.php", "func_name": "Worker.getStacked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the amount of work to do. Give this worker a break, will you?\n@return int", "docstring_tokens": ["Returns", "the", "amount", "of", "work", "to", "do", ".", "Give", "this", "worker", "a", "break", "will", "you?"], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Worker.php#L150-L155", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Worker.php", "func_name": "Worker.clearRefBag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears too old references.\n@param int $timeout\n@return void\n@internal", "docstring_tokens": ["Clears", "too", "old", "references", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Worker.php#L163-L179", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Worker.php", "func_name": "Worker.sendMessageToPool", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a message to the pool. Only usable in the worker thread.\n@param \\CharlotteDunois\\Phoebe\\Message $message\n@return void\n@codeCoverageIgnore", "docstring_tokens": ["Sends", "a", "message", "to", "the", "pool", ".", "Only", "usable", "in", "the", "worker", "thread", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Worker.php#L205-L212", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Worker.php", "func_name": "Worker.derefTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dereferences a task. Decrements the worker's busy counter.\nThis method is automatically called by the task.\n@param \\CharlotteDunois\\Phoebe\\AsyncTask $task\n@return void", "docstring_tokens": ["Dereferences", "a", "task", ".", "Decrements", "the", "worker", "s", "busy", "counter", ".", "This", "method", "is", "automatically", "called", "by", "the", "task", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Worker.php#L234-L246", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Worker.php", "func_name": "Worker.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method MUST be always invoked in the worker when booting up.\n@return void\n@internal\n@codeCoverageIgnore", "docstring_tokens": ["This", "method", "MUST", "be", "always", "invoked", "in", "the", "worker", "when", "booting", "up", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Worker.php#L321-L349", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Parallel.php", "func_name": "Parallel.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parallelizes a given function across a number of available workers, collects the values passing the truth test and reconstructs the array.\n\nInternally this method makes use of `AsyncTask`s. The pool schedules the tasks across the workers automatically.\n@param \\CharlotteDunois\\Phoebe\\Pool $pool\n@param array $array Must be serializable.\n@param callable|null $function\n@return \\React\\Promise\\PromiseInterface\n@throws \\CharlotteDunois\\Phoebe\\MultiReasonException The exception the promise gets rejected with.", "docstring_tokens": ["Parallelizes", "a", "given", "function", "across", "a", "number", "of", "available", "workers", "collects", "the", "values", "passing", "the", "truth", "test", "and", "reconstructs", "the", "array", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Parallel.php#L26-L52", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Parallel.php", "func_name": "Parallel.flatMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parallelizes a given flattening function across a number of available workers, collects their return values and flattens the final array.\nWhether the resulting array is an actual flat map depends on the given callable.\n\nInternally this method makes use of `AsyncTask`s. The pool schedules the tasks across the workers automatically.\n@param \\CharlotteDunois\\Phoebe\\Pool $pool\n@param array $array Must be serializable.\n@param callable $function Flattens the array.\n@return \\React\\Promise\\PromiseInterface\n@throws \\CharlotteDunois\\Phoebe\\MultiReasonException The exception the promise gets rejected with.", "docstring_tokens": ["Parallelizes", "a", "given", "flattening", "function", "across", "a", "number", "of", "available", "workers", "collects", "their", "return", "values", "and", "flattens", "the", "final", "array", ".", "Whether", "the", "resulting", "array", "is", "an", "actual", "flat", "map", "depends", "on", "the", "given", "callable", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Parallel.php#L65-L84", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Parallel.php", "func_name": "Parallel.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parallelizes a given function across a number of available workers, collects their return values and reconstructs the array.\n\nInternally this method makes use of `AsyncTask`s. The pool schedules the tasks across the workers automatically.\n@param \\CharlotteDunois\\Phoebe\\Pool $pool\n@param array $array Must be serializable.\n@param callable $function\n@return \\React\\Promise\\PromiseInterface\n@throws \\CharlotteDunois\\Phoebe\\MultiReasonException The exception the promise gets rejected with.", "docstring_tokens": ["Parallelizes", "a", "given", "function", "across", "a", "number", "of", "available", "workers", "collects", "their", "return", "values", "and", "reconstructs", "the", "array", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Parallel.php#L96-L106", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Parallel.php", "func_name": "Parallel.parallelize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a parallelized function from a callable and the arguments.\n@param \\CharlotteDunois\\Phoebe\\Pool $pool\n@param callable $function\n@param mixed[] $args Must be serializable.\n@return \\React\\Promise\\PromiseInterface\n@codeCoverageIgnore", "docstring_tokens": ["Creates", "a", "parallelized", "function", "from", "a", "callable", "and", "the", "arguments", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Parallel.php#L147-L150", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Parallel.php", "func_name": "Parallel.convertResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the result into a multi reason exception, or returns the result.\n@param array $result\n@return array\n@throws \\CharlotteDunois\\Phoebe\\MultiReasonException", "docstring_tokens": ["Converts", "the", "result", "into", "a", "multi", "reason", "exception", "or", "returns", "the", "result", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Parallel.php#L158-L172", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/NumArgsAwareTrait.php", "func_name": "NumArgsAwareTrait._setNumArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the argument count value to pass to the native WordPress action and filter hooking functions.\n\n@since [*next-version*]\n\n@param int $numArgs A positive argument count to pass to the native WordPress action and filter hooking\nfunctions.", "docstring_tokens": ["Sets", "the", "argument", "count", "value", "to", "pass", "to", "the", "native", "WordPress", "action", "and", "filter", "hooking", "functions", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/NumArgsAwareTrait.php#L46-L57", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/RunWpHookCapableTrait.php", "func_name": "RunWpHookCapableTrait._runWpHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Causes WordPress to execute all handlers of the specified hook.\n\n@since [*next-version*]\n\n@param string|Stringable $name Name of the hook to run handlers for.\n@param array $args Arguments to pass to the handler.\n\n@return mixed The result returned by the last handler.", "docstring_tokens": ["Causes", "WordPress", "to", "execute", "all", "handlers", "of", "the", "specified", "hook", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/RunWpHookCapableTrait.php#L25-L33", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/WpHookReplacer.php", "func_name": "WpHookReplacer.apply_filters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the callback functions added to a filter hook.\n\nThis method is called instead of `$this->wpHook->apply_filters()`. This is done due to the fact that calls to\nexisting methods are not passed on to the `__call()` magic method.\n\n@param mixed $value The value to filter.\n@param array $args Arguments to pass to callbacks.\n\n@return mixed The filtered value after all hooked functions are applied to it.", "docstring_tokens": ["Calls", "the", "callback", "functions", "added", "to", "a", "filter", "hook", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/WpHookReplacer.php#L73-L83", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/AddWpHookCapableTrait.php", "func_name": "AddWpHookCapableTrait._addWpHook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a hook handler to a WordPress event.\n\n@since [*next-version*]\n\n@param string|Stringable $name The hook name.\n@param callable $handler The hook handler callback.\n@param int|null $priority The priority of the hook - larger numbers signify later execution.\n@param int|null $numArgs The number of arguments to accept from the event invoker.\n\n@throws InvalidArgumentException If the $name, $priority or $numArgs arguments are invalid.", "docstring_tokens": ["Adds", "a", "hook", "handler", "to", "a", "WordPress", "event", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/AddWpHookCapableTrait.php#L27-L40", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/AsyncTask.php", "func_name": "AsyncTask.wrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrapper for the function result. Closures get called. Promises get resolved and their resolve value get sent upstream to the pool.\n@param mixed|\\React\\Promise\\PromiseInterface|\\Closure $functionResult Result must be serializable.\n@return void\n@codeCoverageIgnore", "docstring_tokens": ["Wrapper", "for", "the", "function", "result", ".", "Closures", "get", "called", ".", "Promises", "get", "resolved", "and", "their", "resolve", "value", "get", "sent", "upstream", "to", "the", "pool", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/AsyncTask.php#L52-L72", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.resume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resumes whatever the implementation would do. Adds the timer or resumes all streams.\n@return void", "docstring_tokens": ["Resumes", "whatever", "the", "implementation", "would", "do", ".", "Adds", "the", "timer", "or", "resumes", "all", "streams", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L83-L97", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops whatever the implementation would do. Cancels the timer or pauses all streams.\n@return void", "docstring_tokens": ["Stops", "whatever", "the", "implementation", "would", "do", ".", "Cancels", "the", "timer", "or", "pauses", "all", "streams", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L103-L118", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroys the messenger. And everything.\n@return void", "docstring_tokens": ["Destroys", "the", "messenger", ".", "And", "everything", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L124-L139", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.getWorkerSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the ResourceSocket for the worker.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return \\CharlotteDunois\\Phoebe\\ResourceSocket|null", "docstring_tokens": ["Gets", "the", "ResourceSocket", "for", "the", "worker", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L146-L148", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.removeWorkerSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the ResourceSocket of the worker.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void", "docstring_tokens": ["Removes", "the", "ResourceSocket", "of", "the", "worker", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L155-L179", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Messenger.php", "func_name": "Messenger.prepareWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares the worker if needed.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void", "docstring_tokens": ["Prepares", "the", "worker", "if", "needed", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Messenger.php#L186-L220", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/WordPress/AttachMethodHandlerCapableTrait.php", "func_name": "AttachMethodHandlerCapableTrait._attachMethodHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches a handler for a method on this instance.\n\n@since [*next-version*]\n\n@param string|Stringable $eventName The name of the event to attach to.\n@param string|Stringable $methodName The name of the method to attach.\n@param int|null $priority The priority to attach with.\n@param int|null $numArgs The number of arguments to accept from the event invoker.\n\n@throws ReflectionException If a handler for the method could not be retrieved.", "docstring_tokens": ["Attaches", "a", "handler", "for", "a", "method", "on", "this", "instance", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/WordPress/AttachMethodHandlerCapableTrait.php#L29-L36", "partition": "test"} +{"repo": "Dhii/wp-events", "path": "src/HashCallableCapableTrait.php", "func_name": "HashCallableCapableTrait._hashCallable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes a hash of a given callable.\n\n@since [*next-version*]\n\n@param callable|Stringable $callable The callable to hash.\n\n@throws OutOfRangeException If the argument is not a valid callable.\n@throws InvalidArgumentException If argument is a string/stringable and cannot be normalized.\n\n@return string A hash of the callable.", "docstring_tokens": ["Computes", "a", "hash", "of", "a", "given", "callable", "."], "sha": "feee39e602709ae0e5d557d3ae48694d3c7310da", "url": "https://github.com/Dhii/wp-events/blob/feee39e602709ae0e5d557d3ae48694d3c7310da/src/HashCallableCapableTrait.php#L29-L56", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write some data into the stream.\n@param mixed|string $data\n@return bool", "docstring_tokens": ["Write", "some", "data", "into", "the", "stream", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L156-L165", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.pipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pipes all the data from this readable source into the given writable destination.\nAutomatically sends all incoming data to the destination.\nAutomatically throttles the source based on what the destination can handle.\n@param \\React\\Stream\\WritableStreamInterface $dest\n@param array $options\n@return \\React\\Stream\\WritableStreamInterface $dest Stream as-is", "docstring_tokens": ["Pipes", "all", "the", "data", "from", "this", "readable", "source", "into", "the", "given", "writable", "destination", ".", "Automatically", "sends", "all", "incoming", "data", "to", "the", "destination", ".", "Automatically", "throttles", "the", "source", "based", "on", "what", "the", "destination", "can", "handle", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L238-L240", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.handleData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles read.\n@return void\n@internal", "docstring_tokens": ["Handles", "read", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L247-L269", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.handleWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles write.\n@return void\n@internal", "docstring_tokens": ["Handles", "write", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L276-L317", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.checkSocketErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for errors on the socket.\n@return void\n@internal", "docstring_tokens": ["Checks", "for", "errors", "on", "the", "socket", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L344-L351", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.removeReadListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the read listener.\n@return void\n@internal", "docstring_tokens": ["Removes", "the", "read", "listener", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L394-L399", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/ResourceSocket.php", "func_name": "ResourceSocket.removeWriteListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the write listener.\n@return void\n@internal", "docstring_tokens": ["Removes", "the", "write", "listener", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/ResourceSocket.php#L406-L411", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Socket.php", "func_name": "Socket.decodeMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes a message.\n@param string $data\n@return \\CharlotteDunois\\Phoebe\\Message\n@throws \\InvalidArgumentException", "docstring_tokens": ["Decodes", "a", "message", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Socket.php#L105-L116", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.attachTimer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches the pool timer to the loop.\n@return void", "docstring_tokens": ["Attaches", "the", "pool", "timer", "to", "the", "loop", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L191-L201", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.cancelTimer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cancels only the pool timer. Workers continue to run.\n@return void", "docstring_tokens": ["Cancels", "only", "the", "pool", "timer", ".", "Workers", "continue", "to", "run", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L207-L214", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.submit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submits the work to a worker. Resolves with the worker who accepted the job.\n@param \\Threaded $work\n@return \\React\\Promise\\ExtendedPromiseInterface", "docstring_tokens": ["Submits", "the", "work", "to", "a", "worker", ".", "Resolves", "with", "the", "worker", "who", "accepted", "the", "job", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L366-L394", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.submitTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submits the work to a specific worker.\n@param string $workerID\n@param \\Threaded $work\n@return \\CharlotteDunois\\Phoebe\\Worker\n@throws \\InvalidArgumentException", "docstring_tokens": ["Submits", "the", "work", "to", "a", "specific", "worker", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L403-L423", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.submitTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submits the task to a worker and returns a promise which resolves or rejects with the resolve value of the task.\n@param \\CharlotteDunois\\Phoebe\\AsyncTask $task\n@return \\React\\Promise\\ExtendedPromiseInterface\n@throws \\InvalidArgumentException", "docstring_tokens": ["Submits", "the", "task", "to", "a", "worker", "and", "returns", "a", "promise", "which", "resolves", "or", "rejects", "with", "the", "resolve", "value", "of", "the", "task", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L431-L442", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.submitTaskTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Submits the task to a specific worker and returns a promise which resolves or rejects with the resolve value of the task.\n@param string $workerID\n@param \\CharlotteDunois\\Phoebe\\AsyncTask $task\n@return \\React\\Promise\\ExtendedPromiseInterface\n@throws \\InvalidArgumentException", "docstring_tokens": ["Submits", "the", "task", "to", "a", "specific", "worker", "and", "returns", "a", "promise", "which", "resolves", "or", "rejects", "with", "the", "resolve", "value", "of", "the", "task", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L451-L462", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.stopWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a worker correctly and gracefully.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void", "docstring_tokens": ["Stops", "a", "worker", "correctly", "and", "gracefully", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L469-L485", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.removeWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a worker correctly.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void", "docstring_tokens": ["Removes", "a", "worker", "correctly", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L492-L510", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.sendMessageToWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a message to the worker thread.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@param \\CharlotteDunois\\Phoebe\\Message $message\n@return void\n@throws \\RuntimeException", "docstring_tokens": ["Sends", "a", "message", "to", "the", "worker", "thread", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L519-L535", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.broadcastMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Broadcasts a message to all workers.\n@param \\CharlotteDunois\\Phoebe\\Message $message\n@param \\CharlotteDunois\\Phoebe\\Worker|null $skip The worker to skip, or null.\n@return void", "docstring_tokens": ["Broadcasts", "a", "message", "to", "all", "workers", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L543-L553", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.timerTick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Timer tick. Used when using the timer implementation.\n@return void\n@internal", "docstring_tokens": ["Timer", "tick", ".", "Used", "when", "using", "the", "timer", "implementation", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L583-L625", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.internalTimerTick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal Timer tick.\n@return void", "docstring_tokens": ["Internal", "Timer", "tick", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L631-L642", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.spawnWorker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Spawns a new worker.\n@return \\CharlotteDunois\\Phoebe\\Worker\n@throws \\Throwable", "docstring_tokens": ["Spawns", "a", "new", "worker", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L649-L660", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.checkAlive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the worker is alive, or spawns a new one.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return \\CharlotteDunois\\Phoebe\\Worker", "docstring_tokens": ["Checks", "whether", "the", "worker", "is", "alive", "or", "spawns", "a", "new", "one", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L667-L676", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.checkWorkerShutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks periodically whether the worker has shutdown.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void", "docstring_tokens": ["Checks", "periodically", "whether", "the", "worker", "has", "shutdown", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L683-L692", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.handleMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles a message received from a worker.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@param \\CharlotteDunois\\Phoebe\\Message $message\n@return void\n@internal", "docstring_tokens": ["Handles", "a", "message", "received", "from", "a", "worker", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L701-L735", "partition": "test"} +{"repo": "CharlotteDunois/Phoebe", "path": "src/Pool.php", "func_name": "Pool.handleStreamClose", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles a stream close.\n@param \\CharlotteDunois\\Phoebe\\Worker $worker\n@return void\n@internal", "docstring_tokens": ["Handles", "a", "stream", "close", "."], "sha": "17d86891aaa93625e820424f6300a1c5f64a4c33", "url": "https://github.com/CharlotteDunois/Phoebe/blob/17d86891aaa93625e820424f6300a1c5f64a4c33/src/Pool.php#L743-L748", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read bytes.\n\n@return string", "docstring_tokens": ["Read", "bytes", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L96-L103", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readUuid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read uuid.\n\n@return string", "docstring_tokens": ["Read", "uuid", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L110-L114", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read list.\n\n@param array $definition [$valueType]\n@return array", "docstring_tokens": ["Read", "list", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L122-L130", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read map.\n\n@param array $definition [$keyType, $valueType]\n@return array", "docstring_tokens": ["Read", "map", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L138-L146", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readVarint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read variable length integer.\n\n@return string", "docstring_tokens": ["Read", "variable", "length", "integer", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L206-L209", "partition": "test"} +{"repo": "duoshuo/php-cassandra", "path": "src/Response/StreamReader.php", "func_name": "StreamReader.readDecimal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read variable length decimal.\n\n@return string", "docstring_tokens": ["Read", "variable", "length", "decimal", "."], "sha": "323613df9bd2505a11fe24dc8be22c2c77c0809d", "url": "https://github.com/duoshuo/php-cassandra/blob/323613df9bd2505a11fe24dc8be22c2c77c0809d/src/Response/StreamReader.php#L216-L221", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Laravel/BulkSmsServiceProvider.php", "func_name": "BulkSmsServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service on the IoC container.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "on", "the", "IoC", "container", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Laravel/BulkSmsServiceProvider.php#L40-L67", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Laravel/BulkSmsServiceProvider.php", "func_name": "BulkSmsServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the package config files.\n\n@return void", "docstring_tokens": ["Load", "the", "package", "config", "files", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Laravel/BulkSmsServiceProvider.php#L74-L85", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/BulkSmsService.php", "func_name": "BulkSmsService.sendMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a single message.\n\n@param string $recipient\n@param string $message\n@param array $params\n\n@return mixed", "docstring_tokens": ["Send", "a", "single", "message", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/BulkSmsService.php#L111-L125", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/BulkSmsService.php", "func_name": "BulkSmsService.validateResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a response from the API to check for errors\n\n@param anlutro\\cURL\\Response $response\n\n@return bool\n@throws BulkSmsException", "docstring_tokens": ["Validate", "a", "response", "from", "the", "API", "to", "check", "for", "errors"], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/BulkSmsService.php#L158-L182", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/BulkSmsService.php", "func_name": "BulkSmsService.sendBulkMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send messages in bulk.\n\n@param Message[] $messages\n@param array $params\n\n@return mixed", "docstring_tokens": ["Send", "messages", "in", "bulk", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/BulkSmsService.php#L192-L210", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/BulkSmsService.php", "func_name": "BulkSmsService.getStatusForBatchId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check status for single id\n\n@param string $bulksmsid\n\n@return mixed", "docstring_tokens": ["Check", "status", "for", "single", "id"], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/BulkSmsService.php#L229-L236", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Sender/Bulk.php", "func_name": "Bulk.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the queued messages.\n\n@param bool $testmode Testmode to use\n\n@return mixed", "docstring_tokens": ["Send", "the", "queued", "messages", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Sender/Bulk.php#L53-L75", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Sender/Bulk.php", "func_name": "Bulk.generateCSV", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the CSV to send.\n\n@return string", "docstring_tokens": ["Generate", "the", "CSV", "to", "send", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Sender/Bulk.php#L82-L94", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Sender/Single.php", "func_name": "Single.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the message.\n\n@param bool $testmode Testmode to use\n\n@return mixed", "docstring_tokens": ["Send", "the", "message", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Sender/Single.php#L53-L79", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Message.php", "func_name": "Message.setMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the message.\n\n@param string $message\n\n@return $this", "docstring_tokens": ["Set", "the", "message", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Message.php#L96-L105", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Message.php", "func_name": "Message.calculateConcat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate from the message string how many SMSes it may have to span.\n\n@return int", "docstring_tokens": ["Calculate", "from", "the", "message", "string", "how", "many", "SMSes", "it", "may", "have", "to", "span", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Message.php#L126-L138", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Message.php", "func_name": "Message.parseNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a phone number.\n\n@param string $number\n\n@return string", "docstring_tokens": ["Parse", "a", "phone", "number", "."], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Message.php#L147-L179", "partition": "test"} +{"repo": "anlutro/php-bulk-sms", "path": "src/Sender/Status.php", "func_name": "Status.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the status query\n\n@param $batchid\n\n@return \\anlutro\\cURL\\Response|void", "docstring_tokens": ["Send", "the", "status", "query"], "sha": "0e81484eeb55c5730c1c6651b039733bb34ab2ad", "url": "https://github.com/anlutro/php-bulk-sms/blob/0e81484eeb55c5730c1c6651b039733bb34ab2ad/src/Sender/Status.php#L46-L59", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Repository/DynamicRepository.php", "func_name": "DynamicRepository.findByFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds dynamic entries by the given parameters.\n\n@param array $filters\n@param array $sort\n@param int|null $limit\n@param int|null $offset\n\n@return array", "docstring_tokens": ["Finds", "dynamic", "entries", "by", "the", "given", "parameters", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Repository/DynamicRepository.php#L32-L56", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Repository/DynamicRepository.php", "func_name": "DynamicRepository.countByFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of found entities.\n\n@param array $filters\n\n@return int", "docstring_tokens": ["Returns", "the", "number", "of", "found", "entities", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Repository/DynamicRepository.php#L65-L72", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Repository/DynamicRepository.php", "func_name": "DynamicRepository.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the filters from the given array to the QueryBuilder.\n\n@param QueryBuilder $queryBuilder\n@param array $filters", "docstring_tokens": ["Adds", "the", "filters", "from", "the", "given", "array", "to", "the", "QueryBuilder", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Repository/DynamicRepository.php#L80-L117", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Repository/DynamicRepository.php", "func_name": "DynamicRepository.addSearchFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Depending on the given search term, this function filters the result based on search fields.\n\n@param QueryBuilder $queryBuilder\n@param string $search\n@param string[] $searchFields", "docstring_tokens": ["Depending", "on", "the", "given", "search", "term", "this", "function", "filters", "the", "result", "based", "on", "search", "fields", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Repository/DynamicRepository.php#L126-L148", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Repository/DynamicRepository.php", "func_name": "DynamicRepository.addDateRangeFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Depending on the given dates, this function filters the result based on the created date.\n\n@param QueryBuilder $queryBuilder\n@param string $fromDate\n@param string $toDate", "docstring_tokens": ["Depending", "on", "the", "given", "dates", "this", "function", "filters", "the", "result", "based", "on", "the", "created", "date", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Repository/DynamicRepository.php#L157-L170", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Dynamic.php", "func_name": "Dynamic.getField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field.\n\n@param string $key\n\n@return string|array", "docstring_tokens": ["Get", "field", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Dynamic.php#L296-L315", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Dynamic.php", "func_name": "Dynamic.getFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fields.\n\n@param bool $hideHidden\n\n@return array", "docstring_tokens": ["Get", "fields", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Dynamic.php#L324-L341", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.buildByDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build by dynamic entity.\n\n@param Dynamic $dynamic\n\n@return FormConfigurationInterface", "docstring_tokens": ["Build", "by", "dynamic", "entity", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L62-L74", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.buildByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build by type.\n\n@param AbstractType $type\n@param mixed $formData\n@param string $locale\n@param array $attributes\n\n@return FormConfigurationInterface", "docstring_tokens": ["Build", "by", "type", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L86-L112", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.buildAdminMailConfigurationByDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build admin mail configuration by dynamic entity.\n\n@param Dynamic $dynamic\n\n@return MailConfiguration|null", "docstring_tokens": ["Build", "admin", "mail", "configuration", "by", "dynamic", "entity", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L179-L229", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.buildWebsiteMailConfigurationByDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build website mail configuration by form translation.\n\n@param Dynamic $dynamic\n\n@return MailConfiguration|null", "docstring_tokens": ["Build", "website", "mail", "configuration", "by", "form", "translation", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L238-L264", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.getFileFieldsByDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get file fields by dynamic.\n\n@param Dynamic $dynamic\n\n@return int[]", "docstring_tokens": ["Get", "file", "fields", "by", "dynamic", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L273-L291", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.getCollectionIdByDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get collection id by dynamic.\n\n@param Dynamic $dynamic\n\n@return array|int", "docstring_tokens": ["Get", "collection", "id", "by", "dynamic", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L300-L311", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.getEmailFromDynamic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get email from dynamic.\n\n@param Dynamic $dynamic\n\n@return array|null", "docstring_tokens": ["Get", "email", "from", "dynamic", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L335-L341", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Configuration/FormConfigurationFactory.php", "func_name": "FormConfigurationFactory.getEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get email.\n\n@param string $email\n@param string $name\n\n@return array|null", "docstring_tokens": ["Get", "email", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Configuration/FormConfigurationFactory.php#L351-L362", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Builder.php", "func_name": "Builder.buildForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns formType and the built form.\n\n@param int $id\n@param string $type\n@param string $typeId\n@param string $locale\n@param string $name\n\n@return FormInterface", "docstring_tokens": ["Returns", "formType", "and", "the", "built", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Builder.php#L175-L202", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Builder.php", "func_name": "Builder.createForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create form.\n\n@param string $name\n@param string $type\n@param string $typeId\n@param string $locale\n@param Form $formEntity\n@param string $webspaceKey\n\n@return FormInterface", "docstring_tokens": ["Create", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Builder.php#L232-L258", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Builder.php", "func_name": "Builder.loadFormEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load Form entity.\n\n@param $id\n@param $locale\n\n@return Form|null", "docstring_tokens": ["Load", "Form", "entity", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Builder.php#L268-L284", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Builder.php", "func_name": "Builder.getDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get defaults.\n\n@param Form $formEntity\n@param string $locale\n\n@return array", "docstring_tokens": ["Get", "defaults", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Builder.php#L294-L309", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Builder.php", "func_name": "Builder.getWebspaceKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get webspace key.\n\n@return string", "docstring_tokens": ["Get", "webspace", "key", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Builder.php#L316-L328", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Dynamic/Checksum.php", "func_name": "Checksum.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check checksum with given parameters.\n\n@param string $checksum\n@param string $type\n@param string $typeId\n@param string $formId\n@param string $formName\n\n@return bool", "docstring_tokens": ["Check", "checksum", "with", "given", "parameters", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Dynamic/Checksum.php#L53-L58", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Dynamic/Checksum.php", "func_name": "Checksum.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a checksum and encode with secret and given parameters.\n\n@param string $type\n@param string $typeId\n@param string $formId\n@param string $formName\n\n@return string", "docstring_tokens": ["Create", "a", "checksum", "and", "encode", "with", "secret", "and", "given", "parameters", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Dynamic/Checksum.php#L85-L90", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/DynamicController.php", "func_name": "DynamicController.cgetAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return dynamic form entries.\n\n@param Request $request\n\n@return Response", "docstring_tokens": ["Return", "dynamic", "form", "entries", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/DynamicController.php#L38-L80", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/DynamicController.php", "func_name": "DynamicController.cgetFieldsAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the fields for a dynamic form.\n\n@param Request $request\n\n@return Response", "docstring_tokens": ["Returns", "the", "fields", "for", "a", "dynamic", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/DynamicController.php#L89-L101", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/DynamicController.php", "func_name": "DynamicController.deleteAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete dynamic form entry.\n\n@param Request $request\n\n@return Response", "docstring_tokens": ["Delete", "dynamic", "form", "entry", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/DynamicController.php#L110-L140", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/DynamicController.php", "func_name": "DynamicController.getFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get filters.\n\n@param Request $request\n\n@return array", "docstring_tokens": ["Get", "filters", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/DynamicController.php#L149-L163", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/DynamicController.php", "func_name": "DynamicController.loadForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get form.\n\n@param Request $request\n\n@return Form", "docstring_tokens": ["Get", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/DynamicController.php#L172-L181", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "ListBuilder/DynamicListBuilder.php", "func_name": "DynamicListBuilder.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert value to string.\n\n@param string|array $value\n\n@return string\n\n@throws \\Exception", "docstring_tokens": ["Convert", "value", "to", "string", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/ListBuilder/DynamicListBuilder.php#L85-L108", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "ListBuilder/DynamicListBuilder.php", "func_name": "DynamicListBuilder.getMediaUrls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get media urls.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Get", "media", "urls", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/ListBuilder/DynamicListBuilder.php#L117-L132", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "ListBuilder/DynamicListBuilder.php", "func_name": "DynamicListBuilder.getDownloadUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For performance generate route only once.\n\n@return string", "docstring_tokens": ["For", "performance", "generate", "route", "only", "once", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/ListBuilder/DynamicListBuilder.php#L151-L165", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Dynamic/Types/ChoiceTrait.php", "func_name": "ChoiceTrait.getChoices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get choices.\n\n@param FormFieldTranslation $translation\n\n@return array", "docstring_tokens": ["Get", "choices", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Dynamic/Types/ChoiceTrait.php#L28-L33", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Dynamic/Types/ChoiceTrait.php", "func_name": "ChoiceTrait.getChoiceOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns options for multichoice form type like select, multiple select, radio or checkboxes.\n\n@param FormFieldTranslation $translation\n@param array $options\n\n@return array", "docstring_tokens": ["Returns", "options", "for", "multichoice", "form", "type", "like", "select", "multiple", "select", "radio", "or", "checkboxes", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Dynamic/Types/ChoiceTrait.php#L43-L58", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Twig/FormTwigExtension.php", "func_name": "FormTwigExtension.getFormById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns FormView by given params.\n\n@param int $id\n@param string $type\n@param string $typeId\n@param mixed $locale\n@param string $name\n\n@return FormView", "docstring_tokens": ["Returns", "FormView", "by", "given", "params", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Twig/FormTwigExtension.php#L60-L69", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Event/RequestListener.php", "func_name": "RequestListener.onKernelRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "On Kernel request.\n\n@param GetResponseEvent $event", "docstring_tokens": ["On", "Kernel", "request", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Event/RequestListener.php#L69-L109", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Form.php", "func_name": "Form.getTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get translation.\n\n@param string $locale\n@param bool $create\n@param bool $fallback\n\n@return FormTranslation|null", "docstring_tokens": ["Get", "translation", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Form.php#L131-L151", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Form.php", "func_name": "Form.getField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field by key.\n\n@param string $key\n\n@return FormField|null", "docstring_tokens": ["Get", "field", "by", "key", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Form.php#L214-L221", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Form.php", "func_name": "Form.getFieldsNotInArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fields not in array.\n\n@param $keys\n\n@return FormField[]", "docstring_tokens": ["Get", "fields", "not", "in", "array", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Form.php#L248-L259", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Entity/Form.php", "func_name": "Form.serializeForLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a localized array of the object.\n\n@param $locale\n@param Dynamic $dynamic\n\n@return array", "docstring_tokens": ["Return", "a", "localized", "array", "of", "the", "object", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Entity/Form.php#L269-L312", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.formAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Form action.\n\n@param StructureInterface $structure\n@param bool $preview\n@param bool $partial\n\n@return JsonResponse|RedirectResponse|Response", "docstring_tokens": ["Form", "action", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L45-L73", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.onlyAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Form only action.\n\n@param Request $request\n@param string $key\n\n@return RedirectResponse|Response\n\n@throws NotFoundHttpException", "docstring_tokens": ["Form", "only", "action", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L85-L109", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.handleFormSubmit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle form submit.\n\n@param Request $request\n@param AbstractType $type\n@param array $attributes\n\n@return JsonResponse|RedirectResponse", "docstring_tokens": ["Handle", "form", "submit", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L120-L149", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.handleFormOnlySubmit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle form only submit.\n\n@param Request $request\n@param AbstractType $type\n\n@return RedirectResponse", "docstring_tokens": ["Handle", "form", "only", "submit", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L159-L172", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.tokenAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a token for the form.\n\n@param Request $request\n\n@return Response", "docstring_tokens": ["Generates", "a", "token", "for", "the", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L181-L212", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Controller/FormWebsiteController.php", "func_name": "FormWebsiteController.getErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get errors.\n\n@return array", "docstring_tokens": ["Get", "errors", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Controller/FormWebsiteController.php#L219-L245", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Handler.php", "func_name": "Handler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle form.\n\n@param FormInterface $form\n@param FormConfigurationInterface $configuration\n\n@return bool", "docstring_tokens": ["Handle", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Handler.php#L92-L104", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Handler.php", "func_name": "Handler.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save form.\n\n@param FormInterface $form\n@param FormConfigurationInterface $configuration", "docstring_tokens": ["Save", "form", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Handler.php#L112-L136", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Handler.php", "func_name": "Handler.uploadMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upload media.\n\n@param FormInterface $form\n@param FormConfigurationInterface $configuration\n\n@return array", "docstring_tokens": ["Upload", "media", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Handler.php#L199-L237", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Handler.php", "func_name": "Handler.mapMediaIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map media ids.\n\n@param mixed $entity\n@param int[] $mediaIds\n\n@return mixed", "docstring_tokens": ["Map", "media", "ids", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Handler.php#L247-L256", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Handler.php", "func_name": "Handler.getMediaData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get media data.\n\n@param UploadedFile $file\n@param FormInterface $form\n@param FormConfigurationInterface $configuration\n@param int $collectionId\n\n@return array", "docstring_tokens": ["Get", "media", "data", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Handler.php#L268-L279", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Dynamic/Types/MailchimpType.php", "func_name": "MailchimpType.getMailChimpLists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns array of Mailchimp lists of given account defined by the API key.\n\n@return array", "docstring_tokens": ["Returns", "array", "of", "Mailchimp", "lists", "of", "given", "account", "defined", "by", "the", "API", "key", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Dynamic/Types/MailchimpType.php#L73-L97", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "ListBuilder/DynamicListFactory.php", "func_name": "DynamicListFactory.getBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get builder.\n\n@param string $alias\n\n@return DynamicListBuilderInterface\n\n@throws \\Exception", "docstring_tokens": ["Get", "builder", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/ListBuilder/DynamicListFactory.php#L118-L129", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Type/AbstractType.php", "func_name": "AbstractType.getBlockPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the prefix of the template block name for this type.\n\nThe block prefixes default to the underscored short class name with\nthe \"Type\" suffix removed (e.g. \"UserProfileType\" => \"user_profile\").\n\n@see https://github.com/symfony/symfony/blob/2.8/src/Symfony/Component/Form/AbstractType.php\n\n@return string The prefix of the template block name", "docstring_tokens": ["Returns", "the", "prefix", "of", "the", "template", "block", "name", "for", "this", "type", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Type/AbstractType.php#L275-L281", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Media/CollectionStrategyTree.php", "func_name": "CollectionStrategyTree.createCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create collection.\n\n@param string $title\n@param int $parentId\n@param string $collectionKey\n@param string $locale\n\n@return int", "docstring_tokens": ["Create", "collection", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Media/CollectionStrategyTree.php#L110-L121", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Media/CollectionStrategyTree.php", "func_name": "CollectionStrategyTree.loadCollectionId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load collection id.\n\n@param string $collectionKey\n@param string $locale\n\n@return int", "docstring_tokens": ["Load", "collection", "id", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Media/CollectionStrategyTree.php#L131-L146", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Type/DynamicFormType.php", "func_name": "DynamicFormType.getItemWidthNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get item width number.\n\n@param string $width\n\n@return int", "docstring_tokens": ["Get", "item", "width", "number", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Type/DynamicFormType.php#L203-L235", "partition": "test"} +{"repo": "sulu/SuluFormBundle", "path": "Form/Type/DynamicFormType.php", "func_name": "DynamicFormType.getLastWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get last width.\n\n@param int $currentWidthValue\n@param string $width\n@param string $nextWidth\n\n@return bool", "docstring_tokens": ["Get", "last", "width", "."], "sha": "4226e71f3c220f40d75bd289297e4879a3f36f69", "url": "https://github.com/sulu/SuluFormBundle/blob/4226e71f3c220f40d75bd289297e4879a3f36f69/Form/Type/DynamicFormType.php#L246-L265", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/ErrorHandler.php", "func_name": "ErrorHandler.rethrow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the specified exception thrown by PDO and tries to throw a more specific exception or error instead\n\n@param PDOException $e the exception thrown by PDO\n@throws Exception\n@throws Error", "docstring_tokens": ["Handles", "the", "specified", "exception", "thrown", "by", "PDO", "and", "tries", "to", "throw", "a", "more", "specific", "exception", "or", "error", "instead"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/ErrorHandler.php#L40-L90", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setHostname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the hostname\n\n@param string|null $hostname the hostname where the database can be accessed, e.g. `db.example.com`\n@return static this instance for chaining", "docstring_tokens": ["Sets", "the", "hostname"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L74-L78", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setUnixSocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the unix socket\n\n@param string|null $unixSocket the UNIX socket to use, e.g. `/tmp/db.sock`\n@return static this instance for chaining", "docstring_tokens": ["Sets", "the", "unix", "socket"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L98-L102", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets whether to keep the database in memory only\n\n@param bool|null $memory whether to keep the database in memory only\n@return static this instance for chaining", "docstring_tokens": ["Sets", "whether", "to", "keep", "the", "database", "in", "memory", "only"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L110-L114", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the file path\n\n@param string|null $filePath the path to the file where the database can be accessed on disk, e.g. `/opt/databases/mydb.ext`\n@return static this instance for chaining", "docstring_tokens": ["Sets", "the", "file", "path"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L122-L126", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setDatabaseName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the database name\n\n@param string|null $databaseName the name of the database, e.g. `my_application`\n@return static this instance for chaining", "docstring_tokens": ["Sets", "the", "database", "name"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L134-L138", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDataSource.php", "func_name": "PdoDataSource.setCharset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the charset\n\n@param string|null $charset the character encoding, e.g. `utf8`\n@return static this instance for chaining", "docstring_tokens": ["Sets", "the", "charset"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDataSource.php#L146-L150", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDatabase.php", "func_name": "PdoDatabase.ensureConnected", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes sure that the connection is active and otherwise establishes it automatically", "docstring_tokens": ["Makes", "sure", "that", "the", "connection", "is", "active", "and", "otherwise", "establishes", "it", "automatically"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDatabase.php#L470-L494", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDatabase.php", "func_name": "PdoDatabase.configureConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures this connection by setting appropriate attributes\n\n@param array|null $newAttributes the new attributes to set\n@param array|null $oldAttributes where old configurations may be saved to restore them later", "docstring_tokens": ["Configures", "this", "connection", "by", "setting", "appropriate", "attributes"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDatabase.php#L514-L553", "partition": "test"} +{"repo": "delight-im/PHP-DB", "path": "src/PdoDatabase.php", "func_name": "PdoDatabase.selectInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Selects from the database using the specified query and returns what the supplied callback extracts from the result set\n\nYou should not include any dynamic input in the query\n\nInstead, pass `?` characters (without any quotes) as placeholders and pass the actual values in the third argument\n\n@param callable $callback the callback that receives the executed statement and can then extract and return the desired results\n@param string $query the query to select with\n@param array|null $bindValues (optional) the values to bind as replacements for the `?` characters in the query\n@return mixed whatever the callback has extracted and returned from the result set", "docstring_tokens": ["Selects", "from", "the", "database", "using", "the", "specified", "query", "and", "returns", "what", "the", "supplied", "callback", "extracts", "from", "the", "result", "set"], "sha": "7a03da20b5592fa445c10cd6c7245d51037292c4", "url": "https://github.com/delight-im/PHP-DB/blob/7a03da20b5592fa445c10cd6c7245d51037292c4/src/PdoDatabase.php#L567-L613", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.getQueues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of message queues\n\n@param int $previous\nZero-indexed page to view\n@param int $per_page\nNumber of queues per page", "docstring_tokens": ["Get", "list", "of", "message", "queues"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L79-L91", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.getQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about queue.\nAlso returns queue size.\n\n@param string $queue_name\n@return mixed", "docstring_tokens": ["Get", "information", "about", "queue", ".", "Also", "returns", "queue", "size", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L100-L106", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.postMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push a message on the queue\n\nExamples:\n\n$ironmq->postMessage(\"test_queue\", \"Hello world\");\n\n\n$ironmq->postMessage(\"test_queue\", \"Test Message\", array(\n'timeout' => 120,\n'delay' => 2,\n'expires_in' => 2*24*3600 # 2 days\n));\n\n\n@param string $queue_name Name of the queue.\n@param string $message\n@param array $properties\n@return mixed", "docstring_tokens": ["Push", "a", "message", "on", "the", "queue"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L142-L155", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.postMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push multiple messages on the queue\n\nExample:\n\n$ironmq->postMessages(\"test_queue\", array(\"Lorem\", \"Ipsum\"), array(\n'timeout' => 120,\n'delay' => 2,\n'expires_in' => 2*24*3600 # 2 days\n));\n\n\n@param string $queue_name Name of the queue.\n@param array $messages array of messages, each message same as for postMessage() method\n@param array $properties array of message properties, applied to each message in $messages\n@return mixed", "docstring_tokens": ["Push", "multiple", "messages", "on", "the", "queue"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L174-L188", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.getMessageById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the message with the given id.\n@param string $queue_name Queue name\n@param string $message_id Message ID\n@return mixed", "docstring_tokens": ["Get", "the", "message", "with", "the", "given", "id", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L272-L278", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.touchMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Touch a Message on a Queue\nTouching a reserved message extends its timeout by the duration specified when the message was created,\nwhich is 60 seconds by default.\n\n@param string $queue_name\n@param string $message_id\n@param int $timeout\n@return mixed", "docstring_tokens": ["Touch", "a", "Message", "on", "a", "Queue", "Touching", "a", "reserved", "message", "extends", "its", "timeout", "by", "the", "duration", "specified", "when", "the", "message", "was", "created", "which", "is", "60", "seconds", "by", "default", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L382-L394", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.releaseMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Release a Message on a Queue\nReleasing a reserved message unreserves the message and puts it back on the queue,\nas if the message had timed out.\n\n@param string $queue_name\n@param string $message_id\n@param string $reservation_id\n@param int $delay The item will not be available on the queue until this many seconds have passed.\nDefault is 0 seconds. Maximum is 604,800 seconds (7 days).\n@return mixed", "docstring_tokens": ["Release", "a", "Message", "on", "a", "Queue", "Releasing", "a", "reserved", "message", "unreserves", "the", "message", "and", "puts", "it", "back", "on", "the", "queue", "as", "if", "the", "message", "had", "timed", "out", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L408-L418", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.addAlerts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add alerts to a queue. This is for Pull Queue only.\n\n@param string $queue_name\n@param array $alerts_hash\n@return mixed", "docstring_tokens": ["Add", "alerts", "to", "a", "queue", ".", "This", "is", "for", "Pull", "Queue", "only", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L427-L438", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.deleteAlertById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove alert from a queue by its ID. This is for Pull Queue only.\n\n@param string $queue_name\n@param string $alert_id\n@return mixed\n@deprecated", "docstring_tokens": ["Remove", "alert", "from", "a", "queue", "by", "its", "ID", ".", "This", "is", "for", "Pull", "Queue", "only", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L473-L480", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.deleteQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a Message Queue\nThis call deletes a message queue and all its messages.\n\n@param string $queue_name\n@return mixed", "docstring_tokens": ["Delete", "a", "Message", "Queue", "This", "call", "deletes", "a", "message", "queue", "and", "all", "its", "messages", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L489-L495", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.updateQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the queue object\n\n@param string $queue_name\n@param array $options Parameters to change. keys:\n\n@return object", "docstring_tokens": ["Updates", "the", "queue", "object"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L505-L511", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.createQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a queue\n\n@param string $queue_name\n@param array $options Parameters to change. keys:\n\n@return object", "docstring_tokens": ["Creates", "a", "queue"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L521-L527", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.replaceSubscribers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace old Subscribers with new ones, Older subscribers will be removed.\n\n@param $queue_name\n@param $subscribers_hash - Array of subscribers. keys:\n- \"url\" Subscriber url\n- \"name\" Name of subscriber\n@return mixed", "docstring_tokens": ["Replace", "old", "Subscribers", "with", "new", "ones", "Older", "subscribers", "will", "be", "removed", "."], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L575-L584", "partition": "test"} +{"repo": "iron-io/iron_mq_php", "path": "src/IronMQ.php", "func_name": "IronMQ.removeSubscribers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove Subscribers from a Queue\n\nExample:\n\n$ironmq->removeSubscriber(\"test_queue\", array(\"url\" => \"http://example.com\"));\n\n\n@param string $queue_name\n@param array $subscriber_hash Subscriber. keys:\n- \"url\" Subscriber url\n@return mixed", "docstring_tokens": ["Remove", "Subscribers", "from", "a", "Queue"], "sha": "15186c8282c45906610813ead785ef227395007f", "url": "https://github.com/iron-io/iron_mq_php/blob/15186c8282c45906610813ead785ef227395007f/src/IronMQ.php#L626-L635", "partition": "test"} +{"repo": "bit3archive/faker-cli", "path": "src/Command/GenerateCommand.php", "func_name": "GenerateCommand.outputJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate and output the data as JSON.\n\n@param OutputInterface $output\n@param mixed $data", "docstring_tokens": ["Generate", "and", "output", "the", "data", "as", "JSON", "."], "sha": "500f66cd0266b6b52bdb1fe78e3940847d706c82", "url": "https://github.com/bit3archive/faker-cli/blob/500f66cd0266b6b52bdb1fe78e3940847d706c82/src/Command/GenerateCommand.php#L141-L145", "partition": "test"} +{"repo": "bit3archive/faker-cli", "path": "src/Command/GenerateCommand.php", "func_name": "GenerateCommand.outputXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate and output the data as XML.\n\n@param OutputInterface $output\n@param mixed $data", "docstring_tokens": ["Generate", "and", "output", "the", "data", "as", "XML", "."], "sha": "500f66cd0266b6b52bdb1fe78e3940847d706c82", "url": "https://github.com/bit3archive/faker-cli/blob/500f66cd0266b6b52bdb1fe78e3940847d706c82/src/Command/GenerateCommand.php#L153-L160", "partition": "test"} +{"repo": "bit3archive/faker-cli", "path": "src/Command/GenerateCommand.php", "func_name": "GenerateCommand.generateXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a xml element from the input data.\n\n@param \\DOMDocument $doc\n@param mixed $data\n\n@return \\DOMElement", "docstring_tokens": ["Generate", "a", "xml", "element", "from", "the", "input", "data", "."], "sha": "500f66cd0266b6b52bdb1fe78e3940847d706c82", "url": "https://github.com/bit3archive/faker-cli/blob/500f66cd0266b6b52bdb1fe78e3940847d706c82/src/Command/GenerateCommand.php#L170-L203", "partition": "test"} +{"repo": "bit3archive/faker-cli", "path": "src/Command/GenerateCommand.php", "func_name": "GenerateCommand.outputCsv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate and output the data as CSV.\n\n@param OutputInterface $output\n@param mixed $data", "docstring_tokens": ["Generate", "and", "output", "the", "data", "as", "CSV", "."], "sha": "500f66cd0266b6b52bdb1fe78e3940847d706c82", "url": "https://github.com/bit3archive/faker-cli/blob/500f66cd0266b6b52bdb1fe78e3940847d706c82/src/Command/GenerateCommand.php#L211-L230", "partition": "test"} +{"repo": "bit3archive/faker-cli", "path": "src/Command/GenerateCommand.php", "func_name": "GenerateCommand.flattenArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flatten an array.\n\n@param $data\n\n@return array", "docstring_tokens": ["Flatten", "an", "array", "."], "sha": "500f66cd0266b6b52bdb1fe78e3940847d706c82", "url": "https://github.com/bit3archive/faker-cli/blob/500f66cd0266b6b52bdb1fe78e3940847d706c82/src/Command/GenerateCommand.php#L239-L253", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Command/CacheClientStatsCommand.php", "func_name": "CacheClientStatsCommand.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the CLI task\n\n@param InputInterface $input\n@param OutputInterface $output\n@return void", "docstring_tokens": ["Execute", "the", "CLI", "task"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Command/CacheClientStatsCommand.php#L38-L50", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Command/CacheClientStatsCommand.php", "func_name": "CacheClientStatsCommand.formatStats", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the raw array for the command line report\n\n@param array $stats An array of memcache::extendedstats\n@param bool $debug (default: false) True causes a raw dump of the stats array to be provided\n@return string ConsoleComponent-formatted output, suitable for ->writeln() usage", "docstring_tokens": ["Format", "the", "raw", "array", "for", "the", "command", "line", "report"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Command/CacheClientStatsCommand.php#L59-L100", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Command/CacheClientStatsCommand.php", "func_name": "CacheClientStatsCommand.formatUsage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the usage stats\n\n@param integer $bytes Cache usage (in bytes)\n@param integer $maxbytes Cache maximum size (in bytes)\n@return string A short string with friendly formatting", "docstring_tokens": ["Format", "the", "usage", "stats"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Command/CacheClientStatsCommand.php#L109-L120", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Command/CacheClientStatsCommand.php", "func_name": "CacheClientStatsCommand.formatUptime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the uptime to be friendlier\n\n@param integer $uptime Cache server uptime (in seconds)\n@return string A short string with friendly formatting", "docstring_tokens": ["Formats", "the", "uptime", "to", "be", "friendlier"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Command/CacheClientStatsCommand.php#L128-L158", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.addServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a server to the memcache pool.\n\nDoes not probe server, does not set Safe to true.\n\nShould really be private, or modified to handle the probeServer action itself.\n\n@param string $ip Location of memcache server\n@param int $port Optional: Port number (default: 11211)\n@access public\n@return void", "docstring_tokens": ["Add", "a", "server", "to", "the", "memcache", "pool", "."], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L47-L52", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.addServers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an array of servers to the memcache pool\n\nUses ProbeServer to verify that the connection is valid.\n\nFormat of array:\n\n$servers[ '127.0.0.1' ] = 11211;\n\nLogic is somewhat flawed, of course, because it wouldn't let you add multiple\nservers on the same IP.\n\nSerious flaw, right? ;-)\n\n@param array $servers See above format definition\n@access public\n@return void", "docstring_tokens": ["Add", "an", "array", "of", "servers", "to", "the", "memcache", "pool"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L72-L88", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.probeServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Spend a few tenths of a second opening a socket to the requested IP and port\n\nThe purpose of this is to verify that the server exists before trying to add it,\nto cut down on weird errors when doing ->get(). This could be a controversial or\nflawed way to go about this.\n\n@param string $ip IP address (or hostname, possibly)\n@param int $port Port that memcache is running on\n@access public\n@return boolean True if the socket opens successfully, or false if it fails", "docstring_tokens": ["Spend", "a", "few", "tenths", "of", "a", "second", "opening", "a", "socket", "to", "the", "requested", "IP", "and", "port"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L102-L115", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a value from memcache\n\n@param string|array $key Unique identifier or array of identifiers\n@access public\n@return mixed Requested value, or false if an error occurs", "docstring_tokens": ["Retrieve", "a", "value", "from", "memcache"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L124-L132", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a value to the memcache\n\n@param string $key Unique key\n@param mixed $value A value. I recommend a string, be it serialized or not - other values haven't been tested :)\n@param int $ttl Number of seconds for the value to be valid for\n@access public\n@return void", "docstring_tokens": ["Add", "a", "value", "to", "the", "memcache"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L143-L151", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Client/MemcacheClient.php", "func_name": "MemcacheClient.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a value from the memcache\n\n@param string $key Unique key\n@access public\n@return void", "docstring_tokens": ["Delete", "a", "value", "from", "the", "memcache"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Client/MemcacheClient.php#L160-L168", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Cache.php", "func_name": "Cache.setClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inject a cache client interface to interact with a custom cache service\n\n@param CacheClientInterface $client The client object or service\n@access public\n@return void", "docstring_tokens": ["Inject", "a", "cache", "client", "interface", "to", "interact", "with", "a", "custom", "cache", "service"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Cache.php#L75-L82", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Cache.php", "func_name": "Cache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a value from the cache using the provided key\n\n@param string|array $key The unique key or array of keys identifying the data to be retrieved.\n@access public\n@return mixed The requested data, or false if there is an error", "docstring_tokens": ["Retrieve", "a", "value", "from", "the", "cache", "using", "the", "provided", "key"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Cache.php#L91-L98", "partition": "test"} +{"repo": "beryllium/CacheBundle", "path": "Cache.php", "func_name": "Cache.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a key from the cache\n\n@param string $key Unique key\n@access public\n@return void", "docstring_tokens": ["Delete", "a", "key", "from", "the", "cache"], "sha": "513f6f8900c9032f7e60b0d30506d71f08e3597b", "url": "https://github.com/beryllium/CacheBundle/blob/513f6f8900c9032f7e60b0d30506d71f08e3597b/Cache.php#L127-L134", "partition": "test"} +{"repo": "enniel/laravel-fcm-notification-channel", "path": "src/FCMMessage.php", "func_name": "FCMMessage.makeInvalidArgumentException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make Invalid Argument Exception.\n\n@param mixed $data\n@param string $method\n@param string $container\n@param string $builder\n@return \\NotificationChannels\\FCM\\Exceptions\\InvalidArgumentException", "docstring_tokens": ["Make", "Invalid", "Argument", "Exception", "."], "sha": "f2fd3c0829d054811fa134542631dbc438a5a1f0", "url": "https://github.com/enniel/laravel-fcm-notification-channel/blob/f2fd3c0829d054811fa134542631dbc438a5a1f0/src/FCMMessage.php#L239-L252", "partition": "test"} +{"repo": "enniel/laravel-fcm-notification-channel", "path": "src/FCMMessage.php", "func_name": "FCMMessage.populateBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populate Builder.\n\n@param object $builder\n@param array $map\n@param array $data\n@return object", "docstring_tokens": ["Populate", "Builder", "."], "sha": "f2fd3c0829d054811fa134542631dbc438a5a1f0", "url": "https://github.com/enniel/laravel-fcm-notification-channel/blob/f2fd3c0829d054811fa134542631dbc438a5a1f0/src/FCMMessage.php#L262-L270", "partition": "test"} +{"repo": "enniel/laravel-fcm-notification-channel", "path": "src/FCMMessage.php", "func_name": "FCMMessage.options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Options.\n\n@param mixed $options\n@return", "docstring_tokens": ["Set", "Options", "."], "sha": "f2fd3c0829d054811fa134542631dbc438a5a1f0", "url": "https://github.com/enniel/laravel-fcm-notification-channel/blob/f2fd3c0829d054811fa134542631dbc438a5a1f0/src/FCMMessage.php#L278-L304", "partition": "test"} +{"repo": "enniel/laravel-fcm-notification-channel", "path": "src/FCMMessage.php", "func_name": "FCMMessage.notification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Notification.\n\n@param mixed $notification\n@return $this", "docstring_tokens": ["Set", "Notification", "."], "sha": "f2fd3c0829d054811fa134542631dbc438a5a1f0", "url": "https://github.com/enniel/laravel-fcm-notification-channel/blob/f2fd3c0829d054811fa134542631dbc438a5a1f0/src/FCMMessage.php#L312-L335", "partition": "test"} +{"repo": "enniel/laravel-fcm-notification-channel", "path": "src/FCMMessage.php", "func_name": "FCMMessage.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Data.\n\n@param mixed $data\n@return $this", "docstring_tokens": ["Set", "Data", "."], "sha": "f2fd3c0829d054811fa134542631dbc438a5a1f0", "url": "https://github.com/enniel/laravel-fcm-notification-channel/blob/f2fd3c0829d054811fa134542631dbc438a5a1f0/src/FCMMessage.php#L343-L366", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/layouts/LoggerLayoutXml.php", "func_name": "LoggerLayoutXml.encodeCDATA", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encases a string in CDATA tags, and escapes any existing CDATA end\ntags already present in the string.\n@param string $string", "docstring_tokens": ["Encases", "a", "string", "in", "CDATA", "tags", "and", "escapes", "any", "existing", "CDATA", "end", "tags", "already", "present", "in", "the", "string", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/layouts/LoggerLayoutXml.php#L205-L208", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.getNonAuthenticationUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get URL without authentication data.\nNote that this method may set a channel parameter if there is none\nalready.\n\n@param string $action The action to be targeted on the FACT-Finder\nserver.\n@param FACTFinder\\Util\\Parameters $parameters The parameters object from\nwhich to build the URL.\n\n@return string The full URL.", "docstring_tokens": ["Get", "URL", "without", "authentication", "data", ".", "Note", "that", "this", "method", "may", "set", "a", "channel", "parameter", "if", "there", "is", "none", "already", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L52-L64", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.getAuthenticationUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a full URL with authentication data. The type of authentication\nis determined from the configuration.\nNote that this method may set a channel parameter if there is none\nalready.\n\n@param string $action The action to be targeted on the FACT-Finder\nserver.\n@param FACTFinder\\Util\\Parameters $parameters The parameters object from\nwhich to build the URL.\n\n@return string The full URL.\n\n@throws Exception if no valid authentication type was configured.", "docstring_tokens": ["Returns", "a", "full", "URL", "with", "authentication", "data", ".", "The", "type", "of", "authentication", "is", "determined", "from", "the", "configuration", ".", "Note", "that", "this", "method", "may", "set", "a", "channel", "parameter", "if", "there", "is", "none", "already", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L81-L96", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.getAdvancedAuthenticationUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get URL with advanced authentication encryption.\n\n@param string $action The action to be targeted on the FACT-Finder\nserver.\n@param FACTFinder\\Util\\Parameters $parameters The parameters object from\nwhich to build the URL.\n\n@return string The full URL.", "docstring_tokens": ["Get", "URL", "with", "advanced", "authentication", "encryption", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L108-L131", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.getSimpleAuthenticationUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get URL with simple authentication encryption.\n\n@param string $action The action to be targeted on the FACT-Finder\nserver.\n@param FACTFinder\\Util\\Parameters $parameters The parameters object from\nwhich to build the URL.\n\n@return string The full URL.", "docstring_tokens": ["Get", "URL", "with", "simple", "authentication", "encryption", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L143-L160", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.getHttpAuthenticationUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get URL with HTTP authentication.\n\n@param string $action The action to be targeted on the FACT-Finder\nserver.\n@param FACTFinder\\Util\\Parameters $parameters The parameters object from\nwhich to build the URL.\n\n@return string The full URL.", "docstring_tokens": ["Get", "URL", "with", "HTTP", "authentication", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L172-L190", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/UrlBuilder.php", "func_name": "UrlBuilder.ensureChannelParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If no channel is set, try to fill it from configuration data.\n\n@param FACTFinder\\Util\\Parameters $parameters The parameters object to\ncheck.", "docstring_tokens": ["If", "no", "channel", "is", "set", "try", "to", "fill", "it", "from", "configuration", "data", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/UrlBuilder.php#L198-L205", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/SimilarRecords.php", "func_name": "SimilarRecords.setProductID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set one product IDs to get similar records for.\n\n@param string $productID", "docstring_tokens": ["Set", "one", "product", "IDs", "to", "get", "similar", "records", "for", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/SimilarRecords.php#L73-L78", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/SimilarRecords.php", "func_name": "SimilarRecords.getSimilarAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the attributes based on which similar records are determined as\nwell as the source product's values of those attributes. If no ID has\nbeen set, there will be a warning raised and an empty array will be\nreturned.\n\n@return mixed[] Attribute names as keys and attribute values as values.", "docstring_tokens": ["Returns", "the", "attributes", "based", "on", "which", "similar", "records", "are", "determined", "as", "well", "as", "the", "source", "product", "s", "values", "of", "those", "attributes", ".", "If", "no", "ID", "has", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "array", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/SimilarRecords.php#L88-L98", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/SimilarRecords.php", "func_name": "SimilarRecords.getSimilarRecords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns similar records for the ID previously specified. If no ID has\nbeen set, there will be a warning raised and an empty result will be\nreturned.\n\n@return \\FACTFinder\\Data\\Result", "docstring_tokens": ["Returns", "similar", "records", "for", "the", "ID", "previously", "specified", ".", "If", "no", "ID", "has", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "result", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/SimilarRecords.php#L132-L143", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderFile.php", "func_name": "LoggerAppenderFile.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a string to the target file. Opens file if not already open.\n@param string $string Data to write.", "docstring_tokens": ["Writes", "a", "string", "to", "the", "target", "file", ".", "Opens", "file", "if", "not", "already", "open", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderFile.php#L120-L133", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAutoloader.php", "func_name": "LoggerAutoloader.autoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a class.\n@param string $className The name of the class to load.", "docstring_tokens": ["Loads", "a", "class", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAutoloader.php#L137-L141", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderConsole.php", "func_name": "LoggerAppenderConsole.setTarget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the 'target' parameter.\n@param string $target", "docstring_tokens": ["Sets", "the", "target", "parameter", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderConsole.php#L84-L94", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Import.php", "func_name": "Import.triggerDataImport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trigger a search data import.\n\n@param bool $download If true, update import files prior to import.", "docstring_tokens": ["Trigger", "a", "search", "data", "import", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Import.php#L40-L51", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Import.php", "func_name": "Import.triggerSuggestImport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trigger a suggest data import.\n\n@param bool $download If true, update import files prior to import.", "docstring_tokens": ["Trigger", "a", "suggest", "data", "import", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Import.php#L58-L75", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/ParametersConverter.php", "func_name": "ParametersConverter.applyParameterMappings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Changes the keys in a Parameters object according to the given mapping\nrules.\n@param Parameters $parameters Parameters to be modified.\n@param string[] $mappingRules Associative array of mapping rules.\nParameter names will be mapped from keys to values of this array.", "docstring_tokens": ["Changes", "the", "keys", "in", "a", "Parameters", "object", "according", "to", "the", "given", "mapping", "rules", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/ParametersConverter.php#L72-L82", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/ParametersConverter.php", "func_name": "ParametersConverter.ensureChannelParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that the passed parameters object has a \"channel\" parameter by\nadding one if necessary.\n@param Parameters $parameters Parameters to be modifier.", "docstring_tokens": ["Ensures", "that", "the", "passed", "parameters", "object", "has", "a", "channel", "parameter", "by", "adding", "one", "if", "necessary", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/ParametersConverter.php#L139-L143", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/ParametersConverter.php", "func_name": "ParametersConverter.addRequiredParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds keys to an array of parameters according to the given require rules.\n@param Parameters $parameters Parameters to be modified.\n@param string[] $ignoreRules Array of required parameters. The keys are\nthe names of the required parameter, the values are default values\nto be used if the parameter is not present.", "docstring_tokens": ["Adds", "keys", "to", "an", "array", "of", "parameters", "according", "to", "the", "given", "require", "rules", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/ParametersConverter.php#L152-L157", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAppenderPool.php", "func_name": "LoggerAppenderPool.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an appender to the pool.\nThe appender must be named for this operation.\n@param LoggerAppender $appender", "docstring_tokens": ["Adds", "an", "appender", "to", "the", "pool", ".", "The", "appender", "must", "be", "named", "for", "this", "operation", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAppenderPool.php#L42-L55", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAppenderPool.php", "func_name": "LoggerAppenderPool.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves an appender from the pool by name.\n@param string $name Name of the appender to retrieve.\n@return LoggerAppender The named appender or NULL if no such appender\nexists in the pool.", "docstring_tokens": ["Retrieves", "an", "appender", "from", "the", "pool", "by", "name", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAppenderPool.php#L63-L65", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.trace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message object with the TRACE level.\n\n@param mixed $message message\n@param Exception $throwable Optional throwable information to include\nin the logging event.", "docstring_tokens": ["Log", "a", "message", "object", "with", "the", "TRACE", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L104-L106", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message object with the DEBUG level.\n\n@param mixed $message message\n@param Exception $throwable Optional throwable information to include\nin the logging event.", "docstring_tokens": ["Log", "a", "message", "object", "with", "the", "DEBUG", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L115-L117", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.warn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message with the WARN level.\n\n@param mixed $message message\n@param Exception $throwable Optional throwable information to include\nin the logging event.", "docstring_tokens": ["Log", "a", "message", "with", "the", "WARN", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L137-L139", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message using the provided logging level.\n\n@param LoggerLevel $level The logging level.\n@param mixed $message Message to log.\n@param Exception $throwable Optional throwable information to include\nin the logging event.", "docstring_tokens": ["Log", "a", "message", "using", "the", "provided", "logging", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L171-L187", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.logEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs an already prepared logging event object.\n@param LoggerLoggingEvent $event", "docstring_tokens": ["Logs", "an", "already", "prepared", "logging", "event", "object", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L193-L202", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.forcedLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method creates a new logging event and logs the event without\nfurther checks.\n\nIt should not be called directly. Use {@link trace()}, {@link debug()},\n{@link info()}, {@link warn()}, {@link error()} and {@link fatal()}\nwrappers.\n\n@param string $fqcn Fully qualified class name of the Logger\n@param Exception $throwable Optional throwable information to include\nin the logging event.\n@param LoggerLevel $level log level\n@param mixed $message message to log", "docstring_tokens": ["This", "method", "creates", "a", "new", "logging", "event", "and", "logs", "the", "event", "without", "further", "checks", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L231-L239", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.removeAppender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the appender passed as parameter form the Logger.\n@param mixed $appender an appender name or a {@link LoggerAppender} instance.", "docstring_tokens": ["Remove", "the", "appender", "passed", "as", "parameter", "form", "the", "Logger", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L337-L345", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.getEffectiveLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starting from this Logger, search the Logger hierarchy for a non-null level and return it.\n@see LoggerLevel\n@return LoggerLevel or null", "docstring_tokens": ["Starting", "from", "this", "Logger", "search", "the", "Logger", "hierarchy", "for", "a", "non", "-", "null", "level", "and", "return", "it", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L384-L390", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.getHierarchy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the hierarchy used by this Logger.\n\nCaution: do not use this hierarchy unless you have called initialize().\nTo get Loggers, use the Logger::getLogger and Logger::getRootLogger\nmethods instead of operating on on the hierarchy directly.\n\n@return LoggerHierarchy", "docstring_tokens": ["Returns", "the", "hierarchy", "used", "by", "this", "Logger", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L449-L454", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.getLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Logger by name. If it does not exist, it will be created.\n\n@param string $name The logger name\n@return Logger", "docstring_tokens": ["Returns", "a", "Logger", "by", "name", ".", "If", "it", "does", "not", "exist", "it", "will", "be", "created", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L462-L467", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.resetConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy configurations for logger definitions", "docstring_tokens": ["Destroy", "configurations", "for", "logger", "definitions"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L491-L495", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures log4php.\n\nThis method needs to be called before the first logging event has\noccured. If this method is not called before then the default\nconfiguration will be used.\n\n@param string|array $configuration Either a path to the configuration\nfile, or a configuration array.\n\n@param string|LoggerConfigurator $configurator A custom\nconfigurator class: either a class name (string), or an object which\nimplements the LoggerConfigurator interface. If left empty, the default\nconfigurator implementation will be used.", "docstring_tokens": ["Configures", "log4php", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L540-L545", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/Logger.php", "func_name": "Logger.getConfigurator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a logger configurator instance based on the provided\nconfigurator class. If no class is given, returns an instance of\nthe default configurator.\n\n@param string|LoggerConfigurator $configurator The configurator class\nor LoggerConfigurator instance.", "docstring_tokens": ["Creates", "a", "logger", "configurator", "instance", "based", "on", "the", "provided", "configurator", "class", ".", "If", "no", "class", "is", "given", "returns", "an", "instance", "of", "the", "default", "configurator", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/Logger.php#L555-L587", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Recommendation.php", "func_name": "Recommendation.setRecordCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the maximum amount of recommendations to be fetched.\n\n@param int $recordCount The number of records to be fetched. Something\nelse than a positive integer is passed, the record count will be\nunlimited (or determined by FACT-Finder).", "docstring_tokens": ["Set", "the", "maximum", "amount", "of", "recommendations", "to", "be", "fetched", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Recommendation.php#L45-L61", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Recommendation.php", "func_name": "Recommendation.addProductIDs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one or multiple product IDs to base recommendation on, in addition to\nany IDs previously set.\n\n@param string|string[] $productIDs One or more product IDs.", "docstring_tokens": ["Add", "one", "or", "multiple", "product", "IDs", "to", "base", "recommendation", "on", "in", "addition", "to", "any", "IDs", "previously", "set", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Recommendation.php#L82-L87", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Recommendation.php", "func_name": "Recommendation.getRecommendations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns recommendations for IDs previously specified. If no IDs have been\nset, there will be a warning raised and an empty result will be returned.\n\n@return \\FACTFinder\\Data\\Result", "docstring_tokens": ["Returns", "recommendations", "for", "IDs", "previously", "specified", ".", "If", "no", "IDs", "have", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "result", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Recommendation.php#L95-L106", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Tracking.php", "func_name": "Tracking.trackClick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Track a detail click on a product.\n\n@param string $id tracking id of product (see field with the role \"Product number for tracking\")\n@param string $sid session id (if empty, then try to set using the function session_id() )\n@param string $query query which led to the product\n@param int $pos position of product in the search result\n@param string $masterId master id of the product (see field with the role \"Master article number\")\n@param string $cookieId cookie id (optional)\n@param int $origPos original position of product in the search result. this data is delivered by FACT-Finder (optional - is set equals to $position by default)\n@param int $page page number where the product was clicked (optional - is 1 by default)\n@param float $simi similiarity of the product (optional - is 100.00 by default)\n@param string $title title of product (optional - is empty by default)\n@param int $pageSize size of the page where the product was found (optional - is 12 by default)\n@param int $origPageSize original size of the page before the user could have changed it (optional - is set equals to $page by default)\n@param string $userId id of user (optional if modul personalisation is not used)\n@param string $campaign campaign name (optional)\n@param boolean $instoreAds determines whether it's a sponsered product (optional)\n@return boolean $success", "docstring_tokens": ["Track", "a", "detail", "click", "on", "a", "product", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Tracking.php#L95-L115", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Tracking.php", "func_name": "Tracking.trackCart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Track a product which was added to the cart.\n\n@param string $id tracking id of product (see field with the role \"Product number for tracking\")\n@param string $masterId master id of the product (see field with the role \"Master article number\")\n@param string $tile title of product (optional - is empty by default)\n@param string $query query which led to the product (only if module Semantic Enhancer is used)\n@param string $sid session id (if empty, then try to set using the function session_id() )\n@param string $cookieId cookie id (optional)\n@param int $count number of items purchased for each product (optional - default 1)\n@param float $price this is the single unit price (optional)\n@param string $userId id of user (optional if modul personalisation is not used)\n@param string $campaign campaign name (optional)\n@param boolean $instoreAds determines whether it's a sponsered product (optional)\n@return boolean $success", "docstring_tokens": ["Track", "a", "product", "which", "was", "added", "to", "the", "cart", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Tracking.php#L182-L197", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Tracking.php", "func_name": "Tracking.trackCheckout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Track a product which was purchased.\n\n@param string $id tracking id of product (see field with the role \"Product number for tracking\")\n@param string $masterId master id of the product (see field with the role \"Master article number\")\n@param string $tile title of product (optional - is empty by default)\n@param string $query query which led to the product (only if module Semantic Enhancer is used)\n@param string $sid session id (if empty, then try to set using the function session_id() )\n@param string $cookieId cookie id (optional)\n@param int $count number of items purchased for each product (optional - default 1)\n@param float $price this is the single unit price (optional)\n@param string $userId id of user (optional if modul personalisation is not used)\n@param string $campaign campaign name (optional)\n@param boolean $instoreAds determines whether it's a sponsered product (optional)\n@return boolean $success", "docstring_tokens": ["Track", "a", "product", "which", "was", "purchased", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Tracking.php#L254-L269", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Tracking.php", "func_name": "Tracking.trackRecommendationClick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Track a click on a recommended product.\n\n@param string $id tracking id of product (see field with the role \"Product number for tracking\")\n@param int $mainId ID of the product for which the clicked-upon item was recommended\n@param string $masterId master id of the product (see field with the role \"Master article number\")\n@param string $sid session id (if empty, then try to set using the function session_id() )\n@param string $cookieId cookie id (optional)\n@param string $userId id of user (optional if modul personalisation is not used)\n@return boolean $success", "docstring_tokens": ["Track", "a", "click", "on", "a", "recommended", "product", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Tracking.php#L322-L332", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Tracking.php", "func_name": "Tracking.trackLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Track login of a user\n\n@param string $sid session id (if empty, then try to set using the function session_id() )\n@param string $cookieId cookie id (optional)\n@param string $userId id of user who logged in\n@return boolean $success", "docstring_tokens": ["Track", "login", "of", "a", "user"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Tracking.php#L373-L380", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Compare.php", "func_name": "Compare.setProductIDs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a list-like array of product IDs to compare.\n\n@param string[] $productIDs", "docstring_tokens": ["Set", "a", "list", "-", "like", "array", "of", "product", "IDs", "to", "compare", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Compare.php#L47-L52", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Compare.php", "func_name": "Compare.getComparableAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the attributes which can be compared and whether the products in\nquestion differ in each of those attributes. If no IDs have been set,\nthere will be a warning raised and an empty array will be returned.\n\n@return bool[] Attribute names as keys, boolean value indicates whether\nproducts have different values for this attribute.", "docstring_tokens": ["Returns", "the", "attributes", "which", "can", "be", "compared", "and", "whether", "the", "products", "in", "question", "differ", "in", "each", "of", "those", "attributes", ".", "If", "no", "IDs", "have", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "array", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Compare.php#L62-L72", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Compare.php", "func_name": "Compare.getComparedRecords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the records corresponding to the IDs previously specified. If no\nIDs have been set, there will be a warning raised and an empty result\nwill be returned.\n\n@return \\FACTFinder\\Data\\Result", "docstring_tokens": ["Returns", "the", "records", "corresponding", "to", "the", "IDs", "previously", "specified", ".", "If", "no", "IDs", "have", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "result", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Compare.php#L106-L116", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/pattern/LoggerPatternConverter.php", "func_name": "LoggerPatternConverter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the event and formats it according to setting in the\nFormatting information object.\n\n@param string &$sbuf string buffer to write to\n@param LoggerLoggingEvent $event Event to be formatted.", "docstring_tokens": ["Converts", "the", "event", "and", "formats", "it", "according", "to", "setting", "in", "the", "Formatting", "information", "object", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/pattern/LoggerPatternConverter.php#L86-L130", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerConfigurable.php", "func_name": "LoggerConfigurable.setBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter function for boolean type.", "docstring_tokens": ["Setter", "function", "for", "boolean", "type", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerConfigurable.php#L33-L40", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerConfigurable.php", "func_name": "LoggerConfigurable.setLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter function for LoggerLevel values.", "docstring_tokens": ["Setter", "function", "for", "LoggerLevel", "values", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerConfigurable.php#L53-L60", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerConfigurable.php", "func_name": "LoggerConfigurable.setFileSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter for file size.", "docstring_tokens": ["Setter", "for", "file", "size", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerConfigurable.php#L73-L80", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerConfigurable.php", "func_name": "LoggerConfigurable.setNumeric", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter function for numeric type.", "docstring_tokens": ["Setter", "function", "for", "numeric", "type", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerConfigurable.php#L83-L90", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerConfigurable.php", "func_name": "LoggerConfigurable.setString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter function for string type.", "docstring_tokens": ["Setter", "function", "for", "string", "type", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerConfigurable.php#L93-L109", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLoggingEvent.php", "func_name": "LoggerLoggingEvent.getLocationInformation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the location information for this logging event. The collected\ninformation is cached for future use.\n\n

This method uses {@link PHP_MANUAL#debug_backtrace debug_backtrace()} function (if exists)\nto collect informations about caller.

\n

It only recognize informations generated by {@link Logger} and its subclasses.

\n@return LoggerLocationInfo", "docstring_tokens": ["Set", "the", "location", "information", "for", "this", "logging", "event", ".", "The", "collected", "information", "is", "cached", "for", "future", "use", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLoggingEvent.php#L158-L195", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLoggingEvent.php", "func_name": "LoggerLoggingEvent.getStartTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the time when the application started, as a UNIX timestamp\nwith microseconds.\n@return float", "docstring_tokens": ["Returns", "the", "time", "when", "the", "application", "started", "as", "a", "UNIX", "timestamp", "with", "microseconds", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLoggingEvent.php#L284-L289", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLoggingEvent.php", "func_name": "LoggerLoggingEvent.getTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the time in milliseconds passed from the beginning of execution\nto the time the event was constructed.\n\n@deprecated This method has been replaced by getRelativeTime which\ndoes not perform unneccesary multiplication and formatting.\n\n@return integer", "docstring_tokens": ["Returns", "the", "time", "in", "milliseconds", "passed", "from", "the", "beginning", "of", "execution", "to", "the", "time", "the", "event", "was", "constructed", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLoggingEvent.php#L317-L321", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/EasyCurlRequestFactory.php", "func_name": "EasyCurlRequestFactory.getRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a request object all wired up and ready for use.\n@return Request", "docstring_tokens": ["Returns", "a", "request", "object", "all", "wired", "up", "and", "ready", "for", "use", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/EasyCurlRequestFactory.php#L67-L78", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/TagCloud.php", "func_name": "TagCloud.getTagCloud", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tag cloud from FACT-Finder as an array of TagQuery's.\n\n@param\n\n@return FACTFinder\\Data\\TagQuery[]", "docstring_tokens": ["Get", "the", "tag", "cloud", "from", "FACT", "-", "Finder", "as", "an", "array", "of", "TagQuery", "s", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/TagCloud.php#L49-L59", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/TagCloud.php", "func_name": "TagCloud.setWordCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the maximum amount of tag queries to be fetched.\n\n@param int $wordCount The number of tag queries to be fetched. Something\nelse than a positive integer is passed, the word count will be\nunlimited (or determined by FACT-Finder).", "docstring_tokens": ["Set", "the", "maximum", "amount", "of", "tag", "queries", "to", "be", "fetched", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/TagCloud.php#L68-L84", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Data/Campaign.php", "func_name": "Campaign.addFeedback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "In case of a collision of keys, the existing feedback string will be\noverwritten.\n\n@param string[]", "docstring_tokens": ["In", "case", "of", "a", "collision", "of", "keys", "the", "existing", "feedback", "string", "will", "be", "overwritten", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Data/Campaign.php#L130-L134", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.setProductNumbers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set one or multiple product numbers to get campaigns for, overwriting any\nnumbers previously set. Note that multiple numbers will only be considered for\nshopping cart campaigns. For product detail campaigns only the first number\nwill be used.\n\n@param string|string[] $productNumbers One or more product numbers.", "docstring_tokens": ["Set", "one", "or", "multiple", "product", "numbers", "to", "get", "campaigns", "for", "overwriting", "any", "numbers", "previously", "set", ".", "Note", "that", "multiple", "numbers", "will", "only", "be", "considered", "for", "shopping", "cart", "campaigns", ".", "For", "product", "detail", "campaigns", "only", "the", "first", "number", "will", "be", "used", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L51-L56", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.addProductNumbers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one or multiple product numbser to get campaigns for, in addition to any\nnumbers previously set.\n\n@param string|string[] $productNumbers One or more product numbers.", "docstring_tokens": ["Add", "one", "or", "multiple", "product", "numbser", "to", "get", "campaigns", "for", "in", "addition", "to", "any", "numbers", "previously", "set", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L64-L69", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.setPageId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the page id to get landing page campaigns.\n\n@param string $pageId The id which determines the campaigns for a page.", "docstring_tokens": ["Set", "the", "page", "id", "to", "get", "landing", "page", "campaigns", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L76-L81", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.makeProductCampaign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the adapter up for fetching campaigns on product detail pages", "docstring_tokens": ["Sets", "the", "adapter", "up", "for", "fetching", "campaigns", "on", "product", "detail", "pages"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L86-L92", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.makeShoppingCartCampaign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the adapter up for fetching campaigns on shopping cart pages", "docstring_tokens": ["Sets", "the", "adapter", "up", "for", "fetching", "campaigns", "on", "shopping", "cart", "pages"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L97-L103", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.getCampaigns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns campaigns for IDs previously specified. If no IDs have been\nset, there will be a warning raised and an empty result will be returned.\n\n@return \\FACTFinder\\Data\\Result", "docstring_tokens": ["Returns", "campaigns", "for", "IDs", "previously", "specified", ".", "If", "no", "IDs", "have", "been", "set", "there", "will", "be", "a", "warning", "raised", "and", "an", "empty", "result", "will", "be", "returned", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L121-L132", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ProductCampaign.php", "func_name": "ProductCampaign.getRawProductCampaigns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the product campaigns from FACT-Finder as the string returned by the\nserver.\n\n@param string $format Optional. Either 'json' or 'jsonp'. Use to\noverwrite the 'format' parameter.\n@param string $callback Optional name to overwrite the 'callback'\nparameter, which determines the name of the\ncallback the response is wrapped in.\n\n@return string", "docstring_tokens": ["Get", "the", "product", "campaigns", "from", "FACT", "-", "Finder", "as", "the", "string", "returned", "by", "the", "server", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ProductCampaign.php#L279-L289", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerPatternParser.php", "func_name": "LoggerPatternParser.addConverter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a non-literal converter to the converter chain.\n\n@param string $word The conversion word, used to determine which\nconverter will be used.\n@param string $modifiers Formatting modifiers.\n@param string $option Option to pass to the converter.", "docstring_tokens": ["Adds", "a", "non", "-", "literal", "converter", "to", "the", "converter", "chain", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerPatternParser.php#L144-L154", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerPatternParser.php", "func_name": "LoggerPatternParser.getConverter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines which converter to use based on the conversion word. Creates\nan instance of the converter using the provided formatting info and\noption and returns it.\n\n@param string $word The conversion word.\n@param LoggerFormattingInfo $info Formatting info.\n@param string $option Converter option.\n\n@throws LoggerException\n\n@return LoggerPatternConverter", "docstring_tokens": ["Determines", "which", "converter", "to", "use", "based", "on", "the", "conversion", "word", ".", "Creates", "an", "instance", "of", "the", "converter", "using", "the", "provided", "formatting", "info", "and", "option", "and", "returns", "it", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerPatternParser.php#L169-L185", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerPatternParser.php", "func_name": "LoggerPatternParser.parseModifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the formatting modifiers and produces the corresponding\nLoggerFormattingInfo object.\n\n@param string $modifier\n@return LoggerFormattingInfo\n@throws LoggerException", "docstring_tokens": ["Parses", "the", "formatting", "modifiers", "and", "produces", "the", "corresponding", "LoggerFormattingInfo", "object", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerPatternParser.php#L206-L236", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerRoot.php", "func_name": "LoggerRoot.setLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override level setter to prevent setting the root logger's level to\nnull. Root logger must always have a level.\n\n@param LoggerLevel $level", "docstring_tokens": ["Override", "level", "setter", "to", "prevent", "setting", "the", "root", "logger", "s", "level", "to", "null", ".", "Root", "logger", "must", "always", "have", "a", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerRoot.php#L56-L62", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/renderers/LoggerRendererMap.php", "func_name": "LoggerRendererMap.addRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a renderer to the map.\n\nIf a renderer already exists for the given $renderedClass it\nwill be overwritten without warning.\n\n@param string $renderedClass The name of the class which will be\nrendered by the renderer.\n@param string $renderingClass The name of the class which will\nperform the rendering.", "docstring_tokens": ["Adds", "a", "renderer", "to", "the", "map", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/renderers/LoggerRendererMap.php#L61-L81", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/renderers/LoggerRendererMap.php", "func_name": "LoggerRendererMap.setDefaultRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a custom default renderer class.\n\nTODO: there's code duplication here. This method is almost identical to\naddRenderer(). However, it has custom error messages so let it sit for\nnow.\n\n@param string $renderingClass The name of the class which will\nperform the rendering.", "docstring_tokens": ["Sets", "a", "custom", "default", "renderer", "class", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/renderers/LoggerRendererMap.php#L93-L110", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/renderers/LoggerRendererMap.php", "func_name": "LoggerRendererMap.getByClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the appropriate renderer for a given class name.\n\nIf no renderer could be found, returns NULL.\n\n@param string $class\n@return LoggerRendererObject Or null if not found.", "docstring_tokens": ["Returns", "the", "appropriate", "renderer", "for", "a", "given", "class", "name", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/renderers/LoggerRendererMap.php#L165-L173", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/AbstractConfiguration.php", "func_name": "AbstractConfiguration.getWhitelistServerParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parameters which are allowed in server URLs.\n\n@return array with string as key and boolean true as value for each item", "docstring_tokens": ["Get", "parameters", "which", "are", "allowed", "in", "server", "URLs", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/AbstractConfiguration.php#L185-L244", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfigurationAdapterINI.php", "func_name": "LoggerConfigurationAdapterINI.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads and parses the INI configuration file.\n\n@param string $url Path to the config file.\n@throws LoggerException", "docstring_tokens": ["Loads", "and", "parses", "the", "INI", "configuration", "file", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfigurationAdapterINI.php#L65-L77", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfigurationAdapterINI.php", "func_name": "LoggerConfigurationAdapterINI.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the provided INI configuration file to a PHP array config.\n\n@param string $path Path to the config file.\n@throws LoggerException If the file cannot be loaded or parsed.", "docstring_tokens": ["Converts", "the", "provided", "INI", "configuration", "file", "to", "a", "PHP", "array", "config", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfigurationAdapterINI.php#L85-L126", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfigurationAdapterINI.php", "func_name": "LoggerConfigurationAdapterINI.parseLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a logger definition.\n\nLoggers are defined in the following manner:\n
\nlog4php.logger. = [], [, , ...]\n
\n\n@param string $value The configuration value (level and appender-refs).\n@param string $name Logger name.", "docstring_tokens": ["Parses", "a", "logger", "definition", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfigurationAdapterINI.php#L140-L167", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfigurationAdapterINI.php", "func_name": "LoggerConfigurationAdapterINI.parseAppender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses an configuration line pertaining to an appender.\n\nParses the following patterns:\n\nAppender class:\n
\nlog4php.appender. = \n
\n\nAppender parameter:\n
\nlog4php.appender.. = \n
\n\nAppender threshold:\n
\nlog4php.appender..threshold = \n
\n\nAppender layout:\n
\nlog4php.appender..layout = \n
\n\nLayout parameter:\n
\nlog4php.appender..layout. = \n
\n\nFor example, a full appender config might look like:\n
\nlog4php.appender.myAppender = LoggerAppenderConsole\nlog4php.appender.myAppender.threshold = info\nlog4php.appender.myAppender.target = stdout\nlog4php.appender.myAppender.layout = LoggerLayoutPattern\nlog4php.appender.myAppender.layout.conversionPattern = \"%d %c: %m%n\"\n
\n\nAfter parsing all these options, the following configuration can be\nfound under $this->config['appenders']['myAppender']:\n
\narray(\n'class' => LoggerAppenderConsole,\n'threshold' => info,\n'params' => array(\n'target' => 'stdout'\n),\n'layout' => array(\n'class' => 'LoggerAppenderConsole',\n'params' => array(\n'conversionPattern' => '%d %c: %m%n'\n)\n)\n)\n
\n\n@param string $key\n@param string $value", "docstring_tokens": ["Parses", "an", "configuration", "line", "pertaining", "to", "an", "appender", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfigurationAdapterINI.php#L229-L271", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfigurationAdapterINI.php", "func_name": "LoggerConfigurationAdapterINI.parseRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a renderer definition.\n\nRenderers are defined as:\n
\nlog4php.renderer. = \n
\n\n@param string $key log4php.renderer.\n@param string $value ", "docstring_tokens": ["Parses", "a", "renderer", "definition", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfigurationAdapterINI.php#L284-L290", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderSyslog.php", "func_name": "LoggerAppenderSyslog.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends the event to syslog.\n\nLog is opened and closed each time because if it is not closed, it\ncan cause the Apache httpd server to log to whatever ident/facility\nwas used in openlog().\n\n@see http://www.php.net/manual/en/function.syslog.php#97843", "docstring_tokens": ["Appends", "the", "event", "to", "syslog", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderSyslog.php#L245-L252", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderSyslog.php", "func_name": "LoggerAppenderSyslog.parseOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a syslog option string and returns the correspodning int value.", "docstring_tokens": ["Parses", "a", "syslog", "option", "string", "and", "returns", "the", "correspodning", "int", "value", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderSyslog.php#L263-L278", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderSyslog.php", "func_name": "LoggerAppenderSyslog.parseFacility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the facility string and returns the corresponding int value.", "docstring_tokens": ["Parses", "the", "facility", "string", "and", "returns", "the", "corresponding", "int", "value", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderSyslog.php#L281-L290", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderSyslog.php", "func_name": "LoggerAppenderSyslog.parsePriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the priority string and returns the corresponding int value.", "docstring_tokens": ["Parses", "the", "priority", "string", "and", "returns", "the", "corresponding", "int", "value", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderSyslog.php#L293-L302", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderMongoDB.php", "func_name": "LoggerAppenderMongoDB.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends a new event to the mongo database.\n\n@param LoggerLoggingEvent $event", "docstring_tokens": ["Appends", "a", "new", "event", "to", "the", "mongo", "database", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderMongoDB.php#L151-L159", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderMongoDB.php", "func_name": "LoggerAppenderMongoDB.formatThrowable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an Exception into an array which can be logged to mongodb.\n\nSupports innner exceptions (PHP >= 5.3)\n\n@param Exception $ex\n@return array", "docstring_tokens": ["Converts", "an", "Exception", "into", "an", "array", "which", "can", "be", "logged", "to", "mongodb", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderMongoDB.php#L203-L215", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderMongoDB.php", "func_name": "LoggerAppenderMongoDB.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the connection to the logging database", "docstring_tokens": ["Closes", "the", "connection", "to", "the", "logging", "database"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderMongoDB.php#L220-L229", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfiguratorDefault.php", "func_name": "LoggerConfiguratorDefault.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures log4php based on the given configuration. The input can\neither be a path to the config file, or a PHP array holding the\nconfiguration.\n\nIf no configuration is given, or if the given configuration cannot be\nparsed for whatever reason, a warning will be issued, and log4php\nwill use the default configuration contained in\n{@link $defaultConfiguration}.\n\n@param LoggerHierarchy $hierarchy The hierarchy on which to perform\nthe configuration.\n@param string|array $input Either path to the config file or the\nconfiguration as an array. If not set, default configuration\nwill be used.", "docstring_tokens": ["Configures", "log4php", "based", "on", "the", "given", "configuration", ".", "The", "input", "can", "either", "be", "a", "path", "to", "the", "config", "file", "or", "a", "PHP", "array", "holding", "the", "configuration", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfiguratorDefault.php#L82-L85", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/configurators/LoggerConfiguratorDefault.php", "func_name": "LoggerConfiguratorDefault.createAppenderLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses layout config, creates the layout and links it to the appender.\n@param LoggerAppender $appender\n@param array $config Layout configuration.", "docstring_tokens": ["Parses", "layout", "config", "creates", "the", "layout", "and", "links", "it", "to", "the", "appender", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/configurators/LoggerConfiguratorDefault.php#L324-L348", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/ConfigurableResponse.php", "func_name": "ConfigurableResponse.setIdsOnly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set this to true to only retrieve the IDs of products instead\nof full Record objects.\n@param $idsOnly bool", "docstring_tokens": ["Set", "this", "to", "true", "to", "only", "retrieve", "the", "IDs", "of", "products", "instead", "of", "full", "Record", "objects", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/ConfigurableResponse.php#L44-L52", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Search.php", "func_name": "Search.getFollowSearchValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Value for parameter \"followSearch\" for followups on initial search like filters, pagination, ...\nEither from search results searchParams, request parameters or from search results \"simiFirstRecord\".\nReturns 0 if no parameter \"followSearch\" could be acquired.\n\n@return int", "docstring_tokens": ["Value", "for", "parameter", "followSearch", "for", "followups", "on", "initial", "search", "like", "filters", "pagination", "...", "Either", "from", "search", "results", "searchParams", "request", "parameters", "or", "from", "search", "results", "simiFirstRecord", ".", "Returns", "0", "if", "no", "parameter", "followSearch", "could", "be", "acquired", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Search.php#L990-L1021", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerFilter.php", "func_name": "LoggerFilter.addNext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new filter to the filter chain this filter is a part of.\nIf this filter has already and follow up filter, the param filter\nis passed on until it is the last filter in chain.\n\n@param $filter - the filter to add to this chain", "docstring_tokens": ["Adds", "a", "new", "filter", "to", "the", "filter", "chain", "this", "filter", "is", "a", "part", "of", ".", "If", "this", "filter", "has", "already", "and", "follow", "up", "filter", "the", "param", "filter", "is", "passed", "on", "until", "it", "is", "the", "last", "filter", "in", "chain", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerFilter.php#L110-L116", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Server/ConnectionData.php", "func_name": "ConnectionData.setResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a response for the current connection settings along with the URL\nwhich was used to obtain the response.\n@param Response $response\n@param string $url The URL corresponding to $response.", "docstring_tokens": ["Set", "a", "response", "for", "the", "current", "connection", "settings", "along", "with", "the", "URL", "which", "was", "used", "to", "obtain", "the", "response", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Server/ConnectionData.php#L167-L171", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/PersonalisedResponse.php", "func_name": "PersonalisedResponse.setSid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the session id for personalization.\n\n@param string $sessionId session id", "docstring_tokens": ["Set", "the", "session", "id", "for", "personalization", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/PersonalisedResponse.php#L44-L51", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares two logger levels.\n\n@param LoggerLevels $other\n@return boolean", "docstring_tokens": ["Compares", "two", "logger", "levels", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L79-L87", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelOff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Off Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "an", "Off", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L93-L98", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelFatal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Fatal Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "a", "Fatal", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L104-L109", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Error Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "an", "Error", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L115-L120", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelWarn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Warn Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "a", "Warn", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L126-L131", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Info Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "an", "Info", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L137-L142", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelDebug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Debug Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "a", "Debug", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L148-L153", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Trace Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "a", "Trace", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L159-L164", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.getLevelAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an All Level\n@return LoggerLevel", "docstring_tokens": ["Returns", "an", "All", "Level"], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L170-L175", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerLevel.php", "func_name": "LoggerLevel.toLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the input argument to a level. If the conversion fails, then\nthis method returns the provided default level.\n\n@param mixed $arg The value to convert to level.\n@param LoggerLevel $default Value to return if conversion is not possible.\n@return LoggerLevel", "docstring_tokens": ["Convert", "the", "input", "argument", "to", "a", "level", ".", "If", "the", "conversion", "fails", "then", "this", "method", "returns", "the", "provided", "default", "level", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerLevel.php#L229-L255", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerOptionConverter.php", "func_name": "LoggerOptionConverter.getSystemProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a predefined var.\n\nIt returns a value referenced by $key using this search criteria:\n- if $key is a constant then return it. Else\n- if $key is set in $_ENV then return it. Else\n- return $def.\n\n@param string $key The key to search for.\n@param string $def The default value to return.\n@return string\tthe string value of the system property, or the default\nvalue if there is no property with that key.", "docstring_tokens": ["Read", "a", "predefined", "var", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerOptionConverter.php#L56-L66", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerOptionConverter.php", "func_name": "LoggerOptionConverter.toLevelEx", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the value to a level. Throws an exception if not possible.", "docstring_tokens": ["Converts", "the", "value", "to", "a", "level", ".", "Throws", "an", "exception", "if", "not", "possible", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerOptionConverter.php#L117-L126", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerOptionConverter.php", "func_name": "LoggerOptionConverter.toStringEx", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a value to string, or throws an exception if not possible.\n\nObjects can be converted to string if they implement the magic\n__toString() method.", "docstring_tokens": ["Converts", "a", "value", "to", "string", "or", "throws", "an", "exception", "if", "not", "possible", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerOptionConverter.php#L184-L196", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/helpers/LoggerOptionConverter.php", "func_name": "LoggerOptionConverter.substConstants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs value substitution for string options.\n\nAn option can contain PHP constants delimited by '${' and '}'.\n\nE.g. for input string \"some ${FOO} value\", the method will attempt\nto substitute ${FOO} with the value of constant FOO if it exists.\n\nTherefore, if FOO is a constant, and it has value \"bar\", the resulting\nstring will be \"some bar value\".\n\nIf the constant is not defined, it will be replaced by an empty string,\nand the resulting string will be \"some value\".\n\n@param string $string String on which to perform substitution.\n@return string", "docstring_tokens": ["Performs", "value", "substitution", "for", "string", "options", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/helpers/LoggerOptionConverter.php#L215-L225", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerHierarchy.php", "func_name": "LoggerHierarchy.getLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a named logger instance logger. If it doesn't exist, one is created.\n\n@param string $name Logger name\n@return Logger Logger instance.", "docstring_tokens": ["Returns", "a", "named", "logger", "instance", "logger", ".", "If", "it", "doesn", "t", "exist", "one", "is", "created", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerHierarchy.php#L114-L145", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Client/RequestParser.php", "func_name": "RequestParser.getRequestTarget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get target of the current request.\n\n@return string request target", "docstring_tokens": ["Get", "target", "of", "the", "current", "request", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Client/RequestParser.php#L164-L199", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/layouts/LoggerLayoutPattern.php", "func_name": "LoggerLayoutPattern.activateOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the conversion pattern and creates a corresponding chain of\npattern converters which will be used to format logging events.", "docstring_tokens": ["Processes", "the", "conversion", "pattern", "and", "creates", "a", "corresponding", "chain", "of", "pattern", "converters", "which", "will", "be", "used", "to", "format", "logging", "events", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/layouts/LoggerLayoutPattern.php#L147-L154", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/layouts/LoggerLayoutPattern.php", "func_name": "LoggerLayoutPattern.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Produces a formatted string as specified by the conversion pattern.\n\n@param LoggerLoggingEvent $event\n@return string", "docstring_tokens": ["Produces", "a", "formatted", "string", "as", "specified", "by", "the", "conversion", "pattern", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/layouts/LoggerLayoutPattern.php#L162-L170", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAppender.php", "func_name": "LoggerAppender.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a filter to the end of the filter chain.\n@param LoggerFilter $filter add a new LoggerFilter", "docstring_tokens": ["Adds", "a", "filter", "to", "the", "end", "of", "the", "filter", "chain", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAppender.php#L102-L108", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAppender.php", "func_name": "LoggerAppender.isAsSevereAsThreshold", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the message level is below the appender's threshold.\n\nIf there is no threshold set, then the return value is always true.\n\n@param LoggerLevel $level\n@return boolean Returns true if level is greater or equal than\nthreshold, or if the threshold is not set. Otherwise returns false.", "docstring_tokens": ["Checks", "whether", "the", "message", "level", "is", "below", "the", "appender", "s", "threshold", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAppender.php#L244-L249", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/LoggerAppender.php", "func_name": "LoggerAppender.warn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggers a warning for this logger with the given message.", "docstring_tokens": ["Triggers", "a", "warning", "for", "this", "logger", "with", "the", "given", "message", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/LoggerAppender.php#L281-L284", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Adapter/Suggest.php", "func_name": "Suggest.getSuggestions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the suggestions from FACT-Finder as an array of SuggestQuery's.\n\n@return FACTFinder\\Data\\SuggestQuery[]", "docstring_tokens": ["Get", "the", "suggestions", "from", "FACT", "-", "Finder", "as", "an", "array", "of", "SuggestQuery", "s", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Adapter/Suggest.php#L45-L51", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Loader.php", "func_name": "Loader.getClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Expects a fully qualified class name. if the leading namespace is omitted\nor \"FACTFinder\", we first check whether there is a custom class in\nnamespace \"FACTFinder\\Custom\\\", then we look in \"FACTFinder\\\". If none of\nthem exist, it also checks if the name is the class name itself.\nNote that classes in the \\Custom namespace should inherit the class they\noverwrite - otherwise some of the type hinting within the library might\nbreak.\n\n@param string $name The class name to be resolved.\n\n@return string The class name to be used.", "docstring_tokens": ["Expects", "a", "fully", "qualified", "class", "name", ".", "if", "the", "leading", "namespace", "is", "omitted", "or", "FACTFinder", "we", "first", "check", "whether", "there", "is", "a", "custom", "class", "in", "namespace", "FACTFinder", "\\", "Custom", "\\", "then", "we", "look", "in", "FACTFinder", "\\", ".", "If", "none", "of", "them", "exist", "it", "also", "checks", "if", "the", "name", "is", "the", "class", "name", "itself", ".", "Note", "that", "classes", "in", "the", "\\", "Custom", "namespace", "should", "inherit", "the", "class", "they", "overwrite", "-", "otherwise", "some", "of", "the", "type", "hinting", "within", "the", "library", "might", "break", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Loader.php#L132-L150", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderRollingFile.php", "func_name": "LoggerAppenderRollingFile.rollOver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Implements the usual roll over behaviour.\n\nIf MaxBackupIndex is positive, then files File.1, ..., File.MaxBackupIndex -1 are renamed to File.2, ..., File.MaxBackupIndex.\nMoreover, File is renamed File.1 and closed. A new File is created to receive further log output.\n\nIf MaxBackupIndex is equal to zero, then the File is truncated with no backup files created.\n\nRollover must be called while the file is locked so that it is safe for concurrent access.\n\n@throws LoggerException If any part of the rollover procedure fails.", "docstring_tokens": ["Implements", "the", "usual", "roll", "over", "behaviour", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderRollingFile.php#L118-L138", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderPDO.php", "func_name": "LoggerAppenderPDO.activateOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Acquires a database connection based on parameters.\nParses the insert pattern to create a chain of converters which will be\nused in forming query parameters from logging events.", "docstring_tokens": ["Acquires", "a", "database", "connection", "based", "on", "parameters", ".", "Parses", "the", "insert", "pattern", "to", "create", "a", "chain", "of", "converters", "which", "will", "be", "used", "in", "forming", "query", "parameters", "from", "logging", "events", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderPDO.php#L118-L136", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderPDO.php", "func_name": "LoggerAppenderPDO.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends a new event to the database.\n\nIf writing to database fails, it will retry by re-establishing the\nconnection up to $reconnectAttempts times. If writing still fails,\nthe appender will close.", "docstring_tokens": ["Appends", "a", "new", "event", "to", "the", "database", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderPDO.php#L159-L181", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderPDO.php", "func_name": "LoggerAppenderPDO.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the logging event to a series of database parameters by using\nthe converter chain which was set up on activation.", "docstring_tokens": ["Converts", "the", "logging", "event", "to", "a", "series", "of", "database", "parameters", "by", "using", "the", "converter", "chain", "which", "was", "set", "up", "on", "activation", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderPDO.php#L187-L198", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Core/Client/UrlBuilder.php", "func_name": "UrlBuilder.generateUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a link to be used on the page that leads to the client from a\nset of server parameters. Note that the link will still be UTF-8 encoded.\nIf the page uses a different encoding, conversion to that encoding has to\nbe done when actually rendering the string to the page.\n\nTODO: Should the signature be more similar to that of \\Server\\UrlBuilder?\n\n@param FACTFinder\\Util\\Parameters $parameters The server parameters that\nshould be retrieved when the link is followed.\n@param string $target An optional request target. If omitted, the target\nof the current request will be used. For instance, this parameter\ncan be used if a product detail page needs a different target.\n\n@return string", "docstring_tokens": ["Generates", "a", "link", "to", "be", "used", "on", "the", "page", "that", "leads", "to", "the", "client", "from", "a", "set", "of", "server", "parameters", ".", "Note", "that", "the", "link", "will", "still", "be", "UTF", "-", "8", "encoded", ".", "If", "the", "page", "uses", "a", "different", "encoding", "conversion", "to", "that", "encoding", "has", "to", "be", "done", "when", "actually", "rendering", "the", "string", "to", "the", "page", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Core/Client/UrlBuilder.php#L64-L86", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Data/CampaignIterator.php", "func_name": "CampaignIterator.getFeedback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all feedback texts for the given label, concatenated with\nPHP_EOL.\n\n@see Campaign::getFeedback()\n@param string $label\n@return string", "docstring_tokens": ["Returns", "all", "feedback", "texts", "for", "the", "given", "label", "concatenated", "with", "PHP_EOL", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Data/CampaignIterator.php#L68-L76", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Data/CampaignIterator.php", "func_name": "CampaignIterator.getPushedProducts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the pushed products from all campaigns. Note that\nif a product shows up in multiple campaigns, it will be duplicated in the\nresult of this function.\n\n@see Campaign::getPushedProducts()\n@return Record[]", "docstring_tokens": ["Returns", "an", "array", "with", "the", "pushed", "products", "from", "all", "campaigns", ".", "Note", "that", "if", "a", "product", "shows", "up", "in", "multiple", "campaigns", "it", "will", "be", "duplicated", "in", "the", "result", "of", "this", "function", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Data/CampaignIterator.php#L99-L108", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Data/CampaignIterator.php", "func_name": "CampaignIterator.getActiveQuestions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the active questions from all campaigns.\n\n@see Campaign::getActiveQuestions()\n@return Record[]", "docstring_tokens": ["Returns", "an", "array", "with", "the", "active", "questions", "from", "all", "campaigns", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Data/CampaignIterator.php#L129-L138", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/FACTFinder/Data/CampaignIterator.php", "func_name": "CampaignIterator.getAdvisorTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the root questions of the advisor trees from all\ncampaigns.\n\n@see Campaign::getAdvisorTree()\n@return Record[]", "docstring_tokens": ["Returns", "an", "array", "with", "the", "root", "questions", "of", "the", "advisor", "trees", "from", "all", "campaigns", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/FACTFinder/Data/CampaignIterator.php#L160-L169", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderDailyFile.php", "func_name": "LoggerAppenderDailyFile.activateOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Additional validation for the date pattern.", "docstring_tokens": ["Additional", "validation", "for", "the", "date", "pattern", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderDailyFile.php#L60-L68", "partition": "test"} +{"repo": "FACT-Finder/FACT-Finder-PHP-Library", "path": "src/log4php/appenders/LoggerAppenderDailyFile.php", "func_name": "LoggerAppenderDailyFile.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends a logging event.\n\nIf the target file changes because of passage of time (e.g. at midnight)\nthe current file is closed. A new file, with the new date, will be\nopened by the write() method.", "docstring_tokens": ["Appends", "a", "logging", "event", "."], "sha": "5c795b94117fa7ac40f5e80d4edc93999a76fc90", "url": "https://github.com/FACT-Finder/FACT-Finder-PHP-Library/blob/5c795b94117fa7ac40f5e80d4edc93999a76fc90/src/log4php/appenders/LoggerAppenderDailyFile.php#L77-L101", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/models/Permissions/PermissionProvider.php", "func_name": "PermissionProvider.findById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a permission by the given permission id\n@param int $id\n@return Permission", "docstring_tokens": ["Find", "a", "permission", "by", "the", "given", "permission", "id"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/models/Permissions/PermissionProvider.php#L52-L59", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/models/Permissions/PermissionProvider.php", "func_name": "PermissionProvider.findByValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a permission by the given permission value\n@param string $value\n@return Permission", "docstring_tokens": ["Find", "a", "permission", "by", "the", "given", "permission", "value"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/models/Permissions/PermissionProvider.php#L66-L73", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/helpers/Breadcrumbs/Breadcrumbs.php", "func_name": "Breadcrumbs.renderItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the current item\n@param array $item part of the breadcrumb\n@param boolean $active current breadcrumb is active\n@return string", "docstring_tokens": ["Render", "the", "current", "item"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/helpers/Breadcrumbs/Breadcrumbs.php#L45-L60", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/BaseController.php", "func_name": "BaseController.setupLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the layout used by the controller.\n\n@return void", "docstring_tokens": ["Setup", "the", "layout", "used", "by", "the", "controller", "."], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/BaseController.php#L16-L21", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/UserController.php", "func_name": "UserController.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display a list of all users\n\n@return Response", "docstring_tokens": ["Display", "a", "list", "of", "all", "users"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/UserController.php#L26-L80", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/UserController.php", "func_name": "UserController.getCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show new user form view", "docstring_tokens": ["Show", "new", "user", "form", "view"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/UserController.php#L85-L93", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/UserController.php", "func_name": "UserController.postCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new user", "docstring_tokens": ["Create", "new", "user"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/UserController.php#L98-L154", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/UserController.php", "func_name": "UserController.putActivate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Activate a user since the dashboard\n@param int $userId\n@return Response", "docstring_tokens": ["Activate", "a", "user", "since", "the", "dashboard"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/UserController.php#L182-L195", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/UserController.php", "func_name": "UserController.getShow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View user account\n@param int $userId", "docstring_tokens": ["View", "user", "account"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/UserController.php#L228-L281", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/GroupController.php", "func_name": "GroupController.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of groups", "docstring_tokens": ["List", "of", "groups"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/GroupController.php#L22-L48", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/GroupController.php", "func_name": "GroupController.putShow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit group action\n@param int $groupId", "docstring_tokens": ["Edit", "group", "action"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/GroupController.php#L156-L185", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/GroupController.php", "func_name": "GroupController.deleteUserFromGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove user from group\n@param int $groupId\n@param int $userId\n@return Response", "docstring_tokens": ["Remove", "user", "from", "group"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/GroupController.php#L210-L223", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/GroupController.php", "func_name": "GroupController.addUserInGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a user in a group\n@return Response", "docstring_tokens": ["Add", "a", "user", "in", "a", "group"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/GroupController.php#L229-L242", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/GroupController.php", "func_name": "GroupController._validateGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate group informations\n@param array $permissionsValues\n@param string $groupname\n@return array", "docstring_tokens": ["Validate", "group", "informations"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/GroupController.php#L250-L268", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/Mrjuliuss/Syntara/SyntaraServiceProvider.php", "func_name": "SyntaraServiceProvider.loadIncludes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include some specific files from the src-root.\n\n@return void", "docstring_tokens": ["Include", "some", "specific", "files", "from", "the", "src", "-", "root", "."], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/Mrjuliuss/Syntara/SyntaraServiceProvider.php#L76-L92", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/Mrjuliuss/Syntara/SyntaraServiceProvider.php", "func_name": "SyntaraServiceProvider.registerHelpers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register helpers in app", "docstring_tokens": ["Register", "helpers", "in", "app"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/Mrjuliuss/Syntara/SyntaraServiceProvider.php#L97-L109", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/DashboardController.php", "func_name": "DashboardController.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Index loggued page", "docstring_tokens": ["Index", "loggued", "page"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/DashboardController.php#L19-L24", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/DashboardController.php", "func_name": "DashboardController.postLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Login post authentication", "docstring_tokens": ["Login", "post", "authentication"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/DashboardController.php#L40-L65", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/PermissionController.php", "func_name": "PermissionController.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of permissions", "docstring_tokens": ["List", "of", "permissions"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/PermissionController.php#L18-L46", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/PermissionController.php", "func_name": "PermissionController.postCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new permission", "docstring_tokens": ["Create", "new", "permission"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/PermissionController.php#L61-L76", "partition": "test"} +{"repo": "MrJuliuss/syntara", "path": "src/controllers/PermissionController.php", "func_name": "PermissionController.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a permission", "docstring_tokens": ["Delete", "a", "permission"], "sha": "4d8c33aea1908ac404e0e00e09d5d1e2119e9039", "url": "https://github.com/MrJuliuss/syntara/blob/4d8c33aea1908ac404e0e00e09d5d1e2119e9039/src/controllers/PermissionController.php#L139-L149", "partition": "test"} +{"repo": "DaoAndCo/cakephp-dompdf", "path": "src/View/PdfView.php", "func_name": "PdfView.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write pagination on the pdf", "docstring_tokens": ["Write", "pagination", "on", "the", "pdf"], "sha": "4e355622084d3e82c966bd5391b0b1f1f3f5be7d", "url": "https://github.com/DaoAndCo/cakephp-dompdf/blob/4e355622084d3e82c966bd5391b0b1f1f3f5be7d/src/View/PdfView.php#L83-L87", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Api/Permissions.php", "func_name": "Permissions.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal method to authenticate a set of credentials\nCredentials can be found in the SiteCatalyst Admin Console\nAdmin > Admin Console > Company > Web Services\n\n@param array $username - the web services username\n@param array $password - the web services shared secret\n@return boolean - whether or not the authentication was successful", "docstring_tokens": ["Internal", "method", "to", "authenticate", "a", "set", "of", "credentials", "Credentials", "can", "be", "found", "in", "the", "SiteCatalyst", "Admin", "Console", "Admin", ">", "Admin", "Console", ">", "Company", ">", "Web", "Services"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Api/Permissions.php#L23-L31", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Auth/Wsse.php", "func_name": "Wsse.getNonce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses UUID Version 4\n@see http://en.wikipedia.org/wiki/Universally_unique_identifier", "docstring_tokens": ["Uses", "UUID", "Version", "4"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Auth/Wsse.php#L64-L73", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if an option for the given flag is set.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "an", "option", "for", "the", "given", "flag", "is", "set", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L153-L164", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.getRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the rule associated with the given flag.\n\n@return array", "docstring_tokens": ["Gets", "the", "rule", "associated", "with", "the", "given", "flag", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L422-L433", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.expectsParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the given flag expects a parameter.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "given", "flag", "expects", "a", "parameter", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L450-L454", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.isRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the given flag is required.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "given", "flag", "is", "required", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L461-L465", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.isOptional", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the given flag is optional.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "given", "flag", "is", "optional", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L472-L476", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the given arguments according to this parser's rules. An exception will be\nthrown if any rule is violated.\n\nNote: This function uses a reference to modify the given $argv array. If no argument\nvalues are provided a copy of the global $argv array will be used.\n\n@param array $argv The command line arguments\n@return array Anything still present in $argv that wasn't matched by a rule\n@throws Exception", "docstring_tokens": ["Parses", "the", "given", "arguments", "according", "to", "this", "parser", "s", "rules", ".", "An", "exception", "will", "be", "thrown", "if", "any", "rule", "is", "violated", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L489-L541", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/OptionParser.php", "func_name": "OptionParser.isParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the given string is considered a parameter.\n\n@param string\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "given", "string", "is", "considered", "a", "parameter", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/OptionParser.php#L590-L597", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/HttpClient/SoapClient.php", "func_name": "SoapClient.orderParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this is necessary because order matters with the PHP SoapClient\nEssentially, we fill in all the parameters with null values", "docstring_tokens": ["this", "is", "necessary", "because", "order", "matters", "with", "the", "PHP", "SoapClient", "Essentially", "we", "fill", "in", "all", "the", "parameters", "with", "null", "values"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/HttpClient/SoapClient.php#L170-L194", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Client.php", "func_name": "Client.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate a user for all next requests\n\n@param string $username AdobeMarketingCloud Web Services username\n@param string $secret AdobeMarketingCloud Web Services secret\n@return AdobeMarketingCloud fluent interface", "docstring_tokens": ["Authenticate", "a", "user", "for", "all", "next", "requests"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Client.php#L57-L66", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Client.php", "func_name": "Client.getReportApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the report API\n\n@param array $options\n@return Api\\Report", "docstring_tokens": ["Get", "the", "report", "API"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Client.php#L192-L200", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Client.php", "func_name": "Client.getPermissionsApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the permissions API\n\n@return Api\\Permissions the permissions API", "docstring_tokens": ["Get", "the", "permissions", "API"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Client.php#L207-L215", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Client.php", "func_name": "Client.getCompanyApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the company API\n\n@return Api\\Company the company API", "docstring_tokens": ["Get", "the", "company", "API"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Client.php#L222-L230", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Client.php", "func_name": "Client.getOAuthApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the OAuth API\n\n@return Api\\OAuth the company API", "docstring_tokens": ["Get", "the", "OAuth", "API"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Client.php#L237-L245", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/HttpClient.php", "func_name": "HttpClient.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a request to the server, receive a response,\ndecode the response and returns an associative array\n\n@param string $path Requested API resource path\n@param array $parameters Parameters\n@param string $httpMethod HTTP method to use\n@param array $options Request options\n\n@return array Data", "docstring_tokens": ["Send", "a", "request", "to", "the", "server", "receive", "a", "response", "decode", "the", "response", "and", "returns", "an", "associative", "array"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/HttpClient.php#L127-L147", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Api/Report.php", "func_name": "Report.getElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the elements to call from your report suite\n\n@param string $reportSuiteID\n@param bool $returnAsIdArray\n\n@return array", "docstring_tokens": ["Retrieve", "the", "elements", "to", "call", "from", "your", "report", "suite"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Api/Report.php#L22-L33", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Api/Report.php", "func_name": "Report.getMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve events for your report suites\n\n@param string $reportSuiteID\n@param bool $returnAsIdArray\n\n@return array", "docstring_tokens": ["Retrieve", "events", "for", "your", "report", "suites"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Api/Report.php#L43-L54", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Api/Report.php", "func_name": "Report.retryWhileNotReady", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a report synchronously, calling getReport every two seconds until the report is ready\n\n@param $reportId\n@return tns|bool", "docstring_tokens": ["Returns", "a", "report", "synchronously", "calling", "getReport", "every", "two", "seconds", "until", "the", "report", "is", "ready"], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Api/Report.php#L139-L159", "partition": "test"} +{"repo": "Adobe-Marketing-Cloud/marketing-cloud-php-sdk", "path": "lib/AdobeMarketingCloud/Api/Report.php", "func_name": "Report.getSleepSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines next sleep time for report queue checking.\nUses an incredibly complex backing off algorithm so that long requests don't have to check as often.\n\n@param $attempts int The number of checks so far\n@param $maxAttempts int User specified maximum number of checks\n\n@return mixed to stop checking OR the number of seconds for the next sleep", "docstring_tokens": ["Determines", "next", "sleep", "time", "for", "report", "queue", "checking", ".", "Uses", "an", "incredibly", "complex", "backing", "off", "algorithm", "so", "that", "long", "requests", "don", "t", "have", "to", "check", "as", "often", "."], "sha": "5471354d522c2a24ea283d0661ee84e88f91c20a", "url": "https://github.com/Adobe-Marketing-Cloud/marketing-cloud-php-sdk/blob/5471354d522c2a24ea283d0661ee84e88f91c20a/lib/AdobeMarketingCloud/Api/Report.php#L171-L179", "partition": "test"} +{"repo": "zoonman/pixabay-php-api", "path": "src/Pixabay/PixabayClient.php", "func_name": "PixabayClient.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse Provided options\n\n@param array $options\n@param bool $resetOptions", "docstring_tokens": ["Parse", "Provided", "options"], "sha": "08b6cc398d4e773eaa5ccaccae3549d9b5642599", "url": "https://github.com/zoonman/pixabay-php-api/blob/08b6cc398d4e773eaa5ccaccae3549d9b5642599/src/Pixabay/PixabayClient.php#L89-L98", "partition": "test"} +{"repo": "zoonman/pixabay-php-api", "path": "src/Pixabay/PixabayClient.php", "func_name": "PixabayClient.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Data from Pixabay API\n\n@param array $options\n@param bool $returnObject\n@param bool $resetOptions\n@param string $segment\n@return mixed", "docstring_tokens": ["Get", "Data", "from", "Pixabay", "API"], "sha": "08b6cc398d4e773eaa5ccaccae3549d9b5642599", "url": "https://github.com/zoonman/pixabay-php-api/blob/08b6cc398d4e773eaa5ccaccae3549d9b5642599/src/Pixabay/PixabayClient.php#L110-L116", "partition": "test"} +{"repo": "zoonman/pixabay-php-api", "path": "src/Pixabay/PixabayClient.php", "func_name": "PixabayClient.getImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Images from Pixabay API\n\n@param array $options\n@param bool $returnObject\n@param bool $resetOptions\n\n@return mixed", "docstring_tokens": ["Get", "Images", "from", "Pixabay", "API"], "sha": "08b6cc398d4e773eaa5ccaccae3549d9b5642599", "url": "https://github.com/zoonman/pixabay-php-api/blob/08b6cc398d4e773eaa5ccaccae3549d9b5642599/src/Pixabay/PixabayClient.php#L127-L130", "partition": "test"} +{"repo": "zoonman/pixabay-php-api", "path": "src/Pixabay/PixabayClient.php", "func_name": "PixabayClient.getVideos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Videos from Pixabay API\n\n@param array $options\n@param bool $returnObject\n@param bool $resetOptions\n\n@return mixed", "docstring_tokens": ["Get", "Videos", "from", "Pixabay", "API"], "sha": "08b6cc398d4e773eaa5ccaccae3549d9b5642599", "url": "https://github.com/zoonman/pixabay-php-api/blob/08b6cc398d4e773eaa5ccaccae3549d9b5642599/src/Pixabay/PixabayClient.php#L141-L144", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/abstracts/AbstractOutput.php", "func_name": "AbstractOutput.stdout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prints a string to STDOUT\n\nYou may optionally format the string with ANSI codes by\npassing additional parameters using the constants defined in [[\\yii\\helpers\\Console]].\n\nExample:\n\n```\n$this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);\n```\n\n@param string $string the string to print\n@return int|bool Number of bytes printed or false on error", "docstring_tokens": ["Prints", "a", "string", "to", "STDOUT"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/abstracts/AbstractOutput.php#L66-L77", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get table safeUp definition with primary key\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["get", "table", "safeUp", "definition", "with", "primary", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L66-L75", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getDropTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get table safeDown definition\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["get", "table", "safeDown", "definition"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L83-L104", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getDropTableData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "truncate table data\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["truncate", "table", "data"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L218-L227", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get column key\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["get", "column", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L235-L297", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getDropKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "drop column key\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["drop", "column", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L305-L329", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getFK", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add forengin key\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["add", "forengin", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L337-L383", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getDropFK", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "drop foreign key\n@param TableSchema $table\n@param $indent int text-indent \u6587\u672c\u7f29\u8fdb\n@return string", "docstring_tokens": ["drop", "foreign", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L391-L408", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the columns definition.\n@param $columns array\n@param int $indent the number of text indent\n@return string", "docstring_tokens": ["Returns", "the", "columns", "definition", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L506-L520", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the primary key definition.\n@param array $pk\n@param array $columns\n@param int $indent the number of text indent\n@return string the primary key definition", "docstring_tokens": ["Returns", "the", "primary", "key", "definition", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L529-L551", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getTableComment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get table comment\n@param TableSchema $table\n@param int $indent the number of text indent\n@return string", "docstring_tokens": ["get", "table", "comment"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L576-L600", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.getSchemaType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the schema type.\n@param ColumnSchema $column\n@return string the schema type", "docstring_tokens": ["Returns", "the", "schema", "type", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L638-L677", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Schema.php", "func_name": "Schema.other", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the other definition.\n@param ColumnSchema $column\n@return string the other definition", "docstring_tokens": ["Returns", "the", "other", "definition", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Schema.php#L684-L722", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.actionList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print all over the table name without table prefix\n\n@return int the status of the action execution", "docstring_tokens": ["print", "all", "over", "the", "table", "name", "without", "table", "prefix"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L369-L373", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.actionGenerate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generate migration file -type = 0 generate table, 1 generate table data, 2 generate add key, 3 generate add foreign key\n@return int the status of the action execution", "docstring_tokens": ["generate", "migration", "file", "-", "type", "=", "0", "generate", "table", "1", "generate", "table", "data", "2", "generate", "add", "key", "3", "generate", "add", "foreign", "key"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L379-L422", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.actionCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print the 'createTable' code.\n\n@return int the status of the action execution", "docstring_tokens": ["print", "the", "createTable", "code", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L429-L476", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.actionDrop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print the 'dropTable' code.\n\n@return integer the status of the action execution", "docstring_tokens": ["print", "the", "dropTable", "code", "."], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L483-L530", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.generateFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unified generate file interface\n@param TableSchema $table\n@param string $functionName abstract function name\n@see \\hzhihua\\dump\\abstracts\\AbstractSchema abstract function name\n@param null $tip\n@param int $indent text-indent \u6587\u672c\u7f29\u8fdb\n@return bool", "docstring_tokens": ["Unified", "generate", "file", "interface"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L541-L567", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.printf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unified printf interface\n@param TableSchema $table\n@param $functionName string $functionName abstract function name\n@see \\hzhihua\\dump\\abstracts\\AbstractSchema abstract function name\n@param null $tip\n@param int $indent text-indent \u6587\u672c\u7f29\u8fdb\n@return bool|int", "docstring_tokens": ["Unified", "printf", "interface"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L605-L638", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/DumpController.php", "func_name": "DumpController.getParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get relevant data with array style for generating file function\n@param TableSchema $table\n@param string $functionName abstract function name\n@see \\hzhihua\\dump\\abstracts\\AbstractSchema abstract function name\n@param int $indent text-indent \u6587\u672c\u7f29\u8fdb\n@return array", "docstring_tokens": ["Get", "relevant", "data", "with", "array", "style", "for", "generating", "file", "function"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/DumpController.php#L660-L694", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Output.php", "func_name": "Output.startPrintf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "printf some thing at the terminal and record start time\n@param string $string\n@return int exit code", "docstring_tokens": ["printf", "some", "thing", "at", "the", "terminal", "and", "record", "start", "time"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Output.php#L82-L93", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Output.php", "func_name": "Output.endPrintf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "printf some thing at the terminal and record end time\n@param string $string\n@return int exit code", "docstring_tokens": ["printf", "some", "thing", "at", "the", "terminal", "and", "record", "end", "time"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Output.php#L100-L115", "partition": "test"} +{"repo": "Hzhihua/yii2-dump", "path": "src/models/Output.php", "func_name": "Output.conclusion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print conclusion at the terminal\n@param $handleTable array all table name that had been generate\n@param $filterTable array all table name that had been filter", "docstring_tokens": ["print", "conclusion", "at", "the", "terminal"], "sha": "6865c2064d72b8361e0d7adfa6f11aa58608ef93", "url": "https://github.com/Hzhihua/yii2-dump/blob/6865c2064d72b8361e0d7adfa6f11aa58608ef93/src/models/Output.php#L122-L161", "partition": "test"} +{"repo": "playsms/playsms-webservices", "path": "src/Playsms/Webservices.php", "func_name": "Webservices._Fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch content from URL\n\n@param string $query_string\nWebservices URL", "docstring_tokens": ["Fetch", "content", "from", "URL"], "sha": "e0be999aebaf142791a70d1a6ced93f4cca38bd1", "url": "https://github.com/playsms/playsms-webservices/blob/e0be999aebaf142791a70d1a6ced93f4cca38bd1/src/Playsms/Webservices.php#L72-L77", "partition": "test"} +{"repo": "playsms/playsms-webservices", "path": "src/Playsms/Webservices.php", "func_name": "Webservices._Populate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process and populate class for results", "docstring_tokens": ["Process", "and", "populate", "class", "for", "results"], "sha": "e0be999aebaf142791a70d1a6ced93f4cca38bd1", "url": "https://github.com/playsms/playsms-webservices/blob/e0be999aebaf142791a70d1a6ced93f4cca38bd1/src/Playsms/Webservices.php#L82-L112", "partition": "test"} +{"repo": "playsms/playsms-webservices", "path": "src/Playsms/Webservices.php", "func_name": "Webservices._setWebservicesUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a complete webservices URL", "docstring_tokens": ["Build", "a", "complete", "webservices", "URL"], "sha": "e0be999aebaf142791a70d1a6ced93f4cca38bd1", "url": "https://github.com/playsms/playsms-webservices/blob/e0be999aebaf142791a70d1a6ced93f4cca38bd1/src/Playsms/Webservices.php#L117-L201", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all AD groups in configured search locations, including all nested groups.\nUses groups_search_locations if defined, otherwise falls back to NULL, which tells LDAPGateway\nto use the default baseDn defined in the connection.\n\n@param boolean $cached Cache the results from AD, so that subsequent calls are faster. Enabled by default.\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@param string $indexBy Attribute to use as an index.\n@return array", "docstring_tokens": ["Return", "all", "AD", "groups", "in", "configured", "search", "locations", "including", "all", "nested", "groups", ".", "Uses", "groups_search_locations", "if", "defined", "otherwise", "falls", "back", "to", "NULL", "which", "tells", "LDAPGateway", "to", "use", "the", "default", "baseDn", "defined", "in", "the", "connection", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L210-L233", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getGroupByDN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a particular AD group's data given a DN.\n\n@param string $dn\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@return array", "docstring_tokens": ["Get", "a", "particular", "AD", "group", "s", "data", "given", "a", "DN", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L287-L296", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUsers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all AD users in configured search locations, including all users in nested groups.\nUses users_search_locations if defined, otherwise falls back to NULL, which tells LDAPGateway\nto use the default baseDn defined in the connection.\n\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@return array", "docstring_tokens": ["Return", "all", "AD", "users", "in", "configured", "search", "locations", "including", "all", "users", "in", "nested", "groups", ".", "Uses", "users_search_locations", "if", "defined", "otherwise", "falls", "back", "to", "NULL", "which", "tells", "LDAPGateway", "to", "use", "the", "default", "baseDn", "defined", "in", "the", "connection", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L306-L323", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUserByGUID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific AD user's data given a GUID.\n\n@param string $guid\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@return array", "docstring_tokens": ["Get", "a", "specific", "AD", "user", "s", "data", "given", "a", "GUID", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L332-L341", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUserByDN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific AD user's data given a DN.\n\n@param string $dn\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n\n@return array", "docstring_tokens": ["Get", "a", "specific", "AD", "user", "s", "data", "given", "a", "DN", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L351-L360", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUserByEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific user's data given an email.\n\n@param string $email\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@return array", "docstring_tokens": ["Get", "a", "specific", "user", "s", "data", "given", "an", "email", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L369-L378", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUserByUsername", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific user's data given a username.\n\n@param string $username\n@param array $attributes List of specific AD attributes to return. Empty array means return everything.\n@return array", "docstring_tokens": ["Get", "a", "specific", "user", "s", "data", "given", "a", "username", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L387-L396", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getUsernameByEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a username for an email.\n\n@param string $email\n@return string|null", "docstring_tokens": ["Get", "a", "username", "for", "an", "email", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L404-L412", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.getLDAPGroupMembers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a group DN, get the group membership data in LDAP.\n\n@param string $dn\n@return array", "docstring_tokens": ["Given", "a", "group", "DN", "get", "the", "group", "membership", "data", "in", "LDAP", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L420-L432", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.updateGroupFromLDAP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sync a specific Group by updating it with LDAP data.\n\n@param Group $group An existing Group or a new Group object\n@param array $data LDAP group object data\n\n@return bool", "docstring_tokens": ["Sync", "a", "specific", "Group", "by", "updating", "it", "with", "LDAP", "data", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L624-L659", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.createLDAPUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new LDAP user from the passed Member record.\nNote that the Member record must have a non-empty Username field for this to work.\n\n@param Member $member", "docstring_tokens": ["Creates", "a", "new", "LDAP", "user", "from", "the", "passed", "Member", "record", ".", "Note", "that", "the", "Member", "record", "must", "have", "a", "non", "-", "empty", "Username", "field", "for", "this", "to", "work", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L667-L708", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.createLDAPGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new LDAP group from the passed Group record.\n\n@param Group $group\n@throws ValidationException", "docstring_tokens": ["Creates", "a", "new", "LDAP", "group", "from", "the", "passed", "Group", "record", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L716-L757", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.updateLDAPFromMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the Member data back to the corresponding LDAP user object.\n\n@param Member $member\n@throws ValidationException", "docstring_tokens": ["Update", "the", "Member", "data", "back", "to", "the", "corresponding", "LDAP", "user", "object", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L765-L823", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.updateLDAPGroupsForMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure the user belongs to the correct groups in LDAP from their membership\nto local LDAP mapped SilverStripe groups.\n\nThis also removes them from LDAP groups if they've been taken out of one.\nIt will not affect group membership of non-mapped groups, so it will\nnot touch such internal AD groups like \"Domain Users\".\n\n@param Member $member", "docstring_tokens": ["Ensure", "the", "user", "belongs", "to", "the", "correct", "groups", "in", "LDAP", "from", "their", "membership", "to", "local", "LDAP", "mapped", "SilverStripe", "groups", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L835-L908", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.setPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change a members password on the AD. Works with ActiveDirectory compatible services that saves the\npassword in the `unicodePwd` attribute.\n\n@todo Use the Zend\\Ldap\\Attribute::setPassword functionality to create a password in\nan abstract way, so it works on other LDAP directories, not just Active Directory.\n\nEnsure that the LDAP bind:ed user can change passwords and that the connection is secure.\n\n@param Member $member\n@param string $password\n@param string|null $oldPassword Supply old password to perform a password change (as opposed to password reset)\n@return ValidationResult\n@throws Exception", "docstring_tokens": ["Change", "a", "members", "password", "on", "the", "AD", ".", "Works", "with", "ActiveDirectory", "compatible", "services", "that", "saves", "the", "password", "in", "the", "unicodePwd", "attribute", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L949-L981", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/services/LDAPService.php", "func_name": "LDAPService.deleteLDAPMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an LDAP user mapped to the Member record\n@param Member $member", "docstring_tokens": ["Delete", "an", "LDAP", "user", "mapped", "to", "the", "Member", "record"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/services/LDAPService.php#L987-L1004", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/WriteHandler.php", "func_name": "WriteHandler.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify rows altering their values\n\n@param string $compare\n@param array $keys\n@param array $values\n@param integer $limit\n@param integer $begin\n\n@throws ErrorMessage\n\n@return integer", "docstring_tokens": ["Modify", "rows", "altering", "their", "values"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/WriteHandler.php#L62-L95", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connect to Handler Socket\n\n@param string $server\n@param integer $port\n\n@throws IOException", "docstring_tokens": ["Connect", "to", "Handler", "Socket"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L83-L90", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.disconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disconnect from server", "docstring_tokens": ["Disconnect", "from", "server"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L100-L109", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.recvStr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Receive one string from server,string haven't trailing \\n\n\n@param Boolean $read Specifies socket\n\n@throws IOException\n\n@return string", "docstring_tokens": ["Receive", "one", "string", "from", "server", "string", "haven", "t", "trailing", "\\", "n"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L130-L138", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.sendStr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send command to server\n\n@param string $string\n\n@throws IOException", "docstring_tokens": ["Send", "command", "to", "server"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L147-L166", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.encodeString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode string for sending to server\n\n@param string $string\n\n@return string", "docstring_tokens": ["Encode", "string", "for", "sending", "to", "server"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L175-L182", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.decodeString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode string from server\n\n@param string $encoded\n@return string", "docstring_tokens": ["Decode", "string", "from", "server"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L190-L197", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.readResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read response from server\n\n@return ErrorMessage | array", "docstring_tokens": ["Read", "response", "from", "server"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L204-L219", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadSocket.php", "func_name": "ReadSocket.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate a connection\n\n@param string $authkey\n\n@return ErrorMessage | boolean", "docstring_tokens": ["Authenticate", "a", "connection"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadSocket.php#L228-L240", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/authenticators/LDAPLoginForm.php", "func_name": "LDAPLoginForm.consistentResponseTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures response times are the same across all scenarios i.e. email exists or doesn't\nthis helps to avoid issues where malicious users could find if an email is legitimate based on response time\n\n@param float $startTime", "docstring_tokens": ["Ensures", "response", "times", "are", "the", "same", "across", "all", "scenarios", "i", ".", "e", ".", "email", "exists", "or", "doesn", "t", "this", "helps", "to", "avoid", "issues", "where", "malicious", "users", "could", "find", "if", "an", "email", "is", "legitimate", "based", "on", "response", "time"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/authenticators/LDAPLoginForm.php#L208-L221", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/extensions/LDAPMemberExtension.php", "func_name": "LDAPMemberExtension.onBeforeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the user in LDAP, provided this configuration is enabled\nand a username was passed to a new Member record.", "docstring_tokens": ["Create", "the", "user", "in", "LDAP", "provided", "this", "configuration", "is", "enabled", "and", "a", "username", "was", "passed", "to", "a", "new", "Member", "record", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/extensions/LDAPMemberExtension.php#L158-L175", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/extensions/LDAPMemberExtension.php", "func_name": "LDAPMemberExtension.writeWithoutSync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write DataObject without triggering this extension's hooks.\n\n@throws Exception", "docstring_tokens": ["Write", "DataObject", "without", "triggering", "this", "extension", "s", "hooks", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/extensions/LDAPMemberExtension.php#L211-L220", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/authenticators/SAMLLoginForm.php", "func_name": "SAMLLoginForm.getMessageFromSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get message from session", "docstring_tokens": ["Get", "message", "from", "session"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/authenticators/SAMLLoginForm.php#L86-L101", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/control/LDAPSecurityController.php", "func_name": "LDAPSecurityController.LostPasswordForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method for the lost password form\n\n@return Form Returns the lost password form", "docstring_tokens": ["Factory", "method", "for", "the", "lost", "password", "form"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/control/LDAPSecurityController.php#L91-L101", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/control/LDAPSecurityController.php", "func_name": "LDAPSecurityController.passwordsent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the \"password sent\" page, after a user has requested\nto reset their password.\n\n@param SS_HTTPRequest $request The SS_HTTPRequest for this action.\n@return string Returns the \"password sent\" page as HTML code.", "docstring_tokens": ["Show", "the", "password", "sent", "page", "after", "a", "user", "has", "requested", "to", "reset", "their", "password", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/control/LDAPSecurityController.php#L119-L142", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPGateway.php", "func_name": "LDAPGateway.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query the LDAP directory with the given filter.\n\n@param string $filter The string to filter by, e.g. (objectClass=user)\n@param null|string $baseDn The DN to search from. Default is the baseDn option in the connection if not given\n@param int $scope The scope to perform the search. Zend_Ldap::SEARCH_SCOPE_ONE, Zend_LDAP::SEARCH_SCOPE_BASE. Default is Zend_Ldap::SEARCH_SCOPE_SUB\n@param array $attributes Restrict to specific AD attributes. An empty array will return all attributes\n@param string $sort Sort results by this attribute if given\n@return array", "docstring_tokens": ["Query", "the", "LDAP", "directory", "with", "the", "given", "filter", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPGateway.php#L41-L70", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPGateway.php", "func_name": "LDAPGateway.getGroupByGUID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a particular LDAP group by objectGUID value.\n\n@param string $guid\n@param null|string $baseDn The DN to search from. Default is the baseDn option in the connection if not given\n@param int $scope The scope to perform the search. Zend_Ldap::SEARCH_SCOPE_ONE, Zend_LDAP::SEARCH_SCOPE_BASE. Default is Zend_Ldap::SEARCH_SCOPE_SUB\n@param array $attributes Restrict to specific AD attributes. An empty array will return all attributes\n@return array", "docstring_tokens": ["Return", "a", "particular", "LDAP", "group", "by", "objectGUID", "value", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPGateway.php#L142-L150", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPGateway.php", "func_name": "LDAPGateway.changePassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Changes user password via LDAP.\n\nChange password is different to administrative password reset in that it will respect the password\nhistory policy. This is achieved by sending a remove followed by an add in one batch (which is different\nto an ordinary attribute modification operation).\n\n@param string $dn Location to update the entry at.\n@param string $password New password to set.\n@param string $oldPassword Old password is needed to trigger a password change.\n@throws \\Zend\\Ldap\\Exception\\LdapException", "docstring_tokens": ["Changes", "user", "password", "via", "LDAP", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPGateway.php#L327-L355", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPGateway.php", "func_name": "LDAPGateway.resetPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Administrative password reset.\n\nThis is different to password change - it does not require old password, but also\nit does not respect password history policy setting.\n\n@param string $dn Location to update the entry at.\n@param string $password New password to set.\n@throws \\Zend\\Ldap\\Exception\\LdapException", "docstring_tokens": ["Administrative", "password", "reset", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPGateway.php#L367-L377", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPGateway.php", "func_name": "LDAPGateway.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move an LDAP object from it's original DN location to another.\nThis effectively copies the object then deletes the original one.\n\n@param string $fromDn\n@param string $toDn\n@param bool $recursively Recursively move nested objects?", "docstring_tokens": ["Move", "an", "LDAP", "object", "from", "it", "s", "original", "DN", "location", "to", "another", ".", "This", "effectively", "copies", "the", "object", "then", "deletes", "the", "original", "one", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPGateway.php#L417-L420", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/authenticators/LDAPAuthenticator.php", "func_name": "LDAPAuthenticator.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs the login, but will also create and sync the Member record on-the-fly, if not found.\n\n@param array $data\n@param Form $form\n@return bool|Member|void\n@throws SS_HTTPResponse_Exception", "docstring_tokens": ["Performs", "the", "login", "but", "will", "also", "create", "and", "sync", "the", "Member", "record", "on", "-", "the", "-", "fly", "if", "not", "found", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/authenticators/LDAPAuthenticator.php#L69-L144", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/authenticators/LDAPAuthenticator.php", "func_name": "LDAPAuthenticator.fallback_authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to authenticate using the fallback authenticator.\n\n@param array $data\n@param null|Form $form\n@return null|Member", "docstring_tokens": ["Try", "to", "authenticate", "using", "the", "fallback", "authenticator", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/authenticators/LDAPAuthenticator.php#L153-L160", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/control/SAMLController.php", "func_name": "SAMLController.acs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assertion Consumer Service\n\nThe user gets sent back here after authenticating with the IdP, off-site.\nThe earlier redirection to the IdP can be found in the SAMLAuthenticator::authenticate.\n\nAfter this handler completes, we end up with a rudimentary Member record (which will be created on-the-fly\nif not existent), with the user already logged in. Login triggers memberLoggedIn hooks, which allows\nLDAP side of this module to finish off loading Member data.\n\n@throws OneLogin_Saml2_Error", "docstring_tokens": ["Assertion", "Consumer", "Service"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/control/SAMLController.php#L34-L110", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/control/SAMLController.php", "func_name": "SAMLController.metadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate this SP's metadata. This is needed for intialising the SP-IdP relationship.\nIdP is instructed to call us back here to establish the relationship. IdP may also be configured\nto hit this endpoint periodically during normal operation, to check the SP availability.", "docstring_tokens": ["Generate", "this", "SP", "s", "metadata", ".", "This", "is", "needed", "for", "intialising", "the", "SP", "-", "IdP", "relationship", ".", "IdP", "is", "instructed", "to", "call", "us", "back", "here", "to", "establish", "the", "relationship", ".", "IdP", "may", "also", "be", "configured", "to", "hit", "this", "endpoint", "periodically", "during", "normal", "operation", "to", "check", "the", "SP", "availability", "."], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/control/SAMLController.php#L117-L137", "partition": "test"} +{"repo": "silverstripe/silverstripe-activedirectory", "path": "code/model/LDAPUtil.php", "func_name": "LDAPUtil.little_endian", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a little-endian hex-number to one, that 'hexdec' can convert", "docstring_tokens": ["Converts", "a", "little", "-", "endian", "hex", "-", "number", "to", "one", "that", "hexdec", "can", "convert"], "sha": "ffdbe06b6cda42aeab1a1fd1c287b517811efab3", "url": "https://github.com/silverstripe/silverstripe-activedirectory/blob/ffdbe06b6cda42aeab1a1fd1c287b517811efab3/code/model/LDAPUtil.php#L90-L97", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadHandler.php", "func_name": "ReadHandler.selectCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "callback for select request\n@ignore", "docstring_tokens": ["callback", "for", "select", "request"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadHandler.php#L82-L93", "partition": "test"} +{"repo": "tz-lom/HSPHP", "path": "src/HSPHP/ReadHandler.php", "func_name": "ReadHandler.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Selects all rows with key relative as described\n\n@param string $compare\n@param array $keys\n@param integer $limit\n@param integer $begin\n\n@throws ErrorMessage\n\n@return array", "docstring_tokens": ["Selects", "all", "rows", "with", "key", "relative", "as", "described"], "sha": "074514455c579da4090255c4012bf1a61e06197f", "url": "https://github.com/tz-lom/HSPHP/blob/074514455c579da4090255c4012bf1a61e06197f/src/HSPHP/ReadHandler.php#L107-L128", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Password/XenforoPassword.php", "func_name": "XenforoPassword.splitHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the hash into its calculated hash and salt.\n\n@param string $hash The hash to split.\n@return array An array in the form [$hash, $hashFunc, $salt].", "docstring_tokens": ["Split", "the", "hash", "into", "its", "calculated", "hash", "and", "salt", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Password/XenforoPassword.php#L98-L120", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the appropriate db driver given a config.\n\n@param array $config The configuration used to initialize the object.\nThe config must have a driver key which names the db class to create.\n@throws \\Exception Throws an exception when the config isn't complete.", "docstring_tokens": ["Create", "the", "appropriate", "db", "driver", "given", "a", "config", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L91-L110", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.getTableDef", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a table definition.\n\n@param string $tablename The name of the table.\n@return array|null Returns the table definition or null if the table does not exist.", "docstring_tokens": ["Get", "a", "table", "definition", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L147-L164", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.getAllTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the tables in the database.\n\n@param bool $withDefs Whether or not to return the full table definitions or just the table names.\n@return array Returns an array of either the table definitions or the table names.", "docstring_tokens": ["Get", "all", "of", "the", "tables", "in", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L172-L180", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.fixIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move the primary key index into the correct place for database drivers.\n\n@param string $tablename The name of the table.\n@param array &$tableDef The table definition.\n@param array|null $curTableDef The current database table def used to resolve conflicts in some names.\n@throws \\Exception Throws an exception when there is a mismatch between the primary index and the primary key\ndefined on the columns themselves.", "docstring_tokens": ["Move", "the", "primary", "key", "index", "into", "the", "correct", "place", "for", "database", "drivers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L266-L305", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.indexCompare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare two index definitions to see if they have the same columns and same type.\n\n@param array $a The first index.\n@param array $b The second index.\n@return int Returns an integer less than, equal to, or greater than zero if {@link $a} is\nconsidered to be respectively less than, equal to, or greater than {@link $b}.", "docstring_tokens": ["Compare", "two", "index", "definitions", "to", "see", "if", "they", "have", "the", "same", "columns", "and", "same", "type", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L333-L341", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.getOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single row from the database.\n\nThis is a conveinience method that calls {@link Db::get()} and shifts off the first row.\n\n@param string $tablename The name of the table to get the data from.\n@param array $where An array of where conditions.\n@param array $options An array of additional options.\n@return array|false Returns the row or false if there is no row.", "docstring_tokens": ["Get", "a", "single", "row", "from", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L363-L367", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Db.php", "func_name": "Db.buildIndexName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a standardized index name from an index definition.\n\n@param string $tablename The name of the table the index is in.\n@param array $indexDef The index definition.\n@return string Returns the index name.", "docstring_tokens": ["Build", "a", "standardized", "index", "name", "from", "an", "index", "definition", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Db.php#L445-L455", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode a string using a secure specification.\n\n@param mixed $data The data to encode. This must be data that supports json serialization.\n@param array $spec An array specifying how the string should be encoded.\nThe array should be in the form ['spec1' => 'password', 'spec2' => 'password'].\n@param bool $throw Whether or not to throw an exception on error.\n@return string|null Returns the encoded string or null if there is an error.", "docstring_tokens": ["Encode", "a", "string", "using", "a", "secure", "specification", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L50-L95", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.generateRandomKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a random string suitable for use as an encryption or signature key.\n\n@param int $len The number of characters in the key.\n@return string Returns a base64url encoded string representing the random key.", "docstring_tokens": ["Generate", "a", "random", "string", "suitable", "for", "use", "as", "an", "encryption", "or", "signature", "key", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L175-L179", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.supportedInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a supported spec name.\n\n@param string $name The name of the spec.\n@param bool $throw Whether or not throw an exception on error.\n@return array|null Returns an array in the form [encode, decode, method, encodeFirst].\nReturns null on error.", "docstring_tokens": ["Get", "information", "about", "a", "supported", "spec", "name", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L262-L274", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.hmac", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sign a string with hmac and a hash method.\n\n@param string $str The string to sign.\n@param string $method The hash method used to sign the string.\n@param string $password The password used to hmac hash the string with.\n@param int $timestamp The timestamp used to sign the string with or 0 to use the current time.\n@param bool $throw Whether or not the throw an exception on error.\n@return string Returns the string with signing information or null on error.", "docstring_tokens": ["Sign", "a", "string", "with", "hmac", "and", "a", "hash", "method", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L286-L303", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.verifyHmac", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the signature on a secure string.\n\n@param string $str The string to verify.\n@param string $method The hashing algorithm that the string was signed with.\n@param string $password The password used to sign the string.\n@param bool $throw Whether or not to throw an exeptio on error.\n@return bool Returns the string without the signing information or null on error.", "docstring_tokens": ["Verify", "the", "signature", "on", "a", "secure", "string", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L314-L345", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.verifyTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify that a timestamp hasn't expired.\n\n@param string $timestamp The unix timestamp to verify.\n@param bool $throw Whether or not to throw an exception on error.\n@return bool Returns true if the timestamp is valid or false otherwise.", "docstring_tokens": ["Verify", "that", "a", "timestamp", "hasn", "t", "expired", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L354-L365", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.popString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pop a string off of the end of an encoded secure string.\n\n@param string &$str The main string to pop.\n@return string|null Returns the popped string or null if {@link $str} is empty.", "docstring_tokens": ["Pop", "a", "string", "off", "of", "the", "end", "of", "an", "encoded", "secure", "string", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L373-L387", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.pushString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pushes a string on to the end of an encoded secure string.\n\n@param string &$str The main string to push to.\n@param string|array $item The string or array of strings to push on to the end of {@link $str}.", "docstring_tokens": ["Pushes", "a", "string", "on", "to", "the", "end", "of", "an", "encoded", "secure", "string", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L395-L400", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/SecureString.php", "func_name": "SecureString.twiddle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Twiddle a value in an encoded secure string to another value.\n\nThis method is mainly for testing so that an invalid string can be created.\n\n@param string $string A valid cookie to twiddle.\n@param int $index The index of the new value.\n@param string $value The new value. This will be base64url encoded.\n@param bool $encode Whether or not to base64 url encode the value.\n@return string Returns the new encoded cookie.", "docstring_tokens": ["Twiddle", "a", "value", "in", "an", "encoded", "secure", "string", "to", "another", "value", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/SecureString.php#L429-L438", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.errorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the error message from an error.\n\nErrors are stored with either a message or a translation code.\nThis method will look at both to determine the full message.\n\n@param array $error The error array.\n@return string Returns the message from the error.", "docstring_tokens": ["Gets", "the", "error", "message", "from", "an", "error", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L49-L59", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.addError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an error.\n\n@param string $messageCode The message translation code.\nIf you add a message that starts with \"@\" then no translation will take place.\n@param string|array $field The name of the field to add or an array of fields if the error applies to\nmore than one field.\n@param int|array $options An array of additional information to add to the error entry or a numeric error code.\n@return Validation Returns $this for fluent calls.", "docstring_tokens": ["Add", "an", "error", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L71-L105", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.mainMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the main error message for the validation.\n\n@param string|null $value Pass a new main message or null to get the current main message.\n@return Validation|string Returns the main message or $this for fluent sets.", "docstring_tokens": ["Gets", "the", "main", "error", "message", "for", "the", "validation", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L113-L120", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.status", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or set the error status code.\n\nThe status code is an http resonse code and should be of the 4xx variety.\n\n@param int|null $value Pass a new status code or null to get the current code.\n@return Validation|int Returns the current status code or $this for fluent sets.", "docstring_tokens": ["Get", "or", "set", "the", "error", "status", "code", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L130-L149", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.getMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the message for this exception.\n\n@return string Returns the exception message.", "docstring_tokens": ["Get", "the", "message", "for", "this", "exception", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L156-L182", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.getErrorsFlat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all of the errors as a flat array.\n\nThe errors are internally stored indexed by field. This method flattens them for final error returns.\n\n@return array Returns all of the errors.", "docstring_tokens": ["Gets", "all", "of", "the", "errors", "as", "a", "flat", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L191-L199", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Validation.php", "func_name": "Validation.fieldValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether or not a particular field is has errors.\n\n@param string $field The name of the field to check for validity.\n@return bool Returns true if the field has no errors, false otherwise.", "docstring_tokens": ["Check", "whether", "or", "not", "a", "particular", "field", "is", "has", "errors", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Validation.php#L216-L219", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.parseSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a schema in short form into a full schema array.\n\n@param array $arr The array to parse into a schema.\n@return array The full schema array.\n@throws \\InvalidArgumentException Throws an exception when an item in the schema is invalid.", "docstring_tokens": ["Parse", "a", "schema", "in", "short", "form", "into", "a", "full", "schema", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L67-L141", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.requireOneOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Require one of a given set of fields in the schema.\n\n@param array $fieldnames The field names to require.\n@param int $count The count of required items.\n@return Schema Returns `$this` for fluent calls.", "docstring_tokens": ["Require", "one", "of", "a", "given", "set", "of", "fields", "in", "the", "schema", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L205-L255", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate data against the schema.\n\n@param array &$data The data to validate.\n@param Validation &$validation This argument will be filled with the validation result.\n@return bool Returns true if the data is valid, false otherwise.\n@throws ValidationException Throws an exception when the data does not validate against the schema.", "docstring_tokens": ["Validate", "data", "against", "the", "schema", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L265-L275", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a field.\n\n@param mixed &$value The value to validate.\n@param array $field Parameters on the field.\n@param Validation $validation A validation object to add errors to.\n@throws \\InvalidArgumentException Throws an exception when there is something wrong in the {@link $params}.\n@internal param string $fieldname The name of the field to validate.\n@return bool Returns true if the field is valid, false otherwise.", "docstring_tokens": ["Validate", "a", "field", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L336-L407", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate an array.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "an", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L417-L438", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateBase64", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a base64 string.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "base64", "string", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L448-L465", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a boolean value.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "boolean", "value", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L475-L491", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateDatetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a date time.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "date", "time", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L501-L523", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateFloat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a float.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "float", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L533-L543", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateInteger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate and integer.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "and", "integer", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L553-L563", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate an object.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "an", "object", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L573-L582", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a required field.\n\n@param mixed &$value The field value.\n@param array $field The field definition.\n@param Validation $validation A {@link Validation} object to collect errors.\n@return bool|null Returns one of the following:\n- null: The field is not required.\n- true: The field is required and {@link $value} is not empty.\n- false: The field is required and {@link $value} is empty.", "docstring_tokens": ["Validate", "a", "required", "field", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L595-L619", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a string.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "string", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L629-L639", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Schema.php", "func_name": "Schema.validateTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a unix timestamp.\n\n@param mixed &$value The value to validate.\n@param array $field The field definition.\n@param Validation $validation The validation results to add.\n@return bool Returns true if {@link $value} is valid or false otherwise.", "docstring_tokens": ["Validate", "a", "unix", "timestamp", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Schema.php#L649-L659", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the available addons or a single addon from the available list.\n\n@param string $addon_key If you supply an addon key then only that addon will be returned.\n@param string $key Supply one of the Addons::K_* constants to get a specific key from the addon.\n@return array Returns the addon with the given key or all available addons if no key is passed.", "docstring_tokens": ["Get", "all", "of", "the", "available", "addons", "or", "a", "single", "addon", "from", "the", "available", "list", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L74-L92", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start up the addon framework.\n\n@param array $enabled_addons An array of enabled addons.", "docstring_tokens": ["Start", "up", "the", "addon", "framework", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L126-L164", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.cacheGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cached file or hydrate the cache with a callback.\n\n@param string $key The cache key to get.\n@param callable $cache_cb The function to run when hydrating the cache.\n@return array Returns the cached array.", "docstring_tokens": ["Get", "the", "cached", "file", "or", "hydrate", "the", "cache", "with", "a", "callback", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L173-L186", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.classMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A an array that maps class names to physical paths.\n\n@param string $classname An optional class name to get the path of.\n@return array Returns an array in the form `[fullClassname, classPath]`.\nIf no {@link $classname} is passed then the entire class map is returned.\n@throws \\Exception Throws an exception if the class map is corrupt.", "docstring_tokens": ["A", "an", "array", "that", "maps", "class", "names", "to", "physical", "paths", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L196-L230", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.enabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the enabled addons or a single addon from the enabled list.\n\n@param string $addon_key If you supply an addon key then only that addon will be returned.\n@param string $key Supply one of the Addons::K_* constants to get a specific key from the addon.\n@return array Returns the addon with the given key or all enabled addons if no key is passed.\n@throws \\Exception Throws an exception if {@link Addons::bootstrap()} hasn't been called yet.", "docstring_tokens": ["Get", "all", "of", "the", "enabled", "addons", "or", "a", "single", "addon", "from", "the", "enabled", "list", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L240-L277", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.info", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the info array for an addon.\n\n@param string $addon_key The addon key.\n@return array|null Returns the addon's info array or null if the addon wasn't found.", "docstring_tokens": ["Return", "the", "info", "array", "for", "an", "addon", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L285-L294", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.scanAddonRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan an addon directory for information.\n\n@param string $dir The addon directory to scan.\n@param array &$addons The addons array.\n@param array $enabled An array of enabled addons or null to scan all addons.\n@return array Returns an array in the form [addonKey, addonInfo].", "docstring_tokens": ["Scan", "an", "addon", "directory", "for", "information", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L304-L329", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.scanAddon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan an individual addon directory and return the information about that addon.\n\n@param string $dir The path to the addon.\n@return array An array in the form of `[$addon_key, $addon_row]` or `[$addon_key, null]` if the directory doesn't\nrepresent an addon.", "docstring_tokens": ["Scan", "an", "individual", "addon", "directory", "and", "return", "the", "information", "about", "that", "addon", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L338-L392", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.scanAddons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan a directory for addons.\n\n@param string $dir The directory to scan.\n@param array $enabled An array of enabled addons in the form `[addonKey => enabled, ...]`.\n@param array &$addons The addons will fill this array.\n@return array Returns all of the addons.", "docstring_tokens": ["Scan", "a", "directory", "for", "addons", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L402-L418", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Addons.php", "func_name": "Addons.startAddon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start an addon.\n\nThis function does the following:\n\n1. Make the addon available in the autoloader.\n2. Run the addon's bootstrap.php if it exists.\n\n@param string $addon_key The key of the addon to enable.\n@return bool Returns true if the addon was enabled. False otherwise.", "docstring_tokens": ["Start", "an", "addon", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Addons.php#L493-L504", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Exception/ClientException.php", "func_name": "ClientException.getHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the response headers that were set on the exception.\n\n@return array Returns the headers for this exception.", "docstring_tokens": ["Gets", "the", "response", "headers", "that", "were", "set", "on", "the", "exception", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Exception/ClientException.php#L42-L51", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.callUserFuncArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a callback with an array of parameters, checking for events to be called with the callback.\n\nThis method is similar to {@link call_user_func_array()} but it will fire events that can happen\nbefore and/or after the callback and can call an event instead of the callback itself to override it.\n\nIn order to use events with this method they must be bound with a particular naming convention.\n\n**Modify a function**\n\n- functionname_before\n- functionname\n- functionname_after\n\n**Modify a method call**\n\n- classname_methodname_before\n- classname_methodname\n- classname_methodname_after\n\n@param callable $callback The {@link callable} to be called.\n@param array $args The arguments to be passed to the callback, as an indexed array.\n@return mixed Returns the return value of the callback.", "docstring_tokens": ["Call", "a", "callback", "with", "an", "array", "of", "parameters", "checking", "for", "events", "to", "be", "called", "with", "the", "callback", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L63-L93", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind an event handler to an event.\n\n@param string $event The naame of the event to bind to.\n@param callback $callback The callback of the event.\n@param int $priority The priority of the event.", "docstring_tokens": ["Bind", "an", "event", "handler", "to", "an", "event", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L102-L106", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.bindClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a class' declared event handlers.\n\nPlugin classes declare event handlers in the following way:\n\n```\n// Bind to a normal event.\npublic function eventname_handler($arg1, $arg2, ...) { ... }\n\n// Add/override a method called with Event::callUserFuncArray().\npublic function ClassName_methodName($sender, $arg1, $arg2) { ... }\npublic function ClassName_methodName_create($sender, $arg1, $arg2) { ... } // deprecated\n\n// Call the handler before or after a method called with Event::callUserFuncArray().\npublic function ClassName_methodName_before($sender, $arg1, $arg2) { ... }\npublic function ClassName_methodName_after($sender, $arg1, $arg2) { ... }\n```\n\n@param mixed $class The class name or an object instance.\n@param int $priority The priority of the event.\n@throws \\InvalidArgumentException Throws an exception when binding to a class name with no `instance()` method.", "docstring_tokens": ["Bind", "a", "class", "declared", "event", "handlers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L130-L169", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.dumpHandlers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dumps all of the bound handlers.\n\nThis method is meant for debugging.\n\n@return array Returns an array of all handlers indexed by event name.", "docstring_tokens": ["Dumps", "all", "of", "the", "bound", "handlers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L178-L187", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.fire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire an event.\n\n@param string $event The name of the event.\n@return mixed Returns the result of the last event handler.", "docstring_tokens": ["Fire", "an", "event", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L195-L210", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.fireArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire an event with an array of arguments.\n\nThis method is to {@link Event::fire()} as {@link call_user_func_array()} is to {@link call_user_funct()}.\nThe main purpose though is to allow you to have event handlers that can take references.\n\n@param string $event The name of the event.\n@param array $args The arguments for the event handlers.\n@return mixed Returns the result of the last event handler.", "docstring_tokens": ["Fire", "an", "event", "with", "an", "array", "of", "arguments", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L222-L236", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.fireFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Chain several event handlers together.\n\nThis method will fire the first handler and pass its result as the first argument\nto the next event handler and so on. A chained event handler can have more than one parameter,\nbut must have at least one parameter.\n\n@param string $event The name of the event to fire.\n@param mixed $value The value to pass into the filter.\n@return mixed The result of the chained event or `$value` if there were no handlers.", "docstring_tokens": ["Chain", "several", "event", "handlers", "together", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L249-L263", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.functionExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a function exists or there is a replacement event for it.\n\n@param string $function_name The function name.\n@param bool $only_events Whether or not to only check events.\n@return boolean Returns `true` if the function given by `function_name` has been defined, `false` otherwise.\n@see http://ca1.php.net/manual/en/function.function-exists.php", "docstring_tokens": ["Checks", "if", "a", "function", "exists", "or", "there", "is", "a", "replacement", "event", "for", "it", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L296-L302", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.getEventname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the event name for a callback.\n\n@param string|array|callable $callback The callback or an array in the form of a callback.\n@return string The name of the callback.", "docstring_tokens": ["Get", "the", "event", "name", "for", "a", "callback", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L310-L326", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.getHandlers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the handlers bound to an event.\n\n@param string $name The name of the event.\n@return array Returns the handlers that are watching {@link $name}.", "docstring_tokens": ["Get", "all", "of", "the", "handlers", "bound", "to", "an", "event", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L334-L348", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.hasHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if an event has a handler.\n\n@param string $event The name of the event.\n@return bool Returns `true` if the event has at least one handler, `false` otherwise.", "docstring_tokens": ["Checks", "if", "an", "event", "has", "a", "handler", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L356-L359", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Event.php", "func_name": "Event.methodExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a class method exists or there is a replacement event for it.\n\n@param mixed $object An object instance or a class name.\n@param string $method_name The method name.\n@param bool $only_events Whether or not to only check events.\n@return boolean Returns `true` if the method given by method_name has been defined for the given object,\n`false` otherwise.\n@see http://ca1.php.net/manual/en/function.method-exists.php", "docstring_tokens": ["Checks", "if", "a", "class", "method", "exists", "or", "there", "is", "a", "replacement", "event", "for", "it", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Event.php#L371-L379", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Literal.php", "func_name": "Literal.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the literal value.\n\n@param string $driver The name of the database driver to fetch the literal for.\n@return string Returns the value for the specific driver, the default literal, or \"null\" if there is no default.", "docstring_tokens": ["Get", "the", "literal", "value", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Literal.php#L45-L55", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/Literal.php", "func_name": "Literal.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the literal value.\n\n@param string $value The new value to set.\n@param string $driver The name of the database driver to set the value for.\n@return Literal Returns $this for fluent calls.", "docstring_tokens": ["Set", "the", "literal", "value", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/Literal.php#L64-L68", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Password/VbulletinPassword.php", "func_name": "VbulletinPassword.splitSalt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the salt and hash from a single hash.\n\n@param string $hash The hash to split.\n@return array An array in the form `[$hash, $salt]`.", "docstring_tokens": ["Split", "the", "salt", "and", "hash", "from", "a", "single", "hash", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Password/VbulletinPassword.php#L68-L75", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Config.php", "func_name": "Config.defaultPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or set the default path.\n\n@param string $value Pass a value to set a new default path.\n@return string Returns the current default path.", "docstring_tokens": ["Get", "or", "set", "the", "default", "path", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Config.php#L46-L53", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Config.php", "func_name": "Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a setting from the config.\n\n@param string $key The config key.\n@param mixed $default The default value if the config file doesn't exist.\n@return mixed The value at {@link $key} or {@link $default} if the key isn't found.\n@see \\config()", "docstring_tokens": ["Get", "a", "setting", "from", "the", "config", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Config.php#L72-L78", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Config.php", "func_name": "Config.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load configuration data from a file.\n\n@param string $path An optional path to load the file from.\n@param string $path If true the config will be put under the current config, not over it.\n@param string $php_var The name of the php variable to load from if using the php file type.", "docstring_tokens": ["Load", "configuration", "data", "from", "a", "file", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Config.php#L126-L146", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Config.php", "func_name": "Config.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save data to the config file.\n\n@param array $data The config data to save.\n@param string $path An optional path to save the data to.\n@param string $php_var The name of the php variable to load from if using the php file type.\n@return bool Returns true if the save was successful or false otherwise.\n@throws \\InvalidArgumentException Throws an exception when the saved data isn't an array.", "docstring_tokens": ["Save", "data", "to", "the", "config", "file", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Config.php#L157-L179", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Application.php", "func_name": "Application.matchRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the matched routes for a request.\n\n@param Request $request The {@link Request} to match against.\n@return array An array of arrays corresponding to matching routes and their args.", "docstring_tokens": ["Get", "all", "of", "the", "matched", "routes", "for", "a", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Application.php#L48-L58", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Application.php", "func_name": "Application.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new route.\n\n@param string|Route $pathOrRoute The path to the route or the {@link Route} object itself.\n@param callable|string|null $callback Either a callback to map the route to or a string representing\na format for {@link sprintf()}.\n@return Route Returns the route that was added.\n@throws \\InvalidArgumentException Throws an exceptio if {@link $path} isn't a string or {@link Route}.", "docstring_tokens": ["Add", "a", "new", "route", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Application.php#L69-L79", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Application.php", "func_name": "Application.finalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finalize the result from a dispatch.\n\n@param mixed $result The result of the dispatch.\n@return mixed Returns relevant debug data or processes the response.\n@throws \\Exception Throws an exception when finalizing internal content types and the result is an exception.", "docstring_tokens": ["Finalize", "the", "result", "from", "a", "dispatch", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Application.php#L205-L248", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/ResourceRoute.php", "func_name": "ResourceRoute.actionExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests whether a controller action exists.\n\n@param object $object The controller object that the method should be on.\n@param string $action The name of the action.\n@param string $method The http method.\n@param bool $special Whether or not to blacklist the special methods.\n@return string Returns the name of the action method or an empty string if it doesn't exist.", "docstring_tokens": ["Tests", "whether", "a", "controller", "action", "exists", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/ResourceRoute.php#L234-L255", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/ResourceRoute.php", "func_name": "ResourceRoute.allowedMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the allowed http methods on a controller object.\n\n@param object $object The object to test.\n@param string $action The action to test.\n@return array Returns an array of allowed http methods.", "docstring_tokens": ["Find", "the", "allowed", "http", "methods", "on", "a", "controller", "object", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/ResourceRoute.php#L264-L289", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/ResourceRoute.php", "func_name": "ResourceRoute.matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try matching a route to a request.\n\n@param Request $request The request to match the route with.\n@param Application $app The application instantiating the route.\n@return array|null Whether or not the route matches the request.\nIf the route matches an array of args is returned, otherwise the function returns null.", "docstring_tokens": ["Try", "matching", "a", "route", "to", "a", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/ResourceRoute.php#L299-L355", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/ResourceRoute.php", "func_name": "ResourceRoute.failsCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests whether an argument fails against a condition.\n\n@param string $name The name of the parameter.\n@param string $value The value of the argument.\n@return bool|null Returns one of the following:\n- true: The condition fails.\n- false: The condition passes.\n- null: There is no condition.", "docstring_tokens": ["Tests", "whether", "an", "argument", "fails", "against", "a", "condition", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/ResourceRoute.php#L367-L380", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the response that is currently being processed.\n\n@param Response|null $response Set a new response or pass null to get the current response.\n@return Response Returns the current response.", "docstring_tokens": ["Gets", "or", "sets", "the", "response", "that", "is", "currently", "being", "processed", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L149-L157", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Response from a variety of data.\n\n@param mixed $result The result to create the response from.\n@return Response Returns a {@link Response} object.", "docstring_tokens": ["Create", "a", "Response", "from", "a", "variety", "of", "data", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L165-L218", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.contentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the content type.\n\n@param string|null $value The new content type or null to get the current content type.\n@return Response|string Returns the current content type or `$this` for fluent calls.", "docstring_tokens": ["Gets", "or", "sets", "the", "content", "type", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L226-L232", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.contentAsset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the asset that will be rendered in the response.\n\n@param string $asset Set a new value or pass `null` to get the current value.\n@return Response|string Returns the current content asset or `$this` when settings.", "docstring_tokens": ["Gets", "or", "sets", "the", "asset", "that", "will", "be", "rendered", "in", "the", "response", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L240-L247", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.contentTypeFromAccept", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the content type from an accept header.\n\n@param string $accept The value of the accept header.\n@return Response $this Returns `$this` for fluent calls.", "docstring_tokens": ["Set", "the", "content", "type", "from", "an", "accept", "header", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L255-L274", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.statusMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate an http code to its corresponding status message.\n\n@param int $statusCode The http status code.\n@param bool $header Whether or not the result should be in a form that can be passed to {@link header}.\n@return string Returns the status message corresponding to {@link $code}.", "docstring_tokens": ["Translate", "an", "http", "code", "to", "its", "corresponding", "status", "message", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L283-L291", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.cookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets a cookie.\n\n@param string $name The name of the cookie.\n@param bool $value The value of the cookie. This value is stored on the clients computer; do not store sensitive information.\n@param int $expires The time the cookie expires. This is a Unix timestamp so is in number of seconds since the epoch.\n@param string $path The path on the server in which the cookie will be available on.\nIf set to '/', the cookie will be available within the entire {@link $domain}.\n@param string $domain The domain that the cookie is available to.\n@param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client.\n@param bool $httponly When TRUE the cookie will be made accessible only through the HTTP protocol.\n@return $this|mixed Returns the cookie settings at {@link $name} or `$this` when setting a cookie for fluent calls.", "docstring_tokens": ["Gets", "or", "sets", "a", "cookie", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L306-L313", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.globalCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets a global cookie.\n\nGlobal cookies are used when you want to set a cookie, but a {@link Response} has not been created yet.\n\n@param string $name The name of the cookie.\n@param bool $value The value of the cookie. This value is stored on the clients computer; do not store sensitive information.\n@param int $expires The time the cookie expires. This is a Unix timestamp so is in number of seconds since the epoch.\n@param string $path The path on the server in which the cookie will be available on.\nIf set to '/', the cookie will be available within the entire {@link $domain}.\n@param string $domain The domain that the cookie is available to.\n@param bool $secure Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client.\n@param bool $httponly When TRUE the cookie will be made accessible only through the HTTP protocol.\n@return mixed|null Returns the cookie settings at {@link $name} or `null` when setting a cookie.", "docstring_tokens": ["Gets", "or", "sets", "a", "global", "cookie", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L330-L345", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or set the meta data for the response.\n\nThe meta is an array of data that is unrelated to the response data.\n\n@param array|null $meta Pass a new meta data value or `null` to get the current meta array.\n@param bool $merge Whether or not to merge new data with the current data when setting.\n@return $this|array Returns either the meta or `$this` when setting the meta data.", "docstring_tokens": ["Get", "or", "set", "the", "meta", "data", "for", "the", "response", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L356-L367", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or set the data for the response.\n\n@param array|null $data Pass a new data value or `null` to get the current data array.\n@param bool $merge Whether or not to merge new data with the current data when setting.\n@return Response|array Returns either the data or `$this` when setting the data.", "docstring_tokens": ["Get", "or", "set", "the", "data", "for", "the", "response", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L376-L387", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.headers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets headers.\n\n@param string|array $name The name of the header or an array of headers.\n@param string|null $value A new value for the header or null to get the current header.\n@param bool $replace Whether or not to replace the current header or append.\n@return Response|string Returns the value of the header or `$this` for fluent calls.", "docstring_tokens": ["Gets", "or", "sets", "headers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L397-L412", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.globalHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets global headers.\n\nThe global headers exist to allow code to queue up headers before the response has been constructed.\n\n@param string|array|null $name The name of the header or an array of headers.\n@param string|null $value A new value for the header or null to get the current header.\n@param bool $replace Whether or not to replace the current header or append.\n@return string|array Returns one of the following:\n- string|array: Returns the current value of the header at {@link $name}.\n- array: Returns the entire global headers array when {@link $name} is not passed.\n- null: Returns `null` when setting a global header.", "docstring_tokens": ["Gets", "or", "sets", "global", "headers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L427-L452", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.normalizeHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize a header key to the proper casing.\n\nExample:\n\n```\necho static::normalizeHeader('CONTENT_TYPE');\n\n// Content-Type\n```\n\n@param string $name The name of the header.\n@return string Returns the normalized header name.", "docstring_tokens": ["Normalize", "a", "header", "key", "to", "the", "proper", "casing", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L503-L516", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Response.php", "func_name": "Response.flushHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush the headers to the browser.\n\n@param bool $global Whether or not to merge the global headers with this response.", "docstring_tokens": ["Flush", "the", "headers", "to", "the", "browser", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Response.php#L550-L594", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.alterTableMigrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alter a table by creating a new table and copying the old table's data to it.\n\n@param string $tablename The table to alter.\n@param array $alterDef The new definition.\n@param array $options An array of options for the migration.", "docstring_tokens": ["Alter", "a", "table", "by", "creating", "a", "new", "table", "and", "copying", "the", "old", "table", "s", "data", "to", "it", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L30-L67", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.renameTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename a table.\n\n@param string $oldname The old name of the table.\n@param string $newname The new name of the table.", "docstring_tokens": ["Rename", "a", "table", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L75-L81", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.dropIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drop an index.\n\n@param string $indexName The name of the index to drop.", "docstring_tokens": ["Drop", "an", "index", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L104-L108", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.createIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an index.\n\n@param string $tablename The name of the table to create the index on.\n@param array $indexDef The index definition.\n@param array $options Additional options for the index creation.", "docstring_tokens": ["Create", "an", "index", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L240-L251", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.forceType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Force a value into the appropriate php type based on its Sqlite type.\n\n@param mixed $value The value to force.\n@param string $type The sqlite type name.\n@return mixed Returns $value cast to the appropriate type.", "docstring_tokens": ["Force", "a", "value", "into", "the", "appropriate", "php", "type", "based", "on", "its", "Sqlite", "type", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L260-L274", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.getPKValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the primary or secondary keys from the given rows.\n\n@param string $tablename The name of the table.\n@param array $row The row to examine.\n@param bool $quick Whether or not to quickly look for ID for the primary key.\n@return array|null Returns the primary keys and values from {@link $rows} or null if the primary key isn't found.", "docstring_tokens": ["Get", "the", "primary", "or", "secondary", "keys", "from", "the", "given", "rows", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L380-L395", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/SqliteDb.php", "func_name": "SqliteDb.getTablenames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the all of tablenames in the database.\n\n@return array Returns an array of table names with prefixes stripped.", "docstring_tokens": ["Get", "the", "all", "of", "tablenames", "in", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/SqliteDb.php#L402-L422", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and return a new route.\n\n@param string $pattern The pattern for the route.\n@param callable|string $callback Either a callback to map the route to or a string representing\na format for {@link sprintf()}.\n@return \\Garden\\Route Returns the new route.", "docstring_tokens": ["Create", "and", "return", "a", "new", "route", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L58-L65", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.conditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the route's conditions.\n\n@param array|null $conditions An array of conditions to set.\n@return Route|array", "docstring_tokens": ["Gets", "or", "sets", "the", "route", "s", "conditions", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L82-L98", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.methods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the allowed http methods for this route.\n\n@param array|string|null $methods Set a new set of allowed methods or pass null to get the current methods.\n@return Route|array Returns the current methods or `$this` for fluent calls.", "docstring_tokens": ["Gets", "or", "sets", "the", "allowed", "http", "methods", "for", "this", "route", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L106-L113", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.mappings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the mappings array that maps parameter names to mappings.\n\n@param array|null $mappings An array of mappings to set.\n@return Route|array Returns the current mappings or `$this` for fluent calls.", "docstring_tokens": ["Gets", "or", "sets", "the", "mappings", "array", "that", "maps", "parameter", "names", "to", "mappings", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L144-L160", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.globalMappings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the global mappings array that maps parameter names to mappings.\n\n@param array|null $mappings An array of mappings to set.\n@return array Returns the current global mappings.", "docstring_tokens": ["Gets", "or", "sets", "the", "global", "mappings", "array", "that", "maps", "parameter", "names", "to", "mappings", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L168-L183", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.isMapped", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether or not a parameter is mapped to special request data.\n\n@param string $name The name of the parameter to check.\n@return bool Returns true if the parameter is mapped, false otherwise.", "docstring_tokens": ["Determine", "whether", "or", "not", "a", "parameter", "is", "mapped", "to", "special", "request", "data", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L191-L194", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.mappedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the mapped data for a parameter.\n\n@param string $name The name of the parameter.\n@param Request $request The {@link Request} to get the data from.\n@return array|null Returns the mapped data or null if there is no data.", "docstring_tokens": ["Get", "the", "mapped", "data", "for", "a", "parameter", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L203-L228", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.matchesMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests whether or not a route matches the allowed methods for this route.\n\n@param Request $request The request to test.\n@return bool Returns `true` if the route allows the method, otherwise `false`.", "docstring_tokens": ["Tests", "whether", "or", "not", "a", "route", "matches", "the", "allowed", "methods", "for", "this", "route", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L246-L251", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Route.php", "func_name": "Route.pattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the route pattern.\n\n@param string|null $pattern The route pattern.\n@return string Returns the pattern.", "docstring_tokens": ["Gets", "or", "sets", "the", "route", "pattern", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Route.php#L259-L264", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/CallbackRoute.php", "func_name": "CallbackRoute.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch the matched route and call its callback.\n\n@param Request $request The request to dispatch.\n@param array &$args The arguments returned from {@link CallbackRoute::dispatch()}.\n@return mixed Returns the result of the callback.", "docstring_tokens": ["Dispatch", "the", "matched", "route", "and", "call", "its", "callback", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/CallbackRoute.php#L42-L48", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/CallbackRoute.php", "func_name": "CallbackRoute.getPatternRegex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a path pattern into its regex.\n\n@param string $pattern The route pattern to convert into a regular expression.\n@return string Returns the regex pattern for the route.", "docstring_tokens": ["Convert", "a", "path", "pattern", "into", "its", "regex", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/CallbackRoute.php#L89-L107", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a query on the database.\n\n@param string $sql The sql query to execute.\n@param string $type One of the Db::QUERY_* constants.\n\nDb::QUERY_READ\n: The query reads from the database.\n\nDb::QUERY_WRITE\n: The query writes to the database.\n\nDb::QUERY_DEFINE\n: The query alters the structure of the datbase.\n\n@param array $options Additional options for the query.\n\nDb::OPTION_MODE\n: Override {@link Db::$mode}.\n\n@return array|string|PDOStatement|int Returns the result of the query.\n\narray\n: Returns an array when reading from the database and the mode is {@link Db::MODE_EXEC}.\nstring\n: Returns the sql query when the mode is {@link Db::MODE_SQL}.\nPDOStatement\n: Returns a {@link \\PDOStatement} when the mode is {@link Db::MODE_PDO}.\nint\n: Returns the number of rows affected when performing an update or an insert.", "docstring_tokens": ["Execute", "a", "query", "on", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L91-L119", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.buildSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a sql select statement.\n\n@param string $table The name of the main table.\n@param array $where The where filter.\n@param array $options An array of additional query options.\n@return string Returns the select statement as a string.\n@see Db::get()", "docstring_tokens": ["Build", "a", "sql", "select", "statement", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L232-L292", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.bracketList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an array into a bracketed list suitable for MySQL clauses.\n\n@param array $row The row to expand.\n@param string $quote The quotes to surroud the items with. There are two special cases.\n' (single quote)\n: The row will be passed through {@link PDO::quote()}.\n` (backticks)\n: The row will be passed through {@link MySqlDb::backtick()}.\n@return string Returns the bracket list.", "docstring_tokens": ["Convert", "an", "array", "into", "a", "bracketed", "list", "suitable", "for", "MySQL", "clauses", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L402-L415", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.buildInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an insert statement.\n\n@param string $tablename The name of the table to insert to.\n@param array $row The row to insert.\n@param bool $quotevals Whether or not to quote the values.\n@param array $options An array of options for the insert. See {@link Db::insert} for the options.\n@return string Returns the the sql string of the insert statement.", "docstring_tokens": ["Build", "an", "insert", "statement", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L656-L674", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.buildUpsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an upsert statement.\n\nAn upsert statement is an insert on duplicate key statement in MySQL.\n\n@param string $tablename The name of the table to update.\n@param array $row The row to insert or update.\n@param bool $quotevals Whether or not to quote the values in the row.\n@param array $options An array of additional query options.\n@return string Returns the upsert statement as a string.", "docstring_tokens": ["Build", "an", "upsert", "statement", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L687-L700", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.columnDefString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct a column definition string from an array defintion.\n\n@param string $name The name of the column.\n@param array $def The column definition.\n@return string Returns a string representing the column definition.", "docstring_tokens": ["Construct", "a", "column", "definition", "string", "from", "an", "array", "defintion", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L843-L859", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.indexDefString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the SDL string that defines an index.\n\n@param string $tablename The name of the table that the index is on.\n@param array $def The index defintion. This definition should have the following keys.\n\ncolumns\n: An array of columns in the index.\ntype\n: One of \"index\", \"unique\", or \"primary\".\n@return null|string Returns the index string or null if the index is not correct.", "docstring_tokens": ["Return", "the", "SDL", "string", "that", "defines", "an", "index", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L873-L884", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/MySqlDb.php", "func_name": "MySqlDb.getColumnOrders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of column orders so that added columns can be slotted into their correct spot.\n\n@param array $cdefs An array of column definitions.\n@return array Returns an array of column orders suitable for an `alter table` statement.", "docstring_tokens": ["Get", "an", "array", "of", "column", "orders", "so", "that", "added", "columns", "can", "be", "slotted", "into", "their", "correct", "spot", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/MySqlDb.php#L935-L944", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Porter.php", "func_name": "Porter.getFormatsFromDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the translation format from the database.\n\n@param Db $db\n@return type", "docstring_tokens": ["Get", "the", "translation", "format", "from", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Porter.php#L74-L78", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Porter.php", "func_name": "Porter.translateRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate a row from one row format to another.\n\n@param array $row The data to translate.\n@param array $format The translation format.\n@return array The translated row.", "docstring_tokens": ["Translate", "a", "row", "from", "one", "row", "format", "to", "another", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Porter.php#L156-L176", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Password/PhpbbPassword.php", "func_name": "PhpbbPassword.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for a correct password.\n\n@param string $password The password in plain text.\n@param string $hash The stored password hash.\n@return bool Returns true if the password is correct, false if not.", "docstring_tokens": ["Check", "for", "a", "correct", "password", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Password/PhpbbPassword.php#L28-L34", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Password/PhpbbPassword.php", "func_name": "PhpbbPassword.encode64", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode hash.\n\n@param string $input The input to encode.\n@param int $count The number of characters to encode.\n@return string The encoded string.", "docstring_tokens": ["Encode", "hash", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Password/PhpbbPassword.php#L98-L131", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the current request.\n\n@param Request $request Pass a request object to set the current request.\n@return Request Returns the current request if {@link Request} is null or the previous request otherwise.", "docstring_tokens": ["Gets", "or", "sets", "the", "current", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L121-L128", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.defaultEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or updates the default environment.\n\n@param string|array|null $key Specifies a specific key in the environment array.\nIf you pass an array for this parameter then you can set the default environment.\n@param bool $merge Whether or not to merge the new value.\n@return array|mixed Returns the value at {@link $key} or the entire environment array.\n@throws \\InvalidArgumentException Throws an exception when {@link $key} is not valid.", "docstring_tokens": ["Gets", "or", "updates", "the", "default", "environment", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L139-L174", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.globalEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse request information from the current environment.\n\nThe environment contains keys based on the Rack protocol (see http://rack.rubyforge.org/doc/SPEC.html).\n\n@param mixed $key The environment variable to look at.\n- null: Return the entire environment.\n- true: Force a re-parse of the environment and return the entire environment.\n- string: One of the environment variables.\n@return array|string Returns the global environment or the value at {@link $key}.", "docstring_tokens": ["Parse", "request", "information", "from", "the", "current", "environment", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L187-L197", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.parseServerVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the various server variables to build the global environment.\n\n@return array Returns an array suitable to be used as the {@see Request::$globalEnv}.\n@see Request::globalEnvironment().", "docstring_tokens": ["Parse", "the", "various", "server", "variables", "to", "build", "the", "global", "environment", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L205-L278", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.overrideEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for specific environment overrides.\n\n@param array &$env The environment to override.", "docstring_tokens": ["Check", "for", "specific", "environment", "overrides", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L285-L318", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getEnv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from the environment or the entire environment.\n\n@param string|null $key The key to get or null to get the entire environment.\n@param mixed $default The default value if {@link $key} is not found.\n@return mixed|array Returns the value at {@link $key}, {$link $default} or the entire environment array.\n@see Request::setEnv()", "docstring_tokens": ["Get", "a", "value", "from", "the", "environment", "or", "the", "entire", "environment", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L328-L333", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setEnv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a value from the environment or the entire environment.\n\n@param string|array $key The key to set or an array to set the entire environment.\n@param mixed $value The value to set.\n@return Request Returns $this for fluent calls.\n@throws \\InvalidArgumentException Throws an exception when {@link $key} is invalid.\n@see Request::getEnv()", "docstring_tokens": ["Set", "a", "value", "from", "the", "environment", "or", "the", "entire", "environment", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L344-L353", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves all message headers.\n\n@return array Returns an associative array of the message's headers.\nEach key represents a header name, and each value is an array of strings.", "docstring_tokens": ["Retrieves", "all", "message", "headers", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L422-L432", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getHostAndPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the host and port, but only if the port is not the standard port for the request scheme.\n\n@return string Returns the host and port or just the host if this is the standard port.\n@see Request::getHost()\n@see Request::getPort()", "docstring_tokens": ["Get", "the", "host", "and", "port", "but", "only", "if", "the", "port", "is", "not", "the", "standard", "port", "for", "the", "request", "scheme", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L461-L472", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the file extension of the request.\n\n@param string $ext The file extension to set.\n@return Request Returns $this for fluent calls.", "docstring_tokens": ["Sets", "the", "file", "extension", "of", "the", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L615-L622", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setPathExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the path with file extension.\n\n@param string $path The path to set.\n@return Request Returns $this for fluent calls.\n@see Request::getPathExt()", "docstring_tokens": ["Set", "the", "path", "with", "file", "extension", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L641-L652", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setFullPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the full path of the request.\n\nThe full path consists of the root + path + extension.\nThis method examins the current root to see if the root can still be used or should be removed.\nSpecial care must be taken when calling this method to make sure you don't remove the root unintentionally.\n\n@param string $fullPath The full path to set.\n@return Request Returns $this for fluent calls.", "docstring_tokens": ["Set", "the", "full", "path", "of", "the", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L675-L692", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the port.\n\nSetting the port to 80 or 443 will also set the scheme to http or https respectively.\n\n@param int $port The port to set.\n@return Request Returns $this for fluent calls.", "docstring_tokens": ["Sets", "the", "port", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L722-L733", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from the query string array.\n\n@param string|null $key Either a string key or null to get the entire array.\n@param mixed|null $default The default to return if {@link $key} is not found.\n@return string|array|null Returns the query string value or the query string itself.\n@see Request::setQuery()", "docstring_tokens": ["Get", "an", "item", "from", "the", "query", "string", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L743-L748", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an item from the query string array.\n\n@param string|array $key Either a string key or an array to set the entire query string.\n@param mixed|null $value The value to set.\n@return Request Returns $this for fluent call.\n@throws \\InvalidArgumentException Throws an exception when {@link $key is invalid}.\n@see Request::getQuery()", "docstring_tokens": ["Set", "an", "item", "from", "the", "query", "string", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L759-L768", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from the input array.\n\n@param string|null $key Either a string key or null to get the entire array.\n@param mixed|null $default The default to return if {@link $key} is not found.\n@return string|array|null Returns the query string value or the input array itself.", "docstring_tokens": ["Get", "an", "item", "from", "the", "input", "array", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L777-L782", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the query on input depending on the http method.\n\n@param string|null $key Either a string key or null to get the entire array.\n@param mixed|null $default The default to return if {@link $key} is not found.\n@return mixed|array Returns the value at {@link $key} or the entire array.\n@see Request::setData()\n@see Request::getInput()\n@see Request::getQuery()\n@see Request::hasInput()", "docstring_tokens": ["Gets", "the", "query", "on", "input", "depending", "on", "the", "http", "method", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L814-L820", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the query on input depending on the http method.\n\n@param string|array $key Either a string key or an array to set the entire data.\n@param mixed|null $value The value to set.\n@return Request Returns $this for fluent call.\n@see Request::getData()\n@see Request::setInput()\n@see Request::setQuery()\n@see Request::hasInput()", "docstring_tokens": ["Sets", "the", "query", "on", "input", "depending", "on", "the", "http", "method", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L833-L840", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.getUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the full url of the request.\n\n@return string Returns the full url of the request.\n@see Request::setUrl()", "docstring_tokens": ["Get", "the", "full", "url", "of", "the", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L924-L933", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.setUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the full url of the request.\n\n@param string $url The new url.\n@return Request $this Returns $this for fluent calls.\n@see Request::getUrl()", "docstring_tokens": ["Set", "the", "full", "url", "of", "the", "request", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L942-L971", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.makeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct a url on the current site.\n\n@param string $path The path of the url.\n@param mixed $domain Whether or not to include the domain. This can be one of the following.\n- false: The domain will not be included.\n- true: The domain will be included.\n- http: Force http.\n- https: Force https.\n- //: A schemeless domain will be included.\n- /: Just the path will be returned.\n@return string Returns the url.", "docstring_tokens": ["Construct", "a", "url", "on", "the", "current", "site", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L986-L1009", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Request.php", "func_name": "Request.splitPathExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split the file extension off a path.\n\n@param string $path The path to split.\n@return array Returns an array in the form `['path', 'ext']`.", "docstring_tokens": ["Split", "the", "file", "extension", "off", "a", "path", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Request.php#L1017-L1025", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the internal state of this object so that it can be re-used.\n\n@return DbDef Returns $this for fluent calls.", "docstring_tokens": ["Reset", "the", "internal", "state", "of", "this", "object", "so", "that", "it", "can", "be", "re", "-", "used", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L59-L66", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a column.\n\n@param string $name The column name.\n@param string $type The column type.\n@param mixed $nullDefault Whether the column is required or it's default.\n\nnull|true\n: The column is not required.\nfalse\n: The column is required.\nAnything else\n: The column is required and this is its default.\n\n@param string|array $index The index that the column participates in.\n@return DbDef", "docstring_tokens": ["Define", "a", "column", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L85-L100", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.columnDef", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array column def from a structured function call.\n\n@param string $type The database type of the column.\n@param mixed $nullDefault Whether or not to allow null or the default value.\n\nnull|true\n: The column is not required.\nfalse\n: The column is required.\nAnything else\n: The column is required and this is its default.\n\n@return array Returns the column def as an array.", "docstring_tokens": ["Get", "an", "array", "column", "def", "from", "a", "structured", "function", "call", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L117-L131", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.primaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the primary key in the database.\n\n@param string $name The name of the column.\n@param string $type The datatype for the column.\n@return DbDef", "docstring_tokens": ["Define", "the", "primary", "key", "in", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L140-L151", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the table def against the database.\n\n@param bool $reset Whether or not to reset the db def upon completion.\n@return DbDef $this Returns $this for fluent calls.", "docstring_tokens": ["Execute", "the", "table", "def", "against", "the", "database", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L159-L171", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the name of the table.\n\n@param string|null $name The name of the table.\n@return DbDef|string Returns $this for fluent calls.", "docstring_tokens": ["Set", "the", "name", "of", "the", "table", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L179-L185", "partition": "test"} +{"repo": "vanilla/garden", "path": "src/Db/DbDef.php", "func_name": "DbDef.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add or update an index.\n\n@param string|array $columns An array of columns or a single column name.\n@param string $type One of the `Db::INDEX_*` constants.\n@param string $suffix An index suffix to group columns together in an index.\n@return DbDef Returns $this for fluent calls.", "docstring_tokens": ["Add", "or", "update", "an", "index", "."], "sha": "ad9af189da98d57dc990eb3e6c0524f32e5e7e01", "url": "https://github.com/vanilla/garden/blob/ad9af189da98d57dc990eb3e6c0524f32e5e7e01/src/Db/DbDef.php#L195-L235", "partition": "test"} +{"repo": "verschuur/laravel-robotstxt", "path": "src/Controllers/RobotsTxtController.php", "func_name": "RobotsTxtController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "By default, the production environment allows all, and every other environment allows none\nCustom paths can be set by publishing and editing the config file\n@return Illuminate\\Http\\Response HTTP status 200 with a text/plain content type robots.txt output", "docstring_tokens": ["By", "default", "the", "production", "environment", "allows", "all", "and", "every", "other", "environment", "allows", "none", "Custom", "paths", "can", "be", "set", "by", "publishing", "and", "editing", "the", "config", "file"], "sha": "abae9b76b8234ddfbf92f8dccb642843afe03f7e", "url": "https://github.com/verschuur/laravel-robotstxt/blob/abae9b76b8234ddfbf92f8dccb642843afe03f7e/src/Controllers/RobotsTxtController.php#L22-L51", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a list of records\n@param int $offset The start point in the sorted list of records from which the results set will start\n@param int $pageSize The number of records to display per page\n@param string $sort Determines how the list is sorted (time-descending or time-ascending)\n@return array API response", "docstring_tokens": ["Retrieve", "a", "list", "of", "records"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L61-L79", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a specific record\n@param int $resourceId\n@return array API response\n@author", "docstring_tokens": ["Retrieve", "a", "specific", "record"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L87-L94", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate card payment details without making a payment\n@return array $response", "docstring_tokens": ["Validate", "card", "payment", "details", "without", "making", "a", "payment"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L118-L132", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.getAttributeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single attribute value\n@param string $attribute Attribute name\n@return string Attribute value", "docstring_tokens": ["Get", "a", "single", "attribute", "value"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L139-L146", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.setAttributeValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set attribute values\n@param array $values Attribute values\n@return void", "docstring_tokens": ["Set", "attribute", "values"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L162-L177", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.checkApiMethodIsSupported", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the specified method name is supported by this model\n@param string $methodName Method name\n@return void", "docstring_tokens": ["Check", "if", "the", "specified", "method", "name", "is", "supported", "by", "this", "model"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L184-L191", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.checkRequiredAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if request data contains all of the required attributes to create a new record\n@param array $data Request data\n@return bool", "docstring_tokens": ["Check", "if", "request", "data", "contains", "all", "of", "the", "required", "attributes", "to", "create", "a", "new", "record"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L198-L216", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model.php", "func_name": "Model.checkJudoId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If a Judo ID is not set, use the value from configuration\n@return void", "docstring_tokens": ["If", "a", "Judo", "ID", "is", "not", "set", "use", "the", "value", "from", "configuration"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model.php#L222-L231", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Exception/ApiException.php", "func_name": "ApiException.getSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Summary of the error\n@return string", "docstring_tokens": ["Summary", "of", "the", "error"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Exception/ApiException.php#L100-L110", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay.php", "func_name": "Judopay.getModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a new model object\n@param string $modelName\n@return object", "docstring_tokens": ["Build", "a", "new", "model", "object"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay.php#L62-L80", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Exception/ValidationError.php", "func_name": "ValidationError.getSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns string representation of error\n@return string", "docstring_tokens": ["Returns", "string", "representation", "of", "error"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Exception/ValidationError.php#L25-L37", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Request.php", "func_name": "Request.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a GET request to the specified resource path\n@param string $resourcePath\n@throws ApiException\n@return FutureArray|FutureResponse", "docstring_tokens": ["Make", "a", "GET", "request", "to", "the", "specified", "resource", "path"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Request.php#L42-L55", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Request.php", "func_name": "Request.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a POST request to the specified resource path\n@param string $resourcePath\n@param array $data\n@return FutureArray|FutureResponse", "docstring_tokens": ["Make", "a", "POST", "request", "to", "the", "specified", "resource", "path"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Request.php#L63-L76", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "spec/Judopay/Model/CardPaymentSpec.php", "func_name": "CardPaymentSpec.it_coerces_attributes_into_the_correct_data_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generic model methods", "docstring_tokens": ["Generic", "model", "methods"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/spec/Judopay/Model/CardPaymentSpec.php#L62-L79", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Model/Inner/TransmittedField.php", "func_name": "TransmittedField.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if object contains all of the required attributes\n@throws ValidationError if some fields are missing\n@return bool", "docstring_tokens": ["Check", "if", "object", "contains", "all", "of", "the", "required", "attributes"], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Model/Inner/TransmittedField.php#L84-L98", "partition": "test"} +{"repo": "Judopay/Judo-PHP", "path": "src/Judopay/Helper/ArrayHelper.php", "func_name": "ArrayHelper.keyExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for existence of an array element key.\n@param array $array Array or object to check index\n@param string $key Key of the array element, specified in a dot format.\ne.g. if the key is `x.y.z`, then the returned value would be `$array['x']['y']['z']`\n@return bool", "docstring_tokens": ["Checks", "for", "existence", "of", "an", "array", "element", "key", "."], "sha": "5d87f834fc0b473dfe088dff3b77291fed53f44f", "url": "https://github.com/Judopay/Judo-PHP/blob/5d87f834fc0b473dfe088dff3b77291fed53f44f/src/Judopay/Helper/ArrayHelper.php#L32-L43", "partition": "test"} +{"repo": "kamaln7/toastr", "path": "src/Kamaln7/Toastr/Toastr.php", "func_name": "Toastr.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the notifications' script tag\n\n@param bool $flashed Whether to get the\n\n@return string", "docstring_tokens": ["Render", "the", "notifications", "script", "tag"], "sha": "bf555883de08191b82b753d176048cb696036e97", "url": "https://github.com/kamaln7/toastr/blob/bf555883de08191b82b753d176048cb696036e97/src/Kamaln7/Toastr/Toastr.php#L47-L74", "partition": "test"} +{"repo": "kamaln7/toastr", "path": "src/Kamaln7/Toastr/Toastr.php", "func_name": "Toastr.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a notification\n\n@param string $type Could be error, info, success, or warning.\n@param string $message The notification's message\n@param string $title The notification's title\n\n@return bool Returns whether the notification was successfully added or\nnot.", "docstring_tokens": ["Add", "a", "notification"], "sha": "bf555883de08191b82b753d176048cb696036e97", "url": "https://github.com/kamaln7/toastr/blob/bf555883de08191b82b753d176048cb696036e97/src/Kamaln7/Toastr/Toastr.php#L86-L98", "partition": "test"} +{"repo": "StuartApp/stuart-client-php", "path": "src/Stuart/Job.php", "func_name": "Job.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method allows you to create deliveries from two locations. It's only used by the\nJsonToJob converter, you cannot create you own route.\n\n@param Location $origin\n@param Location $destination\n@return Delivery\n\n@see JsonToJob", "docstring_tokens": ["This", "method", "allows", "you", "to", "create", "deliveries", "from", "two", "locations", ".", "It", "s", "only", "used", "by", "the", "JsonToJob", "converter", "you", "cannot", "create", "you", "own", "route", "."], "sha": "34f345b57b38f58fe4b3bcf66af0d9f08875551e", "url": "https://github.com/StuartApp/stuart-client-php/blob/34f345b57b38f58fe4b3bcf66af0d9f08875551e/src/Stuart/Job.php#L58-L63", "partition": "test"} +{"repo": "StuartApp/stuart-client-php", "path": "src/Stuart/Converters/JobToJson.php", "func_name": "JobToJson.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a Job into a Stuart Job as JSON.\n\n@param Job $job\n@return string", "docstring_tokens": ["Converts", "a", "Job", "into", "a", "Stuart", "Job", "as", "JSON", "."], "sha": "34f345b57b38f58fe4b3bcf66af0d9f08875551e", "url": "https://github.com/StuartApp/stuart-client-php/blob/34f345b57b38f58fe4b3bcf66af0d9f08875551e/src/Stuart/Converters/JobToJson.php#L16-L57", "partition": "test"} +{"repo": "StuartApp/stuart-client-php", "path": "src/Stuart/Converters/JsonToJob.php", "func_name": "JsonToJob.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a JSON formatted Stuart Job into a Job object.\n\n@param String $json\n@return Job", "docstring_tokens": ["Converts", "a", "JSON", "formatted", "Stuart", "Job", "into", "a", "Job", "object", "."], "sha": "34f345b57b38f58fe4b3bcf66af0d9f08875551e", "url": "https://github.com/StuartApp/stuart-client-php/blob/34f345b57b38f58fe4b3bcf66af0d9f08875551e/src/Stuart/Converters/JsonToJob.php#L18-L71", "partition": "test"} +{"repo": "icicleio/socket", "path": "src/Server/BasicServer.php", "func_name": "BasicServer.free", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Frees resources associated with the server and closes the server.\n\n@param \\Throwable $exception Reason for closing the server.", "docstring_tokens": ["Frees", "resources", "associated", "with", "the", "server", "and", "closes", "the", "server", "."], "sha": "b46366df91831a11c734078e2d3b843fca66ebc5", "url": "https://github.com/icicleio/socket/blob/b46366df91831a11c734078e2d3b843fca66ebc5/src/Server/BasicServer.php#L98-L107", "partition": "test"} +{"repo": "icicleio/socket", "path": "src/Datagram/BasicDatagram.php", "func_name": "BasicDatagram.free", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Frees resources associated with the datagram and closes the datagram.\n\n@param \\Throwable|null $exception Reason for closing the datagram.", "docstring_tokens": ["Frees", "resources", "associated", "with", "the", "datagram", "and", "closes", "the", "datagram", "."], "sha": "b46366df91831a11c734078e2d3b843fca66ebc5", "url": "https://github.com/icicleio/socket/blob/b46366df91831a11c734078e2d3b843fca66ebc5/src/Datagram/BasicDatagram.php#L127-L148", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardChart.php", "func_name": "DashboardChart.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new instance of a DashboardChart\n\n@param string The title of the chart\n@param string The label of the X axis\n@param string The label for the Y axis\n@param array The chart data, in x/y pairs\n@return DashboardChart", "docstring_tokens": ["Creates", "a", "new", "instance", "of", "a", "DashboardChart"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardChart.php#L73-L76", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardHasManyRelationEditor.php", "func_name": "DashboardHasManyRelationEditor.handleItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles a request for a record in the table\n\n@param SS_HTTPRequest\n@return SS_HTTPResponse", "docstring_tokens": ["Handles", "a", "request", "for", "a", "record", "in", "the", "table"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardHasManyRelationEditor.php#L145-L157", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardHasManyRelationEditor.php", "func_name": "DashboardHasManyRelationEditor.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A controller action that handles the reordering of the list\n\n@param SS_HTTPRequest\n@return SS_HTTPResponse", "docstring_tokens": ["A", "controller", "action", "that", "handles", "the", "reordering", "of", "the", "list"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardHasManyRelationEditor.php#L181-L191", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardHasManyRelationEditor.php", "func_name": "DashboardHasManyRelationEditor_ItemRequest.Link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A link to this item as managed by the editor belonging to a dashbaord panel\n\n@return string", "docstring_tokens": ["A", "link", "to", "this", "item", "as", "managed", "by", "the", "editor", "belonging", "to", "a", "dashbaord", "panel"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardHasManyRelationEditor.php#L294-L296", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardHasManyRelationEditor.php", "func_name": "DashboardHasManyRelationEditor_ItemRequest.DetailForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides a form to edit or create an object managed by the editor\n\n@return Form", "docstring_tokens": ["Provides", "a", "form", "to", "edit", "or", "create", "an", "object", "managed", "by", "the", "editor"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardHasManyRelationEditor.php#L317-L335", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardHasManyRelationEditor.php", "func_name": "DashboardHasManyRelationEditor_ItemRequest.saveDetail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the DetailForm and writes or creates a new object managed by the editor\n\n@param array The raw POST data from the form\n@param Form The DetailForm object", "docstring_tokens": ["Saves", "the", "DetailForm", "and", "writes", "or", "creates", "a", "new", "object", "managed", "by", "the", "editor"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardHasManyRelationEditor.php#L346-L357", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardRSSFeedPanel.php", "func_name": "DashboardRSSFeedPanel.RSSItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of all the items in the RSS feed given a user-provided URL, limit, and date format\n\n@return ArrayList", "docstring_tokens": ["Gets", "a", "list", "of", "all", "the", "items", "in", "the", "RSS", "feed", "given", "a", "user", "-", "provided", "URL", "limit", "and", "date", "format"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardRSSFeedPanel.php#L68-L106", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardRecentEditsPanel.php", "func_name": "DashboardRecentEditsPanel.RecentEdits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the recent edited pages, limited to a user provided number of records\n\n@return ArrayList", "docstring_tokens": ["Gets", "the", "recent", "edited", "pages", "limited", "to", "a", "user", "provided", "number", "of", "records"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardRecentEditsPanel.php#L55-L65", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/DashboardMember.php", "func_name": "DashboardMember.onAfterWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that new members get the default dashboard configuration. Once it has been applied,\nmake sure this doesn't happen again, if for some reason a user insists on having an empty\ndashboard.", "docstring_tokens": ["Ensures", "that", "new", "members", "get", "the", "default", "dashboard", "configuration", ".", "Once", "it", "has", "been", "applied", "make", "sure", "this", "doesn", "t", "happen", "again", "if", "for", "some", "reason", "a", "user", "insists", "on", "having", "an", "empty", "dashboard", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/DashboardMember.php#L40-L52", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override to check if there is a custom template for this panel, otherwise fall back.\n\n@return string", "docstring_tokens": ["Override", "to", "check", "if", "there", "is", "a", "custom", "template", "for", "this", "panel", "otherwise", "fall", "back", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L45-L51", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.ViewAllLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the link to view all records in a GridField\n\n@return string", "docstring_tokens": ["Gets", "the", "link", "to", "view", "all", "records", "in", "a", "GridField"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L179-L187", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.CreateModelLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a link to create a new record in a GridField\n\n@return string", "docstring_tokens": ["Gets", "a", "link", "to", "create", "a", "new", "record", "in", "a", "GridField"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L197-L209", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.getGridFieldsFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the GridFields for a given page\n\n@param SiteTree A given page\n@return array", "docstring_tokens": ["Gets", "the", "GridFields", "for", "a", "given", "page"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L220-L235", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.getGrid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the grid field instance given the selected page and GridField name\n\n@return GridField", "docstring_tokens": ["Gets", "the", "grid", "field", "instance", "given", "the", "selected", "page", "and", "GridField", "name"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L245-L252", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.getTabForGrid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the name of the tab for the selected grid field name. Allows direct linking\nto the edit form to expose the grid.\n\n@return string", "docstring_tokens": ["Gets", "the", "name", "of", "the", "tab", "for", "the", "selected", "grid", "field", "name", ".", "Allows", "direct", "linking", "to", "the", "edit", "form", "to", "expose", "the", "grid", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L263-L274", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridFieldPanel.GridFieldItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the records in this GridField summary. Provides edit links and a title label\n\n@return ArrayList", "docstring_tokens": ["Gets", "the", "records", "in", "this", "GridField", "summary", ".", "Provides", "edit", "links", "and", "a", "title", "label"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L287-L308", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGridFieldPanel.php", "func_name": "DashboardGridField_PanelRequest.gridsforpage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a requested page, get the GridField names and provide a JSON response\n\n@param SS_HTTPRequest The request object\n@return string", "docstring_tokens": ["Given", "a", "requested", "page", "get", "the", "GridField", "names", "and", "provide", "a", "JSON", "response"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGridFieldPanel.php#L349-L352", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.requestAccountData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request account data from Google Analytics\n\n@param Int $start_index OPTIONAL: Start index of results\n@param Int $max_results OPTIONAL: Max results returned", "docstring_tokens": ["Request", "account", "data", "from", "Google", "Analytics"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L90-L103", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.cleanErrorResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean error message from Google API\n\n@param String $error Error message HTML or JSON from Google API", "docstring_tokens": ["Clean", "error", "message", "from", "Google", "API"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L217-L227", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.processFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process filter string, clean parameters and convert to Google Analytics\ncompatible format\n\n@param String $filter\n@return String Compatible filter string", "docstring_tokens": ["Process", "filter", "string", "clean", "parameters", "and", "convert", "to", "Google", "Analytics", "compatible", "format"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L236-L251", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.accountObjectMapper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Report Account Mapper to convert the JSON to array of useful PHP objects\n\n@param String $json_string\n@return Array of gapiAccountEntry objects", "docstring_tokens": ["Report", "Account", "Mapper", "to", "convert", "the", "JSON", "to", "array", "of", "useful", "PHP", "objects"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L259-L275", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.reportObjectMapper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Report Object Mapper to convert the JSON to array of useful PHP objects\n\n@param String $json_string\n@return Array of gapiReportEntry objects", "docstring_tokens": ["Report", "Object", "Mapper", "to", "convert", "the", "JSON", "to", "array", "of", "useful", "PHP", "objects"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L283-L351", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapi.ArrayKeyExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Case insensitive array_key_exists function, also returns\nmatching key.\n\n@param String $key\n@param Array $search\n@return String Matching array key", "docstring_tokens": ["Case", "insensitive", "array_key_exists", "function", "also", "returns", "matching", "key", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L420-L434", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiOAuth2.fetchToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate Google Account with OAuth2\n\n@param String $client_email\n@param String $key_file\n@param String $delegate_email\n@return String Authentication token", "docstring_tokens": ["Authenticate", "Google", "Account", "with", "OAuth2"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L610-L668", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.getUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the URL to be requested, optionally adding GET variables\n\n@param Array $get_variables\n@return String", "docstring_tokens": ["Return", "the", "URL", "to", "be", "requested", "optionally", "adding", "GET", "variables"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L712-L720", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform http POST request\n\n\n@param Array $get_variables\n@param Array $post_variables\n@param Array $headers", "docstring_tokens": ["Perform", "http", "POST", "request"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L730-L732", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform http GET request\n\n\n@param Array $get_variables\n@param Array $headers", "docstring_tokens": ["Perform", "http", "GET", "request"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L741-L743", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform http request\n\n\n@param Array $get_variables\n@param Array $post_variables\n@param Array $headers", "docstring_tokens": ["Perform", "http", "request"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L753-L767", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.curlRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "HTTP request using PHP CURL functions\nRequires curl library installed and configured for PHP\n\n@param Array $get_variables\n@param Array $post_variables\n@param Array $headers", "docstring_tokens": ["HTTP", "request", "using", "PHP", "CURL", "functions", "Requires", "curl", "library", "installed", "and", "configured", "for", "PHP"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L777-L809", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/thirdparty/gapi.php", "func_name": "gapiRequest.fopenRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "HTTP request using native PHP fopen function\nRequires PHP openSSL\n\n@param Array $get_variables\n@param Array $post_variables\n@param Array $headers", "docstring_tokens": ["HTTP", "request", "using", "native", "PHP", "fopen", "function", "Requires", "PHP", "openSSL"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/thirdparty/gapi.php#L819-L852", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardRecentFilesPanel.php", "func_name": "DashboardRecentFilesPanel.RecentFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of the recently uploaded files to the CMS\n\n@return ArrayList", "docstring_tokens": ["Gets", "a", "list", "of", "the", "recently", "uploaded", "files", "to", "the", "CMS"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardRecentFilesPanel.php#L54-L69", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardPanel.php", "func_name": "DashboardPanel.duplicate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Duplicates this panel. Drills down into the has_many relations\n\n@return DashboardPanel", "docstring_tokens": ["Duplicates", "this", "panel", ".", "Drills", "down", "into", "the", "has_many", "relations"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardPanel.php#L331-L341", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardModelAdminPanel.php", "func_name": "DashboardModelAdminPanel.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override to check if there is a custom template for this panel, otherwise fall back\n\n@return string", "docstring_tokens": ["Override", "to", "check", "if", "there", "is", "a", "custom", "template", "for", "this", "panel", "otherwise", "fall", "back"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardModelAdminPanel.php#L47-L53", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardModelAdminPanel.php", "func_name": "DashboardModelAdminPanel.ViewAllLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the link to view all records in ModelAdmin\n\n@return string", "docstring_tokens": ["Gets", "the", "link", "to", "view", "all", "records", "in", "ModelAdmin"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardModelAdminPanel.php#L146-L151", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardModelAdminPanel.php", "func_name": "DashboardModelAdminPanel.ModelAdminItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the records in this ModelAdmin summary. Provides edit links and a title label\n\n@return ArrayList", "docstring_tokens": ["Gets", "the", "records", "in", "this", "ModelAdmin", "summary", ".", "Provides", "edit", "links", "and", "a", "title", "label"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardModelAdminPanel.php#L234-L260", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardModelAdminPanel.php", "func_name": "DashboardModelAdmin_PanelRequest.modelsforpanel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a requested ModelAdmin subclass, get the managed models and provide a JSON response\n\n@param SS_HTTPRequest The request object\n@return string", "docstring_tokens": ["Given", "a", "requested", "ModelAdmin", "subclass", "get", "the", "managed", "models", "and", "provide", "a", "JSON", "response"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardModelAdminPanel.php#L300-L303", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard.providePermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides custom permissions to the Security section\n\n@return array", "docstring_tokens": ["Provides", "custom", "permissions", "to", "the", "Security", "section"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L65-L101", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A controller action that handles the reordering of the panels\n\n@param SS_HTTPRequest The current request\n@return SS_HTTPResponse", "docstring_tokens": ["A", "controller", "action", "that", "handles", "the", "reordering", "of", "the", "panels"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L148-L159", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard.setdefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A controller action that handles setting the default dashboard configuration\n\n@param SS_HTTPRequest The current request\n@return SS_HTTPResponse", "docstring_tokens": ["A", "controller", "action", "that", "handles", "setting", "the", "default", "dashboard", "configuration"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L170-L181", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard.applytoall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A controller action that handles the application of a dashboard configuration to all members\n\n@param SS_HTTPRequest The current request\n@return SS_HTTPResponse", "docstring_tokens": ["A", "controller", "action", "that", "handles", "the", "application", "of", "a", "dashboard", "configuration", "to", "all", "members"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L192-L205", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard_PanelRequest.panel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the panel in this request\n\n@param SS_HTTPRequest\n@return SSViewer", "docstring_tokens": ["Renders", "the", "panel", "in", "this", "request"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L376-L381", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard_PanelRequest.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delets the panel in this request\n\n@param SS_HTTPRequest\n@return SS_HTTPResponse", "docstring_tokens": ["Delets", "the", "panel", "in", "this", "request"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L391-L396", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard_PanelRequest.ConfigureForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the configuration form for this panel and handles the form input\n\n@return Form", "docstring_tokens": ["Gets", "the", "configuration", "form", "for", "this", "panel", "and", "handles", "the", "form", "input"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L405-L422", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/Dashboard.php", "func_name": "Dashboard_PanelRequest.saveConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the form input and writes the panel\n\n@param array The raw POST data from the form\n@param Form The ConfigurationForm\n@return SS_HTTPResponse", "docstring_tokens": ["Processes", "the", "form", "input", "and", "writes", "the", "panel"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/Dashboard.php#L434-L438", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardSectionEditorPanel.php", "func_name": "DashboardSectionEditorPanel.Icon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the icon for the panel. Use the icon of the subject page when possible, otherwise\nfall back on a default icon.\n\n@return string", "docstring_tokens": ["Gets", "the", "icon", "for", "the", "panel", ".", "Use", "the", "icon", "of", "the", "subject", "page", "when", "possible", "otherwise", "fall", "back", "on", "a", "default", "icon", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardSectionEditorPanel.php#L49-L60", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.seconds_to_minutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A factory method that converts seconds to minutes. GA works in seconds.\n\n@param int The number of seconds\n@return string A human readable time value of minutes:seconds", "docstring_tokens": ["A", "factory", "method", "that", "converts", "seconds", "to", "minutes", ".", "GA", "works", "in", "seconds", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L49-L56", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.api", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the GAPI object. Creates if necessary.\n\n@return gapi", "docstring_tokens": ["Gets", "the", "GAPI", "object", ".", "Creates", "if", "necessary", "."], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L105-L120", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.getConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the configuration FieldList for this panel\n\n@return FieldList", "docstring_tokens": ["Gets", "the", "configuration", "FieldList", "for", "this", "panel"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L129-L166", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.IsConfigured", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A template access to determine if the credentials have been entered\n\n@return bool", "docstring_tokens": ["A", "template", "access", "to", "determine", "if", "the", "credentials", "have", "been", "entered"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L228-L237", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the path to the subject page of the analytics. Can be a native SiteTree object or a custom path\n\n@return string", "docstring_tokens": ["Gets", "the", "path", "to", "the", "subject", "page", "of", "the", "analytics", ".", "Can", "be", "a", "native", "SiteTree", "object", "or", "a", "custom", "path"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L271-L278", "partition": "test"} +{"repo": "unclecheese/silverstripe-dashboard", "path": "code/panels/DashboardGoogleAnalyticsPanel.php", "func_name": "DashboardGoogleAnalyticsPanel.ChartTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the title of the chart. A composite of date range and path\n\n@return string", "docstring_tokens": ["Gets", "the", "title", "of", "the", "chart", ".", "A", "composite", "of", "date", "range", "and", "path"], "sha": "d8029a9c3b0f857acaa644ca93ff0188f100f7bc", "url": "https://github.com/unclecheese/silverstripe-dashboard/blob/d8029a9c3b0f857acaa644ca93ff0188f100f7bc/code/panels/DashboardGoogleAnalyticsPanel.php#L302-L314", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Single.php", "func_name": "Single.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a 4-bytes floating-point\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param null $length\n\n@return float\n@throws \\OutOfBoundsException", "docstring_tokens": ["Returns", "a", "4", "-", "bytes", "floating", "-", "point"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Single.php#L18-L39", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Byte.php", "func_name": "Byte.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an variable number of bytes\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param int|null $length\n@return string\n@throws \\OutOfBoundsException\n@throws InvalidDataException", "docstring_tokens": ["Returns", "an", "variable", "number", "of", "bytes"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Byte.php#L19-L34", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Endian.php", "func_name": "Endian.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the endianess of a number from big to little or vise-versa\n\n@param int $value\n@return int", "docstring_tokens": ["Converts", "the", "endianess", "of", "a", "number", "from", "big", "to", "little", "or", "vise", "-", "versa"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Endian.php#L18-L30", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Bit.php", "func_name": "Bit.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an unsigned integer from the bit level\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param int $length\n@throws \\OutOfBoundsException\n@throws InvalidDataException\n@return int", "docstring_tokens": ["Returns", "an", "unsigned", "integer", "from", "the", "bit", "level"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Bit.php#L25-L87", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Bit.php", "func_name": "Bit.readSigned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a signed integer from the bit level\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param int $length\n@return int", "docstring_tokens": ["Returns", "a", "signed", "integer", "from", "the", "bit", "level"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Bit.php#L96-L103", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Int16.php", "func_name": "Int16.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Unsigned 16-bit Integer\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param null $length\n@return int\n@throws \\OutOfBoundsException", "docstring_tokens": ["Returns", "an", "Unsigned", "16", "-", "bit", "Integer"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Int16.php#L29-L46", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Int16.php", "func_name": "Int16.readSigned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Signed 16-bit Integer\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@return int", "docstring_tokens": ["Returns", "a", "Signed", "16", "-", "bit", "Integer"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Int16.php#L54-L70", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Int64.php", "func_name": "Int64.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Unsigned 64-bit Integer\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@param null $length\n@return int\n@throws \\OutOfBoundsException", "docstring_tokens": ["Returns", "an", "Unsigned", "64", "-", "bit", "Integer"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Int64.php#L29-L53", "partition": "test"} +{"repo": "mdurrant/php-binary-reader", "path": "src/Type/Int64.php", "func_name": "Int64.readSigned", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Signed 64-Bit Integer\n\n@param \\PhpBinaryReader\\BinaryReader $br\n@return int", "docstring_tokens": ["Returns", "a", "Signed", "64", "-", "Bit", "Integer"], "sha": "8901cbf62745943a89fcecb21bdbf33e6c75e491", "url": "https://github.com/mdurrant/php-binary-reader/blob/8901cbf62745943a89fcecb21bdbf33e6c75e491/src/Type/Int64.php#L61-L69", "partition": "test"} +{"repo": "census-ecosystem/opencensus-php-exporter-stackdriver", "path": "src/StackdriverExporter.php", "func_name": "StackdriverExporter.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Report the provided Trace to a backend.\n\n@param SpanData[] $spans\n@return bool", "docstring_tokens": ["Report", "the", "provided", "Trace", "to", "a", "backend", "."], "sha": "06269cf260594a71ed4c30be419d4f375bddd11c", "url": "https://github.com/census-ecosystem/opencensus-php-exporter-stackdriver/blob/06269cf260594a71ed4c30be419d4f375bddd11c/src/StackdriverExporter.php#L113-L135", "partition": "test"} +{"repo": "census-ecosystem/opencensus-php-exporter-stackdriver", "path": "src/StackdriverExporter.php", "func_name": "StackdriverExporter.getCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array representation of a callback which will be used to write\nbatch items.\n\n@return array", "docstring_tokens": ["Returns", "an", "array", "representation", "of", "a", "callback", "which", "will", "be", "used", "to", "write", "batch", "items", "."], "sha": "06269cf260594a71ed4c30be419d4f375bddd11c", "url": "https://github.com/census-ecosystem/opencensus-php-exporter-stackdriver/blob/06269cf260594a71ed4c30be419d4f375bddd11c/src/StackdriverExporter.php#L143-L150", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerRobotsTxtParser.class.php", "func_name": "PHPCrawlerRobotsTxtParser.parseRobotsTxt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the robots.txt-file related to the given URL and returns regular-expression-rules\ncorresponding to the containing \"disallow\"-rules that are adressed to the given user-agent.\n\n@param PHPCrawlerURLDescriptor $Url The URL\n@param string $user_agent_string User-agent.\n\n@return array Numeric array containing regular-expressions for each \"disallow\"-rule defined in the robots.txt-file\nthat's adressed to the given user-agent.", "docstring_tokens": ["Parses", "the", "robots", ".", "txt", "-", "file", "related", "to", "the", "given", "URL", "and", "returns", "regular", "-", "expression", "-", "rules", "corresponding", "to", "the", "containing", "disallow", "-", "rules", "that", "are", "adressed", "to", "the", "given", "user", "-", "agent", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerRobotsTxtParser.class.php#L34-L59", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerRobotsTxtParser.class.php", "func_name": "PHPCrawlerRobotsTxtParser.getApplyingLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function returns all RAW lines in the given robots.txt-content that apply to\nthe given useragent-string.\n\n@return array Numeric array with found lines", "docstring_tokens": ["Function", "returns", "all", "RAW", "lines", "in", "the", "given", "robots", ".", "txt", "-", "content", "that", "apply", "to", "the", "given", "useragent", "-", "string", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerRobotsTxtParser.class.php#L67-L140", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerRobotsTxtParser.class.php", "func_name": "PHPCrawlerRobotsTxtParser.buildRegExpressions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array containig regular-expressions corresponding\nto the given robots.txt-style \"Disallow\"-lines\n\n@param array &$applying_lines Numeric array containing \"disallow\"-lines.\n@param string $base_url Base-URL the robots.txt-file was found in.\n\n@return array Numeric array containing regular-expresseions created for each \"disallow\"-line.", "docstring_tokens": ["Returns", "an", "array", "containig", "regular", "-", "expressions", "corresponding", "to", "the", "given", "robots", ".", "txt", "-", "style", "Disallow", "-", "lines"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerRobotsTxtParser.class.php#L151-L186", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerRobotsTxtParser.class.php", "func_name": "PHPCrawlerRobotsTxtParser.getRobotsTxtContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retreives the content of a robots.txt-file\n\n@param PHPCrawlerURLDescriptor $Url The URL of the robots.txt-file\n@return string The content of the robots.txt or NULL if no robots.txt was found.", "docstring_tokens": ["Retreives", "the", "content", "of", "a", "robots", ".", "txt", "-", "file"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerRobotsTxtParser.class.php#L194-L210", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerRobotsTxtParser.class.php", "func_name": "PHPCrawlerRobotsTxtParser.getRobotsTxtURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Robots.txt-URL related to the given URL\n\n@param PHPCrawlerURLDescriptor $Url The URL as PHPCrawlerURLDescriptor-object\n@return PHPCrawlerURLDescriptor Url of the related to the passed URL.", "docstring_tokens": ["Returns", "the", "Robots", ".", "txt", "-", "URL", "related", "to", "the", "given", "URL"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerRobotsTxtParser.class.php#L218-L224", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.initCrawlerProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initiates a crawler-process", "docstring_tokens": ["Initiates", "a", "crawler", "-", "process"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L273-L314", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.goMultiProcessed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the cralwer by using multi processes.\n\nWhen using this method instead of the {@link go()}-method to start the crawler, phpcrawl will use the given\nnumber of processes simultaneously for spidering the target-url.\nUsing multi processes will speed up the crawling-progress dramatically in most cases.\n\nThere are some requirements though to successfully run the cralwler in multi-process mode:\n
    \n
  • The multi-process mode only works on unix-based systems (linux)
  • \n
  • Scripts using the crawler have to be run from the commandline (cli)
  • \n
  • The PCNTL-extension for php (process control) has to be installed and activated.
  • \n
  • The SEMAPHORE-extension for php has to be installed and activated.
  • \n
  • The POSIX-extension for php has to be installed and activated.
  • \n
  • The PDO-extension together with the SQLite-driver (PDO_SQLITE) has to be installed and activated.
  • \n
\n\nPHPCrawls supports two different modes of multiprocessing:\n
    \n
  1. {@link PHPCrawlerMultiProcessModes}::MPMODE_PARENT_EXECUTES_USERCODE\n\nThe cralwer uses multi processes simultaneously for spidering the target URL, but the usercode provided to\nthe overridable function {@link handleDocumentInfo()} gets always executed on the same main-process. This\nmeans that the usercode never gets executed simultaneously and so you dont't have to care about\nconcurrent file/database/handle-accesses or smimilar things.\nBut on the other side the usercode may slow down the crawling-procedure because every child-process has to\nwait until the usercode got executed on the main-process. This ist the recommended multiprocess-mode!\n
  2. \n
  3. {@link PHPCrawlerMultiProcessModes}::MPMODE_CHILDS_EXECUTES_USERCODE\n\nThe cralwer uses multi processes simultaneously for spidering the target URL, and every chld-process executes\nthe usercode provided to the overridable function {@link handleDocumentInfo()} directly from it's process. This\nmeans that the usercode gets executed simultaneously by the different child-processes and you should\ntake care of concurrent file/data/handle-accesses proberbly (if used).\n\nWhen using this mode and you use any handles like database-connections or filestreams in your extended\ncrawler-class, you should open them within the overridden mehtod {@link initChildProcess()} instead of opening\nthem from the constructor. For more details see the documentation of the {@link initChildProcess()}-method.\n
  4. \n
\n\nExample for starting the crawler with 5 processes using the recommended MPMODE_PARENT_EXECUTES_USERCODE-mode:\n\n$crawler->goMultiProcessed(5, PHPCrawlerMultiProcessModes::MPMODE_PARENT_EXECUTES_USERCODE);\n\n\nPlease note that increasing the number of processes to high values does't automatically mean that the crawling-process\nwill go off faster! Using 3 to 5 processes should be good values to start from.\n\n@param int $process_count Number of processes to use\n@param int $multiprocess_mode The multiprocess-mode to use.\nOne of the {@link PHPCrawlerMultiProcessModes}-constants\n@section 1 Basic settings", "docstring_tokens": ["Starts", "the", "cralwer", "by", "using", "multi", "processes", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L387-L470", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.startChildProcessLoop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the loop of a child-process.", "docstring_tokens": ["Starts", "the", "loop", "of", "a", "child", "-", "process", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L530-L593", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.checkForAbort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the crawling-process should be aborted.\n\n@return int NULL if the process shouldn't be aborted yet, otherwise one of the PHPCrawlerAbortReasons::ABORTREASON-constants.", "docstring_tokens": ["Checks", "if", "the", "crawling", "-", "process", "should", "be", "aborted", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L730-L770", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.createWorkingDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the working-directory for this instance of the cralwer.", "docstring_tokens": ["Creates", "the", "working", "-", "directory", "for", "this", "instance", "of", "the", "cralwer", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L775-L790", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.getProcessReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retruns summarizing report-information about the crawling-process after it has finished.\n\n@return PHPCrawlerProcessReport PHPCrawlerProcessReport-object containing process-summary-information\n@section 1 Basic settings", "docstring_tokens": ["Retruns", "summarizing", "report", "-", "information", "about", "the", "crawling", "-", "process", "after", "it", "has", "finished", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L814-L847", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.addLinkPriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a regular expression togehter with a priority-level to the list of rules that decide what links should be prefered.\n\nLinks/URLs that match an expression with a high priority-level will be followed before links with a lower level.\nAll links that don't match with any of the given rules will get the level 0 (lowest level) automatically.\n\nThe level can be any positive integer.\n\nExample:\n\nTelling the crawler to follow links that contain the string \"forum\" before links that contain \".gif\" before all other found links.\n\n$crawler->addLinkPriority(\"/forum/\", 10);\n$cralwer->addLinkPriority(\"/\\.gif/\", 5);\n\n\n@param string $regex Regular expression definig the rule\n@param int $level The priority-level\n\n@return bool TRUE if a valid preg-pattern is given as argument and was succsessfully added, otherwise it returns FALSE.\n@section 10 Other settings", "docstring_tokens": ["Adds", "a", "regular", "expression", "togehter", "with", "a", "priority", "-", "level", "to", "the", "list", "of", "rules", "that", "decide", "what", "links", "should", "be", "prefered", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1073-L1085", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setFollowMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the basic follow-mode of the crawler.\n\nThe following list explains the supported follow-modes:\n\n0 - The crawler will follow EVERY link, even if the link leads to a different host or domain.\nIf you choose this mode, you really should set a limit to the crawling-process (see limit-options),\notherwise the crawler maybe will crawl the whole WWW!\n\n1 - The crawler only follow links that lead to the same domain like the one in the root-url.\nE.g. if the root-url (setURL()) is \"http://www.foo.com\", the crawler will follow links to \"http://www.foo.com/...\"\nand \"http://bar.foo.com/...\", but not to \"http://www.another-domain.com/...\".\n\n2 - The crawler will only follow links that lead to the same host like the one in the root-url.\nE.g. if the root-url (setURL()) is \"http://www.foo.com\", the crawler will ONLY follow links to \"http://www.foo.com/...\", but not\nto \"http://bar.foo.com/...\" and \"http://www.another-domain.com/...\". This is the default mode.\n\n3 - The crawler only follows links to pages or files located in or under the same path like the one of the root-url.\nE.g. if the root-url is \"http://www.foo.com/bar/index.html\", the crawler will follow links to \"http://www.foo.com/bar/page.html\" and\n\"http://www.foo.com/bar/path/index.html\", but not links to \"http://www.foo.com/page.html\".\n\n@param int $follow_mode The basic follow-mode for the crawling-process (0, 1, 2 or 3).\n@return bool\n\n@section 1 Basic settings", "docstring_tokens": ["Sets", "the", "basic", "follow", "-", "mode", "of", "the", "crawler", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1148-L1155", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setTrafficLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a limit to the number of bytes the crawler should receive alltogether during crawling-process.\n\nIf the limit is reached, the crawler stops the crawling-process.\nThe default-value is 0 (no limit).\n\n@param int $bytes Maximum number of bytes\n@param bool $complete_requested_files This parameter has no function anymore!\n\n@return bool\n@section 5 Limit-settings", "docstring_tokens": ["Sets", "a", "limit", "to", "the", "number", "of", "bytes", "the", "crawler", "should", "receive", "alltogether", "during", "crawling", "-", "process", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1419-L1427", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setWorkingDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the working-directory the crawler should use for storing temporary data.\n\nEvery instance of the crawler needs and creates a temporary directory for storing some\ninternal data.\n\nThis setting defines which base-directory the crawler will use to store the temporary\ndirectories in. By default, the crawler uses the systems temp-directory as working-directory.\n(i.e. \"/tmp/\" on linux-systems)\n\nAll temporary directories created in the working-directory will be deleted automatically\nafter a crawling-process has finished.\n\nNOTE: To speed up the performance of a crawling-process (especially when using the\nSQLite-urlcache), try to set a mounted shared-memory device as working-direcotry\n(i.e. \"/dev/shm/\" on Debian/Ubuntu-systems).\n\nExample:\n\n$crawler->setWorkingDirectory(\"/tmp/\");\n\n\n@param string $directory The working-directory\n@return bool TRUE on success, otherwise false.\n@section 1 Basic settings", "docstring_tokens": ["Sets", "the", "working", "-", "directory", "the", "crawler", "should", "use", "for", "storing", "temporary", "data", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1604-L1612", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assigns a proxy-server the crawler should use for all HTTP-Requests.\n\n@param string $proxy_host Hostname or IP of the proxy-server\n@param int $proxy_port Port of the proxy-server\n@param string $proxy_username Optional. The username for proxy-authentication or NULL if no authentication is required.\n@param string $proxy_password Optional. The password for proxy-authentication or NULL if no authentication is required.\n\n@section 10 Other settings", "docstring_tokens": ["Assigns", "a", "proxy", "-", "server", "the", "crawler", "should", "use", "for", "all", "HTTP", "-", "Requests", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1624-L1627", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setConnectionTimeout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the timeout in seconds for connection tries to hosting webservers.\n\nIf the the connection to a host can't be established within the given time, the\nrequest will be aborted.\n\n@param int $timeout The timeout in seconds, the default-value is 5 seconds.\n@return bool\n\n@section 10 Other settings", "docstring_tokens": ["Sets", "the", "timeout", "in", "seconds", "for", "connection", "tries", "to", "hosting", "webservers", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1640-L1651", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.setStreamTimeout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the timeout in seconds for waiting for data on an established server-connection.\n\nIf the connection to a server was be etablished but the server doesnt't send data anymore without\nclosing the connection, the crawler will wait the time given in timeout and then close the connection.\n\n@param int $timeout The timeout in seconds, the default-value is 2 seconds.\n@return bool\n\n@section 10 Other settings", "docstring_tokens": ["Sets", "the", "timeout", "in", "seconds", "for", "waiting", "for", "data", "on", "an", "established", "server", "-", "connection", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1664-L1675", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawler.class.php", "func_name": "PHPCrawler.resume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resumes the crawling-process with the given crawler-ID\n\nIf a crawling-process was aborted (for whatever reasons), it is possible\nto resume it by calling the resume()-method before calling the go() or goMultiProcessed() method\nand passing the crawler-ID of the aborted process to it (as returned by {@link getCrawlerId()}).\n\nIn order to be able to resume a process, it is necessary that it was initially\nstarted with resumption enabled (by calling the {@link enableResumption()} method).\n\nThis method throws an exception if resuming of a crawling-process failed.\n\n\nExample of a resumeable crawler-script:\n\n// ...\n$crawler = new MyCrawler();\n$crawler->enableResumption();\n$crawler->setURL(\"www.url123.com\");\n\n// If process was started the first time:\n// Get the crawler-ID and store it somewhere in order to be able to resume the process later on\nif (!file_exists(\"/tmp/crawlerid_for_url123.tmp\"))\n{\n$crawler_id = $crawler->getCrawlerId();\nfile_put_contents(\"/tmp/crawlerid_for_url123.tmp\", $crawler_id);\n}\n\n// If process was restarted again (after a termination):\n// Read the crawler-id and resume the process\nelse\n{\n$crawler_id = file_get_contents(\"/tmp/crawlerid_for_url123.tmp\");\n$crawler->resume($crawler_id);\n}\n\n// ...\n\n// Start your crawling process\n$crawler->goMultiProcessed(5);\n\n// After the process is finished completely: Delete the crawler-ID\nunlink(\"/tmp/crawlerid_for_url123.tmp\");\n\n\n@param int $crawler_id The crawler-ID of the crawling-process that should be resumed.\n(see {@link getCrawlerId()})\n@section 9 Process resumption", "docstring_tokens": ["Resumes", "the", "crawling", "-", "process", "with", "the", "given", "crawler", "-", "ID"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawler.class.php#L1846-L1863", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerURLFilter.class.php", "func_name": "PHPCrawlerURLFilter.setBaseURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the base-URL of the crawling process some rules relate to\n\n@param string $starting_url The URL the crawling-process was started with.", "docstring_tokens": ["Sets", "the", "base", "-", "URL", "of", "the", "crawling", "process", "some", "rules", "relate", "to"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerURLFilter.class.php#L69-L75", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerURLFilter.class.php", "func_name": "PHPCrawlerURLFilter.keepRedirectUrls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters out all non-redirect-URLs from the URLs given in the PHPCrawlerDocumentInfo-object\n\n@param PHPCrawlerDocumentInfo $DocumentInfo PHPCrawlerDocumentInfo-object containing all found links of the current document.", "docstring_tokens": ["Filters", "out", "all", "non", "-", "redirect", "-", "URLs", "from", "the", "URLs", "given", "in", "the", "PHPCrawlerDocumentInfo", "-", "object"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerURLFilter.class.php#L107-L117", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerURLFilter.class.php", "func_name": "PHPCrawlerURLFilter.urlMatchesRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a given URL matches the rules.\n\n@param string $url The URL as a PHPCrawlerURLDescriptor-object\n@return bool TRUE if the URL matches the defined rules.", "docstring_tokens": ["Checks", "whether", "a", "given", "URL", "matches", "the", "rules", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerURLFilter.class.php#L125-L201", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerURLFilter.class.php", "func_name": "PHPCrawlerURLFilter.addURLFilterRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a rule to the list of rules that decide which URLs found on a page should be ignored by the crawler.", "docstring_tokens": ["Adds", "a", "rule", "to", "the", "list", "of", "rules", "that", "decide", "which", "URLs", "found", "on", "a", "page", "should", "be", "ignored", "by", "the", "crawler", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerURLFilter.class.php#L217-L226", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerURLFilter.class.php", "func_name": "PHPCrawlerURLFilter.addURLFilterRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a bunch of rules to the list of rules that decide which URLs found on a page should be ignored by the crawler.", "docstring_tokens": ["Adds", "a", "bunch", "of", "rules", "to", "the", "list", "of", "rules", "that", "decide", "which", "URLs", "found", "on", "a", "page", "should", "be", "ignored", "by", "the", "crawler", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerURLFilter.class.php#L231-L238", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php", "func_name": "PHPCrawlerSQLiteURLCache.markUrlAsFollowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks the given URL in the cache as \"followed\"\n\n@param PHPCrawlerURLDescriptor $UrlDescriptor", "docstring_tokens": ["Marks", "the", "given", "URL", "in", "the", "cache", "as", "followed"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php#L166-L172", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php", "func_name": "PHPCrawlerSQLiteURLCache.containsURLs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether there are URLs left in the cache that should be processed or not.\n\n@return bool", "docstring_tokens": ["Checks", "whether", "there", "are", "URLs", "left", "in", "the", "cache", "that", "should", "be", "processed", "or", "not", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerSQLiteURLCache.class.php#L179-L196", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerMemoryURLCache.class.php", "func_name": "PHPCrawlerMemoryURLCache.getAllURLs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all URLs currently cached in the URL-cache.\n\n@return array Numeric array containing all URLs as PHPCrawlerURLDescriptor-objects", "docstring_tokens": ["Returns", "all", "URLs", "currently", "cached", "in", "the", "URL", "-", "cache", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerMemoryURLCache.class.php#L45-L60", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerMemoryURLCache.class.php", "func_name": "PHPCrawlerMemoryURLCache.addURLs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an bunch of URLs to the url-cache\n\n@param array $urls A numeric array containing the URLs as PHPCrawlerURLDescriptor-objects", "docstring_tokens": ["Adds", "an", "bunch", "of", "URLs", "to", "the", "url", "-", "cache"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerMemoryURLCache.class.php#L103-L117", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerBenchmark.class.php", "func_name": "PHPCrawlerBenchmark.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the clock for the given benchmark.\n\n@param string $identifie The benchmark name/identifier.\n@param bool $temporary_benchmark If set to TRUE, the benchmark will not be returned by methods\nlike getAllBenchmarks() and printAllBenchmarks()", "docstring_tokens": ["Starts", "the", "clock", "for", "the", "given", "benchmark", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerBenchmark.class.php#L30-L42", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerBenchmark.class.php", "func_name": "PHPCrawlerBenchmark.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops the benchmark-clock for the given benchmark.\n\n@param string The benchmark name/identifier.", "docstring_tokens": ["Stops", "the", "benchmark", "-", "clock", "for", "the", "given", "benchmark", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerBenchmark.class.php#L54-L63", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerBenchmark.class.php", "func_name": "PHPCrawlerBenchmark.resetAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets all clocks for all benchmarks.\n\n@param array $retain_benachmarks Optional. Numeric array containing benchmark-identifiers that should NOT get resetted.", "docstring_tokens": ["Resets", "all", "clocks", "for", "all", "benchmarks", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerBenchmark.class.php#L95-L113", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerBenchmark.class.php", "func_name": "PHPCrawlerBenchmark.getAllBenchmarks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all registered benchmark-results.\n\n@return array associative Array. The keys are the benchmark-identifiers, the values the benchmark-times.", "docstring_tokens": ["Returns", "all", "registered", "benchmark", "-", "results", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerBenchmark.class.php#L129-L140", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerBenchmark.class.php", "func_name": "PHPCrawlerBenchmark.getmicrotime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current time in seconds and milliseconds.\n\n@return float", "docstring_tokens": ["Returns", "the", "current", "time", "in", "seconds", "and", "milliseconds", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerBenchmark.class.php#L147-L151", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/CookieCache/PHPCrawlerSQLiteCookieCache.class.php", "func_name": "PHPCrawlerSQLiteCookieCache.openConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the sqlite-db-file and opens connection to it.\n\n@param bool $create_tables Defines whether all necessary tables should be created", "docstring_tokens": ["Creates", "the", "sqlite", "-", "db", "-", "file", "and", "opens", "connection", "to", "it", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/CookieCache/PHPCrawlerSQLiteCookieCache.class.php#L117-L158", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerURLCacheBase.class.php", "func_name": "PHPCrawlerURLCacheBase.getDistinctURLHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the distinct-hash for the given URL that ensures that no URLs a cached more than one time.\n\n@return string The hash or NULL if no distinct-hash should be used.", "docstring_tokens": ["Returns", "the", "distinct", "-", "hash", "for", "the", "given", "URL", "that", "ensures", "that", "no", "URLs", "a", "cached", "more", "than", "one", "time", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerURLCacheBase.class.php#L85-L93", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerURLCacheBase.class.php", "func_name": "PHPCrawlerURLCacheBase.getUrlPriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the priority-level of the given URL", "docstring_tokens": ["Gets", "the", "priority", "-", "level", "of", "the", "given", "URL"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerURLCacheBase.class.php#L98-L110", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerURLCacheBase.class.php", "func_name": "PHPCrawlerURLCacheBase.addLinkPriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a Link-Priority-Level\n\n@param string $regex\n@param int $level", "docstring_tokens": ["Adds", "a", "Link", "-", "Priority", "-", "Level"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerURLCacheBase.class.php#L118-L126", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/UrlCache/PHPCrawlerURLCacheBase.class.php", "func_name": "PHPCrawlerURLCacheBase.addLinkPriorities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a bunch of link-priorities\n\n@param array $priority_array Numeric array containing the subkeys \"match\" and \"level\"", "docstring_tokens": ["Adds", "a", "bunch", "of", "link", "-", "priorities"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/UrlCache/PHPCrawlerURLCacheBase.class.php#L133-L139", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerDocumentInfoQueue.class.php", "func_name": "PHPCrawlerDocumentInfoQueue.addDocumentInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a PHPCrawlerDocumentInfo-object to the queue", "docstring_tokens": ["Adds", "a", "PHPCrawlerDocumentInfo", "-", "object", "to", "the", "queue"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerDocumentInfoQueue.class.php#L48-L65", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerDocumentInfoQueue.class.php", "func_name": "PHPCrawlerDocumentInfoQueue.getNextDocumentInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a PHPCrawlerDocumentInfo-object from the queue", "docstring_tokens": ["Returns", "a", "PHPCrawlerDocumentInfo", "-", "object", "from", "the", "queue"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerDocumentInfoQueue.class.php#L70-L90", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerUrlPartsDescriptor.class.php", "func_name": "PHPCrawlerUrlPartsDescriptor.fromURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the PHPCrawlerUrlPartsDescriptor-object for the given URL.\n\n@return PHPCrawlerUrlPartsDescriptor", "docstring_tokens": ["Returns", "the", "PHPCrawlerUrlPartsDescriptor", "-", "object", "for", "the", "given", "URL", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerUrlPartsDescriptor.class.php#L31-L47", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerLinkFinder.class.php", "func_name": "PHPCrawlerLinkFinder.setSourceUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the source-URL of the document to find links in\n\n@param PHPCrawlerURLDescriptor $SourceUrl", "docstring_tokens": ["Sets", "the", "source", "-", "URL", "of", "the", "document", "to", "find", "links", "in"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerLinkFinder.class.php#L78-L82", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerLinkFinder.class.php", "func_name": "PHPCrawlerLinkFinder.findRedirectLinkInHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for a redirect-URL in the given http-header and adds it to the internal link-cache.", "docstring_tokens": ["Checks", "for", "a", "redirect", "-", "URL", "in", "the", "given", "http", "-", "header", "and", "adds", "it", "to", "the", "internal", "link", "-", "cache", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerLinkFinder.class.php#L109-L129", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerUserSendDataCache.class.php", "func_name": "PHPCrawlerUserSendDataCache.addPostData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds post-data together with an URL-regex to the list of post-data to send with requests.\n\n@param string $url_regex Regular expression defining the URL(s) the post-data should be send to.\n@param array $post_data_array Post-data-array, the keys are the post-data-keys, the values the post-values.\n(like array(\"key1\" => \"value1\", \"key2\" => \"value2\")", "docstring_tokens": ["Adds", "post", "-", "data", "together", "with", "an", "URL", "-", "regex", "to", "the", "list", "of", "post", "-", "data", "to", "send", "with", "requests", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerUserSendDataCache.class.php#L32-L54", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php", "func_name": "PHPCrawlerProcessCommunication.updateCrawlerStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the status of the crawler\n\n@param PHPCrawlerDocumentInfo $PageInfo The PHPCrawlerDocumentInfo-object of the last received document\nor NULL if no document was received.\n@param int $abort_reason One of the PHPCrawlerAbortReasons::ABORTREASON-constants if the crawling-process\nshould get aborted, otherwise NULL\n@param string $first_content_url The first URL some content was found in (or NULL if no content was found so far).", "docstring_tokens": ["Updates", "the", "status", "of", "the", "crawler"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php#L85-L128", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php", "func_name": "PHPCrawlerProcessCommunication.registerChildPID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the PID of a child-process\n\n@param int The IPD", "docstring_tokens": ["Registers", "the", "PID", "of", "a", "child", "-", "process"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php#L135-L143", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php", "func_name": "PHPCrawlerProcessCommunication.getChildPIDs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns alls PIDs of all running child-processes\n\n@param int $process_count If set, this function tries to get the child-PIDs until the gievn number of PIDs\nwas determinated.\n@return array Numeric array conatining the PIDs", "docstring_tokens": ["Returns", "alls", "PIDs", "of", "all", "running", "child", "-", "processes"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php#L152-L173", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php", "func_name": "PHPCrawlerProcessCommunication.killChildProcesses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kills all running child-processes", "docstring_tokens": ["Kills", "all", "running", "child", "-", "processes"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/ProcessCommunication/PHPCrawlerProcessCommunication.class.php#L178-L185", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerDNSCache.class.php", "func_name": "PHPCrawlerDNSCache.getIP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the IP for the given hostname.\n\n@return string The IP-address.", "docstring_tokens": ["Returns", "the", "IP", "for", "the", "given", "hostname", "."], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerDNSCache.class.php#L26-L41", "partition": "test"} +{"repo": "sminnee/phpcrawl", "path": "libs/PHPCrawlerDNSCache.class.php", "func_name": "PHPCrawlerDNSCache.urlHostInCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the hostname of the given URL is already cached\n\n@param PHPCrawlerURLDescriptor $URL The URL\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "hostname", "of", "the", "given", "URL", "is", "already", "cached"], "sha": "025c2ce86e5056c09de5a0eb4d76e8cf775dae36", "url": "https://github.com/sminnee/phpcrawl/blob/025c2ce86e5056c09de5a0eb4d76e8cf775dae36/libs/PHPCrawlerDNSCache.class.php#L61-L65", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Traversal/ExpressionTraverser.php", "func_name": "ExpressionTraverser.removeVisitor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a visitor from the traverser.\n\nIf the visitor was added multiple times, all instances are removed.\n\n@param ExpressionVisitor $visitor The visitor to remove.", "docstring_tokens": ["Removes", "a", "visitor", "from", "the", "traverser", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Traversal/ExpressionTraverser.php#L56-L63", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Traversal/ExpressionTraverser.php", "func_name": "ExpressionTraverser.traverse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Traverses an expression.\n\n@param Expression $expr The expression to traverse.\n\n@return Expression The modified expression. May be `null` if the\nexpression was removed entirely.", "docstring_tokens": ["Traverses", "an", "expression", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Traversal/ExpressionTraverser.php#L83-L96", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Expr.php", "func_name": "Expr.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter a collection for entries matching the expression.\n\n@param array|ArrayAccess|Traversable $collection An array or an object\nimplementing Traversable\nand ArrayAccess.\n@param Expression $expr The expression to\nevaluate for each entry.\n\n@return array|ArrayAccess|Traversable The filtered collection.", "docstring_tokens": ["Filter", "a", "collection", "for", "entries", "matching", "the", "expression", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Expr.php#L99-L121", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Expr.php", "func_name": "Expr.method", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check that the result of a method call matches an expression.\n\n@param string $methodName The name of the method to call.\n@param mixed $args... The method arguments.\n@param Expression $expr The evaluated expression.\n\n@return Method The created expression.", "docstring_tokens": ["Check", "that", "the", "result", "of", "a", "method", "call", "matches", "an", "expression", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Expr.php#L215-L222", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Util/StringUtil.php", "func_name": "StringUtil.formatValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats a value as string.\n\n@param mixed $value The value.\n\n@return string The value as string.", "docstring_tokens": ["Formats", "a", "value", "as", "string", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Util/StringUtil.php#L30-L57", "partition": "test"} +{"repo": "webmozart/expression", "path": "src/Util/StringUtil.php", "func_name": "StringUtil.formatValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats a list of values as strings.\n\n@param array $values The values.\n\n@return array The values as strings.", "docstring_tokens": ["Formats", "a", "list", "of", "values", "as", "strings", "."], "sha": "49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9", "url": "https://github.com/webmozart/expression/blob/49ef2cfe8b04118ad6d7fd9babc142fa7527a4d9/src/Util/StringUtil.php#L66-L73", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Configure.php", "func_name": "Configure.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used to store a dynamic variable in Configure.\n\nUsage:\n```\nConfigure::write('One.key1', 'value of the Configure::One[key1]');\nConfigure::write(['One.key1' => 'value of the Configure::One[key1]']);\nConfigure::write('One', [\n'key1' => 'value of the Configure::One[key1]',\n'key2' => 'value of the Configure::One[key2]'\n]);\n\nConfigure::write([\n'One.key1' => 'value of the Configure::One[key1]',\n'One.key2' => 'value of the Configure::One[key2]'\n]);\n```\n\n@param string|array $config The key to write, can be a dot notation value.\nAlternatively can be an array containing key(s) and value(s).\n@param mixed $value Value to set for var.\n\n@return bool True if write was successful", "docstring_tokens": ["Used", "to", "store", "a", "dynamic", "variable", "in", "Configure", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Configure.php#L72-L92", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Configure.php", "func_name": "Configure.consume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used to read and delete a variable from Configure.\n\n@param string $var The key to read and remove.\n\n@return array|null", "docstring_tokens": ["Used", "to", "read", "and", "delete", "a", "variable", "from", "Configure", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Configure.php#L187-L202", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Configure.php", "func_name": "Configure.configured", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the names of the configured Engine objects.\n\n@param string|null $name Engine name.\n\n@return array Array of the configured Engine objects.", "docstring_tokens": ["Gets", "the", "names", "of", "the", "configured", "Engine", "objects", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Configure.php#L233-L240", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Utility/Hash.php", "func_name": "Hash.expand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Expands a flat array to a nested array.\n\nFor example, unflattens an array that was collapsed with `Hash::flatten()`\ninto a multi-dimensional array. So, `['0.Foo.Bar' => 'Far']` becomes\n`[['Foo' => ['Bar' => 'Far']]]`.\n\n@param array $data Flattened array.\n@param string $separator The delimiter used.\n\n@return array", "docstring_tokens": ["Expands", "a", "flat", "array", "to", "a", "nested", "array", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Utility/Hash.php#L198-L219", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Utility/Hash.php", "func_name": "Hash.splitConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split token conditions.\n\n@param string $token the token being splitted.\n\n@return array [token, conditions] with token splitted", "docstring_tokens": ["Split", "token", "conditions", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Utility/Hash.php#L299-L309", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Utility/Hash.php", "func_name": "Hash.matchToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check a key against a token.\n\n@param string $key The key in the array being searched.\n@param string $token The token being matched.\n\n@return bool", "docstring_tokens": ["Check", "a", "key", "against", "a", "token", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Utility/Hash.php#L319-L332", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Utility/Inflector.php", "func_name": "Inflector.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache inflected values, and return if already available.\n\n@param string $type Inflection type.\n@param string $key Original value.\n@param string|bool $value Inflected value.\n\n@return string|bool Inflected value on cache hit or false on cache miss.", "docstring_tokens": ["Cache", "inflected", "values", "and", "return", "if", "already", "available", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Utility/Inflector.php#L33-L47", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Network/Wrapper.php", "func_name": "Wrapper.setInstances", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the instances to the Wrapper.\n\n@param \\Discord\\Parts\\Channel\\Message $message The messages object.\n@param \\Skinny\\Module\\ModuleManager $moduleManager The ModuleManager object.\n\n@return object Return this Wrapper.", "docstring_tokens": ["Set", "the", "instances", "to", "the", "Wrapper", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Network/Wrapper.php#L55-L70", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Error/Debugger.php", "func_name": "Debugger.trace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs a stack trace based on the supplied options.\n\n### Options\n\n- `depth` - The number of stack frames to return. Defaults to 999\n- `format` - The format you want the return. Defaults to the currently selected format. If\nformat is 'array' or 'points' the return will be an array.\n- `args` - Should arguments for functions be shown? If true, the arguments for each method call\nwill be displayed.\n- `start` - The stack frame to start generating a trace from. Defaults to 0\n\n@param array $options Format for outputting stack trace.\n\n@return mixed Formatted stack trace.", "docstring_tokens": ["Outputs", "a", "stack", "trace", "based", "on", "the", "supplied", "options", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Error/Debugger.php#L79-L142", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Error/Debugger.php", "func_name": "Debugger.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Protected export function used to keep track of indentation and recursion.\n\n@param mixed $var The variable to dump.\n@param int $depth The remaining depth.\n@param int $indent The current indentation level.\n\n@return string The dumped variable.", "docstring_tokens": ["Protected", "export", "function", "used", "to", "keep", "track", "of", "indentation", "and", "recursion", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Error/Debugger.php#L166-L192", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Network/Server.php", "func_name": "Server.listen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the events.\n\n@return void", "docstring_tokens": ["Handle", "the", "events", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Network/Server.php#L50-L88", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Message/Message.php", "func_name": "Message.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the message and return an array with informations about the message.\n\n### Usage\n```\nMessage::parse('!say hi');\n```\nWil return this array:\n```\n[\n'raw' => '!say hi',\n'parts' => [\n(int) 0 => '!say',\n(int) 1 => 'hi'\n],\n'command' => 'say',\n'message' => 'hi',\n'commandCode' => '!',\n'arguments' => [\n(int) 0 => 'hi'\n]\n]\n\n```\n\n@param string $message The message to parse.\n\n@return array The data.", "docstring_tokens": ["Parse", "the", "message", "and", "return", "an", "array", "with", "informations", "about", "the", "message", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Message/Message.php#L40-L76", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Configure/FileConfigTrait.php", "func_name": "FileConfigTrait.getFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get file path\n\n@param string $key The identifier to write to. If the key has a . it will be treated\nas a plugin prefix.\n@param bool $checkExists Whether to check if file exists. Defaults to false.\n\n@return string Full file path\n\n@throws \\Skinny\\Core\\Exception\\Exception When files don't exist or when\nfiles contain '..' as this could lead to abusive reads.", "docstring_tokens": ["Get", "file", "path"], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Configure/FileConfigTrait.php#L40-L65", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Plugin.php", "func_name": "Plugin.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a plugin and optionally loads bootstrap files.\n\n### Examples:\n\n`Plugin::load('Basic')`\n\nWill load the Basic plugin and will not load the bootstrap file.\n\n`Plugin::load('Basic', ['bootstrap' => true])`\n\nWill load the bootstrap.php file.\n\nIt is also possible to load multiple plugins at once. Examples:\n\n`Plugin::load(['Basic', 'Developer'])`\n\nWill load the Basic and Developer plugins.\n\n`Plugin::load(['Basic', 'Developer'], ['bootstrap' => true])`\n\nWill load bootstrap file for both plugins\n\n\n### Configuration options\n\n- `bootstrap` - array - Whether or not you want the $plugin/config/bootstrap.php file loaded.\n- `ignoreMissing` - boolean - Set to true to ignore missing bootstrap files.\n- `path` - string - The path the plugin can be found on. If empty the default plugin path will be used.\n- `classBase` - string - The path relative to `path` which contains the folders with class files.\nDefaults to \"src\".\n\n@param string|array $plugin Name of the plugin to be loaded in CamelCase format or array or plugins to load.\n@param array $config Configuration options for the plugin.\n\n@throws \\Skinny\\Core\\Exception\\MissingPluginException If the folder for the plugin to be loaded is not found.\n\n@return void", "docstring_tokens": ["Loads", "a", "plugin", "and", "optionally", "loads", "bootstrap", "files", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Plugin.php#L68-L117", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Plugin.php", "func_name": "Plugin.loadConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the plugin path configuration file.\n\n@return void", "docstring_tokens": ["Load", "the", "plugin", "path", "configuration", "file", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Plugin.php#L124-L141", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Plugin.php", "func_name": "Plugin.loadAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will load all the plugins located in the default plugin folder.\n\nIf passed an options array, it will be used as a common default for all plugins to be loaded\nIt is possible to set specific defaults for each plugins in the options array. Examples:\n\n```\nPlugin::loadAll([\n['bootstrap' => true],\n'Basic' => ['bootstrap' => false],\n]);\n```\n\nThe above example will load the bootstrap file for all plugins,\nbut for Basic it will not load the bootstrap file.\n\nIf a plugin has been loaded already, it will not be reloaded by loadAll().\n\n@param array $options Options.\n\n@return void", "docstring_tokens": ["Will", "load", "all", "the", "plugins", "located", "in", "the", "default", "plugin", "folder", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Plugin.php#L165-L195", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Plugin.php", "func_name": "Plugin.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the bootstrapping files for a plugin, or calls the initialization setup in the configuration.\n\n@param string $plugin Name of the plugin.\n\n@return mixed\n\n@see \\Skinny\\Core\\Plugin::load() for examples of bootstrap configuration", "docstring_tokens": ["Loads", "the", "bootstrapping", "files", "for", "a", "plugin", "or", "calls", "the", "initialization", "setup", "in", "the", "configuration", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Plugin.php#L261-L273", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Core/Configure/Engine/PhpConfig.php", "func_name": "PhpConfig.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a config file and return its contents.\n\nFiles with `.` in the name will be treated as values in plugins. Instead of\nreading from the initialized path, plugin keys will be located using Plugin::path().\n\n@param string $key The identifier to read from. If the key has a . it will be treated\nas a plugin prefix.\n\n@return array Parsed configuration values.\n\n@throws \\Skinny\\Core\\Exception\\Exception when files don't exist or they don't contain `$config`.\nOr when files contain '..' as this could lead to abusive reads.", "docstring_tokens": ["Read", "a", "config", "file", "and", "return", "its", "contents", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Core/Configure/Engine/PhpConfig.php#L57-L67", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Message/StaticMessageTrait.php", "func_name": "StaticMessageTrait.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method can be used to define configuration.\n\n### Usage\n\nWriting config data:\n\n```\nMessage::config('message', 'hi');\n```\n\nWriting multiple config data at once:\n\n```\nMessage::config(['message' => 'hi', 'commandCode' => '!']);\n```\n\n@param string|array $key The name of the configuration to read, or an array of multiple configs.\n\n@return null\n\n@throws \\InvalidArgumentException If the key is not a string or an array.", "docstring_tokens": ["This", "method", "can", "be", "used", "to", "define", "configuration", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Message/StaticMessageTrait.php#L56-L73", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Message/StaticMessageTrait.php", "func_name": "StaticMessageTrait.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a config variable or all the config.\n\n### Usage\n\nReading config with key:\n\n```\nMessage::read('message');\n```\n\nReading all the config:\n\n```\nMessage::read();\n```\n\n@param string|null The key to read the configuration.\n\n@return mixed", "docstring_tokens": ["Read", "a", "config", "variable", "or", "all", "the", "config", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Message/StaticMessageTrait.php#L96-L103", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.loadModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the list of modules in the DirectoryIterator.\n\nOptions :\n- pathDir : The full path of the Modules directory. Default to MODULE_DIR.\n- plugin : The plugin name or false if no plugin. Default to false.\n\n@param \\DirectoryIterator $files The DirectoryIterator instance.\n@param array $config The configuration options.\n\n@throws \\RuntimeException When the class doesn't implement the ModuleInterface.\n\n@return string", "docstring_tokens": ["Loads", "the", "list", "of", "modules", "in", "the", "DirectoryIterator", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L129-L145", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.checkPlugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the module exist in the plugin list. Primary used when we need to load a module and\nthe module doesn't exists in the application itself.\n\n@param string $module The module to check.\n\n@return array The config needed for the ModuleManager::load() function.", "docstring_tokens": ["Check", "if", "the", "module", "exist", "in", "the", "plugin", "list", ".", "Primary", "used", "when", "we", "need", "to", "load", "a", "module", "and", "the", "module", "doesn", "t", "exists", "in", "the", "application", "itself", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L155-L186", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.unload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unload a module from the Framework.\n\n@param string $module Module to unload.\n\n@return string", "docstring_tokens": ["Unload", "a", "module", "from", "the", "Framework", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L294-L310", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.reload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reloads a module by first calling unload and then load.\n\n@param string $module The module to reload.\n\n@return string", "docstring_tokens": ["Reloads", "a", "module", "by", "first", "calling", "unload", "and", "then", "load", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L319-L338", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.timeLoaded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the time when a module was loaded or false if we don't have it.\n\n@param string $module The module to check the time.\n\n@return false|int", "docstring_tokens": ["Returns", "the", "time", "when", "a", "module", "was", "loaded", "or", "false", "if", "we", "don", "t", "have", "it", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L347-L356", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.isModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if a module has been modified or -1 if we do not have it\n\n@param string $module The module to check.\n\n@return bool|int", "docstring_tokens": ["Returns", "if", "a", "module", "has", "been", "modified", "or", "-", "1", "if", "we", "do", "not", "have", "it"], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L365-L374", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the module if we have it, or false if we don't have it.\n\n@param string $module The module to get.\n\n@return bool|object", "docstring_tokens": ["Returns", "the", "module", "if", "we", "have", "it", "or", "false", "if", "we", "don", "t", "have", "it", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L403-L412", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if we have loaded a certain module.\n\n@param string $module The module to check.\n\n@return bool", "docstring_tokens": ["Check", "if", "we", "have", "loaded", "a", "certain", "module", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L421-L426", "partition": "test"} +{"repo": "SkinnyBot/Skinny", "path": "src/Module/ModuleManager.php", "func_name": "ModuleManager.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Module in our list.\n\n@param string $offset The offset of the moddule.\n@param object $module The module to create.\n\n@throws \\RuntimeException\n\n@return void", "docstring_tokens": ["Creates", "a", "new", "Module", "in", "our", "list", "."], "sha": "422cd89306c6ac0eb14d911c97ba20dc97c3c0b1", "url": "https://github.com/SkinnyBot/Skinny/blob/422cd89306c6ac0eb14d911c97ba20dc97c3c0b1/src/Module/ModuleManager.php#L438-L463", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Redis.php", "func_name": "Redis.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value related to the specified key\n\n@param string $key\n@param mixed $default\n\n@return string|bool", "docstring_tokens": ["Get", "the", "value", "related", "to", "the", "specified", "key"], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Redis.php#L116-L124", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Redis.php", "func_name": "Redis.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the string value in argument as value of the key.\n\n@param string $key\n@param mixed $value\n@param int $ttl unit is seconds\n\n@return bool", "docstring_tokens": ["Set", "the", "string", "value", "in", "argument", "as", "value", "of", "the", "key", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Redis.php#L135-L141", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Redis.php", "func_name": "Redis.getMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the values of all specified keys.\nFor every key that does not hold a string value or does not exist,\nthe special value false is returned. Because of this, the operation never fails.\n\n@param iterable $keys\n@param mixed $default\n\n@return array|mixed", "docstring_tokens": ["Returns", "the", "values", "of", "all", "specified", "keys", ".", "For", "every", "key", "that", "does", "not", "hold", "a", "string", "value", "or", "does", "not", "exist", "the", "special", "value", "false", "is", "returned", ".", "Because", "of", "this", "the", "operation", "never", "fails", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Redis.php#L175-L187", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Redis.php", "func_name": "Redis.setMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets multiple key-value pairs in one atomic command.\n\n@param iterable $values\n@param int $ttl\n\n@return bool TRUE in case of success, FALSE in case of failure.", "docstring_tokens": ["Sets", "multiple", "key", "-", "value", "pairs", "in", "one", "atomic", "command", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Redis.php#L197-L202", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Redis.php", "func_name": "Redis.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "call method by redis client\n\n@param string $method\n@param array $params\n\n@return mixed", "docstring_tokens": ["call", "method", "by", "redis", "client"], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Redis.php#L279-L289", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Aspect/RedisAspect.php", "func_name": "RedisAspect.before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "before of method\n\n@Before()\n@param JoinPoint $joinPoint", "docstring_tokens": ["before", "of", "method"], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Aspect/RedisAspect.php#L39-L43", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Aspect/RedisAspect.php", "func_name": "RedisAspect.afterReturning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "afterReturning of method\n\n@AfterReturning()\n@param JoinPoint $joinPoint\n\n@return mixed", "docstring_tokens": ["afterReturning", "of", "method"], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Aspect/RedisAspect.php#L53-L59", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Aspect/RedisAspect.php", "func_name": "RedisAspect.getProfileKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "the key of profile\n\n@param JoinPoint $joinPoint\n\n@return string", "docstring_tokens": ["the", "key", "of", "profile"], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Aspect/RedisAspect.php#L68-L76", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Operator/Processor/PrefixProcessor.php", "func_name": "PrefixProcessor.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the specified prefix to all the arguments.\n\n@param CommandInterface $command Command instance.\n@param string $prefix Prefix string.", "docstring_tokens": ["Applies", "the", "specified", "prefix", "to", "all", "the", "arguments", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Operator/Processor/PrefixProcessor.php#L249-L259", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Operator/Processor/PrefixProcessor.php", "func_name": "PrefixProcessor.interleaved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the specified prefix only to even arguments in the list.\n\n@param CommandInterface $command Command instance.\n@param string $prefix Prefix string.", "docstring_tokens": ["Applies", "the", "specified", "prefix", "only", "to", "even", "arguments", "in", "the", "list", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Operator/Processor/PrefixProcessor.php#L267-L279", "partition": "test"} +{"repo": "swoft-cloud/swoft-redis", "path": "src/Operator/Processor/PrefixProcessor.php", "func_name": "PrefixProcessor.evalKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the specified prefix to the keys of an EVAL-based command.\n\n@param CommandInterface $command Command instance.\n@param string $prefix Prefix string.", "docstring_tokens": ["Applies", "the", "specified", "prefix", "to", "the", "keys", "of", "an", "EVAL", "-", "based", "command", "."], "sha": "4a603aac0719a45c8464dc95b09d4c9d3e36e3f0", "url": "https://github.com/swoft-cloud/swoft-redis/blob/4a603aac0719a45c8464dc95b09d4c9d3e36e3f0/src/Operator/Processor/PrefixProcessor.php#L362-L367", "partition": "test"} +{"repo": "alt3/tokens", "path": "src/Token.php", "func_name": "Token.setExpires", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the 'expires' property by adding lifetime to the 'created' property.\n\n@return void", "docstring_tokens": ["Set", "the", "expires", "property", "by", "adding", "lifetime", "to", "the", "created", "property", "."], "sha": "4870c7931578c6042156b1e48c17c3b3b51b99fd", "url": "https://github.com/alt3/tokens/blob/4870c7931578c6042156b1e48c17c3b3b51b99fd/src/Token.php#L220-L229", "partition": "test"} +{"repo": "alt3/tokens", "path": "src/Adapters/RandomBytesAdapter.php", "func_name": "RandomBytesAdapter.setLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the length of generated token.\n\n@param int $length Token length\n@throws \\InvalidArgumentException\n@return void", "docstring_tokens": ["Sets", "the", "length", "of", "generated", "token", "."], "sha": "4870c7931578c6042156b1e48c17c3b3b51b99fd", "url": "https://github.com/alt3/tokens/blob/4870c7931578c6042156b1e48c17c3b3b51b99fd/src/Adapters/RandomBytesAdapter.php#L126-L133", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDBSocket.php", "func_name": "OrientDBSocket.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read bytes from socket\n@param int $length Bytes to read\n@return string", "docstring_tokens": ["Read", "bytes", "from", "socket"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDBSocket.php#L73-L80", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDBSocket.php", "func_name": "OrientDBSocket.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send data to socket\n@param string $data", "docstring_tokens": ["Send", "data", "to", "socket"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDBSocket.php#L86-L92", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDB.php", "func_name": "OrientDB.canExecute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if command's requirements are met\n@param OrientDBCommandAbstract $command Command instance\n@throws OrientDBWrongCommandException\n@see OrientDBCommandAbstract", "docstring_tokens": ["Check", "if", "command", "s", "requirements", "are", "met"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDB.php#L331-L343", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDB.php", "func_name": "OrientDB.setProtocolVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if current client protocol version matches server version\n@param int $version Server version\n@throws OrientDBException", "docstring_tokens": ["Check", "if", "current", "client", "protocol", "version", "matches", "server", "version"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDB.php#L368-L374", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDBRecordEncoder.php", "func_name": "OrientDBRecordEncoder.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively encodes data to OrientDB representation\n@param array|OrientDBData $data Data to be encoded\n@param bool $isAssoc Is keys needs to be included\n@param bool $isArray Is this array or class\n@throws OrientDBException\n@return array Array of tokens", "docstring_tokens": ["Recursively", "encodes", "data", "to", "OrientDB", "representation"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDBRecordEncoder.php#L74-L159", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDBRecordDecoder.php", "func_name": "OrientDBRecordDecoder.stackGetLastKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return string of last found key\n@return string", "docstring_tokens": ["Return", "string", "of", "last", "found", "key"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDBRecordDecoder.php#L865-L878", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare command execution\n@throws OrientDBWrongCommandException", "docstring_tokens": ["Prepare", "command", "execution"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L148-L163", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute command by sending data to server, receive initial reply\n@throws null|OrientDBException\n@throws OrientDBException\n@return mixed", "docstring_tokens": ["Execute", "command", "by", "sending", "data", "to", "server", "receive", "initial", "reply"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L171-L216", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.readRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read raw data from socket\n@param int $length\n@return string", "docstring_tokens": ["Read", "raw", "data", "from", "socket"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L237-L246", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.readLong", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read long from socket. Returns int\n@throws OrientDBException\n@return int", "docstring_tokens": ["Read", "long", "from", "socket", ".", "Returns", "int"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L282-L291", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.readString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read string from socket, including its length\n@return string", "docstring_tokens": ["Read", "string", "from", "socket", "including", "its", "length"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L297-L307", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.readBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read bytes stream from socket, including int length\n@return string", "docstring_tokens": ["Read", "bytes", "stream", "from", "socket", "including", "int", "length"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L313-L323", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.readRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read entire record from socket\n@return boolean|OrientDBTypeLink|OrientDBRecord", "docstring_tokens": ["Read", "entire", "record", "from", "socket"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L329-L367", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.addBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add byte stream to outgoing data. Length is calculated automatically\n@param string $string", "docstring_tokens": ["Add", "byte", "stream", "to", "outgoing", "data", ".", "Length", "is", "calculated", "automatically"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L422-L429", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/Commands/OrientDBCommandAbstract.php", "func_name": "OrientDBCommandAbstract.unpackI64", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unpacks 64 bits signed long\n@static\n@param $hi int Hi bytes of long\n@param $low int Low bytes of long\n@throws OrientDBException\n@return int|string", "docstring_tokens": ["Unpacks", "64", "bits", "signed", "long"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/Commands/OrientDBCommandAbstract.php#L486-L536", "partition": "test"} +{"repo": "AntonTerekhov/OrientDB-PHP", "path": "OrientDB/OrientDBRecord.php", "func_name": "OrientDBRecord.resetData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets Record data, keeping className and clusterID intact\n@return void", "docstring_tokens": ["Resets", "Record", "data", "keeping", "className", "and", "clusterID", "intact"], "sha": "c5196fe05bf249e2658a39be0866444997287cf0", "url": "https://github.com/AntonTerekhov/OrientDB-PHP/blob/c5196fe05bf249e2658a39be0866444997287cf0/OrientDB/OrientDBRecord.php#L143-L151", "partition": "test"} +{"repo": "PackageFactory/atomic-fusion", "path": "Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php", "func_name": "ComponentImplementation.getProps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the component props as an associative array\n\n@return array", "docstring_tokens": ["Get", "the", "component", "props", "as", "an", "associative", "array"], "sha": "e7cf2f06ad40e2522f159214b5ced70fd8996edc", "url": "https://github.com/PackageFactory/atomic-fusion/blob/e7cf2f06ad40e2522f159214b5ced70fd8996edc/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php#L43-L57", "partition": "test"} +{"repo": "PackageFactory/atomic-fusion", "path": "Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php", "func_name": "ComponentImplementation.renderComponent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the component with the given props\n\n@param array $props\n@return void|string", "docstring_tokens": ["Render", "the", "component", "with", "the", "given", "props"], "sha": "e7cf2f06ad40e2522f159214b5ced70fd8996edc", "url": "https://github.com/PackageFactory/atomic-fusion/blob/e7cf2f06ad40e2522f159214b5ced70fd8996edc/Classes/PackageFactory/AtomicFusion/FusionObjects/ComponentImplementation.php#L65-L74", "partition": "test"} +{"repo": "PackageFactory/atomic-fusion", "path": "Classes/PackageFactory/AtomicFusion/Eel/AtomicFusionHelper.php", "func_name": "AtomicFusionHelper.classNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the arguments as class-names after applying some rules\n\n@param mixed $arguments [optional] class-name rules\nargument rules:\n- falsy: (null, '', [], {}) -> not rendered\n- array: all items that are scalar and truthy are rendered as class-name\n- object: keys that have a truthy values are rendered as class-name\n- scalar: is cast to string and rendered as class-name", "docstring_tokens": ["Render", "the", "arguments", "as", "class", "-", "names", "after", "applying", "some", "rules"], "sha": "e7cf2f06ad40e2522f159214b5ced70fd8996edc", "url": "https://github.com/PackageFactory/atomic-fusion/blob/e7cf2f06ad40e2522f159214b5ced70fd8996edc/Classes/PackageFactory/AtomicFusion/Eel/AtomicFusionHelper.php#L36-L63", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.getIdealIssuers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get possible iDEAL issuers.\n\n@return Issuers", "docstring_tokens": ["Get", "possible", "iDEAL", "issuers", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L59-L79", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.getAllowedProducts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get allowed payment methods.\n\n@return array", "docstring_tokens": ["Get", "allowed", "payment", "methods", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L86-L102", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.processProducts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the API response with allowed payment methods.\n\n@param array $details\n@return array", "docstring_tokens": ["Process", "the", "API", "response", "with", "allowed", "payment", "methods", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L110-L142", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createIdealOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new iDEAL order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $issuerId The SWIFT/BIC code of the iDEAL issuer.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "iDEAL", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L201-L227", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createSepaOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new SEPA order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "SEPA", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L244-L270", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createSofortOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new SOFORT order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "SOFORT", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L287-L313", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createPayconicOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Payconiq order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "Payconiq", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L332-L358", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createCreditCardOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new credit card order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "credit", "card", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L374-L398", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createBancontactOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Bancontact order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "Bancontact", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L414-L438", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createCashOnDeliveryOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Cash On Delivery order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "Cash", "On", "Delivery", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L456-L482", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createKlarnaOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Klarna order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n@param array $orderLines Order lines\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "Klarna", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L500-L526", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createPaypalOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new PayPal order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "PayPal", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L543-L569", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createHomepayOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Home'Pay order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "Home", "Pay", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L586-L612", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createAfterPayOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new AfterPay order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n@param array $orderLines Order lines\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "AfterPay", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L630-L656", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.createOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $paymentMethod The payment method to use.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order The newly created order.", "docstring_tokens": ["Create", "a", "new", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L675-L703", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.getOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single order.\n\n@param string $id The order ID.\n@return Order", "docstring_tokens": ["Get", "a", "single", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L711-L734", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.postOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post a new order.\n\n@param Order $order\n@return Order", "docstring_tokens": ["Post", "a", "new", "order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L753-L776", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Client.php", "func_name": "Client.setOrderCapturedStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "update the order status to captured\n\n@param Order $order\n@throws OrderNotFoundException\n@throws ClientException\n@return Transaction", "docstring_tokens": ["update", "the", "order", "status", "to", "captured"], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Client.php#L820-L846", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithIdeal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the iDEAL payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $issuerId The SWIFT/BIC code of the iDEAL issuer.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "iDEAL", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L125-L150", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithCreditCard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the credit card payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "credit", "card", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L167-L191", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithSepa", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the SEPA payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "SEPA", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L209-L234", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithSofort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the SOFORT payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "SOFORT", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L252-L277", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithBancontact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the Bancontact payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "Bancontact", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L294-L318", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithPaypal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the Paypal payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "Paypal", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L419-L444", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithHomepay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the HomePay payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "HomePay", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L462-L487", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.createWithPayconiq", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order with the Payconiq payment method.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A descriptionyconiq of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration.\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "with", "the", "Payconiq", "payment", "method", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L505-L530", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Order.php", "func_name": "Order.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Order.\n\n@param integer $amount Amount in cents.\n@param string $currency A valid currency code.\n@param string $paymentMethod The payment method to use.\n@param array $paymentMethodDetails An array of extra payment method details.\n@param string $description A description of the order.\n@param string $merchantOrderId A merchant-defined order identifier.\n@param string $returnUrl The return URL.\n@param string $expirationPeriod The expiration period as an ISO 8601 duration\n@param array $customer Customer information.\n@param array $extra Extra information.\n@param string $webhookUrl The webhook URL.\n@param array $orderLines Order lines.\n\n@return Order", "docstring_tokens": ["Create", "a", "new", "Order", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Order.php#L592-L632", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Common/ArrayFunctions.php", "func_name": "ArrayFunctions.withoutNullValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new array with all elements which have a null value removed.\n\n@param array $array\n@return array", "docstring_tokens": ["Returns", "a", "new", "array", "with", "all", "elements", "which", "have", "a", "null", "value", "removed", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Common/ArrayFunctions.php#L13-L28", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Ginger.php", "func_name": "Ginger.createClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new API client.\n\n@param string $apiKey Your API key.\n@param string $product PSP product\n@return Client\n@throws \\Exception\n@throws \\Assert\\AssertionFailedException", "docstring_tokens": ["Create", "a", "new", "API", "client", "."], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Ginger.php#L34-L57", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Ginger.php", "func_name": "Ginger.getEndpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get API endpoint based on product\n\n@param string $product\n@return string", "docstring_tokens": ["Get", "API", "endpoint", "based", "on", "product"], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Ginger.php#L65-L77", "partition": "test"} +{"repo": "ingpsp/ing-php", "path": "src/Common/ISO3166.php", "func_name": "ISO3166.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if provided value is ISO 3166-1 alpha-2 country standard\n\n@param string $value\n@return bool", "docstring_tokens": ["Check", "if", "provided", "value", "is", "ISO", "3166", "-", "1", "alpha", "-", "2", "country", "standard"], "sha": "813f8c3573a530734b21ad0b7213cdf9273b58dc", "url": "https://github.com/ingpsp/ing-php/blob/813f8c3573a530734b21ad0b7213cdf9273b58dc/src/Common/ISO3166.php#L15-L24", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/PaymentRequestBodyBuilder.php", "func_name": "PaymentRequestBodyBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array or a json string that represents the body of a payment request\n\n@param string $intent not null and should be one of the following values: sale, authorize, order\n@param array|\\ArrayAccess|PayPalRestApiClient\\Model\\PayerInterface $payer checkout the PayerBuilder documentation\n@param array|\\ArrayAccess $urls checkout the UrlsBuilder documentation\n@param array|\\ArrayAccess|PayPalRestApiClient\\Model\\TransactionInterface $transactions\n@param $returnArray boolean default false\n\n@return array|json return by default a json string, if $returnArray is set to true it will return an array\n\n@throws PayPalRestApiClient\\Exception\\BuilderException if intent is not valid or the other arrays will not pass the validation on the other builders\n\n@see https://developer.paypal.com/docs/api/#payments", "docstring_tokens": ["Build", "an", "array", "or", "a", "json", "string", "that", "represents", "the", "body", "of", "a", "payment", "request"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/PaymentRequestBodyBuilder.php#L49-L65", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Service/PaymentService.php", "func_name": "PaymentService.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a payment or an authorization that was previously approved by the client.\n\n@param PayPalRestApiClient\\Model\\AccessToken $accessToken\n@param PayPalRestApiClient\\Model\\Payment $payment payment previously created with the \"PaymentService::create\" method\n@param string $payerId not null, parameter \"payerId\" that is passed in the success url when using paypal payment method\n\n@return PayPalRestApiClient\\Model\\Payment", "docstring_tokens": ["Execute", "a", "payment", "or", "an", "authorization", "that", "was", "previously", "approved", "by", "the", "client", "."], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Service/PaymentService.php#L66-L101", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Service/PaymentService.php", "func_name": "PaymentService.capture", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Capture payment that was previously authorized by the client or witha credit card.\n\n@param PayPalRestApiClient\\Model\\AccessToken $accessToken\n@param PayPalRestApiClient\\Model\\Payment $payment payment previously authorized with the \"PaymentService::authorize\" method\n@param boolean $isFinalCapture default true\n\n@return PayPalRestApiClient\\Model\\Capture", "docstring_tokens": ["Capture", "payment", "that", "was", "previously", "authorized", "by", "the", "client", "or", "witha", "credit", "card", "."], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Service/PaymentService.php#L112-L145", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Service/PaymentService.php", "func_name": "PaymentService.authorize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authorize a payment\n\n@param PayPalRestApiClient\\Model\\AccessToken $accessToken\n@param mixed $payer array or object that represents a paypal payer\n@param array $urls array of the cancel and redirection url\n@param array $transactions array of transaction objects\n\n@return PayPalRestApiClient\\Model\\Payment|PayPalRestApiClient\\Model\\PaymentAuthorization", "docstring_tokens": ["Authorize", "a", "payment"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Service/PaymentService.php#L157-L182", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Service/PaymentService.php", "func_name": "PaymentService.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a payment\n\n@param PayPalRestApiClient\\Model\\AccessToken $accessToken\n@param mixed $payer array or object that represents a paypal payer\n@param array $urls array of the cancel and redirection url\n@param array $transactions array of transaction objects\n\n@return PayPalRestApiClient\\Model\\Payment", "docstring_tokens": ["Create", "a", "payment"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Service/PaymentService.php#L194-L219", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Repository/AccessTokenRepository.php", "func_name": "AccessTokenRepository.getAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an access token object if paypal accepts the given credential\n\nFor the time being, expires_in is not taken into consideration.\nCalling twice the getAccessToken method with the same credential will give you two different token.\n\n@param string $clientId not null\n@param string $secret not null\n\n@return PayPalRestApiClient\\Model\\AccessToken", "docstring_tokens": ["Returns", "an", "access", "token", "object", "if", "paypal", "accepts", "the", "given", "credential"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Repository/AccessTokenRepository.php#L54-L77", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/LinkBuilder.php", "func_name": "LinkBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Link given an array\n\n@param array $data The array should contains the following keys:\nhref, rel, method.\n\n@return PayPalRestApiClient\\Model\\Link\n\n@throws PayPalRestApiClient\\Exception\\BuilderException\n\n@see https://developer.paypal.com/docs/api/#hateoas-links", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Link", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/LinkBuilder.php#L25-L39", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/CaptureBuilder.php", "func_name": "CaptureBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Capture given an array\n\n@param array $data The array should contains the following keys:\nid, create_time, update_time, amount, is_final_capture, state, parent_payment, links.\n\n@return PayPalRestApiClient\\Model\\Capture\n\n@throws PayPalRestApiClient\\Exception\\BuilderException If not all keys are set\n\n@see https://developer.paypal.com/docs/api/#capture-object", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Capture", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/CaptureBuilder.php#L47-L72", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/AmountBuilder.php", "func_name": "AmountBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Amount given an array\n\n@param array $data\n\n@return PayPalRestApiClient\\Model\\Amount\n\n@throws PayPalRestApiClient\\Exception\\BuilderException\n\n@see https://developer.paypal.com/docs/api/#authentication--headers", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Amount", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/AmountBuilder.php#L24-L43", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/UrlsBuilder.php", "func_name": "UrlsBuilder.buildArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array that represents paypal redirection urls\n\n@param array|\\ArrayAccess $urls an array that should have the following keys: return_url and cancel_url\n\n@return array represents paypal redirection urls\n\n@throws PayPalRestApiClient\\Exception\\BuilderException if the input parameter is not an array or an object instance of \\ArrayAccess, or the array keys \"return_url\" and \"cancel_url\" are not set\n\n@see https://developer.paypal.com/docs/api/#redirecturls-object", "docstring_tokens": ["Build", "an", "array", "that", "represents", "paypal", "redirection", "urls"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/UrlsBuilder.php#L23-L37", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/AccessTokenBuilder.php", "func_name": "AccessTokenBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\AccessToken given an array\n\n@param array $data The array should contains the following keys:\nscope, access_token, token_type, app_id, expires_in.\nThe \"access_token\" key value should not be empty\n\n@return PayPalRestApiClient\\Model\\AccessToken\n\n@throws PayPalRestApiClient\\Exception\\BuilderException If not all keys are set or when \"access_token\" is empty\n\n@see https://developer.paypal.com/docs/api/#authentication--headers", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "AccessToken", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/AccessTokenBuilder.php#L26-L47", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/TransactionsBuilder.php", "func_name": "TransactionsBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array of PayPalRestApiClient\\Model\\Transaction instances given an array of arrays\n\n@param array $transactions Should contains arrays with at least the amount key set\n\n@return array of PayPalRestApiClient\\Model\\Transaction instances\n\n@throws PayPalRestApiClient\\Exception\\BuilderException If not all keys are set for each transaction\n\n@see https://developer.paypal.com/docs/api/#transaction-object", "docstring_tokens": ["Build", "an", "array", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Transaction", "instances", "given", "an", "array", "of", "arrays"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/TransactionsBuilder.php#L44-L52", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/TransactionsBuilder.php", "func_name": "TransactionsBuilder.buildArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array that represents a paypal transactions array\n\n@param array|\\ArrayAccess $transactions an array of arrays or instances of PayPalRestApiClient\\Model\\TransactionInterface od \\ArrayAccess\n\n@return array represents an array of transaction\n\n@throws PayPalRestApiClient\\Exception\\BuilderException if at least one transaction is not an array, or an object implementing \\ArrayAccess interface or PayPalRestApiClient\\Model\\TransactionInterface\n\n@see https://developer.paypal.com/docs/api/#transaction-object", "docstring_tokens": ["Build", "an", "array", "that", "represents", "a", "paypal", "transactions", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/TransactionsBuilder.php#L121-L162", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Traits/RequestSender.php", "func_name": "RequestSender.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a request and chatches exception if something does wrong.\n\n@param mixed $request\n@param integer $acceptedStatusCode which http status code represens a \"all is well\" response for the call\n@param string $errorLabel label that describes the context of an error\n\n@return mixed $response\n@throws PayPalRestApiClient\\Exception\\CallException", "docstring_tokens": ["Sends", "a", "request", "and", "chatches", "exception", "if", "something", "does", "wrong", "."], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Traits/RequestSender.php#L28-L64", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/PaymentBuilder.php", "func_name": "PaymentBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Payment given an array\n\n@param array $data The array should contains the following keys:\nid, create_time, state, intent, payer, transactions, links\nThe \"id\" key value should not be empty.\n\n@return PayPalRestApiClient\\Model\\Payment\n\n@throws PayPalRestApiClient\\Exception\\BuilderException If not all keys are set\n\n@see https://developer.paypal.com/docs/api/#payment-object", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Payment", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/PaymentBuilder.php#L55-L85", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/PaymentAuthorizationBuilder.php", "func_name": "PaymentAuthorizationBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\PaymentAuthorization given an array\n\n@param array $data The array should contains the following keys:\nid, create_time, update_time, state, intent, payer, transactions, links.\nThe \"id\" key value should not be empty.\n\n@return PayPalRestApiClient\\Model\\PaypalPaymentAuthorization|PayPalRestApiClient\\Model\\CreditCardPaymentAuthorization\n\n@throws PayPalRestApiClient\\Exception\\BuilderException If not all keys are set or when \"id\" is empty\n\n@see https://developer.paypal.com/docs/integration/direct/capture-payment/#authorize-the-payment", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "PaymentAuthorization", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/PaymentAuthorizationBuilder.php#L58-L106", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/PayerBuilder.php", "func_name": "PayerBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Payer given an array\n\n@param array $data The array should contains the payment_method following\n\n@return PayPalRestApiClient\\Model\\Payer\n\n@throws PayPalRestApiClient\\Exception\\BuilderException\n\n@see https://developer.paypal.com/docs/api/#payer-object", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Payer", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/PayerBuilder.php#L25-L48", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/PayerBuilder.php", "func_name": "PayerBuilder.buildArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array that represents a paypal payer\n\n@param array|\\ArrayAccess|PayPalRestApiClient\\Model\\PayerInterface $payer an array of values\nor an istance of a class implmenting PayPalRestApiClient\\Model\\PayerInterface or \\ArrayAccess interface\n\n@return array\n\n@throws PayPalRestApiClient\\Exception\\BuilderException if the given input parameter is not an array or\nit is not an object implementing PayPalRestApiClient\\Model\\PayerInterface or \\ArrayAccess interface\n\n@see https://developer.paypal.com/docs/api/#payer-object", "docstring_tokens": ["Build", "an", "array", "that", "represents", "a", "paypal", "payer"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/PayerBuilder.php#L63-L104", "partition": "test"} +{"repo": "p16/paypal-rest-api-client", "path": "src/PayPalRestApiClient/Builder/AuthorizationBuilder.php", "func_name": "AuthorizationBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an instance of PayPalRestApiClient\\Model\\Authorization given an array\n\n@param array $data The array should contains the following keys:\namount, create_time, state, parent_payment, id, valid_until, links.\n\n@return PayPalRestApiClient\\Model\\Authorization\n\n@throws PayPalRestApiClient\\Exception\\BuilderException\n\n@see https://developer.paypal.com/docs/api/#authorization-object", "docstring_tokens": ["Build", "an", "instance", "of", "PayPalRestApiClient", "\\", "Model", "\\", "Authorization", "given", "an", "array"], "sha": "e679d8be6fb672c5158bf60c6ee4a8286ab926b1", "url": "https://github.com/p16/paypal-rest-api-client/blob/e679d8be6fb672c5158bf60c6ee4a8286ab926b1/src/PayPalRestApiClient/Builder/AuthorizationBuilder.php#L46-L70", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/Helpers/Obfuscater.php", "func_name": "Obfuscater.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obfuscate a string to prevent spam-bots from sniffing it.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Obfuscate", "a", "string", "to", "prevent", "spam", "-", "bots", "from", "sniffing", "it", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Helpers/Obfuscater.php#L23-L35", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/Helpers/Obfuscater.php", "func_name": "Obfuscater.makeSafer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make safer.\n\n@param string $letter\n@param string $safe", "docstring_tokens": ["Make", "safer", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Helpers/Obfuscater.php#L48-L66", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/Traits/FormAccessible.php", "func_name": "FormAccessible.getFormValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get form value from the eloquent model.\n\n@param string $key\n\n@return mixed", "docstring_tokens": ["Get", "form", "value", "from", "the", "eloquent", "model", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Traits/FormAccessible.php#L39-L49", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/Traits/FormAccessible.php", "func_name": "FormAccessible.hasFormMutator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if has a form mutator.\n\n@param string $key\n\n@return bool", "docstring_tokens": ["Check", "if", "has", "a", "form", "mutator", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Traits/FormAccessible.php#L93-L100", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/Traits/FormAccessible.php", "func_name": "FormAccessible.getReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a ReflectionClass Instance.\n\n@return \\ReflectionClass\n\n@throws \\ReflectionException", "docstring_tokens": ["Get", "a", "ReflectionClass", "Instance", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/Traits/FormAccessible.php#L134-L141", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.favicon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a link to a Favicon file.\n\n@param string $url\n@param array $attributes\n@param bool $secure\n\n@return \\Illuminate\\Support\\HtmlString", "docstring_tokens": ["Generate", "a", "link", "to", "a", "Favicon", "file", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/HtmlBuilder.php#L152-L163", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a HTML link.\n\n@param string $url\n@param string|null $title\n@param array $attributes\n@param bool $secure\n@param bool $escaped\n\n@return \\Illuminate\\Support\\HtmlString", "docstring_tokens": ["Generate", "a", "HTML", "link", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/HtmlBuilder.php#L176-L188", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.ol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an ordered list of items.\n\n@param array $items\n@param array $attributes\n\n@return \\Illuminate\\Support\\HtmlString", "docstring_tokens": ["Generate", "an", "ordered", "list", "of", "items", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/HtmlBuilder.php#L314-L320", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/HtmlBuilder.php", "func_name": "HtmlBuilder.ul", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an un-ordered list of items.\n\n@param array $items\n@param array $attributes\n\n@return \\Illuminate\\Support\\HtmlString", "docstring_tokens": ["Generate", "an", "un", "-", "ordered", "list", "of", "items", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/HtmlBuilder.php#L330-L336", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.getModelValueAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the model value that should be assigned to the field.\n\n@param string $name\n@param \\Illuminate\\Database\\Eloquent\\Model $model\n\n@return mixed", "docstring_tokens": ["Get", "the", "model", "value", "that", "should", "be", "assigned", "to", "the", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L214-L232", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.text", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a text input field.\n\n@param string $name\n@param string|mixed $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "a", "text", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L403-L406", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.email", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an e-mail input field.\n\n@param string $name\n@param string|mixed $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "an", "e", "-", "mail", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L444-L447", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.tel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a tel input field.\n\n@param string $name\n@param string|mixed $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "a", "tel", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L458-L461", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.number", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a number input field.\n\n@param string $name\n@param string|mixed $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "a", "number", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L472-L475", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a url input field.\n\n@param string $name\n@param string $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "a", "url", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L551-L554", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.color", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a color input field.\n\n@param string $name\n@param string|mixed $value\n@param array $attributes\n\n@return \\Arcanedev\\Html\\Elements\\Input", "docstring_tokens": ["Create", "a", "color", "input", "field", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L774-L777", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.getCheckboxCheckedState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the check state for a checkbox input.\n\n@param string $name\n@param mixed $value\n@param bool|null $checked\n\n@return bool", "docstring_tokens": ["Get", "the", "check", "state", "for", "a", "checkbox", "input", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L838-L859", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.getUrlAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the action for a \"url\" option.\n\n@param array|string $attribute\n\n@return string", "docstring_tokens": ["Get", "the", "action", "for", "a", "url", "option", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L918-L923", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.getRouteAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the action for a \"route\" option.\n\n@param array|string $attribute\n\n@return string", "docstring_tokens": ["Get", "the", "action", "for", "a", "route", "option", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L932-L937", "partition": "test"} +{"repo": "ARCANEDEV/LaravelHtml", "path": "src/FormBuilder.php", "func_name": "FormBuilder.getControllerAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the action for an \"action\" option.\n\n@param array|string $attribute\n\n@return string", "docstring_tokens": ["Get", "the", "action", "for", "an", "action", "option", "."], "sha": "539ed117df0b21d2a267aac074446c6dadf50828", "url": "https://github.com/ARCANEDEV/LaravelHtml/blob/539ed117df0b21d2a267aac074446c6dadf50828/src/FormBuilder.php#L946-L951", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/Buffer.php", "func_name": "Buffer.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts the string at the given position in the buffer.\n\n@param string $string\n@param int $position", "docstring_tokens": ["Inserts", "the", "string", "at", "the", "given", "position", "in", "the", "buffer", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/Buffer.php#L201-L204", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/Buffer.php", "func_name": "Buffer.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the position of the given pattern in the buffer if it exists, or false if it does not.\n\n@param string $string String to search for.\n@param bool $reverse Start search from end of buffer.\n\n@return int|bool\n\n@see strpos()", "docstring_tokens": ["Returns", "the", "position", "of", "the", "given", "pattern", "in", "the", "buffer", "if", "it", "exists", "or", "false", "if", "it", "does", "not", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/Buffer.php#L231-L238", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/Buffer.php", "func_name": "Buffer.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces the character in the buffer at the given position with the given string.\n\n@param int $index\n@param string $data", "docstring_tokens": ["Replaces", "the", "character", "in", "the", "buffer", "at", "the", "given", "position", "with", "the", "given", "string", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/Buffer.php#L270-L273", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/Buffer.php", "func_name": "Buffer.offsetUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the character at the given index from the buffer.\n\n@param int $index", "docstring_tokens": ["Removes", "the", "character", "at", "the", "given", "index", "from", "the", "buffer", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/Buffer.php#L280-L285", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Pipe/ReadablePipe.php", "func_name": "ReadablePipe.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads data from the stream socket resource based on set length and read-to byte.\n\n@param resource $resource\n@param int $length\n@param string|null $byte\n\n@return string", "docstring_tokens": ["Reads", "data", "from", "the", "stream", "socket", "resource", "based", "on", "set", "length", "and", "read", "-", "to", "byte", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Pipe/ReadablePipe.php#L249-L273", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/CommandTrait.php", "func_name": "CommandTrait.parseFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a given file and insert into databaase using closure.\n\n@param string $name\n@param Closure $callback\n@return void", "docstring_tokens": ["Parse", "a", "given", "file", "and", "insert", "into", "databaase", "using", "closure", "."], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/CommandTrait.php#L284-L336", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/CommandTrait.php", "func_name": "CommandTrait.getLineCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the file and get line count\nNot very efficient but does the job well...\n\n@param string $path\n@return int $count", "docstring_tokens": ["Read", "the", "file", "and", "get", "line", "count", "Not", "very", "efficient", "but", "does", "the", "job", "well", "..."], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/CommandTrait.php#L346-L378", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/CommandTrait.php", "func_name": "CommandTrait.unZip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unzip the file\n\n@param string $name", "docstring_tokens": ["Unzip", "the", "file"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/CommandTrait.php#L526-L558", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/CommandTrait.php", "func_name": "CommandTrait.getUrlSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Remote File Size\n\n@param string $url remote address\n@return int|boolean URL size in bytes or false", "docstring_tokens": ["Get", "Remote", "File", "Size"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/CommandTrait.php#L566-L572", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/CommandTrait.php", "func_name": "CommandTrait.getFilesArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns files array after removing entries in\nignoreTables config option and adding custom countries from\ncountries config option if necessary\n\n@return array", "docstring_tokens": ["Returns", "files", "array", "after", "removing", "entries", "in", "ignoreTables", "config", "option", "and", "adding", "custom", "countries", "from", "countries", "config", "option", "if", "necessary"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/CommandTrait.php#L581-L595", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/MemoryStream.php", "func_name": "MemoryStream.free", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the stream and rejects any pending promises.\n\n@param \\Throwable|null $exception", "docstring_tokens": ["Closes", "the", "stream", "and", "rejects", "any", "pending", "promises", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/MemoryStream.php#L107-L125", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/MemoryStream.php", "func_name": "MemoryStream.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns bytes from the buffer based on the current length or current search byte.\n\n@return string", "docstring_tokens": ["Returns", "bytes", "from", "the", "buffer", "based", "on", "the", "current", "length", "or", "current", "search", "byte", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/MemoryStream.php#L185-L200", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/BufferIterator.php", "func_name": "BufferIterator.seek", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves to the given position in the buffer.\n\n@param int $position", "docstring_tokens": ["Moves", "to", "the", "given", "position", "in", "the", "buffer", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/BufferIterator.php#L95-L103", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/BufferIterator.php", "func_name": "BufferIterator.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts the given string into the buffer at the current iterator position.\n\n@param string $data\n\n@throws \\Icicle\\Stream\\Exception\\OutOfBoundsException If the iterator is invalid.", "docstring_tokens": ["Inserts", "the", "given", "string", "into", "the", "buffer", "at", "the", "current", "iterator", "position", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/BufferIterator.php#L112-L119", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/BufferIterator.php", "func_name": "BufferIterator.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces the byte at the current iterator position with the given string.\n\n@param string $data\n\n@return string\n\n@throws \\Icicle\\Stream\\Exception\\OutOfBoundsException If the iterator is invalid.", "docstring_tokens": ["Replaces", "the", "byte", "at", "the", "current", "iterator", "position", "with", "the", "given", "string", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/BufferIterator.php#L130-L141", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/Structures/BufferIterator.php", "func_name": "BufferIterator.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the byte at the current iterator position and moves the iterator to the previous character.\n\n@return string\n\n@throws \\Icicle\\Stream\\Exception\\OutOfBoundsException If the iterator is invalid.", "docstring_tokens": ["Removes", "the", "byte", "at", "the", "current", "iterator", "position", "and", "moves", "the", "iterator", "to", "the", "previous", "character", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/Structures/BufferIterator.php#L150-L163", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Console/Install.php", "func_name": "Install.publishDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish the directory to the given directory.\n\n@param string $from\n@param string $to\n@return void", "docstring_tokens": ["Publish", "the", "directory", "to", "the", "given", "directory", "."], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Console/Install.php#L110-L123", "partition": "test"} +{"repo": "icicleio/stream", "path": "src/StreamResource.php", "func_name": "StreamResource.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the socket.", "docstring_tokens": ["Closes", "the", "socket", "."], "sha": "a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865", "url": "https://github.com/icicleio/stream/blob/a5d80f39a99dfadf02a1e9fc7d11d3fc31c42865/src/StreamResource.php#L66-L74", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Models/GeonamesGeoname.php", "func_name": "GeonamesGeoname.scopeAdmin1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return admin1 information in result\n\n@param \\Illuminate\\Database\\Query\\Builder $query\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Return", "admin1", "information", "in", "result"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Models/GeonamesGeoname.php#L166-L185", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Models/GeonamesGeoname.php", "func_name": "GeonamesGeoname.scopeAddCountryInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return country information in result\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $query\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Return", "country", "information", "in", "result"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Models/GeonamesGeoname.php#L193-L210", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Models/GeonamesGeoname.php", "func_name": "GeonamesGeoname.scopeCity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a query to find major cities. Accepts wildcards eg. 'Helsin%'\n\nSuggested index for search:\nALTER TABLE geonames_geonames ADD INDEX geonames_geonames_feature_name_index\n(`feature_class`,`feature_code`,`name`);\nand if you will limit queries by country you should also use:\nALTER TABLE geonames_geonames ADD INDEX geonames_geonames_country_feature_name_index\n(`country_code`,`feature_class`,`feature_code`,`name`);\n\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $query\n@param String $name\n@param array $featureCodes List of feature codes to use when returning results\ndefaults to ['PPLC','PPLA','PPLA2', 'PPLA3']\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Build", "a", "query", "to", "find", "major", "cities", ".", "Accepts", "wildcards", "eg", ".", "Helsin%"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Models/GeonamesGeoname.php#L230-L233", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Models/GeonamesGeoname.php", "func_name": "GeonamesGeoname.scopeCountry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a query to find major ccountries. Accepts wildcards eg. '%Finland%'\n\nSuggested index for search:\nALTER TABLE geonames_geonames ADD INDEX geonames_geonames_feature_name_index\n(`feature_class`,`feature_code`,`name`);\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $query\n@param String $name\n@param array $featureCodes List of feature codes to use when returning results\ndefaults to ['PCLI']\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Build", "a", "query", "to", "find", "major", "ccountries", ".", "Accepts", "wildcards", "eg", ".", "%Finland%"], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Models/GeonamesGeoname.php#L248-L251", "partition": "test"} +{"repo": "yurtesen/geonames", "path": "src/Models/GeonamesGeoname.php", "func_name": "GeonamesGeoname.scopeSearchByFeature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generic query used by scopes, but you can call it with custom feataure codes.\n\n@param \\Illuminate\\Database\\Query\\Builder|\\Illuminate\\Database\\Eloquent\\Builder $query\n@param String $name\n@param String $feature_class The 1 character feature class\n@param array $featureCodes List of feature codes to use when returning results\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Generic", "query", "used", "by", "scopes", "but", "you", "can", "call", "it", "with", "custom", "feataure", "codes", "."], "sha": "7d3cc0d2ff8029193633ad135d74c583bca9722c", "url": "https://github.com/yurtesen/geonames/blob/7d3cc0d2ff8029193633ad135d74c583bca9722c/src/Models/GeonamesGeoname.php#L263-L278", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.createPendingRedirects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the queued redirects provided we can find the node.\n\n@return void\n@throws \\Neos\\Flow\\Mvc\\Routing\\Exception\\MissingActionNameException", "docstring_tokens": ["Creates", "the", "queued", "redirects", "provided", "we", "can", "find", "the", "node", "."], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L138-L147", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.hasNodeUriChanged", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Has the Uri changed at all.\n\n@param NodeInterface $node\n@param Workspace $targetWorkspace\n@return bool\n@throws \\Neos\\Flow\\Mvc\\Routing\\Exception\\MissingActionNameException", "docstring_tokens": ["Has", "the", "Uri", "changed", "at", "all", "."], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L207-L220", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.buildRedirects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build redirects in all dimensions for a given node.\n\n@param string $nodeIdentifier\n@param string $workspaceName\n@param $oldUriPerDimensionCombination\n@return void\n@throws \\Neos\\Flow\\Mvc\\Routing\\Exception\\MissingActionNameException", "docstring_tokens": ["Build", "redirects", "in", "all", "dimensions", "for", "a", "given", "node", "."], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L231-L236", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.createRedirectFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the node in the given dimensions and workspace and redirects the oldUri to the new one.\n\n@param string $oldUri\n@param string $nodeIdentifer\n@param string $workspaceName\n@param array $dimensionCombination\n@return bool\n@throws \\Neos\\Flow\\Mvc\\Routing\\Exception\\MissingActionNameException", "docstring_tokens": ["Gets", "the", "node", "in", "the", "given", "dimensions", "and", "workspace", "and", "redirects", "the", "oldUri", "to", "the", "new", "one", "."], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L248-L276", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.removeNodeRedirectIfNeeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a redirect\n\n@param NodeInterface $node\n@param string $newUri\n@return bool", "docstring_tokens": ["Removes", "a", "redirect"], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L285-L300", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.isRestrictedByNodeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the current node type is restricted by Settings\n\n@param NodeInterface $node\n@return bool", "docstring_tokens": ["Check", "if", "the", "current", "node", "type", "is", "restricted", "by", "Settings"], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L320-L342", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.isRestrictedByPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the current node path is restricted by Settings\n\n@param NodeInterface $node\n@return bool", "docstring_tokens": ["Check", "if", "the", "current", "node", "path", "is", "restricted", "by", "Settings"], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L350-L373", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.getHostnames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collects all hostnames from the Domain entries attached to the current site.\n\n@param ContentContext $contentContext\n@return array", "docstring_tokens": ["Collects", "all", "hostnames", "from", "the", "Domain", "entries", "attached", "to", "the", "current", "site", "."], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L381-L395", "partition": "test"} +{"repo": "neos/redirecthandler-neosadapter", "path": "Classes/Service/NodeRedirectService.php", "func_name": "NodeRedirectService.getUriBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an UriBuilder instance for the current request\n\n@return UriBuilder", "docstring_tokens": ["Creates", "an", "UriBuilder", "instance", "for", "the", "current", "request"], "sha": "c09268928758a05b83dd82a7a38545c84509d031", "url": "https://github.com/neos/redirecthandler-neosadapter/blob/c09268928758a05b83dd82a7a38545c84509d031/Classes/Service/NodeRedirectService.php#L431-L447", "partition": "test"} +{"repo": "fritzmg/contao-short-urls", "path": "system/modules/short_urls/dca/tl_short_urls.php", "func_name": "tl_short_urls.loadName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes the name\n@param mixed $varValue\n@param DataContainer $dc\n@return string", "docstring_tokens": ["Decodes", "the", "name"], "sha": "4969eeb899e40db22f7cc64c81573672bca96c35", "url": "https://github.com/fritzmg/contao-short-urls/blob/4969eeb899e40db22f7cc64c81573672bca96c35/system/modules/short_urls/dca/tl_short_urls.php#L173-L190", "partition": "test"} +{"repo": "fritzmg/contao-short-urls", "path": "system/modules/short_urls/dca/tl_short_urls.php", "func_name": "tl_short_urls.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the name of a short url\n@param string $name\n@param string $domain\n@return void", "docstring_tokens": ["Validate", "the", "name", "of", "a", "short", "url"], "sha": "4969eeb899e40db22f7cc64c81573672bca96c35", "url": "https://github.com/fritzmg/contao-short-urls/blob/4969eeb899e40db22f7cc64c81573672bca96c35/system/modules/short_urls/dca/tl_short_urls.php#L242-L271", "partition": "test"} +{"repo": "fritzmg/contao-short-urls", "path": "system/modules/short_urls/dca/tl_short_urls.php", "func_name": "tl_short_urls.pagePicker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the page picker link\n\n@param DataContainer $dc\n\n@return string", "docstring_tokens": ["Generate", "the", "page", "picker", "link"], "sha": "4969eeb899e40db22f7cc64c81573672bca96c35", "url": "https://github.com/fritzmg/contao-short-urls/blob/4969eeb899e40db22f7cc64c81573672bca96c35/system/modules/short_urls/dca/tl_short_urls.php#L281-L284", "partition": "test"} +{"repo": "fritzmg/contao-short-urls", "path": "system/modules/short_urls/dca/tl_short_urls.php", "func_name": "tl_short_urls.labelCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display list info in the backend\n\n@param array $arrRow\n\n@return string", "docstring_tokens": ["Display", "list", "info", "in", "the", "backend"], "sha": "4969eeb899e40db22f7cc64c81573672bca96c35", "url": "https://github.com/fritzmg/contao-short-urls/blob/4969eeb899e40db22f7cc64c81573672bca96c35/system/modules/short_urls/dca/tl_short_urls.php#L360-L375", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Actions and Filters\n\n@return void Nothing.", "docstring_tokens": ["Register", "Actions", "and", "Filters"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L33-L77", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.plugin_action_links", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Plugin Action Links\n\nAdd a few links to the plugins page so people can more easily\nfind what they're looking for.\n\n@param array $links Links.\n@return array Links.", "docstring_tokens": ["Plugin", "Action", "Links"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L102-L110", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.get_version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Plugin Version\n\n@return string Version.", "docstring_tokens": ["Get", "Plugin", "Version"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L163-L175", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.get_remote_version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Remote Version\n\n@return string Version.", "docstring_tokens": ["Get", "Remote", "Version"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L182-L202", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.check_filetype_and_ext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override Upload File Validation\n\nThis hooks into wp_check_filetype_and_ext() to improve its\ndeterminations.\n\n@see wp_check_filetype_and_ext()\n\n@param array $checked Previous check status.\n@param string $file File path.\n@param string $filename File name.\n@param array $mimes Mimes.\n@return array Checked status.", "docstring_tokens": ["Override", "Upload", "File", "Validation"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L287-L310", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.check_filetype_and_ext_svg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize SVG Uploads\n\nThis is triggered after our general content-based fixer, so if\nsomething is claiming to be an SVG here, it should actually be\none.\n\n@see wp_check_filetype_and_ext()\n\n@param array $checked Previous check status.\n@param string $file File path.\n@param string $filename File name.\n@param array $mimes Mimes.\n@return array Checked status.", "docstring_tokens": ["Sanitize", "SVG", "Uploads"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L327-L356", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.parse_readme_contributors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse Readme Contributors\n\n@param string $file File.\n@return array|bool Contributors or false.", "docstring_tokens": ["Parse", "Readme", "Contributors"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L433-L464", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.get_plugin_slug_by_path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract Plugin Slug From Path\n\n@param string $path Path.\n@return string|bool Slug or false.", "docstring_tokens": ["Extract", "Plugin", "Slug", "From", "Path"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L634-L646", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/admin.php", "func_name": "admin.cron_get_remote_contributors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pull Plugin Contributors\n\nThis is a simple CRON job that will pull contributor information\nfor any installed plugins so we have that data for later\nreference.\n\n@return void Nothing.", "docstring_tokens": ["Pull", "Plugin", "Contributors"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/admin.php#L657-L720", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Traits/FileTrait.php", "func_name": "FileTrait.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the file passed to see if it is a file and is readable\n\n@throws \\RuntimeException If the file passed is not a file\n@throws \\RuntimeException If the file passed is not readable", "docstring_tokens": ["Validates", "the", "file", "passed", "to", "see", "if", "it", "is", "a", "file", "and", "is", "readable"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Traits/FileTrait.php#L48-L61", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Traits/FileTrait.php", "func_name": "FileTrait.getSupportedLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the supported loader for the passed file\n\n@see \\M1\\Vars\\Vars::getLoaders() \\M1\\Vars\\Vars::getLoaders()\n\n@param string $data The passed file\n\n@return mixed Returns the loader class or false if no loader calls was found", "docstring_tokens": ["Gets", "the", "supported", "loader", "for", "the", "passed", "file"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Traits/FileTrait.php#L72-L85", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Traits/FileTrait.php", "func_name": "FileTrait.loadContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads raw content from the file\n\n@param string $data The passed file\n\n@throws \\InvalidArugmentException If the file passed is not supported by the current loaders\n\n@return mixed The content from the file via the loader", "docstring_tokens": ["Loads", "raw", "content", "from", "the", "file"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Traits/FileTrait.php#L96-L106", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Provider/Silex/VarsServiceProvider.php", "func_name": "VarsServiceProvider.createOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the defined options into a way that Vars can use\n\n@param \\Silex\\Application $app The silex app\n\n@return array The created options", "docstring_tokens": ["Creates", "the", "defined", "options", "into", "a", "way", "that", "Vars", "can", "use"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Provider/Silex/VarsServiceProvider.php#L98-L119", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.get_allowed_tags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return whitelisted tags\n\nBased on SVG spec, minus anything scripty.\n\n@see { https://developer.mozilla.org/en-US/docs/Web/SVG/Element }\n\n@return array Array of valid tags.", "docstring_tokens": ["Return", "whitelisted", "tags"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L46-L158", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.get_allowed_protocols", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return whitelisted protocols\n\n@see { http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml }\n\n@return array Array of valid protocols.", "docstring_tokens": ["Return", "whitelisted", "protocols"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L476-L499", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.get_allowed_domains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return whitelisted domains\n\n@return array Domains.", "docstring_tokens": ["Return", "whitelisted", "domains"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L507-L532", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.sanitize_domain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize a domain-like string for more\nlevel comparison.\n\n@param string $domain Domain.\n@return string|bool Domain. False on failure.", "docstring_tokens": ["Sanitize", "a", "domain", "-", "like", "string", "for", "more", "level", "comparison", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L542-L583", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.sanitize_attribute_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize attribute value\n\n@param string $str Attribute value.\n@return string Attribute value.", "docstring_tokens": ["Sanitize", "attribute", "value"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L592-L608", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.sanitize_iri_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize IRI value\n\n@param string $str IRI value.\n@return string IRI value.", "docstring_tokens": ["Sanitize", "IRI", "value"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L617-L645", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.callback_sanitize_css_iri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback handler for sanitizing CSS URLs\n\n@param array $match Match.\n@return string Sanitized URL.", "docstring_tokens": ["Callback", "handler", "for", "sanitizing", "CSS", "URLs"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L654-L668", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.load_svg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read an SVG file as contents or path.\n\n@param string $svg SVG code or path.\n@return string|bool SVG code. False on failure.", "docstring_tokens": ["Read", "an", "SVG", "file", "as", "contents", "or", "path", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L677-L718", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_base.php", "func_name": "svg_base.strip_comments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove comments and interpreter tags from an SVG file\n\n@param string $svg SVG code or path.\n@return string|bool SVG code. False on failure.", "docstring_tokens": ["Remove", "comments", "and", "interpreter", "tags", "from", "an", "SVG", "file"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_base.php#L726-L754", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Traits/ResourceFlagsTrait.php", "func_name": "ResourceFlagsTrait.replicateFlags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Duplicates the flags from one string to another\n\n@param string $resource The resource to add the flags to\n@param string $resource The resource to duplicate the flags from\n\n@return string The parsed string resource", "docstring_tokens": ["Duplicates", "the", "flags", "from", "one", "string", "to", "another"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Traits/ResourceFlagsTrait.php#L86-L94", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Loader/LoaderProvider.php", "func_name": "LoaderProvider.makeLoaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get loaders and make extensions for the loaders\n\n@param array|null $options The options being used for Vars\n@param array $default_loaders The default loaders for Vars", "docstring_tokens": ["Get", "loaders", "and", "make", "extensions", "for", "the", "loaders"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Loader/LoaderProvider.php#L59-L76", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Loader/LoaderProvider.php", "func_name": "LoaderProvider.preParseLoaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pre parse the loaders for use in make loaders\n\n@param array|null $options The options being used for Vars\n@param array $default_loaders The default loaders for Vars\n\n@return array The pre parsed loaders", "docstring_tokens": ["Pre", "parse", "the", "loaders", "for", "use", "in", "make", "loaders"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Loader/LoaderProvider.php#L86-L99", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Loader/LoaderProvider.php", "func_name": "LoaderProvider.makeNameSpaceLoaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes namespace loaders from loader strings\n\n@param array $loaders The options being used for Vars\n@param array $default_loaders The default loaders for Vars\n\n@throws \\InvalidArgumentException If a loader from options isn't found\n\n@return array The namespace loaders", "docstring_tokens": ["Makes", "namespace", "loaders", "from", "loader", "strings"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Loader/LoaderProvider.php#L111-L128", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.parseOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the options so Vars can use them\n\n@param array $options The options being used for Vars\n\n@return array The parsed options", "docstring_tokens": ["Parses", "the", "options", "so", "Vars", "can", "use", "them"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L137-L144", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.makeCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes the CacheProvider with the options\n\n@param array $options The options being used for Vars\n@param array|string $resource The main configuration resource", "docstring_tokens": ["Makes", "the", "CacheProvider", "with", "the", "options"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L152-L156", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.makePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the base path if the options have been set and the cache path if the cache path has not been set but the\nbase path has\n\n@param array $options The options being used for Vars", "docstring_tokens": ["Sets", "the", "base", "path", "if", "the", "options", "have", "been", "set", "and", "the", "cache", "path", "if", "the", "cache", "path", "has", "not", "been", "set", "but", "the", "base", "path", "has"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L164-L172", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.makeLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes the LoaderProvider with the options\n\n@param array $options The options being used for Vars", "docstring_tokens": ["Makes", "the", "LoaderProvider", "with", "the", "options"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L179-L183", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.makeVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the replacement variables if the option has been set\n\n@param array|null $options The options being used for Vars", "docstring_tokens": ["Sets", "the", "replacement", "variables", "if", "the", "option", "has", "been", "set"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L190-L197", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.loadFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the cached file into the current class", "docstring_tokens": ["Loads", "the", "cached", "file", "into", "the", "current", "class"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L202-L225", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.mergeGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the _globals from the file and merges them if merge_globals is true\n\n@param array $content The unparsed content\n@param array $options The options being used for Vars\n\n@return array $content The parsed content", "docstring_tokens": ["Gets", "the", "_globals", "from", "the", "file", "and", "merges", "them", "if", "merge_globals", "is", "true"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L260-L273", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Vars.php", "func_name": "Vars.getResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches the resource stack for a certain resource\n\n@param string $resource The resource to search for\n\n@return \\M1\\Vars\\Resource\\FileResource|bool Returns the resource if found", "docstring_tokens": ["Searches", "the", "resource", "stack", "for", "a", "certain", "resource"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Vars.php#L330-L339", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableStore.php", "func_name": "VariableStore.createPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a relative prefix for the store\n\n@param bool $relative Is the prefix relative", "docstring_tokens": ["Creates", "a", "relative", "prefix", "for", "the", "store"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableStore.php#L49-L57", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/ResourceProvider.php", "func_name": "ResourceProvider.createResources", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the FileResource|ResourceProvider from the resource\n\n@param array $resources The array of resources\n@param string $type The type of the resource", "docstring_tokens": ["Creates", "the", "FileResource|ResourceProvider", "from", "the", "resource"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/ResourceProvider.php#L113-L136", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/ResourceProvider.php", "func_name": "ResourceProvider.addContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds content to the parent contents\n\n@param array $content The content from the resource", "docstring_tokens": ["Adds", "content", "to", "the", "parent", "contents"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/ResourceProvider.php#L198-L205", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/ResourceProvider.php", "func_name": "ResourceProvider.getSupportedFilesInDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the supported files using the extensions from the loaders in the entity which is a directory\n\n@see \\M1\\Vars\\Loader\\LoaderProvider::getExtensions() \\M1\\Vars\\Loader\\LoaderProvider::getExtensions()\n@see \\M1\\Vars\\Loader\\LoaderProvider::makeLoaders() \\M1\\Vars\\Loader\\LoaderProvider::makeLoaders()\n\n@param string $entity The resource entity\n\n@return array|bool Returns the supported files or false if no files were found", "docstring_tokens": ["Returns", "the", "supported", "files", "using", "the", "extensions", "from", "the", "loaders", "in", "the", "entity", "which", "is", "a", "directory"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/ResourceProvider.php#L217-L224", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/ResourceProvider.php", "func_name": "ResourceProvider.mergeParentContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merges the content and the parent content together\n\n@return \\M1\\Vars\\Resource\\ResourceProvider", "docstring_tokens": ["Merges", "the", "content", "and", "the", "parent", "content", "together"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/ResourceProvider.php#L252-L257", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.internalGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The internal get function for getting values by their key\n\n@param array $array The array to use -- will always be $this->content\n@param mixed $key The key to find the value for\n@param bool $exists Whether to return null or false dependant on the calling function\n\n@return array|bool|null The resource key value", "docstring_tokens": ["The", "internal", "get", "function", "for", "getting", "values", "by", "their", "key"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/AbstractResource.php#L91-L108", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.arrayKeyExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Port of array_key_exists to \\ArrayAccess\n\n@param mixed $key The key to check if exists\n\n@return bool Does the key exist", "docstring_tokens": ["Port", "of", "array_key_exists", "to", "\\", "ArrayAccess"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/AbstractResource.php#L214-L231", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the string for the types of variables\n\n@param string $value The string to parse\n\n@return string The parsed variable", "docstring_tokens": ["Parses", "the", "string", "for", "the", "types", "of", "variables"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L89-L96", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.typeParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the string based on the type of variable\n\n@param string $value The string to parse\n@param string $type The variable type\n\n@return string The parsed variable", "docstring_tokens": ["Parses", "the", "string", "based", "on", "the", "type", "of", "variable"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L106-L121", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.fetchVariableMatches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the variable matches in the string\n\n@param string $value The string to fetch matches for\n@param string $regex The variable type regex\n\n@return array The matches", "docstring_tokens": ["Fetches", "the", "variable", "matches", "in", "the", "string"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L131-L140", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.fetchVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the variable from the stores\n\n@param string $variable_name The variable to fetch\n@param string $type The variable type\n\n@return string The fetches value for the variable", "docstring_tokens": ["Fetches", "the", "variable", "from", "the", "stores"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L150-L161", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.checkVariableExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the variable exists\n\n@param string $variable The variable to check\n@param string $type The variable type\n\n@throws \\InvalidArgumentException If the variable does not exist\n\n@return bool Does the variable exist", "docstring_tokens": ["Checks", "to", "see", "if", "the", "variable", "exists"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L173-L185", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/VariableProvider.php", "func_name": "VariableProvider.doReplacements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the replacements in the string for the variable\n\n@param string $value The string to parse\n@param array $matches The matches\n@param string $type The variable type\n\n@return string The parsed variable", "docstring_tokens": ["Does", "the", "replacements", "in", "the", "string", "for", "the", "variable"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/VariableProvider.php#L196-L209", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_dom.php", "func_name": "svg_dom.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export from a DOMDocument object.\n\n@param DOMDocument $dom XML object.\n@return string|bool Sanitized SVG code. False on failure.", "docstring_tokens": ["Export", "from", "a", "DOMDocument", "object", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_dom.php#L241-L265", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_dom.php", "func_name": "svg_dom.remove_nodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove nodes from a DOMNodeList\n\n@param DOMNodeList $nodes Nodes.\n@return bool True/False.", "docstring_tokens": ["Remove", "nodes", "from", "a", "DOMNodeList"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_dom.php#L338-L356", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/svg/svg_dom.php", "func_name": "svg_dom.remove_node", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove node from a DOMDocument\n\n@param DOMElement $node Node.\n@return bool True/False.", "docstring_tokens": ["Remove", "node", "from", "a", "DOMDocument"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/svg/svg_dom.php#L364-L385", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Traits/PathTrait.php", "func_name": "PathTrait.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Vars base path\n\n@param string $path The path to set\n@param boolean $check_writeable Check whether dir is writeable\n\n@throws \\InvalidArgumentException If the path does not exist or is not writable\n\n@return \\M1\\Vars\\Vars", "docstring_tokens": ["Set", "the", "Vars", "base", "path"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Traits/PathTrait.php#L55-L70", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.makePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make the paths used for the filename variable\n\n@param string $file The passed file", "docstring_tokens": ["Make", "the", "paths", "used", "for", "the", "filename", "variable"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L100-L114", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.searchForResources", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for imports in the files and does the replacement variables\n\n@param mixed $content The file content received from the loader\n@param string $prefix The array prefix for the entity\n\n@return array Returns the parsed content", "docstring_tokens": ["Search", "for", "imports", "in", "the", "files", "and", "does", "the", "replacement", "variables"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L124-L134", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.parseContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the contents inside the content array\n\n@param mixed $key The key of the content array\n@param mixed $value The value of the key\n@param array $returned_content The modified content array to return\n@param string $prefix The array prefix for the entity\n\n@return array Returns the modified content array", "docstring_tokens": ["Parses", "the", "contents", "inside", "the", "content", "array"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L146-L166", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.useImports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use the import arrays to import resources\n\n@param mixed $imports The resources wanting to be imported\n\n@return array The parsed imported resources", "docstring_tokens": ["Use", "the", "import", "arrays", "to", "import", "resources"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L191-L204", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.import2Resource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the resource from the import then imports it\n\n@param array|string $import The string|array to be converted to a resource\n@param array $imported_resources The array of imported resources\n\n@return array The imported resources", "docstring_tokens": ["Creates", "the", "resource", "from", "the", "import", "then", "imports", "it"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L241-L250", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.createResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates resource from the import\n\n@param array|string $import The import to create a resource from\n\n@return \\M1\\Vars\\Resource\\ResourceProvider The resource of the import", "docstring_tokens": ["Creates", "resource", "from", "the", "import"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L259-L277", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.createImportName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the correctly formatted resource name with paths\n\n@param string $resource The resource to create the import name for\n\n@return string The parsed resource", "docstring_tokens": ["Creates", "the", "correctly", "formatted", "resource", "name", "with", "paths"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L286-L300", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.importResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import resource into the imported resources and merge contents\n\n@param ResourceProvider $provider The new imported resource\n@param array $imported_resources The imported resources\n\n@return array The modified imported resources", "docstring_tokens": ["Import", "resource", "into", "the", "imported", "resources", "and", "merge", "contents"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L310-L324", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.checkBooleanValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the passed boolean value is true or false\n\n@param string $value The value to check\n@param mixed $import The passed import\n\n@return bool Returns the value of the boolean", "docstring_tokens": ["Checks", "if", "the", "passed", "boolean", "value", "is", "true", "or", "false"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L346-L357", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Resource/FileResource.php", "func_name": "FileResource.getBooleanValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the boolean value from the string\n\n@param string $value The value to check\n\n@return bool Returns the value of the boolean", "docstring_tokens": ["Gets", "the", "boolean", "value", "from", "the", "string"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Resource/FileResource.php#L366-L375", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/mime.php", "func_name": "mime.get_aliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return MIME aliases for a particular file extension.\n\n@see {https://www.iana.org/assignments/media-types}\n@see {https://raw.githubusercontent.com/apache/httpd/trunk/docs/conf/mime.types}\n@see {http://hg.nginx.org/nginx/raw-file/default/conf/mime.types}\n@see {https://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in}\n@see {https://raw.githubusercontent.com/apache/tika/master/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml}\n@see {https://github.com/Blobfolio/blob-mimes}\n\n@param string $ext File extension.\n@return array|bool MIME types or false.", "docstring_tokens": ["Return", "MIME", "aliases", "for", "a", "particular", "file", "extension", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/mime.php#L27-L38", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/mime.php", "func_name": "mime.update_filename_extension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign a new extension to a filename.\n\n@param string $filename The original filename.\n@param string $ext The new extension.\n@return string The renamed file.", "docstring_tokens": ["Assign", "a", "new", "extension", "to", "a", "filename", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/mime.php#L47-L65", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/mime.php", "func_name": "mime.check_alias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check extension and MIME pairing.\n\n@see { https://github.com/php/php-src/blob/3ef069d26c7863b059325b9a0d26cac31c97fe4b/ext/fileinfo/libmagic/readcdf.c }\n\n@param string $ext File extension.\n@param string $mime MIME type.\n@return bool True/false.", "docstring_tokens": ["Check", "extension", "and", "MIME", "pairing", "."], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/mime.php#L76-L134", "partition": "test"} +{"repo": "Blobfolio/blob-mimes", "path": "wp/lib/blobfolio/wp/bm/mime.php", "func_name": "mime.check_allowed_aliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check Allowed Aliases\n\nThis will cycle through each allowed ext/MIME pair to see if an\nalias matches anything.\n\n@param string $alias MIME alias.\n@param array $mimes Allowed MIME types.\n@return array|bool Array containing ext and type keys or false.", "docstring_tokens": ["Check", "Allowed", "Aliases"], "sha": "a1356f70de0f5079f4f6c2b7a18765abdbdeff6c", "url": "https://github.com/Blobfolio/blob-mimes/blob/a1356f70de0f5079f4f6c2b7a18765abdbdeff6c/wp/lib/blobfolio/wp/bm/mime.php#L146-L184", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Variables/ReplacementStore.php", "func_name": "ReplacementStore.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the replacement variable content from a file or array\n\n@param array $replacements The replacements\n\n@throws \\RuntimeException If variable data is not array or a file\n\n@return array The replacement variables", "docstring_tokens": ["Creates", "the", "replacement", "variable", "content", "from", "a", "file", "or", "array"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Variables/ReplacementStore.php#L55-L66", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Loader/DirectoryLoader.php", "func_name": "DirectoryLoader.getSupportedFilesRecursively", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the supported files in the directory recursively\n\n@return \\RegexIterator The supported files in the directories", "docstring_tokens": ["Returns", "the", "supported", "files", "in", "the", "directory", "recursively"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Loader/DirectoryLoader.php#L63-L74", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Loader/DirectoryLoader.php", "func_name": "DirectoryLoader.makeResources", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes usable resource paths from path strings\n\n@param array $paths The path strings\n\n@return array|bool The usable resources if any, else false", "docstring_tokens": ["Makes", "usable", "resource", "paths", "from", "path", "strings"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Loader/DirectoryLoader.php#L110-L123", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Cache/CacheProvider.php", "func_name": "CacheProvider.checkCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the cache to see if there is a valid cache available\n\n@return bool Returns true if has the cached resource", "docstring_tokens": ["Checks", "the", "cache", "to", "see", "if", "there", "is", "a", "valid", "cache", "available"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Cache/CacheProvider.php#L105-L118", "partition": "test"} +{"repo": "m1/Vars", "path": "src/Cache/CacheProvider.php", "func_name": "CacheProvider.makeCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transfer the contents of the parent Vars object into a file for cache\n\n@param \\M1\\Vars\\Vars $vars Parent vars object\n\n@codeCoverageIgnore", "docstring_tokens": ["Transfer", "the", "contents", "of", "the", "parent", "Vars", "object", "into", "a", "file", "for", "cache"], "sha": "e64beb6d67ad30c0c86ec1e77022d6803ac11eda", "url": "https://github.com/m1/Vars/blob/e64beb6d67ad30c0c86ec1e77022d6803ac11eda/src/Cache/CacheProvider.php#L136-L147", "partition": "test"} +{"repo": "kachkaev/KachkaevAssetsVersionBundle", "path": "AssetsVersionManager.php", "func_name": "AssetsVersionManager.setVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new value for the assets version parameter\n\nAssets version must consist only of letters, numbers and the following characters: .-_", "docstring_tokens": ["Sets", "a", "new", "value", "for", "the", "assets", "version", "parameter"], "sha": "fdc516791185de30de9d01678243cad01cf1ace5", "url": "https://github.com/kachkaev/KachkaevAssetsVersionBundle/blob/fdc516791185de30de9d01678243cad01cf1ace5/AssetsVersionManager.php#L60-L92", "partition": "test"} +{"repo": "kachkaev/KachkaevAssetsVersionBundle", "path": "AssetsVersionManager.php", "func_name": "AssetsVersionManager.readFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads and parses file with parameters\n\n@throws InvalidConfigurationException\n@throws FileException\n@throws \\Exception", "docstring_tokens": ["Reads", "and", "parses", "file", "with", "parameters"], "sha": "fdc516791185de30de9d01678243cad01cf1ace5", "url": "https://github.com/kachkaev/KachkaevAssetsVersionBundle/blob/fdc516791185de30de9d01678243cad01cf1ace5/AssetsVersionManager.php#L140-L177", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a REST request.\n\n@param RESTRequest request A RESTRequest object\n@return RESTResponse A RESTResponse object.", "docstring_tokens": ["Send", "a", "REST", "request", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L204-L229", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set cURL options common to all requests\n\n@param resource ch The cURL handle.\n@param string url The REST URL string (example: 'documents').\n@param array headers Optional assoc array of headers.\n@return array An array of cURL options.", "docstring_tokens": ["Set", "cURL", "options", "common", "to", "all", "requests"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L239-L262", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a GET request with cURL\n\n@param RESTRequest request A REST request.\n@return RESTResponse A REST response.", "docstring_tokens": ["Perform", "a", "GET", "request", "with", "cURL"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L270-L283", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a PUT request with cURL\n\n@param RESTRequest request A REST request.\n@return RESTResponse A REST response.", "docstring_tokens": ["Perform", "a", "PUT", "request", "with", "cURL"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L291-L317", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a DELETE request with cURL\n\n@param RESTRequest request A REST request.\n@return RESTResponse A REST response.", "docstring_tokens": ["Perform", "a", "DELETE", "request", "with", "cURL"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L325-L338", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a POST request with cURL\n\n@param RESTRequest request A REST request.\n@return RESTResponse A REST response.", "docstring_tokens": ["Perform", "a", "POST", "request", "with", "cURL"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L346-L371", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a HEAD request with cURL\n\n@param RESTRequest request A REST request.\n@return RESTResponse A REST response.", "docstring_tokens": ["Perform", "a", "HEAD", "request", "with", "cURL"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L379-L393", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a cURL request.\n\n@todo Handle more response codes\n\n@param resource ch The REST URL string (example: 'documents')\n@return RESTResponse A RESTResponse object.", "docstring_tokens": ["Execute", "a", "cURL", "request", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L403-L437", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTClient.php", "func_name": "RESTClient.installExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Install a REST API XQuery extension\n\n@param $resource URL\n@param $params resource parameters (adds in provider=MLPHP if provider not set)\n@param $filename file system name of contents of the XQuery module.", "docstring_tokens": ["Install", "a", "REST", "API", "XQuery", "extension"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTClient.php#L446-L467", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RangeConstraint.php", "func_name": "RangeConstraint.addBuckets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add bucket objects.\n\n@param array|Bucket $buckets An array of bucket objects or a bucket object.", "docstring_tokens": ["Add", "bucket", "objects", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RangeConstraint.php#L69-L75", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/XMLDocument.php", "func_name": "XMLDocument.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read an XML document from the database.\n\n@param string $uri A document URI.\n@param array $params Optional additional parameters to pass when reading.\n@return string The document content.", "docstring_tokens": ["Read", "an", "XML", "document", "from", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/XMLDocument.php#L49-L54", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/XMLDocument.php", "func_name": "XMLDocument.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write an XML document to the database.\n\n@param string $uri A document URI.\n@param array $params Optional additional parameters to pass when writing.\n@return Document $this", "docstring_tokens": ["Write", "an", "XML", "document", "to", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/XMLDocument.php#L63-L72", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/XMLDocument.php", "func_name": "XMLDocument.isValidXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if XML content is valid.\n\n@return boolean true or false.", "docstring_tokens": ["Check", "if", "XML", "content", "is", "valid", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/XMLDocument.php#L79-L88", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Values.php", "func_name": "Values.setUpRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up range values.\n\n@param string $elem Name of the element.\n@param string $ns Element namespace.\n@param string $attr Attribute name.\n@param string $attrNs An attribute namespace.\n@param string $datatype Constraint datatype.", "docstring_tokens": ["Set", "up", "range", "values", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Values.php#L64-L72", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Values.php", "func_name": "Values.getValuesAsElem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the values setting as a DOMElement object.\n\n@param DOMDocument $dom The DOMDocument object in which to create the element.", "docstring_tokens": ["Get", "the", "values", "setting", "as", "a", "DOMElement", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Values.php#L115-L164", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Values.php", "func_name": "Values.addValuesOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add values options to an element.\n\n@param DOMDocument $dom A DOM document.\n@param DOMElement $elem A DOM element.\n@return DOMElement The updated element.", "docstring_tokens": ["Add", "values", "options", "to", "an", "element", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Values.php#L173-L183", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Values.php", "func_name": "Values.addAggregate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add aggregate setting to an element.\n\n@param DOMDocument $dom A DOM document.\n@param DOMElement $elem A DOM element.\n@return DOMElement The updated element.", "docstring_tokens": ["Add", "aggregate", "setting", "to", "an", "element", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Values.php#L192-L200", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Search.php", "func_name": "Search.getParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the common search parameters as an associated array.\n\n@return array An associated array of name/value pairs.", "docstring_tokens": ["Get", "the", "common", "search", "parameters", "as", "an", "associated", "array", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Search.php#L74-L90", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Search.php", "func_name": "Search.retrieve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the search results using the REST client.\n\n@param string $query The search query.\n@param array $params\n@param bool $structured defaults to false\n@return SearchResults A search results object.", "docstring_tokens": ["Retrieve", "the", "search", "results", "using", "the", "REST", "client", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Search.php#L100-L116", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Search.php", "func_name": "Search.retrieveKeyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the key-value search results for JSON content using the\nREST client.\n\n@param string $key The key (property name) in JSON content.\n@param string $value The value (property value) in JSON content.\n@return SearchResults A search results object.", "docstring_tokens": ["Retrieve", "the", "key", "-", "value", "search", "results", "for", "JSON", "content", "using", "the", "REST", "client", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Search.php#L126-L153", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Search.php", "func_name": "Search.retrieveKeyValueElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the key-value search results, where the key is an element\nname, for XML content using the REST client.\n\n@param string $element The element name.\n@param string $attribute The attribute for the element, to search for\nattribute content.\n@param string $value The value for that element (or attribute).\n@return SearchResults A search results object.", "docstring_tokens": ["Retrieve", "the", "key", "-", "value", "search", "results", "where", "the", "key", "is", "an", "element", "name", "for", "XML", "content", "using", "the", "REST", "client", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Search.php#L165-L209", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Search.php", "func_name": "Search.highlight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Highlight hits in the given content based on the given query\n\nImplemented via a MarkLogic REST API resource extension.\n\n@param string $content\n@param string $contentType\n- describes content to be highlighted\n- support for application/xml and text'plain\n@param string $query The search query.\n@param array $params\n@param bool $structured defaults to false (only false is\nsupported today)\n@return string hit-highlighted content", "docstring_tokens": ["Highlight", "hits", "in", "the", "given", "content", "based", "on", "the", "given", "query"], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Search.php#L226-L270", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a REST client based on current configuration.\n\n@return RESTClient", "docstring_tokens": ["Return", "a", "REST", "client", "based", "on", "current", "configuration", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L82-L94", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getManageClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a REST client to the management API.\n\n@return RESTClient", "docstring_tokens": ["Return", "a", "REST", "client", "to", "the", "management", "API", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L101-L113", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getAdminClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a REST client to the admin API.\n\n@return RESTClient", "docstring_tokens": ["Return", "a", "REST", "client", "to", "the", "admin", "API", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L120-L132", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getAPI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and return a REST API based on current configuration.\n\n@return RESTAPI", "docstring_tokens": ["Create", "and", "return", "a", "REST", "API", "based", "on", "current", "configuration", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L139-L149", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a Database object.\n\n@return Database", "docstring_tokens": ["Return", "a", "Database", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L169-L176", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an Options object.\n\n@return Options", "docstring_tokens": ["Return", "an", "Options", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L183-L190", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/MLPHP.php", "func_name": "MLPHP.autoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PSR-0 autoloader.\n\nDo NOT use if you are using Composer to autoload dependencies.\n\n@todo Delete this if we are requiring Composer for MLPHP.\n\n@param $className", "docstring_tokens": ["PSR", "-", "0", "autoloader", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/MLPHP.php#L227-L261", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.getAsXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the query options as XML.\n\n@return string The query options as XML.", "docstring_tokens": ["Get", "the", "query", "options", "as", "XML", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L169-L225", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.addOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If an option value is set, create a DOM element with an option name\nand value and append it to the root element of the options node.\n\n@param DOMElement $root The root element of the options node.\n@param string $name The element name (option name).\n@param string $value The node value.", "docstring_tokens": ["If", "an", "option", "value", "is", "set", "create", "a", "DOM", "element", "with", "an", "option", "name", "and", "value", "and", "append", "it", "to", "the", "root", "element", "of", "the", "options", "node", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L235-L242", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.addOptionXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If an option value is set, create a DOM element with an option name\nand XML string value and append it to the root element of the options node.\n\n@param DOMElement $root The root element of the options node.\n@param string $name The element name (option name).\n@param string $value The node value as an XML string.", "docstring_tokens": ["If", "an", "option", "value", "is", "set", "create", "a", "DOM", "element", "with", "an", "option", "name", "and", "XML", "string", "value", "and", "append", "it", "to", "the", "root", "element", "of", "the", "options", "node", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L252-L262", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the query options from the database.\n\n@param string $name The query options name.\n@return string The query options as XML.", "docstring_tokens": ["Read", "the", "query", "options", "from", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L270-L281", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the query options to the database.\n\n@param string $name The query options name.\n@return Options $this", "docstring_tokens": ["Write", "the", "query", "options", "to", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L289-L301", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the query options from the database.\n\n@param string $name The query options name.\n@return Options $this", "docstring_tokens": ["Delete", "the", "query", "options", "from", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L309-L319", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Options.php", "func_name": "Options.setSearchOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the query options.\n\n@see http://docs.marklogic.com/search:search#opt-search-option\n\n@param string|array $searchOptions The query options as a string (single option) or array of strings.\n@return Options $this", "docstring_tokens": ["Set", "the", "query", "options", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Options.php#L676-L685", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a document from the database.\n\n@see Document::getContent()\n\n@param string $uri A document URI.\n@param array $params Optional additional parameters to pass when reading.\n@return string|bool The document content or false on failure.", "docstring_tokens": ["Read", "a", "document", "from", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L56-L71", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a document to the database.\n\n@param string $uri A document URI.\n@param array $params Optional additional parameters to pass when writing.\n@return Document $this", "docstring_tokens": ["Write", "a", "document", "to", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L80-L96", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a document from the database. Note that no properties for object are changed.\n\n@param string $uri The document URI.\n@return Document $this", "docstring_tokens": ["Delete", "a", "document", "from", "the", "database", ".", "Note", "that", "no", "properties", "for", "object", "are", "changed", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L104-L115", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.readMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read document metadata from the database.\n\n@return Metadata A Metadata object.", "docstring_tokens": ["Read", "document", "metadata", "from", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L122-L135", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.writeMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write document metadata to the database.\n\n@param Metadata $metadata A Metadata object.\n@return Document $this", "docstring_tokens": ["Write", "document", "metadata", "to", "the", "database", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L143-L155", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.deleteMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete document metadata. Metadata reverts to default metadata state.\n\n@return Document $this", "docstring_tokens": ["Delete", "document", "metadata", ".", "Metadata", "reverts", "to", "default", "metadata", "state", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L162-L172", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.setContentFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the document content from the file system.\n\n@param string $file The file location.\n@return Document $this", "docstring_tokens": ["Set", "the", "document", "content", "from", "the", "file", "system", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L246-L255", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Document.php", "func_name": "Document.getFileMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the mimetype of a file.\n\n@param string $file The file.\n@return string The the mimetype of the file.", "docstring_tokens": ["Get", "the", "mimetype", "of", "a", "file", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Document.php#L295-L307", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.log_soap_call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Keep track of our soap calls for performance and debugging", "docstring_tokens": ["Keep", "track", "of", "our", "soap", "calls", "for", "performance", "and", "debugging"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L67-L79", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.decode_soap_reply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Every response will be an array of the responses, even if its just one response", "docstring_tokens": ["Every", "response", "will", "be", "an", "array", "of", "the", "responses", "even", "if", "its", "just", "one", "response"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L99-L119", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.assoc_key_values_to_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This converts an array of key=>value pairs into a flat array of one of the keys values", "docstring_tokens": ["This", "converts", "an", "array", "of", "key", "=", ">", "value", "pairs", "into", "a", "flat", "array", "of", "one", "of", "the", "keys", "values"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L123-L146", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.do_ldap_sync", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kick off LDAP Sync Process in CUCM - Name of LDAP Dirctory and true to start or false to stop.", "docstring_tokens": ["Kick", "off", "LDAP", "Sync", "Process", "in", "CUCM", "-", "Name", "of", "LDAP", "Dirctory", "and", "true", "to", "start", "or", "false", "to", "stop", "."], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L160-L175", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_phone_names", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a complete list of the names of all phones", "docstring_tokens": ["Get", "a", "complete", "list", "of", "the", "names", "of", "all", "phones"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L212-L227", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.list_all_phones_summary_by_site", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Including specific fields to return in the list function.", "docstring_tokens": ["Including", "specific", "fields", "to", "return", "in", "the", "list", "function", "."], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L231-L255", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.phone_search_by_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search Phone by Name", "docstring_tokens": ["Search", "Phone", "by", "Name"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L258-L282", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.phone_search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search Phone by Key", "docstring_tokens": ["Search", "Phone", "by", "Key"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L285-L318", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_phone_by_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the information regarding one specific phone by name", "docstring_tokens": ["Get", "all", "the", "information", "regarding", "one", "specific", "phone", "by", "name"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L322-L342", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_directory_numbers_by_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of directory numbers by phone name", "docstring_tokens": ["Get", "an", "array", "of", "directory", "numbers", "by", "phone", "name"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L346-L364", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_device_pool_names", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of every device pool name", "docstring_tokens": ["Get", "an", "array", "of", "every", "device", "pool", "name"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L368-L383", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_site_names", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of site names", "docstring_tokens": ["Get", "an", "array", "of", "site", "names"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L463-L480", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_lines_by_site", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function will need to get every phone in a device pool and then build a list of every LINE that is returned.", "docstring_tokens": ["This", "function", "will", "need", "to", "get", "every", "phone", "in", "a", "device", "pool", "and", "then", "build", "a", "list", "of", "every", "LINE", "that", "is", "returned", "."], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L605-L630", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_lines_details_by_phone_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Phone Line Details of the phone by Name", "docstring_tokens": ["Get", "Phone", "Line", "Details", "of", "the", "phone", "by", "Name"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L633-L665", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_all_object_types_by_site", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This returns an associative array for each of the above types", "docstring_tokens": ["This", "returns", "an", "associative", "array", "for", "each", "of", "the", "above", "types"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L669-L701", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.get_object_type_by_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "GET DETAILED STUFF", "docstring_tokens": ["GET", "DETAILED", "STUFF"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L737-L760", "partition": "test"} +{"repo": "iahunter/PHP5-CallManager-AXL", "path": "src/CallmanagerAXL/Callmanager.php", "func_name": "Callmanager.delete_object_type_by_uuid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Only way I want to support removing items is by UUID, this is for safety because object names may not be unique", "docstring_tokens": ["Only", "way", "I", "want", "to", "support", "removing", "items", "is", "by", "UUID", "this", "is", "for", "safety", "because", "object", "names", "may", "not", "be", "unique"], "sha": "fa42409aabf40f5be67fa4dcf51273af267599a7", "url": "https://github.com/iahunter/PHP5-CallManager-AXL/blob/fa42409aabf40f5be67fa4dcf51273af267599a7/src/CallmanagerAXL/Callmanager.php#L815-L832", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Permission.php", "func_name": "Permission.addCapabilities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add capabilities.\n\n@param array|string $capabilities An array of capability strings or a single capability string.", "docstring_tokens": ["Add", "capabilities", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Permission.php#L77-L84", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "examples/photomap/IPhoneImageDocument.php", "func_name": "IPhoneImageDocument.getLatitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the latitude metadata.\n\n@return float The latitude as a single numeric value.", "docstring_tokens": ["Get", "the", "latitude", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/examples/photomap/IPhoneImageDocument.php#L42-L49", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "examples/photomap/IPhoneImageDocument.php", "func_name": "IPhoneImageDocument.getLongitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the longitude metadata.\n\n@return float The longitude as a single numeric value.", "docstring_tokens": ["Get", "the", "longitude", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/examples/photomap/IPhoneImageDocument.php#L56-L63", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTResponse.php", "func_name": "RESTResponse.getBodyType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the format type of the body.\n\n@return string The type:\n'json', 'xml', or 'other' (for non-JSON, non-XML text)", "docstring_tokens": ["Get", "the", "format", "type", "of", "the", "body", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTResponse.php#L119-L130", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTResponse.php", "func_name": "RESTResponse.getErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error message from REST response body.\n\n@see http://docs.marklogic.com/guide/rest-dev/service#id_61169\n@todo error message formats seem unpredictable from server\n\n@return array The message.", "docstring_tokens": ["Get", "error", "message", "from", "REST", "response", "body", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTResponse.php#L140-L167", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTRequest.php", "func_name": "RESTRequest.getUrlStr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the resource and params as a URL string.\n\n@return string The request body.", "docstring_tokens": ["Get", "the", "resource", "and", "params", "as", "a", "URL", "string", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTRequest.php#L208-L217", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTAPI.php", "func_name": "RESTAPI.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a REST API via a post to the MarkLogic rest-apis endpoint.\nIt will not create an API if there already exists one with the\nsame name.\n\n@param RESTClient client Optional custom REST client object.", "docstring_tokens": ["Create", "a", "REST", "API", "via", "a", "post", "to", "the", "MarkLogic", "rest", "-", "apis", "endpoint", ".", "It", "will", "not", "create", "an", "API", "if", "there", "already", "exists", "one", "with", "the", "same", "name", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTAPI.php#L98-L128", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTAPI.php", "func_name": "RESTAPI.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a REST API.\n\n@param boolean module Optional custom REST client object.", "docstring_tokens": ["Delete", "a", "REST", "API", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTAPI.php#L177-L193", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTAPI.php", "func_name": "RESTAPI.waitUntilSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sleep until a request is successful.\n\n@param RESTRequest $request The request to send.\n@param int $time Time in secs to wait between requests.\n@param int $limit Cycles to complete before timing out.", "docstring_tokens": ["Sleep", "until", "a", "request", "is", "successful", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTAPI.php#L202-L216", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/RESTAPI.php", "func_name": "RESTAPI.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a REST API with the same name exists on the server.\n\n@param string name Name of the REST API to check.\n@return boolean true|false", "docstring_tokens": ["Check", "if", "a", "REST", "API", "with", "the", "same", "name", "exists", "on", "the", "server", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/RESTAPI.php#L223-L237", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Term.php", "func_name": "Term.getAsElem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the term as a DOMElement object.\n\n@param DOMDocument $dom The DOMDocument object with which to create the element.", "docstring_tokens": ["Get", "the", "term", "as", "a", "DOMElement", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Term.php#L78-L111", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/AbstractConstraint.php", "func_name": "AbstractConstraint.addTermOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add term options to an element.\n\n@param DOMDocument $dom A DOM document.\n@param DOMElement $elem A DOM element.\n@return DOMElement The updated element.", "docstring_tokens": ["Add", "term", "options", "to", "an", "element", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/AbstractConstraint.php#L78-L88", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/AbstractConstraint.php", "func_name": "AbstractConstraint.addFacetOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add facet options to an element.\n\n@param DOMDocument $dom A DOM document.\n@param DOMElement $elem A DOM element.\n@return DOMElement The updated element.", "docstring_tokens": ["Add", "facet", "options", "to", "an", "element", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/AbstractConstraint.php#L97-L107", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/AbstractConstraint.php", "func_name": "AbstractConstraint.addFragmentScope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a fragment-scope setting to an element.\n\n@param DOMDocument $dom A DOM document.\n@param DOMElement $elem A DOM element.\n@return DOMElement The updated element.", "docstring_tokens": ["Add", "a", "fragment", "-", "scope", "setting", "to", "an", "element", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/AbstractConstraint.php#L116-L124", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/ImageDocument.php", "func_name": "ImageDocument.setContentFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the image content from the file system and also set the EXIF data.\n\n@param string $file The file location.", "docstring_tokens": ["Set", "the", "image", "content", "from", "the", "file", "system", "and", "also", "set", "the", "EXIF", "data", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/ImageDocument.php#L46-L56", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/SearchResults.php", "func_name": "SearchResults.getResultByURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a search result corresponding to a URI.\n\n@param string $uri A document URI.\n@return SearchResult A search result object or null if none found.", "docstring_tokens": ["Get", "a", "search", "result", "corresponding", "to", "a", "URI", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/SearchResults.php#L96-L105", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/SearchResults.php", "func_name": "SearchResults.getResultByIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a search result corresponding to an index.\n\n@param int $index A search result index.\n@return SearchResult A search result object or null if none found.", "docstring_tokens": ["Get", "a", "search", "result", "corresponding", "to", "an", "index", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/SearchResults.php#L113-L122", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/SearchResults.php", "func_name": "SearchResults.getFacet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a facet by its name.\n\n@return array Array of Facet objects.", "docstring_tokens": ["Get", "a", "facet", "by", "its", "name", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/SearchResults.php#L229-L238", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Extracts.php", "func_name": "Extracts.addConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add constraint metadata.\n\n@param array|string $constraints An array of constraint names or a constraint name.", "docstring_tokens": ["Add", "constraint", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Extracts.php#L49-L55", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Extracts.php", "func_name": "Extracts.getExtractsAsElem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the metadata extracts as a DOMElement object.\n\n@param DOMDocument $dom The DOMDocument object in which to create the element.", "docstring_tokens": ["Get", "the", "metadata", "extracts", "as", "a", "DOMElement", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Extracts.php#L77-L97", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/TransformResults.php", "func_name": "TransformResults.addPreferredElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one or more preferred elements for snippetting.\n\n@param array|string $elements An array of preferred-element objects or a single preferred-element object.", "docstring_tokens": ["Add", "one", "or", "more", "preferred", "elements", "for", "snippetting", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/TransformResults.php#L48-L55", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/TransformResults.php", "func_name": "TransformResults.getTransformResultsAsElem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the results transformation settings as a DOMElement object.\n\n@param DOMDocument $dom The DOMDocument object in which to create the element.", "docstring_tokens": ["Get", "the", "results", "transformation", "settings", "as", "a", "DOMElement", "object", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/TransformResults.php#L82-L96", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.addCollections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add collections metadata.\n\n@param array|string $collections An array of collection strings or a collection string.\n@return Metadata $this", "docstring_tokens": ["Add", "collections", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L58-L66", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.deleteCollections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete collections metadata.\n\n@param array|string $collections An array of collection strings or a collection string.\n@return Metadata $this", "docstring_tokens": ["Delete", "collections", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L74-L90", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.addPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add permissions metadata.\n\n@param array|Permission $permissions An array of Permission objects or a Permission object.\n@return Metadata $this", "docstring_tokens": ["Add", "permissions", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L108-L118", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.deletePermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete permissions metadata.\n\n@param array|string $roleNames An array of role names or a role name string.\n@return Metadata $this", "docstring_tokens": ["Delete", "permissions", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L126-L136", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.deleteProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete property metadata.\n\n@param array|string $properties An array of property keys or a property key.\n@return Metadata $this", "docstring_tokens": ["Delete", "property", "metadata", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L166-L176", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.getAsXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the metadata object as XML.\n\n@return string The metadata as XML.", "docstring_tokens": ["Get", "the", "metadata", "object", "as", "XML", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L205-L250", "partition": "test"} +{"repo": "marklogic-community/mlphp", "path": "api/MarkLogic/MLPHP/Metadata.php", "func_name": "Metadata.loadFromXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the metadata object from XML.\n\n@param string $xml The metadata as XML.\n@return Metadata $this", "docstring_tokens": ["Load", "the", "metadata", "object", "from", "XML", "."], "sha": "c3aa3de82525cc5c3404e348e4d5069c0eee3277", "url": "https://github.com/marklogic-community/mlphp/blob/c3aa3de82525cc5c3404e348e4d5069c0eee3277/api/MarkLogic/MLPHP/Metadata.php#L259-L304", "partition": "test"} +{"repo": "jeremeamia/xstatic", "path": "src/ProxyManager.php", "func_name": "ProxyManager.enable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enables the Static Proxies by injecting the Container object and registering the Alias Loader for autoloading\n\n@param bool|string $rootNamespace The namespace that the alias should be created in\n\n@return bool\n@see \\XStatic\\AliasLoaderInterface::register()", "docstring_tokens": ["Enables", "the", "Static", "Proxies", "by", "injecting", "the", "Container", "object", "and", "registering", "the", "Alias", "Loader", "for", "autoloading"], "sha": "8e5eee1aa0aeb2e35c60697eb89cff63b638cc07", "url": "https://github.com/jeremeamia/xstatic/blob/8e5eee1aa0aeb2e35c60697eb89cff63b638cc07/src/ProxyManager.php#L44-L57", "partition": "test"} +{"repo": "jeremeamia/xstatic", "path": "src/ProxyManager.php", "func_name": "ProxyManager.setContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Container object that provides the actual subjects' instances\n\n@param ContainerInterface $container Instance of a Container (or Service Locator)\n\n@return $this", "docstring_tokens": ["Sets", "the", "Container", "object", "that", "provides", "the", "actual", "subjects", "instances"], "sha": "8e5eee1aa0aeb2e35c60697eb89cff63b638cc07", "url": "https://github.com/jeremeamia/xstatic/blob/8e5eee1aa0aeb2e35c60697eb89cff63b638cc07/src/ProxyManager.php#L81-L87", "partition": "test"} +{"repo": "dereuromark/cakephp-test-helper", "path": "src/Shell/FixtureCheckShell.php", "func_name": "FixtureCheckShell._compareConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare the constraints present.\n\n@param array $fixtureConstraints\n@param array $liveConstraints\n@param string $fixtureTable\n\n@return void", "docstring_tokens": ["Compare", "the", "constraints", "present", "."], "sha": "6846ec80cfc7ff5424ddde70a666b8b6a3d955c5", "url": "https://github.com/dereuromark/cakephp-test-helper/blob/6846ec80cfc7ff5424ddde70a666b8b6a3d955c5/src/Shell/FixtureCheckShell.php#L257-L298", "partition": "test"} +{"repo": "dereuromark/cakephp-test-helper", "path": "src/Shell/FixtureCheckShell.php", "func_name": "FixtureCheckShell._compareIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare the indexes present.\n\n@param array $fixtureIndexes\n@param array $liveIndexes\n@param string $fixtureTable\n\n@return void", "docstring_tokens": ["Compare", "the", "indexes", "present", "."], "sha": "6846ec80cfc7ff5424ddde70a666b8b6a3d955c5", "url": "https://github.com/dereuromark/cakephp-test-helper/blob/6846ec80cfc7ff5424ddde70a666b8b6a3d955c5/src/Shell/FixtureCheckShell.php#L309-L347", "partition": "test"} +{"repo": "dereuromark/cakephp-test-helper", "path": "src/Shell/FixtureCheckShell.php", "func_name": "FixtureCheckShell._doCompareFieldPresence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare if the fields are present in the fixtures.\n\n@param array $one Array one\n@param array $two Array two\n@param string $fixtureClass Fixture class name.\n@param string $message Message to display.\n@param string $fixtureTable\n\n@return void", "docstring_tokens": ["Compare", "if", "the", "fields", "are", "present", "in", "the", "fixtures", "."], "sha": "6846ec80cfc7ff5424ddde70a666b8b6a3d955c5", "url": "https://github.com/dereuromark/cakephp-test-helper/blob/6846ec80cfc7ff5424ddde70a666b8b6a3d955c5/src/Shell/FixtureCheckShell.php#L374-L384", "partition": "test"} +{"repo": "dereuromark/cakephp-test-helper", "path": "src/Shell/FixtureCheckShell.php", "func_name": "FixtureCheckShell._getFixtureFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of fixture files.\n\n@return array Array of fixture files", "docstring_tokens": ["Gets", "a", "list", "of", "fixture", "files", "."], "sha": "6846ec80cfc7ff5424ddde70a666b8b6a3d955c5", "url": "https://github.com/dereuromark/cakephp-test-helper/blob/6846ec80cfc7ff5424ddde70a666b8b6a3d955c5/src/Shell/FixtureCheckShell.php#L407-L427", "partition": "test"} +{"repo": "dereuromark/cakephp-test-helper", "path": "src/Shell/FixtureCheckShell.php", "func_name": "FixtureCheckShell._compareFieldPresence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare the fields present.\n\n@param array $fixtureFields The fixtures fields array.\n@param array $liveFields The live DB fields\n@param string $fixtureClass Fixture class name.\n@param string $fixtureTable\n\n@return void", "docstring_tokens": ["Compare", "the", "fields", "present", "."], "sha": "6846ec80cfc7ff5424ddde70a666b8b6a3d955c5", "url": "https://github.com/dereuromark/cakephp-test-helper/blob/6846ec80cfc7ff5424ddde70a666b8b6a3d955c5/src/Shell/FixtureCheckShell.php#L439-L445", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the form type\n\n@param string $type\n@param string $inputClass\n@param string $labelClass\n\n@return void", "docstring_tokens": ["Set", "the", "form", "type"], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L91-L95", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.horizontal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the form type to horizontal\n\n@param string $inputClass\n@param string $labelClass\n\n@return self", "docstring_tokens": ["Set", "the", "form", "type", "to", "horizontal"], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L116-L120", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.label", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form label field.\n\n@param string $name\n@param string $label\n@param array $options\n@param string $content\n\n@return string", "docstring_tokens": ["Create", "a", "form", "label", "field", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L168-L177", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.errors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form error helper field.\n\n@param string $name\n@param \\Illuminate\\Support\\MessageBag $errors\n@param string $wrap\n\n@return string", "docstring_tokens": ["Create", "a", "form", "error", "helper", "field", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L188-L196", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form group element.\n\n@param string $name\n@param \\Illuminate\\Support\\MessageBag $errors\n@param string $class\n@param array $options\n\n@return string", "docstring_tokens": ["Create", "a", "form", "group", "element", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L208-L215", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.action", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form action button.\n\n@param string $value\n@param string $type\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "form", "action", "button", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L424-L458", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.hyperlink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a button link.\n\n@param string $type\n@param string $location\n@param string $title\n@param array $parameters\n@param string $secure\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "button", "link", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L472-L491", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/BootstrapBase.php", "func_name": "BootstrapBase.alert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an alert item with optional emphasis.\n\n@param string $type\n@param string $content\n@param string $emphasis\n@param boolean $dismissible\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "an", "alert", "item", "with", "optional", "emphasis", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/BootstrapBase.php#L504-L516", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.password", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form password field.\n\n@param string $name\n@param string $label\n@param \\Illuminate\\Support\\MessageBag $errors\n@param array $options\n\n@return string", "docstring_tokens": ["Create", "a", "form", "password", "field", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L90-L93", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a form file field.\n\n@param string $name\n@param string $label\n@param \\Illuminate\\Support\\MessageBag $errors\n@param array $options\n\n@return string", "docstring_tokens": ["Create", "a", "form", "file", "field", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L201-L204", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a button link to url.\n\n@param string $url\n@param string $title\n@param array $attributes\n@param string $secure\n\n@return string", "docstring_tokens": ["Create", "a", "button", "link", "to", "url", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L371-L374", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.secureLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a secure button link to url.\n\n@param string $url\n@param string $title\n@param array $attributes\n@param string $secure\n\n@return string", "docstring_tokens": ["Create", "a", "secure", "button", "link", "to", "url", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L386-L389", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.linkRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a button link to route.\n\n@param string $name\n@param string $title\n@param array $parameters\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "button", "link", "to", "route", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L401-L404", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.linkAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a button link to action.\n\n@param string $action\n@param string $title\n@param array $parameters\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "button", "link", "to", "action", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L416-L419", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.mailto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a button link to an email address.\n\n@param string $email\n@param string $title\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "button", "link", "to", "an", "email", "address", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L430-L433", "partition": "test"} +{"repo": "bradcornford/Bootstrapper", "path": "src/Cornford/Bootstrapper/Bootstrap.php", "func_name": "Bootstrap.none", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a none alert item.\n\n@param string $content\n@param string $emphasis\n@param boolean $dismissible\n@param array $attributes\n\n@return string", "docstring_tokens": ["Create", "a", "none", "alert", "item", "."], "sha": "93045a96c0d431aaad177d61ecec9e718c13ce82", "url": "https://github.com/bradcornford/Bootstrapper/blob/93045a96c0d431aaad177d61ecec9e718c13ce82/src/Cornford/Bootstrapper/Bootstrap.php#L445-L448", "partition": "test"} +{"repo": "Gobie/regex", "path": "src/Gobie/Regex/Wrappers/Mb/MbRegex.php", "func_name": "MbRegex.execReplace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace subject by callback or by string.\n\n@param string $pattern Pattern\n@param callable|string $replacement Replacement\n@param string $subject Subject\n@param string $option Option\n@return string Replaced subject", "docstring_tokens": ["Replace", "subject", "by", "callback", "or", "by", "string", "."], "sha": "7f637800ed5a4af257558d2ba49a742256b477bf", "url": "https://github.com/Gobie/regex/blob/7f637800ed5a4af257558d2ba49a742256b477bf/src/Gobie/Regex/Wrappers/Mb/MbRegex.php#L303-L308", "partition": "test"} +{"repo": "Gobie/regex", "path": "src/Gobie/Regex/Wrappers/RegexException.php", "func_name": "RegexException.getShortMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return exception message without function name.\n\nUsual exception message looks like this:\n
\npreg_match(): Some error occurred\n
\nSo we strip the \"function(): \" part.\n\n@return string", "docstring_tokens": ["Return", "exception", "message", "without", "function", "name", "."], "sha": "7f637800ed5a4af257558d2ba49a742256b477bf", "url": "https://github.com/Gobie/regex/blob/7f637800ed5a4af257558d2ba49a742256b477bf/src/Gobie/Regex/Wrappers/RegexException.php#L39-L47", "partition": "test"} +{"repo": "ColourboxDevelopment/simplesamlphp-module-redis", "path": "lib/Store/Redis.php", "func_name": "sspmod_redis_Store_Redis.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a value from Redis\n\n@param string $type The datatype\n@param string $key The key\n@return mixed|NULL The value", "docstring_tokens": ["Retrieve", "a", "value", "from", "Redis"], "sha": "bf6ff5dcb4cbbe2ac9cb9e00a047899032524516", "url": "https://github.com/ColourboxDevelopment/simplesamlphp-module-redis/blob/bf6ff5dcb4cbbe2ac9cb9e00a047899032524516/lib/Store/Redis.php#L43-L53", "partition": "test"} +{"repo": "ColourboxDevelopment/simplesamlphp-module-redis", "path": "lib/Store/Redis.php", "func_name": "sspmod_redis_Store_Redis.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save a value to Redis\n\nIf no expiration time is given, then the expiration time is set to the\nsession duration.\n\n@param string $type The datatype\n@param string $key The key\n@param mixed $value The value\n@param int|NULL $expire The expiration time (unix timestamp), or NULL if it never expires", "docstring_tokens": ["Save", "a", "value", "to", "Redis"], "sha": "bf6ff5dcb4cbbe2ac9cb9e00a047899032524516", "url": "https://github.com/ColourboxDevelopment/simplesamlphp-module-redis/blob/bf6ff5dcb4cbbe2ac9cb9e00a047899032524516/lib/Store/Redis.php#L66-L75", "partition": "test"} +{"repo": "skeeks-cms/cms-shop", "path": "src/controllers/CartController.php", "func_name": "CartController.actionRemoveBasket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removing the basket position\n\n@return array|\\yii\\web\\Response\n@throws \\Exception", "docstring_tokens": ["Removing", "the", "basket", "position"], "sha": "506c7f549352c15ddf6f2b15d963df7fd555c489", "url": "https://github.com/skeeks-cms/cms-shop/blob/506c7f549352c15ddf6f2b15d963df7fd555c489/src/controllers/CartController.php#L158-L179", "partition": "test"} +{"repo": "skeeks-cms/cms-shop", "path": "src/controllers/CartController.php", "func_name": "CartController.actionClear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleaning the entire basket\n\n@return array|\\yii\\web\\Response\n@throws \\Exception", "docstring_tokens": ["Cleaning", "the", "entire", "basket"], "sha": "506c7f549352c15ddf6f2b15d963df7fd555c489", "url": "https://github.com/skeeks-cms/cms-shop/blob/506c7f549352c15ddf6f2b15d963df7fd555c489/src/controllers/CartController.php#L187-L205", "partition": "test"} +{"repo": "skeeks-cms/cms-shop", "path": "src/controllers/CartController.php", "func_name": "CartController.actionUpdateBasket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updating the positions of the basket, such as changing the number of\n\n@return array|\\yii\\web\\Response\n@throws \\Exception", "docstring_tokens": ["Updating", "the", "positions", "of", "the", "basket", "such", "as", "changing", "the", "number", "of"], "sha": "506c7f549352c15ddf6f2b15d963df7fd555c489", "url": "https://github.com/skeeks-cms/cms-shop/blob/506c7f549352c15ddf6f2b15d963df7fd555c489/src/controllers/CartController.php#L213-L256", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/Util.php", "func_name": "Util.getLiteralValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the string value of a literal in the N3 library", "docstring_tokens": ["Gets", "the", "string", "value", "of", "a", "literal", "in", "the", "N3", "library"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/Util.php#L48-L55", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/Util.php", "func_name": "Util.getLiteralType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the type of a literal in the N3 library", "docstring_tokens": ["Gets", "the", "type", "of", "a", "literal", "in", "the", "N3", "library"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/Util.php#L57-L67", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/Util.php", "func_name": "Util.getLiteralLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the language of a literal in the N3 library", "docstring_tokens": ["Gets", "the", "language", "of", "a", "literal", "in", "the", "N3", "library"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/Util.php#L71-L77", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/Util.php", "func_name": "Util.createIRI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an IRI in N3.js representation", "docstring_tokens": ["Creates", "an", "IRI", "in", "N3", ".", "js", "representation"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/Util.php#L119-L122", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/Util.php", "func_name": "Util.createLiteral", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a literal in N3.js representation", "docstring_tokens": ["Creates", "a", "literal", "in", "N3", ".", "js", "representation"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/Util.php#L126-L148", "partition": "test"} +{"repo": "skeeks-cms/cms-shop", "path": "src/paySystems/YandexKassaPaySystem.php", "func_name": "YandexKassaPaySystem.checkRequestMD5", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checking the MD5 sign.\n@param array $request payment parameters\n@return bool true if MD5 hash is correct", "docstring_tokens": ["Checking", "the", "MD5", "sign", "."], "sha": "506c7f549352c15ddf6f2b15d963df7fd555c489", "url": "https://github.com/skeeks-cms/cms-shop/blob/506c7f549352c15ddf6f2b15d963df7fd555c489/src/paySystems/YandexKassaPaySystem.php#L202-L220", "partition": "test"} +{"repo": "skeeks-cms/cms-shop", "path": "src/paySystems/YandexKassaPaySystem.php", "func_name": "YandexKassaPaySystem.buildResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Building XML response.\n@param string $functionName \"checkOrder\" or \"paymentAviso\" string\n@param string $invoiceId transaction number\n@param string $result_code result code\n@param string $message error message. May be null.\n@return string prepared XML response", "docstring_tokens": ["Building", "XML", "response", "."], "sha": "506c7f549352c15ddf6f2b15d963df7fd555c489", "url": "https://github.com/skeeks-cms/cms-shop/blob/506c7f549352c15ddf6f2b15d963df7fd555c489/src/paySystems/YandexKassaPaySystem.php#L258-L269", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/N3Lexer.php", "func_name": "N3Lexer.initTokenize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "When handling tokenize as a variable, we can hotswap its functionality when dealing with various serializations", "docstring_tokens": ["When", "handling", "tokenize", "as", "a", "variable", "we", "can", "hotswap", "its", "functionality", "when", "dealing", "with", "various", "serializations"], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/N3Lexer.php#L415-L433", "partition": "test"} +{"repo": "pietercolpaert/hardf", "path": "src/N3Lexer.php", "func_name": "N3Lexer.tokenize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The input can be a string or a stream.", "docstring_tokens": ["The", "input", "can", "be", "a", "string", "or", "a", "stream", "."], "sha": "39dd566889175a81202565d4e5c4071a6b866b3b", "url": "https://github.com/pietercolpaert/hardf/blob/39dd566889175a81202565d4e5c4071a6b866b3b/src/N3Lexer.php#L439-L445", "partition": "test"} +{"repo": "SetBased/php-abc", "path": "src/Abc.php", "func_name": "Abc.deObfuscate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "De-obfuscates an obfuscated database ID.\n\n@param string|null $code The obfuscated database ID.\n@param string $alias An alias for the column holding the IDs.\n\n@return int|null", "docstring_tokens": ["De", "-", "obfuscates", "an", "obfuscated", "database", "ID", "."], "sha": "86e7f9fd60bfb87c3de67056186d28b1ffe72405", "url": "https://github.com/SetBased/php-abc/blob/86e7f9fd60bfb87c3de67056186d28b1ffe72405/src/Abc.php#L175-L178", "partition": "test"} +{"repo": "SetBased/php-abc", "path": "src/Abc.php", "func_name": "Abc.obfuscate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obfuscates a database ID.\n\n@param int|null $id The database ID.\n@param string $alias An alias for the column holding the IDs.\n\n@return string", "docstring_tokens": ["Obfuscates", "a", "database", "ID", "."], "sha": "86e7f9fd60bfb87c3de67056186d28b1ffe72405", "url": "https://github.com/SetBased/php-abc/blob/86e7f9fd60bfb87c3de67056186d28b1ffe72405/src/Abc.php#L202-L205", "partition": "test"} +{"repo": "Innmind/Http", "path": "src/Factory/ServerRequest/ServerRequestFactory.php", "func_name": "ServerRequestFactory.default", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a fully configured factory\n\n@return self", "docstring_tokens": ["Return", "a", "fully", "configured", "factory"], "sha": "33f03620ee72f96cb8b13a3144376c3f50004e60", "url": "https://github.com/Innmind/Http/blob/33f03620ee72f96cb8b13a3144376c3f50004e60/src/Factory/ServerRequest/ServerRequestFactory.php#L98-L110", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/StatementFixtures.php", "func_name": "StatementFixtures.getStatementWithGroupActor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a statement with a group as an actor.\n\n@param string $id The id of the new Statement\n\n@return Statement", "docstring_tokens": ["Loads", "a", "statement", "with", "a", "group", "as", "an", "actor", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/StatementFixtures.php#L75-L86", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/StatementFixtures.php", "func_name": "StatementFixtures.getStatementWithStatementRef", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a statement including a reference to another statement.\n\n@param string $id The id of the new Statement\n\n@return Statement", "docstring_tokens": ["Loads", "a", "statement", "including", "a", "reference", "to", "another", "statement", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/StatementFixtures.php#L115-L125", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/StatementFixtures.php", "func_name": "StatementFixtures.getStatementWithResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a statement including a result.\n\n@param string $id The id of the new Statement\n\n@return Statement", "docstring_tokens": ["Loads", "a", "statement", "including", "a", "result", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/StatementFixtures.php#L134-L141", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/StatementFixtures.php", "func_name": "StatementFixtures.getStatementWithSubStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a statement including a sub statement.\n\n@param string $id The id of the new Statement\n\n@return Statement", "docstring_tokens": ["Loads", "a", "statement", "including", "a", "sub", "statement", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/StatementFixtures.php#L150-L170", "partition": "test"} +{"repo": "widop/twitter-options", "path": "src/Widop/Twitter/Options/OptionFactory.php", "func_name": "OptionFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an option.\n\n@param string $option The option name.\n@param string $type The option type.\n\n@throws \\InvalidArgumentException If the option does not exist.\n\n@return \\Widop\\Twitter\\Options\\OptionInterface The option.", "docstring_tokens": ["Creates", "an", "option", "."], "sha": "c70c1c48213436826b692c68ab2ed638dd7464d9", "url": "https://github.com/widop/twitter-options/blob/c70c1c48213436826b692c68ab2ed638dd7464d9/src/Widop/Twitter/Options/OptionFactory.php#L137-L144", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/StatementResultFixtures.php", "func_name": "StatementResultFixtures.getStatementResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a statement result.\n\n@param IRL $urlPath An optional URL path refering to more results\n\n@return StatementResult", "docstring_tokens": ["Loads", "a", "statement", "result", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/StatementResultFixtures.php#L38-L53", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "hook into the rendering for transformation of HTML to PDF\n@param \\Zend\\EventManager\\EventManagerInterface $events", "docstring_tokens": ["hook", "into", "the", "rendering", "for", "transformation", "of", "HTML", "to", "PDF"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L75-L79", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.initializeViewHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "hook into the Rendering of files\nthe manager to hook in is the viewhelper 'insertfiles'\n\n@param \\Zend\\Mvc\\MvcEvent $e", "docstring_tokens": ["hook", "into", "the", "Rendering", "of", "files", "the", "manager", "to", "hook", "in", "is", "the", "viewhelper", "insertfiles"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L97-L106", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.getFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "proxy, in case that you just got a name and have to find the associated file-entity\nmaybe this is redundant and can be deprecated\n\n@param \\Core\\View\\Helper\\InsertFile\\FileEvent $e\n@return null", "docstring_tokens": ["proxy", "in", "case", "that", "you", "just", "got", "a", "name", "and", "have", "to", "find", "the", "associated", "file", "-", "entity", "maybe", "this", "is", "redundant", "and", "can", "be", "deprecated"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L115-L130", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.collectFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "give a summary of all inserted Files,\nthis is for having access to those files in the post-process\n@param \\Core\\View\\Helper\\InsertFile\\FileEvent|\\Zend\\View\\ViewEvent $e\n@return NULL", "docstring_tokens": ["give", "a", "summary", "of", "all", "inserted", "Files", "this", "is", "for", "having", "access", "to", "those", "files", "in", "the", "post", "-", "process"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L168-L183", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.cleanLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove unwanted or layout related data\n\nbasically you rake through the viewmodel for the data you want to use for your template,\nthis may not be optimal because you have to rely on the correct naming of the viewmodels\n\nif you get the data you want, you switch to the specific template by adding the conforming resolver\n\n@param \\Zend\\View\\ViewEvent $e", "docstring_tokens": ["remove", "unwanted", "or", "layout", "related", "data"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L195-L216", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.attachViewResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach an own ViewResolver", "docstring_tokens": ["Attach", "an", "own", "ViewResolver"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L221-L228", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.attachPDFtransformer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform the HTML to PDF,\nthis is a post-rendering-process\n\nput in here everything related to the transforming-process like options\n\n@param \\Zend\\View\\ViewEvent $e", "docstring_tokens": ["Transform", "the", "HTML", "to", "PDF", "this", "is", "a", "post", "-", "rendering", "-", "process"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L238-L307", "partition": "test"} +{"repo": "yawik/pdf", "path": "src/Module.php", "func_name": "Module.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Look for a template with the Suffix \".pdf.phtml\"\n\n@param string $name\n@param \\Zend\\View\\Renderer\\RendererInterface $renderer\n@return string|boolean", "docstring_tokens": ["Look", "for", "a", "template", "with", "the", "Suffix", ".", "pdf", ".", "phtml"], "sha": "817e00ae6ad6da7625f3dc1c80078570b3e6e940", "url": "https://github.com/yawik/pdf/blob/817e00ae6ad6da7625f3dc1c80078570b3e6e940/src/Module.php#L316-L352", "partition": "test"} +{"repo": "widop/twitter-options", "path": "src/Widop/Twitter/Options/OptionBag.php", "func_name": "OptionBag.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers an option.\n\n@param string|\\Widop\\Twitter\\Options\\OptionInterface $option The option.\n@param string $type The option type.\n\n@throws \\InvalidArgumentException If the option is not valid.\n\n@return \\Widop\\Twitter\\Options\\OptionBag The option bag.", "docstring_tokens": ["Registers", "an", "option", "."], "sha": "c70c1c48213436826b692c68ab2ed638dd7464d9", "url": "https://github.com/widop/twitter-options/blob/c70c1c48213436826b692c68ab2ed638dd7464d9/src/Widop/Twitter/Options/OptionBag.php#L48-L63", "partition": "test"} +{"repo": "widop/twitter-options", "path": "src/Widop/Twitter/Options/OptionBag.php", "func_name": "OptionBag.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an option.\n\n@param string $name The option name.\n\n@throws \\InvalidArgumentException If the option does not exist.\n\n@return \\Widop\\Twitter\\Options\\OptionInterface The option.", "docstring_tokens": ["Gets", "an", "option", "."], "sha": "c70c1c48213436826b692c68ab2ed638dd7464d9", "url": "https://github.com/widop/twitter-options/blob/c70c1c48213436826b692c68ab2ed638dd7464d9/src/Widop/Twitter/Options/OptionBag.php#L114-L121", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/DocumentFixtures.php", "func_name": "DocumentFixtures.getActivityProfileDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads an activity profile document.\n\n@param DocumentData $documentData The document data, by default, a some\ndefault data will be used\n\n@return ActivityProfileDocument", "docstring_tokens": ["Loads", "an", "activity", "profile", "document", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/DocumentFixtures.php#L61-L70", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/DocumentFixtures.php", "func_name": "DocumentFixtures.getAgentProfileDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads an agent profile document.\n\n@param DocumentData $documentData The document data, by default, a some\ndefault data will be used\n\n@return AgentProfileDocument", "docstring_tokens": ["Loads", "an", "agent", "profile", "document", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/DocumentFixtures.php#L80-L87", "partition": "test"} +{"repo": "php-xapi/test-fixtures", "path": "src/DocumentFixtures.php", "func_name": "DocumentFixtures.getStateDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a state document.\n\n@param DocumentData $documentData The document data, by default, a some\ndefault data will be used\n\n@return StateDocument", "docstring_tokens": ["Loads", "a", "state", "document", "."], "sha": "49319f88412967716ce6068e30f0512c3510cf27", "url": "https://github.com/php-xapi/test-fixtures/blob/49319f88412967716ce6068e30f0512c3510cf27/src/DocumentFixtures.php#L97-L107", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.addBehavior", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a behavior to be executed later.\n\nBehavior will only be added if it is enabled for the user's bucket.\n\n@param string $slug\n@param mixed $strategy\n@param array $args\n\n@return \\Zumba\\Swivel\\BuilderInterface", "docstring_tokens": ["Add", "a", "behavior", "to", "be", "executed", "later", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L90-L98", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.addValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a value to be returned when the builder is executed.\n\nValue will only be returned if it is enabled for the user's bucket.\n\n@param string $slug\n@param mixed $value\n\n@return \\Zumba\\Swivel\\BuilderInterface", "docstring_tokens": ["Add", "a", "value", "to", "be", "returned", "when", "the", "builder", "is", "executed", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L110-L120", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.defaultBehavior", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a default behavior.\n\nWill be used if all other behaviors and values are not enabled for the user's bucket.\n\n@param callable $strategy\n@param array $args\n\n@return \\Zumba\\Swivel\\BuilderInterface", "docstring_tokens": ["Add", "a", "default", "behavior", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L132-L144", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.defaultValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a default value.\n\nWill be used if all other behaviors and values are not enabled for the user's bucket.\n\n@param mixed $value\n\n@return \\Zumba\\Swivel\\BuilderInterface", "docstring_tokens": ["Add", "a", "default", "value", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L155-L170", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the feature.\n\n@return mixed", "docstring_tokens": ["Execute", "the", "feature", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L177-L189", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.getBehavior", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and return a new Behavior.\n\nThe $strategy parameter must be a valid callable.\n\n@param string $slug\n@param callable $strategy\n\n@return \\Zumba\\Swivel\\BehaviorInterface", "docstring_tokens": ["Create", "and", "return", "a", "new", "Behavior", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L201-L224", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.noDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Waive the default behavior for this feature.\n\n@return \\Zumba\\Swivel\\BuilderInterface", "docstring_tokens": ["Waive", "the", "default", "behavior", "for", "this", "feature", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L231-L241", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.setBehavior", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the behavior and it's args.\n\n@param \\Zumba\\Swivel\\Behavior $behavior\n@param array $args", "docstring_tokens": ["Set", "the", "behavior", "and", "it", "s", "args", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L249-L255", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.startMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start collecting metrics about this feature.\n\n@param string $behaviorSlug", "docstring_tokens": ["Start", "collecting", "metrics", "about", "this", "feature", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L272-L284", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Builder.php", "func_name": "Builder.stopMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop collecting metrics about this feature.\n\n@param string $behaviorSlug", "docstring_tokens": ["Stop", "collecting", "metrics", "about", "this", "feature", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Builder.php#L291-L296", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Behavior.php", "func_name": "Behavior.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the behavior's callable and return the result.\n\n@param array $args\n\n@return mixed\n\n@see \\Zumba\\Swivel\\BehaviorInterface", "docstring_tokens": ["Execute", "the", "behavior", "s", "callable", "and", "return", "the", "result", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Behavior.php#L46-L54", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.every", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new collection consisting of every n-th element.\n\n@param int $step\n@param int $offset\n\n@return static", "docstring_tokens": ["Create", "a", "new", "collection", "consisting", "of", "every", "n", "-", "th", "element", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L158-L173", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.first", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the first item from the collection.\n\n@param callable|null $callback\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "the", "first", "item", "from", "the", "collection", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L257-L264", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.last", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last item from the collection.\n\n@param callable|null $callback\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "the", "last", "item", "from", "the", "collection", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L449-L456", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.max", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the max value of a given key.\n\n@param string|null $key\n\n@return mixed", "docstring_tokens": ["Get", "the", "max", "value", "of", "a", "given", "key", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L519-L526", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.reject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a collection of all elements that do not pass a given truth test.\n\n@param callable|mixed $callback\n\n@return static", "docstring_tokens": ["Create", "a", "collection", "of", "all", "elements", "that", "do", "not", "pass", "a", "given", "truth", "test", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L694-L705", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the collection of items as a plain array.\n\n@return array", "docstring_tokens": ["Get", "the", "collection", "of", "items", "as", "a", "plain", "array", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L1021-L1027", "partition": "test"} +{"repo": "Stillat/Collection", "path": "src/Collection/Collection.php", "func_name": "Collection.getArrayableItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Results array of items from Collection or Arrayable.\n\n@param mixed $items\n\n@return array", "docstring_tokens": ["Results", "array", "of", "items", "from", "Collection", "or", "Arrayable", "."], "sha": "a8760f883ba9cde0e4a20eb1bf1655706ba1927a", "url": "https://github.com/Stillat/Collection/blob/a8760f883ba9cde0e4a20eb1bf1655706ba1927a/src/Collection/Collection.php#L1153-L1164", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Map.php", "func_name": "Map.enabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a feature slug is enabled for a particular bucket index.\n\n@param string $slug\n@param int $index\n\n@return bool\n\n@see \\Zumba\\Swivel\\MapInterface", "docstring_tokens": ["Check", "if", "a", "feature", "slug", "is", "enabled", "for", "a", "particular", "bucket", "index", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Map.php#L134-L154", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Map.php", "func_name": "Map.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a human readable map into a map of bitmasks.\n\n@param array $map\n\n@return array", "docstring_tokens": ["Parse", "a", "human", "readable", "map", "into", "a", "map", "of", "bitmasks", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Map.php#L239-L244", "partition": "test"} +{"repo": "SC-Networks/evalanche-soap-api-struct", "path": "src/Factory/StructFactory.php", "func_name": "StructFactory.createHashMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Instance of HashMap\n\n[\n'field_name' => 'field_value',\n'field_name_next' => 'field_value_next',\n]\n\nField names can be found in your pool configuration.\n\n@param array $items\n@return HashMapInterface", "docstring_tokens": ["Creates", "a", "Instance", "of", "HashMap"], "sha": "122908606794aac33b92d4791c1abf579b2dfd06", "url": "https://github.com/SC-Networks/evalanche-soap-api-struct/blob/122908606794aac33b92d4791c1abf579b2dfd06/src/Factory/StructFactory.php#L29-L37", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Config.php", "func_name": "Config.getBucket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a configured Bucket instance.\n\n@return \\Zumba\\Swivel\\Bucket", "docstring_tokens": ["Get", "a", "configured", "Bucket", "instance", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Config.php#L61-L64", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Config.php", "func_name": "Config.setMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Zumba\\Swivel\\Map object.\n\n@param mixed $map", "docstring_tokens": ["Set", "the", "Zumba", "\\", "Swivel", "\\", "Map", "object", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Config.php#L101-L115", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Manager.php", "func_name": "Manager.forFeature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Builder instance.\n\n@param string $slug\n\n@return \\Zumba\\Swivel\\Builder\n\n@see \\Zumba\\Swivel\\ManagerInterface", "docstring_tokens": ["Create", "a", "new", "Builder", "instance", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Manager.php#L49-L58", "partition": "test"} +{"repo": "zumba/swivel", "path": "src/Manager.php", "func_name": "Manager.setBucket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Swivel Bucket.\n\n@param \\Zumba\\Swivel\\BucketInterface $bucket\n\n@return \\Zumba\\Swivel\\ManagerInterface\n\n@see \\Zumba\\Swivel\\ManagerInterface", "docstring_tokens": ["Set", "the", "Swivel", "Bucket", "."], "sha": "e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21", "url": "https://github.com/zumba/swivel/blob/e9d0a2b345bf4fbaa4ceeca8b0b27b1dab6e6a21/src/Manager.php#L119-L127", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.describeTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get multiple tables and their properties\n\n@param string | array $tables Table names comma-delimited string or array\n@param bool $refresh Force a refresh of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Get", "multiple", "tables", "and", "their", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L673-L691", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.describeTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get any properties related to the table\n\n@param string | array $name Table name or defining properties\n@param bool $refresh Force a refresh of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Get", "any", "properties", "related", "to", "the", "table"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L702-L724", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create one or more tables by array of table properties\n\n@param string|array $tables\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Create", "one", "or", "more", "tables", "by", "array", "of", "table", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L862-L882", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a single table by name and additional properties\n\n@param string $table\n@param array $properties\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n@return array|mixed\n@throws BadRequestException\n@throws \\Exception", "docstring_tokens": ["Create", "a", "single", "table", "by", "name", "and", "additional", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L895-L912", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create multiple table fields\n\n@param string $table\n@param array $fields\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Create", "multiple", "table", "fields"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L925-L942", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a single table field by name and additional properties\n\n@param string $table\n@param string $field\n@param array $properties\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n@return array|mixed\n@throws BadRequestException\n@throws \\Exception", "docstring_tokens": ["Create", "a", "single", "table", "field", "by", "name", "and", "additional", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L956-L975", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createRelationships", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create multiple table relationships\n\n@param string $table\n@param array $relationships\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Create", "multiple", "table", "relationships"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L988-L1005", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.createRelationship", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a single table relationship by name and additional properties\n\n@param string $table\n@param string $relationship\n@param array $properties\n@param bool $check_exist\n@param bool $return_schema Return a refreshed copy of the schema from the database\n@return array|mixed\n@throws BadRequestException\n@throws \\Exception", "docstring_tokens": ["Create", "a", "single", "table", "relationship", "by", "name", "and", "additional", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1019-L1043", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update one or more tables by array of table properties\n\n@param array $tables\n@param bool $allow_delete_fields\n@param bool $return_schema Return a refreshed copy of the schema from the database\n@return array\n@throws BadRequestException\n@throws \\DreamFactory\\Core\\Exceptions\\ForbiddenException\n@throws \\Exception", "docstring_tokens": ["Update", "one", "or", "more", "tables", "by", "array", "of", "table", "properties"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1056-L1082", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update properties related to the table\n\n@param string $table\n@param array $properties\n@param bool $allow_delete_fields\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Update", "properties", "related", "to", "the", "table"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1095-L1113", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update multiple table fields\n\n@param string $table\n@param array $fields\n@param bool $allow_delete_parts\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Update", "multiple", "table", "fields"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1126-L1143", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update properties related to a table field\n\n@param string $table\n@param string $field\n@param array $properties\n@param bool $allow_delete_parts\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Update", "properties", "related", "to", "a", "table", "field"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1157-L1180", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateRelationships", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update multiple table relationships\n\n@param string $table\n@param array $relationships\n@param bool $allow_delete_parts\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Update", "multiple", "table", "relationships"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1193-L1210", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.updateRelationship", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update properties related to a table relationship\n\n@param string $table\n@param string $relationship\n@param array $properties\n@param bool $allow_delete_parts\n@param bool $return_schema Return a refreshed copy of the schema from the database\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Update", "properties", "related", "to", "a", "table", "relationship"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1224-L1252", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.deleteTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete multiple tables and all of their contents\n\n@param array $tables\n@param bool $check_empty\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Delete", "multiple", "tables", "and", "all", "of", "their", "contents"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1263-L1280", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/DbSchemaResource.php", "func_name": "DbSchemaResource.deleteTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a table and all of its contents by name\n\n@param string $table\n@param bool $check_empty\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Delete", "a", "table", "and", "all", "of", "its", "contents", "by", "name"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/DbSchemaResource.php#L1291-L1320", "partition": "test"} +{"repo": "jonom/silverstripe-text-target-length", "path": "src/TextTargetLengthExtension.php", "func_name": "TextTargetLengthExtension.setTargetLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a target character length for text in a field.\n\n@param Int $idealCharCount the ideal number of characters for this text\n@param Int $minCharCount (default: null) the minimum number of characters for this text\n@param Int $maxCharCount (default: null) the maximum number of characters for this text\n@return FormField", "docstring_tokens": ["Set", "a", "target", "character", "length", "for", "text", "in", "a", "field", "."], "sha": "8710bb4954dfaa420837ebea1eb7c42aef31e214", "url": "https://github.com/jonom/silverstripe-text-target-length/blob/8710bb4954dfaa420837ebea1eb7c42aef31e214/src/TextTargetLengthExtension.php#L23-L52", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Resources/BaseDbTableResource.php", "func_name": "BaseDbTableResource.truncateTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all table entries but keep the table\n\n@param string $table\n@param array $extras\n\n@throws \\Exception\n@return array", "docstring_tokens": ["Delete", "all", "table", "entries", "but", "keep", "the", "table"], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Resources/BaseDbTableResource.php#L1513-L1523", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Result.php", "func_name": "Result.pagedResultResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the LDAP pagination cookie\n\n@param string $key Optionally return only one of the keys: 'cookie' or 'estimated'\n@return array|mixed Array with two keys: 'cookie' and 'estimated' or, if `$key` was\nspecified, returns the value of only that key", "docstring_tokens": ["Retrieve", "the", "LDAP", "pagination", "cookie"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Result.php#L57-L74", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/DataReader.php", "func_name": "DataReader.rewind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the iterator to the initial state.\nThis method is required by the interface Iterator.\n\n@throws \\Exception if this method is invoked twice", "docstring_tokens": ["Resets", "the", "iterator", "to", "the", "initial", "state", ".", "This", "method", "is", "required", "by", "the", "interface", "Iterator", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/DataReader.php#L205-L213", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a string for use in an LDAP filter or DN\n\n`$flags` may be one of: `Ldap::ESCAPE_FILTER`, `Ldap::ESCAPE_DN`\n\n@since PHP 5.6\n@param string $value The value to escape\n@param string $ignore Characters to ignore when escaping\n@param integer $flags The context the escaped string will be used in\n@return string Returns the escaped string", "docstring_tokens": ["Escape", "a", "string", "for", "use", "in", "an", "LDAP", "filter", "or", "DN"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L245-L253", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add entries to LDAP directory\n\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry An array that specifies the information about the entry\n@return self", "docstring_tokens": ["Add", "entries", "to", "LDAP", "directory"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L296-L302", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.compare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare value of attribute found in entry specified with DN\n\n@param string $dn The distinguished name of an LDAP entity\n@param string $attribute The attribute name\n@param string $value The compared value\n@return bool Returns TRUE if value matches otherwise returns FALSE", "docstring_tokens": ["Compare", "value", "of", "attribute", "found", "in", "entry", "specified", "with", "DN"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L320-L326", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open connection to an ldap server\n\n@param string $ldapUrl Ldap URI string of the ldap server (i.e.\nldap://my.server.com:389)\n@return self\n@throws \\Exception On connect error.", "docstring_tokens": ["Open", "connection", "to", "an", "ldap", "server"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L350-L362", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.pagedResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send LDAP pagination control\n\n@param integer $pageSize The number of entries by page\n@param boolean $isCritical Indicates whether the pagination is critical of not\n@param string $cookie An opaque structure sent by the server\n@return self", "docstring_tokens": ["Send", "LDAP", "pagination", "control"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L372-L377", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind to LDAP directory\n\n@param string $bindDn Username for the bind\n@param string $bindPassword Password for the username\n@return self", "docstring_tokens": ["Bind", "to", "LDAP", "directory"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L386-L392", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current value for given option\n\n@param integer $option The option to be returned\n@return mixed", "docstring_tokens": ["Get", "the", "current", "value", "for", "given", "option"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L420-L426", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.modAdd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add attribute values to current attributes\n\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry Values to be added to the specified attributes\n@return self", "docstring_tokens": ["Add", "attribute", "values", "to", "current", "attributes"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L435-L441", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.modDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete attribute values from current attributes\n\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry Values to be deleted from the specified attributes\n@return self", "docstring_tokens": ["Delete", "attribute", "values", "from", "current", "attributes"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L450-L456", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.modReplace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace attribute values with new ones\n\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry Attributes and their values to be replaced\n@return self", "docstring_tokens": ["Replace", "attribute", "values", "with", "new", "ones"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L477-L483", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.modify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify an LDAP entry\n\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry Attributes with their modified values\n@return self", "docstring_tokens": ["Modify", "an", "LDAP", "entry"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L492-L498", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.modifyBatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify an existing entry in the LDAP directory\n\nAllows detailed specification of the modifications to perform.\n\nExample:\n\n$modifs = array(\narray(\n\"attrib\" => \"telephoneNumber\",\n\"modtype\" => Ldap::MODIFY_BATCH_ADD,\n\"values\" => array(\"+420 777 111 222\")\n)\n);\n$ldap->modifyBatch(\"cn=Robert Rossmann,dc=example,dc=com\", $modifs);\n\n@since PHP ~5.4.26, >=5.5.10\n@param string $dn The distinguished name of an LDAP entity\n@param array $entry Modification specifications\n@return self\n\n@see https://wiki.php.net/rfc/ldap_modify_batch", "docstring_tokens": ["Modify", "an", "existing", "entry", "in", "the", "LDAP", "directory"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L523-L537", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify the name of an entry\n\n@param string $dn The distinguished name of an LDAP entity\n@param string $newRdn The new RDN\n@param string $newParent The new parent/superior entry\n@param bool $deleteOldRdn If TRUE the old RDN value(s) are removed, else the old RDN\nvalue(s) are retained as non-distinguished values of the entry\n@return self", "docstring_tokens": ["Modify", "the", "name", "of", "an", "entry"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L549-L555", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.saslBind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind to LDAP directory using SASL\n\n@param string $bindDn\n@param string $bindPassword\n@param string $saslMech\n@param string $saslRealm\n@param string $saslAuthcId\n@param string $saslAuthzId\n@param string $props\n@return self", "docstring_tokens": ["Bind", "to", "LDAP", "directory", "using", "SASL"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L569-L591", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.ldapSearch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search LDAP tree\n\nThe scope of the operation is controlled by the $scope parameter, which can be one of:\n\nself::SCOPE_SUBTREE - equivalent of ldap_search() (default)\nself::SCOPE_ONELEVEL - equivalent of ldap_list()\nself::SCOPE_BASE - equivalent of ldap_read()\n\nNote that when doing parallel searches, the number of base DNs and filters must match.\n\nAlso note that PHP does not support returning different attributes for individual parallel\nsearches - if you perform a parallel search, all resultsets will have the same attributes.\n\n@param string|array $baseDn The base DN for the directory\n@param string|array $filter Ldap query filter (an empty filter is not allowed)\n@param array $attributes An array of the required attributes, e.g. array(\"mail\",\n\"sn\", \"cn\"). Empty array (the default) means all\nattributes\n@param int $scope One of self::SCOPE_SUBTREE, self::SCOPE_ONELEVEL or\nself::SCOPE_BASE\n@param boolean $attrsOnly Should be set to 1 if only attribute types are wanted\n@param integer $sizeLimit Enables you to limit the count of entries fetched. Setting\nthis to 0 means no limit\n@param integer $timeLimit Sets the number of seconds how long is spend on the\nsearch. Setting this to 0 means no limit\n@param integer $deref Specifies how aliases should be handled during the search\n@return Result|Result[]\n@throws \\Exception On Unrecognised search scope", "docstring_tokens": ["Search", "LDAP", "tree"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L623-L669", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.setOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value of the given option\n\n@param integer $option An lDAP option constant\n@param mixed $newVal The new value for the option\n@return self", "docstring_tokens": ["Set", "the", "value", "of", "the", "given", "option"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L678-L684", "partition": "test"} +{"repo": "Dreamscapes/Ldap-Core", "path": "Dreamscapes/Ldap/Core/Ldap.php", "func_name": "Ldap.verifyOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the ldap status code and throw exception on error\n\n@return void\n@throws LdapException On LDAP error.", "docstring_tokens": ["Check", "the", "ldap", "status", "code", "and", "throw", "exception", "on", "error"], "sha": "38635f64d390845f2a63517c93549194c66b3ff8", "url": "https://github.com/Dreamscapes/Ldap-Core/blob/38635f64d390845f2a63517c93549194c66b3ff8/Dreamscapes/Ldap/Core/Ldap.php#L781-L829", "partition": "test"} +{"repo": "th3n3rd/cartesian-product", "path": "src/CartesianProduct.php", "func_name": "CartesianProduct.addSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a set.\n\n@param array|Traversable $set\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Adds", "a", "set", "."], "sha": "191e24f15e628e49f9ea94e7c0b2d1761b088929", "url": "https://github.com/th3n3rd/cartesian-product/blob/191e24f15e628e49f9ea94e7c0b2d1761b088929/src/CartesianProduct.php#L53-L64", "partition": "test"} +{"repo": "th3n3rd/cartesian-product", "path": "src/CartesianProduct.php", "func_name": "CartesianProduct.computeReferenceSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the reference set used for iterate over the product.", "docstring_tokens": ["Computes", "the", "reference", "set", "used", "for", "iterate", "over", "the", "product", "."], "sha": "191e24f15e628e49f9ea94e7c0b2d1761b088929", "url": "https://github.com/th3n3rd/cartesian-product/blob/191e24f15e628e49f9ea94e7c0b2d1761b088929/src/CartesianProduct.php#L86-L98", "partition": "test"} +{"repo": "th3n3rd/cartesian-product", "path": "src/CartesianProduct.php", "func_name": "CartesianProduct.compute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the product and return the whole result.\n\nThis method is recommended only when the result is relatively small.\n\nThe recommended way to use the Cartesian Product is through its iterator interface\nwhich is memory efficient.", "docstring_tokens": ["Computes", "the", "product", "and", "return", "the", "whole", "result", "."], "sha": "191e24f15e628e49f9ea94e7c0b2d1761b088929", "url": "https://github.com/th3n3rd/cartesian-product/blob/191e24f15e628e49f9ea94e7c0b2d1761b088929/src/CartesianProduct.php#L152-L164", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.getResourceNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of names of a particular type of resource.\n\n@param string $type Resource type\n@param string $schema Schema name if any specific requested\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Return", "an", "array", "of", "names", "of", "a", "particular", "type", "of", "resource", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L225-L243", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.getResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the metadata about a particular schema resource.\n\n@param string $type Resource type\n@param string|NamedResourceSchema $name Resource name\n\n@return null|mixed\n@throws \\Exception", "docstring_tokens": ["Return", "the", "metadata", "about", "a", "particular", "schema", "resource", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L254-L278", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.compareTableNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares two table names.\nThe table names can be either quoted or unquoted. This method\nwill consider both cases.\n\n@param string $name1 table name 1\n@param string $name2 table name 2\n\n@return boolean whether the two table names refer to the same table.", "docstring_tokens": ["Compares", "two", "table", "names", ".", "The", "table", "names", "can", "be", "either", "quoted", "or", "unquoted", ".", "This", "method", "will", "consider", "both", "cases", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L561-L581", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.addPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for adding a primary key constraint to an existing table.\n\n@param string $name the name of the primary key constraint.\n@param string $table the table that the primary key constraint will be added to.\n@param string|array $columns comma separated string or array of columns that the primary key will consist of.\nArray value can be passed.\n\n@return string the SQL statement for adding a primary key constraint to an existing table.", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "adding", "a", "primary", "key", "constraint", "to", "an", "existing", "table", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L974-L991", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.createView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for creating a new DB view of an existing table.\n\n\n@param string $table the name of the view to be created. The name will be properly quoted by the method.\n@param array $columns optional mapping to the columns in the select of the new view.\n@param string $select SQL statement defining the view.\n@param string $options additional SQL fragment that will be appended to the generated SQL.\n\n@return string the SQL statement for creating a new DB table.", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "creating", "a", "new", "DB", "view", "of", "an", "existing", "table", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L1036-L1051", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.bindValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds a value to a parameter.\n\n@param \\PDOStatement $statement\n@param mixed $name Parameter identifier. For a prepared statement\nusing named placeholders, this will be a parameter name of\nthe form :name. For a prepared statement using question mark\nplaceholders, this will be the 1-indexed position of the parameter.\n@param mixed $value The value to bind to the parameter\n@param integer $dataType SQL data type of the parameter. If null, the type is determined by the PHP type\nof the value.\n\n@see http://www.php.net/manual/en/function.PDOStatement-bindValue.php", "docstring_tokens": ["Binds", "a", "value", "to", "a", "parameter", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L1616-L1623", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.extractPdoType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the PHP PDO type from DF type.\n\n@param string $type DF type\n\n@return int|null", "docstring_tokens": ["Extracts", "the", "PHP", "PDO", "type", "from", "DF", "type", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L1661-L1678", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.extractType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the DreamFactory simple type from DB type.\n\n@param ColumnSchema $column\n@param string $dbType DB type", "docstring_tokens": ["Extracts", "the", "DreamFactory", "simple", "type", "from", "DB", "type", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L1857-L1866", "partition": "test"} +{"repo": "dreamfactorysoftware/df-database", "path": "src/Components/Schema.php", "func_name": "Schema.extractDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the default value for the column.\nThe value is type-casted to correct PHP type.\n\n@param ColumnSchema $field\n@param mixed $defaultValue the default value obtained from metadata", "docstring_tokens": ["Extracts", "the", "default", "value", "for", "the", "column", ".", "The", "value", "is", "type", "-", "casted", "to", "correct", "PHP", "type", "."], "sha": "ab6d2f0643ab292d1bcce2bc25002db9b0731139", "url": "https://github.com/dreamfactorysoftware/df-database/blob/ab6d2f0643ab292d1bcce2bc25002db9b0731139/src/Components/Schema.php#L1926-L1930", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/Response/GroupByResponse.php", "func_name": "GroupByResponse.addData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an element to the data array\n\n@param stdClass $data\n\n@return $this", "docstring_tokens": ["Adds", "an", "element", "to", "the", "data", "array"], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/Response/GroupByResponse.php#L62-L100", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "examples/src/ExampleGroupByQueries/ReferralsByCompanyGroupByQueryGenerator.php", "func_name": "ReferralsByCompanyGroupByQueryGenerator.generateQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take parameters and return a valid Druid Query.\n\n@param ReferralsByCompanyGroupByQueryParameters $params\n@return string Query payload in JSON", "docstring_tokens": ["Take", "parameters", "and", "return", "a", "valid", "Druid", "Query", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/examples/src/ExampleGroupByQueries/ReferralsByCompanyGroupByQueryGenerator.php#L39-L49", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php", "func_name": "DruidNodeDruidQueryExecutor.createRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Guzzle Request object using the given JSON parameters\n\n@param string $query JSON String\n@return \\Guzzle\\Http\\Message\\RequestInterface\n@throws \\Exception", "docstring_tokens": ["Create", "a", "Guzzle", "Request", "object", "using", "the", "given", "JSON", "parameters"], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php#L78-L109", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php", "func_name": "DruidNodeDruidQueryExecutor.executeQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a Druid query using the provided query generator, parameters, and response payload handler.\n\nSee DruidFamiliar\\ResponseHandler\\DoNothingResponseHandler.\n\n@param IDruidQueryGenerator $queryGenerator\n@param IDruidQueryParameters $params\n@param IDruidQueryResponseHandler $responseHandler\n@return mixed", "docstring_tokens": ["Execute", "a", "Druid", "query", "using", "the", "provided", "query", "generator", "parameters", "and", "response", "payload", "handler", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php#L121-L143", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php", "func_name": "DruidNodeDruidQueryExecutor.setHttpMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the HTTP Method.\n\nSupported methods are: GET, POST\n\n@param $method\n@throws \\Exception", "docstring_tokens": ["Set", "the", "HTTP", "Method", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php#L163-L174", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php", "func_name": "DruidNodeDruidQueryExecutor.setProtocol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the protocol.\n\nSupported protocols are: http, https\n\n@param string $protocol", "docstring_tokens": ["Set", "the", "protocol", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryExecutor/DruidNodeDruidQueryExecutor.php#L193-L204", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryGenerator/GroupByQueryGenerator.php", "func_name": "GroupByQueryGenerator.generateQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a Druid query's JSON POST body\n\n@param IDruidQueryParameters $params\n\n@return string|void\n@throws Exception", "docstring_tokens": ["Generate", "a", "Druid", "query", "s", "JSON", "POST", "body"], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryGenerator/GroupByQueryGenerator.php#L28-L38", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php", "func_name": "SimpleGroupByQueryParameters.setAggregators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the aggregators for this request.\n\n@param $aggregatorsArray array PHP Array of aggregators", "docstring_tokens": ["Configure", "the", "aggregators", "for", "this", "request", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php#L107-L116", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php", "func_name": "SimpleGroupByQueryParameters.setFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the filters for this request.\n\n@param $filtersArray PHP Array of aggregators", "docstring_tokens": ["Configure", "the", "filters", "for", "this", "request", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php#L123-L132", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php", "func_name": "SimpleGroupByQueryParameters.setPostAggregators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the post aggregators for this request.\n\n@param $postAggregatorsArray array PHP Array of post aggregators", "docstring_tokens": ["Configure", "the", "post", "aggregators", "for", "this", "request", "."], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryParameters/SimpleGroupByQueryParameters.php#L139-L148", "partition": "test"} +{"repo": "PendalF89/yii2-tinymce", "path": "TinyMce.php", "func_name": "TinyMce.registerClientScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers Twitter TypeAhead Bootstrap plugin and the related events", "docstring_tokens": ["Registers", "Twitter", "TypeAhead", "Bootstrap", "plugin", "and", "the", "related", "events"], "sha": "fa9090709301b657bdae375bd73ef2d1550277fb", "url": "https://github.com/PendalF89/yii2-tinymce/blob/fa9090709301b657bdae375bd73ef2d1550277fb/TinyMce.php#L43-L62", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryParameters/GroupByQueryParameters.php", "func_name": "GroupByQueryParameters.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the query has the necessary parameters\n\n@throws MissingParametersException", "docstring_tokens": ["Validates", "the", "query", "has", "the", "necessary", "parameters"], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryParameters/GroupByQueryParameters.php#L134-L167", "partition": "test"} +{"repo": "r4j4h/php-druid-query", "path": "src/DruidFamiliar/QueryParameters/GroupByQueryParameters.php", "func_name": "GroupByQueryParameters.getJSONString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the current object into a JSON representation to be used as a query\n@return mixed|string", "docstring_tokens": ["Converts", "the", "current", "object", "into", "a", "JSON", "representation", "to", "be", "used", "as", "a", "query"], "sha": "c5f9f5b8c3efd233eada7f3ca0b38baea5407e83", "url": "https://github.com/r4j4h/php-druid-query/blob/c5f9f5b8c3efd233eada7f3ca0b38baea5407e83/src/DruidFamiliar/QueryParameters/GroupByQueryParameters.php#L173-L187", "partition": "test"} +{"repo": "kbrabrand/zf2-swagger-ui", "path": "src/SwaggerUI/Controller/SwaggerController.php", "func_name": "SwaggerController.indexAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the SwaggerUI interface\n\n@return ViewModel", "docstring_tokens": ["Display", "the", "SwaggerUI", "interface"], "sha": "9f5f70801271c50e14c38cd741b2c1e43022a461", "url": "https://github.com/kbrabrand/zf2-swagger-ui/blob/9f5f70801271c50e14c38cd741b2c1e43022a461/src/SwaggerUI/Controller/SwaggerController.php#L21-L44", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Cli/Tasks/MigrateTask.php", "func_name": "MigrateTask.prepareDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the migration database for running.\n\n@return void", "docstring_tokens": ["Prepare", "the", "migration", "database", "for", "running", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Cli/Tasks/MigrateTask.php#L50-L55", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.hasColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given table has a given column.\n\n@param string $table\n@param string $column\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "table", "has", "a", "given", "column", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L81-L86", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.getColumnType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the data type for the given column name.\n\n@param string $table\n@param string $column\n\n@return string", "docstring_tokens": ["Get", "the", "data", "type", "for", "the", "given", "column", "name", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L117-L126", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify a table on the schema.\n\n@param string $table\n@param \\Closure $callback\n\n@return void", "docstring_tokens": ["Modify", "a", "table", "on", "the", "schema", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L148-L155", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.drop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drop a table from the schema.\n\n@param string $table\n\n@return void", "docstring_tokens": ["Drop", "a", "table", "from", "the", "schema", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L181-L186", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.dropAllTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drop all tables from the database.\n\n@return void\n\n@throws \\LogicException", "docstring_tokens": ["Drop", "all", "tables", "from", "the", "database", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L209-L218", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename a table on the schema.\n\n@param string $from\n@param string $to\n\n@return void", "docstring_tokens": ["Rename", "a", "table", "on", "the", "schema", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L228-L235", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Builder.php", "func_name": "Builder.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a raw SQL Command\n\n@param string $sql\n\n@return void", "docstring_tokens": ["Execute", "a", "raw", "SQL", "Command"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Builder.php#L244-L251", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.addFromRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a file object from a file an uploaded file.\n@param \\Symfony\\Component\\HttpFoundation\\File\\UploadedFile $uploadedFile\n@param null $tag\n@return self", "docstring_tokens": ["Creates", "a", "file", "object", "from", "a", "file", "an", "uploaded", "file", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L79-L87", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.addFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a file object from a file on the disk.\n@param $filePath\n@param null $tag\n@return self|void", "docstring_tokens": ["Creates", "a", "file", "object", "from", "a", "file", "on", "the", "disk", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L95-L106", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.addFromRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a file object from raw data.\n\n@param $rawData string Raw data\n@param $filename string Filename\n\n@param null $tag\n@return $this|void", "docstring_tokens": ["Creates", "a", "file", "object", "from", "raw", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L117-L129", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.addFromUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a file object from url\n@param $url string URL\n@param $filename string Filename\n@param null $tag\n@return $this\n@throws \\Exception", "docstring_tokens": ["Creates", "a", "file", "object", "from", "url"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L139-L149", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.afterDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After model is deleted\n- clean up it's thumbnails", "docstring_tokens": ["After", "model", "is", "deleted", "-", "clean", "up", "it", "s", "thumbnails"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L173-L182", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getLastModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the last modification date as a UNIX timestamp.\n@return int", "docstring_tokens": ["Returns", "the", "last", "modification", "date", "as", "a", "UNIX", "timestamp", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L258-L264", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getUniqueName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a unique name from the supplied file name.", "docstring_tokens": ["Generates", "a", "unique", "name", "from", "the", "supplied", "file", "name", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L334-L343", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.deleteThumbs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all thumbnails for this file.", "docstring_tokens": ["Delete", "all", "thumbnails", "for", "this", "file", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L369-L380", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.deleteFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete file contents from storage device.\n@param null $fileName\n@return void", "docstring_tokens": ["Delete", "file", "contents", "from", "storage", "device", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L387-L401", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.deleteEmptyDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if directory is empty then deletes it,\nthree levels up to match the partition directory.\n@param string $directory\n@return void", "docstring_tokens": ["Checks", "if", "directory", "is", "empty", "then", "deletes", "it", "three", "levels", "up", "to", "match", "the", "partition", "directory", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L409-L427", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.isDirectoryEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if a directory contains no files.\n@param $directory\n@return bool|null", "docstring_tokens": ["Returns", "true", "if", "a", "directory", "contains", "no", "files", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L434-L438", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.hasFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check file exists on storage device.\n@param string $fileName\n@return bool", "docstring_tokens": ["Check", "file", "exists", "on", "storage", "device", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L445-L449", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getThumb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates and returns a thumbnail url.\n@param int $width\n@param int $height\n@param array $options\n@return string", "docstring_tokens": ["Generates", "and", "returns", "a", "thumbnail", "url", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L470-L482", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getThumbFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a thumbnail filename.\n@param int $width\n@param int $height\n@param array $options\n@return string", "docstring_tokens": ["Generates", "a", "thumbnail", "filename", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L515-L522", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getDefaultThumbOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the default thumbnail options.\n@param array $override\n@return array", "docstring_tokens": ["Returns", "the", "default", "thumbnail", "options", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L529-L549", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.makeThumb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the thumbnail\n@param $thumbFile\n@param array $options", "docstring_tokens": ["Generate", "the", "thumbnail"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L556-L568", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getPublicPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the public address for the storage path.", "docstring_tokens": ["Define", "the", "public", "address", "for", "the", "storage", "path", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L648-L656", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Attach/Media.php", "func_name": "Media.getTempPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the internal working path, override this method to define.", "docstring_tokens": ["Define", "the", "internal", "working", "path", "override", "this", "method", "to", "define", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Attach/Media.php#L661-L669", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php", "func_name": "PostgresqlTrait.typeEnum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the column type definition for a enum type.\n\n@param \\Neutrino\\Support\\Fluent $column\n\n@return array", "docstring_tokens": ["Create", "the", "column", "type", "definition", "for", "a", "enum", "type", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php#L74-L89", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php", "func_name": "PostgresqlTrait.typeTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the column type definition for a timeTz type.\n\n@param \\Neutrino\\Support\\Fluent $column\n\n@return array", "docstring_tokens": ["Create", "the", "column", "type", "definition", "for", "a", "timeTz", "type", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php#L121-L131", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php", "func_name": "PostgresqlTrait.typeTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the column type definition for a timestampTz type.\n\n@param \\Neutrino\\Support\\Fluent $column\n\n@return array", "docstring_tokens": ["Create", "the", "column", "type", "definition", "for", "a", "timestampTz", "type", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/PostgresqlTrait.php#L159-L169", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/Curl/Streaming.php", "func_name": "Streaming.curlWriteFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Curl WRITEFUNCTION handler\n\n@param resource $ch\n@param string $content\n\n@return int", "docstring_tokens": ["Curl", "WRITEFUNCTION", "handler"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/Curl/Streaming.php#L30-L43", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/AssetsJsTask.php", "func_name": "AssetsJsTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compilation, Optimization, Minification of assets js.\nUse the Closure Compile API.\n\n@option --verbose-externs : Display errors & warnings of externals files", "docstring_tokens": ["Compilation", "Optimization", "Minification", "of", "assets", "js", ".", "Use", "the", "Closure", "Compile", "API", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/AssetsJsTask.php#L22-L47", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Foundation/Bootstrap/RegisterTastyIgniter.php", "func_name": "RegisterTastyIgniter.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register specifics for TastyIgniter.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Register", "specifics", "for", "TastyIgniter", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Foundation/Bootstrap/RegisterTastyIgniter.php#L14-L40", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Foundation/Bootstrap/RegisterTastyIgniter.php", "func_name": "RegisterTastyIgniter.normalizeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds leading slash from a URL.\n\n@param string $url URL to normalize.\n\n@return string Returns normalized URL.", "docstring_tokens": ["Adds", "leading", "slash", "from", "a", "URL", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Foundation/Bootstrap/RegisterTastyIgniter.php#L49-L58", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router on any HTTP method\n\n@param string $pattern\n@param mixed $paths\n@param mixed $httpMethods\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "on", "any", "HTTP", "method"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L90-L97", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is GET\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "GET"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L107-L110", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is POST\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "POST"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L120-L123", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addPut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is PUT\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "PUT"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L133-L136", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addPatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is PATCH\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "PATCH"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L146-L149", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is DELETE\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "DELETE"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L159-L162", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a route to the router that only match if the HTTP method is OPTIONS\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Add", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "OPTIONS"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L172-L175", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Micro/Router.php", "func_name": "Router.addHead", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router that only match if the HTTP method is HEAD\n\n@param string $pattern\n@param mixed $paths\n\n@return \\Phalcon\\Mvc\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "that", "only", "match", "if", "the", "HTTP", "method", "is", "HEAD"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Micro/Router.php#L185-L188", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Template.php", "func_name": "Template.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the template.\n\n@param array $context An array of parameters to pass to the template\n\n@return string The rendered template\n@throws \\Exception\n@throws \\Throwable", "docstring_tokens": ["Renders", "the", "template", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Template.php#L50-L76", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Source/SourceResolver.php", "func_name": "SourceResolver.source", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a source instance.\n\n@param string $name\n\n@return \\Igniter\\Flame\\Pagic\\Source\\SourceInterface", "docstring_tokens": ["Get", "a", "source", "instance", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Source/SourceResolver.php#L40-L47", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/MigrationCreator.php", "func_name": "MigrationCreator.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new migration at the given path.\n\n@param string $name\n@param string $path\n@param string $table\n@param bool $create\n\n@return string\n@throws \\Exception", "docstring_tokens": ["Create", "a", "new", "migration", "at", "the", "given", "path", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/MigrationCreator.php#L42-L55", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/MigrationCreator.php", "func_name": "MigrationCreator.ensureMigrationDoesntAlreadyExist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that a migration with the given name doesn't already exist.\n\n@param string $name\n@param string $path\n\n@return void\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Ensure", "that", "a", "migration", "with", "the", "given", "name", "doesn", "t", "already", "exist", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/MigrationCreator.php#L67-L85", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/MigrationCreator.php", "func_name": "MigrationCreator.getStubContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the migration stub file.\n\n@param string $table\n@param bool $create\n\n@return string", "docstring_tokens": ["Get", "the", "migration", "stub", "file", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/MigrationCreator.php#L95-L106", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/MigrationCreator.php", "func_name": "MigrationCreator.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the full path to the migration.\n\n@param string $name\n@param string $path\n\n@return string", "docstring_tokens": ["Get", "the", "full", "path", "to", "the", "migration", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/MigrationCreator.php#L148-L155", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/ActivityLog/Models/Activity.php", "func_name": "Activity.scopeCausedBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scope a query to only include activities by a given causer.\n\n@param \\Igniter\\Flame\\Database\\Builder $query\n@param Model $causer\n\n@return \\Illuminate\\Database\\Eloquent\\Builder", "docstring_tokens": ["Scope", "a", "query", "to", "only", "include", "activities", "by", "a", "given", "causer", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/ActivityLog/Models/Activity.php#L55-L60", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/ActivityLog/Models/Activity.php", "func_name": "Activity.scopeForSubject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scope a query to only include activities for a given subject.\n\n@param \\Igniter\\Flame\\Database\\Builder $query\n@param Model $subject\n\n@return \\Illuminate\\Database\\Eloquent\\Builder", "docstring_tokens": ["Scope", "a", "query", "to", "only", "include", "activities", "for", "a", "given", "subject", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/ActivityLog/Models/Activity.php#L70-L75", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ConfigRewrite.php", "func_name": "ConfigRewrite.buildArrayExpression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Single level arrays only\n@param $targetKey\n@param array $arrayItems\n@return string", "docstring_tokens": ["Single", "level", "arrays", "only"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ConfigRewrite.php#L181-L195", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Cli/Tasks/BaseTask.php", "func_name": "BaseTask.getMigrationPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the migration paths.\n\n@return array", "docstring_tokens": ["Get", "all", "of", "the", "migration", "paths", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Cli/Tasks/BaseTask.php#L85-L99", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ViewClearTask.php", "func_name": "ViewClearTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear all compiled view files.\n\n@description Clear all compiled view files.", "docstring_tokens": ["Clear", "all", "compiled", "view", "files", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ViewClearTask.php#L20-L27", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the parameters\n\n@param array $parameters\n@param bool $merge Merge or Erase current parameters\n\n@return $this", "docstring_tokens": ["Define", "the", "parameters"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L195-L204", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the headers\n\n@param array $headers\n@param bool $merge Merge or Erase current headers\n\n@return $this", "docstring_tokens": ["Define", "the", "headers"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L269-L274", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define proxy setting\n\n@param string $host\n@param int $port\n@param string $access\n\n@return $this", "docstring_tokens": ["Define", "proxy", "setting"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L310-L319", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the cookies\n\n@param array $cookies\n@param bool $merge Merge or Erase current cookies\n\n@return $this", "docstring_tokens": ["Define", "the", "cookies"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L345-L354", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a cookie\n\n@param null|string $key\n@param string $value\n\n@return $this\n@throws \\InvalidArgumentException", "docstring_tokens": ["Define", "a", "cookie"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L365-L374", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the options\n\n@param array $options\n@param bool $merge Est-ce que l'on ajoute les options aux options existantes, ou les ecrases\n\n@return $this", "docstring_tokens": ["Define", "the", "options"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L394-L403", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the request & return the response\n\n@return \\Neutrino\\HttpClient\\Response", "docstring_tokens": ["Send", "the", "request", "&", "return", "the", "response"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L425-L436", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Request.php", "func_name": "Request.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a HTTP request\n\n@param string $method\n@param string $uri\n@param array $params\n@param array $options\n\n@return $this", "docstring_tokens": ["Build", "a", "HTTP", "request"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Request.php#L448-L468", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the blueprint against the database.\n\n@param \\Phalcon\\Db\\AdapterInterface $db\n@param \\Neutrino\\Database\\Schema\\DialectInterface $grammar\n\n@return bool\n@throws \\Exception", "docstring_tokens": ["Execute", "the", "blueprint", "against", "the", "database", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L61-L82", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.buildTableDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the table definition for table creation\n\n@param \\Neutrino\\Database\\Schema\\DialectInterface $grammar\n\n@return array", "docstring_tokens": ["Build", "the", "table", "definition", "for", "table", "creation"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L107-L159", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.buildCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build all columns, indexes, references, to commands\n\n@param \\Phalcon\\Db\\AdapterInterface $db", "docstring_tokens": ["Build", "all", "columns", "indexes", "references", "to", "commands"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L196-L223", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specify an index for the table.\n\n@param string|array $columns\n@param string|null $name\n@param string $type Type of index\n\n@return \\Neutrino\\Database\\Schema\\Definition", "docstring_tokens": ["Specify", "an", "index", "for", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L729-L732", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.float", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new float column on the table.\n\n@param string $column\n@param int $scale\n\n@return \\Neutrino\\Database\\Schema\\Definition", "docstring_tokens": ["Create", "a", "new", "float", "column", "on", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1031-L1034", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.double", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new double column on the table.\n\n@param string $column\n@param int $scale\n\n@return \\Neutrino\\Database\\Schema\\Definition", "docstring_tokens": ["Create", "a", "new", "double", "column", "on", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1044-L1047", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.decimal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new decimal column on the table.\n\n@param string $column\n@param int $scale\n\n@return \\Neutrino\\Database\\Schema\\Definition", "docstring_tokens": ["Create", "a", "new", "decimal", "column", "on", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1057-L1060", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.nullableTimestamps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add nullable creation and update timestamps to the table.\n\n@param int $precision\n\n@return void", "docstring_tokens": ["Add", "nullable", "creation", "and", "update", "timestamps", "to", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1221-L1227", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.nullableTimestampsTz", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add nullable creation and update timestampTz to the table.\n\n@param int $precision\n\n@return void", "docstring_tokens": ["Add", "nullable", "creation", "and", "update", "timestampTz", "to", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1250-L1256", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.morphs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the proper columns for a polymorphic table.\n\n@param string $name\n@param string|null $indexName\n\n@return void", "docstring_tokens": ["Add", "the", "proper", "columns", "for", "a", "polymorphic", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1391-L1398", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.nullableMorphs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add nullable columns for a polymorphic table.\n\n@param string $name\n@param string|null $indexName\n\n@return void", "docstring_tokens": ["Add", "nullable", "columns", "for", "a", "polymorphic", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1408-L1415", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new column to the blueprint.\n\n@param int $type\n@param string $name\n@param array $parameters\n\n@return \\Neutrino\\Database\\Schema\\Definition", "docstring_tokens": ["Add", "a", "new", "column", "to", "the", "blueprint", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1519-L1525", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Blueprint.php", "func_name": "Blueprint.createReferenceName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a default index name for the table.\n\n@param array $columns\n@param string $on\n@param array $references\n\n@return string", "docstring_tokens": ["Create", "a", "default", "index", "name", "for", "the", "table", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Blueprint.php#L1619-L1635", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an element to an array using \"dot\" notation if it doesn't exist.\n\n@param array $array\n@param string $key\n@param mixed $value\n\n@return array", "docstring_tokens": ["Add", "an", "element", "to", "an", "array", "using", "dot", "notation", "if", "it", "doesn", "t", "exist", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L28-L35", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.collapse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collapse an array of arrays into a single array.\n\n@param \\ArrayAccess|array $array\n\n@return array", "docstring_tokens": ["Collapse", "an", "array", "of", "arrays", "into", "a", "single", "array", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L44-L57", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from an array.\n\n@param array $array\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "from", "an", "array", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L234-L241", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item, no null, from an array.\n\n@param array $array\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "no", "null", "from", "an", "array", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L252-L259", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.pull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from the array, and remove it.\n\n@param array $array\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "a", "value", "from", "the", "array", "and", "remove", "it", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L424-L431", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map an array recursively\n\n@param callable $callback\n@param array $array\n@param bool $recursive Array map recursively\n\n@return array", "docstring_tokens": ["Map", "an", "array", "recursively"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L530-L541", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Arr.php", "func_name": "Arr.explodePluckParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Explode the \"value\" and \"key\" arguments passed to \"pluck\".\n\n@param string|array $value\n@param string|array|null $key\n\n@return array", "docstring_tokens": ["Explode", "the", "value", "and", "key", "arguments", "passed", "to", "pluck", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Arr.php#L551-L558", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Str.php", "func_name": "Str.levenshtein", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort a words list by their levenshtein distance of word.\n\n@param string $word\n@param string[] $words\n@param int $order\n@param int $sort_flags\n\n@return mixed", "docstring_tokens": ["Sort", "a", "words", "list", "by", "their", "levenshtein", "distance", "of", "word", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Str.php#L145-L158", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Str.php", "func_name": "Str.capitalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a value to Capitalize case.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Convert", "a", "value", "to", "Capitalize", "case", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Str.php#L420-L431", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Str.php", "func_name": "Str.ucfirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a string's first character uppercase.\n\n@param string $string\n\n@return string", "docstring_tokens": ["Make", "a", "string", "s", "first", "character", "uppercase", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Str.php#L454-L457", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Geolite/Formatter/StringFormatter.php", "func_name": "StringFormatter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a `Location` instance into a string representation.\n\n@param Location $location\n@param string $format\n\n@return string", "docstring_tokens": ["Transform", "a", "Location", "instance", "into", "a", "string", "representation", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Geolite/Formatter/StringFormatter.php#L29-L49", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Providers/Url.php", "func_name": "Url.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The URL component is used to generate all kind of urls in the application\n\n@return \\Phalcon\\Mvc\\Url", "docstring_tokens": ["The", "URL", "component", "is", "used", "to", "generate", "all", "kind", "of", "urls", "in", "the", "application"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Providers/Url.php#L26-L36", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Optimizer/Composer/Script.php", "func_name": "Script.getComposerCmd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the composer command line\n\n@return string", "docstring_tokens": ["Return", "the", "composer", "command", "line"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Optimizer/Composer/Script.php#L63-L72", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/StreamContext.php", "func_name": "StreamContext.buildParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construit les parametres de la requete.\n\n@return $this", "docstring_tokens": ["Construit", "les", "parametres", "de", "la", "requete", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/StreamContext.php#L152-L178", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/StreamContext.php", "func_name": "StreamContext.buildHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construit les headers de la requete.\n\n@return $this", "docstring_tokens": ["Construit", "les", "headers", "de", "la", "requete", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/StreamContext.php#L185-L190", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/StreamContext.php", "func_name": "StreamContext.buildProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construit le proxy de la requete\n\n@return $this", "docstring_tokens": ["Construit", "le", "proxy", "de", "la", "requete"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/StreamContext.php#L197-L214", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/StreamContext.php", "func_name": "StreamContext.buildCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construit les cookies de la requete\n\n@return $this", "docstring_tokens": ["Construit", "les", "cookies", "de", "la", "requete"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/StreamContext.php#L221-L228", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/HasEvents.php", "func_name": "HasEvents.observe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register an observer with the Model.\n\n@param object|string $class\n\n@return void", "docstring_tokens": ["Register", "an", "observer", "with", "the", "Model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/HasEvents.php#L34-L48", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/HasEvents.php", "func_name": "HasEvents.registerModelEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a model event with the dispatcher.\n\n@param string $event\n@param \\Closure|string $callback\n@param int $priority\n\n@return void", "docstring_tokens": ["Register", "a", "model", "event", "with", "the", "dispatcher", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/HasEvents.php#L118-L125", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/HasEvents.php", "func_name": "HasEvents.bootNicerEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind some nicer events to this model, in the format of method overrides.", "docstring_tokens": ["Bind", "some", "nicer", "events", "to", "this", "model", "in", "the", "format", "of", "method", "overrides", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/HasEvents.php#L130-L167", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/HasEvents.php", "func_name": "HasEvents.flushEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all of the event listeners for the model.\n\n@return void", "docstring_tokens": ["Remove", "all", "of", "the", "event", "listeners", "for", "the", "model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/HasEvents.php#L373-L384", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Location/Manager.php", "func_name": "Manager.createLocationModelQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares a query derived from the location model.", "docstring_tokens": ["Prepares", "a", "query", "derived", "from", "the", "location", "model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Location/Manager.php#L171-L178", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Location/Manager.php", "func_name": "Manager.getById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a location by their unique identifier.\n\n@param mixed $identifier\n\n@return \\Igniter\\Flame\\Location\\Models\\AbstractLocation|null", "docstring_tokens": ["Retrieve", "a", "location", "by", "their", "unique", "identifier", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Location/Manager.php#L198-L204", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Location/Manager.php", "func_name": "Manager.getBySlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a location by their unique slug.\n\n@param string $slug\n\n@return \\Igniter\\Flame\\Location\\Contracts\\LocationInterface|null", "docstring_tokens": ["Retrieve", "a", "location", "by", "their", "unique", "slug", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Location/Manager.php#L213-L220", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Flash/FlashBag.php", "func_name": "FlashBag.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flash a general message.\n\n@param string|null $message\n@param string|null $level\n\n@return $this", "docstring_tokens": ["Flash", "a", "general", "message", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Flash/FlashBag.php#L144-L159", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Flash/FlashBag.php", "func_name": "FlashBag.overlay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flash an overlay modal.\n\n@param string|null $message\n@param string $title\n\n@return $this", "docstring_tokens": ["Flash", "an", "overlay", "modal", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Flash/FlashBag.php#L183-L192", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Flash/FlashBag.php", "func_name": "FlashBag.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear all registered messages.\n@return $this", "docstring_tokens": ["Clear", "all", "registered", "messages", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Flash/FlashBag.php#L216-L223", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cli/Router.php", "func_name": "Router.addTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the router, with task as class.\n\nex : $router->addTask('some', SomeTask::class);\n\n@param string $command\n@param string $class\n@param string|null $action\n@param array $params\n\n@return \\Phalcon\\Cli\\Router\\Route|\\Phalcon\\Cli\\Router\\RouteInterface", "docstring_tokens": ["Adds", "a", "route", "to", "the", "router", "with", "task", "as", "class", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cli/Router.php#L24-L39", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Providers/MigrationsServicesProvider.php", "func_name": "MigrationsServicesProvider.registering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called upon bootstrap the application.\nAdds to container services desired services.\n\n@return void", "docstring_tokens": ["Called", "upon", "bootstrap", "the", "application", ".", "Adds", "to", "container", "services", "desired", "services", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Providers/MigrationsServicesProvider.php#L27-L35", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Providers/MigrationsServicesProvider.php", "func_name": "MigrationsServicesProvider.registerPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Migrations\\Prefix\n\n@param \\Phalcon\\DiInterface $di", "docstring_tokens": ["Register", "Migrations", "\\", "Prefix"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Providers/MigrationsServicesProvider.php#L42-L49", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Providers/MigrationsServicesProvider.php", "func_name": "MigrationsServicesProvider.registerStorage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Migrations\\Storage\n\n@param \\Phalcon\\DiInterface $di", "docstring_tokens": ["Register", "Migrations", "\\", "Storage"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Providers/MigrationsServicesProvider.php#L56-L63", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Foundation/Providers/AppServiceProvider.php", "func_name": "AppServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the service provider.\n@return void", "docstring_tokens": ["Boot", "the", "service", "provider", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Foundation/Providers/AppServiceProvider.php#L26-L34", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Builder.php", "func_name": "Builder.like", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convenient method for where like clause\n\n@param string $column\n@param $value\n@param string $side\n@param string $boolean\n\n@return \\Igniter\\Flame\\Database\\Builder", "docstring_tokens": ["Convenient", "method", "for", "where", "like", "clause"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Builder.php#L81-L84", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Builder.php", "func_name": "Builder.pluckDates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array with the values of dates.\n\n@param string $column\n@param string $keyFormat\n@param string $valueFormat\n\n@return array", "docstring_tokens": ["Get", "an", "array", "with", "the", "values", "of", "dates", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Builder.php#L179-L195", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Builder.php", "func_name": "Builder.findOrNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model by its primary key or return fresh model instance\nwith filled attributes to use with forms.\n\n@param mixed $id\n@param array $columns\n\n@return \\Illuminate\\Database\\Eloquent\\Model", "docstring_tokens": ["Find", "a", "model", "by", "its", "primary", "key", "or", "return", "fresh", "model", "instance", "with", "filled", "attributes", "to", "use", "with", "forms", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Builder.php#L269-L280", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Auth/Manager.php", "func_name": "Manager.user", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the user authenticated\n\n@return \\Neutrino\\Foundation\\Auth\\User|null", "docstring_tokens": ["Return", "the", "user", "authenticated"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Auth/Manager.php#L45-L82", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Auth/Manager.php", "func_name": "Manager.logout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log out of the application", "docstring_tokens": ["Log", "out", "of", "the", "application"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Auth/Manager.php#L128-L135", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Auth/Manager.php", "func_name": "Manager.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a user into the application\n\n@param User $user\n@param bool $remember\n\n@return bool", "docstring_tokens": ["Log", "a", "user", "into", "the", "application"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Auth/Manager.php#L155-L180", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Auth/Manager.php", "func_name": "Manager.retrieveUserByToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a user by his identifier & remember token.\n\n@param string $identifier\n@param string $token\n\n@return AuthenticableInterface|\\Phalcon\\Mvc\\Model", "docstring_tokens": ["Retrieve", "a", "user", "by", "his", "identifier", "&", "remember", "token", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Auth/Manager.php#L237-L246", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Auth/Manager.php", "func_name": "Manager.retrieveUserByCredentials", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a user by credentials\n\n@param array $credentials\n\n@return \\Neutrino\\Foundation\\Auth\\User", "docstring_tokens": ["Retrieve", "a", "user", "by", "credentials"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Auth/Manager.php#L255-L274", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Debugger.php", "func_name": "Debugger.dbProfilerRegister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register db profiler", "docstring_tokens": ["Register", "db", "profiler"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Debugger.php#L158-L180", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Debugger.php", "func_name": "Debugger.viewProfilerRegister", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register view profiler", "docstring_tokens": ["Register", "view", "profiler"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Debugger.php#L185-L217", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Cli/Tasks/MakerTask.php", "func_name": "MakerTask.writeMigration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the migration file to disk.\n\n@param string $name\n@param string $table\n@param bool $create", "docstring_tokens": ["Write", "the", "migration", "file", "to", "disk", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Cli/Tasks/MakerTask.php#L63-L70", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/ActivityLog/Traits/LogsActivity.php", "func_name": "LogsActivity.eventsToBeRecorded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the event names that should be recorded.", "docstring_tokens": ["Get", "the", "event", "names", "that", "should", "be", "recorded", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/ActivityLog/Traits/LogsActivity.php#L102-L119", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.arrayDump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump an array\n\n@param array $var\n@param int|null $id\n@param int|null $idLabel\n\n@return string", "docstring_tokens": ["Dump", "an", "array"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L35-L58", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.getVarId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return id for given object|array|resource\n\n@param mixed $var\n\n@return int|null", "docstring_tokens": ["Return", "id", "for", "given", "object|array|resource"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L252-L271", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.genArrayHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate hash id for given array\n\n@param array $var\n\n@return string", "docstring_tokens": ["Generate", "hash", "id", "for", "given", "array"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L292-L324", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.checkArrayRecursion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an array contains any recursion\n\n@param array $var\n\n@return bool", "docstring_tokens": ["Check", "if", "an", "array", "contains", "any", "recursion"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L333-L363", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.checkObjectRecursion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an object contains any recursion\n\n@param $obj\n\n@return bool", "docstring_tokens": ["Check", "if", "an", "object", "contains", "any", "recursion"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L372-L412", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/VarDump.php", "func_name": "VarDump.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dumps information about a variable\n\n@param mixed ...$vars", "docstring_tokens": ["Dumps", "information", "about", "a", "variable"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/VarDump.php#L431-L454", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ListTask.php", "func_name": "ListTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all commands available.\n\n@description List all commands available.", "docstring_tokens": ["List", "all", "commands", "available", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ListTask.php#L29-L62", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ListTask.php", "func_name": "ListTask.describeRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describe a \\Phalcon\\Cli\\Router\\Route\n\n@param \\Phalcon\\Cli\\Router\\Route $route", "docstring_tokens": ["Describe", "a", "\\", "Phalcon", "\\", "Cli", "\\", "Router", "\\", "Route"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ListTask.php#L69-L82", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.addDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add directories to the class loader.\n\n@param string|array $directories\n\n@return void", "docstring_tokens": ["Add", "directories", "to", "the", "class", "loader", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L129-L134", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.normalizeClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the normal file name for a class.\n\n@param string $class\n\n@return array", "docstring_tokens": ["Get", "the", "normal", "file", "name", "for", "a", "class", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L164-L186", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.loadMappedClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the mapped class for a directory prefix and relative class.\n\n@param string $class The class name.\n\n@return mixed bool false if no mapped file can be loaded, or the\nname of the mapped file that was loaded.", "docstring_tokens": ["Load", "the", "mapped", "class", "for", "a", "directory", "prefix", "and", "relative", "class", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L196-L219", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.requireClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If a file exists, require it from the file system.\n\n@param $class\n@param string $path The file to require.\n\n@return void True if the file exists, false if not.", "docstring_tokens": ["If", "a", "file", "exists", "require", "it", "from", "the", "file", "system", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L241-L248", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.loadManifest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the manifest into memory.\n\n@return void", "docstring_tokens": ["Load", "the", "manifest", "into", "memory", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L255-L275", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Support/ClassLoader.php", "func_name": "ClassLoader.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the manifest array to filesystem.\n\n@param array $manifest\n\n@return void\n@throws \\Exception", "docstring_tokens": ["Write", "the", "manifest", "array", "to", "filesystem", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Support/ClassLoader.php#L285-L294", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Translation/FileLoader.php", "func_name": "FileLoader.loadFromDrivers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get storage driver.\n\n@param $locale\n@param $group\n@param null $namespace\n\n@return Contracts\\Driver", "docstring_tokens": ["Get", "storage", "driver", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Translation/FileLoader.php#L36-L43", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Translation/FileLoader.php", "func_name": "FileLoader.loadPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a locale from a given path.\n\n@param string $path\n@param string $locale\n@param string $group\n\n@return array", "docstring_tokens": ["Load", "a", "locale", "from", "a", "given", "path", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Translation/FileLoader.php#L102-L112", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/DatabaseSettingStore.php", "func_name": "DatabaseSettingStore.setConstraint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the query constraint.\n\n@param \\Closure $callback", "docstring_tokens": ["Set", "the", "query", "constraint", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/DatabaseSettingStore.php#L101-L106", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/DatabaseSettingStore.php", "func_name": "DatabaseSettingStore.parseReadData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse data coming from the database.\n\n@param \\Illuminate\\Support\\Collection $data\n\n@return array", "docstring_tokens": ["Parse", "data", "coming", "from", "the", "database", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/DatabaseSettingStore.php#L236-L257", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/DatabaseSettingStore.php", "func_name": "DatabaseSettingStore.newQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new query builder instance.\n\n@param $insert boolean Whether the query is an insert or not.\n\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Create", "a", "new", "query", "builder", "instance", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/DatabaseSettingStore.php#L266-L282", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cli/Output/Decorate.php", "func_name": "Decorate.hasColorSupport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if console has color support\n\n@return bool", "docstring_tokens": ["Check", "if", "console", "has", "color", "support"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cli/Output/Decorate.php#L56-L71", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cli/Output/Decorate.php", "func_name": "Decorate.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the style to a given text.\n\n@param string $text The text to style=\n@param null $foreground\n@param null $background\n@param array $options\n\n@return string", "docstring_tokens": ["Applies", "the", "style", "to", "a", "given", "text", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cli/Output/Decorate.php#L93-L122", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Storage/FileStorage.php", "func_name": "FileStorage.getRan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ran migrations.\n\n@return array", "docstring_tokens": ["Get", "the", "ran", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Storage/FileStorage.php#L21-L32", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Storage/FileStorage.php", "func_name": "FileStorage.getMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of migrations.\n\n@param int $steps\n\n@return array", "docstring_tokens": ["Get", "list", "of", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Storage/FileStorage.php#L41-L56", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the pending migrations at a given path.\n\n@param array|string $paths\n@param array $options\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Run", "the", "pending", "migrations", "at", "a", "given", "path", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L72-L91", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.runUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run \"up\" a migration instance.\n\n@param string $file\n@param int $batch\n@param bool $pretend\n\n@return void\n@throws \\Exception", "docstring_tokens": ["Run", "up", "a", "migration", "instance", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L164-L189", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.getMigrationsForRollback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the migrations for a rollback operation.\n\n@param array $options\n\n@return array", "docstring_tokens": ["Get", "the", "migrations", "for", "a", "rollback", "operation", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L225-L234", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.rollbackMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rollback the given migrations.\n\n@param array $migrations\n@param array|string $paths\n@param array $options\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Rollback", "the", "given", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L246-L270", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rolls all of the currently applied migrations back.\n\n@param array|string $paths\n@param array $options\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Rolls", "all", "of", "the", "currently", "applied", "migrations", "back", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L281-L297", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.resetMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the given migrations.\n\n@param array $migrations\n@param array $paths\n@param array $options\n\n@return array\n@throws \\Exception", "docstring_tokens": ["Reset", "the", "given", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L309-L319", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.runDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run \"down\" a migration instance.\n\n@param string $file\n@param object $migration\n@param bool $pretend\n\n@return void\n@throws \\Exception", "docstring_tokens": ["Run", "down", "a", "migration", "instance", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L331-L356", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.pretendToRun", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pretend to run the migrations.\n\n@param $name\n@param $instance\n@param $method", "docstring_tokens": ["Pretend", "to", "run", "the", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L365-L380", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Migrations/Migrator.php", "func_name": "Migrator.getMigrationFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the migration files in a given path.\n\n@param string|array $paths\n\n@return array", "docstring_tokens": ["Get", "all", "of", "the", "migration", "files", "in", "a", "given", "path", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Migrations/Migrator.php#L418-L434", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ClearCompiledTask.php", "func_name": "ClearCompiledTask.clearLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deleting Compiled Files\n\n@param string $compileDir", "docstring_tokens": ["Deleting", "Compiled", "Files"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ClearCompiledTask.php#L39-L47", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.primary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the primary column\n\n@param string $name\n@param int $type\n@param array $options", "docstring_tokens": ["Define", "the", "primary", "column"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L77-L96", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a column\n\n@param string $name\n@param int $type\n@param array $options", "docstring_tokens": ["Define", "a", "column"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L105-L128", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.timestampable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a timestampable column.\nAutomatically add the Timestampable behavior.\n\n@param string $name\n@param array $options", "docstring_tokens": ["Define", "a", "timestampable", "column", ".", "Automatically", "add", "the", "Timestampable", "behavior", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L137-L168", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.softDeletable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a softDeleted column.\nAutomatically add the SoftDelete behavior.\n\n@param string $name\n@param array $options", "docstring_tokens": ["Define", "a", "softDeleted", "column", ".", "Automatically", "add", "the", "SoftDelete", "behavior", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L186-L200", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add column type\n\n@param string $name\n@param int $type\n@param string $map", "docstring_tokens": ["Add", "column", "type"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L217-L225", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Model.php", "func_name": "Model.describeColumnType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define a column type\n\n@param string $name\n@param int $type", "docstring_tokens": ["Define", "a", "column", "type"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Model.php#L233-L273", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cli/Task.php", "func_name": "Task.hasOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if option has been passed\n\n@param string[] ...$options\n\n@return bool", "docstring_tokens": ["Check", "if", "option", "has", "been", "passed"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cli/Task.php#L257-L266", "partition": "test"} +{"repo": "FbF/Laravel-Categories", "path": "src/models/Category.php", "func_name": "Category.isParentIdSame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the parent_id value in the database is different to the current value in the model's dirty attributes\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "parent_id", "value", "in", "the", "database", "is", "different", "to", "the", "current", "value", "in", "the", "model", "s", "dirty", "attributes"], "sha": "bb01454e6fbc95bc6635d861d71588ab0c0ad0a5", "url": "https://github.com/FbF/Laravel-Categories/blob/bb01454e6fbc95bc6635d861d71588ab0c0ad0a5/src/models/Category.php#L66-L82", "partition": "test"} +{"repo": "FbF/Laravel-Categories", "path": "src/models/Category.php", "func_name": "Category.scopeLive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a query scope to add conditions to query object\n\n@param $query\n@return mixed", "docstring_tokens": ["Adds", "a", "query", "scope", "to", "add", "conditions", "to", "query", "object"], "sha": "bb01454e6fbc95bc6635d861d71588ab0c0ad0a5", "url": "https://github.com/FbF/Laravel-Categories/blob/bb01454e6fbc95bc6635d861d71588ab0c0ad0a5/src/models/Category.php#L101-L105", "partition": "test"} +{"repo": "FbF/Laravel-Categories", "path": "src/models/Category.php", "func_name": "Category.getPathAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accessor for path attribute, which is a string consisting of the ancestors of each node, separated by \" > \".\n@return string", "docstring_tokens": ["Accessor", "for", "path", "attribute", "which", "is", "a", "string", "consisting", "of", "the", "ancestors", "of", "each", "node", "separated", "by", ">", "."], "sha": "bb01454e6fbc95bc6635d861d71588ab0c0ad0a5", "url": "https://github.com/FbF/Laravel-Categories/blob/bb01454e6fbc95bc6635d861d71588ab0c0ad0a5/src/models/Category.php#L111-L120", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Providers/Crypt.php", "func_name": "Crypt.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the service to register\n\nCalled when the services container tries to resolve the service\n\n@return mixed", "docstring_tokens": ["Return", "the", "service", "to", "register"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Providers/Crypt.php#L30-L39", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ConfigCacheTask.php", "func_name": "ConfigCacheTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configuration cache.\n\n@description Cache the configuration.\n\n@throws \\Exception", "docstring_tokens": ["Configuration", "cache", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ConfigCacheTask.php#L24-L38", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/MysqlTrait.php", "func_name": "MysqlTrait.renameTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL for rename table\n\n@param string $from\n@param string $to\n@param null|string $schema\n\n@return string", "docstring_tokens": ["Generates", "SQL", "for", "rename", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/MysqlTrait.php#L143-L146", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/HasPermalink.php", "func_name": "HasPermalink.bootHasPermalink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the sortable trait for this model.\n@return void\n@throws \\Exception", "docstring_tokens": ["Boot", "the", "sortable", "trait", "for", "this", "model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/HasPermalink.php#L25-L36", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/HasPermalink.php", "func_name": "HasPermalink.getSlugKeyName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Primary slug column of this model.\n@return string", "docstring_tokens": ["Primary", "slug", "column", "of", "this", "model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/HasPermalink.php#L50-L66", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/HasPermalink.php", "func_name": "HasPermalink.scopeFindSimilarSlugs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query scope for finding \"similar\" slugs, used to determine uniqueness.\n\n@param \\Illuminate\\Database\\Eloquent\\Builder $query\n@param string $attribute\n@param array $config\n@param string $slug\n\n@return \\Illuminate\\Database\\Eloquent\\Builder", "docstring_tokens": ["Query", "scope", "for", "finding", "similar", "slugs", "used", "to", "determine", "uniqueness", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/HasPermalink.php#L100-L106", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends SQL statements to the database server returning the success state.\nUse this method only when the SQL statement sent to the server return rows\n\n@param string $sqlStatement\n@param mixed $placeholders\n@param mixed $dataTypes\n@param array $args\n@return bool|ResultInterface", "docstring_tokens": ["Sends", "SQL", "statements", "to", "the", "database", "server", "returning", "the", "success", "state", ".", "Use", "this", "method", "only", "when", "the", "SQL", "statement", "sent", "to", "the", "server", "return", "rows"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L83-L86", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends SQL statements to the database server returning the success state.\nUse this method only when the SQL statement sent to the server doesn't return any rows\n\n@param string $sqlStatement\n@param mixed $placeholders\n@param mixed $dataTypes\n@param array $args\n@return bool", "docstring_tokens": ["Sends", "SQL", "statements", "to", "the", "database", "server", "returning", "the", "success", "state", ".", "Use", "this", "method", "only", "when", "the", "SQL", "statement", "sent", "to", "the", "server", "doesn", "t", "return", "any", "rows"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L98-L101", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.describeColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of Phalcon\\Db\\Column objects describing a table\n\n@param string $table\n@param string $schema\n@param array $args\n@return ColumnInterface[]", "docstring_tokens": ["Returns", "an", "array", "of", "Phalcon", "\\", "Db", "\\", "Column", "objects", "describing", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L216-L219", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.fetchOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first row in a SQL query result\n\n@param string $sqlQuery\n@param int $fetchMode\n@param int $placeholders\n@param array $args\n@return array", "docstring_tokens": ["Returns", "the", "first", "row", "in", "a", "SQL", "query", "result"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L230-L233", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.fetchAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dumps the complete result of a query into an array\n\n@param string $sqlQuery\n@param int $fetchMode\n@param int $placeholders\n@param array $args\n@return array", "docstring_tokens": ["Dumps", "the", "complete", "result", "of", "a", "query", "into", "an", "array"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L244-L247", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts data into a table using custom RDBMS SQL syntax\n\n@param mixed $table\n@param array $values\n@param mixed $fields\n@param mixed $dataTypes\n@param array $args\n@return mixed", "docstring_tokens": ["Inserts", "data", "into", "a", "table", "using", "custom", "RDBMS", "SQL", "syntax"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L259-L261", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates data on a table using custom RDBMS SQL syntax\n\n@param mixed $table\n@param mixed $fields\n@param mixed $values\n@param mixed $whereCondition\n@param mixed $dataTypes\n@param array $args\n@return mixed", "docstring_tokens": ["Updates", "data", "on", "a", "table", "using", "custom", "RDBMS", "SQL", "syntax"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L274-L277", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes data from a table using custom RDBMS SQL syntax\n\n@param string $table\n@param string $whereCondition\n@param array $placeholders\n@param array $dataTypes\n@param array $args\n@return boolean", "docstring_tokens": ["Deletes", "data", "from", "a", "table", "using", "custom", "RDBMS", "SQL", "syntax"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L289-L292", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends a LIMIT clause to sqlQuery argument\n\n@param mixed $sqlQuery\n@param mixed $number\n@param array $args\n@return mixed", "docstring_tokens": ["Appends", "a", "LIMIT", "clause", "to", "sqlQuery", "argument"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L314-L317", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.tableExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL checking for the existence of a schema.table\n\n@param string $tableName\n@param string $schemaName\n@param array $args\n@return bool", "docstring_tokens": ["Generates", "SQL", "checking", "for", "the", "existence", "of", "a", "schema", ".", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L327-L330", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.viewExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL checking for the existence of a schema.view\n\n@param string $viewName\n@param string $schemaName\n@param array $args\n@return bool", "docstring_tokens": ["Generates", "SQL", "checking", "for", "the", "existence", "of", "a", "schema", ".", "view"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L340-L343", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a table\n\n@param string $tableName\n@param string $schemaName\n@param array $definition\n@param array $args\n@return bool", "docstring_tokens": ["Creates", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L378-L380", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.createView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a view\n\n@param string $viewName\n@param array $definition\n@param string $schemaName\n@param array $args\n@return bool", "docstring_tokens": ["Creates", "a", "view"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L405-L407", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.dropView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drops a view\n\n@param string $viewName\n@param string $schemaName\n@param bool $ifExists\n@param array $args\n@return bool", "docstring_tokens": ["Drops", "a", "view"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L418-L421", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a column to a table\n\n@param string $tableName\n@param string $schemaName\n@param ColumnInterface $column\n@param array $args\n@return bool", "docstring_tokens": ["Adds", "a", "column", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L432-L434", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.modifyColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modifies a table column based on a definition\n\n@param string $tableName\n@param string $schemaName\n@param ColumnInterface $column\n@param ColumnInterface $currentColumn\n@param array $args\n@return bool", "docstring_tokens": ["Modifies", "a", "table", "column", "based", "on", "a", "definition"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L446-L448", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.dropColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drops a column from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $columnName\n@param array $args\n@return bool", "docstring_tokens": ["Drops", "a", "column", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L459-L462", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.addIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an index to a table\n\n@param string $tableName\n@param string $schemaName\n@param IndexInterface $index\n@param array $args\n@return bool", "docstring_tokens": ["Adds", "an", "index", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L473-L475", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.dropIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drop an index from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $indexName\n@param array $args\n@return bool", "docstring_tokens": ["Drop", "an", "index", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L486-L489", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.addPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a primary key to a table\n\n@param string $tableName\n@param string $schemaName\n@param IndexInterface $index\n@param array $args\n@return bool", "docstring_tokens": ["Adds", "a", "primary", "key", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L500-L502", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.dropPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drops primary key from a table\n\n@param string $tableName\n@param string $schemaName\n@param array $args\n@return bool", "docstring_tokens": ["Drops", "primary", "key", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L512-L515", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.addForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a foreign key to a table\n\n@param string $tableName\n@param string $schemaName\n@param ReferenceInterface $reference\n@param array $args\n@return bool", "docstring_tokens": ["Adds", "a", "foreign", "key", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L526-L528", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.dropForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Drops a foreign key from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $referenceName\n@param array $args\n@return bool", "docstring_tokens": ["Drops", "a", "foreign", "key", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L539-L542", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.describeIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists table indexes\n\n@param string $table\n@param string $schema\n@param array $args\n@return IndexInterface[]", "docstring_tokens": ["Lists", "table", "indexes"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L698-L701", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.describeReferences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists table references\n\n@param string $table\n@param string $schema\n@param array $args\n@return ReferenceInterface[]", "docstring_tokens": ["Lists", "table", "references"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L711-L714", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/DatabaseStrategy.php", "func_name": "DatabaseStrategy.tableOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets creation options from a table\n\n@param string $tableName\n@param string $schemaName\n@param array $args\n@return array", "docstring_tokens": ["Gets", "creation", "options", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/DatabaseStrategy.php#L724-L727", "partition": "test"} +{"repo": "nextras/tracy-query-panel", "path": "src/TracyQueryPanel/QueryPanel.php", "func_name": "QueryPanel.getPanel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders HTML code for custom panel.\n\n@return string html\n@internal", "docstring_tokens": ["Renders", "HTML", "code", "for", "custom", "panel", "."], "sha": "a7137ec93bd800410cf318fb33d0dca4bd715c6e", "url": "https://github.com/nextras/tracy-query-panel/blob/a7137ec93bd800410cf318fb33d0dca4bd715c6e/src/TracyQueryPanel/QueryPanel.php#L81-L99", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.addColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to add a column to a table\n\n@param string $tableName\n@param string $schemaName\n@param \\Phalcon\\Db\\ColumnInterface $column\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "add", "a", "column", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L153-L156", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.modifyColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to modify a column in a table\n\n@param string $tableName\n@param string $schemaName\n@param \\Phalcon\\Db\\ColumnInterface $column\n@param \\Phalcon\\Db\\ColumnInterface $currentColumn\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "modify", "a", "column", "in", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L168-L176", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.dropColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to delete a column from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $columnName\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "delete", "a", "column", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L187-L190", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.dropIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to delete an index from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $indexName\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "delete", "an", "index", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L215-L218", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.addPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to add the primary key to a table\n\n@param string $tableName\n@param string $schemaName\n@param \\Phalcon\\Db\\IndexInterface $index\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "add", "the", "primary", "key", "to", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L229-L232", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.dropForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to delete a foreign key from a table\n\n@param string $tableName\n@param string $schemaName\n@param string $referenceName\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "delete", "a", "foreign", "key", "from", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L270-L273", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to create a table\n\n@param string $tableName\n@param string $schemaName\n@param array $definition\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "create", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L284-L287", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.createView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to create a view\n\n@param string $viewName\n@param array $definition\n@param string $schemaName\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "create", "a", "view"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L298-L301", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.dropTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to drop a table\n\n@param string $tableName\n@param string $schemaName\n@param bool $ifExists\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "drop", "a", "table"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L312-L315", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Schema/Dialect/WrapperTrait.php", "func_name": "WrapperTrait.dropView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates SQL to drop a view\n\n@param string $viewName\n@param string $schemaName\n@param bool $ifExists\n\n@return string", "docstring_tokens": ["Generates", "SQL", "to", "drop", "a", "view"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Schema/Dialect/WrapperTrait.php#L326-L329", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Foundation/Application.php", "func_name": "Application.bindPathsInContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind all of the application paths in the container.\n\n@return void", "docstring_tokens": ["Bind", "all", "of", "the", "application", "paths", "in", "the", "container", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Foundation/Application.php#L151-L158", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Foundation/Application.php", "func_name": "Application.hasDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if a database connection is present.\n@return boolean", "docstring_tokens": ["Returns", "true", "if", "a", "database", "connection", "is", "present", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Foundation/Application.php#L275-L287", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Providers/Logger.php", "func_name": "Logger.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the logger\n\n@return \\Phalcon\\Logger\\AdapterInterface", "docstring_tokens": ["Register", "the", "logger"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Providers/Logger.php#L25-L65", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Notifications/NotificationServiceProvider.php", "func_name": "NotificationServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the application services.\n\n@return void", "docstring_tokens": ["Boot", "the", "application", "services", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Notifications/NotificationServiceProvider.php#L15-L24", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/GuardsAttributes.php", "func_name": "GuardsAttributes.fillableFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the fillable attributes of a given array.\n\n@param array $attributes\n\n@return array", "docstring_tokens": ["Get", "the", "fillable", "attributes", "of", "a", "given", "array", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/GuardsAttributes.php#L47-L56", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Concerns/GuardsAttributes.php", "func_name": "GuardsAttributes.isFillable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given attribute may be mass assigned.\n\n@param string $key\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "attribute", "may", "be", "mass", "assigned", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Concerns/GuardsAttributes.php#L65-L81", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Currency/Currency.php", "func_name": "Currency.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format given number.\n\n@param float $amount\n@param string $from\n@param string $to\n@param bool $format\n\n@return string", "docstring_tokens": ["Format", "given", "number", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Currency/Currency.php#L74-L99", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Currency/Currency.php", "func_name": "Currency.isActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the provided currency is active.\n\n@param string $code\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "provided", "currency", "is", "active", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Currency/Currency.php#L204-L207", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Currency/Currency.php", "func_name": "Currency.getCurrencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all currencies.\n\n@return array", "docstring_tokens": ["Return", "all", "currencies", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Currency/Currency.php#L229-L243", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Kernelize.php", "func_name": "Kernelize.registerModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This methods registers the middlewares to be used by the application\n\n@param array $modules\n@param bool $merge", "docstring_tokens": ["This", "methods", "registers", "the", "middlewares", "to", "be", "used", "by", "the", "application"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Kernelize.php#L70-L75", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Kernelize.php", "func_name": "Kernelize.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach an Listener\n\n@param Listener $listener\n\n@throws \\Exception", "docstring_tokens": ["Attach", "an", "Listener"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Kernelize.php#L84-L92", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Auth/Models/User.php", "func_name": "User.generateResetCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a unique hash for this order.\n@return string", "docstring_tokens": ["Generate", "a", "unique", "hash", "for", "this", "order", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Auth/Models/User.php#L136-L144", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Auth/Models/User.php", "func_name": "User.completeResetPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the new password on user requested reset\n\n@param $code\n@param $password\n\n@return bool\n@throws \\Exception", "docstring_tokens": ["Sets", "the", "new", "password", "on", "user", "requested", "reset"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Auth/Models/User.php#L165-L175", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Auth/Models/User.php", "func_name": "User.checkResetPasswordCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the provided user reset password code is valid without actually resetting the password.\n\n@param string $resetCode\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "provided", "user", "reset", "password", "code", "is", "valid", "without", "actually", "resetting", "the", "password", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Auth/Models/User.php#L184-L200", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Auth/Models/User.php", "func_name": "User.completeActivation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to activate the given user by checking the activate code. If the user is activated already, an Exception is thrown.\n@param string $activationCode\n@return bool", "docstring_tokens": ["Attempts", "to", "activate", "the", "given", "user", "by", "checking", "the", "activate", "code", ".", "If", "the", "user", "is", "activated", "already", "an", "Exception", "is", "thrown", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Auth/Models/User.php#L225-L242", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cli/Output/QuestionHelper.php", "func_name": "QuestionHelper.ask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the ask of an question\n\n@param \\Neutrino\\Cli\\Output\\Writer $output\n@param resource $input\n@param \\Neutrino\\Cli\\Question\\Question $question\n\n@return null|string", "docstring_tokens": ["Do", "the", "ask", "of", "an", "question"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cli/Output/QuestionHelper.php#L25-L40", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Currency/CurrencyServiceProvider.php", "func_name": "CurrencyServiceProvider.registerCurrency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register currency provider.\n\n@return void", "docstring_tokens": ["Register", "currency", "provider", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Currency/CurrencyServiceProvider.php#L41-L52", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Http/Controller.php", "func_name": "Controller.routeMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register middleware was attached in the route.", "docstring_tokens": ["Register", "middleware", "was", "attached", "in", "the", "route", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Http/Controller.php#L31-L63", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Http/Controller.php", "func_name": "Controller.middleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a ControllerMiddleware.\n\nOn controllers, only ControllerMiddleware are attachable,\nbecause the middleware registration, passed by the controller, will made at the controller instantiation.\nBecause of this, the events\n\"Application::boot\"\n\"Dispatch::beforeDispatchLoop\"\n\"Dispatch::BeforeDispatch\"\ncan not be caught.\n\n@param string $middlewareClass\n@param mixed ...$params\n\n@return \\Neutrino\\Foundation\\Middleware\\Controller", "docstring_tokens": ["Attach", "a", "ControllerMiddleware", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Http/Controller.php#L81-L88", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Reflexion.php", "func_name": "Reflexion.getReflectionClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the reflection class of an object or a class\n\n@param string|object $object\n\n@return \\ReflectionClass", "docstring_tokens": ["Return", "the", "reflection", "class", "of", "an", "object", "or", "a", "class"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Reflexion.php#L80-L89", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Reflexion.php", "func_name": "Reflexion.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value of a property of an object or a class\n\n@param string|object $object\n@param string $property\n@param mixed $value", "docstring_tokens": ["Set", "the", "value", "of", "a", "property", "of", "an", "object", "or", "a", "class"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Reflexion.php#L148-L163", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Reflexion.php", "func_name": "Reflexion.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a property of an object or a class\n\n@param string|object $object\n@param string $property\n\n@return mixed", "docstring_tokens": ["Get", "the", "value", "of", "a", "property", "of", "an", "object", "or", "a", "class"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Reflexion.php#L173-L186", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Debug/Reflexion.php", "func_name": "Reflexion.invoke", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invoke a method of an object or a class\n\nDon't support reference variables.\n\n@param string|object $object\n@param string $method\n@param array ...$params\n\n@return mixed", "docstring_tokens": ["Invoke", "a", "method", "of", "an", "object", "or", "a", "class"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Debug/Reflexion.php#L199-L212", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cache/CacheStrategy.php", "func_name": "CacheStrategy.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores cached content into the file backend and stops the frontend\n\n@param int|string $keyName\n@param string $content\n@param int $lifetime\n@param boolean $stopBuffer\n\n@return bool", "docstring_tokens": ["Stores", "cached", "content", "into", "the", "file", "backend", "and", "stops", "the", "frontend"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cache/CacheStrategy.php#L146-L149", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Cache/CacheStrategy.php", "func_name": "CacheStrategy.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if cache exists and it hasn't expired\n\n@param string $keyName\n@param int $lifetime\n\n@return boolean", "docstring_tokens": ["Checks", "if", "cache", "exists", "and", "it", "hasn", "t", "expired"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Cache/CacheStrategy.php#L183-L186", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Currency/Middleware/CurrencyMiddleware.php", "func_name": "CurrencyMiddleware.getUserCurrency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the user selected currency.\n\n@param Request $request\n\n@return string|null", "docstring_tokens": ["Get", "the", "user", "selected", "currency", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Currency/Middleware/CurrencyMiddleware.php#L43-L58", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Geolite/Model/Coordinates.php", "func_name": "Coordinates.isEqual", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a boolean determining coordinates equality\n@param CoordinatesInterface $coordinate\n@return boolean", "docstring_tokens": ["Returns", "a", "boolean", "determining", "coordinates", "equality"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Geolite/Model/Coordinates.php#L108-L112", "partition": "test"} +{"repo": "TypiCMS/Blocks", "path": "src/Repositories/EloquentBlock.php", "func_name": "EloquentBlock.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the content of a block.\n\n@param string $name unique name of the block\n\n@return string html", "docstring_tokens": ["Get", "the", "content", "of", "a", "block", "."], "sha": "8f97e92421a514998ad55b8e91c5ff69592a0f6f", "url": "https://github.com/TypiCMS/Blocks/blob/8f97e92421a514998ad55b8e91c5ff69592a0f6f/src/Repositories/EloquentBlock.php#L21-L34", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Traits/EventEmitter.php", "func_name": "EventEmitter.bindEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new event binding.\n\n@param string $event The event name to listen for\n@param callable $callback The callback to call when emitted\n@param int $priority\n\n@return static", "docstring_tokens": ["Create", "a", "new", "event", "binding", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Traits/EventEmitter.php#L38-L44", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Traits/EventEmitter.php", "func_name": "EventEmitter.emitterEventSortEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the listeners for a given event by priority.\n\n@param string $eventName\n\n@return void", "docstring_tokens": ["Sort", "the", "listeners", "for", "a", "given", "event", "by", "priority", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Traits/EventEmitter.php#L68-L77", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Traits/EventEmitter.php", "func_name": "EventEmitter.unbindEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroys an event binding.\n\n@param string $event Event to destroy\n\n@return self", "docstring_tokens": ["Destroys", "an", "event", "binding", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Traits/EventEmitter.php#L86-L115", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Traits/EventEmitter.php", "func_name": "EventEmitter.fireEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire an event and call the listeners.\n\n@param string $event Event name\n@param array $params Event parameters\n@param boolean $halt Halt after first non-null result\n\n@return string|array Collection of event results / Or single result (if halted)", "docstring_tokens": ["Fire", "an", "event", "and", "call", "the", "listeners", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Traits/EventEmitter.php#L126-L158", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Traits/InjectionAwareTrait.php", "func_name": "InjectionAwareTrait.getDI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the internal dependency injector\n\n@return DiInterface", "docstring_tokens": ["Returns", "the", "internal", "dependency", "injector"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Traits/InjectionAwareTrait.php#L40-L47", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Header.php", "func_name": "Header.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a header exists with a specific key.\n\n@param string $name\n\n@return boolean", "docstring_tokens": ["Determine", "if", "a", "header", "exists", "with", "a", "specific", "key", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Header.php#L59-L62", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Header.php", "func_name": "Header.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set multiple headers.\n\n\n$headers = [\n'X-Foo' => 'bar',\n'Content-Type' => 'application/json',\n];\n\n$curl->addMultiple($headers);\n\n\n@param array $fields\n@param bool $merge\n\n@return $this", "docstring_tokens": ["Set", "multiple", "headers", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Header.php#L95-L104", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Header.php", "func_name": "Header.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the header builded for the HTTP Request\n\n@return array", "docstring_tokens": ["Return", "the", "header", "builded", "for", "the", "HTTP", "Request"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Header.php#L119-L128", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Geolite/Model/Ellipsoid.php", "func_name": "Ellipsoid.checkCoordinatesEllipsoid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if coordinates have the same ellipsoid.\n\n@param \\Igniter\\Flame\\Geolite\\Contracts\\CoordinatesInterface $a A coordinate.\n@param \\Igniter\\Flame\\Geolite\\Contracts\\CoordinatesInterface $b A coordinate.\n\n@throws \\Igniter\\Flame\\Geolite\\Exception\\GeoliteException", "docstring_tokens": ["Check", "if", "coordinates", "have", "the", "same", "ellipsoid", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Geolite/Model/Ellipsoid.php#L265-L270", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Exception/ErrorHandler.php", "func_name": "ErrorHandler.getDetailedMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a more descriptive error message if application\ndebug mode is turned on.\n@param Exception $exception\n@return string", "docstring_tokens": ["Returns", "a", "more", "descriptive", "error", "message", "if", "application", "debug", "mode", "is", "turned", "on", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Exception/ErrorHandler.php#L20-L35", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/ServerTask.php", "func_name": "ServerTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a local web server\n\n@option --host : Define the host or ip to use. Default : 127.0.0.1.\n@option --port : Define the port to use. Default : 8000.", "docstring_tokens": ["Runs", "a", "local", "web", "server"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/ServerTask.php#L25-L36", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Providers/Session.php", "func_name": "Session.registering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the session the first time some component request the session service\n\n@throws \\RuntimeException\n\n@return void", "docstring_tokens": ["Start", "the", "session", "the", "first", "time", "some", "component", "request", "the", "session", "service"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Providers/Session.php#L28-L89", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Location/WorkingTime.php", "func_name": "WorkingTime.toDateTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert to DateTime object.\n\n@param \\DateTime|null $date\n@return \\DateTime", "docstring_tokens": ["Convert", "to", "DateTime", "object", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Location/WorkingTime.php#L90-L100", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/PhpPreloader/Preloader.php", "func_name": "Preloader.prepareOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the output file and directory.\n\n@param string $file\n@param bool $strict Use strict type. Only for PHP7\n\n@return resource", "docstring_tokens": ["Prepare", "the", "output", "file", "and", "directory", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/PhpPreloader/Preloader.php#L60-L84", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/PhpPreloader/Preloader.php", "func_name": "Preloader.getCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a pretty printed string of code from a file while applying visitors.\n\n@param string $file\n\n@return string", "docstring_tokens": ["Get", "a", "pretty", "printed", "string", "of", "code", "from", "a", "file", "while", "applying", "visitors", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/PhpPreloader/Preloader.php#L93-L100", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/PhpPreloader/Preloader.php", "func_name": "Preloader.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses PHP code into a node tree.\n\n@param string $file\n\n@return null|\\PhpParser\\Node[]\n@throws \\RuntimeException", "docstring_tokens": ["Parses", "PHP", "code", "into", "a", "node", "tree", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/PhpPreloader/Preloader.php#L110-L123", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Providers/Database.php", "func_name": "Database.registering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Database connection is created based in the parameters defined in the configuration file", "docstring_tokens": ["Database", "connection", "is", "created", "based", "in", "the", "parameters", "defined", "in", "the", "configuration", "file"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Providers/Database.php#L22-L48", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.getNodeData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get node's `lft` and `rgt` values.\n\n@since 2.0\n\n@param mixed $id\n@param bool $required\n\n@return array", "docstring_tokens": ["Get", "node", "s", "lft", "and", "rgt", "values", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L34-L48", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.whereAncestorOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit results to ancestors of specified node.\n\n@since 2.0\n\n@param mixed $id\n@param bool $andSelf\n\n@param string $boolean\n\n@return $this", "docstring_tokens": ["Limit", "results", "to", "ancestors", "of", "specified", "node", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L89-L125", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.whereNodeBetween", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add node selection statement between specified range.\n\n@since 2.0\n\n@param array $values\n@param string $boolean\n@param bool $not\n\n@return $this", "docstring_tokens": ["Add", "node", "selection", "statement", "between", "specified", "range", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L185-L190", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.whereDescendantOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add constraint statement to descendants of specified node.\n\n@since 2.0\n\n@param mixed $id\n@param string $boolean\n@param bool $not\n@param bool $andSelf\n\n@return $this", "docstring_tokens": ["Add", "constraint", "statement", "to", "descendants", "of", "specified", "node", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L218-L236", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.descendantsOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get descendants of specified node.\n\n@since 2.0\n\n@param mixed $id\n@param array $columns\n@param bool $andSelf\n\n@return Collection", "docstring_tokens": ["Get", "descendants", "of", "specified", "node", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L291-L298", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.withDepth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include depth level into the result.\n\n@param string $as\n\n@return $this", "docstring_tokens": ["Include", "depth", "level", "into", "the", "result", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L402-L423", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.wrappedColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get wrapped `lft` and `rgt` column names.\n\n@since 2.0\n\n@return array", "docstring_tokens": ["Get", "wrapped", "lft", "and", "rgt", "column", "names", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L432-L440", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.hasChildren", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get only nodes that have children.\n\n@since 2.0\n@deprecated since v4.1\n\n@return $this", "docstring_tokens": ["Get", "only", "nodes", "that", "have", "children", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L501-L508", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.defaultOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Order by node position.\n\n@param string $dir\n\n@return $this", "docstring_tokens": ["Order", "by", "node", "position", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L517-L524", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.moveNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move a node to the new position.\n\n@param mixed $key\n@param int $position\n\n@return int", "docstring_tokens": ["Move", "a", "node", "to", "the", "new", "position", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L544-L585", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.makeGap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make or remove gap in the tree. Negative height will remove gap.\n\n@since 2.0\n\n@param int $cut\n@param int $height\n\n@return int", "docstring_tokens": ["Make", "or", "remove", "gap", "in", "the", "tree", ".", "Negative", "height", "will", "remove", "gap", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L597-L607", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.patch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get patch for columns.\n\n@since 2.0\n\n@param array $params\n\n@return array", "docstring_tokens": ["Get", "patch", "for", "columns", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L618-L629", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.columnPatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get patch for single column.\n\n@since 2.0\n\n@param string $col\n@param array $params\n\n@return string", "docstring_tokens": ["Get", "patch", "for", "single", "column", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L641-L664", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.countErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get statistics of errors of the tree.\n\n@since 2.0\n\n@return array", "docstring_tokens": ["Get", "statistics", "of", "errors", "of", "the", "tree", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L673-L698", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.fixTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fixes the tree based on parentage info.\n\nNodes with invalid parent are saved as roots.\n\n@return int The number of fixed nodes", "docstring_tokens": ["Fixes", "the", "tree", "based", "on", "parentage", "info", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L850-L866", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/NestedSet/Builder.php", "func_name": "Builder.rebuildTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rebuild the tree based on raw data.\n\nIf item data does not contain primary key, new node will be created.\n\n@param array $data\n@param bool $delete Whether to delete nodes that exists but not in the data\narray\n\n@return int", "docstring_tokens": ["Rebuild", "the", "tree", "based", "on", "raw", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/NestedSet/Builder.php#L943-L977", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/Purgeable.php", "func_name": "Purgeable.bootPurgeable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the purgeable trait for a model.\n@return void\n@throws \\Exception", "docstring_tokens": ["Boot", "the", "purgeable", "trait", "for", "a", "model", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/Purgeable.php#L32-L47", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/Purgeable.php", "func_name": "Purgeable.addPurgeable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an attribute to the purgeable attributes list\n\n@param array|string|null $attributes\n\n@return $this", "docstring_tokens": ["Adds", "an", "attribute", "to", "the", "purgeable", "attributes", "list"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/Purgeable.php#L56-L63", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/Purgeable.php", "func_name": "Purgeable.purgeAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes purged attributes, used before saving.\n\n@param null $attributesToPurge\n\n@return array Clean attributes", "docstring_tokens": ["Removes", "purged", "attributes", "used", "before", "saving", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/Purgeable.php#L72-L93", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Traits/Purgeable.php", "func_name": "Purgeable.getOriginalPurgeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the original value of a single attribute.\n\n@param $attribute\n\n@return null", "docstring_tokens": ["Returns", "the", "original", "value", "of", "a", "single", "attribute", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Traits/Purgeable.php#L118-L123", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/SettingStore.php", "func_name": "SettingStore.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific key from the settings data.\n\n@param string|array $key\n@param mixed $default Optional default value.\n\n@return mixed", "docstring_tokens": ["Get", "a", "specific", "key", "from", "the", "settings", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/SettingStore.php#L35-L40", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/SettingStore.php", "func_name": "SettingStore.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a specific key to a value in the settings data.\n\n@param string|array $key Key string or associative array of key => value\n@param mixed $value Optional only if the first argument is an array", "docstring_tokens": ["Set", "a", "specific", "key", "to", "a", "value", "in", "the", "settings", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/SettingStore.php#L62-L77", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/SettingStore.php", "func_name": "SettingStore.forget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a key in the settings data.\n\n@param string $key", "docstring_tokens": ["Unset", "a", "key", "in", "the", "settings", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/SettingStore.php#L84-L91", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/SettingStore.php", "func_name": "SettingStore.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save any changes done to the settings data.\n@return void", "docstring_tokens": ["Save", "any", "changes", "done", "to", "the", "settings", "data", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/SettingStore.php#L118-L128", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Setting/SettingStore.php", "func_name": "SettingStore.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure data is loaded.\n\n@param bool $force Force a reload of data. Default false.", "docstring_tokens": ["Make", "sure", "data", "is", "loaded", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Setting/SettingStore.php#L135-L141", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/View/Engines/Volt/Compiler/Extensions/StrExtension.php", "func_name": "StrExtension.compileFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called on any attempt to compile a function call\n\n@param $name\n@param $arguments\n\n@return null|string", "docstring_tokens": ["This", "method", "is", "called", "on", "any", "attempt", "to", "compile", "a", "function", "call"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/View/Engines/Volt/Compiler/Extensions/StrExtension.php#L24-L37", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/OptimizeTask.php", "func_name": "OptimizeTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs all optimization\n\n@description Runs all optimization.\n\n@option -m, --memory: Generate a memory optimized autoloader.\n@option -f, --force: Force optimization.", "docstring_tokens": ["Runs", "all", "optimization"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/OptimizeTask.php#L39-L67", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Middleware/Throttle.php", "func_name": "Throttle.after", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called after the execution of handler\n\n@param \\Phalcon\\Events\\Event|mixed $event\n@param \\Phalcon\\Dispatcher|mixed $source\n@param mixed|null $data\n\n@throws \\Exception\n@return bool", "docstring_tokens": ["Called", "after", "the", "execution", "of", "handler"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Middleware/Throttle.php#L106-L111", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Middleware/Throttle.php", "func_name": "Throttle.addHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the limit header information to the response.\n\n@param string $signature\n@param bool $tooManyAttempts Bind specific values when there are too many attempts", "docstring_tokens": ["Add", "the", "limit", "header", "information", "to", "the", "response", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Middleware/Throttle.php#L143-L168", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Middleware/Throttle.php", "func_name": "Throttle.getLimiter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind and return the limiter instance.\n\n@return \\Neutrino\\Security\\RateLimiter", "docstring_tokens": ["Bind", "and", "return", "the", "limiter", "instance", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Middleware/Throttle.php#L175-L182", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Flash/Message.php", "func_name": "Message.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the attributes.\n\n@param array $attributes\n\n@return $this", "docstring_tokens": ["Update", "the", "attributes", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Flash/Message.php#L59-L68", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Migrations/DatabaseMigrationRepository.php", "func_name": "DatabaseMigrationRepository.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log that a migration was run.\nOverrides the parent method and allows insertion of group data\n\n@param string $file\n@param int $batch\n\n@return void", "docstring_tokens": ["Log", "that", "a", "migration", "was", "run", ".", "Overrides", "the", "parent", "method", "and", "allows", "insertion", "of", "group", "data"], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Migrations/DatabaseMigrationRepository.php#L31-L36", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Migrations/DatabaseMigrationRepository.php", "func_name": "DatabaseMigrationRepository.createRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the migration repository data store.\n@return void", "docstring_tokens": ["Create", "the", "migration", "repository", "data", "store", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Migrations/DatabaseMigrationRepository.php#L42-L64", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Migrations/DatabaseMigrationRepository.php", "func_name": "DatabaseMigrationRepository.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a query builder for the migration table.\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Get", "a", "query", "builder", "for", "the", "migration", "table", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Migrations/DatabaseMigrationRepository.php#L80-L86", "partition": "test"} +{"repo": "nextras/tracy-query-panel", "path": "src/handlers/NetteDatabaseHandler.php", "func_name": "NetteDatabaseHandler.getDatabaseName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Database name, fulltext index or similar, NULL if not applicable\n\n@return NULL|string", "docstring_tokens": ["Database", "name", "fulltext", "index", "or", "similar", "NULL", "if", "not", "applicable"], "sha": "a7137ec93bd800410cf318fb33d0dca4bd715c6e", "url": "https://github.com/nextras/tracy-query-panel/blob/a7137ec93bd800410cf318fb33d0dca4bd715c6e/src/handlers/NetteDatabaseHandler.php#L64-L73", "partition": "test"} +{"repo": "naucon/HtmlBuilder", "path": "src/HtmlElementAbstract.php", "func_name": "HtmlElementAbstract.setAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set attribute to html element\n\n@param string $key html element attribute key\n@param string $value html element attribute value\n@return HtmlElementAbstract", "docstring_tokens": ["set", "attribute", "to", "html", "element"], "sha": "5ead8e8d6dcc753696583c43291338e977d4952c", "url": "https://github.com/naucon/HtmlBuilder/blob/5ead8e8d6dcc753696583c43291338e977d4952c/src/HtmlElementAbstract.php#L133-L141", "partition": "test"} +{"repo": "naucon/HtmlBuilder", "path": "src/HtmlElementAbstract.php", "func_name": "HtmlElementAbstract.appendAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "append attribute to html element\n\n@param string $key html element attribute key\n@param string $value html element attribute value\n@param string $seperater html element attribute seperater\n@return HtmlElementAbstract", "docstring_tokens": ["append", "attribute", "to", "html", "element"], "sha": "5ead8e8d6dcc753696583c43291338e977d4952c", "url": "https://github.com/naucon/HtmlBuilder/blob/5ead8e8d6dcc753696583c43291338e977d4952c/src/HtmlElementAbstract.php#L163-L181", "partition": "test"} +{"repo": "naucon/HtmlBuilder", "path": "src/HtmlElementAbstract.php", "func_name": "HtmlElementAbstract.setContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set html element content, replace all child elements\n\n@param string $content html element content\n@return HtmlElementAbstract", "docstring_tokens": ["set", "html", "element", "content", "replace", "all", "child", "elements"], "sha": "5ead8e8d6dcc753696583c43291338e977d4952c", "url": "https://github.com/naucon/HtmlBuilder/blob/5ead8e8d6dcc753696583c43291338e977d4952c/src/HtmlElementAbstract.php#L243-L255", "partition": "test"} +{"repo": "naucon/HtmlBuilder", "path": "src/HtmlElementAbstract.php", "func_name": "HtmlElementAbstract.addContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add html element content\n\n@param string $content html element content\n@return HtmlElementAbstract", "docstring_tokens": ["add", "html", "element", "content"], "sha": "5ead8e8d6dcc753696583c43291338e977d4952c", "url": "https://github.com/naucon/HtmlBuilder/blob/5ead8e8d6dcc753696583c43291338e977d4952c/src/HtmlElementAbstract.php#L263-L270", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Scaffold/ScaffoldServiceProvider.php", "func_name": "ScaffoldServiceProvider.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the given commands.\n\n@param array $commands\n\n@return void", "docstring_tokens": ["Register", "the", "given", "commands", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Scaffold/ScaffoldServiceProvider.php#L40-L47", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/RouteCacheTask.php", "func_name": "RouteCacheTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a cache for http kernel's routes.", "docstring_tokens": ["Generate", "a", "cache", "for", "http", "kernel", "s", "routes", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/RouteCacheTask.php#L22-L40", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Db.php", "func_name": "Db.getQueries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return queries randed behind callback.\n\n@param \\Closure $callback\n@param bool $pretend\n\n@return array", "docstring_tokens": ["Return", "queries", "randed", "behind", "callback", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Db.php#L27-L54", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Security/RateLimiter.php", "func_name": "RateLimiter.tooManyAttempts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given key has been \"accessed\" too many times.\n\n@param string $key\n@param int $maxAttempts\n@param int $decaySeconds\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "key", "has", "been", "accessed", "too", "many", "times", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Security/RateLimiter.php#L50-L71", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Security/RateLimiter.php", "func_name": "RateLimiter.hit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment the counter for a given key for a given decay time.\n\n@param string $key\n@param int $decaySeconds\n\n@return int", "docstring_tokens": ["Increment", "the", "counter", "for", "a", "given", "key", "for", "a", "given", "decay", "time", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Security/RateLimiter.php#L81-L98", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Security/RateLimiter.php", "func_name": "RateLimiter.attempts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of attempts for the given key.\n\n@param string $key\n@param int $decaySeconds\n\n@return mixed", "docstring_tokens": ["Get", "the", "number", "of", "attempts", "for", "the", "given", "key", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Security/RateLimiter.php#L108-L113", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Security/RateLimiter.php", "func_name": "RateLimiter.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear the hits and lockout for the given key.\n\n@param string $key\n\n@return void", "docstring_tokens": ["Clear", "the", "hits", "and", "lockout", "for", "the", "given", "key", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Security/RateLimiter.php#L150-L155", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Security/RateLimiter.php", "func_name": "RateLimiter.availableIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of seconds until the \"key\" is accessible again.\n\n@param string $key\n@param int $decaySeconds\n\n@return int", "docstring_tokens": ["Get", "the", "number", "of", "seconds", "until", "the", "key", "is", "accessible", "again", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Security/RateLimiter.php#L165-L170", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/DotconstCacheTask.php", "func_name": "DotconstCacheTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dotconst compile & cache.\n\n@description Dotconst compile & cache.\n\n@throws \\Exception", "docstring_tokens": ["Dotconst", "compile", "&", "cache", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/DotconstCacheTask.php#L24-L36", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Filesystem/FilesystemServiceProvider.php", "func_name": "FilesystemServiceProvider.registerNativeFilesystem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the native filesystem implementation.\n@return void", "docstring_tokens": ["Register", "the", "native", "filesystem", "implementation", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Filesystem/FilesystemServiceProvider.php#L27-L41", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Facades/Facade.php", "func_name": "Facade.swap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hotswap the underlying instance behind the facade.\n\n@param mixed $instance\n\n@return void", "docstring_tokens": ["Hotswap", "the", "underlying", "instance", "behind", "the", "facade", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Facades/Facade.php#L54-L59", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Facades/Facade.php", "func_name": "Facade.shouldReceive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initiate a mock expectation on the facade.\n\n@param mixed ...$params\n\n@return \\Mockery\\Expectation", "docstring_tokens": ["Initiate", "a", "mock", "expectation", "on", "the", "facade", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Facades/Facade.php#L68-L78", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Facades/Facade.php", "func_name": "Facade.createFreshMockInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a fresh mock instance.\n\n@return MockInterface", "docstring_tokens": ["Create", "a", "fresh", "mock", "instance", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Facades/Facade.php#L130-L143", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Facades/Facade.php", "func_name": "Facade.isMock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether a mock is set as the instance of the facade.\n\n@return bool", "docstring_tokens": ["Determines", "whether", "a", "mock", "is", "set", "as", "the", "instance", "of", "the", "facade", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Facades/Facade.php#L162-L167", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Facades/Facade.php", "func_name": "Facade.resolveFacadeInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the facade root instance from the container.\n\n@param string|object $name\n\n@return mixed\n@throws RuntimeException", "docstring_tokens": ["Resolve", "the", "facade", "root", "instance", "from", "the", "container", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Facades/Facade.php#L191-L202", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Processors/Processor.php", "func_name": "Processor.processSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the results of a singular \"select\" query.\n\n@param \\Igniter\\Flame\\Pagic\\Finder $finder\n@param array $result\n\n@return array", "docstring_tokens": ["Process", "the", "results", "of", "a", "singular", "select", "query", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Processors/Processor.php#L16-L25", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Processors/Processor.php", "func_name": "Processor.processSelectAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the results of a \"select\" query.\n\n@param \\Igniter\\Flame\\Pagic\\Finder $finder\n@param array $results\n\n@return array", "docstring_tokens": ["Process", "the", "results", "of", "a", "select", "query", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Processors/Processor.php#L35-L49", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Processors/Processor.php", "func_name": "Processor.parseTemplateContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper to break down template content in to a useful array.\n\n@param $result\n@param $fileName\n\n@return array", "docstring_tokens": ["Helper", "to", "break", "down", "template", "content", "in", "to", "a", "useful", "array", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Processors/Processor.php#L59-L77", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Pagic/Processors/Processor.php", "func_name": "Processor.processUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the data in to an update action.\n\n@param \\Igniter\\Flame\\Pagic\\Finder $finder\n@param array $data\n\n@return string", "docstring_tokens": ["Process", "the", "data", "in", "to", "an", "update", "action", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Pagic/Processors/Processor.php#L100-L105", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Events/Listener.php", "func_name": "Listener.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach all require event to make the listener", "docstring_tokens": ["Attach", "all", "require", "event", "to", "make", "the", "listener"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Events/Listener.php#L51-L76", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Events/Listener.php", "func_name": "Listener.detach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detach all event attached to the EventsManager", "docstring_tokens": ["Detach", "all", "event", "attached", "to", "the", "EventsManager"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Events/Listener.php#L81-L96", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Geolite/Provider/NominatimProvider.php", "func_name": "NominatimProvider.geocodeQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the geocoder request.\n\n@param \\Igniter\\Flame\\Geolite\\Contracts\\GeoQueryInterface $query\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Handle", "the", "geocoder", "request", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Geolite/Provider/NominatimProvider.php#L47-L71", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Geolite/Provider/NominatimProvider.php", "func_name": "NominatimProvider.reverseQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the reverse geocoding request.\n\n@param \\Igniter\\Flame\\Geolite\\Contracts\\GeoQueryInterface $query\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Handle", "the", "reverse", "geocoding", "request", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Geolite/Provider/NominatimProvider.php#L79-L107", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Database/Cli/Tasks/StatusTask.php", "func_name": "StatusTask.getStatusFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the status for the given ran migrations.\n\n@param array $ran\n\n@return array", "docstring_tokens": ["Get", "the", "status", "for", "the", "given", "ran", "migrations", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Database/Cli/Tasks/StatusTask.php#L41-L53", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/RouteListTask.php", "func_name": "RouteListTask.mainAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all routes.\n\n@description List all routes.\n\n@option --no-substitution: Doesn't replace matching group by params name", "docstring_tokens": ["List", "all", "routes", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/RouteListTask.php#L28-L101", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Foundation/Cli/Tasks/RouteListTask.php", "func_name": "RouteListTask.getHttpRoutesInfos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the Http Routes\n\n@return array", "docstring_tokens": ["List", "the", "Http", "Routes"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Foundation/Cli/Tasks/RouteListTask.php#L108-L148", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/Curl.php", "func_name": "Curl.curlOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply options to curl resource\n\n@param resource $ch", "docstring_tokens": ["Apply", "options", "to", "curl", "resource"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/Curl.php#L110-L134", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/HttpClient/Provider/Curl.php", "func_name": "Curl.curlInfos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply curl info to response\n\n@param resource $ch", "docstring_tokens": ["Apply", "curl", "info", "to", "response"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/HttpClient/Provider/Curl.php#L172-L182", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Dotconst/Compile.php", "func_name": "Compile.compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile loaded & parsed ini files to php files.\n\n@param string $basePath\n@param string $compilePath\n\n@throws \\Neutrino\\Dotconst\\Exception\\InvalidFileException", "docstring_tokens": ["Compile", "loaded", "&", "parsed", "ini", "files", "to", "php", "files", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Dotconst/Compile.php#L24-L87", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Process/Process.php", "func_name": "Process.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a process\n\n@return $this\n@throws Exception", "docstring_tokens": ["Start", "a", "process"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Process/Process.php#L45-L78", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Process/Process.php", "func_name": "Process.wait", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wait until process end or wait time\n\n@param int|null $timeout in ms\n@param int $step in ms", "docstring_tokens": ["Wait", "until", "process", "end", "or", "wait", "time"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Process/Process.php#L86-L104", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Process/Process.php", "func_name": "Process.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop a process\n\n@param int $timeout in ms\n\n@return $this", "docstring_tokens": ["Stop", "a", "process"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Process/Process.php#L152-L167", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Process/Process.php", "func_name": "Process.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop & Close the resources", "docstring_tokens": ["Stop", "&", "Close", "the", "resources"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Process/Process.php#L172-L185", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Process/Process.php", "func_name": "Process.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a process\n\n@param int|null $timeout in ms\n\n@throws Exception", "docstring_tokens": ["Execute", "a", "process"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Process/Process.php#L194-L205", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Optimizer/Composer.php", "func_name": "Composer.optimizeMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an memory optimized autoloader\n\n@return bool|int", "docstring_tokens": ["Build", "an", "memory", "optimized", "autoloader"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Optimizer/Composer.php#L59-L81", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Optimizer/Composer.php", "func_name": "Composer.generateOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate phalcon loader\n\n@param array|null $files\n@param array|null $namespaces\n@param array|null $directories\n@param array|null $classmap\n\n@return int|bool", "docstring_tokens": ["Generate", "phalcon", "loader"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Optimizer/Composer.php#L108-L147", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Obj.php", "func_name": "Obj.fill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill in data where it's missing.\n\n@param mixed $target\n@param string|array $key\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Fill", "in", "data", "where", "it", "s", "missing", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Obj.php#L16-L19", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Obj.php", "func_name": "Obj.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from an object.\n\n@param $object\n@param $property\n@param null $default\n\n@return null", "docstring_tokens": ["Get", "an", "item", "from", "an", "object", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Obj.php#L30-L41", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Obj.php", "func_name": "Obj.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item, no null, from an object.\n\n@param $object\n@param $property\n@param null $default\n\n@return null", "docstring_tokens": ["Get", "an", "item", "no", "null", "from", "an", "object", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Obj.php#L52-L59", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Obj.php", "func_name": "Obj.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from an array or object using \"dot\" notation.\n\n@param mixed $target\n@param string|array $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "from", "an", "array", "or", "object", "using", "dot", "notation", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Obj.php#L70-L94", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Support/Obj.php", "func_name": "Obj.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an item on an array or object using dot notation.\n\n@param mixed $target\n@param string|array $key\n@param mixed $value\n@param bool $overwrite\n\n@return mixed", "docstring_tokens": ["Set", "an", "item", "on", "an", "array", "or", "object", "using", "dot", "notation", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Support/Obj.php#L106-L150", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Error/Handler.php", "func_name": "Handler.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers itself as error and exception handler.\n\n@return void", "docstring_tokens": ["Registers", "itself", "as", "error", "and", "exception", "handler", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Error/Handler.php#L57-L72", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Error/Handler.php", "func_name": "Handler.handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle an php Error\n\n@param int $errno\n@param string $errstr\n@param string $errfile\n@param int $errline", "docstring_tokens": ["Handle", "an", "php", "Error"], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Error/Handler.php#L82-L89", "partition": "test"} +{"repo": "phalcon-nucleon/framework", "path": "src/Neutrino/Error/Handler.php", "func_name": "Handler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the error and dispatches an error controller.\n\n@param \\Neutrino\\Error\\Error $error", "docstring_tokens": ["Logs", "the", "error", "and", "dispatches", "an", "error", "controller", "."], "sha": "f50fe76387bb623497f066c86f58fa70bfa613ef", "url": "https://github.com/phalcon-nucleon/framework/blob/f50fe76387bb623497f066c86f58fa70bfa613ef/src/Neutrino/Error/Handler.php#L106-L114", "partition": "test"} +{"repo": "tastyigniter/flame", "path": "src/Database/Migrations/Migrator.php", "func_name": "Migrator.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a migration instance from a file.\n\n@param string $file\n\n@return object", "docstring_tokens": ["Resolve", "a", "migration", "instance", "from", "a", "file", "."], "sha": "3c922ba1c02b3c14ad4adf91c2f37498045fa92a", "url": "https://github.com/tastyigniter/flame/blob/3c922ba1c02b3c14ad4adf91c2f37498045fa92a/src/Database/Migrations/Migrator.php#L55-L64", "partition": "test"} +{"repo": "AltThree/Logger", "path": "src/LevelAwareLogger.php", "func_name": "LevelAwareLogger.shouldLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Should the message be logged?\n\n@param string $level\n\n@return bool", "docstring_tokens": ["Should", "the", "message", "be", "logged?"], "sha": "15ded9da1d1cfffe14bca08d5490570819e368dc", "url": "https://github.com/AltThree/Logger/blob/15ded9da1d1cfffe14bca08d5490570819e368dc/src/LevelAwareLogger.php#L79-L86", "partition": "test"} +{"repo": "AltThree/Logger", "path": "src/LevelAwareLogger.php", "func_name": "LevelAwareLogger.useFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a file log handler.\n\n@param string $path\n@param string $level\n\n@return void", "docstring_tokens": ["Register", "a", "file", "log", "handler", "."], "sha": "15ded9da1d1cfffe14bca08d5490570819e368dc", "url": "https://github.com/AltThree/Logger/blob/15ded9da1d1cfffe14bca08d5490570819e368dc/src/LevelAwareLogger.php#L96-L101", "partition": "test"} +{"repo": "AltThree/Logger", "path": "src/LevelAwareLogger.php", "func_name": "LevelAwareLogger.useDailyFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a daily file log handler.\n\n@param string $path\n@param int $days\n@param string $level\n\n@return void", "docstring_tokens": ["Register", "a", "daily", "file", "log", "handler", "."], "sha": "15ded9da1d1cfffe14bca08d5490570819e368dc", "url": "https://github.com/AltThree/Logger/blob/15ded9da1d1cfffe14bca08d5490570819e368dc/src/LevelAwareLogger.php#L112-L117", "partition": "test"} +{"repo": "AltThree/Logger", "path": "src/LoggerServiceProvider.php", "func_name": "LoggerServiceProvider.registerLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the logger class.\n\n@return void", "docstring_tokens": ["Register", "the", "logger", "class", "."], "sha": "15ded9da1d1cfffe14bca08d5490570819e368dc", "url": "https://github.com/AltThree/Logger/blob/15ded9da1d1cfffe14bca08d5490570819e368dc/src/LoggerServiceProvider.php#L73-L88", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/SQL.php", "func_name": "SQL.setUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SetUp Object to be ready for connect\n\n@param array $options Object Options (company,url,user,password,evidence,\nprefix,defaultUrlParams,debug)", "docstring_tokens": ["SetUp", "Object", "to", "be", "ready", "for", "connect"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/SQL.php#L245-L254", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/SQL.php", "func_name": "SQL.logSqlError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do when SQL error occurs.\n\n@param bool $ignoreErrors", "docstring_tokens": ["Do", "when", "SQL", "error", "occurs", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/SQL.php#L552-L568", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Html/UlTag.php", "func_name": "UlTag.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Every item id added in LiTag envelope.\n\n@param mixed $pageItem obsah vkl\u00e1dan\u00fd jako polo\u017eka v\u00fd\u010dtu\n@param string $properties Vlastnosti LI tagu\n\n@return mixed", "docstring_tokens": ["Every", "item", "id", "added", "in", "LiTag", "envelope", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Html/UlTag.php#L47-L63", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an property from the entity.\n\n@param string $property\n@param mixed $default\n@return mixed", "docstring_tokens": ["Get", "an", "property", "from", "the", "entity", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L44-L58", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.setProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a given property on the entity.\n\n@param string $property\n@param mixed $value\n@return $this", "docstring_tokens": ["Set", "a", "given", "property", "on", "the", "entity", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L77-L81", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.setProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the array of entity properties.\n\n@param array $properties\n@param bool $sync\n@return $this", "docstring_tokens": ["Set", "the", "array", "of", "entity", "properties", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L103-L121", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.getOriginal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the entity original attribute values.\n\n@param string|null $property\n@param mixed $default\n@return mixed|array", "docstring_tokens": ["Get", "the", "entity", "original", "attribute", "values", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L142-L147", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.hasCast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether an attribute should be cast to a native type.\n\n@param string $property\n@param array|string|null $types\n@return bool", "docstring_tokens": ["Determine", "whether", "an", "attribute", "should", "be", "cast", "to", "a", "native", "type", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L182-L189", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "entity/traits/Properties.php", "func_name": "Properties.getDirty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the properties that have been changed since last sync.\n\n@return array", "docstring_tokens": ["Get", "the", "properties", "that", "have", "been", "changed", "since", "last", "sync", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/entity/traits/Properties.php#L250-L265", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Navbar.php", "func_name": "Navbar.navBarHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "NavBar header code\n\n@param string $handle classname fragment\n@param string $brand menu brand name\n\n@return \\Ease\\Html\\DivTag", "docstring_tokens": ["NavBar", "header", "code"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Navbar.php#L74-L90", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Navbar.php", "func_name": "Navbar.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Dropdown Submenu.\n\n@param string $name\n@param array $items\n\n@return \\Ease\\Html\\UlTag", "docstring_tokens": ["Add", "Dropdown", "Submenu", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Navbar.php#L181-L192", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/ButtonGroup.php", "func_name": "ButtonGroup.addButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new button into Group\n\n@param mixed $content Button content\n@param string $type default|info|success|warning|danger\n@param array $properties adittional properties\n@return \\Ease\\Html\\ButtonTag Button inserted", "docstring_tokens": ["Add", "new", "button", "into", "Group"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/ButtonGroup.php#L39-L48", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Logger/ToStd.php", "func_name": "ToStd.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush Messages.\n\n@param string $caller\n\n@return int how many messages was flushed", "docstring_tokens": ["Flush", "Messages", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Logger/ToStd.php#L214-L230", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/WebPage.php", "func_name": "WebPage.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add item into page body\n\n@param mixed $item vkl\u00e1dan\u00e1 polo\u017eka\n@param string $pageItemName Pod t\u00edmto jm\u00e9nem je objekt vkl\u00e1d\u00e1n do stromu\n\n@return Page poiner to object well included", "docstring_tokens": ["Add", "item", "into", "page", "body"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/WebPage.php#L150-L155", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/WebPage.php", "func_name": "WebPage.addCSS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add another CSS definition to stack.\n\n@param string $css definice CSS pravidla\n\n@return bool", "docstring_tokens": ["Add", "another", "CSS", "definition", "to", "stack", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/WebPage.php#L248-L256", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/User.php", "func_name": "User.getGravatar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get either a Gravatar URL or complete image tag for a specified email\naddress.\n\n@param string $email The email address\n@param integer $size Size in pixels, defaults to 80px [ 1 - 512 ]\n@param string $default [ 404 | mm | identicon | monsterid | wavatar ]\n@param string $maxRating Maximum rating (inclusive) [ g | pg | r | x ]\n\n@return string containing either just a URL or a complete image tag\n\n@source http://gravatar.com/site/implement/images/php/", "docstring_tokens": ["Get", "either", "a", "Gravatar", "URL", "or", "complete", "image", "tag", "for", "a", "specified", "email", "address", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/User.php#L582-L591", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "vo/Page.php", "func_name": "Page.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the item at the given offset.\n\n@param mixed $key\n@param mixed $value\n@return void", "docstring_tokens": ["Set", "the", "item", "at", "the", "given", "offset", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/vo/Page.php#L150-L157", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Shared.php", "func_name": "Shared.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns database object instance.\n\n@return SQL\\PDO", "docstring_tokens": ["Returns", "database", "object", "instance", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Shared.php#L209-L221", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Shared.php", "func_name": "Shared.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Locale Class handler\n\n@param Locale $locale overriding object\n\n@return Locale", "docstring_tokens": ["Locale", "Class", "handler"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Shared.php#L259-L269", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Shared.php", "func_name": "Shared.addUrlParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add params to url\n\n@param string $url originall url\n@param array $addParams value to add\n@param boolean $override replace already existing values ?\n\n@return string url with parameters added", "docstring_tokens": ["Add", "params", "to", "url"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Shared.php#L420-L450", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Shared.php", "func_name": "Shared.linkify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turn all URLs in clickable links.\n\n@author Arnold Daniels \n\n@param string $value\n@param array $protocols http/https, ftp, mail, twitter\n@param array $attributes\n@param string $mode normal or all\n\n@return string", "docstring_tokens": ["Turn", "all", "URLs", "in", "clickable", "links", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Shared.php#L464-L521", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Html/TableTag.php", "func_name": "TableTag.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert columns into table foot\n\n@param array $columns values\n@param array $properties options to add\n\n@return TrTag odkaz na \u0159\u00e1dku tabulky", "docstring_tokens": ["Insert", "columns", "into", "table", "foot"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Html/TableTag.php#L111-L126", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Page.php", "func_name": "Page.includeCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include an CSS file call into page.\n\n@param string $cssFile cesta k souboru vkl\u00e1dan\u00e9mu do str\u00e1nky\n@param bool $fwPrefix p\u0159idat prefix frameworku (obvykle /Ease/) ?\n@param string $media m\u00e9dium screen|print|braile apod ...\n\n@return int", "docstring_tokens": ["Include", "an", "CSS", "file", "call", "into", "page", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Page.php#L129-L132", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Page.php", "func_name": "Page.phpSelf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current URL. This is instead of PHP_SELF which is unsafe.\n\n@param bool $dropqs whether to drop the querystring or not. Default true\n\n@return string the current URL or NULL for php-cli", "docstring_tokens": ["Returns", "the", "current", "URL", ".", "This", "is", "instead", "of", "PHP_SELF", "which", "is", "unsafe", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Page.php#L171-L212", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "vo/NetLicensingCurl.php", "func_name": "NetLicensingCurl.buildPostData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build Post Data\n\n@access public\n@param $data\n\n@return array|string", "docstring_tokens": ["Build", "Post", "Data"], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/vo/NetLicensingCurl.php#L28-L41", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Locale.php", "func_name": "Locale.availble", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List of availble locales\n\n@return array locales availble", "docstring_tokens": ["List", "of", "availble", "locales"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Locale.php#L572-L583", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Locale.php", "func_name": "Locale.langToLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find Locale Code for browser language\n\n@param string $lang browser lan en|cs|..\n\n@return string locale code", "docstring_tokens": ["Find", "Locale", "Code", "for", "browser", "language"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Locale.php#L619-L634", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Locale.php", "func_name": "Locale.useLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use Effective locale to requested\n\n@param string $localeCode locale code to use\n\n@return string used locale code", "docstring_tokens": ["Use", "Effective", "locale", "to", "requested"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Locale.php#L643-L656", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Molecule.php", "func_name": "Molecule.setupProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up one of properties\n\n@param array $options array of given properties\n@param string $name name of property to process\n@param string $constant load default property value from constant", "docstring_tokens": ["Set", "up", "one", "of", "properties"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Molecule.php#L73-L82", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Molecule.php", "func_name": "Molecule.getStatusMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtain Status Messages\n\n@param bool $clean Remove messages from strack ?\n\n@return array", "docstring_tokens": ["Obtain", "Status", "Messages"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Molecule.php#L126-L133", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "service/UtilityService.php", "func_name": "UtilityService.listCountries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all countries.\n\ndetermines the vendor on whose behalf the call is performed\n@param Context $context\n\nreserved for the future use, must be omitted / set to NULL\n@param null $filter\n\n@return Page\n@throws RestException\n@throws \\ErrorException", "docstring_tokens": ["Returns", "all", "countries", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/service/UtilityService.php#L95-L118", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/ListGroup.php", "func_name": "ListGroup.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Every item id added in \\Ease\\Html\\LiTag envelope.\n\n@param mixed $pageItem obsah vkl\u00e1dan\u00fd jako polo\u017eka v\u00fd\u010dtu\n@param string $properties Vlastnosti LI tagu\n\n@return mixed", "docstring_tokens": ["Every", "item", "id", "added", "in", "\\", "Ease", "\\", "Html", "\\", "LiTag", "envelope", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/ListGroup.php#L30-L36", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Html/LabelTag.php", "func_name": "LabelTag.setObjectName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set object name.\n\n@param string $objectName nastavovan\u00e9 jm\u00e9no\n\n@return string New object name", "docstring_tokens": ["Set", "object", "name", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Html/LabelTag.php#L40-L47", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Logger/ToConsole.php", "func_name": "ToConsole.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Ansi Color\n\n@param string $str\n@param string $color\n@return string", "docstring_tokens": ["Set", "Ansi", "Color"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Logger/ToConsole.php#L82-L91", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Logger/ToConsole.php", "func_name": "ToConsole.getTypeColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get color code for given message\n\n@param string $type", "docstring_tokens": ["Get", "color", "code", "for", "given", "message"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Logger/ToConsole.php#L123-L146", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "service/NetLicensingService.php", "func_name": "NetLicensingService.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for performing GET request to NetLicensing API services. Finds and returns first suitable item with\ntype resultType from the response.\n\nContext for the NetLicensing API call\n@param Context $context\n\nthe REST URL template\n@param $urlTemplate\n\nThe REST query parameters values. May be null if there are no parameters.\n@param array $queryParams\n\n@return mixed|null\n@throws RestException", "docstring_tokens": ["Helper", "method", "for", "performing", "GET", "request", "to", "NetLicensing", "API", "services", ".", "Finds", "and", "returns", "first", "suitable", "item", "with", "type", "resultType", "from", "the", "response", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/service/NetLicensingService.php#L84-L87", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "service/NetLicensingService.php", "func_name": "NetLicensingService.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for performing POST request to NetLicensing API services. Finds and returns first suitable item\nwith type resultType from the response.\n\ncontext for the NetLicensing API call\n@param Context $context\n\nthe REST URL template\n@param $urlTemplate\n\nThe REST query parameters values. May be null if there are no parameters.\n@param array $queryParams\n\n@return mixed|null\n@throws RestException", "docstring_tokens": ["Helper", "method", "for", "performing", "POST", "request", "to", "NetLicensing", "API", "services", ".", "Finds", "and", "returns", "first", "suitable", "item", "with", "type", "resultType", "from", "the", "response", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/service/NetLicensingService.php#L105-L108", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "service/NetLicensingService.php", "func_name": "NetLicensingService.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method for performing DELETE request to NetLicensing API services.\n\ncontext for the NetLicensing API call\n@param Context $context\n\nthe REST URL template\n@param $urlTemplate\n\nThe REST query parameters values. May be null if there are no parameters.\n@param array $queryParams\n\n@return mixed|null\n@throws RestException", "docstring_tokens": ["Helper", "method", "for", "performing", "DELETE", "request", "to", "NetLicensing", "API", "services", "."], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/service/NetLicensingService.php#L125-L128", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Sand.php", "func_name": "Sand.getMyKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gives you value of KEY Column\n\n@param array $data data z nich\u017e se vrac\u00ed hodnota kl\u00ed\u010de\n\n@return int key column value", "docstring_tokens": ["Gives", "you", "value", "of", "KEY", "Column"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Sand.php#L257-L268", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Sand.php", "func_name": "Sand.unsetDataValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Odstrani polozku z pole dat pro MySQL.\n\n@param string $columnName n\u00e1zev kl\u00ed\u010de k vymaz\u00e1n\u00ed\n\n@return bool success", "docstring_tokens": ["Odstrani", "polozku", "z", "pole", "dat", "pro", "MySQL", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Sand.php#L401-L410", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Sand.php", "func_name": "Sand.reindexArrayBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reindex Array by given key.\n\n@param array $data array to reindex\n@param string $indexBy one of columns in array\n\n@return array", "docstring_tokens": ["Reindex", "Array", "by", "given", "key", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Sand.php#L668-L682", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Container.php", "func_name": "Container.draw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursive draw object and its contents", "docstring_tokens": ["Recursive", "draw", "object", "and", "its", "contents"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Container.php#L400-L414", "partition": "test"} +{"repo": "Labs64/NetLicensingClient-php", "path": "demo/NetLicensingDemo.php", "func_name": "NetLicensingDemo.setUpContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the vendor on whose behalf the call is performed\n\n@return \\NetLicensing\\Context", "docstring_tokens": ["Determines", "the", "vendor", "on", "whose", "behalf", "the", "call", "is", "performed"], "sha": "658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315", "url": "https://github.com/Labs64/NetLicensingClient-php/blob/658ab44f2c9a6ce8e8cd90d9889bc57ddbd38315/demo/NetLicensingDemo.php#L138-L145", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Mailer.php", "func_name": "Mailer.getItemsCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtain item count\n\n@param Container $object\n@return int", "docstring_tokens": ["Obtain", "item", "count"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Mailer.php#L222-L228", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Mailer.php", "func_name": "Mailer.isEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is object empty ?\n\n@param Container $element\n\n@return boolean", "docstring_tokens": ["Is", "object", "empty", "?"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Mailer.php#L237-L243", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/PDO.php", "func_name": "PDO.addSlashes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes special characters in a string for use in an SQL statement.\n\n@param string $text\n\n@return string", "docstring_tokens": ["Escapes", "special", "characters", "in", "a", "string", "for", "use", "in", "an", "SQL", "statement", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/PDO.php#L126-L136", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/PDO.php", "func_name": "PDO.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform connect to database.\n\n@return false|null connecting result true: connected, false: error, null: no SQL configured", "docstring_tokens": ["Perform", "connect", "to", "database", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/PDO.php#L143-L184", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/PDO.php", "func_name": "PDO.arrayToInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert array values as new database row\n\n@param string $data\n\n@return sqlresult", "docstring_tokens": ["Insert", "array", "values", "as", "new", "database", "row"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/PDO.php#L366-L374", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/PDO.php", "func_name": "PDO.prepSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generuje fragment MySQL dotazu z pole data.\n\n@param array $data Pokud hodnota zacina znakem ! Je tento odstranen a generovan je negovany test\n@param string $ldiv typ generovane podminky AND/OR\n\n@return string", "docstring_tokens": ["Generuje", "fragment", "MySQL", "dotazu", "z", "pole", "data", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/PDO.php#L515-L582", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/SQL/PDO.php", "func_name": "PDO.useObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Up PDO for curent usage.\n\n@param \\Ease\\Brick $object or its child", "docstring_tokens": ["Set", "Up", "PDO", "for", "curent", "usage", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/SQL/PDO.php#L630-L634", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Carousel.php", "func_name": "Carousel.addSlide", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Carousel Slide.\n\n@param mixed|ImgTag $slide body Image or something else\n@param string $capHeading\n@param string $caption\n@param bool $default show slide by default", "docstring_tokens": ["Carousel", "Slide", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Carousel.php#L71-L98", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Carousel.php", "func_name": "Carousel.finalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Navigation buttons.", "docstring_tokens": ["Add", "Navigation", "buttons", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Carousel.php#L103-L136", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Logger/Regent.php", "func_name": "Regent.addToLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Status Message to all registered loggers\n\n@param string $caller message provider\n@param string $message message to log\n@param string $type info|succes|warning|error|email|...", "docstring_tokens": ["Add", "Status", "Message", "to", "all", "registered", "loggers"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Logger/Regent.php#L96-L101", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Logger/Regent.php", "func_name": "Regent.addStatusObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Status Object to stack\n\n@param \\Ease\\Logger\\Message $message\n@param string $type\n\n@return type", "docstring_tokens": ["Add", "Status", "Object", "to", "stack"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Logger/Regent.php#L111-L117", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Html/Tag.php", "func_name": "Tag.getTagName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns name of tag.\n\n@return string", "docstring_tokens": ["Returns", "name", "of", "tag", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Html/Tag.php#L121-L133", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/Html/Tag.php", "func_name": "Tag.getTagProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns property tag value.\n\n@param string $propertyName n\u00e1zev vlastnosti tagu. nap\u0159. \"src\" u obr\u00e1zku\n\n@return string current tag property value", "docstring_tokens": ["Returns", "property", "tag", "value", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/Html/Tag.php#L218-L226", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Modal.php", "func_name": "Modal.finalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finalize modal.", "docstring_tokens": ["Finalize", "modal", "."], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Modal.php#L80-L109", "partition": "test"} +{"repo": "oasmobile/php-slimapp", "path": "src/SentinelCommand/CommandRunner.php", "func_name": "CommandRunner.cloneEarlyRunner", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "clones an early runner when frequency is reached before current run finishes", "docstring_tokens": ["clones", "an", "early", "runner", "when", "frequency", "is", "reached", "before", "current", "run", "finishes"], "sha": "e99edd1dd438595240a1caef6d0a6544ad7c6415", "url": "https://github.com/oasmobile/php-slimapp/blob/e99edd1dd438595240a1caef6d0a6544ad7c6415/src/SentinelCommand/CommandRunner.php#L99-L108", "partition": "test"} +{"repo": "VitexSoftware/EaseFramework", "path": "src/Ease/TWB/Tabs.php", "func_name": "Tabs.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new Dynamic Tab\n\n@param string $tabName jm\u00e9no a titulek tabu\n@param string $tabUrl where to obtain tab content\n@param bool $active M\u00e1 b\u00fdt tento tab aktivn\u00ed ?\n\n@return \\Ease\\Html\\DivTag odkaz na vlo\u017een\u00fd obsah", "docstring_tokens": ["Create", "new", "Dynamic", "Tab"], "sha": "700693949ee6c858d40365c6d3c3825e8a742397", "url": "https://github.com/VitexSoftware/EaseFramework/blob/700693949ee6c858d40365c6d3c3825e8a742397/src/Ease/TWB/Tabs.php#L86-L108", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Debug.php", "func_name": "Debug.trace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs the debug message.\n@param \\triagens\\ArangoDb\\TraceResponse|\\triagens\\ArangoDb\\TraceRequest $data The HTTP request or response trace object.", "docstring_tokens": ["Outputs", "the", "debug", "message", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Debug.php#L57-L103", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/AObservable.php", "func_name": "AObservable.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach a listener.\n@param string|array $events The event type. This can be an array of event types or just a string for one event.\n@param IObserver $observer The listener.\n@throws ObservableException", "docstring_tokens": ["Attach", "a", "listener", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/AObservable.php#L32-L43", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/AObservable.php", "func_name": "AObservable.doAttach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the actual work of attaching the listener.\n@param string $event The event.\n@param IObserver $observer The listener.", "docstring_tokens": ["Do", "the", "actual", "work", "of", "attaching", "the", "listener", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/AObservable.php#L50-L61", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/AObservable.php", "func_name": "AObservable.detach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detatch an observer from an event.\n@param string $event The event to detach from.\n@param IObserver $observer The observer that we want to detach.", "docstring_tokens": ["Detatch", "an", "observer", "from", "an", "event", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/AObservable.php#L68-L79", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/AObservable.php", "func_name": "AObservable.detachAllEventsForObserver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all events for an observer.\n@param IObserver $observerToRemove The observer we wish to detach.", "docstring_tokens": ["Remove", "all", "events", "for", "an", "observer", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/AObservable.php#L99-L110", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Toolbox.php", "func_name": "Toolbox.validatePod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the pod belongs to this toolbox.\n@param AModel|Document $pod The pod to validate.", "docstring_tokens": ["Checks", "to", "see", "if", "the", "pod", "belongs", "to", "this", "toolbox", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Toolbox.php#L348-L359", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Toolbox.php", "func_name": "Toolbox.getConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ArangoDB-PHP connection.\n@return \\triagens\\ArangoDb\\Connection", "docstring_tokens": ["Get", "the", "ArangoDB", "-", "PHP", "connection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Toolbox.php#L365-L387", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Toolbox.php", "func_name": "Toolbox.getDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically determines which handler we need and return it.\n@return \\triagens\\ArangoDb\\DocumentHandler|\\triagens\\ArangoDb\\GraphHandler", "docstring_tokens": ["Automatically", "determines", "which", "handler", "we", "need", "and", "return", "it", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Toolbox.php#L447-L459", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Toolbox.php", "func_name": "Toolbox.generateBindingParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This generates a binding parameter for filtering so that it does not clash with any user defined parameters.\n@param array $userParameters An array of binding parameters.\n@return string", "docstring_tokens": ["This", "generates", "a", "binding", "parameter", "for", "filtering", "so", "that", "it", "does", "not", "clash", "with", "any", "user", "defined", "parameters", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Toolbox.php#L466-L480", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Toolbox.php", "func_name": "Toolbox.normaliseDriverExceptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalises the exceptions thrown by ArangoDB-PHP.\n@param \\Exception $exception\n@return array", "docstring_tokens": ["Normalises", "the", "exceptions", "thrown", "by", "ArangoDB", "-", "PHP", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Toolbox.php#L520-L527", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/DatabaseManager.php", "func_name": "DatabaseManager.createDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a database using the current connection's settings and add it as a connection.\n@param string $name The name of the database.\n@throws DatabaseManagerException\n@return boolean", "docstring_tokens": ["Create", "a", "database", "using", "the", "current", "connection", "s", "settings", "and", "add", "it", "as", "a", "connection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/DatabaseManager.php#L43-L54", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/DatabaseManager.php", "func_name": "DatabaseManager.deleteDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a database.\n@param string $name The name of the database.\n@throws DatabaseManagerException", "docstring_tokens": ["Delete", "a", "database", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/DatabaseManager.php#L61-L71", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/DatabaseManager.php", "func_name": "DatabaseManager.getDatabaseInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a database.\n@param string $name The name of the database.\n@throws DatabaseManagerException\n@return array", "docstring_tokens": ["Get", "information", "about", "a", "database", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/DatabaseManager.php#L79-L99", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/DatabaseManager.php", "func_name": "DatabaseManager.listDatabases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists all databases availiable.\n@throws DatabaseManagerException\n@return array", "docstring_tokens": ["Lists", "all", "databases", "availiable", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/DatabaseManager.php#L106-L123", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/DatabaseManager.php", "func_name": "DatabaseManager.getConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cloned connection with targetting a database.\n@param string $database The optional name of the database. Defaults to _system.\n@return \\triagens\\ArangoDb\\Connection", "docstring_tokens": ["Get", "a", "cloned", "connection", "with", "targetting", "a", "database", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/DatabaseManager.php#L130-L136", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.useConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Selects the connection as current connection. Any method executed through the client will use this connection.\n@param string $name The name of the connection to use.\n@throws ClientException", "docstring_tokens": ["Selects", "the", "connection", "as", "current", "connection", ".", "Any", "method", "executed", "through", "the", "client", "will", "use", "this", "connection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L91-L98", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.getToolbox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a toolbox for a connection.\n@param string $name The name of the connection.\n@throws ClientException\n@return Toolbox", "docstring_tokens": ["Get", "a", "toolbox", "for", "a", "connection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L115-L122", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.setModelFormatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a model formatter to the client. Once the the model formatter is added, it will be used to determine what models to load in all future operations.\n@param IModelFormatter $formatter An instance of the formatter.", "docstring_tokens": ["Adds", "a", "model", "formatter", "to", "the", "client", ".", "Once", "the", "the", "model", "formatter", "is", "added", "it", "will", "be", "used", "to", "determine", "what", "models", "to", "load", "in", "all", "future", "operations", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L128-L135", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a model from the server using the collection type and the id.\n@param string $collection The collection to load from. For graphs, this can only be \"vertex\" or \"edge\".\n@param string $id The id (key in ArangoDB jargon) of the document, edge or vertex.\n@return AModel", "docstring_tokens": ["Loads", "a", "model", "from", "the", "server", "using", "the", "collection", "type", "and", "the", "id", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L174-L177", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.createGraph", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a graph using the current connection's settings and add it as a connection.\nA connection is automatically added to the client using the name of the graph, so you need to be careful that it does not overwrite\nanother connection with the same name.\n\nYou do not need to set the vertex and edge collections. They are automatically named for you.\n\nFor example:\n$client->createGraph('myGraph');\n$client->useConnection('myGraph'); //You can now query the graph\n@param string $name The name of the graph.\n@return boolean", "docstring_tokens": ["Create", "a", "graph", "using", "the", "current", "connection", "s", "settings", "and", "add", "it", "as", "a", "connection", ".", "A", "connection", "is", "automatically", "added", "to", "the", "client", "using", "the", "name", "of", "the", "graph", "so", "you", "need", "to", "be", "careful", "that", "it", "does", "not", "overwrite", "another", "connection", "with", "the", "same", "name", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L278-L285", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.renameCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename a collection.\n@param string $collection The collection we wish to rename.\n@param string $newName The new name of the collection.", "docstring_tokens": ["Rename", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L395-L398", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Client.php", "func_name": "Client.getIndexInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about an index.\n@param string $collection The name of the collection.\n@param string $indexId The id of the index.", "docstring_tokens": ["Get", "information", "about", "an", "index", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Client.php#L559-L562", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a model from the server using the collection type and the id. Returns null if the pod could not be found or loaded.\n@param string $collection The collection to load from. For graphs, this can only be \"vertex\" or \"edge\".\n@param string $id The id (key in ArangoDB jargon) of the document, edge or vertex.\n@return AModel", "docstring_tokens": ["Loads", "a", "model", "from", "the", "server", "using", "the", "collection", "type", "and", "the", "id", ".", "Returns", "null", "if", "the", "pod", "could", "not", "be", "found", "or", "loaded", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L365-L426", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.processStoreResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the result after storing a pod.\n@param Paraodx\\pod\\Document|Paradox\\pod\\Vertex|Paradox\\pod\\Edge $pod The pod to process.\n@param string $revision The revision of the pod.\n@param string $id The id of the pod.", "docstring_tokens": ["Process", "the", "result", "after", "storing", "a", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L443-L456", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.convertToPods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an array of documents into pods. The documents in each array can be an ArangoDB-PHP document, edge or vertex or an associative array.\n@param string $type The type the resulting pods should have.\n@param array $documents An array of documents or associative arrays.\n@return array", "docstring_tokens": ["Converts", "an", "array", "of", "documents", "into", "pods", ".", "The", "documents", "in", "each", "array", "can", "be", "an", "ArangoDB", "-", "PHP", "document", "edge", "or", "vertex", "or", "an", "associative", "array", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L464-L487", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.convertArrayToPod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an associative array to a pod.\n@param string $type The type of the resulting pod.\n@param array $data An associative array containing the data for the pod.\n@return AModel", "docstring_tokens": ["Converts", "an", "associative", "array", "to", "a", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L495-L506", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.convertDriverDocumentToPod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an ArangoDB-PHP document, edge or vertex into a pod.\n@param \\triagens\\ArangoDb\\Document $driverDocument The ArangoDB-PHP document, edge or vertex.\n@return AModel", "docstring_tokens": ["Converts", "an", "ArangoDB", "-", "PHP", "document", "edge", "or", "vertex", "into", "a", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L513-L536", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.createVertex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function to instantiate a vertex, hook up its events and set up its model.\n@param array $data An optional array of data that will be loaded into the vertex.\n@param string $new Whether this pod should be marked as new (never saved to the server).", "docstring_tokens": ["Convinence", "function", "to", "instantiate", "a", "vertex", "hook", "up", "its", "events", "and", "set", "up", "its", "model", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L596-L602", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.createEdge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function to instantiate an edge, hook up its events and set up its model.\n@param array $data An optional array of data that will be loaded into the edge.\n@param string $new Whether this pod should be marked as new (never saved to the server).", "docstring_tokens": ["Convinence", "function", "to", "instantiate", "an", "edge", "hook", "up", "its", "events", "and", "set", "up", "its", "model", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L609-L615", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.createDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function to instantiate a document, hook up its events and set up its model.\n@param array $data An optional array of data that will be loaded into the document.\n@param string $new Whether this pod should be marked as new (never saved to the server).", "docstring_tokens": ["Convinence", "function", "to", "instantiate", "a", "document", "hook", "up", "its", "events", "and", "set", "up", "its", "model", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L622-L628", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.setupModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function that sets up the model for a pod and associates the model with it.\n@param Document $pod The pod we want to set up the model for.\n@throws PodManagerException\n@return AModel", "docstring_tokens": ["Convinence", "function", "that", "sets", "up", "the", "model", "for", "a", "pod", "and", "associates", "the", "model", "with", "it", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L645-L660", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.determinePreviouslyStored", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Because transactions are executed in 1 go, this helps us deteremine if the pod has a previous command to store it.\nWe can then use its id to work with it in the transaction.\n@param AModel $model The model to determine whether to delete or not.\n@return boolean|string", "docstring_tokens": ["Because", "transactions", "are", "executed", "in", "1", "go", "this", "helps", "us", "deteremine", "if", "the", "pod", "has", "a", "previous", "command", "to", "store", "it", ".", "We", "can", "then", "use", "its", "id", "to", "work", "with", "it", "in", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L668-L681", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.addTransactionCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function to add commands to the transaction.\n@param unknown $command\n@param unknown $action\n@param string $object\n@param string $isGraph", "docstring_tokens": ["Convinence", "function", "to", "add", "commands", "to", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L699-L702", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/PodManager.php", "func_name": "PodManager.validateType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the type to make sure it is valid in the current context. For graphs, a type other than \"edge\" or \"vertex\" would be invalid.\n@param string $type The type to validate.\n@return boolean", "docstring_tokens": ["Validates", "the", "type", "to", "make", "sure", "it", "is", "valid", "in", "the", "current", "context", ".", "For", "graphs", "a", "type", "other", "than", "edge", "or", "vertex", "would", "be", "invalid", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/PodManager.php#L709-L719", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Util/ApiHelper.php", "func_name": "ApiHelper.mapList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans the api response, so that you always get a list of elements.\n\n@param callable $callback\n@param array $data\n\n@return array", "docstring_tokens": ["Cleans", "the", "api", "response", "so", "that", "you", "always", "get", "a", "list", "of", "elements", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Util/ApiHelper.php#L22-L29", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Crawler/AbstractCrawler.php", "func_name": "AbstractCrawler.crawl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Crawles a url.\n\n@param string $url\n@param array $params\n\n@return Crawler|null", "docstring_tokens": ["Crawles", "a", "url", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Crawler/AbstractCrawler.php#L51-L58", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Crawler/AbstractCrawler.php", "func_name": "AbstractCrawler.parseUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a url node.\n\n@param Crawler $node\n@param string $attr\n\n@return string|null", "docstring_tokens": ["Parses", "a", "url", "node", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Crawler/AbstractCrawler.php#L133-L144", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Crawler/AbstractCrawler.php", "func_name": "AbstractCrawler.parseImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses an image node.\n\n@param Crawler $node\n\n@return Image|null", "docstring_tokens": ["Parses", "an", "image", "node", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Crawler/AbstractCrawler.php#L153-L162", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Crawler/AbstractCrawler.php", "func_name": "AbstractCrawler.parseString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a string node.\n\n@param Crawler $node\n@param bool $multiline\n\n@return string|null", "docstring_tokens": ["Parses", "a", "string", "node", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Crawler/AbstractCrawler.php#L172-L192", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Crawler/AbstractCrawler.php", "func_name": "AbstractCrawler.parseDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a date note.\n\n@param Crawler $node\n\n@return DateTime|null", "docstring_tokens": ["Parses", "a", "date", "note", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Crawler/AbstractCrawler.php#L201-L210", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/Autoloader.php", "func_name": "Autoloader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for the class's file and require it.\n@param string $className The name of the class.", "docstring_tokens": ["Search", "for", "the", "class", "s", "file", "and", "require", "it", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/Autoloader.php#L42-L50", "partition": "test"} +{"repo": "JBZoo/PHPUnit", "path": "src/CovCatcher.php", "func_name": "CovCatcher._start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start coverage proccess", "docstring_tokens": ["Start", "coverage", "proccess"], "sha": "af32d2c1047519f7cf1161aa5b1f97ff8b5456fd", "url": "https://github.com/JBZoo/PHPUnit/blob/af32d2c1047519f7cf1161aa5b1f97ff8b5456fd/src/CovCatcher.php#L173-L179", "partition": "test"} +{"repo": "JBZoo/PHPUnit", "path": "src/CovCatcher.php", "func_name": "CovCatcher._initConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare and init config\n\n@param array $options", "docstring_tokens": ["Prepare", "and", "init", "config"], "sha": "af32d2c1047519f7cf1161aa5b1f97ff8b5456fd", "url": "https://github.com/JBZoo/PHPUnit/blob/af32d2c1047519f7cf1161aa5b1f97ff8b5456fd/src/CovCatcher.php#L240-L247", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Vertex.php", "func_name": "Vertex.relateTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an edge connecting this vertex to another vertex.\n@param AModel $to The model we wish to connect to.\n@param string $label An optional label for this edge.\n@return Edge", "docstring_tokens": ["Create", "an", "edge", "connecting", "this", "vertex", "to", "another", "vertex", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Vertex.php#L38-L45", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Vertex.php", "func_name": "Vertex.getInboundEdges", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all inbound edges to this vertex. The edges can be filtered by their labels and AQL.\n@param string $label A string representing one label or an array of labels we want the inbound edges to have.\n@param string $aql An optional AQL fragment if we want to filter the edges, for example: FILTER doc.someproperty == \"somevalue\"\n@param array $params An optional associative array containing parameters to bind to the query.\n@param string $placeholder Set this to something else if you do not wish to use \"doc\" to refer to documents in your query.\n@return array", "docstring_tokens": ["Get", "all", "inbound", "edges", "to", "this", "vertex", ".", "The", "edges", "can", "be", "filtered", "by", "their", "labels", "and", "AQL", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Vertex.php#L55-L58", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Vertex.php", "func_name": "Vertex.toDriverDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an ArangoDB-PHP vertex object representing this vertex.\n@return \\triagens\\ArangoDb\\Vertex", "docstring_tokens": ["Returns", "an", "ArangoDB", "-", "PHP", "vertex", "object", "representing", "this", "vertex", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Vertex.php#L105-L126", "partition": "test"} +{"repo": "core23/lastfm-php-api", "path": "src/Client/ApiClient.php", "func_name": "ApiClient.encodeUTF8", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts any string or array of strings to UTF8.\n\n@param mixed|mixed[] $object a String or an array\n\n@return mixed|mixed[] UTF8-string or array", "docstring_tokens": ["Converts", "any", "string", "or", "array", "of", "strings", "to", "UTF8", "."], "sha": "7741ae884b07964d290c6783553437f621c7fe6b", "url": "https://github.com/core23/lastfm-php-api/blob/7741ae884b07964d290c6783553437f621c7fe6b/src/Client/ApiClient.php#L127-L134", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.createCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a collection.\n@param string $name The name of the collection.\n@throws CollectionManagerException\n@return string", "docstring_tokens": ["Create", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L48-L56", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.deleteCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a collection.\n@param string $name The name of the collection.\n@throws CollectionManagerException", "docstring_tokens": ["Delete", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L63-L71", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.renameCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renames a collection.\n@param string $collection The collection we wish to rename.\n@param string $newName The new name of the collection.\n@throws CollectionManagerException", "docstring_tokens": ["Renames", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L79-L87", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.wipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes all the documents inside the collection, but leaves the indexes and metadata intact.\n@param string $collection The name of the collection.\n@throws CollectionManagerException", "docstring_tokens": ["Deletes", "all", "the", "documents", "inside", "the", "collection", "but", "leaves", "the", "indexes", "and", "metadata", "intact", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L94-L102", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.getCollectionInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a collection.\n@param string $collection The name of the collection.\n@throws CollectionManagerException\n@return array", "docstring_tokens": ["Get", "information", "about", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L110-L133", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.getCollectionStatistics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get statistics from a collection.\n@param string $collection The name of the collection.\n@throws CollectionManagerException\n@return array", "docstring_tokens": ["Get", "statistics", "from", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L141-L149", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Counts the number of documents in a collection.\n@param string $collection The collection.\n@throws CollectionManagerException\n@return integer", "docstring_tokens": ["Counts", "the", "number", "of", "documents", "in", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L157-L165", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.loadCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a collection on the server.\n@param string $collection The name of the collection.\n@throws CollectionManagerException", "docstring_tokens": ["Load", "a", "collection", "on", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L199-L207", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.unloadCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unload a collection on the server.\n@param string $collection The name of the collection.\n@throws CollectionManagerException", "docstring_tokens": ["Unload", "a", "collection", "on", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L214-L222", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.getIndexInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about an index. Returns null if the index does not exist and returns an array of index information if it does.\n@param string $collection The name of the collection.\n@param string $indexId The id of the index.\n@return null|array", "docstring_tokens": ["Get", "information", "about", "an", "index", ".", "Returns", "null", "if", "the", "index", "does", "not", "exist", "and", "returns", "an", "array", "of", "index", "information", "if", "it", "does", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L376-L381", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/CollectionManager.php", "func_name": "CollectionManager.getGeoFieldsForAQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the fields that are used to store geo coordinates for the first index for this collection.\n@param string $collection The name of the collection\n@throws FinderException\n@return array|null", "docstring_tokens": ["Get", "the", "fields", "that", "are", "used", "to", "store", "geo", "coordinates", "for", "the", "first", "index", "for", "this", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/CollectionManager.php#L419-L432", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Finder.php", "func_name": "Finder.any", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a random document from a collection.\n@param string $type The collection we want to get the document from.\n@throws FinderException\n@return AModel", "docstring_tokens": ["Returns", "a", "random", "document", "from", "a", "collection", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Finder.php#L160-L182", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Finder.php", "func_name": "Finder.getCollectionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the collection name to use. For graphs, it converts \"vertex\" and \"edge\" into the appropriate collection names on the server.\n@param string $type The collection name.\n@throws FinderException\n@return string", "docstring_tokens": ["Determines", "the", "collection", "name", "to", "use", ".", "For", "graphs", "it", "converts", "vertex", "and", "edge", "into", "the", "appropriate", "collection", "names", "on", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Finder.php#L754-L774", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.deleteUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a user from the server.\n@param string $username The user we want to delete.\n@throws ServerException\n@return boolean", "docstring_tokens": ["Delete", "a", "user", "from", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L65-L75", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.getUserInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a user.\n@param string $username The user we want information about.\n@throws ServerException\n@return array", "docstring_tokens": ["Get", "information", "about", "a", "user", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L83-L99", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.deleteAQLFunctionsByNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all the AQL functions within a namespace.\n@param string $namespace The name of the namespace to delete.\n@throws ServerException", "docstring_tokens": ["Delete", "all", "the", "AQL", "functions", "within", "a", "namespace", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L201-L212", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.listAQLFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the AQL functions registered on the server and optionally, filter by namespace.\n@param string $namespace The optional namespace to filter the list of AQL functions on.\n@throws ServerException", "docstring_tokens": ["List", "the", "AQL", "functions", "registered", "on", "the", "server", "and", "optionally", "filter", "by", "namespace", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L219-L237", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the server version.\n@throws ServerException\n@return string", "docstring_tokens": ["Get", "the", "server", "version", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L244-L252", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.getServerInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get detailed information about the server.\n@throws ServerException\n@return array", "docstring_tokens": ["Get", "detailed", "information", "about", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L259-L267", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/Server.php", "func_name": "Server.getTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the unix timestamp of the server with microsecond precision\n@throws ServerException\n@return float", "docstring_tokens": ["Get", "the", "unix", "timestamp", "of", "the", "server", "with", "microsecond", "precision"], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/Server.php#L274-L282", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a property for this pod.\n@param string $key The property we wish to set.\n@param string $value The value we wish to set.\n@throws PodException", "docstring_tokens": ["Set", "a", "property", "for", "this", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L133-L142", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a property for this pod.\n@param string $key The property we wish to unset.\n@throws PodException", "docstring_tokens": ["Remove", "a", "property", "for", "this", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L149-L158", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a property from the pod.\n@param string $key\n@throws PodException\n@return mixed", "docstring_tokens": ["Get", "the", "value", "of", "a", "property", "from", "the", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L166-L174", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.setId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the id for this pod. The id is only allowed to be set once, because once saved to the server, the id can't be changed.\n@param string $id\n@throws PodException", "docstring_tokens": ["Set", "the", "id", "for", "this", "pod", ".", "The", "id", "is", "only", "allowed", "to", "be", "set", "once", "because", "once", "saved", "to", "the", "server", "the", "id", "can", "t", "be", "changed", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L200-L213", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.setDistanceInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance information to the pod. This is intended to be used by the API and is not for public comsumption.\n@param float $distance The distance from this pod to the reference pod in meters.\n@param float $latitude The latitude of the reference point.\n@param float $longitude The longitude of the reference point.\n@param string $podId If the reference point is a pod, the pod id.\n@throws PodException", "docstring_tokens": ["Sets", "the", "distance", "information", "to", "the", "pod", ".", "This", "is", "intended", "to", "be", "used", "by", "the", "API", "and", "is", "not", "for", "public", "comsumption", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L250-L261", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.resetMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the meta data of the pod so that it appears as a new one.\nThe existing user added data is not reset.", "docstring_tokens": ["Reset", "the", "meta", "data", "of", "the", "pod", "so", "that", "it", "appears", "as", "a", "new", "one", ".", "The", "existing", "user", "added", "data", "is", "not", "reset", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L333-L340", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an associative array representation of this document.\n@return array", "docstring_tokens": ["Return", "an", "associative", "array", "representation", "of", "this", "document", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L346-L351", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.toJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a JSON representation of this document.\n@return string", "docstring_tokens": ["Returns", "a", "JSON", "representation", "of", "this", "document", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L357-L362", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.toTransactionJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a JSON representation of this document for transactions.\n@return string", "docstring_tokens": ["Returns", "a", "JSON", "representation", "of", "this", "document", "for", "transactions", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L368-L373", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.toDriverDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an ArangoDB-PHP document object representing this pod.\n@return \\triagens\\ArangoDb\\Document", "docstring_tokens": ["Returns", "an", "ArangoDB", "-", "PHP", "document", "object", "representing", "this", "pod", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L379-L400", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.loadFromDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load this pod with document data from a ArangoDB-PHP document object.\n@param \\triagens\\ArangoDb\\Document $driverDocument", "docstring_tokens": ["Load", "this", "pod", "with", "document", "data", "from", "a", "ArangoDB", "-", "PHP", "document", "object", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L441-L455", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.loadFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load this pod with document data from an array.\n@param array $data", "docstring_tokens": ["Load", "this", "pod", "with", "document", "data", "from", "an", "array", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L461-L483", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Document.php", "func_name": "Document.onEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "When this pod recieves an event, process it accordingly.\nIn this case, the pod simply calls the various functions in model before and after each event.\n@param Event $eventObject The event object.", "docstring_tokens": ["When", "this", "pod", "recieves", "an", "event", "process", "it", "accordingly", ".", "In", "this", "case", "the", "pod", "simply", "calls", "the", "various", "functions", "in", "model", "before", "and", "after", "each", "event", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Document.php#L572-L604", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Edge.php", "func_name": "Edge.setTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the \"to\" vertex of the edge.\n@param AModel $to", "docstring_tokens": ["Set", "the", "to", "vertex", "of", "the", "edge", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Edge.php#L71-L75", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Edge.php", "func_name": "Edge.getToId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the id of the to node by checking for it in the actual _to property or checking an internal property.\nThis is used because when documents are retrieved from the server, we will not have a model in the _to property.\nThis allows us to lazy load any vertices we need later.\n@return null|string", "docstring_tokens": ["Get", "the", "id", "of", "the", "to", "node", "by", "checking", "for", "it", "in", "the", "actual", "_to", "property", "or", "checking", "an", "internal", "property", ".", "This", "is", "used", "because", "when", "documents", "are", "retrieved", "from", "the", "server", "we", "will", "not", "have", "a", "model", "in", "the", "_to", "property", ".", "This", "allows", "us", "to", "lazy", "load", "any", "vertices", "we", "need", "later", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Edge.php#L100-L109", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Edge.php", "func_name": "Edge.setFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the \"from\" vertex of the edge.\n@param AModel $from", "docstring_tokens": ["Set", "the", "from", "vertex", "of", "the", "edge", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Edge.php#L115-L119", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Edge.php", "func_name": "Edge.getFromId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the id of the to node by checking for it in the actual _from property or checking an internal property.\nThis is used because when documents are retrieved from the server, we will not have a model in the _from property.\nThis allows us to lazy load any vertices we need later.\n@return null|string", "docstring_tokens": ["Get", "the", "id", "of", "the", "to", "node", "by", "checking", "for", "it", "in", "the", "actual", "_from", "property", "or", "checking", "an", "internal", "property", ".", "This", "is", "used", "because", "when", "documents", "are", "retrieved", "from", "the", "server", "we", "will", "not", "have", "a", "model", "in", "the", "_from", "property", ".", "This", "allows", "us", "to", "lazy", "load", "any", "vertices", "we", "need", "later", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Edge.php#L144-L153", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/pod/Edge.php", "func_name": "Edge.toDriverDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an ArangoDB-PHP edge object representing this edge.\n@return \\triagens\\ArangoDb\\Edge", "docstring_tokens": ["Returns", "an", "ArangoDB", "-", "PHP", "edge", "object", "representing", "this", "edge", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/pod/Edge.php#L232-L253", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.begin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Begin a transaction.\n@return boolean", "docstring_tokens": ["Begin", "a", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L71-L81", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.commit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Commit the transaction.\n@return array", "docstring_tokens": ["Commit", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L87-L127", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.clearTransactionInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear the saved information for the transaction.", "docstring_tokens": ["Clear", "the", "saved", "information", "for", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L147-L154", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.addReadCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a collection that will be locked for reading.\n@param string $collection The name of the collection.", "docstring_tokens": ["Add", "a", "collection", "that", "will", "be", "locked", "for", "reading", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L160-L169", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.addWriteCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a collection that will be locked for writing.\n@param string $collection The name of the collection.", "docstring_tokens": ["Add", "a", "collection", "that", "will", "be", "locked", "for", "writing", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L175-L184", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.pause", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pause the transaction, so that operations after this point are not part of the transaction.", "docstring_tokens": ["Pause", "the", "transaction", "so", "that", "operations", "after", "this", "point", "are", "not", "part", "of", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L246-L257", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.resume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resume the transaction, so that operations after this point are part of the transaction.", "docstring_tokens": ["Resume", "the", "transaction", "so", "that", "operations", "after", "this", "point", "are", "part", "of", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L262-L273", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.addCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a command to be executed for the transaction.\n@param string $command The javascript command for the transaction.\n@param string $action The name of the operation.\n@param string $object An optional object or model that can be used to process results after committing the transaction.\n@param string $isGraph Whether this command is for a graph or not.\n@param array $data Any other data that should be stored with this command.\n@return string $id The id of this command.", "docstring_tokens": ["Add", "a", "command", "to", "be", "executed", "for", "the", "transaction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L284-L294", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.searchCommandsByActionAndObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search the commands for an action and its object. If a match is found, the position and id is returned.\nThe search starts in reverse direction.\n@param string $action The action to search on\n@param mixed $object The object to match.\n@return array", "docstring_tokens": ["Search", "the", "commands", "for", "an", "action", "and", "its", "object", ".", "If", "a", "match", "is", "found", "the", "position", "and", "id", "is", "returned", ".", "The", "search", "starts", "in", "reverse", "direction", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L404-L418", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/TransactionManager.php", "func_name": "TransactionManager.random", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convinence function to generate a random name for each command that will be sent to the server.\n@return string", "docstring_tokens": ["Convinence", "function", "to", "generate", "a", "random", "name", "for", "each", "command", "that", "will", "be", "sent", "to", "the", "server", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/TransactionManager.php#L424-L435", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/GraphManager.php", "func_name": "GraphManager.createGraph", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a graph using the current connection's settings and add it as a connection.\nYou do not need to set the vertex and edge collections. They are automatically named for you.\n@param string $name The name of the graph.\n@throws GraphManagerException\n@return boolean", "docstring_tokens": ["Create", "a", "graph", "using", "the", "current", "connection", "s", "settings", "and", "add", "it", "as", "a", "connection", ".", "You", "do", "not", "need", "to", "set", "the", "vertex", "and", "edge", "collections", ".", "They", "are", "automatically", "named", "for", "you", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/GraphManager.php#L45-L58", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/GraphManager.php", "func_name": "GraphManager.deleteGraph", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a graph.\n@param string $name The name of the graph.\n@throws GraphManagerException", "docstring_tokens": ["Delete", "a", "graph", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/GraphManager.php#L65-L75", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/GraphManager.php", "func_name": "GraphManager.getGraphInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information about a graph.\n@param string $name The name of the graph.\n@throws GraphManagerException\n@return array", "docstring_tokens": ["Get", "information", "about", "a", "graph", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/GraphManager.php#L83-L103", "partition": "test"} +{"repo": "F21/Paradox", "path": "Paradox/toolbox/GraphManager.php", "func_name": "GraphManager.getOutboundEdges", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all outbound edges to this vertex. The edges can be filtered by their labels and AQL.\n@param Document|Model|string A vertex pod, model or string of the vertex id.\n@param string $label A string representing one label or an array of labels we want the inbound edges to have.\n@param string $aql An optional AQL fragment if we want to filter the edges, for example: FILTER doc.someproperty == \"somevalue\"\n@param array $params An optional associative array containing parameters to bind to the query.\n@param string $placeholder Set this to something else if you do not wish to use \"doc\" to refer to documents in your query.\n@return array", "docstring_tokens": ["Get", "all", "outbound", "edges", "to", "this", "vertex", ".", "The", "edges", "can", "be", "filtered", "by", "their", "labels", "and", "AQL", "."], "sha": "d1f47203e743760d8d8d6232bf0ea62920e7eefe", "url": "https://github.com/F21/Paradox/blob/d1f47203e743760d8d8d6232bf0ea62920e7eefe/Paradox/toolbox/GraphManager.php#L167-L209", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.getFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the filter config\n\n@return array", "docstring_tokens": ["Returns", "the", "filter", "config"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L66-L75", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.renderFilterbox", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the complete filter widget\n\n@param array $filters Filters to render. If none given, it uses a viewVar called \"filters\"\n@return string", "docstring_tokens": ["Render", "the", "complete", "filter", "widget"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L83-L101", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.renderAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render all filter widgets\n\n@return string", "docstring_tokens": ["Render", "all", "filter", "widgets"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L108-L131", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.openContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens the HTML container\n\n@return HTML", "docstring_tokens": ["Opens", "the", "HTML", "container"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L227-L252", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.closeContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the HTML container\n\n@return string", "docstring_tokens": ["Closes", "the", "HTML", "container"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L259-L265", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.openForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens the listfilter form\n\n@return string", "docstring_tokens": ["Opens", "the", "listfilter", "form"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L272-L278", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.closeForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the listfilter form\n\n@param bool $includeFilterButton add the search button\n@param bool $includeResetButton add the reset button\n@return string", "docstring_tokens": ["Closes", "the", "listfilter", "form"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L287-L302", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.filterActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if any ListFilter parameters are set\n\n@return bool", "docstring_tokens": ["Determines", "if", "any", "ListFilter", "parameters", "are", "set"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L336-L342", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.filterButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs the search button\n\n@param string $title button caption\n@param array $options Options\n@return string", "docstring_tokens": ["Outputs", "the", "search", "button"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L351-L359", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.resetButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs the filter reset link\n\n@param string $title caption for the reset button\n@param array $options Options\n@return string", "docstring_tokens": ["Outputs", "the", "filter", "reset", "link"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L368-L387", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/View/Helper/ListFilterHelper.php", "func_name": "ListFilterHelper.backToListButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a back-to-list button using the ListFilter-relevant named params\n\n@param string $title button caption\n@param array $url url to link to\n@param array $options link() config\n@return string", "docstring_tokens": ["Renders", "a", "back", "-", "to", "-", "list", "button", "using", "the", "ListFilter", "-", "relevant", "named", "params"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/View/Helper/ListFilterHelper.php#L414-L446", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent._getPersistendStorageKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get persistent storage key for ListFilter form handling\n\n@param string $key The storage key defined in config\n@return array", "docstring_tokens": ["Get", "persistent", "storage", "key", "for", "ListFilter", "form", "handling"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L216-L235", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent.filterUrlParameterStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "checks URL for any Filter Parameter\n\n@return bool", "docstring_tokens": ["checks", "URL", "for", "any", "Filter", "Parameter"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L242-L251", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent._getFulltextSearchConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits the search term in value to multiple terms and constructs a OR-style\nconditions array for each term, for each field to be searched.\n\n@param string $conditionField Primary field to search in\n@param string $value Search Term\n@param array $options Filter configuration\n@return array", "docstring_tokens": ["Splits", "the", "search", "term", "in", "value", "to", "multiple", "terms", "and", "constructs", "a", "OR", "-", "style", "conditions", "array", "for", "each", "term", "for", "each", "field", "to", "be", "searched", "."], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L362-L403", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent._flattenValueOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure options arrays are flattened and consolidated before they are used for value\nchecking. This applies to optgroup-style arrays currently\n\n@param array $options Options Config\n@return array", "docstring_tokens": ["Make", "sure", "options", "arrays", "are", "flattened", "and", "consolidated", "before", "they", "are", "used", "for", "value", "checking", ".", "This", "applies", "to", "optgroup", "-", "style", "arrays", "currently"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L412-L423", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent.getFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats and enriches field configs\n\n@return array", "docstring_tokens": ["Formats", "and", "enriches", "field", "configs"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L430-L472", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent.getRedirectUrlFromPostData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts POST filter data in array format to a URL\n\n@param array $postData Array with Postdata\n@return array", "docstring_tokens": ["Converts", "POST", "filter", "data", "in", "array", "format", "to", "a", "URL"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L480-L513", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent.addListFilterParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds ListFilter-relevant named params to the given url. Used for detail links\n\n@param array $url URL to link to\n@return array", "docstring_tokens": ["Adds", "ListFilter", "-", "relevant", "named", "params", "to", "the", "given", "url", ".", "Used", "for", "detail", "links"], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L521-L530", "partition": "test"} +{"repo": "scherersoftware/cake-list-filter", "path": "src/Controller/Component/ListFilterComponent.php", "func_name": "ListFilterComponent.defaultFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set fields given as keys in FilterList and paginator conditions to given values if not set by URL.\n\nTo reset a default value (normally the empty option), an option with key 'all' must be selected.\nTo imitate the behaviour of empty, set empty in inputOptions to false and add ['all' => ''] to options\n\nArray syntax of $filters has to be:\n[\n'{$Tables}.{$field}' => {$defaultValue}\n]\n\n@param array $filters array of fields and their default values like described above\n@return bool false if anything goes wrong, else true", "docstring_tokens": ["Set", "fields", "given", "as", "keys", "in", "FilterList", "and", "paginator", "conditions", "to", "given", "values", "if", "not", "set", "by", "URL", "."], "sha": "2bd98fff062f504c9bfa5ac7346d54cade416bb0", "url": "https://github.com/scherersoftware/cake-list-filter/blob/2bd98fff062f504c9bfa5ac7346d54cade416bb0/src/Controller/Component/ListFilterComponent.php#L546-L568", "partition": "test"} +{"repo": "BaguettePHP/TetoSQL", "path": "src/Query.php", "func_name": "Query.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build SQL query\n\n@param \\PDO|PDOInterface $pdo\n@param string $sql\n@param array $params", "docstring_tokens": ["Build", "SQL", "query"], "sha": "cd81c7ea8ee83f6b45e64ef66b6c377ab7f5c6dd", "url": "https://github.com/BaguettePHP/TetoSQL/blob/cd81c7ea8ee83f6b45e64ef66b6c377ab7f5c6dd/src/Query.php#L54-L80", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/Traits/AggregationTrait.php", "func_name": "AggregationTrait.reduce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reduce all elements to a single value using a callback.\n\n@param callable $callback\n@param mixed $initial\n@return mixed", "docstring_tokens": ["Reduce", "all", "elements", "to", "a", "single", "value", "using", "a", "callback", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/Traits/AggregationTrait.php#L34-L37", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/Traits/TypeHandlingTrait.php", "func_name": "TypeHandlingTrait.typeCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that a value has a specific type.\n\n@param string|string[] $type\n@param \\Throwable|null $throwable\n@return static", "docstring_tokens": ["Validate", "that", "a", "value", "has", "a", "specific", "type", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/Traits/TypeHandlingTrait.php#L42-L45", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/Traits/TypeHandlingTrait.php", "func_name": "TypeHandlingTrait.typeCast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast a value to the specific type or throw an error.\n\n@param string $type\n@param \\Throwable|null $throwable\n@return static", "docstring_tokens": ["Cast", "a", "value", "to", "the", "specific", "type", "or", "throw", "an", "error", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/Traits/TypeHandlingTrait.php#L54-L57", "partition": "test"} +{"repo": "bugsnag/bugsnag-silex", "path": "src/Silex2ServiceProvider.php", "func_name": "Silex2ServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers services on the container.\n\n@param \\Pimple\\Container $app\n\n@return void", "docstring_tokens": ["Registers", "services", "on", "the", "container", "."], "sha": "18c5156e926809e8674d8d75fd59e35608327e3a", "url": "https://github.com/bugsnag/bugsnag-silex/blob/18c5156e926809e8674d8d75fd59e35608327e3a/src/Silex2ServiceProvider.php#L20-L40", "partition": "test"} +{"repo": "bugsnag/bugsnag-silex", "path": "src/AbstractServiceProvider.php", "func_name": "AbstractServiceProvider.makeClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new bugsnag client instance.\n\n@param \\Silex\\Application $app\n\n@return \\Bugsnag\\Client", "docstring_tokens": ["Make", "a", "new", "bugsnag", "client", "instance", "."], "sha": "18c5156e926809e8674d8d75fd59e35608327e3a", "url": "https://github.com/bugsnag/bugsnag-silex/blob/18c5156e926809e8674d8d75fd59e35608327e3a/src/AbstractServiceProvider.php#L29-L78", "partition": "test"} +{"repo": "bugsnag/bugsnag-silex", "path": "src/AbstractServiceProvider.php", "func_name": "AbstractServiceProvider.setupUserDetection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup user detection.\n\n@param \\Bugsnag\\Client $client\n@param \\Silex\\Application $app\n\n@return void", "docstring_tokens": ["Setup", "user", "detection", "."], "sha": "18c5156e926809e8674d8d75fd59e35608327e3a", "url": "https://github.com/bugsnag/bugsnag-silex/blob/18c5156e926809e8674d8d75fd59e35608327e3a/src/AbstractServiceProvider.php#L88-L112", "partition": "test"} +{"repo": "bugsnag/bugsnag-silex", "path": "src/AbstractServiceProvider.php", "func_name": "AbstractServiceProvider.setupPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the client paths.\n\n@param \\Bugsnag\\Client $client\n@param string|null $strip\n@param string|null $project\n\n@return void", "docstring_tokens": ["Setup", "the", "client", "paths", "."], "sha": "18c5156e926809e8674d8d75fd59e35608327e3a", "url": "https://github.com/bugsnag/bugsnag-silex/blob/18c5156e926809e8674d8d75fd59e35608327e3a/src/AbstractServiceProvider.php#L142-L173", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/PipelineBuilder.php", "func_name": "PipelineBuilder.stub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a stub, which does nothing but can be replaced later.\n\n@param string $name\n@return static\n@throw \\BadMethodCallException if stub already exists", "docstring_tokens": ["Add", "a", "stub", "which", "does", "nothing", "but", "can", "be", "replaced", "later", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/PipelineBuilder.php#L56-L67", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/PipelineBuilder.php", "func_name": "PipelineBuilder.unstub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a pipeline builder where a stub is replaced.\n\n@param string $name\n@param callable $callable\n@param mixed ...$args\n@return static", "docstring_tokens": ["Get", "a", "pipeline", "builder", "where", "a", "stub", "is", "replaced", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/PipelineBuilder.php#L77-L91", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/PipelineBuilder.php", "func_name": "PipelineBuilder.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new pipeline\n\n@param iterable $iterable\n@return Pipeline", "docstring_tokens": ["Create", "a", "new", "pipeline"], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/PipelineBuilder.php#L100-L109", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/PipelineBuilder.php", "func_name": "PipelineBuilder.setKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use another iterator as keys and the current iterator as values.\n\n@param iterable $keys Keys will be turned into an array.\n@return static", "docstring_tokens": ["Use", "another", "iterator", "as", "keys", "and", "the", "current", "iterator", "as", "values", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/PipelineBuilder.php#L129-L136", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/Traits/FilteringTrait.php", "func_name": "FilteringTrait.slice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a limited subset of the elements using an offset.\n\n@param int $offset\n@param int|null $size size limit\n@return static", "docstring_tokens": ["Get", "a", "limited", "subset", "of", "the", "elements", "using", "an", "offset", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/Traits/FilteringTrait.php#L85-L88", "partition": "test"} +{"repo": "improved-php-library/iterable", "path": "src/IteratorPipeline/Traits/SortingTrait.php", "func_name": "SortingTrait.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort all elements of an iterator.\n\n@param callable|int $compare SORT_* flags as binary set or callback comparator function\n@param bool $preserveKeys\n@return static", "docstring_tokens": ["Sort", "all", "elements", "of", "an", "iterator", "."], "sha": "cd157dd59596092b10fd350d40948e8b15240546", "url": "https://github.com/improved-php-library/iterable/blob/cd157dd59596092b10fd350d40948e8b15240546/src/IteratorPipeline/Traits/SortingTrait.php#L29-L32", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Page/VariableTrait.php", "func_name": "VariableTrait.setVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set variables.\n\n@param array $variables\n\n@throws Exception\n\n@return $this", "docstring_tokens": ["Set", "variables", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Page/VariableTrait.php#L37-L47", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Page/VariableTrait.php", "func_name": "VariableTrait.setVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a variable.\n\n@param $name\n@param $value\n\n@throws Exception\n\n@return $this", "docstring_tokens": ["Set", "a", "variable", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Page/VariableTrait.php#L69-L99", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Step/SavePages.php", "func_name": "SavePages.getPathname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return output pathname.\n\n@param Page $page\n\n@return string", "docstring_tokens": ["Return", "output", "pathname", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Step/SavePages.php#L74-L91", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "includes/AntiSpoof.php", "func_name": "AntiSpoof.getScriptTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "From the name of a script, get a script descriptor, if valid,\notherwise return None\n\n@param string $name\n@return null|string", "docstring_tokens": ["From", "the", "name", "of", "a", "script", "get", "a", "script", "descriptor", "if", "valid", "otherwise", "return", "None"], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/includes/AntiSpoof.php#L176-L186", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "includes/AntiSpoof.php", "func_name": "AntiSpoof.isAllowedScriptCombination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is this an allowed script mixture?\n\n@param array $scriptList\n@return bool", "docstring_tokens": ["Is", "this", "an", "allowed", "script", "mixture?"], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/includes/AntiSpoof.php#L203-L217", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "includes/AntiSpoof.php", "func_name": "AntiSpoof.stringToList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert string into array of Unicode code points as integers\n@param string $str\n@return array", "docstring_tokens": ["Convert", "string", "into", "array", "of", "Unicode", "code", "points", "as", "integers"], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/includes/AntiSpoof.php#L224-L234", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "maintenance/BatchAntiSpoofClass.php", "func_name": "BatchAntiSpoof.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the actual work. All child classes will need to implement this", "docstring_tokens": ["Do", "the", "actual", "work", ".", "All", "child", "classes", "will", "need", "to", "implement", "this"], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/maintenance/BatchAntiSpoofClass.php#L80-L105", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Step/RenderPages.php", "func_name": "RenderPages.getAllLayoutsPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of layouts directories.\n\n@return array Layouts directory", "docstring_tokens": ["Return", "an", "array", "of", "layouts", "directories", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Step/RenderPages.php#L82-L103", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Step/RenderPages.php", "func_name": "RenderPages.addGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add globals variables.", "docstring_tokens": ["Add", "globals", "variables", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Step/RenderPages.php#L108-L124", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Generator/GeneratorManager.php", "func_name": "GeneratorManager.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process each generators.\n\n@param PageCollection $pageCollection\n@param \\Closure $messageCallback\n\n@return PageCollection", "docstring_tokens": ["Process", "each", "generators", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Generator/GeneratorManager.php#L50-L77", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Loader/AtomLoader.php", "func_name": "AtomLoader.setParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a feed param\n\n@param \\SimpleXMLElement $element\n@param \\Nekland\\Bundle\\FeedBundle\\Feed $feed\n@return void", "docstring_tokens": ["Set", "a", "feed", "param"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Loader/AtomLoader.php#L118-L125", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Loader/AtomLoader.php", "func_name": "AtomLoader.extractParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract array params\n\n@param \\SimpleXMLElement $element\n@return array", "docstring_tokens": ["Extract", "array", "params"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Loader/AtomLoader.php#L133-L145", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Util.php", "func_name": "Util.runGitCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a Git command on the repository.\n\n@param string $command The command.\n\n@throws \\RuntimeException If the command failed.\n\n@return string The trimmed output from the command.", "docstring_tokens": ["Runs", "a", "Git", "command", "on", "the", "repository", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Util.php#L46-L64", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Util.php", "func_name": "Util.sortByDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort array by 'date' item.\n\n@param $a\n@param $b\n\n@return int", "docstring_tokens": ["Sort", "array", "by", "date", "item", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Util.php#L74-L87", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Feed.php", "func_name": "Feed.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an item by Id\n\n@throws \\InvalidArgumentException\n@param $id\n@return Feed", "docstring_tokens": ["Removes", "an", "item", "by", "Id"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Feed.php#L78-L94", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Feed.php", "func_name": "Feed.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace an Item by an other\n\n@throws \\InvalidArgumentException\n@param $id\n@param ItemInterface $newItem\n@return Feed", "docstring_tokens": ["Replace", "an", "Item", "by", "an", "other"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Feed.php#L104-L120", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Feed.php", "func_name": "Feed.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge 2 feeds\n\n@param Feed $feed\n@return Feed", "docstring_tokens": ["Merge", "2", "feeds"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Feed.php#L162-L171", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Feed.php", "func_name": "Feed.autoSlice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto slice the items to keep the good number of items\n@return Feed", "docstring_tokens": ["Auto", "slice", "the", "items", "to", "keep", "the", "good", "number", "of", "items"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Feed.php#L254-L266", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "includes/SpoofUser.php", "func_name": "SpoofUser.getConflicts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the username pass Unicode legality and script-mixing checks?\n\n@return array empty if no conflict, or array containing conflicting usernames", "docstring_tokens": ["Does", "the", "username", "pass", "Unicode", "legality", "and", "script", "-", "mixing", "checks?"], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/includes/SpoofUser.php#L102-L124", "partition": "test"} +{"repo": "wikimedia/mediawiki-extensions-AntiSpoof", "path": "includes/SpoofUser.php", "func_name": "SpoofUser.batchRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a batch of spoof normalization records into the database.\n@param IDatabase $dbw\n@param SpoofUser[] $items\n@return bool", "docstring_tokens": ["Insert", "a", "batch", "of", "spoof", "normalization", "records", "into", "the", "database", "."], "sha": "85f82fed04084c153900d66cfbc60f0a2834dbec", "url": "https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/85f82fed04084c153900d66cfbc60f0a2834dbec/includes/SpoofUser.php#L153-L170", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Renderer/AtomRenderer.php", "func_name": "AtomRenderer.writeItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write Feed Items\n\n@param \\Nekland\\Bundle\\FeedBundle\\XML\\XMLManager $xml\n@param \\Nekland\\Bundle\\FeedBundle\\Feed $feed\n@return void", "docstring_tokens": ["Write", "Feed", "Items"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Renderer/AtomRenderer.php#L98-L103", "partition": "test"} +{"repo": "aboutcoders/scheduler-bundle", "path": "Iterator/ScheduleManagerScheduleIterator.php", "func_name": "ScheduleManagerScheduleIterator.setCurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign current pointer", "docstring_tokens": ["Assign", "current", "pointer"], "sha": "ea84ae994f04c519df1d8d774978b45156444b1b", "url": "https://github.com/aboutcoders/scheduler-bundle/blob/ea84ae994f04c519df1d8d774978b45156444b1b/Iterator/ScheduleManagerScheduleIterator.php#L121-L129", "partition": "test"} +{"repo": "aboutcoders/scheduler-bundle", "path": "Iterator/ScheduleManagerScheduleIterator.php", "func_name": "ScheduleManagerScheduleIterator.buffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill the inner buffer", "docstring_tokens": ["Fill", "the", "inner", "buffer"], "sha": "ea84ae994f04c519df1d8d774978b45156444b1b", "url": "https://github.com/aboutcoders/scheduler-bundle/blob/ea84ae994f04c519df1d8d774978b45156444b1b/Iterator/ScheduleManagerScheduleIterator.php#L134-L139", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Collection/Collection.php", "func_name": "Collection.sortByDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort items by date.\n\n@return Collection", "docstring_tokens": ["Sort", "items", "by", "date", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Collection/Collection.php#L185-L200", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Config.php", "func_name": "Config.import", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import array config to current config.\n\n@param array $config\n\n@return $this", "docstring_tokens": ["Import", "array", "config", "to", "current", "config", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Config.php#L173-L182", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Config.php", "func_name": "Config.setFromData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set config data.\n\n@param Data $data\n\n@return $this", "docstring_tokens": ["Set", "config", "data", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Config.php#L191-L198", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Config.php", "func_name": "Config.setSourceDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set source directory.\n\n@param null $sourceDir\n\n@throws Exception\n\n@return $this", "docstring_tokens": ["Set", "source", "directory", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Config.php#L242-L253", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Config.php", "func_name": "Config.setDestinationDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set destination directory.\n\n@param null $destinationDir\n\n@throws Exception\n\n@return $this", "docstring_tokens": ["Set", "destination", "directory", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Config.php#L274-L285", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Layout.php", "func_name": "Layout.finder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Layout file finder.\n\n@param Page $page\n@param Config $config\n\n@throws Exception\n\n@return string", "docstring_tokens": ["Layout", "file", "finder", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Layout.php#L32-L61", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Layout.php", "func_name": "Layout.fallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Layout fall-back.\n\n@param $page\n\n@return string[]\n\n@see finder()", "docstring_tokens": ["Layout", "fall", "-", "back", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Layout.php#L72-L158", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Collection/Page/Page.php", "func_name": "Page.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse file content.\n\n@return $this", "docstring_tokens": ["Parse", "file", "content", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Collection/Page/Page.php#L258-L266", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Collection/Page/Page.php", "func_name": "Page.getSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get section.\n\n@return mixed|false", "docstring_tokens": ["Get", "section", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Collection/Page/Page.php#L359-L366", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Collection/Page/Page.php", "func_name": "Page.getPermalink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get permalink.\n\n@return mixed|false", "docstring_tokens": ["Get", "permalink", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Collection/Page/Page.php#L459-L466", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Builder.php", "func_name": "Builder.setConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set config.\n\n@param Config|array|null $config\n\n@return $this", "docstring_tokens": ["Set", "config", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Builder.php#L130-L140", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Builder.php", "func_name": "Builder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a new website.\n\n@param array $options\n\n@return $this", "docstring_tokens": ["Builds", "a", "new", "website", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Builder.php#L364-L399", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Builder.php", "func_name": "Builder.getVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return version.\n\n@return string", "docstring_tokens": ["Return", "version", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Builder.php#L406-L420", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.filterBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter by variable.\n\n@param \\PHPoole\\Page\\Collection $pages\n@param string $variable\n@param string $value\n\n@throws Exception\n\n@return array", "docstring_tokens": ["Filter", "by", "variable", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L114-L132", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.sortByDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort by date.\n\n@param $array|CollectionInterface\n\n@return mixed", "docstring_tokens": ["Sort", "by", "date", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L193-L217", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.createUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an URL.\n\n$options[\n'canonical' => null,\n'addhash' => true,\n];\n\n@param \\Twig_Environment $env\n@param string|\\PHPoole\\Page\\Page $value\n@param array|null $options\n\n@return string", "docstring_tokens": ["Create", "an", "URL", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L233-L280", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.minify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minify a CSS or a JS file.\n\n@param string $path\n\n@throws Exception\n\n@return string", "docstring_tokens": ["Minify", "a", "CSS", "or", "a", "JS", "file", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L291-L312", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.toCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile style file to CSS.\n\n@param string $path\n\n@throws Exception\n\n@return string", "docstring_tokens": ["Compile", "style", "file", "to", "CSS", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L351-L379", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.readtime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate estimated time to read a text.\n\n@param $text\n\n@return float|string", "docstring_tokens": ["Calculate", "estimated", "time", "to", "read", "a", "text", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L446-L455", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Renderer/Twig/Extension.php", "func_name": "Extension.hashFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hash file with sha384.\n\n@param string $path\n\n@return string|null", "docstring_tokens": ["Hash", "file", "with", "sha384", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Renderer/Twig/Extension.php#L464-L469", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Step/GenerateMenus.php", "func_name": "GenerateMenus.collectPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collects pages with menu entry.", "docstring_tokens": ["Collects", "pages", "with", "menu", "entry", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Step/GenerateMenus.php#L78-L118", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Factory/FeedFactory.php", "func_name": "FeedFactory.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a feed\n\n@param $feed\n@param $rendererName\n\n@return string", "docstring_tokens": ["Renders", "a", "feed"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Factory/FeedFactory.php#L65-L70", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Factory/FeedFactory.php", "func_name": "FeedFactory.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a feed\n\n@param $feedName\n@param $loaderName\n@return Feed", "docstring_tokens": ["Loads", "a", "feed"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Factory/FeedFactory.php#L79-L86", "partition": "test"} +{"repo": "shieldfy/sniffer", "path": "src/Sniffer.php", "func_name": "Sniffer.sniff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start sniffing the content.\n\n@param mixed $input\n\n@return $type", "docstring_tokens": ["Start", "sniffing", "the", "content", "."], "sha": "e12f879c4381e7c070cbc8ddfbf275d8f9443c34", "url": "https://github.com/shieldfy/sniffer/blob/e12f879c4381e7c070cbc8ddfbf275d8f9443c34/src/Sniffer.php#L56-L63", "partition": "test"} +{"repo": "shieldfy/sniffer", "path": "src/Sniffer.php", "func_name": "Sniffer.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "test against particular type.\n\n@param mixed $input\n\n@return bool", "docstring_tokens": ["test", "against", "particular", "type", "."], "sha": "e12f879c4381e7c070cbc8ddfbf275d8f9443c34", "url": "https://github.com/shieldfy/sniffer/blob/e12f879c4381e7c070cbc8ddfbf275d8f9443c34/src/Sniffer.php#L72-L80", "partition": "test"} +{"repo": "shieldfy/sniffer", "path": "src/Sniffer.php", "func_name": "Sniffer.sniffAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start Sniffing array.\n\n@param array $inputs\n\n@return array $result", "docstring_tokens": ["Start", "Sniffing", "array", "."], "sha": "e12f879c4381e7c070cbc8ddfbf275d8f9443c34", "url": "https://github.com/shieldfy/sniffer/blob/e12f879c4381e7c070cbc8ddfbf275d8f9443c34/src/Sniffer.php#L89-L97", "partition": "test"} +{"repo": "shieldfy/sniffer", "path": "src/Sniffer.php", "func_name": "Sniffer.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the tests on the input.\n\n@param mixed $input\n\n@return mixed result", "docstring_tokens": ["Run", "the", "tests", "on", "the", "input", "."], "sha": "e12f879c4381e7c070cbc8ddfbf275d8f9443c34", "url": "https://github.com/shieldfy/sniffer/blob/e12f879c4381e7c070cbc8ddfbf275d8f9443c34/src/Sniffer.php#L106-L125", "partition": "test"} +{"repo": "aboutcoders/scheduler-bundle", "path": "Doctrine/ScheduleManager.php", "func_name": "ScheduleManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates a schedule\n\n@param ScheduleInterface $schedule\n@param Boolean $andFlush Whether to flush the changes (default true)", "docstring_tokens": ["Updates", "a", "schedule"], "sha": "ea84ae994f04c519df1d8d774978b45156444b1b", "url": "https://github.com/aboutcoders/scheduler-bundle/blob/ea84ae994f04c519df1d8d774978b45156444b1b/Doctrine/ScheduleManager.php#L59-L66", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Renderer/RssRenderer.php", "func_name": "RssRenderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the feed\n\n@param \\Nekland\\Bundle\\FeedBundle\\Feed $feed\n@return void", "docstring_tokens": ["Renders", "the", "feed"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Renderer/RssRenderer.php#L44-L55", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Renderer/RssRenderer.php", "func_name": "RssRenderer.createItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an Item node\n\n@param \\Nekland\\Bundle\\FeedBundle\\XML\\XMLManager $xml\n@return \\DOMElement", "docstring_tokens": ["Create", "an", "Item", "node"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Renderer/RssRenderer.php#L185-L192", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Renderer/RssRenderer.php", "func_name": "RssRenderer.getAuthor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the author email\n\n@param \\Nekland\\Bundle\\FeedBundle\\Item\\ExtendedItemInterface $item\n@return string|null", "docstring_tokens": ["Extract", "the", "author", "email"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Renderer/RssRenderer.php#L200-L216", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "Renderer/RssRenderer.php", "func_name": "RssRenderer.getComments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the Comments URI\n\n@param \\Nekland\\Bundle\\FeedBundle\\Item\\ExtendedItemInterface $item\n@return null|string", "docstring_tokens": ["Extracts", "the", "Comments", "URI"], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/Renderer/RssRenderer.php#L224-L234", "partition": "test"} +{"repo": "Nekland/FeedBundle", "path": "XML/XMLManager.php", "func_name": "XMLManager.hasXMLSyntaxMarkers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the content has any XML syntax markers that would result in\ninvalid XML if inserted into an XML document. If it does, the content\nshould either be wrapped in a CDATA section or have all of it's\nspecial XML characters converted into entities.\n\n@param string $content\n@return boolean", "docstring_tokens": ["Check", "if", "the", "content", "has", "any", "XML", "syntax", "markers", "that", "would", "result", "in", "invalid", "XML", "if", "inserted", "into", "an", "XML", "document", ".", "If", "it", "does", "the", "content", "should", "either", "be", "wrapped", "in", "a", "CDATA", "section", "or", "have", "all", "of", "it", "s", "special", "XML", "characters", "converted", "into", "entities", "."], "sha": "9cce9e582b06f12849aa217b8fb326661a215760", "url": "https://github.com/Nekland/FeedBundle/blob/9cce9e582b06f12849aa217b8fb326661a215760/XML/XMLManager.php#L70-L79", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Generator/Taxonomy.php", "func_name": "Taxonomy.collectTaxonomiesFromPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collects taxonomies from pages.", "docstring_tokens": ["Collects", "taxonomies", "from", "pages", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Generator/Taxonomy.php#L67-L90", "partition": "test"} +{"repo": "Cecilapp/PHPoole", "path": "src/Generator/Taxonomy.php", "func_name": "Taxonomy.createNodePages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates node pages.", "docstring_tokens": ["Creates", "node", "pages", "."], "sha": "ac921557e4c61ef649bf5c41011f72dc890a2e9f", "url": "https://github.com/Cecilapp/PHPoole/blob/ac921557e4c61ef649bf5c41011f72dc890a2e9f/src/Generator/Taxonomy.php#L95-L144", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Console/OptimizeCommand.php", "func_name": "OptimizeCommand.compileViews", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile all view files.\n\n@return void", "docstring_tokens": ["Compile", "all", "view", "files", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Console/OptimizeCommand.php#L42-L47", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Console/OptimizeCommand.php", "func_name": "OptimizeCommand.compileViewsInPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile all views files in path.\n\n@param string $path\n\n@return void", "docstring_tokens": ["Compile", "all", "views", "files", "in", "path", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Console/OptimizeCommand.php#L56-L67", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Console/OptimizeCommand.php", "func_name": "OptimizeCommand.compileSingleViewFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile single view file.\n\n@param mixed $engine\n@param string $file\n\n@return void", "docstring_tokens": ["Compile", "single", "view", "file", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Console/OptimizeCommand.php#L77-L82", "partition": "test"} +{"repo": "scrutinizer-ci/utils", "path": "src/Scrutinizer/Util/DiffUtils.php", "func_name": "DiffUtils.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a DIFF.\n\n@param string $before\n@param string $after\n@return string", "docstring_tokens": ["Generates", "a", "DIFF", "."], "sha": "f95d02ca46df18516643b68f829bcb3ac0f05b2b", "url": "https://github.com/scrutinizer-ci/utils/blob/f95d02ca46df18516643b68f829bcb3ac0f05b2b/src/Scrutinizer/Util/DiffUtils.php#L35-L73", "partition": "test"} +{"repo": "scrutinizer-ci/utils", "path": "src/Scrutinizer/Util/DiffUtils.php", "func_name": "DiffUtils.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parser for Github's DIFF format.\n\n@param string $diff\n@return array an array of chunks", "docstring_tokens": ["Parser", "for", "Github", "s", "DIFF", "format", "."], "sha": "f95d02ca46df18516643b68f829bcb3ac0f05b2b", "url": "https://github.com/scrutinizer-ci/utils/blob/f95d02ca46df18516643b68f829bcb3ac0f05b2b/src/Scrutinizer/Util/DiffUtils.php#L115-L131", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Dispatchable.php", "func_name": "Dispatchable.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot active extensions.\n\n@return $this", "docstring_tokens": ["Boot", "active", "extensions", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Dispatchable.php#L29-L49", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Dispatchable.php", "func_name": "Dispatchable.finish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shutdown all extensions.\n\n@return $this", "docstring_tokens": ["Shutdown", "all", "extensions", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Dispatchable.php#L66-L76", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Dispatchable.php", "func_name": "Dispatchable.registerActiveExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register all active extension to dispatcher.\n\n@return void", "docstring_tokens": ["Register", "all", "active", "extension", "to", "dispatcher", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Dispatchable.php#L83-L105", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Dispatchable.php", "func_name": "Dispatchable.after", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an event listener or execute it directly.\n\n@param \\Closure|null $callback\n\n@return void", "docstring_tokens": ["Create", "an", "event", "listener", "or", "execute", "it", "directly", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Dispatchable.php#L114-L123", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ProviderRepository.php", "func_name": "ProviderRepository.provides", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load available service providers.\n\n@param array $provides\n\n@return void", "docstring_tokens": ["Load", "available", "service", "providers", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ProviderRepository.php#L79-L90", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ProviderRepository.php", "func_name": "ProviderRepository.writeManifestFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the manifest file.\n\n@param array $manifest\n\n@return void", "docstring_tokens": ["Write", "the", "manifest", "file", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ProviderRepository.php#L166-L169", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ProviderRepository.php", "func_name": "ProviderRepository.registerDeferredServiceProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register deferred service provider.\n\n@param string $provider\n@param \\Illuminate\\Support\\ServiceProvider $instance\n\n@return void", "docstring_tokens": ["Register", "deferred", "service", "provider", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ProviderRepository.php#L179-L187", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ProviderRepository.php", "func_name": "ProviderRepository.loadQueuedServiceProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load queued service provider.\n\n@param string $provider\n@param array $options\n\n@return void", "docstring_tokens": ["Load", "queued", "service", "provider", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ProviderRepository.php#L249-L256", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Processors/Activator.php", "func_name": "Activator.activate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Activate an extension.\n\n@param \\Orchestra\\Contracts\\Extension\\Listener\\Activator $listener\n@param \\Illuminate\\Support\\Fluent $extension\n\n@return mixed", "docstring_tokens": ["Activate", "an", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Processors/Activator.php#L20-L29", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Config/Repository.php", "func_name": "Repository.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map configuration to allow orchestra to store it in database.\n\n@param string $name\n@param array $aliases\n\n@return bool", "docstring_tokens": ["Map", "configuration", "to", "allow", "orchestra", "to", "store", "it", "in", "database", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Config/Repository.php#L44-L58", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/DomainAware.php", "func_name": "DomainAware.registerDomainAwareness", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register domain awareness from configuration.\n\n@return void", "docstring_tokens": ["Register", "domain", "awareness", "from", "configuration", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/DomainAware.php#L15-L20", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Factory.php", "func_name": "Factory.detect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect all extensions.\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Detect", "all", "extensions", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Factory.php#L82-L91", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Factory.php", "func_name": "Factory.option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an option for a given extension.\n\n@param string $name\n@param string $option\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "an", "option", "for", "a", "given", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Factory.php#L112-L119", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Factory.php", "func_name": "Factory.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish an extension.\n\n@param string\n\n@return void", "docstring_tokens": ["Publish", "an", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Factory.php#L145-L152", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Factory.php", "func_name": "Factory.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register an extension.\n\n@param string $name\n@param string $path\n\n@return bool", "docstring_tokens": ["Register", "an", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Factory.php#L162-L165", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Factory.php", "func_name": "Factory.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get extension route handle.\n\n@param string $name\n@param string $default\n\n@return \\Orchestra\\Contracts\\Extension\\UrlGenerator", "docstring_tokens": ["Get", "extension", "route", "handle", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Factory.php#L175-L192", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Operation.php", "func_name": "Operation.activating", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Activating an extension.\n\n@param string $name\n\n@return bool", "docstring_tokens": ["Activating", "an", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Operation.php#L28-L40", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Operation.php", "func_name": "Operation.refresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refresh extension configuration.\n\n@param string $name\n\n@return array|null", "docstring_tokens": ["Refresh", "extension", "configuration", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Operation.php#L95-L117", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Concerns/Operation.php", "func_name": "Operation.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset extension.\n\n@param string $name\n\n@return bool", "docstring_tokens": ["Reset", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Concerns/Operation.php#L126-L138", "partition": "test"} +{"repo": "mpalourdio/MpaCustomDoctrineHydrator", "path": "src/Form/Annotation/ElementAnnotationsListener.php", "func_name": "ElementAnnotationsListener.handleExcludeField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Exclude GENERATOR_TYPE_IDENTITY && GENERATOR_TYPE_CUSTOM\nBecause most of the time they are custom auto-incrementers\n\n@param EventInterface $event\n@internal\n@return bool", "docstring_tokens": ["Exclude", "GENERATOR_TYPE_IDENTITY", "&&", "GENERATOR_TYPE_CUSTOM", "Because", "most", "of", "the", "time", "they", "are", "custom", "auto", "-", "incrementers"], "sha": "e977acaa963f47c5003fc43044fa857ed18e8873", "url": "https://github.com/mpalourdio/MpaCustomDoctrineHydrator/blob/e977acaa963f47c5003fc43044fa857ed18e8873/src/Form/Annotation/ElementAnnotationsListener.php#L43-L52", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/ThemeManager.php", "func_name": "ThemeManager.createOrchestraDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the orchestra theme driver.\n\n@return \\Orchestra\\Contracts\\Theme\\Theme", "docstring_tokens": ["Create", "an", "instance", "of", "the", "orchestra", "theme", "driver", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/ThemeManager.php#L16-L23", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap plugin.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "plugin", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L54-L65", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrapConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap configuration.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "configuration", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L74-L81", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrapForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the form.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "form", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L90-L95", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrapMenuHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap menu handler.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "menu", "handler", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L104-L111", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrapSidebarPlaceholders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap sidebar placeholder.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "sidebar", "placeholder", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L120-L130", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.bootstrapValidationRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap validation rules.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n\n@return void", "docstring_tokens": ["Bootstrap", "validation", "rules", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L139-L146", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Plugin.php", "func_name": "Plugin.attachListenerOn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attach event listener.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n@param string $event\n@param \\Closure $callback\n\n@return void", "docstring_tokens": ["Attach", "event", "listener", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Plugin.php#L157-L160", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.initiate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start theme engine, this should be called from application booted\nor whenever we need to overwrite current active theme per request.\n\n@return $this", "docstring_tokens": ["Start", "theme", "engine", "this", "should", "be", "called", "from", "application", "booted", "or", "whenever", "we", "need", "to", "overwrite", "current", "active", "theme", "per", "request", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L106-L115", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.setTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the theme, this would also load the theme manifest.\n\n@param string|null $theme\n\n@return void", "docstring_tokens": ["Set", "the", "theme", "this", "would", "also", "load", "the", "theme", "manifest", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L124-L139", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot and Load theme starter files.\n\n@return bool", "docstring_tokens": ["Boot", "and", "Load", "theme", "starter", "files", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L156-L175", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.resolving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolving the theme.\n\n@return bool", "docstring_tokens": ["Resolving", "the", "theme", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L182-L195", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.getAvailableThemePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get available theme paths.\n\n@return array", "docstring_tokens": ["Get", "available", "theme", "paths", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L235-L240", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Theme.php", "func_name": "Theme.getThemeAutoloadFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get theme autoload files from manifest.\n\n@param string $themePath\n\n@return array", "docstring_tokens": ["Get", "theme", "autoload", "files", "from", "manifest", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Theme.php#L273-L278", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Console/ActivateCommand.php", "func_name": "ActivateCommand.validateProvidedTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate provided theme.\n\n@param string $group\n@param string|int $id\n@param object|null $theme\n\n@throws \\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Validate", "provided", "theme", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Console/ActivateCommand.php#L92-L103", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Console/ActivateCommand.php", "func_name": "ActivateCommand.getAvailableTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all available theme by type.\n\n@param string $type\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "all", "available", "theme", "by", "type", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Console/ActivateCommand.php#L112-L125", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Decorator.php", "func_name": "Decorator.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the macro.\n\n@param string $name\n@param mixed $parameters\n\n@throws \\BadMethodCallException\n\n@return string", "docstring_tokens": ["Render", "the", "macro", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Decorator.php#L39-L46", "partition": "test"} +{"repo": "mpalourdio/MpaCustomDoctrineHydrator", "path": "src/Filter/DateToDateTime.php", "func_name": "DateToDateTime.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a date string to a \\DateTime\naccording to the date format given\n\n@param string $value\n@return \\DateTime|string", "docstring_tokens": ["Converts", "a", "date", "string", "to", "a", "\\", "DateTime", "according", "to", "the", "date", "format", "given"], "sha": "e977acaa963f47c5003fc43044fa857ed18e8873", "url": "https://github.com/mpalourdio/MpaCustomDoctrineHydrator/blob/e977acaa963f47c5003fc43044fa857ed18e8873/src/Filter/DateToDateTime.php#L72-L93", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/StatusChecker.php", "func_name": "StatusChecker.verifyStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify safe mode status.\n\n@return void", "docstring_tokens": ["Verify", "safe", "mode", "status", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/StatusChecker.php#L87-L97", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.addPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new path to finder.\n\n@param string $path\n\n@return $this", "docstring_tokens": ["Add", "a", "new", "path", "to", "finder", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L108-L117", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.detect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect available extensions.\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Detect", "available", "extensions", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L124-L152", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.getManifestContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get manifest contents.\n\n@param string $manifest\n@param array|null $lockContent\n\n@throws \\Orchestra\\Contracts\\Support\\ManifestRuntimeException\n\n@return array", "docstring_tokens": ["Get", "manifest", "contents", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L164-L194", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.generateManifestConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a proper manifest configuration for the extension. This\nwould allow other part of the application to use this configuration\nto migrate, load service provider as well as preload some\nconfiguration.\n\n@param array $config\n\n@return array", "docstring_tokens": ["Generate", "a", "proper", "manifest", "configuration", "for", "the", "extension", ".", "This", "would", "allow", "other", "part", "of", "the", "application", "to", "use", "this", "configuration", "to", "migrate", "load", "service", "provider", "as", "well", "as", "preload", "some", "configuration", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L206-L212", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.getComposerLockData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get composer.lock data.\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "composer", ".", "lock", "data", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L219-L228", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.guessExtensionNameFromManifest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess extension name from manifest.\n\n@param string $manifest\n@param string $path\n\n@throws \\RuntimeException\n\n@return string|null", "docstring_tokens": ["Guess", "extension", "name", "from", "manifest", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L240-L256", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.guessExtensionPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess extension path from manifest file.\n\n@param string $path\n\n@return string", "docstring_tokens": ["Guess", "extension", "path", "from", "manifest", "file", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L265-L276", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.resolveExtensionNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve extension namespace name from manifest.\n\n@param string $manifest\n\n@return array", "docstring_tokens": ["Resolve", "extension", "namespace", "name", "from", "manifest", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L300-L315", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Finder.php", "func_name": "Finder.validateExtensionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate extension name.\n\n@param string $name\n\n@throws \\RuntimeException\n\n@return string", "docstring_tokens": ["Validate", "extension", "name", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Finder.php#L343-L350", "partition": "test"} +{"repo": "orchestral/view", "path": "src/ViewServiceProvider.php", "func_name": "ViewServiceProvider.registerViewFinder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for view finder.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "view", "finder", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/ViewServiceProvider.php#L29-L36", "partition": "test"} +{"repo": "orchestral/view", "path": "src/ViewServiceProvider.php", "func_name": "ViewServiceProvider.registerTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for theme.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "theme", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/ViewServiceProvider.php#L43-L52", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Theme/Finder.php", "func_name": "Finder.detect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect available themes.\n\n@throws \\RuntimeException\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Detect", "available", "themes", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Theme/Finder.php#L43-L52", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Bootstrap/LoadCurrentTheme.php", "func_name": "LoadCurrentTheme.setCurrentTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set current theme for request.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n@param \\Orchestra\\Contracts\\Theme\\Theme $theme\n\n@return void", "docstring_tokens": ["Set", "current", "theme", "for", "request", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Bootstrap/LoadCurrentTheme.php#L33-L50", "partition": "test"} +{"repo": "orchestral/view", "path": "src/Bootstrap/LoadCurrentTheme.php", "func_name": "LoadCurrentTheme.setThemeResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot theme resolver.\n\n@param \\Illuminate\\Contracts\\Foundation\\Application $app\n@param \\Orchestra\\Contracts\\Theme\\Theme $theme\n\n@return void", "docstring_tokens": ["Boot", "theme", "resolver", "."], "sha": "dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4", "url": "https://github.com/orchestral/view/blob/dc48205e0b4fa67a1b8e38c8a20b97626cfe82b4/src/Bootstrap/LoadCurrentTheme.php#L60-L72", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ExtensionServiceProvider.php", "func_name": "ExtensionServiceProvider.registerExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for Extension.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "Extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ExtensionServiceProvider.php#L37-L51", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ExtensionServiceProvider.php", "func_name": "ExtensionServiceProvider.registerExtensionConfigManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for Extension Config Manager.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "Extension", "Config", "Manager", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ExtensionServiceProvider.php#L58-L63", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ExtensionServiceProvider.php", "func_name": "ExtensionServiceProvider.registerExtensionFinder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for Extension Finder.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "Extension", "Finder", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ExtensionServiceProvider.php#L70-L81", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/ExtensionServiceProvider.php", "func_name": "ExtensionServiceProvider.registerExtensionStatusChecker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the service provider for Extension Safe Mode Checker.\n\n@return void", "docstring_tokens": ["Register", "the", "service", "provider", "for", "Extension", "Safe", "Mode", "Checker", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/ExtensionServiceProvider.php#L104-L109", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Processors/Processor.php", "func_name": "Processor.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute extension processing.\n\n@param object $listener\n@param string $type\n@param \\Illuminate\\Support\\Fluent $extension\n@param \\Closure $callback\n\n@return mixed", "docstring_tokens": ["Execute", "extension", "processing", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Processors/Processor.php#L39-L57", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.getScheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the scheme for a raw URL.\n\n@param bool|null $secure\n\n@return string", "docstring_tokens": ["Get", "the", "scheme", "for", "a", "raw", "URL", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L70-L77", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build route.\n\n@param string $handles\n\n@return $this", "docstring_tokens": ["Build", "route", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L98-L117", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.domain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route domain.\n\n@param bool $forceBase\n\n@return string|null", "docstring_tokens": ["Get", "route", "domain", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L126-L138", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route group.\n\n@param bool $forceBase\n\n@return array", "docstring_tokens": ["Get", "route", "group", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L147-L158", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the current request URI matches a pattern.\n\n@param string $pattern\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "current", "request", "URI", "matches", "a", "pattern", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L167-L184", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.prefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route prefix.\n\n@param bool $forceBase\n\n@return string", "docstring_tokens": ["Get", "route", "prefix", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L205-L217", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.root", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route root.\n\n@return string", "docstring_tokens": ["Get", "route", "root", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L224-L231", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.getBaseUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get base url.\n\n@return string", "docstring_tokens": ["Get", "base", "url", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L238-L245", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/UrlGenerator.php", "func_name": "UrlGenerator.resolveBaseUrlFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve base url from given path.\n\n@param string|null $root\n\n@return void", "docstring_tokens": ["Resolve", "base", "url", "from", "given", "path", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/UrlGenerator.php#L296-L307", "partition": "test"} +{"repo": "scrutinizer-ci/utils", "path": "src/Scrutinizer/Util/YamlUtils.php", "func_name": "YamlUtils.safeParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Safely parses the input string.\n\nIn contrast to the original Yaml class, we do not try to resolve the input to a filename first. Consequentially,\nthere is no need to sanitize the input prior to calling this method.\n\n@param string $input\n\n@return mixed", "docstring_tokens": ["Safely", "parses", "the", "input", "string", "."], "sha": "f95d02ca46df18516643b68f829bcb3ac0f05b2b", "url": "https://github.com/scrutinizer-ci/utils/blob/f95d02ca46df18516643b68f829bcb3ac0f05b2b/src/Scrutinizer/Util/YamlUtils.php#L21-L32", "partition": "test"} +{"repo": "scrutinizer-ci/utils", "path": "src/Scrutinizer/Util/YamlUtils.php", "func_name": "YamlUtils.validateDuplicatedKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if there is duplicated keys in the input yml string\n\n@param string $input\n@return bool", "docstring_tokens": ["Validate", "if", "there", "is", "duplicated", "keys", "in", "the", "input", "yml", "string"], "sha": "f95d02ca46df18516643b68f829bcb3ac0f05b2b", "url": "https://github.com/scrutinizer-ci/utils/blob/f95d02ca46df18516643b68f829bcb3ac0f05b2b/src/Scrutinizer/Util/YamlUtils.php#L40-L75", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.activating", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Activating the extension.\n\n@param string $name\n@param array $options\n\n@return void", "docstring_tokens": ["Activating", "the", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L127-L134", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.deactivating", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deactivating the extension.\n\n@param string $name\n@param array $options\n\n@return void", "docstring_tokens": ["Deactivating", "the", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L144-L149", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.registerExtensionProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register extension service providers.\n\n@param array $options\n\n@return void", "docstring_tokens": ["Register", "extension", "service", "providers", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L175-L180", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.registerExtensionPlugin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register extension plugin.\n\n@param array $options\n\n@return void", "docstring_tokens": ["Register", "extension", "plugin", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L189-L194", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot all extensions.\n\n@return void", "docstring_tokens": ["Boot", "all", "extensions", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L201-L208", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the extension.\n\n@param string $name\n@param array $options\n\n@return void", "docstring_tokens": ["Start", "the", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L218-L234", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.fireEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire events.\n\n@param string $name\n@param array $options\n@param string $type\n\n@return void", "docstring_tokens": ["Fire", "events", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L258-L262", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.getAutoloadFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of available paths for the extension.\n\n@param array $autoload\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "list", "of", "available", "paths", "for", "the", "extension", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L271-L276", "partition": "test"} +{"repo": "orchestral/extension", "path": "src/Dispatcher.php", "func_name": "Dispatcher.loadAutoloaderFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load autoloader file.\n\n@param string $filePath\n\n@return void", "docstring_tokens": ["Load", "autoloader", "file", "."], "sha": "d461c988ba6ec0200fc8f4e35b515e6710d3ef0a", "url": "https://github.com/orchestral/extension/blob/d461c988ba6ec0200fc8f4e35b515e6710d3ef0a/src/Dispatcher.php#L285-L292", "partition": "test"} +{"repo": "ongr-archive/ongr-strict-standard", "path": "Ongr/Sniffs/Commenting/FunctionCommentSniff.php", "func_name": "Ongr_Sniffs_Commenting_FunctionCommentSniff.processDeprecated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process any deprecated tags that this function comment has.\n\n@param PHP_CodeSniffer_File $phpcsFile The file being scanned.\n@param int $stackPtr The position of the current token\nin the stack passed in $tokens.\n@param int $commentStart The position in the stack where the comment started.\n\n@return void", "docstring_tokens": ["Process", "any", "deprecated", "tags", "that", "this", "function", "comment", "has", "."], "sha": "4716a172c4c41aebc70480a68cdb4dc1778f8258", "url": "https://github.com/ongr-archive/ongr-strict-standard/blob/4716a172c4c41aebc70480a68cdb4dc1778f8258/Ongr/Sniffs/Commenting/FunctionCommentSniff.php#L445-L488", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "error/ErrorCatcher.php", "func_name": "ErrorCatcher.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ErrorCatcher constructor.", "docstring_tokens": ["ErrorCatcher", "constructor", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/error/ErrorCatcher.php#L46-L92", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "error/ErrorCatcher.php", "func_name": "ErrorCatcher.generateLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a full error log consisting of a\n@param \\Throwable|array|null $e\n@param string $level\n@return string\n@internal param $argv", "docstring_tokens": ["Generate", "a", "full", "error", "log", "consisting", "of", "a"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/error/ErrorCatcher.php#L100-L161", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "error/ErrorCatcher.php", "func_name": "ErrorCatcher.generateCallTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A simplified back trace for quickly identifying route.\nreverse array to make steps line up chronologically\n@link http://php.net/manual/en/function.debug-backtrace.php\n@param \\Throwable $e\n@return string", "docstring_tokens": ["A", "simplified", "back", "trace", "for", "quickly", "identifying", "route", ".", "reverse", "array", "to", "make", "steps", "line", "up", "chronologically"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/error/ErrorCatcher.php#L169-L200", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "error/PublicAlert.php", "func_name": "PublicAlert.alert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an alert to the array. If the view is not executed, CarbonPHP will not\nhandle the global alert.\n@param string $message the message to be stored in the alert variable\n@param string $code you may choose between success, info, danger, or warning", "docstring_tokens": ["Add", "an", "alert", "to", "the", "array", ".", "If", "the", "view", "is", "not", "executed", "CarbonPHP", "will", "not", "handle", "the", "global", "alert", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/error/PublicAlert.php#L70-L76", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Fork.php", "func_name": "Fork.become_daemon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If a callable function is passes the interpreter will attempt to\nfork using the pncl library and then execute the desired closure.\nIf no arguments are passed than the current execution environment\nwill become \"Demonized\". All masks will be set to 0 and the new\nworking environment will be the root dir. This can be exceptionally\ndangerous and should only be used if your absolutely\nsure you know whats going on.\n@param callable|null $call\n@return int\n@throws \\Exception", "docstring_tokens": ["If", "a", "callable", "function", "is", "passes", "the", "interpreter", "will", "attempt", "to", "fork", "using", "the", "pncl", "library", "and", "then", "execute", "the", "desired", "closure", ".", "If", "no", "arguments", "are", "passed", "than", "the", "current", "execution", "environment", "will", "become", "Demonized", ".", "All", "masks", "will", "be", "set", "to", "0", "and", "the", "new", "working", "environment", "will", "be", "the", "root", "dir", ".", "This", "can", "be", "exceptionally", "dangerous", "and", "should", "only", "be", "used", "if", "your", "absolutely", "sure", "you", "know", "whats", "going", "on", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Fork.php#L25-L62", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Fork.php", "func_name": "Fork.safe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will safely execute a passed closure if the pncl library in not\nfound in the environment. This should only be used when the callable\nfunction does not access or modify the database or session. Carbon uses\nthis when realtime communication using named pipe is requested. It only\nspeeds up execution, however it is not required and will never throw an\nerror.\n@param callable|null $closure\n@return int\n@throws \\Exception", "docstring_tokens": ["This", "will", "safely", "execute", "a", "passed", "closure", "if", "the", "pncl", "library", "in", "not", "found", "in", "the", "environment", ".", "This", "should", "only", "be", "used", "when", "the", "callable", "function", "does", "not", "access", "or", "modify", "the", "database", "or", "session", ".", "Carbon", "uses", "this", "when", "realtime", "communication", "using", "named", "pipe", "is", "requested", ".", "It", "only", "speeds", "up", "execution", "however", "it", "is", "not", "required", "and", "will", "never", "throw", "an", "error", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Fork.php#L75-L102", "partition": "test"} +{"repo": "NightJar/ssrigging-slug", "path": "src/Slug.php", "func_name": "Slug.getSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a url slug segment\n\n@param boolean $forceRegeneration\n@return string", "docstring_tokens": ["Generate", "a", "url", "slug", "segment"], "sha": "76b61d9940cf70bf50a42457920da61dffa999a5", "url": "https://github.com/NightJar/ssrigging-slug/blob/76b61d9940cf70bf50a42457920da61dffa999a5/src/Slug.php#L140-L149", "partition": "test"} +{"repo": "NightJar/ssrigging-slug", "path": "src/Slug.php", "func_name": "Slug.onBeforeWrite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for collisions, iff we need to update the slug and\nupate the model with the confirmedsafe value before writing", "docstring_tokens": ["Check", "for", "collisions", "iff", "we", "need", "to", "update", "the", "slug", "and", "upate", "the", "model", "with", "the", "confirmedsafe", "value", "before", "writing"], "sha": "76b61d9940cf70bf50a42457920da61dffa999a5", "url": "https://github.com/NightJar/ssrigging-slug/blob/76b61d9940cf70bf50a42457920da61dffa999a5/src/Slug.php#L155-L199", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.sendHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Headers can only be sent and set if output has not already started.\nIf we attempt to set a header after output has started, store it and\nsend on the next request.\n@return void", "docstring_tokens": ["Headers", "can", "only", "be", "sent", "and", "set", "if", "output", "has", "not", "already", "started", ".", "If", "we", "attempt", "to", "set", "a", "header", "after", "output", "has", "started", "store", "it", "and", "send", "on", "the", "next", "request", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L41-L61", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.setCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cookies are a pain to set up as they also rely on headers not being sent.\nThis method makes setting cookies easy with three params.\n@param string $key the name of the cookie\n@param mixed $value\n@param int $time the expiration time of our cookie", "docstring_tokens": ["Cookies", "are", "a", "pain", "to", "set", "up", "as", "they", "also", "rely", "on", "headers", "not", "being", "sent", ".", "This", "method", "makes", "setting", "cookies", "easy", "with", "three", "params", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L69-L76", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.clearCookies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear all active cookies in the current session", "docstring_tokens": ["Clear", "all", "active", "cookies", "in", "the", "current", "session"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L82-L88", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request is a blanket method for other data validation procedures.\n@param array $argv values should match the keys in the given set\n@param array $array usually a transfer protocol ($_POST, $_GET, $_COOKIE)\n@param bool $removeHTML if true htmlspecialchars() will be run on each member of the set\n@link http://php.net/manual/en/function.htmlspecialchars.php\n@return Request", "docstring_tokens": ["Request", "is", "a", "blanket", "method", "for", "other", "data", "validation", "procedures", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L129-L144", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.storeFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "storeFiles attempts to store files currently in the storage set\n@param string $location the location to store the files\n@return array|mixed\n@throws PublicAlert if the files fail to be stored", "docstring_tokens": ["storeFiles", "attempts", "to", "store", "files", "currently", "in", "the", "storage", "set"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L214-L220", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.except", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes passed arguments from the set\n@param array ...$argv\n@return Request", "docstring_tokens": ["Removes", "passed", "arguments", "from", "the", "set"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L250-L258", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.regex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Preforms a regex expression using preg_match on each member of the set\n@link http://php.net/manual/en/function.preg-match.php\n@param string $condition\n@return array|bool|mixed", "docstring_tokens": ["Preforms", "a", "regex", "expression", "using", "preg_match", "on", "each", "member", "of", "the", "set"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L316-L322", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.noHTML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes HTML chars from a given set\n@param bool $complete if set to true than $this\nwill be returned\n@return array|bool|Request|mixed", "docstring_tokens": ["Removes", "HTML", "chars", "from", "a", "given", "set"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L342-L354", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Request.php", "func_name": "Request.int", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns found integers between the given min and max if set. If no max\nor min is set, just validate integers.\n@param int|null $min\n@param int|null $max\n@return array|bool|mixed", "docstring_tokens": ["Returns", "found", "integers", "between", "the", "given", "min", "and", "max", "if", "set", ".", "If", "no", "max", "or", "min", "is", "set", "just", "validate", "integers", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Request.php#L363-L378", "partition": "test"} +{"repo": "axllent/silverstripe-less", "path": "src/LessCompiler.php", "func_name": "LessCompiler.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggered early in the request when a flush is requested\nDeletes the less.php cache folder and regenerates", "docstring_tokens": ["Triggered", "early", "in", "the", "request", "when", "a", "flush", "is", "requested", "Deletes", "the", "less", ".", "php", "cache", "folder", "and", "regenerates"], "sha": "f0d26f43df483e423d5162a2b2436d2f5e50a2f4", "url": "https://github.com/axllent/silverstripe-less/blob/f0d26f43df483e423d5162a2b2436d2f5e50a2f4/src/LessCompiler.php#L81-L94", "partition": "test"} +{"repo": "axllent/silverstripe-less", "path": "src/LessCompiler.php", "func_name": "LessCompiler.combineFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process any less files and return new filenames\n@See Requirements_Backend->combineFiles() for options", "docstring_tokens": ["Process", "any", "less", "files", "and", "return", "new", "filenames"], "sha": "f0d26f43df483e423d5162a2b2436d2f5e50a2f4", "url": "https://github.com/axllent/silverstripe-less/blob/f0d26f43df483e423d5162a2b2436d2f5e50a2f4/src/LessCompiler.php#L113-L122", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Deployer/SshDeployer.php", "func_name": "SshDeployer.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open the SSH connection\n\n@param Plum\\Server\\ServerInterface $server", "docstring_tokens": ["Open", "the", "SSH", "connection"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Deployer/SshDeployer.php#L59-L76", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Deployer/SshDeployer.php", "func_name": "SshDeployer.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a SSH command\n\n@param string $cmd The SSH command\n\n@return string The output", "docstring_tokens": ["Execute", "a", "SSH", "command"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Deployer/SshDeployer.php#L93-L109", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "CarbonPHP.php", "func_name": "CarbonPHP.isClientServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns 127.0.0.1 if you are using a local development server,\notherwise returns false.\n@return bool|mixed|string", "docstring_tokens": ["returns", "127", ".", "0", ".", "0", ".", "1", "if", "you", "are", "using", "a", "local", "development", "server", "otherwise", "returns", "false", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/CarbonPHP.php#L314-L325", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "CarbonPHP.php", "func_name": "CarbonPHP.IP_FILTER", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function uses common keys for obtaining the users real IP.\nWe use this for verbo se operating systems support.\n@link http://blackbe.lt/advanced-method-to-obtain-the-client-ip-in-php/\n@return mixed|string", "docstring_tokens": ["This", "function", "uses", "common", "keys", "for", "obtaining", "the", "users", "real", "IP", ".", "We", "use", "this", "for", "verbo", "se", "operating", "systems", "support", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/CarbonPHP.php#L412-L429", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Pipe.php", "func_name": "Pipe.named", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will open a named pipe on our server. This is used for sending\ninformation between two active processes on the server. Generally,\neach user can send data real time to each other using this method.\nKeep in mind that the fifo file must be unique to the users listening\non it.\n@param string $fifoPath is the location of the fifo file.\n@return bool|resource", "docstring_tokens": ["This", "will", "open", "a", "named", "pipe", "on", "our", "server", ".", "This", "is", "used", "for", "sending", "information", "between", "two", "active", "processes", "on", "the", "server", ".", "Generally", "each", "user", "can", "send", "data", "real", "time", "to", "each", "other", "using", "this", "method", ".", "Keep", "in", "mind", "that", "the", "fifo", "file", "must", "be", "unique", "to", "the", "users", "listening", "on", "it", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Pipe.php#L33-L56", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.registerDeployer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a deployer\n\n@param DeployerInterface $deployer\n\n@return \\Plum\\Plum", "docstring_tokens": ["Registers", "a", "deployer"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L49-L56", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.getDeployer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a deployer\n\n@param string $deployer The deployer name\n\n@return \\Plum\\Deployer\\DeployerInterface", "docstring_tokens": ["Returns", "a", "deployer"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L75-L82", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.addServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a server to the list\n\n@param string $name\n@param \\Plum\\Server\\ServerInterface $server\n\n@return \\Plum\\Plum", "docstring_tokens": ["Adds", "a", "server", "to", "the", "list"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L92-L105", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.setServers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a list of servers\n\n@param array $servers\n\n@return \\Plum\\Plum", "docstring_tokens": ["Adds", "a", "list", "of", "servers"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L114-L121", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.getServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a server\n\n@param type $server The server name\n\n@return \\Plum\\Server\\ServerInterface", "docstring_tokens": ["Returns", "a", "server"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L144-L151", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.deploy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deploys to the server using the deployer\n\n@param string $server The name of the server\n@param string $deployer The name of the deployer", "docstring_tokens": ["Deploys", "to", "the", "server", "using", "the", "deployer"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L169-L175", "partition": "test"} +{"repo": "aerialls/Plum", "path": "src/Plum/Plum.php", "func_name": "Plum.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array of options\n\n@param string $server The server name", "docstring_tokens": ["Returns", "the", "array", "of", "options"], "sha": "2c5c4f7c8304329832c54cdd1d10c477ac28f5e7", "url": "https://github.com/aerialls/Plum/blob/2c5c4f7c8304329832c54cdd1d10c477ac28f5e7/src/Plum/Plum.php#L198-L207", "partition": "test"} +{"repo": "ongr-archive/ongr-strict-standard", "path": "Ongr/Sniffs/Classes/ClassDeclarationSniff.php", "func_name": "Ongr_Sniffs_Classes_ClassDeclarationSniff.processOpen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the opening section of a class declaration.\n\n@param PHP_CodeSniffer_File $phpcsFile The file being scanned.\n@param int $stackPtr The position of the current token\nin the stack passed in $tokens.\n\n@return void", "docstring_tokens": ["Processes", "the", "opening", "section", "of", "a", "class", "declaration", "."], "sha": "4716a172c4c41aebc70480a68cdb4dc1778f8258", "url": "https://github.com/ongr-archive/ongr-strict-standard/blob/4716a172c4c41aebc70480a68cdb4dc1778f8258/Ongr/Sniffs/Classes/ClassDeclarationSniff.php#L75-L119", "partition": "test"} +{"repo": "varunsridharan/wp-ajaxer", "path": "src/Ajaxer.php", "func_name": "Ajaxer.ajax_slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns Modified Ajax Action Slug\n\n@param $action\n\n@return string", "docstring_tokens": ["Returns", "Modified", "Ajax", "Action", "Slug"], "sha": "4c5cc025367efe8d97d017b53a148b1153c21cf5", "url": "https://github.com/varunsridharan/wp-ajaxer/blob/4c5cc025367efe8d97d017b53a148b1153c21cf5/src/Ajaxer.php#L105-L114", "partition": "test"} +{"repo": "varunsridharan/wp-ajaxer", "path": "src/Ajaxer.php", "func_name": "Ajaxer.ajax_request_single", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggers A Callback to a ajax request\n\n@hook ajax_before_{ajax_action}\n@hook ajax_after_{ajax_action}\n\nif method not exists then below hook fires\n@hook ajax_{ajax_action}\najax_action will be replaced with {$this->action}-action from url", "docstring_tokens": ["Triggers", "A", "Callback", "to", "a", "ajax", "request"], "sha": "4c5cc025367efe8d97d017b53a148b1153c21cf5", "url": "https://github.com/varunsridharan/wp-ajaxer/blob/4c5cc025367efe8d97d017b53a148b1153c21cf5/src/Ajaxer.php#L126-L147", "partition": "test"} +{"repo": "varunsridharan/wp-ajaxer", "path": "src/Ajaxer.php", "func_name": "Ajaxer.trigger_ajax_callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggers A AjaxCallback\n\n@hook ajax_before_{ajax_action}\n@hook ajax_after_{ajax_action}\nif method not exists then below hook fires\n@hook ajax_{ajax_action}\n\n@param $action", "docstring_tokens": ["Triggers", "A", "AjaxCallback"], "sha": "4c5cc025367efe8d97d017b53a148b1153c21cf5", "url": "https://github.com/varunsridharan/wp-ajaxer/blob/4c5cc025367efe8d97d017b53a148b1153c21cf5/src/Ajaxer.php#L176-L186", "partition": "test"} +{"repo": "varunsridharan/wp-ajaxer", "path": "src/Ajaxer.php", "func_name": "Ajaxer.ajax_request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles Multiple Ajax Requests.", "docstring_tokens": ["Handles", "Multiple", "Ajax", "Requests", "."], "sha": "4c5cc025367efe8d97d017b53a148b1153c21cf5", "url": "https://github.com/varunsridharan/wp-ajaxer/blob/4c5cc025367efe8d97d017b53a148b1153c21cf5/src/Ajaxer.php#L202-L215", "partition": "test"} +{"repo": "varunsridharan/wp-ajaxer", "path": "src/Ajaxer.php", "func_name": "Ajaxer.get_post_request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for the given key in the given method and returns it.\n\n@param $key\n@param $default\n@param $type\n\n@return mixed", "docstring_tokens": ["Checks", "for", "the", "given", "key", "in", "the", "given", "method", "and", "returns", "it", "."], "sha": "4c5cc025367efe8d97d017b53a148b1153c21cf5", "url": "https://github.com/varunsridharan/wp-ajaxer/blob/4c5cc025367efe8d97d017b53a148b1153c21cf5/src/Ajaxer.php#L274-L298", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Bcrypt.php", "func_name": "Bcrypt.genRandomHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "godaddy has me on a 64 bit computer", "docstring_tokens": ["godaddy", "has", "me", "on", "a", "64", "bit", "computer"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Bcrypt.php#L21-L26", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Serialized.php", "func_name": "Serialized.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Variables given will be cached between requests.\nVariables should be provided as string names referencing\nthe global scope.\n@param array ...$argv", "docstring_tokens": ["Variables", "given", "will", "be", "cached", "between", "requests", ".", "Variables", "should", "be", "provided", "as", "string", "names", "referencing", "the", "global", "scope", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Serialized.php#L29-L54", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Serialized.php", "func_name": "Serialized.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear any variables given to the start method.\nThis does not stop caching, just removes all data\nfrom current variables and cache.", "docstring_tokens": ["Clear", "any", "variables", "given", "to", "the", "start", "method", ".", "This", "does", "not", "stop", "caching", "just", "removes", "all", "data", "from", "current", "variables", "and", "cache", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Serialized.php#L61-L68", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "helpers/Serialized.php", "func_name": "Serialized.is_serialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests if an input is valid PHP serialized string.\n\nChecks if a string is serialized using quick string manipulation\nto throw out obviously incorrect strings. Unserialize is then run\non the string to perform the final verification.\n\nValid serialized forms are the following:\n
    \n
  • boolean: b:1;
  • \n
  • integer: i:1;
  • \n
  • double: d:0.2;
  • \n
  • string: s:4:\"test\";
  • \n
  • array: a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}
  • \n
  • object: O:8:\"stdClass\":0:{}
  • \n
  • null: N;
  • \n
\n\n@author\t\tChris Smith \n@copyright\tCopyright (c) 2009 Chris Smith (http://www.cs278.org/)\n@license\t\thttp://sam.zoy.org/wtfpl/ WTFPL\n@param\t\tstring\t$value\tValue to test for serialized form\n@param\t\tmixed\t$result\tResult of unserialize() of the $value\n@return\t\tboolean\t\t\tTrue if $value is serialized data, otherwise false", "docstring_tokens": ["Tests", "if", "an", "input", "is", "valid", "PHP", "serialized", "string", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/helpers/Serialized.php#L96-L165", "partition": "test"} +{"repo": "NightJar/ssrigging-slug", "path": "src/SlugHandler.php", "func_name": "SlugHandler.handleSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process a request for a slugged item.\n\n@param HTTPRequest $request\n@return array customisation of owner's otherwise normal output", "docstring_tokens": ["Process", "a", "request", "for", "a", "slugged", "item", "."], "sha": "76b61d9940cf70bf50a42457920da61dffa999a5", "url": "https://github.com/NightJar/ssrigging-slug/blob/76b61d9940cf70bf50a42457920da61dffa999a5/src/SlugHandler.php#L115-L124", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Singleton.php", "func_name": "Singleton.addMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to bind a closure to the working scope. This would mean the calling class\nnot the class which uses the Singelton trait\n@param $name\n@param $closure\n@noinspection PhpUnusedPrivateMethodInspection", "docstring_tokens": ["Attempt", "to", "bind", "a", "closure", "to", "the", "working", "scope", ".", "This", "would", "mean", "the", "calling", "class", "not", "the", "class", "which", "uses", "the", "Singelton", "trait"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Singleton.php#L166-L169", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Session.php", "func_name": "Session.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This handles our users state. If the user goes form logged-in to logged-out\nthe outer html-wrapper will be sent.\n@param bool $clear - if true is passed serialized data will be set to null", "docstring_tokens": ["This", "handles", "our", "users", "state", ".", "If", "the", "user", "goes", "form", "logged", "-", "in", "to", "logged", "-", "out", "the", "outer", "html", "-", "wrapper", "will", "be", "sent", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Session.php#L108-L145", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Session.php", "func_name": "Session.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will remove our session data from our scope and the database", "docstring_tokens": ["This", "will", "remove", "our", "session", "data", "from", "our", "scope", "and", "the", "database"], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Session.php#L150-L163", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Session.php", "func_name": "Session.verifySocket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function was created to make sure all socket request come from\nan existing user who has a session stored in our database. If database\nsession storage is turned off this method will fail and exit.\n\n@param $ip - the ip address to look up from our database.", "docstring_tokens": ["This", "function", "was", "created", "to", "make", "sure", "all", "socket", "request", "come", "from", "an", "existing", "user", "who", "has", "a", "session", "stored", "in", "our", "database", ".", "If", "database", "session", "storage", "is", "turned", "off", "this", "method", "will", "fail", "and", "exit", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Session.php#L171-L199", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Session.php", "func_name": "Session.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is required for the session save handler interface.\nDo no change.\n\n@param string $savePath\n@param string $sessionName\n@return bool", "docstring_tokens": ["This", "is", "required", "for", "the", "session", "save", "handler", "interface", ".", "Do", "no", "change", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Session.php#L208-L220", "partition": "test"} +{"repo": "RichardTMiles/CarbonPHP", "path": "Session.php", "func_name": "Session.gc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is our garbage collector. If a session is expired attempt to remove it.\nThis function is executed via a probability. See link for more details.\n@link http://php.net/manual/en/features.gc.php\n@param int $maxLife\n@return bool", "docstring_tokens": ["This", "is", "our", "garbage", "collector", ".", "If", "a", "session", "is", "expired", "attempt", "to", "remove", "it", ".", "This", "function", "is", "executed", "via", "a", "probability", ".", "See", "link", "for", "more", "details", "."], "sha": "22a403db161482f19a91771f62b930b8243a04c6", "url": "https://github.com/RichardTMiles/CarbonPHP/blob/22a403db161482f19a91771f62b930b8243a04c6/Session.php#L282-L287", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Routing/RoutingResolver.php", "func_name": "RoutingResolver.matchRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if route matches with rule depending on regular expression which\ndefines them.\n@param string $route\n@param RoutingRuleAbstract $rule\n@return bool true if rule matches with route or false if not", "docstring_tokens": ["Check", "if", "route", "matches", "with", "rule", "depending", "on", "regular", "expression", "which", "defines", "them", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Routing/RoutingResolver.php#L77-L93", "partition": "test"} +{"repo": "kitpages/KitpagesCmsBundle", "path": "Entity/Page.php", "func_name": "Page.getDataPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list fields\n\n@return array", "docstring_tokens": ["Get", "list", "fields"], "sha": "ae950dd4f4adb401644805f9f5a971ab34993c02", "url": "https://github.com/kitpages/KitpagesCmsBundle/blob/ae950dd4f4adb401644805f9f5a971ab34993c02/Entity/Page.php#L793-L808", "partition": "test"} +{"repo": "kitpages/KitpagesCmsBundle", "path": "Entity/Page.php", "func_name": "Page.isPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells if the the given page is this page.\n\nUseful when not hydrating all fields.\n\n@param Page $Page\n@return Boolean", "docstring_tokens": ["Tells", "if", "the", "the", "given", "page", "is", "this", "page", "."], "sha": "ae950dd4f4adb401644805f9f5a971ab34993c02", "url": "https://github.com/kitpages/KitpagesCmsBundle/blob/ae950dd4f4adb401644805f9f5a971ab34993c02/Entity/Page.php#L818-L821", "partition": "test"} +{"repo": "cristagu/cassium", "path": "src/ORM/Mappings/MetadataFactory.php", "func_name": "MetadataFactory.loadClassMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the ClassMetadata for the given class\n\n@param string $className\n\n@return ClassMetadata", "docstring_tokens": ["Loads", "the", "ClassMetadata", "for", "the", "given", "class"], "sha": "a1708513ab7e14fcee85541dbe7ac4c83d7b6a23", "url": "https://github.com/cristagu/cassium/blob/a1708513ab7e14fcee85541dbe7ac4c83d7b6a23/src/ORM/Mappings/MetadataFactory.php#L53-L62", "partition": "test"} +{"repo": "MetaModels/attribute_translatedcheckbox", "path": "src/EventListener/CreatePropertyConditionListener.php", "func_name": "CreatePropertyConditionListener.createCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create property condition for the translated checkbox.\n\n@param CreatePropertyConditionEvent $event The property condition event.\n\n@return void", "docstring_tokens": ["Create", "property", "condition", "for", "the", "translated", "checkbox", "."], "sha": "bc4f38467315620998ea218f9d69d6580488f67c", "url": "https://github.com/MetaModels/attribute_translatedcheckbox/blob/bc4f38467315620998ea218f9d69d6580488f67c/src/EventListener/CreatePropertyConditionListener.php#L39-L58", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/PluginManager.php", "func_name": "PluginManager.initPluginInstalled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of plugins installed and init them.\n\n@return false | array(PluginInterface)\n@throws PluginException", "docstring_tokens": ["Get", "the", "list", "of", "plugins", "installed", "and", "init", "them", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/PluginManager.php#L96-L112", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/PluginManager.php", "func_name": "PluginManager.getPluginList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the list of all plugin available, installed and not installed.\n\n@return array PluginInterface\n@throws PluginException", "docstring_tokens": ["Return", "the", "list", "of", "all", "plugin", "available", "installed", "and", "not", "installed", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/PluginManager.php#L120-L140", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/TwigView.php", "func_name": "TwigView.loadTwig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare Twig to be use into views\n@return Twig instance", "docstring_tokens": ["Prepare", "Twig", "to", "be", "use", "into", "views"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/TwigView.php#L34-L48", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/AuthAPI.php", "func_name": "AuthAPI.setDefaultLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the default language for this user.\n\n@param int $userId", "docstring_tokens": ["Set", "the", "default", "language", "for", "this", "user", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/AuthAPI.php#L43-L51", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/AuthAPI.php", "func_name": "AuthAPI.checkIfTokenIsValidAndUpdateTheExpireDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if token is valid, if not throws and error.\n\n@throws MmfAuthException", "docstring_tokens": ["Check", "if", "token", "is", "valid", "if", "not", "throws", "and", "error", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/AuthAPI.php#L58-L74", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the view render as string.\n\n@param string $name path name to the view.\n@param string $template name of the template used for this view in case\nto be the last one to be output.\n@param mixed $vars vars to include into the view.\n@param mixed $globalScriptVars global scripts included in the view.\n@return BasicViewInterface", "docstring_tokens": ["Get", "the", "view", "render", "as", "string", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L106-L123", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.addJsVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a global JS variable to the view\n\n@param mixed $vars array(variable_name => value, ...) or simply the\nvariable name. If $value happens to be a number (or something else you\ndon't want to \"json_encode()\", set $encode = FALSE\n@param string $value\n@param bool $encode = TRUE. If we don't want to encode some variable,\nit is mandatory to add them one by one, under the pattern\naddJsVar( $varName, $varValue, FALSE )\n@note remember that if $foo is a string, then json_encode($var) === $var", "docstring_tokens": ["Add", "a", "global", "JS", "variable", "to", "the", "view"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L137-L146", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.addScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Script into the cue of Script vars.\n\n@param string $jsfile\n@param bool $min\n@param string $type", "docstring_tokens": ["Add", "Script", "into", "the", "cue", "of", "Script", "vars", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L155-L170", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.addStyles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Style into the cue of style vars.\n\n@param string $cssfile\n@param bool $min", "docstring_tokens": ["Add", "Style", "into", "the", "cue", "of", "style", "vars", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L178-L195", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.getFileContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the content of the view with the template vars replace it.\n\n@param string $path\n@param array $vars\n\n@return string", "docstring_tokens": ["Get", "the", "content", "of", "the", "view", "with", "the", "template", "vars", "replace", "it", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L214-L233", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.getContentWithTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the view content but included into a template.\n\n@return string\n@throws Exception", "docstring_tokens": ["Get", "the", "view", "content", "but", "included", "into", "a", "template", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L241-L280", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.getAllScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the scripts, included the default scripts defined in the config\nfile.\n\n@return string with the dinamic and default scripts", "docstring_tokens": ["Get", "all", "the", "scripts", "included", "the", "default", "scripts", "defined", "in", "the", "config", "file", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L288-L300", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.getAllCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the styles.\nfile.\n\n@return string with the dinamic and default scripts", "docstring_tokens": ["Get", "all", "the", "styles", ".", "file", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L308-L320", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/View/BasicViewAbstract.php", "func_name": "BasicViewAbstract.asset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return or Echo the install folder.\n\n@param string $path path from install path\n@param bool $return (return=FALSE) if it's true, the result is returned.\n@return string | void", "docstring_tokens": ["Return", "or", "Echo", "the", "install", "folder", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/View/BasicViewAbstract.php#L329-L335", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/ACL/ACL.php", "func_name": "ACL.isAllowed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Main Function, used to check if the request have autorization to access\ninto the controller and action required.\n\n@param \\MmfRoutingRuleAbstract $routingRule\n@return bool TRUE if the user is allow to execute the routing rule or\nFALSE if the user is not allowed.", "docstring_tokens": ["Main", "Function", "used", "to", "check", "if", "the", "request", "have", "autorization", "to", "access", "into", "the", "controller", "and", "action", "required", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/ACL/ACL.php#L104-L148", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/ACL/ACL.php", "func_name": "ACL.getAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a normal access array.\n\n@return array", "docstring_tokens": ["Return", "a", "normal", "access", "array", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/ACL/ACL.php#L164-L181", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/ACL/ACL.php", "func_name": "ACL.getRolesChain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of roles chain. For example, if admin have user as parent\nrole, it returns the admin and user role.\n\n@return array", "docstring_tokens": ["Get", "the", "list", "of", "roles", "chain", ".", "For", "example", "if", "admin", "have", "user", "as", "parent", "role", "it", "returns", "the", "admin", "and", "user", "role", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/ACL/ACL.php#L189-L202", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/LanguageModel.php", "func_name": "LanguageModel.getUserLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the user language properties.\n\n@param int $userId\n@return boolean", "docstring_tokens": ["Return", "the", "user", "language", "properties", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/LanguageModel.php#L27-L42", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/Translator.php", "func_name": "Translator.translateChoice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translates the given choice message by choosing a translation according to a number.\n\n@param string $id The message id (may also be an object that can be cast to string)\n@param int $number The number to use to find the indice of the message\n@param array $parameters An array of parameters for the message\n@param string|null $locale The locale or null to use the default\n\n@throws \\InvalidArgumentException If the locale contains invalid characters\n\n@return string The translated string", "docstring_tokens": ["Translates", "the", "given", "choice", "message", "by", "choosing", "a", "translation", "according", "to", "a", "number", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/Translator.php#L86-L97", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/Translator.php", "func_name": "Translator.getTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of translations.\n\n@param string $locale\n@return array|null", "docstring_tokens": ["Returns", "the", "list", "of", "translations", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/Translator.php#L127-L132", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/Translator.php", "func_name": "Translator.getFileTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the translation array.\n\n@param string $locale\n@param string $translatePath\n\n@throws \\InvalidArgumentException\n\n@returns array of translations", "docstring_tokens": ["Get", "the", "translation", "array", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/Translator.php#L157-L166", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/Translator.php", "func_name": "Translator.getTranslationForId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the translation.\n\n@param string $id\n@param array $translationArray\n@param int $number\n\n@throws TranslateException\n\n@return string translation", "docstring_tokens": ["Get", "the", "translation", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/Translator.php#L179-L197", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Language/Translator.php", "func_name": "Translator.getBasicTranslationForId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the basic translation.\n\n@param mixed $translationId\n@param int $number\n\n@throws TranslateException\n\n@return string", "docstring_tokens": ["Calculate", "the", "basic", "translation", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Language/Translator.php#L209-L218", "partition": "test"} +{"repo": "MetaModels/attribute_translatedcheckbox", "path": "src/EventListener/BuildMetaModelOperationsListener.php", "func_name": "BuildMetaModelOperationsListener.generateToggleCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the toggle command information.\n\n@param CommandCollectionInterface $commands The already existing commands.\n\n@param IAttribute $attribute The attribute.\n\n@param string $commandName The name of the new command.\n\n@param string $class The name of the CSS class for the command.\n\n@param string $language The language name.\n\n@return void\n\n@SuppressWarnings(PHPMD.Superglobals)\n@SuppressWarnings(PHPMD.CamelCaseVariableName)", "docstring_tokens": ["Generate", "the", "toggle", "command", "information", "."], "sha": "bc4f38467315620998ea218f9d69d6580488f67c", "url": "https://github.com/MetaModels/attribute_translatedcheckbox/blob/bc4f38467315620998ea218f9d69d6580488f67c/src/EventListener/BuildMetaModelOperationsListener.php#L56-L84", "partition": "test"} +{"repo": "MetaModels/attribute_translatedcheckbox", "path": "src/EventListener/BuildMetaModelOperationsListener.php", "func_name": "BuildMetaModelOperationsListener.buildCommandsFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a attribute toggle operation for all languages of the MetaModel.\n\n@param TranslatedCheckbox $attribute The checkbox attribute.\n\n@param CommandCollectionInterface $commands The already existing commands.\n\n@return void", "docstring_tokens": ["Build", "a", "attribute", "toggle", "operation", "for", "all", "languages", "of", "the", "MetaModel", "."], "sha": "bc4f38467315620998ea218f9d69d6580488f67c", "url": "https://github.com/MetaModels/attribute_translatedcheckbox/blob/bc4f38467315620998ea218f9d69d6580488f67c/src/EventListener/BuildMetaModelOperationsListener.php#L95-L117", "partition": "test"} +{"repo": "MetaModels/attribute_translatedcheckbox", "path": "src/EventListener/BuildMetaModelOperationsListener.php", "func_name": "BuildMetaModelOperationsListener.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the property conditions.\n\n@param BuildMetaModelOperationsEvent $event The event.\n\n@return void\n\n@throws \\RuntimeException When no MetaModel is attached to the event or any other important information could\nnot be retrieved.", "docstring_tokens": ["Create", "the", "property", "conditions", "."], "sha": "bc4f38467315620998ea218f9d69d6580488f67c", "url": "https://github.com/MetaModels/attribute_translatedcheckbox/blob/bc4f38467315620998ea218f9d69d6580488f67c/src/EventListener/BuildMetaModelOperationsListener.php#L129-L143", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.main", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the function to start the Framework. Is usually call in index .\n\n@throws Exception", "docstring_tokens": ["Is", "the", "function", "to", "start", "the", "Framework", ".", "Is", "usually", "call", "in", "index", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L149-L185", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.prepareAndCreateControllerAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method will create the view, the core and controller and\nexecute the action.\n\n@return mixed controller->action return", "docstring_tokens": ["This", "method", "will", "create", "the", "view", "the", "core", "and", "controller", "and", "execute", "the", "action", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L239-L263", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.executeACL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the Access Control List, throws and ControllerException if is not allowed.\n\n@throws ControllerException", "docstring_tokens": ["Execute", "the", "Access", "Control", "List", "throws", "and", "ControllerException", "if", "is", "not", "allowed", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L270-L279", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.executeAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the Authentication system, throws and ControllerException if\nthe session is not longer valid.\n\n@throws ControllerException", "docstring_tokens": ["Execute", "the", "Authentication", "system", "throws", "and", "ControllerException", "if", "the", "session", "is", "not", "longer", "valid", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L287-L290", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.executeResolveRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the route.\n\n@throws \\RoutingException when no route is matching", "docstring_tokens": ["Resolve", "the", "route", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L297-L304", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.setAndAppLibraries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the libraries from the config and set the structure from the config\nfile.", "docstring_tokens": ["Set", "the", "libraries", "from", "the", "config", "and", "set", "the", "structure", "from", "the", "config", "file", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L310-L319", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.getLibraryInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the instance of the library class.\n\n@param string $libraryName\n@param string $libraryClass\n\n@throws \\InvalidArgumentException\n\n@return stdClass | null $libraryClass", "docstring_tokens": ["Return", "the", "instance", "of", "the", "library", "class", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L348-L365", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.createCoreAndController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the Concret controller with the constructor parameters and\n\n@param $class\n@param \\PluginManagerInterface $pluginManager\n@param \\EventManagerInterface $eventManager\n@param \\RequestInterface $request\n@param \\ResponseInterface $response\n@param \\BasicViewInterface $view\n@param \\LanguageInterface $language\n@param \\RoutingResolverAbstract $router\n@param \\ErrorControllerInterface $error\n@param \\SessionInterface $session\n@param \\ConnectionInterface $connection\n@param \\AuthInterface $auth\n\n@return mixed\n@throws \\CoreException", "docstring_tokens": ["Creates", "the", "Concret", "controller", "with", "the", "constructor", "parameters", "and"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L386-L425", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.callClassAndMethodWithInputArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a class and a method trying to pass the method recive in the request.\nIf the request doesn't have the parameters, it is set to false.\n\n@param string | object $class to call the method\n@param string $method to be call\n@param \\RequestInterface $request\n\n@return mixed\n\n@throws \\ControllerException\n@throws \\CoreException", "docstring_tokens": ["Call", "a", "class", "and", "a", "method", "trying", "to", "pass", "the", "method", "recive", "in", "the", "request", ".", "If", "the", "request", "doesn", "t", "have", "the", "parameters", "it", "is", "set", "to", "false", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L440-L469", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Controller/FrontController.php", "func_name": "FrontController.getFunctionArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function returns the arguments of the method in class send it in the\nparameters.\n\n@param string | object $class\n@param string $method\n@return array of parameters <'name', 'isOptional', 'initialValue'>", "docstring_tokens": ["This", "function", "returns", "the", "arguments", "of", "the", "method", "in", "class", "send", "it", "in", "the", "parameters", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Controller/FrontController.php#L479-L493", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/AuthModel.php", "func_name": "AuthModel.getRoleAndUserFromToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the role and user attributes from the given token.\n\n@param string $token\n@return boolean", "docstring_tokens": ["Return", "the", "role", "and", "user", "attributes", "from", "the", "given", "token", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/AuthModel.php#L27-L50", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/AuthModel.php", "func_name": "AuthModel.getRoleAndUserFromIdUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return user information given id user.\n\n@param int $userId\n\n@return array", "docstring_tokens": ["Return", "user", "information", "given", "id", "user", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/AuthModel.php#L107-L127", "partition": "test"} +{"repo": "hiqdev/yii2-combo", "path": "src/Combo.php", "func_name": "Combo.getCurrentOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method collects list of options that will be rendered inside the `select` tag.\n@return array", "docstring_tokens": ["Method", "collects", "list", "of", "options", "that", "will", "be", "rendered", "inside", "the", "select", "tag", "."], "sha": "c8d5ede94defba42e15688b577678f774cb94693", "url": "https://github.com/hiqdev/yii2-combo/blob/c8d5ede94defba42e15688b577678f774cb94693/src/Combo.php#L397-L423", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/IO/RequestHtml.php", "func_name": "RequestHtml.setBulkOfInputGivenArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a bulk of input parameters from and array.\n\n@param array $arrayOfParameters", "docstring_tokens": ["Set", "a", "bulk", "of", "input", "parameters", "from", "and", "array", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/IO/RequestHtml.php#L54-L60", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/IO/RequestHtml.php", "func_name": "RequestHtml.input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the input var.\n\n@param string $varName name of the var to retrive the value.\n@return mixed input", "docstring_tokens": ["Get", "the", "input", "var", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/IO/RequestHtml.php#L68-L74", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/IO/RequestHtml.php", "func_name": "RequestHtml.filterVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to filter the input var. Is it define as public to replicate\nthe logic for every var that you want.\n\n@param string $var\n@return mixed sanitize var", "docstring_tokens": ["Function", "to", "filter", "the", "input", "var", ".", "Is", "it", "define", "as", "public", "to", "replicate", "the", "logic", "for", "every", "var", "that", "you", "want", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/IO/RequestHtml.php#L93-L118", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/PDO.php", "func_name": "PDO.openConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open connection if is not already open.\n\n@param string $name optional parameter if nothing is send it gets\nthe default connection.\n\n@return \\PDO\n@throws \\ModelException", "docstring_tokens": ["Open", "connection", "if", "is", "not", "already", "open", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/PDO.php#L49-L76", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/PDO.php", "func_name": "PDO.closeConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close connection if is still open.\n\n@param string $name optional parameter if nothing is send it gets\nthe default connection.\n\n@return bool", "docstring_tokens": ["Close", "connection", "if", "is", "still", "open", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/PDO.php#L86-L95", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/MySQLModelAbstract.php", "func_name": "MySQLModelAbstract.executeSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute SQL and return the object.\n\n@param string $SQL\n@throws ModelException", "docstring_tokens": ["Execute", "SQL", "and", "return", "the", "object", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/MySQLModelAbstract.php#L46-L59", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/MySQLModelAbstract.php", "func_name": "MySQLModelAbstract.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a select query to Database and return the result in a array type.\n\n@param string $SQL\n@return array selected rows.\n@throws ModelException", "docstring_tokens": ["Do", "a", "select", "query", "to", "Database", "and", "return", "the", "result", "in", "a", "array", "type", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/MySQLModelAbstract.php#L68-L71", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/MySQLModelAbstract.php", "func_name": "MySQLModelAbstract.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a insert query to Database and return the id of the row inserted.\n\n@param string $SQL\n@return int id of inserted row.\n@throws ModelException", "docstring_tokens": ["Do", "a", "insert", "query", "to", "Database", "and", "return", "the", "id", "of", "the", "row", "inserted", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/MySQLModelAbstract.php#L80-L83", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/MySQLModelAbstract.php", "func_name": "MySQLModelAbstract.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a delete query to Database and return the number of deleted rows.\n\n@param string $SQL\n@return int number of deleted rows.\n@throws ModelException", "docstring_tokens": ["Do", "a", "delete", "query", "to", "Database", "and", "return", "the", "number", "of", "deleted", "rows", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/MySQLModelAbstract.php#L92-L95", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Model/MySQLModelAbstract.php", "func_name": "MySQLModelAbstract.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a update query to Database and return the number of updated rows\n\n@param string $SQL\n@return int number of update rows.\n@throws ModelException", "docstring_tokens": ["Do", "a", "update", "query", "to", "Database", "and", "return", "the", "number", "of", "updated", "rows"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Model/MySQLModelAbstract.php#L104-L107", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/Auth.php", "func_name": "Auth.logout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to declare a user as a guess.", "docstring_tokens": ["Function", "to", "declare", "a", "user", "as", "a", "guess", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/Auth.php#L147-L152", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/Auth.php", "func_name": "Auth.setUserId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the user id.\n\n@param int $userId", "docstring_tokens": ["Set", "the", "user", "id", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/Auth.php#L197-L202", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/Auth.php", "func_name": "Auth.setUsername", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the username.\n\n@param string $username", "docstring_tokens": ["Set", "the", "username", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/Auth.php#L209-L214", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/Auth.php", "func_name": "Auth.setRoleId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the role id\n\n@param string $roleId", "docstring_tokens": ["Set", "the", "role", "id"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/Auth.php#L221-L226", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Auth/Auth.php", "func_name": "Auth.setRoleName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the role name\n\n@param string $roleName", "docstring_tokens": ["Set", "the", "role", "name"], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Auth/Auth.php#L233-L238", "partition": "test"} +{"repo": "kitpages/KitpagesCmsBundle", "path": "Validator/GenericValidator.php", "func_name": "GenericValidator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates whether the constraint is valid\n\n@param Entity $value\n@param Constraint $constraint", "docstring_tokens": ["Indicates", "whether", "the", "constraint", "is", "valid"], "sha": "ae950dd4f4adb401644805f9f5a971ab34993c02", "url": "https://github.com/kitpages/KitpagesCmsBundle/blob/ae950dd4f4adb401644805f9f5a971ab34993c02/Validator/GenericValidator.php#L56-L67", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/FileSystemPluginLocator.php", "func_name": "FileSystemPluginLocator.getInstalledPlugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all the plugin installed classes found in the concrete path.\n\n@param string $path\n@return array('pluginClasses'=>$factoryPluginClasses,'pluginDirectories'=>$validPluginDirectories)", "docstring_tokens": ["Return", "all", "the", "plugin", "installed", "classes", "found", "in", "the", "concrete", "path", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/FileSystemPluginLocator.php#L39-L56", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/FileSystemPluginLocator.php", "func_name": "FileSystemPluginLocator.searchPluginDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given a path it give the directories.\n\n@param string $path\n\n@return array pluginDirectories\n@throws \\PluginException", "docstring_tokens": ["Given", "a", "path", "it", "give", "the", "directories", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/FileSystemPluginLocator.php#L93-L105", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/FileSystemPluginLocator.php", "func_name": "FileSystemPluginLocator.searchPluginFactoryClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Given the plugin directory it search, based on plugin structure, if\nexists a pluginFactoryClass to call to get ready the plugin.\n\n@param string $pluginDirectory\n\n@return PluginInterface|null\n@throws \\PluginException", "docstring_tokens": ["Given", "the", "plugin", "directory", "it", "search", "based", "on", "plugin", "structure", "if", "exists", "a", "pluginFactoryClass", "to", "call", "to", "get", "ready", "the", "plugin", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/FileSystemPluginLocator.php#L116-L135", "partition": "test"} +{"repo": "mamasu/mama-framework", "path": "src/Plugin/FileSystemPluginLocator.php", "func_name": "FileSystemPluginLocator.haveTheFileImplementationOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open the given path file and search for a plugin implementation. It returns\nthe class name in a positive case.\n\n@param string $file\n@param string $implementation\n@return boolean|string", "docstring_tokens": ["Open", "the", "given", "path", "file", "and", "search", "for", "a", "plugin", "implementation", ".", "It", "returns", "the", "class", "name", "in", "a", "positive", "case", "."], "sha": "105a4980b56f1fdaad095a32189ee47d39203a7a", "url": "https://github.com/mamasu/mama-framework/blob/105a4980b56f1fdaad095a32189ee47d39203a7a/src/Plugin/FileSystemPluginLocator.php#L159-L171", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Utils/FunctionReflection.php", "func_name": "FunctionReflection.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the string representation of the anonymous function.\n\n@param Closre $closure The anonymous function.\n\n@return string", "docstring_tokens": ["Get", "the", "string", "representation", "of", "the", "anonymous", "function", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Utils/FunctionReflection.php#L17-L31", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the process.\n\n@param \\Closure $closure The anonyouse function to execute.\n\n@return void", "docstring_tokens": ["Execute", "the", "process", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L63-L82", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.executeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the operating system call appropriate execution method.\n\n@param string $file The absolute path to the executing file.\n\n@return void", "docstring_tokens": ["Check", "the", "operating", "system", "call", "appropriate", "execution", "method", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L91-L98", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.runCommandForWindows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the shell process for the Windows platform.\n\n@param string $file The absolute path to the executing file.\n\n@return void", "docstring_tokens": ["Execute", "the", "shell", "process", "for", "the", "Windows", "platform", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L107-L147", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.setAutoloadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a custom path to the autoload.php file.\n\n@param string $file The absolute path to the autoload.php file.\n\n@return void", "docstring_tokens": ["Set", "a", "custom", "path", "to", "the", "autoload", ".", "php", "file", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L176-L185", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.isRunning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the process ID is still active.\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "process", "ID", "is", "still", "active", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L216-L230", "partition": "test"} +{"repo": "stephenlake/php-covert", "path": "src/Operation.php", "func_name": "Operation.kill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kill the current operation process if it is running.\n\n@return self", "docstring_tokens": ["Kill", "the", "current", "operation", "process", "if", "it", "is", "running", "."], "sha": "289161e55fab4094e396a1af5950bbff18f74990", "url": "https://github.com/stephenlake/php-covert/blob/289161e55fab4094e396a1af5950bbff18f74990/src/Operation.php#L237-L252", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/ProfilerBase.php", "func_name": "ProfilerBase.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset everything to cleanup.", "docstring_tokens": ["Reset", "everything", "to", "cleanup", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/ProfilerBase.php#L62-L68", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/Uri.php", "func_name": "Uri.createFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Uri object with string\n\n@param string $str\n\n@return \\Berlioz\\Http\\Message\\Uri", "docstring_tokens": ["Create", "Uri", "object", "with", "string"], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/Uri.php#L69-L81", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/class_image.php", "func_name": "image.getDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the drivers in the array parameter could be used. Returns first\nfound one\n@param array $drivers\n@return string", "docstring_tokens": ["Checks", "if", "the", "drivers", "in", "the", "array", "parameter", "could", "be", "used", ".", "Returns", "first", "found", "one"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/class_image.php#L91-L102", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/class_image.php", "func_name": "image.buildImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array. Element 0 - image resource. Element 1 - width. Element 2 - height.\nReturns FALSE on failure.\n@param mixed $image\n@return array", "docstring_tokens": ["Returns", "an", "array", ".", "Element", "0", "-", "image", "resource", ".", "Element", "1", "-", "width", ".", "Element", "2", "-", "height", ".", "Returns", "FALSE", "on", "failure", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/class_image.php#L110-L129", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/class_image.php", "func_name": "image.getPropWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns calculated proportional width from the given height\n@param integer $resizedHeight\n@return integer", "docstring_tokens": ["Returns", "calculated", "proportional", "width", "from", "the", "given", "height"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/class_image.php#L136-L140", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/class_image.php", "func_name": "image.getPropHeight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns calculated proportional height from the given width\n@param integer $resizedWidth\n@return integer", "docstring_tokens": ["Returns", "calculated", "proportional", "height", "from", "the", "given", "width"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/class_image.php#L147-L151", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/ByteSize.php", "func_name": "ByteSize.formatBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binary formatter static proxy\n\n@staticvar Formatter\\Binary $formatter\n@uses Formatter\\Binary::format()\n\n@param integer|string $bytes Integer or string representing the number\nof bytes.\n@param integer $precision Number of significant digits to include in the\nformatted output.\n@return string Returns a human-friendly formatted string.", "docstring_tokens": ["Binary", "formatter", "static", "proxy"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/ByteSize.php#L73-L81", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/ByteSize.php", "func_name": "ByteSize.formatMetric", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Metric formatter static proxy\n\n@staticvar Formatter\\Metric $formatter\n@uses Formatter\\Metric::format()\n\n@param integer|string $bytes Integer or string representing the number\nof bytes.\n@param integer $precision Number of significant digits to include in the\nformatted output.\n@return string Returns a human-friendly formatted string.", "docstring_tokens": ["Metric", "formatter", "static", "proxy"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/ByteSize.php#L95-L103", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Session.php", "func_name": "Session.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the session driver with provided options\n\n@param string $driverClass\n@param array $options\n\n@return SessionDriverInterface\n\n@throws ClassNotFoundException if class does not exists\n@throws InvalidDriverClassException if class does not implement the SessionDriverInterface", "docstring_tokens": ["Creates", "the", "session", "driver", "with", "provided", "options"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Session.php#L62-L66", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Session.php", "func_name": "Session.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes a new session driver\n\n@return SessionDriverInterface\n\n@throws ClassNotFoundException if class does not exists\n@throws InvalidDriverClassException if class does not implement the SessionDriverInterface", "docstring_tokens": ["Initializes", "a", "new", "session", "driver"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Session.php#L76-L84", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/BodyParser/UrlEncodedParser.php", "func_name": "UrlEncodedParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the URL encoded body.\n\n@return array", "docstring_tokens": ["Parses", "the", "URL", "encoded", "body", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/BodyParser/UrlEncodedParser.php#L42-L47", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/RequestUriFactory.php", "func_name": "RequestUriFactory.generateUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an URL from current request data\n\n@return string", "docstring_tokens": ["Generates", "an", "URL", "from", "current", "request", "data"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/RequestUriFactory.php#L59-L71", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/RequestUriFactory.php", "func_name": "RequestUriFactory.getServerParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an request server parameter stored with provided name\n\nIf no match is found the default value is returned instead\n\n@param string $name $_SERVER super-global key name\n@param null $default\n\n@return null|string", "docstring_tokens": ["Retrieve", "an", "request", "server", "parameter", "stored", "with", "provided", "name"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/RequestUriFactory.php#L83-L90", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Application/Application.php", "func_name": "Application.getDefaultInputDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removed some commands from default input definition.\n\n@return InputDefinition An InputDefinition instance", "docstring_tokens": ["Removed", "some", "commands", "from", "default", "input", "definition", "."], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Application/Application.php#L61-L79", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Application/Application.php", "func_name": "Application.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Bluzman commands\n\n@todo Find a way to do this automatically or move it to /bin/bluzman", "docstring_tokens": ["Register", "Bluzman", "commands"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Application/Application.php#L86-L114", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Application/Application.php", "func_name": "Application.getModelPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Model path\n\n@param string $name\n@return string", "docstring_tokens": ["Get", "Model", "path"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Application/Application.php#L146-L152", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.addForceOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Force Option\n\n@return void", "docstring_tokens": ["Add", "Force", "Option"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L40-L44", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.addModelArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Model Argument\n\n@return void", "docstring_tokens": ["Add", "Model", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L51-L55", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.validateModelArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate Model Argument\n\n@return void\n@throws \\Bluzman\\Input\\InputException", "docstring_tokens": ["Validate", "Model", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L63-L76", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.addTableArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Table Argument\n\n@return void", "docstring_tokens": ["Add", "Table", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L83-L87", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.validateTableArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate Table Argument\n\n@return void\n@throws \\Bluzman\\Input\\InputException", "docstring_tokens": ["Validate", "Table", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L95-L108", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.getTableInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Table instance\n\n@param string $model\n\n@return Table\n@throws \\Bluzman\\Generator\\GeneratorException", "docstring_tokens": ["Get", "Table", "instance"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L118-L132", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/Generate/AbstractGenerateCommand.php", "func_name": "AbstractGenerateCommand.generateFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Small wrapper for simplify code\n\n@param string $class\n@param string $file\n@param array $data\n\n@return void", "docstring_tokens": ["Small", "wrapper", "for", "simplify", "code"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/Generate/AbstractGenerateCommand.php#L155-L168", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Server/RequestHandler.php", "func_name": "RequestHandler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the request and return a response.\n\n@param ServerRequestInterface $request\n\n@return ResponseInterface", "docstring_tokens": ["Handle", "the", "request", "and", "return", "a", "response", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Server/RequestHandler.php#L45-L49", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Stream/AbstractStream.php", "func_name": "AbstractStream.isSeekable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether or not the stream is seekable.\n\n@return bool", "docstring_tokens": ["Returns", "whether", "or", "not", "the", "stream", "is", "seekable", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Stream/AbstractStream.php#L137-L145", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/BodyParser.php", "func_name": "BodyParser.createParserWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the parser based on the parsers map with provided stream\n\n@param StreamInterface $body\n\n@return BodyParserInterface", "docstring_tokens": ["Creates", "the", "parser", "based", "on", "the", "parsers", "map", "with", "provided", "stream"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/BodyParser.php#L67-L78", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/BodyParser.php", "func_name": "BodyParser.addParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a body parser to parsers map\n\n@param string $className\n@param array $contentTypes\n\n@throws InvalidArgumentException if provided class does not implement BodyParserInterface", "docstring_tokens": ["Adds", "a", "body", "parser", "to", "parsers", "map"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/BodyParser.php#L88-L103", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/AbstractCommand.php", "func_name": "AbstractCommand.addModuleArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Module Argument\n\n@param int $required\n@return void", "docstring_tokens": ["Add", "Module", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/AbstractCommand.php#L185-L189", "partition": "test"} +{"repo": "bluzphp/bluzman", "path": "src/Command/AbstractCommand.php", "func_name": "AbstractCommand.addControllerArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Controller Argument\n\n@param int $required\n@return void", "docstring_tokens": ["Add", "Controller", "Argument"], "sha": "4f609d5c6e604ccdabc5e8305deb9327df58ec86", "url": "https://github.com/bluzphp/bluzman/blob/4f609d5c6e604ccdabc5e8305deb9327df58ec86/src/Command/AbstractCommand.php#L218-L222", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new request.\n\n@param string $method The HTTP method associated with the request.\n@param UriInterface|string $uri The URI associated with the request.\n@param array $headers\n@param resource|string|StreamInterface|null $body\n@param string $protocolVersion\n\n@return \\Psr\\Http\\Message\\RequestInterface", "docstring_tokens": ["Create", "a", "new", "request", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L52-L86", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createServerRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new server request.\n\nNote that server parameters are taken precisely as given - no parsing/processing\nof the given values is performed. In particular, no attempt is made to\ndetermine the HTTP method or URI, which must be provided explicitly.\n\n@param string $method The HTTP method associated with the request.\n@param UriInterface|string $uri The URI associated with the request.\n@param array $serverParams An array of Server API (SAPI) parameters with\nwhich to seed the generated request instance.\n\n@return \\Psr\\Http\\Message\\ServerRequestInterface", "docstring_tokens": ["Create", "a", "new", "server", "request", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L154-L161", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new stream from a string.\n\nThe stream SHOULD be created with a temporary resource.\n\n@param string $content String content with which to populate the stream.\n\n@return \\Psr\\Http\\Message\\StreamInterface", "docstring_tokens": ["Create", "a", "new", "stream", "from", "a", "string", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L176-L182", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createStreamFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a stream from an existing file.\n\nThe file MUST be opened using the given mode, which may be any mode\nsupported by the `fopen` function.\n\nThe `$filename` MAY be any string supported by `fopen()`.\n\n@param string $filename The filename or stream URI to use as basis of stream.\n@param string $mode The mode with which to open the underlying filename/stream.\n\n@return \\Psr\\Http\\Message\\StreamInterface\n@throws \\RuntimeException If the file cannot be opened.\n@throws \\InvalidArgumentException If the mode is invalid.", "docstring_tokens": ["Create", "a", "stream", "from", "an", "existing", "file", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L199-L215", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createUploadedFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new uploaded file.\n\nIf a size is not provided it will be determined by checking the size of\nthe stream.\n\n@link http://php.net/manual/features.file-upload.post-method.php\n@link http://php.net/manual/features.file-upload.errors.php\n\n@param StreamInterface $stream The underlying stream representing the\nuploaded file content.\n@param int $size The size of the file in bytes.\n@param int $error The PHP file upload error.\n@param string $clientFilename The filename as provided by the client, if any.\n@param string $clientMediaType The media type as provided by the client, if any.\n@param string $filename Filename\n\n@return \\Psr\\Http\\Message\\UploadedFileInterface\n@throws \\InvalidArgumentException If the file resource is not readable.", "docstring_tokens": ["Create", "a", "new", "uploaded", "file", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L255-L271", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/HttpFactory.php", "func_name": "HttpFactory.createUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new URI.\n\n@param string $uri The URI to parse.\n\n@return \\Psr\\Http\\Message\\UriInterface\n@throws \\InvalidArgumentException If the given URI cannot be parsed.", "docstring_tokens": ["Create", "a", "new", "URI", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/HttpFactory.php#L285-L292", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/Formatter/AbstractFormatter.php", "func_name": "AbstractFormatter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format input into a human-friendly string for display\n\n@uses \\bccomp()\n@uses AbstractFormatter::divPow()\n@uses AbstractFormatter::formatNumber()\n@uses AbstractFormatter::normalizeBytes()\n\n@param integer|string $bytes Integer or string representing the number\nof bytes.\n@param integer $precision Number of significant digits to include in the\nformatted output. Defaults to 2.\n@return string Returns a human-friendly formatted string.", "docstring_tokens": ["Format", "input", "into", "a", "human", "-", "friendly", "string", "for", "display"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/Formatter/AbstractFormatter.php#L61-L74", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/Formatter/AbstractFormatter.php", "func_name": "AbstractFormatter.formatNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format a float value with given suffix\n\n@uses AbstractFormatter::normalizePrecision()\n\n@param integer|float $float The number to format.\n@param string $suffix The suffix to attach.\n@param integer $precision The number of significant digits to include.\n@return string Returns the formatted string.", "docstring_tokens": ["Format", "a", "float", "value", "with", "given", "suffix"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/Formatter/AbstractFormatter.php#L132-L140", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/Formatter/AbstractFormatter.php", "func_name": "AbstractFormatter.normalizeBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize bytes value\n\nThe resulting value is a string representation of the bytes value. This\nis done by the BCMath library so we can work with very large integer\nvalues.\n\n@uses \\bcadd()\n@uses \\bccomp()\n@uses \\filter_var()\n\n@param integer|float|string $bytes The bytes value.\n@return string Returns the normalized value.", "docstring_tokens": ["Normalize", "bytes", "value"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/Formatter/AbstractFormatter.php#L156-L165", "partition": "test"} +{"repo": "rchouinard/bytesize", "path": "src/Formatter/AbstractFormatter.php", "func_name": "AbstractFormatter.normalizePrecision", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize precision value\n\nThe resulting value is an integer value between 0 and 10.\n\n@uses \\filter_var()\n\n@param integer $precision The precision value.\n@return integer Returns the normalized value.", "docstring_tokens": ["Normalize", "precision", "value"], "sha": "6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e", "url": "https://github.com/rchouinard/bytesize/blob/6d192b08ac84a4d8b5d78e24a86c0ecd23000f8e/src/Formatter/AbstractFormatter.php#L177-L182", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Request.php", "func_name": "Request.withMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the provided HTTP method.\n\n@param string $method Case-sensitive method.\n@return static\n@throws InvalidArgumentException for invalid HTTP methods.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "provided", "HTTP", "method", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Request.php#L110-L127", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Request.php", "func_name": "Request.setUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the request URI\n\n@param UriInterface $uri\n@param bool $preserveHost", "docstring_tokens": ["Sets", "the", "request", "URI"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Request.php#L162-L170", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Request.php", "func_name": "Request.getTargetFromUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the target from the uri\n\n@return string", "docstring_tokens": ["Get", "the", "target", "from", "the", "uri"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Request.php#L177-L187", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Server/MiddlewareStack.php", "func_name": "MiddlewareStack.push", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pushes a middleware to the stack\n\n@param MiddlewareInterface|callable $middleware\n\n@return MiddlewareStack", "docstring_tokens": ["Pushes", "a", "middleware", "to", "the", "stack"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Server/MiddlewareStack.php#L50-L62", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/HttpCodes.php", "func_name": "HttpCodes.reasonPhraseFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Reason Phrase for provide code\n\n@param int $code\n\n@return string", "docstring_tokens": ["Get", "the", "Reason", "Phrase", "for", "provide", "code"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/HttpCodes.php#L95-L102", "partition": "test"} +{"repo": "botman/driver-hipchat", "path": "src/HipChatDriver.php", "func_name": "HipChatDriver.getMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the chat message.\n\n@return array", "docstring_tokens": ["Retrieve", "the", "chat", "message", "."], "sha": "6d7cb3f402df6d4174f7dc95f4b8a637239c07d3", "url": "https://github.com/botman/driver-hipchat/blob/6d7cb3f402df6d4174f7dc95f4b8a637239c07d3/src/HipChatDriver.php#L56-L62", "partition": "test"} +{"repo": "botman/driver-hipchat", "path": "src/HipChatDriver.php", "func_name": "HipChatDriver.getUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve User information.\n@param \\BotMan\\BotMan\\Messages\\Incoming\\IncomingMessage $matchingMessage\n@return User", "docstring_tokens": ["Retrieve", "User", "information", "."], "sha": "6d7cb3f402df6d4174f7dc95f4b8a637239c07d3", "url": "https://github.com/botman/driver-hipchat/blob/6d7cb3f402df6d4174f7dc95f4b8a637239c07d3/src/HipChatDriver.php#L140-L146", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_file.php", "func_name": "file.getExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the extension from filename\n@param string $filename\n@param bool $toLower\n@return string", "docstring_tokens": ["Get", "the", "extension", "from", "filename"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_file.php#L124-L127", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_file.php", "func_name": "file.normalizeFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize given filename. Accented characters becomes non-accented and\nremoves any other special characters. Usable for non-unicode filesystems\n@param $filename\n@return string", "docstring_tokens": ["Normalize", "given", "filename", ".", "Accented", "characters", "becomes", "non", "-", "accented", "and", "removes", "any", "other", "special", "characters", ".", "Usable", "for", "non", "-", "unicode", "filesystems"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_file.php#L206-L212", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/Stream.php", "func_name": "Stream.getContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the remaining contents in a string\n\n@return string\n@throws \\RuntimeException if unable to read or an error occurs while\nreading.", "docstring_tokens": ["Returns", "the", "remaining", "contents", "in", "a", "string"], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/Stream.php#L271-L278", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/MultisiteDirectoryResolver.php", "func_name": "MultisiteDirectoryResolver.fixSiteUrlFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the right path for wp-login and wp-admin.\n\n@param string $url\n@param string $path\n@param string|null $scheme\n\n@return string", "docstring_tokens": ["Set", "the", "right", "path", "for", "wp", "-", "login", "and", "wp", "-", "admin", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/MultisiteDirectoryResolver.php#L43-L53", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/MultisiteDirectoryResolver.php", "func_name": "MultisiteDirectoryResolver.fixWpIncludeFolder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add subfolder path to wp-includes path.\n\n@param string $url\n@param string $path\n\n@return string", "docstring_tokens": ["Add", "subfolder", "path", "to", "wp", "-", "includes", "path", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/MultisiteDirectoryResolver.php#L91-L101", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/AbstractResolver.php", "func_name": "AbstractResolver.fixNetworkAdminUrlFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the right links in Adminbar.\n\n@param string $path\n@param string $scheme\n\n@return string", "docstring_tokens": ["Set", "the", "right", "links", "in", "Adminbar", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/AbstractResolver.php#L43-L64", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/AbstractResolver.php", "func_name": "AbstractResolver.fixWpDoubleSlashFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix double backslashes in app folder.\n\n@param string", "docstring_tokens": ["Fix", "double", "backslashes", "in", "app", "folder", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/AbstractResolver.php#L71-L80", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/AbstractResolver.php", "func_name": "AbstractResolver.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init all filter.", "docstring_tokens": ["Init", "all", "filter", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/AbstractResolver.php#L116-L125", "partition": "test"} +{"repo": "gwa/WpMultisiteDirectoryResolver", "path": "src/Gwa/AbstractResolver.php", "func_name": "AbstractResolver.setWpFolderName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set wordpress folder name.\n\n@param string", "docstring_tokens": ["Set", "wordpress", "folder", "name", "."], "sha": "78dcc1c05bdfff6556fac8b634824d21b56fcb79", "url": "https://github.com/gwa/WpMultisiteDirectoryResolver/blob/78dcc1c05bdfff6556fac8b634824d21b56fcb79/src/Gwa/AbstractResolver.php#L132-L137", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_path.php", "func_name": "path.url2fullPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve full filesystem path of given URL. Returns FALSE if the URL\ncannot be resolved\n@param string $url\n@return string", "docstring_tokens": ["Resolve", "full", "filesystem", "path", "of", "given", "URL", ".", "Returns", "FALSE", "if", "the", "URL", "cannot", "be", "resolved"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_path.php#L49-L87", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_path.php", "func_name": "path.urlPathEncode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode URL Path\n@param string $path\n@return string", "docstring_tokens": ["Encode", "URL", "Path"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_path.php#L125-L132", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_path.php", "func_name": "path.urlPathDecode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode URL Path\n@param string $path\n@return string", "docstring_tokens": ["Decode", "URL", "Path"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_path.php#L138-L145", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_dir.php", "func_name": "dir.content", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the content of the given directory. Returns an array with filenames\nor FALSE on failure\n@param string $dir\n@param array $options\n@return mixed", "docstring_tokens": ["Get", "the", "content", "of", "the", "given", "directory", ".", "Returns", "an", "array", "with", "filenames", "or", "FALSE", "on", "failure"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_dir.php#L92-L143", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Console.php", "func_name": "Console.database", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Database profiling log.\n\n@param string $data SQL query statement. for example: SELECT id FROM people;.\n@param double $time_start `microtime(true)` at before start the query.\n@param integer $memory_start `memory_get_usage()` at before start the query. If this was not set then it will not be showing the real memory start. (Required).\n@todo [rundizprofiler] the \"memory\" in array key for Database will be remove in future version.", "docstring_tokens": ["Database", "profiling", "log", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Console.php#L51-L101", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Console.php", "func_name": "Console.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "write normal logs.\n\n@param string $logtype accept debug, info, notice, warning, error, critical, alert, emergency. referrer: http://www.php-fig.org/psr/psr-3/\n@param mixed $data log data.\n@param string $file path to file where it calls logger. (optional).\n@param integer $line number of line in that file that calls logger. (optional).", "docstring_tokens": ["write", "normal", "logs", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Console.php#L112-L120", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Console.php", "func_name": "Console.memoryUsage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "write memory usage logs.\n\n@param mixed $data log data.\n@param string $file path to file where it calls logger. (optional).\n@param integer $line number of line in that file that calls logger. (optional).\n@param string|null $matchKey The key to be match at the beginning and end for calculate total time or memory only for this key. (optional). The key must be unique in this section.", "docstring_tokens": ["write", "memory", "usage", "logs", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Console.php#L131-L134", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Console.php", "func_name": "Console.timeload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write time load logs.\n\nTo calculate total time load only for specification functional, use `$matchKey`.
\nExample:\n
\n$Profiler->Console->timeload('Before run sleep.', '', '', 'run_sleep');\nsleep(3);\n$Profiler->Console->timeload('After run sleep.', '', '', 'run_sleep');\n
\nThe `$matchKey` must be unique from others.\n\n@param mixed $data Log data.\n@param string $file Path to file where it calls logger. (optional).\n@param integer $line Number of line in that file that calls logger. (optional).\n@param string|null $matchKey The key to be match at the beginning and end for calculate total time or memory only for this key. (optional). The key must be unique in this section.", "docstring_tokens": ["Write", "time", "load", "logs", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Console.php#L174-L177", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Console.php", "func_name": "Console.writeLogSections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write other sections logs.\n\n@param string $section The section name.\n@param mixed $data Log data. This can be any type.\n@param string $file Path to file where it calls logger. (optional).\n@param integer $line Number of line in that file that calls logger. (optional).\n@param string|null $matchKey The key to be match at the beginning and end for calculate total time or memory only for this key. (optional). The key must be unique (for start and end) in each section.", "docstring_tokens": ["Write", "other", "sections", "logs", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Console.php#L189-L232", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/UploadedFile.php", "func_name": "UploadedFile.filesFlip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flips the file's array keys.\n\n@param array $result\n@param array $keys\n@param mixed $value\n\n@return void\n\n@author Bart Kelsey \n@see https://stackoverflow.com/questions/5444827/how-do-you-loop-through-files-array/29664753#29664753", "docstring_tokens": ["Flips", "the", "file", "s", "array", "keys", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/UploadedFile.php#L125-L145", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/UploadedFile.php", "func_name": "UploadedFile.setStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set stream of uploaded file.\n\n@param \\Psr\\Http\\Message\\StreamInterface $stream\n\n@return \\Berlioz\\Http\\Message\\UploadedFile", "docstring_tokens": ["Set", "stream", "of", "uploaded", "file", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/UploadedFile.php#L211-L220", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/UploadedFile.php", "func_name": "UploadedFile.getHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the hash value using the contents of file.\n\n@param string $algo Name of selected hashing algorithm (i.e. \"md5\", \"sha256\", \"haval160,4\", etc..)\n\n@return string\n@throws \\RuntimeException on any error during the hash operation.\n\n@see \\hash_file()", "docstring_tokens": ["Retrieve", "the", "hash", "value", "using", "the", "contents", "of", "file", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/UploadedFile.php#L297-L304", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/UploadedFile.php", "func_name": "UploadedFile.getMediaType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the media type of file.\n\n@return string|null The media type or null if unavailable\n@throws \\RuntimeException on any error during the mime extraction operation.", "docstring_tokens": ["Retrieve", "the", "media", "type", "of", "file", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/UploadedFile.php#L312-L330", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/ServerRequest.php", "func_name": "ServerRequest.getQueryParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve query string arguments.\n\nRetrieves the deserialized query string arguments, if any.\n\nNote: the query params might not be in sync with the URI or server\nparams. If you need to ensure you are only getting the original\nvalues, you may need to parse the query string from `getUri()->getQuery()`\nor from the `QUERY_STRING` server param.\n\n@return array", "docstring_tokens": ["Retrieve", "query", "string", "arguments", "."], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/ServerRequest.php#L140-L153", "partition": "test"} +{"repo": "BerliozFramework/HttpMessage", "path": "src/ServerRequest.php", "func_name": "ServerRequest.isAjaxRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is AJAX request ?\n\n@return bool", "docstring_tokens": ["Is", "AJAX", "request", "?"], "sha": "e3edc07ae48e33dbb06a23685c811a72a033c98b", "url": "https://github.com/BerliozFramework/HttpMessage/blob/e3edc07ae48e33dbb06a23685c811a72a033c98b/src/ServerRequest.php#L351-L364", "partition": "test"} +{"repo": "danbelden/php-siren", "path": "src/Handler.php", "func_name": "Handler.toDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to convert a siren JSON string into a Siren document object\n\n@param string $json\n@return Document", "docstring_tokens": ["Method", "to", "convert", "a", "siren", "JSON", "string", "into", "a", "Siren", "document", "object"], "sha": "284399cae4edea7191b98beed842cc33947f9ce6", "url": "https://github.com/danbelden/php-siren/blob/284399cae4edea7191b98beed842cc33947f9ce6/src/Handler.php#L32-L62", "partition": "test"} +{"repo": "danbelden/php-siren", "path": "src/Handler.php", "func_name": "Handler.getEntitiesFromDataArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to convert an entities data array to an array of entity objects\n\n@param array $entitiesArray\n@return Entity[]", "docstring_tokens": ["Helper", "method", "to", "convert", "an", "entities", "data", "array", "to", "an", "array", "of", "entity", "objects"], "sha": "284399cae4edea7191b98beed842cc33947f9ce6", "url": "https://github.com/danbelden/php-siren/blob/284399cae4edea7191b98beed842cc33947f9ce6/src/Handler.php#L70-L101", "partition": "test"} +{"repo": "danbelden/php-siren", "path": "src/Handler.php", "func_name": "Handler.getActionsFromDataArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to convert an action data array to an array of action objects\n\n@param array $actionsArray\n@return Action[]", "docstring_tokens": ["Helper", "method", "to", "convert", "an", "action", "data", "array", "to", "an", "array", "of", "action", "objects"], "sha": "284399cae4edea7191b98beed842cc33947f9ce6", "url": "https://github.com/danbelden/php-siren/blob/284399cae4edea7191b98beed842cc33947f9ce6/src/Handler.php#L109-L144", "partition": "test"} +{"repo": "danbelden/php-siren", "path": "src/Handler.php", "func_name": "Handler.getFieldsFromDataArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to convert a fields data array to an array of field objects\n\n@param array $fieldsArray\n@return Field[]", "docstring_tokens": ["Helper", "method", "to", "convert", "a", "fields", "data", "array", "to", "an", "array", "of", "field", "objects"], "sha": "284399cae4edea7191b98beed842cc33947f9ce6", "url": "https://github.com/danbelden/php-siren/blob/284399cae4edea7191b98beed842cc33947f9ce6/src/Handler.php#L152-L174", "partition": "test"} +{"repo": "danbelden/php-siren", "path": "src/Handler.php", "func_name": "Handler.getLinksFromDataArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to convert a link data array to an array of link objects\n\n@param array $linksArray\n@return Link[]", "docstring_tokens": ["Helper", "method", "to", "convert", "a", "link", "data", "array", "to", "an", "array", "of", "link", "objects"], "sha": "284399cae4edea7191b98beed842cc33947f9ce6", "url": "https://github.com/danbelden/php-siren/blob/284399cae4edea7191b98beed842cc33947f9ce6/src/Handler.php#L182-L200", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send out an HTTP requests returning a promise\n\n@param RequestInterface $request\n\n@return PromiseInterface", "docstring_tokens": ["Send", "out", "an", "HTTP", "requests", "returning", "a", "promise"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L78-L89", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the HTTP server returning the response\n\n@param RequestInterface $request\n\n@return Response\n\n@throws RuntimeException If any error occur while preparing and connecting to the server\n@throws ClientErrorException for responses with status codes between 400 and 499\n@throws ServerErrorException for responses with status codes grater or equal to 500", "docstring_tokens": ["Call", "the", "HTTP", "server", "returning", "the", "response"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L102-L120", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares the cURL handler options\n\n@param RequestInterface $request", "docstring_tokens": ["Prepares", "the", "cURL", "handler", "options"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L127-L141", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.setUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the URL for cURL to use\n\n@param RequestInterface $request", "docstring_tokens": ["Sets", "the", "URL", "for", "cURL", "to", "use"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L148-L163", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the headers from the request\n\n@param RequestInterface $request", "docstring_tokens": ["Sets", "the", "headers", "from", "the", "request"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L170-L177", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.createResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a response from cURL execution result\n\n@param string $result\n\n@return Response", "docstring_tokens": ["Creates", "a", "response", "from", "cURL", "execution", "result"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L196-L201", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.splitHeaderFromBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits the cURL execution result into header and body\n\n@param $result\n\n@return array", "docstring_tokens": ["Splits", "the", "cURL", "execution", "result", "into", "header", "and", "body"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L210-L218", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Client/CurlHttpClient.php", "func_name": "CurlHttpClient.parseHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the HTTP message headers from header part\n\n@param string $header\n\n@return array", "docstring_tokens": ["Parses", "the", "HTTP", "message", "headers", "from", "header", "part"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Client/CurlHttpClient.php#L227-L240", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.countTotalLogType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count total log type in the \"Logs\" section.\n\n@param string $logtype Accept debug, info, notice, warning, error, critical, alert, emergency. referrer: http://www.php-fig.org/psr/psr-3/\n@return integer Return counted total log type in the \"Logs\" section.", "docstring_tokens": ["Count", "total", "log", "type", "in", "the", "Logs", "section", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L57-L71", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "display the profiler data results.\n\n@return string return the profiler result in html.", "docstring_tokens": ["display", "the", "profiler", "data", "results", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L79-L94", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.gatherFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gather included files and its size.", "docstring_tokens": ["gather", "included", "files", "and", "its", "size", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L133-L166", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.gatherInputGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gather input get", "docstring_tokens": ["gather", "input", "get"], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L172-L192", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.gatherInputPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gather input post", "docstring_tokens": ["gather", "input", "post"], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L198-L218", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.gatherInputSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gather input session", "docstring_tokens": ["gather", "input", "session"], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L224-L244", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.getMicrotime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get microtime.\n\n@param boolean $at_start set to true if this microtime is get at the very beginning of the app. this can allow newer php version to use $_SERVER['REQUEST_TIME_FLOAT'];\n@return float microtime in float.", "docstring_tokens": ["get", "microtime", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L286-L293", "partition": "test"} +{"repo": "Rundiz/profiler", "path": "Rundiz/Profiler/Profiler.php", "func_name": "Profiler.summaryMatchKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Summary start and end of match key in a section.\n\n@param string $section The section name.\n@param string $matchKey The match key in that section.\n@param integer $sectionKey The array index key of the section for check while displaying in the loop.\n@return string Return the readable result if found 2 match key and can summary. Return empty string if not found.", "docstring_tokens": ["Summary", "start", "and", "end", "of", "match", "key", "in", "a", "section", "."], "sha": "86ba865a01e11763591793d607e5a99239ba8691", "url": "https://github.com/Rundiz/profiler/blob/86ba865a01e11763591793d607e5a99239ba8691/Rundiz/Profiler/Profiler.php#L329-L376", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/UploadedFilesFactory.php", "func_name": "UploadedFilesFactory.createFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the uploaded file objects within a normalized files tree\n\n@return array|UploadedFile[]", "docstring_tokens": ["Creates", "the", "uploaded", "file", "objects", "within", "a", "normalized", "files", "tree"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/UploadedFilesFactory.php#L25-L34", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/UploadedFilesFactory.php", "func_name": "UploadedFilesFactory.createUploadedFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to recursively create UploadedFile objects\n\n@param array $data\n\n@return array|UploadedFile", "docstring_tokens": ["Helper", "function", "to", "recursively", "create", "UploadedFile", "objects"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/UploadedFilesFactory.php#L43-L54", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/UploadedFilesFactory.php", "func_name": "UploadedFilesFactory.filesFlip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move the innermost key to the outer spot\n\n@param array $result\n@param array $keys\n@param mixed $value", "docstring_tokens": ["Move", "the", "innermost", "key", "to", "the", "outer", "spot"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/UploadedFilesFactory.php#L97-L119", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/UploadedFilesFactory.php", "func_name": "UploadedFilesFactory.arrayMergeRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively merge provided arrays\n\n@param array|string $array1\n@param array|string $array2\n\n@return array", "docstring_tokens": ["Recursively", "merge", "provided", "arrays"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/UploadedFilesFactory.php#L129-L139", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Server/Middleware/SessionMiddleware.php", "func_name": "SessionMiddleware.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process an incoming server request and return a response, optionally delegating\nresponse creation to a handler.\n\n@param ServerRequestInterface $request\n@param RequestHandlerInterface $handler\n\n@return ResponseInterface", "docstring_tokens": ["Process", "an", "incoming", "server", "request", "and", "return", "a", "response", "optionally", "delegating", "response", "creation", "to", "a", "handler", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Server/Middleware/SessionMiddleware.php#L48-L52", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for adding.\n\nBoth add() and edit() use the same view: add-or-edit\n\nThere are two ways of adding a new item. One is from its index,\nand the other is from the menu index's 'Add Link' wizard.\n\n@return \\Illuminate\\Http\\RedirectResponse|\\Illuminate\\View\\View", "docstring_tokens": ["Show", "the", "form", "for", "adding", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L70-L86", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the model form for editing.\n\nBoth add() and edit() use the same view: add-or-edit\n\n@param int $id - The ID of the model we're editing.\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Show", "the", "model", "form", "for", "editing", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L141-L149", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.attempt_edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit a model.\n\nWhen attempting to edit a model, we simply call validate() on it\nand then save it. All models that extend AngelModel have a saving()\nmodel event that calls the assign() method and fills the model's columns/properties\nfrom the posted inputs.\n\n@param int $id - The ID of the model we're editing.\n@return $this->edit_redirect() - Where to go after a successful edit?", "docstring_tokens": ["Edit", "a", "model", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L162-L175", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.edit_redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Where to go after a successful edit?\n\nOften times, we want to just change where we redirect to after editing the model.\nThat is why this function exists.\n\n@param AngelModel $object - The model we just edited.\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Where", "to", "go", "after", "a", "successful", "edit?"], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L186-L192", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "AJAX for reordering objects.", "docstring_tokens": ["AJAX", "for", "reordering", "objects", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L197-L209", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/controllers/admin/AdminCrudController.php", "func_name": "AdminCrudController.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a model by ID.\n\n@param int $id - The ID of the model we're deleting.\n@param bool $ajax - Is this an AJAX deletion?\n@return $this->delete_redirect() - Where to go after a deletion?", "docstring_tokens": ["Delete", "a", "model", "by", "ID", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/controllers/admin/AdminCrudController.php#L218-L228", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.getUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve normalized file upload data.\n\n@return UploadedFile[]", "docstring_tokens": ["Retrieve", "normalized", "file", "upload", "data", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L161-L167", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.withUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new instance with the specified uploaded files.\n\n@param array $uploadedFiles An array tree of UploadedFileInterface instances.\n@return Request\n\n@throws InvalidArgumentException if an invalid structure is provided.", "docstring_tokens": ["Create", "a", "new", "instance", "with", "the", "specified", "uploaded", "files", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L177-L189", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.checkUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if provided files array is valid\n\n@param array $files\n\n@return bool", "docstring_tokens": ["Check", "if", "provided", "files", "array", "is", "valid"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L222-L239", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.loadHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the headers form request", "docstring_tokens": ["Loads", "the", "headers", "form", "request"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L244-L260", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.withAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified derived request attribute.\n\nThis method allows setting a single derived request attribute as\ndescribed in getAttributes().\n\n@see getAttributes()\n@param string $name The attribute name.\n@param mixed $value The value of the attribute.\n\n@return Request", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "derived", "request", "attribute", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L332-L337", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Server/Request.php", "func_name": "Request.withoutAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance that removes the specified derived request attribute.\n\nThis method allows removing a single derived request attribute as\ndescribed in getAttributes().\n\n@see getAttributes()\n@param string $name The attribute name.\n\n@return Request", "docstring_tokens": ["Return", "an", "instance", "that", "removes", "the", "specified", "derived", "request", "attribute", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Server/Request.php#L370-L377", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "public/js/kcfinder/lib/helper_httpCache.php", "func_name": "httpCache.checkMTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given modification time is newer than client-side one. If not,\nthe method will tell the client to get the content from its own cache.\nAfterwards the script process will be terminated. This feature requires\nthe PHP to be configured as Apache module.\n@param integer $mtime\n@param mixed $sendHeaders", "docstring_tokens": ["Check", "if", "given", "modification", "time", "is", "newer", "than", "client", "-", "side", "one", ".", "If", "not", "the", "method", "will", "tell", "the", "client", "to", "get", "the", "content", "from", "its", "own", "cache", ".", "Afterwards", "the", "script", "process", "will", "be", "terminated", ".", "This", "feature", "requires", "the", "PHP", "to", "be", "configured", "as", "Apache", "module", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/public/js/kcfinder/lib/helper_httpCache.php#L74-L96", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Message.php", "func_name": "Message.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a message header value by the given case-insensitive name.\n\nThis method returns an array of all the header values of the given\ncase-insensitive header name.\n\nIf the header does not appear in the message, this method MUST return an\nempty array.\n\n@param string $name Case-insensitive header field name.\n@return string[] An array of string values as provided for the given\nheader. If the header does not appear in the message, this method MUST\nreturn an empty array.", "docstring_tokens": ["Retrieves", "a", "message", "header", "value", "by", "the", "given", "case", "-", "insensitive", "name", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Message.php#L142-L150", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Message/Response.php", "func_name": "Response.setStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the response status code\n\n@param int $status\n@param string $reasonPhrase", "docstring_tokens": ["Sets", "the", "response", "status", "code"], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Message/Response.php#L100-L107", "partition": "test"} +{"repo": "slickframework/http", "path": "src/Server/Middleware/CallableMiddleware.php", "func_name": "CallableMiddleware.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process an incoming server request and return a response, optionally delegating\nresponse creation to an handler.\n\n@param ServerRequestInterface $request\n@param RequestHandlerInterface $handler\n\n@return ResponseInterface", "docstring_tokens": ["Process", "an", "incoming", "server", "request", "and", "return", "a", "response", "optionally", "delegating", "response", "creation", "to", "an", "handler", "."], "sha": "9da14b618e0f75d3d565e0ce928a35d992755e75", "url": "https://github.com/slickframework/http/blob/9da14b618e0f75d3d565e0ce928a35d992755e75/src/Server/Middleware/CallableMiddleware.php#L78-L89", "partition": "test"} +{"repo": "JVMartin/angel-core", "path": "src/Angel/Core/ToolBelt.php", "func_name": "ToolBelt.mysql_version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the MySQL version of the server.\n\n@return string - i.e.: '5.5.12'", "docstring_tokens": ["Get", "the", "MySQL", "version", "of", "the", "server", "."], "sha": "96637ecf2fdaeda2337d8a2dbea0ab1a18198b11", "url": "https://github.com/JVMartin/angel-core/blob/96637ecf2fdaeda2337d8a2dbea0ab1a18198b11/src/Angel/Core/ToolBelt.php#L50-L56", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Brick/User/UserManager.php", "func_name": "UserManager.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs an authentication\n\n@param array $credentials\n\n@return Security\\Identity|Security\\IIdentity\n@throws \\Nette\\Security\\AuthenticationException", "docstring_tokens": ["Performs", "an", "authentication"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Brick/User/UserManager.php#L92-L112", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Brick/User/UserManager.php", "func_name": "UserManager.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return all users\n\n@return Array", "docstring_tokens": ["return", "all", "users"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Brick/User/UserManager.php#L156-L166", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Brick/User/UserManager.php", "func_name": "UserManager.findAllDeactivated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all deactivated users\n\n@return array|Nette\\Database\\Table\\IRow[]", "docstring_tokens": ["Return", "all", "deactivated", "users"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Brick/User/UserManager.php#L221-L232", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Brick/User/UserManager.php", "func_name": "UserManager.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts new user\n\n@param array|\\Nette\\ArrayHash $data\n\n@return \\Nette\\Database\\Table\\ActiveRow\n@throws \\Aprila\\DuplicateEntryException", "docstring_tokens": ["Inserts", "new", "user"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Brick/User/UserManager.php#L264-L308", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Options/Metric.php", "func_name": "Metric.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a prepared metric options string.\n\n@param string $value\n\n@return string\n@throws InvalidOptionValueException", "docstring_tokens": ["Returns", "a", "prepared", "metric", "options", "string", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Options/Metric.php#L55-L64", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Models/Post.php", "func_name": "Post.set_current_lang_from_post_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the locale on the settings page based upon to the locale of the post\n\n@param $postId", "docstring_tokens": ["Sets", "the", "locale", "on", "the", "settings", "page", "based", "upon", "to", "the", "locale", "of", "the", "post"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Models/Post.php#L58-L63", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/StringCheckerTrait.php", "func_name": "StringCheckerTrait.isEncryptedContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if string is encrypted Container\n\n@param string $encrypted\n@param string $key\n@return bool", "docstring_tokens": ["Check", "if", "string", "is", "encrypted", "Container"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/StringCheckerTrait.php#L22-L34", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/StringCheckerTrait.php", "func_name": "StringCheckerTrait.isEncryptedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if string is encrypted String\n\n@param string $encrypted\n@param string $key\n@return bool", "docstring_tokens": ["Check", "if", "string", "is", "encrypted", "String"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/StringCheckerTrait.php#L43-L55", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Dumper.php", "func_name": "Dumper.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump the definition.\n\n@return string The PHP code of the definition.\n\n@api", "docstring_tokens": ["Dump", "the", "definition", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Dumper.php#L70-L80", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Dumper.php", "func_name": "Dumper.exportArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export an array.\n\nBased on Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper::exportParameters\nhttp://github.com/symfony/symfony\n\n@param array $array The array.\n@param int $indent The indent.\n\n@return string The array exported.", "docstring_tokens": ["Export", "an", "array", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Dumper.php#L93-L107", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Extension.php", "func_name": "Extension.preGlobalProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pre global process of the extension.\n\n@param \\ArrayObject $configClasses The config classes.\n@param Mandango\\Mondator\\Container $container The global container.\n\n@api", "docstring_tokens": ["Pre", "global", "process", "of", "the", "extension", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Extension.php#L31-L40", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Extension.php", "func_name": "Extension.postGlobalProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post global process of the extension.\n\n@param \\ArrayObject $configClasses The config classes.\n@param Mandango\\Mondator\\Container $container The global container.\n\n@api", "docstring_tokens": ["Post", "global", "process", "of", "the", "extension", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Extension.php#L59-L68", "partition": "test"} +{"repo": "ThomasBollmeier/parsian", "path": "src/input/ParseException.php", "func_name": "ParseException.noTokenForTokenTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create parse exceptiion for missing token\n\n@param $tokenTypes\n@return ParseException", "docstring_tokens": ["Create", "parse", "exceptiion", "for", "missing", "token"], "sha": "fe7c4ac0b19a198ced035916309b83ddb7141300", "url": "https://github.com/ThomasBollmeier/parsian/blob/fe7c4ac0b19a198ced035916309b83ddb7141300/src/input/ParseException.php#L35-L41", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/ContainerFactory.php", "func_name": "ContainerFactory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return constructed instance of Container Type\n\n@param mixed $from\n@param int|null $type\n@return \\im\\Primitive\\Container\\Container|\\im\\Primitive\\Container\\RevertableContainer", "docstring_tokens": ["Return", "constructed", "instance", "of", "Container", "Type"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/ContainerFactory.php#L32-L45", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Model/Repository/TSoftDelete.php", "func_name": "TSoftDelete.recover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Undo soft delete\n\n@param $id int\n@param boolean $user\n\n@return \\Nette\\Database\\Table\\IRow", "docstring_tokens": ["Undo", "soft", "delete"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Model/Repository/TSoftDelete.php#L71-L84", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/ClassExtension.php", "func_name": "ClassExtension.newClassExtensionsProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "New class extensions process.\n\n@param string $class The class.\n@param \\ArrayObject $configClasses The config classes.\n@param \\ArrayObject $newClassExtensions The new class extensions.\n\n@api", "docstring_tokens": ["New", "class", "extensions", "process", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/ClassExtension.php#L203-L216", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/ClassExtension.php", "func_name": "ClassExtension.newConfigClassesProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "New config classes process.\n\n@param string $class The class.\n@param \\ArrayObject $configClasses The config classes.\n@param \\ArrayObject $newConfigClasses The new config classes.\n\n@api", "docstring_tokens": ["New", "config", "classes", "process", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/ClassExtension.php#L238-L251", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/ClassExtension.php", "func_name": "ClassExtension.configClassProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the config class.\n\n@param string $class The class.\n@param \\ArrayObject $configClasses The config classes.\n\n@api", "docstring_tokens": ["Process", "the", "config", "class", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/ClassExtension.php#L273-L284", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/ClassExtension.php", "func_name": "ClassExtension.classProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the class.\n\n@param string $class The class.\n@param \\ArrayObject $configClasses The config classes.\n@param Mandango\\Mondator\\Container $container The container.\n\n@api", "docstring_tokens": ["Process", "the", "class", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/ClassExtension.php#L307-L320", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Container.php", "func_name": "Container.setDefinitions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the definitions.\n\n@param array $definitions An array of definitions.\n\n@api", "docstring_tokens": ["Set", "the", "definitions", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Container.php#L69-L75", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Container.php", "func_name": "Container.getDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a definition by name.\n\n@param string $name The definition name.\n\n@return Mandango\\Mondator\\Definition The definition.\n\n@throws \\InvalidArgumentException If the definition does not exists.\n\n@api", "docstring_tokens": ["Returns", "a", "definition", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Container.php#L88-L95", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Container.php", "func_name": "Container.removeDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a definition\n\n@param string $name The definition name\n\n@throws \\InvalidArgumentException If the definition does not exists.\n\n@api", "docstring_tokens": ["Remove", "a", "definition"], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Container.php#L118-L125", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Mondator.php", "func_name": "Mondator.setConfigClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the config classes.\n\n@param array $configClasses An array of config classes (class as key and config class as value).\n\n@api", "docstring_tokens": ["Set", "the", "config", "classes", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Mondator.php#L59-L65", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Mondator.php", "func_name": "Mondator.generateContainers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the containers.\n\n@return array The containers.\n\n@api", "docstring_tokens": ["Generate", "the", "containers", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Mondator.php#L159-L203", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Mondator.php", "func_name": "Mondator.dumpContainers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump containers.\n\n@param array $containers An array of containers.\n\n@api", "docstring_tokens": ["Dump", "containers", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Mondator.php#L262-L300", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "spec/im/Primitive/Bool/BoolSpec.php", "func_name": "BoolSpec.it_should_return_inner_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Abstract Type methods", "docstring_tokens": ["Abstract", "Type", "methods"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/spec/im/Primitive/Bool/BoolSpec.php#L132-L139", "partition": "test"} +{"repo": "timiki/rpc-client", "path": "src/Client.php", "func_name": "Client.setAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set RPC server address.\n\n@param array|string $address One or array of RPC server address for request\n\n@return $this", "docstring_tokens": ["Set", "RPC", "server", "address", "."], "sha": "994120c669a6525bb1e7e7f7211ff86510f01087", "url": "https://github.com/timiki/rpc-client/blob/994120c669a6525bb1e7e7f7211ff86510f01087/src/Client.php#L88-L93", "partition": "test"} +{"repo": "timiki/rpc-client", "path": "src/Client.php", "func_name": "Client.notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute one RPC method without response.\n\n@param string $method\n@param array $params\n@param array $headers", "docstring_tokens": ["Execute", "one", "RPC", "method", "without", "response", "."], "sha": "994120c669a6525bb1e7e7f7211ff86510f01087", "url": "https://github.com/timiki/rpc-client/blob/994120c669a6525bb1e7e7f7211ff86510f01087/src/Client.php#L126-L136", "partition": "test"} +{"repo": "timiki/rpc-client", "path": "src/Client.php", "func_name": "Client.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute one RPC method.\n\n@param string $method\n@param array $params\n@param array $headers\n\n@return null|JsonResponse", "docstring_tokens": ["Execute", "one", "RPC", "method", "."], "sha": "994120c669a6525bb1e7e7f7211ff86510f01087", "url": "https://github.com/timiki/rpc-client/blob/994120c669a6525bb1e7e7f7211ff86510f01087/src/Client.php#L147-L157", "partition": "test"} +{"repo": "timiki/rpc-client", "path": "src/Client.php", "func_name": "Client.createResponseFromException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create response from exception and request.\n\n@param \\Exception $e\n@param JsonRequest $request\n\n@return JsonResponse", "docstring_tokens": ["Create", "response", "from", "exception", "and", "request", "."], "sha": "994120c669a6525bb1e7e7f7211ff86510f01087", "url": "https://github.com/timiki/rpc-client/blob/994120c669a6525bb1e7e7f7211ff86510f01087/src/Client.php#L167-L176", "partition": "test"} +{"repo": "timiki/rpc-client", "path": "src/Client.php", "func_name": "Client.parserHttp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parser http response.\n\n@param string $http\n\n@throws Exceptions\\InvalidResponseException\n\n@return JsonResponse|JsonResponse[]", "docstring_tokens": ["Parser", "http", "response", "."], "sha": "994120c669a6525bb1e7e7f7211ff86510f01087", "url": "https://github.com/timiki/rpc-client/blob/994120c669a6525bb1e7e7f7211ff86510f01087/src/Client.php#L187-L252", "partition": "test"} +{"repo": "jamset/publisher-pulsar", "path": "src/Performer.php", "func_name": "Performer.requestForActionPermission", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a request and wait response in blocking mode. After response\nstart subscription.\n@return null", "docstring_tokens": ["Make", "a", "request", "and", "wait", "response", "in", "blocking", "mode", ".", "After", "response", "start", "subscription", "."], "sha": "d134c525bc702ede4aa092340cce09e8689ef39e", "url": "https://github.com/jamset/publisher-pulsar/blob/d134c525bc702ede4aa092340cce09e8689ef39e/src/Performer.php#L96-L138", "partition": "test"} +{"repo": "jamset/publisher-pulsar", "path": "src/Performer.php", "func_name": "Performer.waitAllowingSubscriptionMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wait subscription message before doing action\n@return null", "docstring_tokens": ["Wait", "subscription", "message", "before", "doing", "action"], "sha": "d134c525bc702ede4aa092340cce09e8689ef39e", "url": "https://github.com/jamset/publisher-pulsar/blob/d134c525bc702ede4aa092340cce09e8689ef39e/src/Performer.php#L143-L168", "partition": "test"} +{"repo": "jamset/publisher-pulsar", "path": "src/Performer.php", "func_name": "Performer.pushActionResultInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After action done worker-subscriber stop subscription and by push socket send action's info\n@param ActionResultingPushDto $resultingPushDto\n@return null", "docstring_tokens": ["After", "action", "done", "worker", "-", "subscriber", "stop", "subscription", "and", "by", "push", "socket", "send", "action", "s", "info"], "sha": "d134c525bc702ede4aa092340cce09e8689ef39e", "url": "https://github.com/jamset/publisher-pulsar/blob/d134c525bc702ede4aa092340cce09e8689ef39e/src/Performer.php#L174-L189", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Administration/Presenter/BaseSecurePresenter.php", "func_name": "BaseSecurePresenter.formatLayoutTemplateFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats layout template file names.\n@return array", "docstring_tokens": ["Formats", "layout", "template", "file", "names", "."], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Administration/Presenter/BaseSecurePresenter.php#L111-L122", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Abstracts/ComplexType.php", "func_name": "ComplexType.toFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write json representation of type value to file\nYou can specify second argument to call json_encode with params\n\n@param $file\n@param int|IntegerContract $jsonOptions\n@return bool", "docstring_tokens": ["Write", "json", "representation", "of", "type", "value", "to", "file", "You", "can", "specify", "second", "argument", "to", "call", "json_encode", "with", "params"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Abstracts/ComplexType.php#L29-L37", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Str.php", "func_name": "Str.dashed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert value to dashed case\n\n@param $value\n\n@return string", "docstring_tokens": ["Convert", "value", "to", "dashed", "case"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Str.php#L103-L111", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/SliceableTrait.php", "func_name": "SliceableTrait.getSlice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new SliceableStringy instance given start, stop and step\narguments for the desired slice. Start, which indicates the starting\nindex of the slice, defaults to the first character in the string if\nstep is positive, and the last character if negative. Stop, which\nindicates the exclusive boundary of the range, defaults to the length\nof the string if step is positive, and before the first character\nif negative. Step allows the user to include only every nth character\nin the result, with its sign determining the direction in which indices\nare sampled. Throws an exception if step is equal to 0.\n\n@param int|null $start Optional start index of the slice\n@param int|null $stop Optional boundary for the slice\n@param int|null $step Optional rate at which to include characters\n\n@return static A new instance containing the slice\n@throws InvalidArgumentException If step is equal to 0", "docstring_tokens": ["Returns", "a", "new", "SliceableStringy", "instance", "given", "start", "stop", "and", "step", "arguments", "for", "the", "desired", "slice", ".", "Start", "which", "indicates", "the", "starting", "index", "of", "the", "slice", "defaults", "to", "the", "first", "character", "in", "the", "string", "if", "step", "is", "positive", "and", "the", "last", "character", "if", "negative", ".", "Stop", "which", "indicates", "the", "exclusive", "boundary", "of", "the", "range", "defaults", "to", "the", "length", "of", "the", "string", "if", "step", "is", "positive", "and", "before", "the", "first", "character", "if", "negative", ".", "Step", "allows", "the", "user", "to", "include", "only", "every", "nth", "character", "in", "the", "result", "with", "its", "sign", "determining", "the", "direction", "in", "which", "indices", "are", "sampled", ".", "Throws", "an", "exception", "if", "step", "is", "equal", "to", "0", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/SliceableTrait.php#L80-L128", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/SliceableTrait.php", "func_name": "SliceableTrait.getIndices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of indices to be included in the slice.\n\n@param int $start Start index of the slice\n@param int $stop Boundary for the slice\n@param int $step Rate at which to include characters\n\n@return array An array of indices in the string", "docstring_tokens": ["Returns", "an", "array", "of", "indices", "to", "be", "included", "in", "the", "slice", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/SliceableTrait.php#L169-L189", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Options/Channel.php", "func_name": "Channel.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a prepared option string.\n\n@param array|string $value Option values.\n\n@throws InvalidOptionValueException If the $values argument is invalid.\n@return string Prepared option string.", "docstring_tokens": ["Returns", "a", "prepared", "option", "string", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Options/Channel.php#L52-L70", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Options/Channel.php", "func_name": "Channel._validateValuesArrayArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the values array and throw an exception if it contains invalid elements.\n\n@param array $values Array to be validated.\n\n@throws InvalidOptionValueException When the values array contains invalid elements.", "docstring_tokens": ["Validates", "the", "values", "array", "and", "throw", "an", "exception", "if", "it", "contains", "invalid", "elements", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Options/Channel.php#L96-L108", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Commands/Command.php", "func_name": "Command._createOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an option and return it.\n\n@param string $option Full qualified class name.\n@param mixed $value Option value.\n\n@return string\n@throws InvalidOptionValueException", "docstring_tokens": ["Creates", "an", "option", "and", "return", "it", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Commands/Command.php#L19-L27", "partition": "test"} +{"repo": "jamset/publisher-pulsar", "path": "src/Pulsar.php", "func_name": "Pulsar.declareReplyToReplyStackMessaging", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Coordinating work with ReplyStack as sub-process\n@return null", "docstring_tokens": ["Coordinating", "work", "with", "ReplyStack", "as", "sub", "-", "process"], "sha": "d134c525bc702ede4aa092340cce09e8689ef39e", "url": "https://github.com/jamset/publisher-pulsar/blob/d134c525bc702ede4aa092340cce09e8689ef39e/src/Pulsar.php#L364-L408", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Object/Object.php", "func_name": "Object.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Getter for value. Supports dot notation.\nCan retrieve value from objects, arrays, Containers, instances of ArrayableContract and ObjectContract.\n\n@param string|StringContract $property\n@param mixed $default\n@return mixed|null", "docstring_tokens": ["Getter", "for", "value", ".", "Supports", "dot", "notation", ".", "Can", "retrieve", "value", "from", "objects", "arrays", "Containers", "instances", "of", "ArrayableContract", "and", "ObjectContract", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Object/Object.php#L58-L68", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "spec/im/Primitive/Container/ContainerSpec.php", "func_name": "ContainerSpec.getMatchers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends new matchers", "docstring_tokens": ["Appends", "new", "matchers"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/spec/im/Primitive/Container/ContainerSpec.php#L1338-L1353", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/ImageMagick.php", "func_name": "ImageMagick.compareImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares two images and create a diff gif images and a compare image.\n\n@param string $expectedImage Path to expected image.\n@param string $compareImage Path to compare image.\n@param string $resultImageName Name of result gif, if the images not looking equal.\n@param string $resultImageDirectory (Optional) Path to result image directory. If not set, the cwd is used.\n\n@return array Empty if both images looking equal, otherwise an array with the created image names (without the\ndirectory)", "docstring_tokens": ["Compares", "two", "images", "and", "create", "a", "diff", "gif", "images", "and", "a", "compare", "image", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/ImageMagick.php#L46-L64", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/ImageMagick.php", "func_name": "ImageMagick.createDiffGifOnDifferences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares two images. If they not looking equal, a gif image of both,\nthe expected and result image will be created.\n\n@param string $expectedImage Path to expected image.\n@param string $compareImage Path to compare image.\n@param string $resultImageName Name of result gif, if the images not looking equal.\n@param string $resultImageDirectory (Optional) Path to result image directory. If not set, the cwd is used.\n\n@return bool True when a difference gif images was created, false otherwise.", "docstring_tokens": ["Compares", "two", "images", ".", "If", "they", "not", "looking", "equal", "a", "gif", "image", "of", "both", "the", "expected", "and", "result", "image", "will", "be", "created", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/ImageMagick.php#L78-L91", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/ImageMagick.php", "func_name": "ImageMagick.createComparisonImageOnDifferences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a comparison image when the images looking equal.\n\n@param string $actualImage Path to the actual image.\n@param string $compareImage Path to expected image.\n@param string $resultImageName Name of result image.\n@param string $resultImageDirectory Location of result image.\n\n@return bool True when a compare image was created, false otherwise.", "docstring_tokens": ["Creates", "a", "comparison", "image", "when", "the", "images", "looking", "equal", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/ImageMagick.php#L104-L117", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Commands/Compare.php", "func_name": "Compare.same", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares two images.\nReturns true if they looking equal and false otherwise.\n\n@param string $expectedImage Path to the expected image.\n@param string $compareImage Path to compare image.\n\n@return bool\n@throws \\ImageMagick\\Exceptions\\InvalidOptionValueException", "docstring_tokens": ["Compares", "two", "images", ".", "Returns", "true", "if", "they", "looking", "equal", "and", "false", "otherwise", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Commands/Compare.php#L33-L65", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add HTTP POST route\n\n@see Router::route()\n@param string $route\n@param array|\\Closure|string $callback", "docstring_tokens": ["Add", "HTTP", "POST", "route"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L164-L167", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new URL routing rule to the routing table, after converting any of\nour special tokens into proper regular expressions.\n\n@param Route $route\n@param string $http_method\n@throws \\InvalidArgumentException If an invalid HTTP method is specified\n@throws \\LogicException If the route already exists in the routing table", "docstring_tokens": ["Adds", "a", "new", "URL", "routing", "rule", "to", "the", "routing", "table", "after", "converting", "any", "of", "our", "special", "tokens", "into", "proper", "regular", "expressions", "."], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L178-L200", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Route object if matching URL is found\n\n@param string $url\n@param string $http_method\n@return Route|null", "docstring_tokens": ["Returns", "a", "Route", "object", "if", "matching", "URL", "is", "found"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L209-L220", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the router matching engine and then calls the matching route's\ncallback. otherwise execute the not found handler\n\n@return bool\n@throws \\RuntimeException If no routes exist in the routing table", "docstring_tokens": ["Runs", "the", "router", "matching", "engine", "and", "then", "calls", "the", "matching", "route", "s", "callback", ".", "otherwise", "execute", "the", "not", "found", "handler"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L233-L278", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects to another URL\n\n@param string $url\n@return bool", "docstring_tokens": ["Redirects", "to", "another", "URL"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L286-L304", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routing/Router.php", "func_name": "Router.parse_parameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses parameters from URI as per the given route's pattern\n\n@param Route $route\n@return array", "docstring_tokens": ["Parses", "parameters", "from", "URI", "as", "per", "the", "given", "route", "s", "pattern"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routing/Router.php#L467-L483", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routes/ListRoute.php", "func_name": "ListRoute.date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a date from a file\n\n@param string $file\n@return \\DateTime|NULL", "docstring_tokens": ["Gets", "a", "date", "from", "a", "file"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routes/ListRoute.php#L81-L88", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Quick/Presenter/MagicPresenter.php", "func_name": "MagicPresenter.handleSaveImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "it's not only handleGallerySaveImage now. We use it for save texy images too", "docstring_tokens": ["it", "s", "not", "only", "handleGallerySaveImage", "now", ".", "We", "use", "it", "for", "save", "texy", "images", "too"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Quick/Presenter/MagicPresenter.php#L113-L165", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Http/HttpRequest.php", "func_name": "HttpRequest.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get http request\n\n@param string $strPath\n@param array $arrOptions\n@return HttpResponse", "docstring_tokens": ["Get", "http", "request"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Http/HttpRequest.php#L66-L76", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Http/HttpRequest.php", "func_name": "HttpRequest.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post http request\n\n@param string $strPath\n@param array $arrOptions\n@return HttpResponse", "docstring_tokens": ["Post", "http", "request"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Http/HttpRequest.php#L85-L95", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Http/HttpRequest.php", "func_name": "HttpRequest.set_auth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set auth header\n\n@return null", "docstring_tokens": ["Set", "auth", "header"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Http/HttpRequest.php#L112-L123", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Helper.php", "func_name": "Helper.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns Sonic configuration option\n\n@return array", "docstring_tokens": ["Returns", "Sonic", "configuration", "option"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Helper.php#L44-L49", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Helper.php", "func_name": "Helper.validate_config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates a configuration array\n\n@param array $config\n@return boolean\n@throws InvalidArgumentException If a setting is invalid\n@static", "docstring_tokens": ["Validates", "a", "configuration", "array"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Helper.php#L164-L206", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Helper.php", "func_name": "Helper.get_excerpt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an excerpt of a string by breaking at new lines\n\n@param array $text\n@param int $br_limit\n@return string", "docstring_tokens": ["Returns", "an", "excerpt", "of", "a", "string", "by", "breaking", "at", "new", "lines"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Helper.php#L215-L223", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Helper.php", "func_name": "Helper.handle_errors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert errors into ErrorException objects\n\n@param int $err_no\n@param string $err_str\n@param string $err_file\n@param int $err_line\n@return bool\n@throws \\ErrorException", "docstring_tokens": ["Convert", "errors", "into", "ErrorException", "objects"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Helper.php#L235-L241", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Helper.php", "func_name": "Helper.dot_extensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a '.' to each extension given\n\n@return array", "docstring_tokens": ["Adds", "a", ".", "to", "each", "extension", "given"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Helper.php#L248-L257", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/WidgetDocumentQuery.php", "func_name": "WidgetDocumentQuery.validateWidgetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for widget id presence\n@param string $widgetId\n@return null\n@throws WidgetMissingId", "docstring_tokens": ["Check", "for", "widget", "id", "presence"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/WidgetDocumentQuery.php#L71-L77", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/WidgetDocumentQuery.php", "func_name": "WidgetDocumentQuery.setCxenseUserId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set cxenseUserId from Cookie. Might not work on WILLOW FRONTEND", "docstring_tokens": ["Set", "cxenseUserId", "from", "Cookie", ".", "Might", "not", "work", "on", "WILLOW", "FRONTEND"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/WidgetDocumentQuery.php#L180-L189", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/WidgetDocumentQuery.php", "func_name": "WidgetDocumentQuery.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return An array with total documents and matches\n@return array", "docstring_tokens": ["Return", "An", "array", "with", "total", "documents", "and", "matches"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/WidgetDocumentQuery.php#L203-L211", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return String with appended delimiter and content.\n\n@param mixed $string\n@param mixed $delimiter\n@return $this|static", "docstring_tokens": ["Return", "String", "with", "appended", "delimiter", "and", "content", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L133-L141", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.prepend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return String with prepended content and delimiter.\n\n@param mixed $string\n@param mixed $delimiter\n@return $this|static", "docstring_tokens": ["Return", "String", "with", "prepended", "content", "and", "delimiter", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L150-L158", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if String matches the supplied pattern, false otherwise.\n\n@param string|StringContract $pattern\n@return bool", "docstring_tokens": ["Return", "true", "if", "String", "matches", "the", "supplied", "pattern", "false", "otherwise", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L574-L577", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.limitWords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit the number of words in a String.\n\n@param int|IntegerContract $limit\n@param string|StringContract $end\n@return static", "docstring_tokens": ["Limit", "the", "number", "of", "words", "in", "a", "String", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L597-L600", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.uuid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates random Unique User Identifier\n\n@return static", "docstring_tokens": ["Generates", "random", "Unique", "User", "Identifier"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L619-L627", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Join arrayable elements with a String\n\n@param string|StringContract $glue\n@param mixed $array\n@return $this\n@throws InvalidArgumentException", "docstring_tokens": ["Join", "arrayable", "elements", "with", "a", "String"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L681-L691", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.toEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert all applicable characters to HTML entities.\n\n@param int $flags\n@param string|StringContract $encoding\n@return static", "docstring_tokens": ["Convert", "all", "applicable", "characters", "to", "HTML", "entities", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L782-L785", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.cut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get part of String\n\n@param int|IntegerContract $offset\n@param int|IntegerContract|null $length\n@param string|StringContract $encoding\n@return static", "docstring_tokens": ["Get", "part", "of", "String"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L832-L842", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit the number of characters in a String.\n\n@param int|IntegerContract $limit\n@param string|StringContract $end\n@return static", "docstring_tokens": ["Limit", "the", "number", "of", "characters", "in", "a", "String", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L851-L856", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.limitSafe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Truncates the string to a given length, while ensuring that it does not\nsplit words. If word will be in the middle of limit, minus one word will be returned.\n\n@param int|IntegerContract $limit\n@param string|StringContract $end\n@return static", "docstring_tokens": ["Truncates", "the", "string", "to", "a", "given", "length", "while", "ensuring", "that", "it", "does", "not", "split", "words", ".", "If", "word", "will", "be", "in", "the", "middle", "of", "limit", "minus", "one", "word", "will", "be", "returned", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L866-L871", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.toVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse GET data.\n\n@return \\im\\Primitive\\Container\\Container", "docstring_tokens": ["Parse", "GET", "data", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L878-L883", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt and sign a String into a JWT token.\n\n@param string|StringContract $key to encrypt with\n@param int|IntegerContract $expires timestamp\n@return static", "docstring_tokens": ["Encrypt", "and", "sign", "a", "String", "into", "a", "JWT", "token", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L942-L950", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.fromEncrypted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from proper encrypted String with JWT.\n\n@param string|StringContract $encrypted\n@param string|StringContract $key\n@return $this", "docstring_tokens": ["Construct", "from", "proper", "encrypted", "String", "with", "JWT", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L959-L973", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/String/String.php", "func_name": "String.toContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert String Type to Container Type.\nIf String is proper json, serialized or file path with json or serialized\nthan it will grab contents decode it and construct Container from it.\n\n@return \\im\\Primitive\\Container\\Container", "docstring_tokens": ["Convert", "String", "Type", "to", "Container", "Type", ".", "If", "String", "is", "proper", "json", "serialized", "or", "file", "path", "with", "json", "or", "serialized", "than", "it", "will", "grab", "contents", "decode", "it", "and", "construct", "Container", "from", "it", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/String/String.php#L1172-L1182", "partition": "test"} +{"repo": "ThomasBollmeier/parsian", "path": "src/codegen/Api.php", "func_name": "Api.generateParserFromGrammar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a parser from a grammar definition\n\n@param string $grammarFilePath path of grammar file\n@param string $parserName name of parser class\n@param string $namespace namespace of parser class\n@param Output $output output to be written to\n@param string $pathToHeaderComment path to file that contains header comment\n@return mixed[] [true, \"\"] in case of success, [false, ] in error cases", "docstring_tokens": ["Generate", "a", "parser", "from", "a", "grammar", "definition"], "sha": "fe7c4ac0b19a198ced035916309b83ddb7141300", "url": "https://github.com/ThomasBollmeier/parsian/blob/fe7c4ac0b19a198ced035916309b83ddb7141300/src/codegen/Api.php#L35-L61", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/DocumentSearch.php", "func_name": "DocumentSearch.set_settings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set settings object\n\n@return DocumentSearch", "docstring_tokens": ["Set", "settings", "object"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/DocumentSearch.php#L100-L108", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/DocumentSearch.php", "func_name": "DocumentSearch.get_documents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get documents from search result\n\n@return \\stdClass", "docstring_tokens": ["Get", "documents", "from", "search", "result"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/DocumentSearch.php#L128-L146", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/DocumentSearch.php", "func_name": "DocumentSearch.set_per_page", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set page limit to the search array\n\n@param integer $intCount Total items per page\n@return $this", "docstring_tokens": ["Set", "page", "limit", "to", "the", "search", "array"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/DocumentSearch.php#L330-L339", "partition": "test"} +{"repo": "BenjaminMedia/wp-cxense", "path": "src/Services/DocumentSearch.php", "func_name": "DocumentSearch.set_page", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set page number for calculating the correct starting offset\n\n@param integer $intPage Page number\n@return $this\n@throws DocumentSearchMissingCount", "docstring_tokens": ["Set", "page", "number", "for", "calculating", "the", "correct", "starting", "offset"], "sha": "eb9b7afee06b17be226c442677bbfee67c904fe2", "url": "https://github.com/BenjaminMedia/wp-cxense/blob/eb9b7afee06b17be226c442677bbfee67c904fe2/src/Services/DocumentSearch.php#L348-L363", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/RetrievableTrait.php", "func_name": "RetrievableTrait.getNumberable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve number from any type or return default.\n\n@param $value\n@param null|mixed $default\n@return float|int|mixed", "docstring_tokens": ["Retrieve", "number", "from", "any", "type", "or", "return", "default", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/RetrievableTrait.php#L188-L210", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/RetrievableTrait.php", "func_name": "RetrievableTrait.getSearchable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve value that can be used in search methods.\n\n@param mixed $value\n@param mixed $default\n@return array|string|\\Closure|mixed", "docstring_tokens": ["Retrieve", "value", "that", "can", "be", "used", "in", "search", "methods", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/RetrievableTrait.php#L219-L235", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/RetrievableTrait.php", "func_name": "RetrievableTrait.boolFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct proper Bool from string using grammar.\n\n@param mixed $value\n@return bool", "docstring_tokens": ["Construct", "proper", "Bool", "from", "string", "using", "grammar", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/RetrievableTrait.php#L340-L349", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Traits/RetrievableTrait.php", "func_name": "RetrievableTrait.getGrammar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return grammar to construct Bool from string.\n\n@return array", "docstring_tokens": ["Return", "grammar", "to", "construct", "Bool", "from", "string", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Traits/RetrievableTrait.php#L356-L365", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Commands/Convert.php", "func_name": "Convert.createGifCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the command to create a gif image of the passed source images...\n\n@param array $sourcesImages Array which contains the path to the source images.\n@param string $resultImageName Name of the result image, the \".gif\" extension will be added automatically.\n@param string $resultDirectory Path to directory where the result image should be stored.\n@param int $delay Delay of gif animation.\n@param int $loop Amount of loops of gif image.\n\n@return string", "docstring_tokens": ["Executes", "the", "command", "to", "create", "a", "gif", "image", "of", "the", "passed", "source", "images", "..."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Commands/Convert.php#L28-L33", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Commands/Convert.php", "func_name": "Convert.createGifCommandCmd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the command to create a gif image of the passed source images.\n\n@param array $sourcesImages Array which contains the path to the source images.\n@param string $resultImageName Name of the result image, the \".gif\" extension will be added automatically.\n@param string $resultDirectory Path to directory where the result image should be stored.\n@param int $delay Delay of gif animation.\n@param int $loop Amount of loops of gif image.\n\n@return string", "docstring_tokens": ["Returns", "the", "command", "to", "create", "a", "gif", "image", "of", "the", "passed", "source", "images", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Commands/Convert.php#L47-L58", "partition": "test"} +{"repo": "ThomasBollmeier/parsian", "path": "src/input/TokenStream.php", "func_name": "TokenStream.lookupMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "lookup next n tokens", "docstring_tokens": ["lookup", "next", "n", "tokens"], "sha": "fe7c4ac0b19a198ced035916309b83ddb7141300", "url": "https://github.com/ThomasBollmeier/parsian/blob/fe7c4ac0b19a198ced035916309b83ddb7141300/src/input/TokenStream.php#L133-L148", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Abstracts/Number.php", "func_name": "Number.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format a number with grouped thousands and return String.\n\n@param int|IntegerContract $decimals\n@param string|StringContract $decimalDelimiter\n@param string|StringContract $thousandDelimiter\n\n@return \\im\\Primitive\\Float\\Float", "docstring_tokens": ["Format", "a", "number", "with", "grouped", "thousands", "and", "return", "String", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Abstracts/Number.php#L229-L239", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.hasPropertyByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if a property exists by name.\n\n@param string $name The property name.\n\n@return bool If the property exists.\n\n@api", "docstring_tokens": ["Returns", "if", "a", "property", "exists", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L264-L273", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.getPropertyByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a property by name.\n\n@param string $name The property name.\n\n@return Mandango\\Mondator\\Definition\\Property The property.\n\n@throws \\InvalidArgumentException If the property does not exists.\n\n@api", "docstring_tokens": ["Returns", "a", "property", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L286-L295", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.removePropertyByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove property by name.\n\n@param string $name The property name.\n\n@throws \\InvalidArgumentException If the property does not exists.\n\n@api", "docstring_tokens": ["Remove", "property", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L306-L316", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.hasMethodByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns if exists a method by name.\n\n@param string $name The method name.\n\n@return bool If the method exists.\n\n@api", "docstring_tokens": ["Returns", "if", "exists", "a", "method", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L366-L375", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.getMethodByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a method by name.\n\n@param string $name The method name.\n\n@return Mandango\\Mondator\\Definition\\Method The method.\n\n@throws \\InvalidArgumentException If the method does not exists.\n\n@api", "docstring_tokens": ["Return", "a", "method", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L388-L397", "partition": "test"} +{"repo": "mandango/mondator", "path": "src/Mandango/Mondator/Definition/Definition.php", "func_name": "Definition.removeMethodByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a method by name.\n\n@param string $name The method name.\n\n@throws \\InvalidArgumentException If the method does not exists.\n\n@api", "docstring_tokens": ["Remove", "a", "method", "by", "name", "."], "sha": "f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538", "url": "https://github.com/mandango/mondator/blob/f4fdddc37e22b2fc2ffcc1d5ce5ff3327982e538/src/Mandango/Mondator/Definition/Definition.php#L408-L418", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Flysystem/Plugin/Markdown.php", "func_name": "Markdown.parse_meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses Markdown file headers for metadata\n\n@param string $file The loaded Markdown file as a string\n@return array An array containing file metadata\n@codeCoverageIgnore", "docstring_tokens": ["Parses", "Markdown", "file", "headers", "for", "metadata"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Flysystem/Plugin/Markdown.php#L87-L100", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Sonic.php", "func_name": "Sonic.run_hooks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs all hooks registered to the specified hook name\n\n@param string $hook_id\n@param string $args\n@return boolean", "docstring_tokens": ["Runs", "all", "hooks", "registered", "to", "the", "specified", "hook", "name"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Sonic.php#L150-L164", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Sonic.php", "func_name": "Sonic.load_plugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads all plugins from the 'plugins' directory\n\n@return", "docstring_tokens": ["Loads", "all", "plugins", "from", "the", "plugins", "directory"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Sonic.php#L171-L192", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Sonic.php", "func_name": "Sonic.setup_router", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the initial setup for the router. This entails creating the routes\nfor the application, mainly\n\n@return", "docstring_tokens": ["Does", "the", "initial", "setup", "for", "the", "router", ".", "This", "entails", "creating", "the", "routes", "for", "the", "application", "mainly"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Sonic.php#L200-L226", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Getter. Supports dot notation.\n\n@param mixed $key\n@param mixed $default\n@return mixed", "docstring_tokens": ["Getter", ".", "Supports", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L116-L119", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter. Supports dot notation.\n\n@param mixed $key\n@param mixed $value\n@return $this", "docstring_tokens": ["Setter", ".", "Supports", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L128-L133", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.pushToKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push value to specified key\n\n@param mixed $key\n@param mixed $value\n@return $this", "docstring_tokens": ["Push", "value", "to", "specified", "key"], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L142-L169", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for specified value, return key on success, otherwise false.\nIf value is nested deeper than 1 level dot notation key will be returned.\nYou can specify strict search with 2 argument.\n\n@param mixed $value\n@param bool|BooleanContract $strict\n@return mixed", "docstring_tokens": ["Search", "for", "specified", "value", "return", "key", "on", "success", "otherwise", "false", ".", "If", "value", "is", "nested", "deeper", "than", "1", "level", "dot", "notation", "key", "will", "be", "returned", ".", "You", "can", "specify", "strict", "search", "with", "2", "argument", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L234-L237", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.keysByField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Key an associative array by a field.\n\n@param string|StringContract $keyBy\n@return static", "docstring_tokens": ["Key", "an", "associative", "array", "by", "a", "field", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L270-L284", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.unique", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unique Container items.\n\n@param bool|BooleanContract $recursive\n@return $this", "docstring_tokens": ["Unique", "Container", "items", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L374-L382", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.numericKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return items only with numeric keys.\n\n@return static", "docstring_tokens": ["Return", "items", "only", "with", "numeric", "keys", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L420-L430", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return joined Container items.\n\n@param string|StringContract $glue\n@return \\im\\Primitive\\String\\String", "docstring_tokens": ["Return", "joined", "Container", "items", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L477-L485", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.joinByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Concatenate values of a given key as a string.\n\n@param mixed $key\n@param null|mixed $glue\n@return \\im\\Primitive\\String\\String", "docstring_tokens": ["Concatenate", "values", "of", "a", "given", "key", "as", "a", "string", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L494-L497", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.lists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new Container with the values of a given key.\n1 Argument is key to make value from.\n2 Argument is key from the same Arrayable which will be the key.\n\n@param mixed $valueByKey\n@param mixed $key\n@return static", "docstring_tokens": ["Get", "new", "Container", "with", "the", "values", "of", "a", "given", "key", ".", "1", "Argument", "is", "key", "to", "make", "value", "from", ".", "2", "Argument", "is", "key", "from", "the", "same", "Arrayable", "which", "will", "be", "the", "key", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L508-L511", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.chunk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return split Container items into chunks wrapped with new Container.\n\n@param int|IntegerContract $size\n@param bool|BooleanContract $preserveKeys\n@return \\im\\Primitive\\Container\\Container\n@throws \\im\\Primitive\\Container\\Exceptions\\BadLengthException", "docstring_tokens": ["Return", "split", "Container", "items", "into", "chunks", "wrapped", "with", "new", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L521-L538", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return filtered Container.\nYou can specify recursive filter with the second argument.\n\n@param callable $function\n@param bool|BooleanContract $recursive\n@return Container", "docstring_tokens": ["Return", "filtered", "Container", ".", "You", "can", "specify", "recursive", "filter", "with", "the", "second", "argument", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L578-L586", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.walk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply a user function to every Container item.\nYou can specify recursive walk with the second argument.\n\n@param callable $callback\n@param bool|BooleanContract $recursive\n@param null|mixed $userdata\n@return $this", "docstring_tokens": ["Apply", "a", "user", "function", "to", "every", "Container", "item", ".", "You", "can", "specify", "recursive", "walk", "with", "the", "second", "argument", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L650-L657", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge Arrayable with Container.\n\n@param mixed $items\n@throws BadMethodCallException\n@return $this", "docstring_tokens": ["Merge", "Arrayable", "with", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L666-L674", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.mergeWithKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge Arrayable with specified key in Container.\n\n@param mixed $items\n@param mixed $key\n@param null $default\n@return $this\n@throws InvalidArgumentException", "docstring_tokens": ["Merge", "Arrayable", "with", "specified", "key", "in", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L685-L696", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.increase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increase Container to the specified length with a value.\n\n@param int|IntegerContract $increaseSize\n@param null|mixed $value\n@return $this", "docstring_tokens": ["Increase", "Container", "to", "the", "specified", "length", "with", "a", "value", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L705-L710", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.randomKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return pseudo-random index from Container.\n\n@param int|IntegerContract $quantity\n@throws BadMethodCallException\n@return mixed", "docstring_tokens": ["Return", "pseudo", "-", "random", "index", "from", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L719-L731", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.random", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return pseudo-random item from Container.\n\n@param int|IntegerContract $quantity\n@return array", "docstring_tokens": ["Return", "pseudo", "-", "random", "item", "from", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L739-L751", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.cut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cut a slice of a Container.\nYou can return result or assign to Container with the forth argument.\n\n@param int|IntegerContract $offset\n@param null|int|IntegerContract $length\n@param bool|BooleanContract $preserveKeys\n@param bool|BooleanContract $set\n@return static|$this", "docstring_tokens": ["Cut", "a", "slice", "of", "a", "Container", ".", "You", "can", "return", "result", "or", "assign", "to", "Container", "with", "the", "forth", "argument", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L763-L780", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.reject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new Container of all elements that do not pass a given truth test.\n\n@param callable|string|StringContract $callback\n@return static", "docstring_tokens": ["Create", "new", "Container", "of", "all", "elements", "that", "do", "not", "pass", "a", "given", "truth", "test", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L788-L804", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.forget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove key from Container. Supports dot notation.\n\n@param mixed $key\n@return $this", "docstring_tokens": ["Remove", "key", "from", "Container", ".", "Supports", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L851-L856", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.reverse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reverse Container items.\n\n@param bool|BooleanContract $preserveKeys\n@return $this", "docstring_tokens": ["Reverse", "Container", "items", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L876-L881", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.groupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group an associative array by a field or callback value.\n\n@param \\Closure|string|StringContract $groupBy\n@return static", "docstring_tokens": ["Group", "an", "associative", "array", "by", "a", "field", "or", "callback", "value", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L909-L921", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.exceptIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return copy of Container except given index.\n\n@param int|IntegerContract $nth\n@throws OffsetNotExistsException\n@return Container", "docstring_tokens": ["Return", "copy", "of", "Container", "except", "given", "index", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L941-L951", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.restAfterIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return rest items after given index.\n\n@param int|IntegerContract $index\n@return \\im\\Primitive\\Container\\Container\n@throws \\im\\Primitive\\Container\\Exceptions\\BadLengthException\n@throws \\im\\Primitive\\Container\\Exceptions\\ContainerException\n@throws \\im\\Primitive\\Support\\Exceptions\\OffsetNotExistsException", "docstring_tokens": ["Return", "rest", "items", "after", "given", "index", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L962-L985", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.restAfterKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return rest items after given key.\n\n@param mixed $key\n@return \\im\\Primitive\\Container\\Container\n@throws \\im\\Primitive\\Container\\Exceptions\\ContainerException\n@throws \\im\\Primitive\\Support\\Exceptions\\OffsetNotExistsException", "docstring_tokens": ["Return", "rest", "items", "after", "given", "key", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L995-L1007", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.difference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate difference of Container and given Arrayable.\n\n@param mixed $items\n@return static", "docstring_tokens": ["Calculate", "difference", "of", "Container", "and", "given", "Arrayable", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1026-L1034", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.take", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take all items recursively by key.\n\n@param mixed $key\n@return static", "docstring_tokens": ["Take", "all", "items", "recursively", "by", "key", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1075-L1088", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.pull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from a Container, and remove it.\n\n@param mixed $key\n@return mixed\n@throws OffsetNotExistsException", "docstring_tokens": ["Get", "a", "value", "from", "a", "Container", "and", "remove", "it", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1097-L1107", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.intersect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return intersection with Arrayable.\nYou can specify second argument to with additional index check.\n\n@param mixed $array\n@param bool|BooleanContract $assoc\n@return Container", "docstring_tokens": ["Return", "intersection", "with", "Arrayable", ".", "You", "can", "specify", "second", "argument", "to", "with", "additional", "index", "check", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1128-L1133", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all items by key or key value pairs.\nYou can specify second parameter to preserve keys reset.\n\n@param mixed $condition\n@param bool|BooleanContract $preserveKeys\n@throws ContainerException\n@throws EmptyContainerException\n@return static", "docstring_tokens": ["Find", "all", "items", "by", "key", "or", "key", "value", "pairs", ".", "You", "can", "specify", "second", "parameter", "to", "preserve", "keys", "reset", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1193-L1200", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.fromJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from Json.\n\n@param $json\n@return $this", "docstring_tokens": ["Construct", "from", "Json", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1320-L1330", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.fromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from file.\nContents can be json or serialized array.\n\n@param string|StringContract $file\n@throws ContainerException\n@throws NotIsFileException\n@return $this", "docstring_tokens": ["Construct", "from", "file", ".", "Contents", "can", "be", "json", "or", "serialized", "array", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1341-L1359", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.fromSerialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from serialized.\n\n@param string|StringContract $content\n@return $this", "docstring_tokens": ["Construct", "from", "serialized", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1367-L1377", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.fromEncrypted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from Encrypted Container.\n\n@param string|StringContract $encrypted\n@param string|StringContract $key\n@return \\im\\Primitive\\Container\\Container", "docstring_tokens": ["Construct", "from", "Encrypted", "Container", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1386-L1400", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.fromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct from string.\n\n@param string|StringContract $string\n@return $this\n@throws \\im\\Primitive\\Container\\Exceptions\\ContainerException\n@throws \\im\\Primitive\\Support\\Exceptions\\NotIsFileException", "docstring_tokens": ["Construct", "from", "string", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1410-L1426", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.whereCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find where condition is array.\n\n@param array $conditions\n@param bool $preserveKeys\n@return array\n@throws EmptyContainerException", "docstring_tokens": ["Find", "where", "condition", "is", "array", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1502-L1514", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.whereRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively traversing tree.\n\n@param $array\n@param $key\n@param $value\n@param $preventKeys\n@return array", "docstring_tokens": ["Recursively", "traversing", "tree", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1525-L1545", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.iteratorToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert iterator to array.\n\n@param RecursiveIteratorIterator $iterator\n@param Iterator $subIterator\n@param array $outputArray\n@param $preventKeys\n@return array", "docstring_tokens": ["Convert", "iterator", "to", "array", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1556-L1570", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.getGroupByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the \"group by\" key value.\n\n@param \\Closure|string $groupBy\n@param string $key\n@param mixed $value\n@return string", "docstring_tokens": ["Get", "the", "group", "by", "key", "value", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1580-L1588", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.filterRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursive filter.\n\n@param \\Closure $function\n@param $items\n@return array", "docstring_tokens": ["Recursive", "filter", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1597-L1607", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.forgetRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursive unset.\n\n@param $forgetKey\n@param mixed $items\n@return mixed", "docstring_tokens": ["Recursive", "unset", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1616-L1629", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.uniqueRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unique items recursively.\n\n@param $items\n@return array", "docstring_tokens": ["Unique", "items", "recursively", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1637-L1648", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Container/Container.php", "func_name": "Container.getKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve proper key.\n\n@param mixed $key\n@param null|mixed $default\n@return int|string", "docstring_tokens": ["Retrieve", "proper", "key", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Container/Container.php#L1688-L1692", "partition": "test"} +{"repo": "Aprila/Aprila", "path": "src/Quick/Presenter/ListPresenter.php", "func_name": "ListPresenter.addOrEditObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simple implementation add or edit object\n\n@param array $data\n@param bool $redirect", "docstring_tokens": ["Simple", "implementation", "add", "or", "edit", "object"], "sha": "0479447f2e3edfde2ae67b087d8fe20ce28054b2", "url": "https://github.com/Aprila/Aprila/blob/0479447f2e3edfde2ae67b087d8fe20ce28054b2/src/Quick/Presenter/ListPresenter.php#L197-L238", "partition": "test"} +{"repo": "AlcyZ/PHP-Image-Magick", "path": "src/Options/Compose.php", "func_name": "Compose.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a prepared compose options string.\n\n@param string $value Expected option value.\n\n@link http://www.imagemagick.org/script/compose.php\n\n@return string\n@throws \\ImageMagick\\Exceptions\\InvalidOptionValueException", "docstring_tokens": ["Returns", "a", "prepared", "compose", "options", "string", "."], "sha": "4a432f89c3829f10a9078df801da4a98b988f06d", "url": "https://github.com/AlcyZ/PHP-Image-Magick/blob/4a432f89c3829f10a9078df801da4a98b988f06d/src/Options/Compose.php#L92-L101", "partition": "test"} +{"repo": "hassankhan/Sonic", "path": "src/Sonic/Routes/ListRouteAbstract.php", "func_name": "ListRouteAbstract.excerpts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets file excerpts from all files\n\n@param array $files\n@return array", "docstring_tokens": ["Gets", "file", "excerpts", "from", "all", "files"], "sha": "8c842343f6bddc063bf6aa9de460d48bc113af64", "url": "https://github.com/hassankhan/Sonic/blob/8c842343f6bddc063bf6aa9de460d48bc113af64/src/Sonic/Routes/ListRouteAbstract.php#L61-L86", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch a flattened array of a nested array element.\n\n@param array $array\n@param string $key\n\n@return array", "docstring_tokens": ["Fetch", "a", "flattened", "array", "of", "a", "nested", "array", "element", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L92-L110", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.forget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove one or many array items from a given array using \"dot\" notation.\n\n@param array|object $array\n@param array|string $keys\n\n@return void", "docstring_tokens": ["Remove", "one", "or", "many", "array", "items", "from", "a", "given", "array", "using", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L169-L197", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item using \"dot\" notation.\n\n@param array|object $array\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "using", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L208-L215", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an item exists using \"dot\" notation.\n\n@param array|object $array\n@param string $key\n\n@return bool", "docstring_tokens": ["Check", "if", "an", "item", "exists", "using", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L225-L232", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set item to a given key using \"dot\" notation.\n\nIf no key is given to the method, the entire array will be replaced.\n\n@param array|object $array\n@param string $key\n@param mixed $value\n\n@return array", "docstring_tokens": ["Set", "item", "to", "a", "given", "key", "using", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L314-L344", "partition": "test"} +{"repo": "imkrimerman/primitive", "path": "src/Primitive/Support/Arr.php", "func_name": "Arr.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search value in Traversable and return key using dot notation.\n\n@param $array\n@param $value\n@param bool $strict\n@param string $prepend\n@param null $default\n@return int|null|string", "docstring_tokens": ["Search", "value", "in", "Traversable", "and", "return", "key", "using", "dot", "notation", "."], "sha": "bdb45bb5109ca07f116cce571b76804e47ac5d56", "url": "https://github.com/imkrimerman/primitive/blob/bdb45bb5109ca07f116cce571b76804e47ac5d56/src/Primitive/Support/Arr.php#L356-L378", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Extension/AbstractExtensionHelper.php", "func_name": "AbstractExtensionHelper.renderLibrary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a library.\n\n@param string $source The library source.\n@param string|null $callback The javascript callback.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "a", "library", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Extension/AbstractExtensionHelper.php#L29-L45", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Apache.php", "func_name": "Apache.htaccessDeny", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deny public access.\n\n@since 160522 Apache utilities.\n\n@param string $dir Directory to deny access in.\n@param bool $allow_static_access Allow static file access?\n\n@return int Number of bytes written to file.", "docstring_tokens": ["Deny", "public", "access", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Apache.php#L38-L60", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/OAuth/Server/Repositories/AccessTokenRepository.php", "func_name": "AccessTokenRepository.getNewToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "New access token entity.\n\n@param ClientEntityInterface $ClientEntity Client entity.\n@param array $scopes Scope entities.\n@param mixed $user_identifier User identifier.\n\n@return AccessTokenEntity Access token entity.", "docstring_tokens": ["New", "access", "token", "entity", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/OAuth/Server/Repositories/AccessTokenRepository.php#L46-L49", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.setInputId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the autocomplete input ID.\n\n@param string $inputId The autocomplete input ID.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the input ID is not a valid string.", "docstring_tokens": ["Sets", "the", "autocomplete", "input", "ID", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L87-L94", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.setBound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the autocomplete bound.\n\nAvailable prototypes:\n- function setBound(Ivory\\GoogleMap\\Base\\Bound $bound = null)\n- function setBount(Ivory\\GoogleMap\\Base\\Coordinate $southWest, Ivory\\GoogleMap\\Base\\Coordinate $northEast)\n- function setBound(\ndouble $southWestLatitude,\ndouble $southWestLongitude,\ndouble $northEastLatitude,\ndouble $northEastLongitude,\nboolean southWestNoWrap = true,\nboolean $northEastNoWrap = true\n)\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the bound is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "autocomplete", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L133-L172", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.addType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a type to the autocomplete.\n\n@param string $type The type to add.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the type is not valid.\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the type already exists.", "docstring_tokens": ["Adds", "a", "type", "to", "the", "autocomplete", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L228-L239", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.removeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a type from the autocomplete.\n\n@param string $type The type to remove.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the type does not exist.", "docstring_tokens": ["Removes", "a", "type", "from", "the", "autocomplete", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L248-L256", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.getComponentRestriction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific component restriction.\n\n@param string $type The component restriction type.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the component restriction type does not exist.\n\n@return mixed The component restriction.", "docstring_tokens": ["Gets", "a", "specific", "component", "restriction", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L299-L306", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.setComponentRestrictions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the component restrictions.\n\n@param array $componentRestrictions The component restrictions.", "docstring_tokens": ["Sets", "the", "component", "restrictions", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L313-L320", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.addComponentRestriction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a component restriction.\n\n@param string $type The component restriction type.\n@param mixed $value The component restriction value.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the component restriction type is not supported.\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the component restriction type already exists.", "docstring_tokens": ["Adds", "a", "component", "restriction", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L331-L342", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.removeComponentRestriction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a component restriction.\n\n@param string $type The component restriction.\n\n@throws \\Ivory\\GoogleMap\\Exception\\PlaceException If the component restriction type does not exists.", "docstring_tokens": ["Removes", "a", "component", "restriction", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L351-L358", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.setInputAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the autocomplete input attributes.\n\n@param array $inputAttributes The autocomplete input attributes.", "docstring_tokens": ["Sets", "the", "autocomplete", "input", "attributes", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L405-L412", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Places/Autocomplete.php", "func_name": "Autocomplete.setInputAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets an autocomplete attribute.\n\nYou can remove an attribute by setting it to `null`.\n\n@param string $name The attribute name.\n@param mixed $value The attribute value.", "docstring_tokens": ["Sets", "an", "autocomplete", "attribute", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Places/Autocomplete.php#L422-L431", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.identipattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Identipattern generator.\n\n@since 17xxxx Identipatterns.\n\n@param array $args Named arguments.\n\n@return bool True on success.", "docstring_tokens": ["Identipattern", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L39-L97", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert image format.\n\n@since 17xxxx Imagick utils.\n\n@param array $args Named arguments.\n\n@return bool True on success.", "docstring_tokens": ["Convert", "image", "format", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L108-L144", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.compress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compress image.\n\n@since 17xxxx Imagick utils.\n\n@param array $args Named arguments.\n\n@return bool True on success.", "docstring_tokens": ["Compress", "image", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L341-L400", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.compressSvg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compress SVG image.\n\n@since 17xxxx Initial release.\n\n@param string $file SVG file path.\n@param array $args Behavioral args.\n\n@return bool True on success.\n\n@see https://github.com/svg/svgo", "docstring_tokens": ["Compress", "SVG", "image", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L414-L449", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.compressPng", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compress PNG image.\n\n@since 161011 Initial release.\n\n@param string $file PNG file path.\n@param array $args Behavioral args.\n\n@return bool True on success.\n\n@see https://pngquant.org/php.html", "docstring_tokens": ["Compress", "PNG", "image", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L463-L510", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.decodeDataUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode image data URL.\n\n@since 161011 Initial release.\n\n@param string $url Data URL.\n\n@return array `[raw_image_data, extension]`.", "docstring_tokens": ["Decode", "image", "data", "URL", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L521-L566", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.onePx", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "One pixel image.\n\n@since 17xxxx Imagick utils.\n\n@param string $format Format.\n\n@return string One pixel image.", "docstring_tokens": ["One", "pixel", "image", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L577-L600", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.extToFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extension to format.\n\n@since 17xxxx Imagick utils.\n\n@param string $ext_file Extension (or file).\n\n@return string Extension format.", "docstring_tokens": ["Extension", "to", "format", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L611-L631", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.formatToExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format to extension.\n\n@since 17xxxx Imagick utils.\n\n@param string $format Image format.\n\n@return string Format extension.", "docstring_tokens": ["Format", "to", "extension", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L642-L661", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.extToMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extension to MIME type.\n\n@since 17xxxx Imagick utils.\n\n@param string $ext_file Extension (or file).\n\n@return string Extension MIME type.", "docstring_tokens": ["Extension", "to", "MIME", "type", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L672-L700", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.formatToCompressionType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format to compression type.\n\n@since 17xxxx Imagick utils.\n\n@param string $format Image format.\n\n@return int Format compression type.", "docstring_tokens": ["Format", "to", "compression", "type", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L725-L739", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.formatToCompressionQuality", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format to compression quality.\n\n@since 17xxxx Imagick utils.\n\n@param string $format Image format.\n\n@return int Format compression quality.", "docstring_tokens": ["Format", "to", "compression", "quality", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L750-L761", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.setFormatExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set format extension.\n\n@since 17xxxx Imagick utils.\n\n@param string $file Image file.\n@param string $format Image format.\n\n@return string File w/ format extension.", "docstring_tokens": ["Set", "format", "extension", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L773-L776", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.changeFormatExt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change format extension.\n\n@since 17xxxx Imagick utils.\n\n@param string $file Image file.\n@param string $format Image format.\n\n@return string File w/ possible format extension.", "docstring_tokens": ["Change", "format", "extension", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L788-L791", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Image.php", "func_name": "Image.parseFormatArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse format args.\n\n@since 17xxxx Imagick utils.\n\n@param array $args Named arguments.\n\n@return array Parsed arguments.", "docstring_tokens": ["Parse", "format", "args", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Image.php#L802-L827", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/AbstractService.php", "func_name": "AbstractService.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a service request.\n\n@param string $url The service url.\n\n@return \\Widop\\HttpAdapter\\HttpResponse The response.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ServiceException If the response is null.\n@throws \\Ivory\\GoogleMap\\Exception\\ServiceException If the response has an error 4XX or 5XX.", "docstring_tokens": ["Sends", "a", "service", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/AbstractService.php#L251-L266", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Representation/Base.php", "func_name": "Base.cleanInputData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "clean input data\n\n@param array|object|null|string $inputData\n@throws \\Exception\n@returns array", "docstring_tokens": ["clean", "input", "data"], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Representation/Base.php#L37-L60", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UploadSize.php", "func_name": "UploadSize.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Max allowed file upload size.\n\n@since 150424 Initial release.\n@since 170824.30708 Returns `int` instead of `float`.\n\n@return int Max allowed file upload size, in bytes.", "docstring_tokens": ["Max", "allowed", "file", "upload", "size", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UploadSize.php#L36-L50", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/CircleHelper.php", "func_name": "CircleHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a circle.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Circle $circle The circle.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "circle", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/CircleHelper.php#L33-L47", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Version.php", "func_name": "Version.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Version.php#L37-L43", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Version.php", "func_name": "Version.isValidDev", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid dev version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "dev", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Version.php#L54-L60", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Version.php", "func_name": "Version.isValidStable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid stable version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "stable", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Version.php#L71-L77", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Csrf.php", "func_name": "Csrf.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CSRF generator.\n\n@since 17xxxx CSRF utils.\n\n@param callable|null $callback Callback.\n\n@return string New, unique CSRF token.\nCaSe-insensitive, 32 bytes in length.\n\n@note Callback stores the token for future verification.\nIf no callback, a `$_SESSION` storage handler is used by default.", "docstring_tokens": ["CSRF", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Csrf.php#L41-L53", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Csrf.php", "func_name": "Csrf.input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CSRF input markup.\n\n@since 17xxxx CSRF utils.\n\n@param callable|null $callback Callback.\n\n@return string Hidden input field with `_csrf` token.\nSee also: {@link create()}", "docstring_tokens": ["CSRF", "input", "markup", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Csrf.php#L65-L69", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Csrf.php", "func_name": "Csrf.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CSRF verifier.\n\n@since 17xxxx CSRF utils.\n\n@param string|null $_csrf Token.\n@param callable|null $callback Callback.\n\n@return bool True if token is verified.\n\n@note Callback verifies the CSRF token.\nIf no callback, `$_SESSION` is used by default.", "docstring_tokens": ["CSRF", "verifier", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Csrf.php#L84-L97", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Request.php", "func_name": "Request.createFromGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create from globals.\n\n@since 17xxxx Request object.\n\n@param array $globals Globals.\n\n@return Request Instance from globals.", "docstring_tokens": ["Create", "from", "globals", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Request.php#L82-L112", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Request.php", "func_name": "Request.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all data.\n\n@since 17xxxx Request.\n\n@return array All data.", "docstring_tokens": ["Get", "all", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Request.php#L121-L126", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Request.php", "func_name": "Request.getFormData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get form data.\n\n@since 17xxxx Request.\n\n@return array Form data.", "docstring_tokens": ["Get", "form", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Request.php#L148-L155", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Request.php", "func_name": "Request.getJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parsed JSON body.\n\n@since 17xxxx Request object.\n\n@param string $type Expected data return type.\nOne of: `array`, `object`, `any`.\n\n@return \\StdClass|array Body as object|array.", "docstring_tokens": ["Get", "parsed", "JSON", "body", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Request.php#L167-L184", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Url.php", "func_name": "Url.normalizeAmps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize ampersands.\n\n@since 150424 Initial release.\n\n@param string $qs_url_uri A query string (w/ or w/o a leading `?`), a URL, or URI.\n\n@return string The `$qs_url_uri` w/ normalized ampersands.", "docstring_tokens": ["Normalize", "ampersands", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Url.php#L319-L328", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapTypeIdHelper.php", "func_name": "MapTypeIdHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a map map type ID.\n\n@param string $mapTypeId The map type ID.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the map type ID is not valid.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "map", "map", "type", "ID", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapTypeIdHelper.php#L33-L44", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Name.php", "func_name": "Name.firstIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "First from full name.\n\n@since 151121 Adding name utilities.\n\n@param string $name Full name.\n@param string $email Fallback on email?\n\n@return string First name.", "docstring_tokens": ["First", "from", "full", "name", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Name.php#L68-L79", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Name.php", "func_name": "Name.lastIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Last from full name.\n\n@since 151121 Adding name utilities.\n\n@param string $name Full name.\n\n@return string Last name.", "docstring_tokens": ["Last", "from", "full", "name", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Name.php#L90-L99", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Name.php", "func_name": "Name.toAcronym", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert name to acronym.\n\n@since 160220 Initial release.\n\n@param string $name Full name.\n@param bool $strict Strict?\n\n@return string Acronym; based on name.", "docstring_tokens": ["Convert", "name", "to", "acronym", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Name.php#L111-L133", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Name.php", "func_name": "Name.toVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert name to var.\n\n@since 160220 Var utils.\n\n@param string $name Full name.\n@param bool $strict Strict?\n\n@return string Var; based on name.", "docstring_tokens": ["Convert", "name", "to", "var", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Name.php#L170-L183", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Html.php", "func_name": "Html.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a string in HTML format?\n\n@since 150424 Initial release.\n\n@param string $string Any input string to test here.\n@param bool $strict Use strict (full DOM) check?\n\n@return bool `TRUE` if string is HTML.", "docstring_tokens": ["Is", "a", "string", "in", "HTML", "format?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Html.php#L38-L44", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID64 validator.\n\n@since 150424 Initial release.\n\n@param int $uuid Input UUID64 (64 bits signed max `9223372036854775807`).\n@param int|null $expecting_type_id Expected type ID.\n\n@return int Validated UUID64 (64-bits signed max `9223372036854775807`).", "docstring_tokens": ["UUID64", "validator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L38-L47", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.shardIdIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shard ID from UUID64.\n\n@since 150424 Initial release.\n\n@param int $uuid Input UUID64 (64 bits signed max `9223372036854775807`).\n@param bool $validate Validate the shard ID after extraction? Defaults to `true`.\n\n@return int Shard ID from UUID64 (16 bits unsigned max `65535`).", "docstring_tokens": ["Shard", "ID", "from", "UUID64", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L59-L67", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.validateShardId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate shard ID.\n\n@since 150424 Initial release.\n\n@param int $shard_id Input shard ID (16 bits unsigned max `65535`).\n\n@return int Validated shard ID (16 bits unsigned max `65535`).", "docstring_tokens": ["Validate", "shard", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L78-L84", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.typeIdIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Type ID from UUID64.\n\n@since 150424 Initial release.\n\n@param int $uuid Input UUID64 (64 bits signed max `9223372036854775807`).\n@param int|null $expecting_type_id Expected type ID; i.e., validate for this type ID?\n@param bool $validate Validate the type ID after extraction? Defaults to `true`.\n\n@return int Type ID from UUID64 (8 bits unsigned max `255`).", "docstring_tokens": ["Type", "ID", "from", "UUID64", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L97-L107", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.validateTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate type ID.\n\n@since 150424 Initial release.\n\n@param int $type_id Input type ID (8 bits unsigned max `255`).\n@param int|null $expecting_type_id Expected type ID.\n\n@return int Validated type ID (8 bits unsigned max `255`).", "docstring_tokens": ["Validate", "type", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L119-L127", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.localIdIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Local ID from UUID64.\n\n@since 150424 Initial release.\n\n@param int $uuid Input UUID64 (64 bits signed max `9223372036854775807`).\n@param bool $validate Validate the local ID after extraction? Defaults to `true`.\n\n@return int Local ID from UUID64 (38 bits unsigned max `274877906943`).", "docstring_tokens": ["Local", "ID", "from", "UUID64", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L139-L147", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.validateLocalId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate local ID.\n\n@since 150424 Initial release.\n\n@param int $local_id Input local ID (38 bits unsigned max `274877906943`).\n\n@return int Validated local ID (38 bits unsigned max `274877906943`).", "docstring_tokens": ["Validate", "local", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L158-L164", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID64 parser.\n\n@since 150424 Initial release.\n\n@param int $uuid Input UUID64 (64 bits signed max `9223372036854775807`).\n@param int|null $expecting_type_id Expected type ID; i.e., validate this type ID?\n@param bool $validate Validate the UUID and each part?\n\n@return array IDs: `shard_id`, `type_id`, `local_id` from UUID64.\n\n- `shard_id` (16 bits unsigned max `65535`).\n- `type_id` (8 bits unsigned max `255`).\n- `local_id` (38 bits unsigned max `274877906943`).", "docstring_tokens": ["UUID64", "parser", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L181-L191", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid64.php", "func_name": "Uuid64.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID64 builder.\n\n@since 150424 Initial release.\n\n@param int $shard_id Shard ID (16 bits unsigned max `65535`).\n@param int $type_id Type ID (8 bits unsigned max `255`).\n@param int $local_id Local ID (38 bits unsigned max `274877906943`).\n@param bool $validate Validate each of the IDs first? Defaults to `true`.\n\n@return int UUID64 (64 bits signed max `9223372036854775807`).\n\n- (2 reserve bits; set to a value of 0).\n- `shard_id` (16 bits unsigned max `65535`).\n- `type_id` (8 bits unsigned max `255`).\n- `local_id` (38 bits unsigned max `274877906943`).\n\n= 64 bits signed max: `9223372036854775807` = `PHP_INT_MAX`.", "docstring_tokens": ["UUID64", "builder", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid64.php#L212-L223", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/PolylineHelper.php", "func_name": "PolylineHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a polyline.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Polyline $polyline The polyline.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "polyline", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/PolylineHelper.php#L33-L51", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Circle.php", "func_name": "Circle.setCenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the circle center.\n\nAvailable prototypes:\n- function setCenter(Ivory\\GoogleMap\\Base\\Coordinate $center)\n- function setCenter(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the center is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "circle", "center", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Circle.php#L71-L87", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Coordinate.php", "func_name": "Coordinate.setLatitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the latitude\n\n@param double $latitude The latitude.\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the latitude is not valid.", "docstring_tokens": ["Sets", "the", "latitude"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Coordinate.php#L67-L74", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Coordinate.php", "func_name": "Coordinate.setLongitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the longitude.\n\n@param double $longitude The longitude.\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the longitude is not valid.", "docstring_tokens": ["Sets", "the", "longitude", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Coordinate.php#L93-L100", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Coordinate.php", "func_name": "Coordinate.setNoWrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the coordinate is wrap.\n\n@param boolean $noWrap TRUE if the coordinate is not wrap else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the no wrap flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "coordinate", "is", "wrap", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Coordinate.php#L119-L126", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/ScaleControl.php", "func_name": "ScaleControl.setControlPosition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the control position.\n\n@param string $controlPosition The control position.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the control position is not valid.", "docstring_tokens": ["Sets", "the", "control", "position", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/ScaleControl.php#L61-L68", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/ScaleControl.php", "func_name": "ScaleControl.setScaleControlStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the scale control style.\n\n@param type $scaleControlStyle The scale control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the scale control style is not valid.", "docstring_tokens": ["Sets", "the", "scale", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/ScaleControl.php#L87-L94", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderStatus.php", "func_name": "GeocoderStatus.getGeocoderStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available geocoder status.\n\n@return array The available geocoder status.", "docstring_tokens": ["Gets", "the", "available", "geocoder", "status", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderStatus.php#L45-L56", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/DirCache.php", "func_name": "DirCache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cached value.\n\n@since 170824.30708 Dir cache utils.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to get.\n@param int $max_age Max age (in seconds).\n@param array $args Any behavioral args.\n\n@return mixed|null Null if missing or expired.", "docstring_tokens": ["Get", "a", "cached", "value", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/DirCache.php#L76-L102", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/DirCache.php", "func_name": "DirCache.subPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Key sub-path.\n\n@since 170824.30708 Dir cache utils.\n\n@param string $primary_key Primary key.\n@param string|int|null $sub_key Sub-key to get.\n@param array $args Any behavioral args.\n\n@return string Key sub-path.", "docstring_tokens": ["Key", "sub", "-", "path", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/DirCache.php#L191-L205", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/DirCache.php", "func_name": "DirCache.sha1Keys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SHA-1 cache keys.\n\n@since 170824.30708 Dir cache utils.\n\n@param string $primary_key Primary key.\n@param string|int|null $sub_key Sub-key to get.\n@param array $args Any behavioral args.\n\n@return array `[primary_key]` or `[primary_key, sub_key]`.", "docstring_tokens": ["SHA", "-", "1", "cache", "keys", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/DirCache.php#L218-L231", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Base/Di.php", "func_name": "Di.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class instance.\n\n@since 160224 Initial release.\n\n@param string $class_name Class path.\n@param array $args Constructor args.\n@param bool $as_is Class name as-is?\n\n@return object An object class instance.", "docstring_tokens": ["Get", "a", "class", "instance", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Base/Di.php#L65-L68", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RegexPatterns.php", "func_name": "RegexPatterns.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search values containing regex patterns against a string.\n\n@since 150424 Initial release.\n\n@param string $string String to search within.\n@param mixed $value Any value can be converted into a regex pattern.\nActually, objects can't, but this recurses into objects.\n@param bool $collect_key_props Collect array keys and/or object properties?\n\n@return bool|array Will return `TRUE` if any regex pattern finds a match.\nIf `$collect_key_props` is `TRUE`, this will return an array.", "docstring_tokens": ["Search", "values", "containing", "regex", "patterns", "against", "a", "string", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RegexPatterns.php#L41-L74", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Template.php", "func_name": "Template.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets template.\n\n@since 151121 Template utilities.\n\n@param string $file Relative to templates dir.\n@param string $dir From a specific directory?\n@param array $args Additional template args.\n\n@return Classes\\Core\\Template Template instance.", "docstring_tokens": ["Gets", "template", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Template.php#L81-L84", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Password.php", "func_name": "Password.strength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Password strength.\n\n@since 17xxxx Password strength.\n\n@param string $password Password.\n\n@return int Strength (0 - 100).", "docstring_tokens": ["Password", "strength", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Password.php#L37-L57", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for SRI in process.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n\n@return string|null SRI hash, else `null`.", "docstring_tokens": ["Checks", "for", "SRI", "in", "process", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L247-L255", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.checkMemcache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for SRI in memcache.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n\n@return string|null SRI hash, else `null`.", "docstring_tokens": ["Checks", "for", "SRI", "in", "memcache", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L267-L275", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.checkMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for SRI in map.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n\n@return string|null SRI hash, else `null`.", "docstring_tokens": ["Checks", "for", "SRI", "in", "map", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L287-L302", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.checkMapCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for SRI in map cache.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n\n@return string|null SRI hash, else `null`.", "docstring_tokens": ["Checks", "for", "SRI", "in", "map", "cache", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L314-L329", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.checkContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check contents.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n\n@return string|null SRI hash, else `null`.", "docstring_tokens": ["Check", "contents", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L341-L372", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.cacheIt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache the SRI hash.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n@param string $sri The SRI hash.\n\n@note The `$sri` is allowed to be empty.", "docstring_tokens": ["Cache", "the", "SRI", "hash", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L385-L389", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.memcacheIt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Memcache the SRI hash.\n\n@since 170211.63148 SRI utils.\n\n@param string $url URL to get SRI for.\n@param string $sha1 SHA-1 hash of URL.\n@param string $sri The SRI hash.\n\n@note The `$sri` is allowed to be empty.", "docstring_tokens": ["Memcache", "the", "SRI", "hash", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L402-L407", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the SRIs map.\n\n@since 170215.53419 SRI utils.\n\n@return array Map of SRIs.", "docstring_tokens": ["Get", "the", "SRIs", "map", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L452-L464", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SRIs map cache.\n\n@since 170215.53419 SRI utils.\n\n@return array SRIs map cache.", "docstring_tokens": ["Get", "SRIs", "map", "cache", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L473-L485", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sri.php", "func_name": "Sri.isLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "URL is local?\n\n@since 170215.53419 SRI utils.\n\n@param string $url URL to get SRI for.\n\n@return bool|null True if URL is local.", "docstring_tokens": ["URL", "is", "local?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sri.php#L496-L504", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Varz.php", "func_name": "Varz.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate var.\n\n@since 160220 Initial release.\n\n@param string $var Var.\n@param bool $strict Strict?\n\n@return bool True if var is valid.", "docstring_tokens": ["Validate", "var", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Varz.php#L38-L41", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Varz.php", "func_name": "Varz.toAcronym", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert var to acronym.\n\n@since 160220 Initial release.\n\n@param string $var Var.\n@param bool $strict Strict?\n\n@return string Acronym; based on var.", "docstring_tokens": ["Convert", "var", "to", "acronym", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Varz.php#L70-L73", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Varz.php", "func_name": "Varz.toSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert var to slug.\n\n@since 160220 Initial release.\n\n@param string $var Var.\n@param bool $strict Strict?\n\n@return string Slug; based on var.", "docstring_tokens": ["Convert", "var", "to", "slug", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Varz.php#L85-L96", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Varz.php", "func_name": "Varz.toCamelCase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert var to camelCase.\n\n@since 170413.34876 Initial release.\n\n@param string $var Var.\n@param bool $strict Strict?\n\n@return string camelCase; based on var.", "docstring_tokens": ["Convert", "var", "to", "camelCase", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Varz.php#L108-L120", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Base/SizeHelper.php", "func_name": "SizeHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a size.\n\n@param \\Ivory\\GoogleMap\\Base\\Size $size The size.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "size", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Base/SizeHelper.php#L30-L48", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Email.php", "func_name": "Email.isRoleBased", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is role-based address?\n\n@since 151121 Email utilities.\n\n@param string $email Email address to check.\n\n@return bool True if email is role-based.", "docstring_tokens": ["Is", "role", "-", "based", "address?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Email.php#L149-L167", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Email.php", "func_name": "Email.parseAddresses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse addresses.\n\n@since 151121 Email utilities.\n\n@param mixed $value Any input value w/ recipients.\n@param bool $strict Optional. Defaults to `false` (faster). Parses all strings w/ `@` signs.\nIf `true`, validate each address; and only return 100% valid email addresses.\n\n@return \\StdClass[] Each object in the array contains 3 properties: `name`, `fname`, `lname`, `email`.", "docstring_tokens": ["Parse", "addresses", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Email.php#L180-L216", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Email.php", "func_name": "Email.parseHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse headers.\n\n@since 151121 Email utilities.\n\n@param mixed $value Any input value w/ headers.\n@param array $refs An input array of references to fill; for special headers.\n@param bool $strict Optional. Defaults to `false` (faster). Parses all strings w/ `@` signs.\nIf `true`, validate each address, and only return 100% valid email addresses.\n\n@return array Unique/associative array of all parsed headers.", "docstring_tokens": ["Parse", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Email.php#L230-L279", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Email.php", "func_name": "Email.parseAttachments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse attachments.\n\n@since 151121 Email utilities.\n\n@param mixed $value Any input value w/ attachments.\n\n@return array Unique/associative array of all attachments.", "docstring_tokens": ["Parse", "attachments", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Email.php#L290-L306", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Tool.php", "func_name": "Tool.parseContentTypeToRepresentation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a content-type header to a representation name\n\n@param string $contentType\n@return bool", "docstring_tokens": ["Parse", "a", "content", "-", "type", "header", "to", "a", "representation", "name"], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Tool.php#L13-L24", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Tool.php", "func_name": "Tool.parseRepresentationToClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert a representation name including version to the\ncorresponding class\n\n@param string $inputRepresentation\n@return string\n@throws \\Exception", "docstring_tokens": ["convert", "a", "representation", "name", "including", "version", "to", "the", "corresponding", "class"], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Tool.php#L34-L63", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Percent.php", "func_name": "Percent.diff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates percentage difference.\n\n@param int|float $from Calculate from (i.e., value then).\n@param int|float $to Calculate to (i.e., the value now).\n@param int $precision Defaults to `0`; i.e., no decimal place.\n@param bool $format_string If true, formatted `+|-[percent]%`.\n\n@return int|float|string A float if `$precision` is passed, else an integer (default behavior).\nIf `$format_string`, converted to string format: `+|-[percent]%`.", "docstring_tokens": ["Calculates", "percentage", "difference", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Percent.php#L39-L58", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Base64.php", "func_name": "Base64.urlSafeEncode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 URL-safe encoding.\n\n@since 150424 Initial release.\n\n@param string $string Input string to be base64 encoded.\n@param array $url_unsafe_chars Optional array of un-safe characters. Defaults to: `['+', '/']`.\n@param array $url_safe_chars Optional array of safe character replacements. Defaults to: `['-', '_']`.\n@param string $trim_padding_chars Optional string of padding chars to right-trim. Defaults to: `=`.\n\n@throws Exception If the call to `base64_encode()` fails.\n\n@return string The base64 URL-safe encoded string.", "docstring_tokens": ["Base64", "URL", "-", "safe", "encoding", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Base64.php#L42-L51", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Base64.php", "func_name": "Base64.urlSafeDecode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Base64 URL-safe decoding.\n\n@since 150424 Initial release.\n\n@param string $base64_url_safe Input string to be base64 decoded.\n@param array $url_unsafe_chars Optional array of un-safe characters. Defaults to: `['+', '/']`.\n@param array $url_safe_chars Optional array of safe character replacements. Defaults to: `['-', '_']`.\n@param string $trim_padding_chars Optional string of padding chars to right-trim. Defaults to: `=`.\n\n@throws Exception If the call to `base64_decode()` fails.\n\n@return string The decoded string value.", "docstring_tokens": ["Base64", "URL", "-", "safe", "decoding", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Base64.php#L67-L77", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Nonce.php", "func_name": "Nonce.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Nonce generator.\n\n@since 17xxxx Nonce utils.\n\n@param string|null $action Action.\n@param callable|null $callback Callback.\n\n@return string New, unique nonce token.\nCaSe-insensitive, 32 bytes in length.\n\n@note Callback stores the token for future verification.\nIf no callback, a `$_SESSION` storage handler is used by default.", "docstring_tokens": ["Nonce", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Nonce.php#L42-L61", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Nonce.php", "func_name": "Nonce.input", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Nonce input markup.\n\n@since 17xxxx Nonce utils.\n\n@param string|null $action Action.\n@param callable|null $callback Callback.\n\n@return string Hidden input field with `_nonce` token.\nSee also: {@link create()}", "docstring_tokens": ["Nonce", "input", "markup", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Nonce.php#L74-L78", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Nonce.php", "func_name": "Nonce.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Nonce verifier.\n\n@since 17xxxx Nonce utils.\n\n@param string|null $action Action.\n@param string|null $token Token.\n@param callable|null $callback Callback.\n\n@return bool True if token is verified.\n\n@note Callback verifies token and flags token as having been used once before.\nOr, if there is no callback, a built-in `$_SESSION` storage handler is used by default.", "docstring_tokens": ["Nonce", "verifier", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Nonce.php#L94-L122", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixResponse.php", "func_name": "DistanceMatrixResponse.setOrigins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix routes.\n\n@param array $origins The distance matrix origins.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "routes", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixResponse.php#L68-L75", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Time.php", "func_name": "Time.humanDiff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Human time difference.\n\n@since 170124.74961 Initial release.\n\n@param int $from From time.\n@param int|null $to Defaults to current time.\n@param string $format Formatting option.\n\n@return string Human time difference.", "docstring_tokens": ["Human", "time", "difference", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Time.php#L39-L77", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Cache/File/FilePool.php", "func_name": "FilePool.getItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a traversable set of cache items.\n\n@param array $keys\nAn indexed array of keys of items to retrieve.\n@return \\Traversable\nA traversable collection of Cache Items in the same order as the $keys\nparameter, keyed by the cache keys of each item. If no items are found\nan empty Traversable collection will be returned.", "docstring_tokens": ["Returns", "a", "traversable", "set", "of", "cache", "items", "."], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Cache/File/FilePool.php#L69-L78", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerHelper.php", "func_name": "MarkerHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a marker.\n\n@param Ivory\\GoogleMap\\Overlays\\Marker $marker The marker.\n@param Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "marker", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerHelper.php#L72-L105", "partition": "test"} +{"repo": "hakanersu/bfxm", "path": "src/Xuma/Bfxm/Builder.php", "func_name": "Builder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build json for Bulutfonxm\n\n@param bool $build\n@return bool|string", "docstring_tokens": ["Build", "json", "for", "Bulutfonxm"], "sha": "a86158d89e036321dd6322e31e8b36c36b37f142", "url": "https://github.com/hakanersu/bfxm/blob/a86158d89e036321dd6322e31e8b36c36b37f142/src/Xuma/Bfxm/Builder.php#L134-L143", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerShapeHelper.php", "func_name": "MarkerShapeHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a marker shape.\n\n@param \\Ivory\\GoogleMap\\Overlays\\MarkerShape $markerShape The marker shape.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "marker", "shape", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerShapeHelper.php#L30-L37", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/ScaleControlStyleHelper.php", "func_name": "ScaleControlStyleHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a scale control style.\n\n@param string $scaleControlStyle The scale control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the scale control style is not valid.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "scale", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/ScaleControlStyleHelper.php#L33-L41", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slug.php", "func_name": "Slug.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate slug.\n\n@since 150424 Initial release.\n\n@param string $slug Slug.\n@param bool $strict Strict?\n\n@return bool True if slug is valid.", "docstring_tokens": ["Validate", "slug", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slug.php#L38-L41", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slug.php", "func_name": "Slug.isReserved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is slug reserved?\n\n@since 150424 Reserved slugs.\n\n@param string $slug Slug.\n\n@return bool True if slug is reserved.", "docstring_tokens": ["Is", "slug", "reserved?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slug.php#L52-L72", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slug.php", "func_name": "Slug.toName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert slug to name.\n\n@since 150424 Initial release.\n\n@param string $slug Slug.\n\n@return string Name; based on slug.", "docstring_tokens": ["Convert", "slug", "to", "name", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slug.php#L83-L91", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slug.php", "func_name": "Slug.toVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert slug to var.\n\n@since 160220 Initial release.\n\n@param string $slug Slug.\n@param bool $strict Strict?\n\n@return string Var; based on slug.", "docstring_tokens": ["Convert", "slug", "to", "var", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slug.php#L118-L129", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Polyline.php", "func_name": "Polyline.setCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the polyline coordinates.\n\n@param array $coordinates The polyline coordinates.", "docstring_tokens": ["Sets", "the", "polyline", "coordinates", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Polyline.php#L67-L74", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Managers/ManagerImpl.php", "func_name": "ManagerImpl.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store modules for fast load.", "docstring_tokens": ["Store", "modules", "for", "fast", "load", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Managers/ManagerImpl.php#L67-L76", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Managers/ManagerImpl.php", "func_name": "ManagerImpl.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all modules.\n\n@return Repository", "docstring_tokens": ["Get", "all", "modules", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Managers/ManagerImpl.php#L83-L91", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Template.php", "func_name": "Template.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse template.\n\n@since 150424 Initial release.\n\n@param array $vars Template vars.\n\n@return string Parsed template contents.", "docstring_tokens": ["Parse", "template", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Template.php#L155-L177", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Template.php", "func_name": "Template.setVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set template vars.\n\n@since 150424 Initial release.\n\n@param array $defaults Default vars.\n@param array ...$vars Variadic template vars.\n\n@return array New template vars.", "docstring_tokens": ["Set", "template", "vars", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Template.php#L189-L192", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Template.php", "func_name": "Template.hasParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Has a parent?\n\n@since 150424 Initial release.\n\n@param string|null $file Template file.\n\n@return bool True if child has a parent.", "docstring_tokens": ["Has", "a", "parent?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Template.php#L203-L209", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Template.php", "func_name": "Template.parentVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parent template vars.\n\n@since 150424 Initial release.\n\n@param string|null $file Template file.\n\n@return array Parent template vars.", "docstring_tokens": ["Parent", "template", "vars", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Template.php#L220-L227", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Template.php", "func_name": "Template.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a child template.\n\n@since 150424 Initial release.\n\n@param string $new_child_file Relative to templates dir.\n@param array $new_child_vars Template vars for the include.\n@param string $new_child_dir From a specific directory?\n\n@return string Parsed template contents for child template.", "docstring_tokens": ["Get", "a", "child", "template", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Template.php#L295-L316", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Console/SeedCommand.php", "func_name": "SeedCommand.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the console command options.\n\n@return array", "docstring_tokens": ["Get", "the", "console", "command", "options", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Console/SeedCommand.php#L18-L28", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/RotateControlHelper.php", "func_name": "RotateControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a rotate control.\n\n@param \\Ivory\\GoogleMap\\Controls\\RotateControl $rotateControl The rotate control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "rotate", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/RotateControlHelper.php#L70-L76", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/HtmlEntities.php", "func_name": "HtmlEntities.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape HTML markup deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param bool $double_encode Encode existing entities? Defaults to `FALSE`.\n@param int|null $flags Optional. Defaults to `ENT_HTML5 | ENT_QUOTES | ENT_SUBSTITUTE`.\n\n@return string|array|object Value after having been escaped deeply.", "docstring_tokens": ["Escape", "HTML", "markup", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/HtmlEntities.php#L39-L54", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/HtmlEntities.php", "func_name": "HtmlEntities.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unescape HTML markup deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param int $flags Optional. Defaults to `ENT_HTML5 | ENT_QUOTES`.\n\n@return string|array|object Value after having been unescaped deeply.", "docstring_tokens": ["Unescape", "HTML", "markup", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/HtmlEntities.php#L66-L81", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/ModuleController.php", "func_name": "ModuleController.callAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an action on the controller.\n\n@param string $method\n@param array $parameters\n\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Execute", "an", "action", "on", "the", "controller", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/ModuleController.php#L54-L69", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Layers/KMLLayerHelper.php", "func_name": "KMLLayerHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a kml layer.\n\n@param \\Ivory\\GoogleMap\\Layers\\KMLLayer $kmlLayer The KML layer.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "kml", "layer", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Layers/KMLLayerHelper.php#L33-L46", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cache value by key.\n\n@since 151216 Memcache utils.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to get.\n\n@return mixed|null Null if missing, or on failure.", "docstring_tokens": ["Get", "cache", "value", "by", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L160-L174", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set|update cache key.\n\n@since 151216 Memcache utils.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to set.\n@param string $value Value to cache (1MB max).\n@param int $expires_in Expires (in seconds).\n\n@return bool True on success.", "docstring_tokens": ["Set|update", "cache", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L188-L222", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear the cache.\n\n@since 151216 Memcache utils.\n\n@param string $primary_key Primary key.\n@param string|int|null $sub_key Sub-key (optional).\n@param int $delay Delay (in seconds).\n\n@return bool True on success.", "docstring_tokens": ["Clear", "the", "cache", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L260-L271", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.key", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Namespace a key.\n\n@since 151216 Memcache utils.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key.\n\n@return string Full namespaced cache key.", "docstring_tokens": ["Namespace", "a", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L283-L323", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.nspKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Namespace primary key.\n\n@since 151216 Memcache utils.\n\n@param string $primary_key Primary key.\n\n@return string Namespaced primary key.", "docstring_tokens": ["Namespace", "primary", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L334-L349", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.serversDiffer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Servers differ? i.e., current vs. active.\n\n@since 151216 Memcache utils.\n\n@return bool True if servers differ.", "docstring_tokens": ["Servers", "differ?", "i", ".", "e", ".", "current", "vs", ".", "active", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L358-L383", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Memcache.php", "func_name": "Memcache.maybeAddServerConnections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe add server connections.\n\n@since 151216 Memcache utils.", "docstring_tokens": ["Maybe", "add", "server", "connections", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Memcache.php#L390-L415", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Places/AutocompleteHelper.php", "func_name": "AutocompleteHelper.renderHtmlContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the autocomplete HTML container.\n\n@param \\Ivory\\GoogleMap\\Places\\Autocomplete $autocomplete The autocomplete.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "autocomplete", "HTML", "container", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Places/AutocompleteHelper.php#L136-L152", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Places/AutocompleteHelper.php", "func_name": "AutocompleteHelper.renderJavascripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the autocomplete javascripts.\n\n@param \\Ivory\\GoogleMap\\Places\\Autocomplete $autocomplete The autocomplete.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException if the autocomplete bound does not have coordinates.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "autocomplete", "javascripts", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Places/AutocompleteHelper.php#L163-L204", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Places/AutocompleteHelper.php", "func_name": "AutocompleteHelper.renderAutocomplete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the autocomplete.\n\n@param \\Ivory\\GoogleMap\\Places\\Autocomplete $autocomplete The autocomplete.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "autocomplete", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Places/AutocompleteHelper.php#L213-L239", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Providers/SeedServiceProvider.php", "func_name": "SeedServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the seed console command.", "docstring_tokens": ["Register", "the", "seed", "console", "command", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Providers/SeedServiceProvider.php#L24-L30", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Output.php", "func_name": "Output.closeRequestEarly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes a request early.\n\n@since 170824.30708 Early close of request.", "docstring_tokens": ["Closes", "a", "request", "early", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Output.php#L46-L57", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Output.php", "func_name": "Output.gzipOff", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disables GZIP compression.\n\n@since 150424 Initial release.", "docstring_tokens": ["Disables", "GZIP", "compression", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Output.php#L64-L74", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsWaypoint.php", "func_name": "DirectionsWaypoint.setLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions waypoint location.\n\nAvailable prototypes:\n- function setLocation(string $destination)\n- function setLocation(Ivory\\GoogleMap\\Base\\Coordinate $destination)\n- function setLocation(double $latitude, double $longitude, boolean $noWrap)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the location is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "directions", "waypoint", "location", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsWaypoint.php#L61-L83", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsWaypoint.php", "func_name": "DirectionsWaypoint.setStopover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions waypoint stopover flag.\n\n@param boolean $stopover The directions waypoint stopover flag.", "docstring_tokens": ["Sets", "the", "directions", "waypoint", "stopover", "flag", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsWaypoint.php#L110-L117", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/FileUpload.php", "func_name": "FileUpload.errorReason", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Error reason.\n\n@since 160926 Upload utils.\n\n@param int $code An upload error code.\n\n@return string An upload error reason.", "docstring_tokens": ["Error", "reason", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/FileUpload.php#L37-L64", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/FileExt.php", "func_name": "FileExt.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set file extension.\n\n@since 17xxxx Extension utils.\n\n@param string $file Image file.\n@param string $ext New extension.\n\n@return string File w/ extension.", "docstring_tokens": ["Set", "file", "extension", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/FileExt.php#L63-L69", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/FileExt.php", "func_name": "FileExt.change", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change file extension.\n\n@since 17xxxx Extension utils.\n\n@param string $file Image file.\n@param string $ext New extension.\n\n@return string File w/ possible extension.", "docstring_tokens": ["Change", "file", "extension", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/FileExt.php#L81-L87", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Assets/AbstractOptionsAsset.php", "func_name": "AbstractOptionsAsset.hasOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the option exists.\n\n@param string $option The option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\AssetException If the option is not valid.\n\n@return boolean TRUE if the option exists else FALSE.", "docstring_tokens": ["Checks", "if", "the", "option", "exists", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Assets/AbstractOptionsAsset.php#L58-L65", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Assets/AbstractOptionsAsset.php", "func_name": "AbstractOptionsAsset.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific option.\n\n@param string $option The option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\AssetException If the option does not exist.\n\n@return mixed The option value.", "docstring_tokens": ["Gets", "a", "specific", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Assets/AbstractOptionsAsset.php#L100-L107", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Assets/AbstractOptionsAsset.php", "func_name": "AbstractOptionsAsset.setOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a specific option.\n\n@param string $option The option\n@param mixed $value The option value.\n\n@throws \\Ivory\\GoogleMap\\Exception\\AssetException If the option is not valid.", "docstring_tokens": ["Sets", "a", "specific", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Assets/AbstractOptionsAsset.php#L117-L124", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Assets/AbstractOptionsAsset.php", "func_name": "AbstractOptionsAsset.removeOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an option.\n\n@param string $option The option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\AssetException If the option does not exist.", "docstring_tokens": ["Removes", "an", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Assets/AbstractOptionsAsset.php#L133-L140", "partition": "test"} +{"repo": "engraving/framework", "path": "src/Middleware/Middleware/RoutingMiddleware.php", "func_name": "RoutingMiddleware.modifyRequestAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify the request and add information from the matched route to it.\n\n@param RouteMatchInterface $routeMatch\n@param ServerRequestInterface $request\n\n@return ServerRequestInterface", "docstring_tokens": ["Modify", "the", "request", "and", "add", "information", "from", "the", "matched", "route", "to", "it", "."], "sha": "75da737283eca2f1523cbc3e989632a0d30578b4", "url": "https://github.com/engraving/framework/blob/75da737283eca2f1523cbc3e989632a0d30578b4/src/Middleware/Middleware/RoutingMiddleware.php#L60-L75", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/ZoomControl.php", "func_name": "ZoomControl.setZoomControlStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the zoom control style.\n\n@param string $zoomControlStyle The zoom control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the zoom control style is not valid.", "docstring_tokens": ["Sets", "the", "zoom", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/ZoomControl.php#L84-L91", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/HashIds.php", "func_name": "HashIds.decodeOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes a hash ID.\n\n@since 161003 Single hash ID.\n\n@param string $hash_id Hash ID.\n\n@return int One decoded ID.", "docstring_tokens": ["Decodes", "a", "hash", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/HashIds.php#L94-L98", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderResponse.php", "func_name": "GeocoderResponse.setResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder results\n\n@param array $results The geocoder results.", "docstring_tokens": ["Sets", "the", "geocoder", "results"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderResponse.php#L56-L63", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderResponse.php", "func_name": "GeocoderResponse.setStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder results status.\n\n@param string $status The geocoder result status.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the status is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "results", "status", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderResponse.php#L92-L99", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Utf8.php", "func_name": "Utf8.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is valid UTF-8?\n\n@since 150424 Enhancing multibyte support.\n\n@param string $string Input string to test.\n\n@return bool True if is valid UTF-8.", "docstring_tokens": ["Is", "valid", "UTF", "-", "8?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Utf8.php#L46-L52", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UserAgent.php", "func_name": "UserAgent.isEngine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a browser engine.\n\n@since 170413.34876 User-Agent utils.\n\n@return bool True if is engine.\n\n@see https://jas.xyz/2p3VIbG", "docstring_tokens": ["Is", "a", "browser", "engine", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UserAgent.php#L53-L60", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/DirPath.php", "func_name": "DirPath.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes directory separators deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param bool $allow_trailing_slash Optional; defaults to a FALSE value.\n\n@return string|array|object Normalized directory/file path.", "docstring_tokens": ["Normalizes", "directory", "separators", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/DirPath.php#L38-L69", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Paginator.php", "func_name": "Paginator.pageUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get page URL.\n\n@since 170117 Paginator.\n\n@param int $page Page number.\n\n@return string Page URL.", "docstring_tokens": ["Get", "page", "URL", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Paginator.php#L181-L187", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setAvoidHighways", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the the distance matrix request avoids hightways.\n\n@param boolean $avoidHighways TRUE if the distance matrix request avoids hightways else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the avoid highways flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "the", "distance", "matrix", "request", "avoids", "hightways", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L92-L99", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setAvoidTolls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the the distance matrix request avoids tolls.\n\n@param boolean $avoidTolls TRUE if the distance matrix request avoids tolls else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the avoid tolls flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "the", "distance", "matrix", "request", "avoids", "tolls", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L128-L135", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setDestinations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the request destinations.\n\n@param array $destinations The distance matrix request destinations.", "docstring_tokens": ["Sets", "the", "request", "destinations", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L162-L169", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.addDestination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a destination to the request.\n\nAvailable prototypes:\n- function addDestination(string $destination)\n- function addDestination(Ivory\\GoogleMap\\Base\\Coordinate $destination)\n- function addDestination(double $latitude, double $longitude, boolean $noWrap)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the destination is not valid (prototypes).", "docstring_tokens": ["Adds", "a", "destination", "to", "the", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L181-L202", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.addOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an origin to the request.\n\nAvailable prototypes:\n- function addOrigin(string $destination)\n- function addOrigin(Ivory\\GoogleMap\\Base\\Coordinate $destination)\n- function addOrigin(double $latitude, double $longitude, boolean $noWrap)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the origin is not valid (prototypes).", "docstring_tokens": ["Adds", "an", "origin", "to", "the", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L248-L269", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setRegion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix request region.\n\n@param string $region The distance matrix request region.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the region is not valid.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "request", "region", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L298-L305", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix request language.\n\n@param string $language The distance matrix request language.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the language is not valid.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "request", "language", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L334-L341", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setTravelMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix request travel mode.\n\n@param string $travelMode The distance matrix request travel mode.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the travel mode is not valid.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "request", "travel", "mode", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L370-L379", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixRequest.php", "func_name": "DistanceMatrixRequest.setUnitSystem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix request unit system.\n\n@param string $unitSystem The distance matrix request unit system.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the unit system is not valid.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "request", "unit", "system", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixRequest.php#L408-L415", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/ControlPosition.php", "func_name": "ControlPosition.getControlPositions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available control positions.\n\n@return array The control positions.", "docstring_tokens": ["Gets", "the", "available", "control", "positions", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/ControlPosition.php#L50-L66", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsResponse.php", "func_name": "DirectionsResponse.setStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions response status.\n\n@param string $status The directions response status.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the status is not valid.", "docstring_tokens": ["Sets", "the", "directions", "response", "status", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsResponse.php#L92-L99", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/OverviewMapControlHelper.php", "func_name": "OverviewMapControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an overview map control.\n\n@param \\Ivory\\GoogleMap\\Controls\\OverviewMapControl $overviewMapControl The overview map control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "overview", "map", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/OverviewMapControlHelper.php#L31-L37", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Base/BoundHelper.php", "func_name": "BoundHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the bound.\n\n@param \\Ivory\\GoogleMap\\Base\\Bound $bound The bound.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Base/BoundHelper.php#L38-L50", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Base/BoundHelper.php", "func_name": "BoundHelper.renderExtends", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the bound's extend of a marker.\n\n@param \\Ivory\\GoogleMap\\Base\\Bound $bound The bound.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "bound", "s", "extend", "of", "a", "marker", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Base/BoundHelper.php#L59-L95", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Benchmark.php", "func_name": "Benchmark.printAllStatistics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print statistics.\n\n@since 150424 Benchmarking.", "docstring_tokens": ["Print", "statistics", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Benchmark.php#L153-L174", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerCluster.php", "func_name": "MarkerCluster.setMarkers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the cluster markers.\n\n@param array $markers The cluster markers.", "docstring_tokens": ["Sets", "the", "cluster", "markers", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerCluster.php#L92-L99", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerCluster/MarkerClusterHelper.php", "func_name": "MarkerClusterHelper.setHelpers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker cluster helper helpers.\n\n@param array $helpers The marker cluster helper helpers.", "docstring_tokens": ["Sets", "the", "marker", "cluster", "helper", "helpers", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerCluster/MarkerClusterHelper.php#L68-L75", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerCluster/MarkerClusterHelper.php", "func_name": "MarkerClusterHelper.getHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific marker cluster helper.\n\n@param string $name The marker cluster type.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the helper does not exist.\n\n@return \\Ivory\\GoogleMap\\Helper\\Overlays\\MarkerCluster\\MarkerClusterHelperInterface The marker cluster helper.", "docstring_tokens": ["Gets", "a", "specific", "marker", "cluster", "helper", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerCluster/MarkerClusterHelper.php#L98-L105", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.setExtensionHelpers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map extension helpers.\n\n@param array $extensionHelpers The map extension helpers.", "docstring_tokens": ["Sets", "the", "map", "extension", "helpers", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L823-L830", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.getExtensionHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific extension helper.\n\n@param string $name The extension helper name.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the extension helper does not exist.\n\n@return \\Ivory\\GoogleMap\\Helper\\Extension\\ExtensionHelperInterface The extension helper.", "docstring_tokens": ["Gets", "a", "specific", "extension", "helper", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L853-L860", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.removeExtensionHelper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an extension helper.\n\n@param string $name The extension helper name.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the extension helper does not exist.", "docstring_tokens": ["Removes", "an", "extension", "helper", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L880-L887", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderHtmlContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map container.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "map", "container", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L912-L920", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderStylesheets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the html map stylesheets.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "html", "map", "stylesheets", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L929-L944", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJavascripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map javascripts.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "map", "javascripts", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L953-L972", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsLibraries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript libraries.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "javascript", "libraries", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L981-L990", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsBefore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders JS code just before the generated one.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "JS", "code", "just", "before", "the", "generated", "one", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L999-L1008", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders JS code just after the generated one.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "JS", "code", "just", "after", "the", "generated", "one", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1017-L1026", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1035-L1066", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container coordinates.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "coordinates", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1124-L1138", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerBounds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container bounds.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "bounds", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1147-L1161", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerPoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container points.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "points", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1170-L1184", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerSizes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container sizes.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "sizes", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1193-L1207", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1216-L1219", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerCircles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container circles.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "circles", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1228-L1242", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerEncodedPolylines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container encoded polylines.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "encoded", "polylines", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1251-L1265", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerGroundOverlays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container ground overlays.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "ground", "overlays", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1274-L1288", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerPolygons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container polygons.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "polygons", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1297-L1311", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerPolylines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container polylines.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "polylines", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1320-L1334", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerRectangles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container rectangles.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "rectangles", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1343-L1357", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerInfoWindows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container info windows.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "info", "windows", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1366-L1403", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerMarkerImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container maker images.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "maker", "images", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1412-L1426", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerMarkerShapes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container marker shapes.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "marker", "shapes", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1435-L1449", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerMarkerCluster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container marker cluster.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "marker", "cluster", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1458-L1466", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerKMLLayers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container KML layer.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "KML", "layer", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1475-L1489", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerEventManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the javascript container event manager.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "javascript", "container", "event", "manager", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1498-L1539", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderJsContainerExtra", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the js container extra.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "js", "container", "extra", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1548-L1577", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1586-L1621", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderMapCenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map center.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string Ths JS output.", "docstring_tokens": ["Renders", "the", "map", "center", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1630-L1637", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderMapBound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map bound.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "map", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1646-L1653", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the coordinates of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed coordinated.", "docstring_tokens": ["Computes", "the", "coordinates", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1662-L1717", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeBounds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the bounds of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed bounds.", "docstring_tokens": ["Computes", "the", "bounds", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1726-L1747", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computePoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the points of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed points.", "docstring_tokens": ["Computes", "the", "points", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1756-L1783", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeSizes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the sizes of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed sizes.", "docstring_tokens": ["Computes", "the", "sizes", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1792-L1825", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeMarkerImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the marker images of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed marker images.", "docstring_tokens": ["Computes", "the", "marker", "images", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1834-L1849", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeMarkerShapes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the marker shapes of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed marker shapes.", "docstring_tokens": ["Computes", "the", "marker", "shapes", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1858-L1869", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.computeMarkerInfoWindows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes the marker info windows of a map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The computed marker info windows.", "docstring_tokens": ["Computes", "the", "marker", "info", "windows", "of", "a", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1878-L1889", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderMapControls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the map controls in the json builder.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.", "docstring_tokens": ["Renders", "the", "map", "controls", "in", "the", "json", "builder", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1896-L1912", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/MapHelper.php", "func_name": "MapHelper.renderMapControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a map control in the json builder.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n@param string $controlName The control name.\n@param mixed $controlHelper The control helper.", "docstring_tokens": ["Renders", "a", "map", "control", "in", "the", "json", "builder", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/MapHelper.php#L1921-L1948", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid.php", "func_name": "Uuid.v1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID v1 generator.\n\n@since 150424 Initial release.\n\n@param bool $optimize Optimize?\n\n@return string Version 1 UUID (32 bytes optimized).\nOr 36 bytes unoptimized; i.e., w/ dashes.", "docstring_tokens": ["UUID", "v1", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid.php#L40-L53", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid.php", "func_name": "Uuid.v3", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID v3 generator.\n\n@since 150424 Initial release.\n\n@param string $namespace Namespace.\n@param string $identifier Identifier.\n@param bool $optimize Optimize?\n\n@return string Version 3 UUID (32 bytes optimized).\nOr 36 bytes unoptimized; i.e., w/ dashes.\n\n@internal {@link v5()} is a suggested alternative, as this version uses MD5.", "docstring_tokens": ["UUID", "v3", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid.php#L69-L94", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid.php", "func_name": "Uuid.v4", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID v4 generator.\n\n@since 150424 Initial release.\n\n@param bool $optimize Optimize?\n\n@return string Version 4 UUID (32 bytes optimized).\nOr 36 bytes unoptimized; i.e., w/ dashes.", "docstring_tokens": ["UUID", "v4", "generator", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid.php#L106-L111", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Uuid.php", "func_name": "Uuid.v4x2", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "UUID v4 generator x 2.\n\n@since 170824.30708 Initial release.\n\n@param bool $optimize Optimize?\n\n@return string Version 4 UUID x 2 (64 bytes optimized).\nOr 73 bytes unoptimized; i.e., w/ dashes + one extra.", "docstring_tokens": ["UUID", "v4", "generator", "x", "2", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Uuid.php#L123-L129", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Repository.php", "func_name": "Repository.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get module by name.\n\n@param string $name\n\n@return PackageContract\n@throws ModuleNotFoundException", "docstring_tokens": ["Get", "module", "by", "name", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Repository.php#L63-L69", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Repository.php", "func_name": "Repository.each", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run function for each module.\n\n@param callable $callback", "docstring_tokens": ["Run", "function", "for", "each", "module", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Repository.php#L76-L81", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Repository.php", "func_name": "Repository.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter modules.\n\n@param callable $callback\n\n@return Repository", "docstring_tokens": ["Filter", "modules", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Repository.php#L90-L100", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Repository.php", "func_name": "Repository.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add module to repository.\n\n@param PackageContract[] ...$items", "docstring_tokens": ["Add", "module", "to", "repository", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Repository.php#L107-L112", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderRequest.php", "func_name": "GeocoderRequest.setAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder request address.\n\n@param string $address The geocoder request address.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the address is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "request", "address", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderRequest.php#L79-L86", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderRequest.php", "func_name": "GeocoderRequest.setCoordinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder request coordinate\n\nAvailable prototypes:\n- function setCoordinate(\\Ivory\\GoogleMap\\Base\\Coordinate $coordinate = null)\n- function setCoordinate(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the coordinate is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "geocoder", "request", "coordinate"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderRequest.php#L117-L141", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderRequest.php", "func_name": "GeocoderRequest.setBound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder request bound.\n\nAvailable prototypes:\n- function setBound(Ivory\\GoogleMap\\Base\\Bound $bound = null)\n- function setBount(Ivory\\GoogleMap\\Base\\Coordinate $southWest, Ivory\\GoogleMap\\Base\\Coordinate $northEast)\n- function setBound(\ndouble $southWestLatitude,\ndouble $southWestLongitude,\ndouble $northEastLatitude,\ndouble $northEastLongitude,\nboolean southWestNoWrap = true,\nboolean $northEastNoWrap = true\n)\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the bound is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "request", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderRequest.php#L180-L219", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderRequest.php", "func_name": "GeocoderRequest.setRegion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder request region.\n\n@param string $region The geocoder request region.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the regin is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "request", "region", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderRequest.php#L248-L255", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderRequest.php", "func_name": "GeocoderRequest.setLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder request language.\n\n@param string $language The geocoder request language.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the language is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "request", "language", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderRequest.php#L284-L291", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Route.php", "func_name": "Route.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads route file.\n\n@since 161008 Route utilities.\n@since 17xxxx Exit instead of return.\n\n@param array $args Behavioral args.", "docstring_tokens": ["Loads", "route", "file", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Route.php#L36-L58", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Route.php", "func_name": "Route.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets route.\n\n@since 161008 Route utilities.\n\n@param array $args Route instance args.\n\n@return Classes\\Core\\Route Route instance.", "docstring_tokens": ["Gets", "route", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Route.php#L192-L195", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Yaml.php", "func_name": "Yaml.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "YAML parser.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n\n@return array|object Converted value(s).", "docstring_tokens": ["YAML", "parser", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Yaml.php#L39-L57", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/NoCache.php", "func_name": "NoCache.setFlags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set no-cache flags.\n\n@since 160606 No-cache utils.", "docstring_tokens": ["Set", "no", "-", "cache", "flags", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/NoCache.php#L33-L44", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sort.php", "func_name": "Sort.byKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sorts by key.\n\n@since 150424 Array utils.\n\n@param array $array Input array.\n@param int $flags Defaults to `SORT_REGULAR`.\n\n@return array Output array.", "docstring_tokens": ["Sorts", "by", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sort.php#L38-L49", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.method", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current request method.\n\n@since 170824.30708 Current method.\n\n@return string Current method.", "docstring_tokens": ["Current", "request", "method", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L68-L74", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.scheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current scheme; lowercase.\n\n@since 150424 Initial release.\n\n@return string Current scheme; lowercase.", "docstring_tokens": ["Current", "scheme", ";", "lowercase", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L83-L89", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.host", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current host name; lowercase.\n\n@since 150424 Initial release.\n\n@param bool $with_port With port number?\n\n@return string Current host name; lowercase.", "docstring_tokens": ["Current", "host", "name", ";", "lowercase", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L100-L111", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.rootHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current root host name; lowercase.\n\n@since 151002 Adding root host support.\n\n@param bool $with_port With port number?\n\n@return string Current root host name; lowercase.", "docstring_tokens": ["Current", "root", "host", "name", ";", "lowercase", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L137-L146", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.isSsl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is an SSL scheme?\n\n@since 150424 Initial release.\n\n@return bool Is an SSL scheme?", "docstring_tokens": ["Is", "an", "SSL", "scheme?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L233-L254", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlCurrent.php", "func_name": "UrlCurrent.isLocalhost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current URL is on a localhost?\n\n@since 150424 Initial release.\n\n@return bool `TRUE` if current URL is on a localhost.", "docstring_tokens": ["Current", "URL", "is", "on", "a", "localhost?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlCurrent.php#L263-L274", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderGeometry.php", "func_name": "GeocoderGeometry.setLocationType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geometry location type.\n\n@param string $locationType The geometry location type.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the location type is not valid.", "docstring_tokens": ["Sets", "the", "geometry", "location", "type", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderGeometry.php#L91-L98", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RegexEscape.php", "func_name": "RegexEscape.m0EscNoVws", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Matches zero or more escapable chars,\nand anything that's not vertical whitespace.\n\n@since 170211.63148 Markdown enhancements.\n\n@param string $escapable_chars Escapable chars.\n@param bool $ungreedy Ungreedy matching?\n\n@return string Regex fragment suitable for `preg_*()`.", "docstring_tokens": ["Matches", "zero", "or", "more", "escapable", "chars", "and", "anything", "that", "s", "not", "vertical", "whitespace", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RegexEscape.php#L65-L69", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsStatus.php", "func_name": "DirectionsStatus.getDirectionsStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available directions status.\n\n@return array The available directions status.", "docstring_tokens": ["Gets", "the", "available", "directions", "status", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsStatus.php#L46-L58", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/OverloadMembers.php", "func_name": "OverloadMembers.overloadData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current overload data.\n\n@since 17xxxx Overload conditional.\n\n@return array Current overload data.", "docstring_tokens": ["Current", "overload", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/OverloadMembers.php#L218-L225", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/OverloadMembers.php", "func_name": "OverloadMembers.overloadPropertyData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overload property data.\n\n@since 17xxxx Enhance overload utils.\n\n@return array Overload property data.", "docstring_tokens": ["Overload", "property", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/OverloadMembers.php#L246-L255", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/OverloadMembers.php", "func_name": "OverloadMembers.writableOverloadPropertyData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writable overload property data.\n\n@since 17xxxx Enhance overload utils.\n\n@return array Writable overload property data.", "docstring_tokens": ["Writable", "overload", "property", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/OverloadMembers.php#L276-L285", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/OverloadMembers.php", "func_name": "OverloadMembers.overload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup overloads.\n\n@since 150424 Initial release.\n\n@param array|object $properties Property(s).\n\n@internal This will overload properties by reference.\nObject properties can be set as writable or not writable.\n-\n@internal Property names can be overloaded to provide public or JSON access.\nOverloaded object property names can be set as writable or not writable.\n\n@param bool $writable Overloaded properties are writable?", "docstring_tokens": ["Setup", "overloads", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/OverloadMembers.php#L314-L352", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/CliOs.php", "func_name": "CliOs.openUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open a URL from the command line.\n\n@since 150424 Initial release.\n\n@param string $url The URL to open.", "docstring_tokens": ["Open", "a", "URL", "from", "the", "command", "line", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/CliOs.php#L51-L67", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerImage.php", "func_name": "MarkerImage.setAnchor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the anchor of the marker image\n\nAvailable prototypes:\n- function setAnchor(Ivory\\GoogleMap\\Base\\Point $anchor = null)\n- function setAnchor(double x, double y)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the anchor is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "anchor", "of", "the", "marker", "image"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerImage.php#L127-L145", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerImage.php", "func_name": "MarkerImage.setOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the origin of the marker image\n\nAvailable prototypes:\n- function setOrigin(Ivory\\GoogleMap\\Base\\Point $origin = null)\n- function setOrigin(double x, double y)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the origin is not valid.", "docstring_tokens": ["Sets", "the", "origin", "of", "the", "marker", "image"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerImage.php#L176-L194", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerImage.php", "func_name": "MarkerImage.setScaledSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the scaled size of the marker image\n\nAvailable prototypes:\n- function setScaledSize(Ivory\\GoogleMap\\Base\\Size $scaledSize = null)\n- function setScaledSize(double $width, double $height, string $widthUnit = null, string $heightUnit = null)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the scaled size is not valid.", "docstring_tokens": ["Sets", "the", "scaled", "size", "of", "the", "marker", "image"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerImage.php#L225-L251", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerImage.php", "func_name": "MarkerImage.setSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the size of the marker image.\n\nAvailable prototypes:\n- function setSize(Ivory\\GoogleMap\\Base\\Size $size = null)\n- function setSize(double $width, double $height, string $widthUnit = null, string $heightUnit = null)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the size is not valid.", "docstring_tokens": ["Sets", "the", "size", "of", "the", "marker", "image", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerImage.php#L282-L308", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/InfoWindowHelper.php", "func_name": "InfoWindowHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an info window.\n\n@param \\Ivory\\GoogleMap\\Overlays\\InfoWindow $infoWindow The info window.\n@param boolean $renderPosition TRUE if the position is rendered else FALSE.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "info", "window", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/InfoWindowHelper.php#L34-L43", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/InfoWindowHelper.php", "func_name": "InfoWindowHelper.renderOpen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the info window open flag.\n\n@param \\Ivory\\GoogleMap\\Overlays\\InfoWindow $infoWindow The info window.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n@param \\Ivory\\GoogleMap\\Overlays\\Marker $marker The marker.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "the", "info", "window", "open", "flag", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/InfoWindowHelper.php#L54-L66", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/InfoWindowHelper.php", "func_name": "InfoWindowHelper.doRender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures the json builder in order to render an info window.\n\n@param \\Ivory\\GoogleMap\\Helper\\Overlays\\InfoWinfow $infoWindow The info window.\n@param boolean $renderPosition TRUE if the position is rendered else FALSE.", "docstring_tokens": ["Configures", "the", "json", "builder", "in", "order", "to", "render", "an", "info", "window", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/InfoWindowHelper.php#L74-L93", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Managers/Modules.php", "func_name": "Modules.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register module providers.\n\n@param Application $app", "docstring_tokens": ["Register", "module", "providers", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Managers/Modules.php#L96-L109", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Managers/Modules.php", "func_name": "Modules.asset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get module asset.\n\n@param string $module\n@param string $path\n@param null $secure\n\n@return string", "docstring_tokens": ["Get", "module", "asset", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Managers/Modules.php#L120-L127", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/Managers/Modules.php", "func_name": "Modules.loadRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load modules routes.\n\n@param string $scope", "docstring_tokens": ["Load", "modules", "routes", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/Managers/Modules.php#L150-L174", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/PhpHas.php", "func_name": "PhpHas.callableFunc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is function callable?\n\n@since 150424 Initial release.\n\n@param string $function A PHP function.\n\n@return bool True if the function is callable.\n\n@internal This checks (among other things) if the function exists and that it's callable.\nIt also checks INI `disable_functions` & `suhosin.executor.func.blacklist`.\nIn addition, it also checks `suhosin.executor.disable_eval`.", "docstring_tokens": ["Is", "function", "callable?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/PhpHas.php#L75-L112", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/GroundOverlayHelper.php", "func_name": "GroundOverlayHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a ground overlay.\n\n@param \\Ivory\\GoogleMap\\Overlays\\GroundOverlay $groundOverlay The ground overlay.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "ground", "overlay", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/GroundOverlayHelper.php#L33-L47", "partition": "test"} +{"repo": "engraving/framework", "path": "src/Emitter/EchoEmitter.php", "func_name": "EchoEmitter.emit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Emit the response.\n\n@param ResponseInterface $response\n\n@return void", "docstring_tokens": ["Emit", "the", "response", "."], "sha": "75da737283eca2f1523cbc3e989632a0d30578b4", "url": "https://github.com/engraving/framework/blob/75da737283eca2f1523cbc3e989632a0d30578b4/src/Emitter/EchoEmitter.php#L18-L40", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a cache sub-key.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to set.\n@param mixed $value New cache key value.\n\n@return mixed|null Value (by reference) for the cache sub-key.\n\n@internal Returns by reference. The use of `&` is highly recommended when calling this utility.\nSee also: ", "docstring_tokens": ["Set", "a", "cache", "sub", "-", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L51-L59", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cache sub-key.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to get.\n\n@return mixed|null Value (by reference) for the cache sub-key.\n\n@internal Returns by reference. The use of `&` is suggested when calling this utility.\nSee also: ", "docstring_tokens": ["Get", "a", "cache", "sub", "-", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L74-L87", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.cacheUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a cache sub-key.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string|int $sub_key Sub-key to unset.", "docstring_tokens": ["Unset", "a", "cache", "sub", "-", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L97-L105", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.cacheUnsetPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a cache sub-key pattern.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string $sub_key_pattern Sub-key pattern (watered-down regex).", "docstring_tokens": ["Unset", "a", "cache", "sub", "-", "key", "pattern", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L115-L135", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.cacheAddByRef", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new cache ref-key.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string|int $ref_key Ref-key to set.\n@param mixed $value New value (by reference).", "docstring_tokens": ["Add", "a", "new", "cache", "ref", "-", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L146-L150", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.cacheUnsetByRef", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a cache ref-key.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string|int $ref_key Ref-key to unset.", "docstring_tokens": ["Unset", "a", "cache", "ref", "-", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L160-L171", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/traits/CacheMembers.php", "func_name": "CacheMembers.cacheUnsetByRefPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a cache ref-key pattern.\n\n@since 150424 Initial release.\n\n@param string $primary_key Primary key.\n@param string $ref_key_pattern Ref-key pattern (watered-down regex).", "docstring_tokens": ["Unset", "a", "cache", "ref", "-", "key", "pattern", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/traits/CacheMembers.php#L181-L200", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/MapTypeControlHelper.php", "func_name": "MapTypeControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a map type control.\n\n@param \\Ivory\\GoogleMap\\Controls\\MapTypeControl $mapTypeControl The map type control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "map", "type", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/MapTypeControlHelper.php#L134-L158", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Escape.php", "func_name": "Escape.sq", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape single-quote.\n\n@since 160708 Quotes.\n\n@param mixed $value Input value.\n\n@return string|array|object Output value.", "docstring_tokens": ["Escape", "single", "-", "quote", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Escape.php#L37-L46", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Escape.php", "func_name": "Escape.singleQuote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Single-quote encapsulation.\n\n@since 160708 Quotes.\n\n@param mixed $value Input value.\n@param bool $maybe_use_sld Maybe; i.e., detect string-literals?\n\n@return string|array|object Output value.\n\n--- When `$maybe_use_sld` = `true` ...\n\nString literals are detected automatically; e.g., `'an already-quoted string'`.\n\n@note This trims existing 'single' and/or \"double\" quoted encapsulations before quoting again.\nFor that reason, escaped quotes inside an already-quoted string are always escaped again.\nSo if you're going to quote a string literal, you should NOT escape inner quotes.\n\ne.g., `'Here's a good example, don't escape inner quotes.'`.\n\n@note This function is used by our Simple Expression parser.", "docstring_tokens": ["Single", "-", "quote", "encapsulation", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Escape.php#L70-L95", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Escape.php", "func_name": "Escape.doubleQuote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Double-quote encapsulation.\n\n@since 160708 Quotes.\n\n@param mixed $value Input value.\n@param bool $for_csv Changes quote-style for CSV compat.\nCSV quoting requires the use of a double-quote as the escape char.\n\n@return string|array|object Output value.\n\n@WARNING Double-quotes, in most languages, result in evaluation.", "docstring_tokens": ["Double", "-", "quote", "encapsulation", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Escape.php#L130-L139", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/MapTypeControlStyleHelper.php", "func_name": "MapTypeControlStyleHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a map type control style.\n\n@param string $mapTypeControlStyle The map type control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the map type control style is not valid.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "map", "type", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/MapTypeControlStyleHelper.php#L33-L43", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/BusinessAccount.php", "func_name": "BusinessAccount.signUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sign an url for business purpose.\n\n@param string $url The url.\n\n@return string The signed url.", "docstring_tokens": ["Sign", "an", "url", "for", "business", "purpose", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/BusinessAccount.php#L121-L137", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/SearchTerms.php", "func_name": "SearchTerms.getHighlighter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get search highlighter.\n\n@since 161006 Search terms.\n\n@param string $q Input search query.\n@param array $args Additional arguments.\n\n@return Classes\\Core\\SearchTermHighlighter Instance.", "docstring_tokens": ["Get", "search", "highlighter", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/SearchTerms.php#L38-L41", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sha1Mod.php", "func_name": "Sha1Mod.shardId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SHA-1 modulus shard ID.\n\n@since 150424 SHA-1 modulus.\n\n@param string $string String or a SHA-1 hash.\n@param bool $is_sha1 String is already a SHA-1 hash?\n@param int $total_shards Total shards; defaults to `65536`.\n\n@return int SHA-1 modulus; i.e., a shard ID.\n\n@internal Shard IDs are always zero-based, because a modulus will never be >= to the divisor.\nIf `$total_shards is `65536`, min shard ID is `0`, max shard ID is `65535`.", "docstring_tokens": ["SHA", "-", "1", "modulus", "shard", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sha1Mod.php#L92-L95", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sha1Mod.php", "func_name": "Sha1Mod.assignShardId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign shard ID.\n\n@since 150424 SHA-1 modulus.\n\n@param string $string String or a SHA-1 hash.\n@param bool $is_sha1 String is already a SHA-1 hash?\n\n@return int Assigned shard ID; based on `sha1($string)`.\n\n@internal This one is based on the actual number of configured shards;\ni.e., not on the upper limit of the shard ID itself. `65536` is not used here.", "docstring_tokens": ["Assign", "shard", "ID", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sha1Mod.php#L110-L116", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsStep.php", "func_name": "DirectionsStep.setTravelMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the step travel mode.\n\n@param string $travelMode The step travel mode.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the travel mode is not valid.", "docstring_tokens": ["Sets", "the", "step", "travel", "mode", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsStep.php#L222-L229", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Assets/AbstractJavascriptVariableAsset.php", "func_name": "AbstractJavascriptVariableAsset.setPrefixJavascriptVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the prefix of the javascript variable.\n\n@param string $prefixJavascriptVariable The prefix of the javascript variable.\n\n@throws \\Ivory\\GoogleMap\\Exception\\AssetException If the prefix javascript variable is not valid.", "docstring_tokens": ["Sets", "the", "prefix", "of", "the", "javascript", "variable", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Assets/AbstractJavascriptVariableAsset.php#L45-L52", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Country.php", "func_name": "Country.selectOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select menu options.\n\n@since 170329.13807 Country utils.\n\n@param string $selected Selected value.\n@param array $args Any behavioral args.\n\n@return string HTML markup.", "docstring_tokens": ["Select", "menu", "options", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Country.php#L63-L90", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Country.php", "func_name": "Country.dropdownItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dropdown menu items.\n\n@since 170329.13807 Country utils.\n\n@param string $active Active value.\n@param array $args Any behavioral args.\n\n@return string HTML markup.", "docstring_tokens": ["Dropdown", "menu", "items", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Country.php#L102-L133", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/StreetViewControlHelper.php", "func_name": "StreetViewControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the street view control\n\n@param Ivory\\GoogleMapBundle\\Model\\Controls\\StreetViewControl $streetViewControl\n@return string HTML output", "docstring_tokens": ["Renders", "the", "street", "view", "control"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/StreetViewControlHelper.php#L69-L79", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Eols.php", "func_name": "Eols.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes end of line chars deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param bool $compress Compress `\\n{3,}` into `\\n\\n`?\n\n@return string|array|object With normalized end of line chars deeply.", "docstring_tokens": ["Normalizes", "end", "of", "line", "chars", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Eols.php#L38-L53", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RegexPattern.php", "func_name": "RegexPattern.in", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a regex pattern against other values.\n\n@since 150424 Initial release.\n\n@param string $regex A regular expression.\n@param mixed $value Any value can be converted into a string before comparison.\nActually, objects can't, but this recurses into objects.\n@param bool $collect_key_props Collect array keys and/or object properties?\n\n@return bool|array Will return `true` if regex pattern finds a match.\nIf `$collect_key_props` is `true`; returns array.", "docstring_tokens": ["Match", "a", "regex", "pattern", "against", "other", "values", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RegexPattern.php#L41-L76", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/HtmlWhitespace.php", "func_name": "HtmlWhitespace.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes HTML whitespace deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param bool $compress Compress `\\n{3,}` into 2?\n\n@return string|array|object With normalized HTML whitespace deeply.", "docstring_tokens": ["Normalizes", "HTML", "whitespace", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/HtmlWhitespace.php#L38-L56", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WRegx.php", "func_name": "WRegx.bracketSpecialChars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bracket special chars.\n\n@since 170124.74961 New name. Old name `bracket()`.\n@since 170124.74961 Adding `$will_force_match_all` param.\n\n@param mixed $value Input value(s) to bracket here.\n@param bool $will_force_match_all If true, don't treat `^$` as special chars.\n\n@return string|array|object Bracketed value(s).", "docstring_tokens": ["Bracket", "special", "chars", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WRegx.php#L164-L181", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WRegx.php", "func_name": "WRegx.urlToUriPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "URL to WRegx URI pattern.\n\n@since 160428 Watered-down regex.\n@since 170124.74961 Adding `$will_force_match_all` param.\n@since 170124.74961 Fixing bug in query string wildcard pattern.\n\n@param mixed $value Input value(s) containing:\nURLs, URIs, or query strings w/ a leading `?`.\n@param bool $will_force_match_all If true, don't treat `^$` as special chars.\n\n@return string WRegx URI pattern, else an empty string if unable to parse.\n\n- This considers all possible `/endpoints` after the base.\nIncluding the possibility of there being `index.php/path/info/`.\n\n- If a URI contains multiple query string variables,\nthe best we can do is `{&**&,&}` (searching in the order given).\n\n- In the case of a root URI or empty path, this returns a pattern\nmatching any path [/endpoints] & query string; i.e., matches all URIs.\nThis will also be true if only a query string is given. Path is empty.", "docstring_tokens": ["URL", "to", "WRegx", "URI", "pattern", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WRegx.php#L206-L244", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Size.php", "func_name": "Size.setWidthUnit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the width unit size.\n\n@param string $widthUnit The width unit size.\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the width unit is not valid.", "docstring_tokens": ["Sets", "the", "width", "unit", "size", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Size.php#L135-L142", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Size.php", "func_name": "Size.setHeightUnit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the height unit size.\n\n@param string $heightUnit The height unit size.\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the height unit is not valid.", "docstring_tokens": ["Sets", "the", "height", "unit", "size", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Size.php#L161-L168", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Defuse.php", "func_name": "Defuse.keygen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defuse keygen.\n\n@since 170309.60830 Defuse.\n\n@return string Defuse key.\n@note Keys begin w/ `def00000`.", "docstring_tokens": ["Defuse", "keygen", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Defuse.php#L39-L49", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sha256.php", "func_name": "Sha256.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a SHA-256 hash?\n\n@since 17xxxx SHA-1 utils.\n\n@param mixed $value Value.\n\n@return bool True if a SHA-256 hash.", "docstring_tokens": ["Is", "a", "SHA", "-", "256", "hash?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sha256.php#L37-L49", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.strip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stripe query string.\n\n@since 150424 Initial release.\n\n@param string $url_uri_qsl Input URL, URI, or query string w/ a leading `?`.\n\n@return string Input `$url_uri_qsl` without a query string.", "docstring_tokens": ["Stripe", "query", "string", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L46-L55", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Array from query vars.\n\n@since 150424 Initial release.\n\n@param string $qs_url_uri A query string (w/ or w/o a leading `?`), a URL, or URI.\n\n@return array An array of args; based on the `$qs_url_uri` value.", "docstring_tokens": ["Array", "from", "query", "vars", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L66-L74", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a URL-encoded query string.\n\n@since 150424 Initial release.\n\n@param array $args Input array of query args.\n@param null|string $numeric_prefix Defaults to an empty string.\n@param string $arg_separator Defaults to `&`. Empty = INI `arg_separator.output`.\n@param int $enc_type Defaults to {@link PHP_QUERY_RFC1738} indicating `urlencode()`.\nOr, {@link PHP_QUERY_RFC3986} indicating `rawurlencode()`.\n\n@return string A (possibly raw) URL-encoded query string (w/o a leading `?`).", "docstring_tokens": ["Build", "a", "URL", "-", "encoded", "query", "string", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L89-L98", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.addSha256Sig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a signature.\n\n@since 150424 Initial release.\n\n@param string $url_uri_qsl Input URL, URI, or query string w/ a leading `?`.\n@param string $key Encryption key (optional).\n@param string $sig_var Defaults to `sig`.\n\n@return string The `$url_uri_qsl` w/ a signature var.", "docstring_tokens": ["Adds", "a", "signature", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L162-L169", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.removeSha256Sig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a signature.\n\n@since 150424 Initial release.\n\n@param string $url_uri_qsl Input URL, URI, or query string w/ a leading `?`.\n@param string $sig_var Defaults to `sig`.\n\n@return string The `$url_uri_qsl` w/o a signature.", "docstring_tokens": ["Removes", "a", "signature", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L181-L187", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlQuery.php", "func_name": "UrlQuery.sha256SigOk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks a signature.\n\n@since 150424 Initial release.\n\n@param string $qs_url_uri A query string (w/ or w/o a leading `?`), a URL, or URI.\n@param string $key Encryption key (optional).\n@param string $sig_var Defaults to `sig`.\n\n@return bool True if a valid signature exists.", "docstring_tokens": ["Checks", "a", "signature", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlQuery.php#L200-L207", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerShape.php", "func_name": "MarkerShape.setCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker shape coordinates.\n\n@param array $coordinates The marker shape coordinates.\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the coordinates are not valid according to the type.", "docstring_tokens": ["Sets", "the", "marker", "shape", "coordinates", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerShape.php#L111-L151", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/MarkerShape.php", "func_name": "MarkerShape.addPolyCoordinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a coordinate to the marker shape if the type is poly.\n\n@param integer $x The X coordinate.\n@param integer $y The Y coordinate.\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the type is not poly or if the poly coordinate is not\nvalid.", "docstring_tokens": ["Adds", "a", "coordinate", "to", "the", "marker", "shape", "if", "the", "type", "is", "poly", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/MarkerShape.php#L162-L174", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Stripe.php", "func_name": "Stripe.customer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get, update, or create customer.\n\n@since 170329.13807 Stripe utils.\n\n@param string|array $args ID or args.\n\n@return Customer|Error Customer on success.", "docstring_tokens": ["Get", "update", "or", "create", "customer", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Stripe.php#L72-L147", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Stripe.php", "func_name": "Stripe.updateCustomer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update existing customer.\n\n@since 170329.13807 Stripe utils.\n\n@param array $args Arguments.\n@param Customer|null $Customer Instance (optional).\n\n@return Customer|Error Customer on success.", "docstring_tokens": ["Update", "existing", "customer", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Stripe.php#L159-L232", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Stripe.php", "func_name": "Stripe.unitAmount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Smallest currency unit.\n\n@since 170329.13807 Stripe utils.\n\n@param float $amount Amount.\n@param string $currency Currency code.\n\n@return int Amount represented as an integer (always).\n\n@see Units explained here ", "docstring_tokens": ["Smallest", "currency", "unit", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Stripe.php#L519-L542", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/OAuth/Server/Repositories/ScopeRepository.php", "func_name": "ScopeRepository.getScopeEntityByIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get scope entity.\n\n@since 17xxxx OAuth scope repository.\n\n@param string $identifier Identifier.\n\n@return ScopeEntity|null Scope entity.", "docstring_tokens": ["Get", "scope", "entity", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/OAuth/Server/Repositories/ScopeRepository.php#L54-L59", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/ScaleControlHelper.php", "func_name": "ScaleControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a scale control.\n\n@param \\Ivory\\GoogleMap\\Controls\\ScaleControl $scaleControl The scale control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "scale", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/ScaleControlHelper.php#L104-L111", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.generateUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates geocoding URL according to the request.\n\n@param \\Ivory\\GoogleMap\\Services\\Geocoding\\GeocoderRequest $geocoderRequest The geocoder request.\n\n@return string The generated URL.", "docstring_tokens": ["Generates", "geocoding", "URL", "according", "to", "the", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L252-L289", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.buildGeocoderResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the geocoder results accordint to a normalized geocoding results.\n\n@param \\stdClass $geocoderResponse The normalized geocder response.\n\n@return \\Ivory\\GoogleMap\\Services\\Geocoding\\Result\\GeocoderResponse The builded geocoder response.", "docstring_tokens": ["Builds", "the", "geocoder", "results", "accordint", "to", "a", "normalized", "geocoding", "results", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L360-L370", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.buildGeocoderResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a geocoder result according to a normalized geocoding result.\n\n@param \\stdClass $geocoderResult The normalized geocoder result.\n\n@return \\Ivory\\GoogleMap\\Services\\Geocoding\\Result\\GeocoderResult The builded geocoder result.", "docstring_tokens": ["Builds", "a", "geocoder", "result", "according", "to", "a", "normalized", "geocoding", "result", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L379-L388", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.buildGeocoderAddressComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the gecoder address components according to a normalized geocoding address components.\n\n@param array $geocoderAddressComponents The normalized geocoder address components.\n\n@return array The builded geocoder address components.", "docstring_tokens": ["Builds", "the", "gecoder", "address", "components", "according", "to", "a", "normalized", "geocoding", "address", "components", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L397-L406", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.buildGeocoderAddressComponent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a geocoder address component according to a normalized geocoding address component.\n\n@param \\stdClass $geocoderAddressComponent The normalized geocoder address component.\n\n@return \\Ivory\\GoogleMap\\Services\\Geocoding\\Result\\GeocoderAddressComponent The builded geocoder address\ncomponent.", "docstring_tokens": ["Builds", "a", "geocoder", "address", "component", "according", "to", "a", "normalized", "geocoding", "address", "component", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L416-L423", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/GeocoderProvider.php", "func_name": "GeocoderProvider.buildGeocoderGeometry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a geocoder geometry according to a normalized geocoding geometry.\n\n@param \\stdClass $geocoderGeometry The normalized geocoder geomety.\n\n@return \\Ivory\\GoogleMap\\Services\\Geocoding\\Result\\GeocoderGeometry The builded geocoder geometry.", "docstring_tokens": ["Builds", "a", "geocoder", "geometry", "according", "to", "a", "normalized", "geocoding", "geometry", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/GeocoderProvider.php#L432-L455", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the given request.\n\nAvailable prototypes:\n- function process(array $origins, array $destinations)\n- function process(Ivory\\GoogleMap\\Services\\DistanceMatrix\\DistanceMatrixRequest $request)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException If the request is not valid (prototypes).", "docstring_tokens": ["Processes", "the", "given", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L47-L70", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.generateUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates distance matrix URL API according to the request.\n\n@param \\Ivory\\GoogleMap\\Services\\DistanceMatrix\\DistanceMatrixRequest $distanceMatrixRequest The distance matrix request.\n\n@return string The generated URL.", "docstring_tokens": ["Generates", "distance", "matrix", "URL", "API", "according", "to", "the", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L79-L142", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses & normalizes the distance matrix API result response.\n\n@param string $response The distance matrix API response.\n\n@return \\stdClass The parsed & normalized distance matrix response.", "docstring_tokens": ["Parses", "&", "normalizes", "the", "distance", "matrix", "API", "result", "response", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L151-L158", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.buildDistanceMatrixResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the distance matrix response according to the normalized distance matrix API results.\n\n@param \\stdClass $distanceMatrixResponse The normalized distance matrix response.\n\n@return \\Ivory\\GoogleMap\\Services\\DistanceMatrix\\DistanceMatrixResponse The built distance matrix response.", "docstring_tokens": ["Builds", "the", "distance", "matrix", "response", "according", "to", "the", "normalized", "distance", "matrix", "API", "results", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L198-L206", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.buildDistanceMatrixRows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the distance matrix response rows according to the normalized distance matrix API results.\n\n@param array $rows The normalized distance matrix response rows.\n\n@return array The built distance matrix response rows.", "docstring_tokens": ["Builds", "the", "distance", "matrix", "response", "rows", "according", "to", "the", "normalized", "distance", "matrix", "API", "results", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L215-L224", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.buildDistanceMatrixRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a distance matrix response row according to the normalized distance matrix API response row.\n\n@param \\stdClass $row The normalized distance matrix response row.\n\n@return \\Ivory\\GoogleMap\\Services\\DistanceMatrix\\DistanceMatrixResponseRow The built distance matrix response row.", "docstring_tokens": ["Builds", "a", "distance", "matrix", "response", "row", "according", "to", "the", "normalized", "distance", "matrix", "API", "response", "row", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L233-L242", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrix.php", "func_name": "DistanceMatrix.buildDistanceMatrixResponseElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a distance matrix response element according to the normalized distance matrix API response elements.\n\n@param \\stdClass $element The normalized distance matrix response element.\n\n@return \\Ivory\\GoogleMap\\Services\\DistanceMatrix\\DistanceMatrixResponseElement The built distance matrix response element.", "docstring_tokens": ["Builds", "a", "distance", "matrix", "response", "element", "according", "to", "the", "normalized", "distance", "matrix", "API", "response", "elements", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrix.php#L251-L263", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Base/PointHelper.php", "func_name": "PointHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a point.\n\n@param \\Ivory\\GoogleMap\\Base\\Point $point The point.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "point", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Base/PointHelper.php#L30-L38", "partition": "test"} +{"repo": "webignition/internet-media-type", "path": "src/Parser/Parser.php", "func_name": "Parser.getParameterStrings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get collection of string representations of each parameter\n\n@param string $parameterString\n\n@return string[]", "docstring_tokens": ["Get", "collection", "of", "string", "representations", "of", "each", "parameter"], "sha": "cd797dfc3a43099d3caf2feee7ff8c000bb121af", "url": "https://github.com/webignition/internet-media-type/blob/cd797dfc3a43099d3caf2feee7ff8c000bb121af/src/Parser/Parser.php#L132-L144", "partition": "test"} +{"repo": "webignition/internet-media-type", "path": "src/Parser/Parser.php", "func_name": "Parser.getParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a collection of Parameter objects from a collection of string\nrepresentations of the same\n\n@param array $parameterStrings\n\n@return ParameterInterface[]\n\n@throws AttributeParserException", "docstring_tokens": ["Get", "a", "collection", "of", "Parameter", "objects", "from", "a", "collection", "of", "string", "representations", "of", "the", "same"], "sha": "cd797dfc3a43099d3caf2feee7ff8c000bb121af", "url": "https://github.com/webignition/internet-media-type/blob/cd797dfc3a43099d3caf2feee7ff8c000bb121af/src/Parser/Parser.php#L156-L164", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current request headers.\n\n@since 170824.30708 Current request headers.\n\n@return array Unique/associative array of all headers.", "docstring_tokens": ["Current", "request", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L35-L51", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.yesCacheSend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send yes-cache headers.\n\n@since 17xxxx Yes-cache headers.\n\n@param int $expires_after Expires after (seconds).", "docstring_tokens": ["Send", "yes", "-", "cache", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L94-L104", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.noCacheSend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send no-cache headers.\n\n@since 17xxxx No-cache headers.", "docstring_tokens": ["Send", "no", "-", "cache", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L111-L121", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.getStatusSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get slug for status code.\n\n@since 170824.30708 Adding status slug utility.\n\n@param int $status The HTTP status code.\n\n@return string Status slug for code.", "docstring_tokens": ["Get", "slug", "for", "status", "code", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L132-L135", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.getStatusMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get message for status code.\n\n@since 17xxxx Status message utility.\n\n@param int $status The HTTP status code.\n\n@return string Status message for code.", "docstring_tokens": ["Get", "message", "for", "status", "code", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L160-L163", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.sendStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Status header.\n\n@since 151121 Header utilities.\n\n@param int $status Status code.\n@param string $protocol Protocol.", "docstring_tokens": ["Status", "header", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L173-L182", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Headers.php", "func_name": "Headers.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses headers.\n\n@since 151121 Header utilities.\n\n@param mixed $value Input value w/ headers.\n\n@return array Unique/associative array of all headers.", "docstring_tokens": ["Parses", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Headers.php#L193-L222", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/PhpStrip.php", "func_name": "PhpStrip.tags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strips PHP tags.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n\n@return string|array|object Output value.", "docstring_tokens": ["Strips", "PHP", "tags", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/PhpStrip.php#L37-L58", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/ModuleProvider.php", "func_name": "ModuleProvider.registerMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register migrations.", "docstring_tokens": ["Register", "migrations", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/ModuleProvider.php#L67-L74", "partition": "test"} +{"repo": "rabbitcms/modules", "path": "src/ModuleProvider.php", "func_name": "ModuleProvider.registerTrans", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register translations.", "docstring_tokens": ["Register", "translations", "."], "sha": "fbd0d54918779929f6af2840ba20d88f0ca12d95", "url": "https://github.com/rabbitcms/modules/blob/fbd0d54918779929f6af2840ba20d88f0ca12d95/src/ModuleProvider.php#L93-L102", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/InfoWindow.php", "func_name": "InfoWindow.setPixelOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the pixel offset.\n\nAvailable prototypes:\n- function setPixelOffset(Ivory\\GoogleMap\\Base\\Size $scaledSize)\n- function setPixelOffset(double $width, double $height, string $widthUnit = null, string $heightUnit = null)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the pixel offset is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "pixel", "offset", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/InfoWindow.php#L162-L188", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/InfoWindow.php", "func_name": "InfoWindow.setOpenEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the info window open event.\n\n@param string $openEvent The info window open event.\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the open event is not valid.", "docstring_tokens": ["Sets", "the", "info", "window", "open", "event", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/InfoWindow.php#L285-L292", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/PanControlHelper.php", "func_name": "PanControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a pan control.\n\n@param \\Ivory\\GoogleMap\\Controls\\PanControl $panControl The pan control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "pan", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/PanControlHelper.php#L70-L76", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Events/MouseEvent.php", "func_name": "MouseEvent.getMouseEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available mouse events.\n\n@return array The mouse events.", "docstring_tokens": ["Gets", "the", "available", "mouse", "events", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Events/MouseEvent.php#L43-L53", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/MapTypeControl.php", "func_name": "MapTypeControl.setMapTypeIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map type IDs.\n\n@param array $mapTypeIds The map type IDs.", "docstring_tokens": ["Sets", "the", "map", "type", "IDs", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/MapTypeControl.php#L66-L73", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/MapTypeControl.php", "func_name": "MapTypeControl.addMapTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map type ID.\n\n@param string $mapTypeId The map type ID to add.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the map type ID is not valid.", "docstring_tokens": ["Add", "a", "map", "type", "ID", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/MapTypeControl.php#L82-L91", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Controls/MapTypeControl.php", "func_name": "MapTypeControl.setMapTypeControlStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map type control style.\n\n@param type $mapTypeControlStyle The map type control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\ControlException If the map type control style is not valid.", "docstring_tokens": ["Sets", "the", "map", "type", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Controls/MapTypeControl.php#L136-L143", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Cookie.php", "func_name": "Cookie.setUe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets an unencrypted cookie.\n\n@param string $name Name of the cookie.\n@param string $value Cookie value (empty to delete).\n@param int|null $expires_after Time (in seconds) this cookie should last for.\n@param string|null $path Path to set the cookie for.\n@param string|null $domain Domain name to set the cookie for.\n@param bool|null $secure Over SSL access only?\n@param bool|null $http_only HTTP only access?", "docstring_tokens": ["Sets", "an", "unencrypted", "cookie", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Cookie.php#L106-L136", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Cookie.php", "func_name": "Cookie.getUe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an unencrypted cookie value.\n\n@param string $name Name of the cookie.\n\n@return string Cookie value.", "docstring_tokens": ["Gets", "an", "unencrypted", "cookie", "value", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Cookie.php#L167-L176", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Events/EventManagerHelper.php", "func_name": "EventManagerHelper.renderDomEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a dom event.\n\n@param \\Ivory\\GoogleMap\\Events\\Event $domEvent The dom event.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "dom", "event", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Events/EventManagerHelper.php#L30-L40", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Events/EventManagerHelper.php", "func_name": "EventManagerHelper.renderDomEventOnce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a dom event once.\n\n@param \\Ivory\\GoogleMap\\Events\\Event $domEventOnce The dom event once.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "dom", "event", "once", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Events/EventManagerHelper.php#L49-L59", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Events/EventManagerHelper.php", "func_name": "EventManagerHelper.renderEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an event.\n\n@param \\Ivory\\GoogleMap\\Events\\Event $event The event.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "event", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Events/EventManagerHelper.php#L68-L77", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Events/EventManagerHelper.php", "func_name": "EventManagerHelper.renderEventOnce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an event once.\n\n@param \\Ivory\\GoogleMap\\Events\\Event $eventOnce The event once.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "event", "once", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Events/EventManagerHelper.php#L86-L95", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/AnimationHelper.php", "func_name": "AnimationHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an animation.\n\n@param string $animation The animation.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the animation is not valid.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "animation", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/AnimationHelper.php#L33-L42", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/ZoomControlHelper.php", "func_name": "ZoomControlHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a zoom control.\n\n@param \\Ivory\\GoogleMap\\Controls\\ZoomControl $zoomControl The zoom control.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "zoom", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/ZoomControlHelper.php#L104-L111", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/ExecTime.php", "func_name": "ExecTime.max", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Max execution time.\n\n@since 150424 Initial release.\n\n@param int|null $max Max execution time.\n\n@return int Max execution time; in seconds.", "docstring_tokens": ["Max", "execution", "time", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/ExecTime.php#L37-L43", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WebPurify.php", "func_name": "WebPurify.checkSlug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check a slug for bad words.\n\n@since 150424 Badwords checker.\n\n@param string $slug Input slug to check.\n@param array $args Any additional args.\n\n@return bool True if slug contains bad words.", "docstring_tokens": ["Check", "a", "slug", "for", "bad", "words", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WebPurify.php#L64-L71", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderResult.php", "func_name": "GeocoderResult.getAddressComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the address components.\n\n@param string|null The type of the address components.\n\n@return array The address components.", "docstring_tokens": ["Gets", "the", "address", "components", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderResult.php#L69-L84", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderResult.php", "func_name": "GeocoderResult.setAddressComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets address components.\n\n@param array $addressComponents The address components.", "docstring_tokens": ["Sets", "address", "components", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderResult.php#L91-L98", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Geocoding/Result/GeocoderResult.php", "func_name": "GeocoderResult.setPartialMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the geocoder result partial match flag.\n\n@param boolean $partialMatch TRUE if the geocoder result is a partial match else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\GeocodingException If the partial match flag is not valid.", "docstring_tokens": ["Sets", "the", "geocoder", "result", "partial", "match", "flag", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Geocoding/Result/GeocoderResult.php#L174-L181", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Gravatar.php", "func_name": "Gravatar.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a user gravatar.\n\n@since 160114 Initial release.\n\n@param string $email Email address.\n@param int $size A valid gravatar size.\n@param string $scheme Specific scheme?\n\n@return string Gravatar URL.", "docstring_tokens": ["Get", "a", "user", "gravatar", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Gravatar.php#L39-L43", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setCenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map center.\n\nAvailable prototypes:\n- function setCenter(Ivory\\GoogleMap\\Base\\Coordinate $center)\n- function setCenter(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the center is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "center", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L264-L280", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.hasMapOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the map option exists.\n\n@param string $mapOption The map option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the map option is not valid.\n\n@return boolean TRUE if the map option exists else FALSE.", "docstring_tokens": ["Checks", "if", "the", "map", "option", "exists", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L352-L359", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setMapOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map options.\n\n@param array $mapOptions The map options.", "docstring_tokens": ["Sets", "the", "map", "options", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L376-L381", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.getMapOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific map option.\n\n@param string $mapOption The map option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the map option does not exist.\n\n@return mixed The map option value.", "docstring_tokens": ["Gets", "a", "specific", "map", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L392-L399", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setMapOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a specific map option\n\n@param string $mapOption The map option.\n@param mixed $value The map option value.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the map option is not valid.", "docstring_tokens": ["Sets", "a", "specific", "map", "option"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L409-L416", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.removeMapOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a map option.\n\n@param string $mapOption The map option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the map option does not exist.", "docstring_tokens": ["Removes", "a", "map", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L425-L432", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.hasStylesheetOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the stylesheet option exists.\n\n@param string $stylesheetOption The stylesheet option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the stylesheet option is not valid.\n\n@return boolean TRUE if the stylesheet option exists else FALSE.", "docstring_tokens": ["Checks", "if", "the", "stylesheet", "option", "exists", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L443-L450", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setStylesheetOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the stylesheet options.\n\n@param array $stylesheetOptions The stylesheet options.", "docstring_tokens": ["Sets", "the", "stylesheet", "options", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L467-L472", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.getStylesheetOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a specific stylesheet option.\n\n@param string $stylesheetOption The stylesheet option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the stylesheet option does not exist.\n\n@return mixed The stylesheet option value.", "docstring_tokens": ["Gets", "a", "specific", "stylesheet", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L483-L490", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setStylesheetOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a specific stylesheet option.\n\n@param string $stylesheetOption The stylesheet option.\n@param mixed $value The stylesheet option value.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the stylesheet option is not valid.", "docstring_tokens": ["Sets", "a", "specific", "stylesheet", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L500-L507", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.removeStylesheetOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a stylesheet option.\n\n@param string $stylesheetOption The stylesheet option.\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the stylesheet option does not exist.", "docstring_tokens": ["Removes", "a", "stylesheet", "option", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L516-L523", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setMapTypeControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map type control.\n\nAvailable prototypes:\n- function setMapTypeControl(Ivory\\GoogleMap\\Controls\\MapTypeControl $mapTypeControl = null)\n- function setMaptypeControl(array $mapTypeIds, string $controlPosition, string $mapTypeControlStyle)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the map type control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "type", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L554-L583", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setOverviewMapControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the overview map control.\n\nAvailable prototypes:\n- function setOverviewMapControl(Ivory\\GoogleMap\\Controls\\OverviewMapControl $overviewMapControl = null)\n- function setOverviewMapControl(boolean $opened)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the overview map control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "overview", "map", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L614-L637", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setPanControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map pan control.\n\nAvailable prototypes:\n- function setPanControl(Ivory\\GoogleMap\\Controls\\PanControl $panControl = null)\n- function setPanControl(string $controlPosition)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the pan control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "pan", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L668-L691", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setRotateControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map rotate control.\n\nAvailable prototypes:\n- function setRotateControl(Ivory\\GoogleMap\\Controls\\RotateControl $rotateControl = null)\n- function setRotateControl(string $controlPosition)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the rotate control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "rotate", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L722-L745", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setScaleControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map scale control.\n\nAvailable prototypes:\n- function setScaleControl(Ivory\\GoogleMap\\Controls\\ScaleControl $scaleControl = null)\n- function setScaleControl(string $controlPosition, string $scaleControlStyle)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the scale control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "scale", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L776-L801", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setStreetViewControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map street view control.\n\nAvailable prototypes:\n- function setStreetViewControl(Ivory\\GoogleMap\\Controls\\StreetViewControl $streetViewControl = null)\n- function setStreetViewControl(string $controlPosition)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the street view control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "street", "view", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L832-L855", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.setZoomControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the map zoom control.\n\nAvailable prototypes:\n- function setZoomControl(Ivory\\GoogleMap\\Controls\\ZoomControl $zoomControl = null)\n- function setZoomControl(string $controlPosition, string $zoomControlStyle)\n\n@throws \\Ivory\\GoogleMap\\Exception\\MapException If the zoom control is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "map", "zoom", "control", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L886-L911", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addMarker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map marker.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Marker $marker The marker to add.", "docstring_tokens": ["Add", "a", "map", "marker", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L968-L975", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addInfoWindow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map info window.\n\n@param \\Ivory\\GoogleMap\\Overlays\\InfoWindow $infoWindow The info window to add.", "docstring_tokens": ["Add", "a", "map", "info", "window", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L992-L999", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addPolyline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map polyline.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Polyline The polyline to add.", "docstring_tokens": ["Add", "a", "map", "polyline", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1016-L1023", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addEncodedPolyline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an encoded polyline to the map.\n\n@param \\Ivory\\GoogleMap\\Overlays\\EncodedPolyline $encodedPolyline The encoded polyline to add.", "docstring_tokens": ["Adds", "an", "encoded", "polyline", "to", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1040-L1047", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addPolygon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map polygon.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Polygon $polygon The polygon to add.", "docstring_tokens": ["Add", "a", "map", "polygon", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1064-L1071", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addRectangle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a map rectangle to the map.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Rectangle $rectangle The rectangle to add.", "docstring_tokens": ["Add", "a", "map", "rectangle", "to", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1088-L1095", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addCircle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a circle to the map.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Circle $circle The circle to add.", "docstring_tokens": ["Add", "a", "circle", "to", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1112-L1119", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Map.php", "func_name": "Map.addGroundOverlay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a ground overlay to the map.\n\n@param \\Ivory\\GoogleMapBundle\\Model\\Overlays\\GroupOverlay $groundOverlay The ground overlay to add.", "docstring_tokens": ["Add", "a", "ground", "overlay", "to", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Map.php#L1136-L1143", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Cache/File/FileItem.php", "func_name": "FileItem.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores a value into the cache.\n\nThe $value argument may be any item that can be serialized by PHP,\nalthough the method of serialization is left up to the Implementing\nLibrary.\n\nImplementing Libraries MAY provide a default TTL if one is not specified.\nIf no TTL is specified and no default TTL has been set, the TTL MUST\nbe set to the maximum possible duration of the underlying storage\nmechanism, or permanent if possible.\n\n@param mixed $value\nThe serializable value to be stored.\n@param int|DateTime $ttl\n- If an integer is passed, it is interpreted as the number of seconds\nafter which the item MUST be considered expired.\n- If a DateTime object is passed, it is interpreted as the point in\ntime after which the the item MUST be considered expired.\n- If no value is passed, a default value MAY be used. If none is set,\nthe value should be stored permanently or for as long as the\nimplementation allows.\n@return bool\nReturns true if the item was successfully saved, or false if there was\nan error.", "docstring_tokens": ["Stores", "a", "value", "into", "the", "cache", "."], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Cache/File/FileItem.php#L98-L116", "partition": "test"} +{"repo": "3rdpartyeve/perry", "path": "src/Perry/Cache/File/FileItem.php", "func_name": "FileItem.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the current key from the cache.\n\n@return \\Psr\\Cache\\ItemInterface\nThe current item.", "docstring_tokens": ["Removes", "the", "current", "key", "from", "the", "cache", "."], "sha": "921f024eeb6bebc3dc6be8be3497aef72fe5a17a", "url": "https://github.com/3rdpartyeve/perry/blob/921f024eeb6bebc3dc6be8be3497aef72fe5a17a/src/Perry/Cache/File/FileItem.php#L138-L146", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setAvoidHighways", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the the directions request avoids hightways.\n\n@param boolean $avoidHighways TRUE if the directions request avoids hightways else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the avoid highways flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "the", "directions", "request", "avoids", "hightways", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L106-L113", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setAvoidTolls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the the directions request avoids tolls.\n\n@param boolean $avoidTolls TRUE if the directions request avoids tolls else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the avoid tolls flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "the", "directions", "request", "avoids", "tolls", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L142-L149", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setDestination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request destination.\n\nAvailable prototypes:\n- function setDestination(string $destination)\n- function setDestination(Ivory\\GoogleMap\\Base\\Coordinate $destination)\n- function setDestination(double $latitude, double $longitude, boolean $noWrap)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the destination is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "directions", "request", "destination", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L181-L203", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setOptimizeWaypoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the directions request optimizes waypoints.\n\n@param boolean $optimizeWaypoints TRUE if the directions request optimizes waypoints else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the optimize waypoints flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "directions", "request", "optimizes", "waypoints", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L232-L239", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request origin.\n\nAvailable prototypes:\n- function setOrigin(string $destination)\n- function setOrigin(Ivory\\GoogleMap\\Base\\Coordinate $destination)\n- function setOrigin(double $latitude, double $longitude, boolean $noWrap)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the origin is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "directions", "request", "origin", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L271-L293", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setProvideRouteAlternatives", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the directions request provides route alternatives.\n\n@param boolean $provideRouteAlternatives TRUE if the directions request provides route alternatives else FALSE.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the provide route alternatives flag is not valid.", "docstring_tokens": ["Sets", "if", "the", "directions", "request", "provides", "route", "alternatives", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L382-L389", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setRegion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request region.\n\n@param string $region The directions request region.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the region is not valid.", "docstring_tokens": ["Sets", "the", "directions", "request", "region", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L418-L425", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request language.\n\n@param string $language The directions request language.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the language is not valid.", "docstring_tokens": ["Sets", "the", "directions", "request", "language", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L454-L461", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setTravelMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request travel mode.\n\n@param string $travelMode The directions request travel mode.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the travel mode is not valid.", "docstring_tokens": ["Sets", "the", "directions", "request", "travel", "mode", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L490-L497", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setUnitSystem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request unit system.\n\n@param string $unitSystem The directions request unit system.\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the unit system is not valid.", "docstring_tokens": ["Sets", "the", "directions", "request", "unit", "system", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L526-L533", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.setWaypoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the directions request waypoints.\n\n@param array $waypoints The directions request waypoints.", "docstring_tokens": ["Sets", "the", "directions", "request", "waypoints", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L560-L567", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.addWaypoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a waypoint to the directions request.\n\nAvailable prototypes:\n- function addWaypoint(Ivory\\GoogleMap\\Services\\Directions\\DirectionsWaypoint $waypoint)\n- function addWaypoint(string $location)\n- function addWaypoint(double $latitude, double $longitude, boolean $noWrap)\n- function addWaypoint(Ivory\\GoogleMap\\Base\\Coordinate $location)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the waypoint is not valid (prototypes).", "docstring_tokens": ["Adds", "a", "waypoint", "to", "the", "directions", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L580-L603", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRequest.php", "func_name": "DirectionsRequest.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the directions request is valid.\n\n@return boolean TRUE if the directions request is valid else FALSE.", "docstring_tokens": ["Checks", "if", "the", "directions", "request", "is", "valid", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRequest.php#L636-L649", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/GitHub.php", "func_name": "GitHub.postJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "POST JSON data.\n\n@since 170124.74961 Initial release.\n\n@param string $url API URL.\n@param mixed $data Data to POST.\n@param array $args Additional args.\n\n@return \\StdClass Including a boolean `success` property.", "docstring_tokens": ["POST", "JSON", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/GitHub.php#L238-L241", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Debugging.php", "func_name": "Debugging.logIssue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log issue & generate exception.\n\n@since 160522 Debugging utilities.\n\n@param mixed $data Data to log (e.g., {@link vars()}).\n@param string $note A brief note or description of the issue.\n@param string $event Event name (e.g., {@link __METHOD__}).\n\n@return Exception An exception ready to be thrown.\n\n@internal If only one parameter is passed and it's a string, it's treated as the `$note`.", "docstring_tokens": ["Log", "issue", "&", "generate", "exception", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Debugging.php#L97-L112", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Debugging.php", "func_name": "Debugging.logReview", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log for review.\n\n@since 160522 Debugging utilities.\n\n@param mixed $data Data to log (e.g., {@link vars()}).\n@param string $note A brief note or description of the issue.\n@param string $event Event name (e.g., {@link __METHOD__}).\n\n@return int Total number of bytes written.\n\n@internal If only one parameter is passed and it's a string, it's treated as the `$note`.", "docstring_tokens": ["Log", "for", "review", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Debugging.php#L127-L140", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Debugging.php", "func_name": "Debugging.writeLogFileLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write lines to log file.\n\n@since 160522 Debugging utilities.\n\n@param string $event Event name.\n@param array $lines Log entry lines.\n\n@return int Total number of bytes written.", "docstring_tokens": ["Write", "lines", "to", "log", "file", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Debugging.php#L201-L228", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Debugging.php", "func_name": "Debugging.cleanLogEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans log event name.\n\n@since 160522 Debugging utilities.\n\n@param string $event Log event name.\n\n@return string Cleaned log event name.", "docstring_tokens": ["Cleans", "log", "event", "name", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Debugging.php#L239-L247", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Debugging.php", "func_name": "Debugging.maybeRotateLogFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe rotate log files.\n\n@since 160522 Debugging utilities.\n\n@param string $file Absolute file path.", "docstring_tokens": ["Maybe", "rotate", "log", "files", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Debugging.php#L276-L291", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlRemote.php", "func_name": "UrlRemote.response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remote HTTP communication.\n\n@param string $url A URL to connect to.\n@param array $args Connection arguments.\n\n@return \\StdClass Always returns a full response.", "docstring_tokens": ["Remote", "HTTP", "communication", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlRemote.php#L82-L85", "partition": "test"} +{"repo": "laravie/kurenai", "path": "src/DocumentParser.php", "func_name": "DocumentParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a markdown document with metadata.\n\n@param string $source\n\n@return \\Kurenai\\Contracts\\Document", "docstring_tokens": ["Parse", "a", "markdown", "document", "with", "metadata", "."], "sha": "92916e0b649947a17a9c125576cf3163115bb11c", "url": "https://github.com/laravie/kurenai/blob/92916e0b649947a17a9c125576cf3163115bb11c/src/DocumentParser.php#L41-L47", "partition": "test"} +{"repo": "laravie/kurenai", "path": "src/DocumentParser.php", "func_name": "DocumentParser.buildDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a Document from the parsed data.\n\n@param string $content\n@param array $metadata\n\n@return \\Kurenai\\Contracts\\Document", "docstring_tokens": ["Build", "a", "Document", "from", "the", "parsed", "data", "."], "sha": "92916e0b649947a17a9c125576cf3163115bb11c", "url": "https://github.com/laravie/kurenai/blob/92916e0b649947a17a9c125576cf3163115bb11c/src/DocumentParser.php#L57-L64", "partition": "test"} +{"repo": "laravie/kurenai", "path": "src/DocumentParser.php", "func_name": "DocumentParser.parseSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a dection of the document.\n\n@param string $source\n@param int $offset\n\n@throws \\Kurenai\\Exceptions\\TooFewSectionsException\n\n@return string", "docstring_tokens": ["Parse", "a", "dection", "of", "the", "document", "."], "sha": "92916e0b649947a17a9c125576cf3163115bb11c", "url": "https://github.com/laravie/kurenai/blob/92916e0b649947a17a9c125576cf3163115bb11c/src/DocumentParser.php#L100-L109", "partition": "test"} +{"repo": "laravie/kurenai", "path": "src/DocumentParser.php", "func_name": "DocumentParser.parseMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse metadata into an array.\n\n@param string $source\n\n@return array", "docstring_tokens": ["Parse", "metadata", "into", "an", "array", "."], "sha": "92916e0b649947a17a9c125576cf3163115bb11c", "url": "https://github.com/laravie/kurenai/blob/92916e0b649947a17a9c125576cf3163115bb11c/src/DocumentParser.php#L118-L127", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Route.php", "func_name": "Route.queryVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse route.\n\n@since 161008 Route.\n\n@param string $key Query var key.\n\n@return string Parsed route contents.", "docstring_tokens": ["Parse", "route", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Route.php#L243-L258", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Route.php", "func_name": "Route.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a template.\n\n@since 161008 Route.\n\n@param string $file Relative to templates dir.\n@param array $vars Template vars for the include.\n@param string $dir From a specific directory?\n\n@return string Parsed template contents.", "docstring_tokens": ["Get", "a", "template", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Route.php#L322-L333", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Twitter.php", "func_name": "Twitter.getRemote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get remote connection.\n\n@since 17xxxx Twitter utils.\n\n@param array $args Credentials.\n\n@return TwitterOAuth Remote instance.", "docstring_tokens": ["Get", "remote", "connection", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Twitter.php#L90-L106", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Twitter.php", "func_name": "Twitter.remoteHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get remote hash.\n\n@since 17xxxx Twitter utils.\n\n@param array $args Credentials.\n\n@return string Remote hash.", "docstring_tokens": ["Get", "remote", "hash", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Twitter.php#L171-L179", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Transliterate.php", "func_name": "Transliterate.toAscii", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert to ASCII.\n\n@since 150424 Multibyte support.\n\n@param mixed $value Any input value.\n\n@return string|array|object Output value.", "docstring_tokens": ["Convert", "to", "ASCII", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Transliterate.php#L37-L49", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixStatus.php", "func_name": "DistanceMatrixStatus.getDistanceMatrixStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the available distance matrix status.\n\n@return array The available distance matrix status.", "docstring_tokens": ["Gets", "the", "available", "distance", "matrix", "status", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixStatus.php#L46-L57", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Indents.php", "func_name": "Indents.stripLeading", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strip leading indents.\n\n@since 160720 Indent utils.\n\n@param mixed $value Any input value.\n@param bool|string $trim Trim to find first line?\nIf `true`, regular trimming applies.\nIf `'html-trim'`, HTML trimming applies.\n\n@return string|array|object Stripped value(s).", "docstring_tokens": ["Strip", "leading", "indents", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Indents.php#L40-L86", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsLeg.php", "func_name": "DirectionsLeg.setSteps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the leg steps.\n\n@param array $steps The leg steps.", "docstring_tokens": ["Sets", "the", "leg", "steps", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsLeg.php#L230-L237", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes the given request.\n\nAvailable prototypes:\n- function route(string $origin, string $destination)\n- function route(Ivory\\GoogleMap\\Services\\Directions\\DirectionsRequest $request)\n\n@throws \\Ivory\\GoogleMap\\Exception\\DirectionsException If the request is not valid (prototypes).", "docstring_tokens": ["Routes", "the", "given", "request", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L49-L72", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions response according to the normalized directions API results.\n\n@param \\stdClass $directionsResponse The normalied directions response.\n\n@return \\Ivory\\GoogleMap\\Services\\Directions\\DirectionsResponse The builded directions response.", "docstring_tokens": ["Builds", "the", "directions", "response", "according", "to", "the", "normalized", "directions", "API", "results", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L224-L230", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions routes according to the normalized directions API routes.\n\n@param \\stdClass $directionsRoutes The normalized directions routes.\n\n@return array The builded directions routes.", "docstring_tokens": ["Builds", "the", "directions", "routes", "according", "to", "the", "normalized", "directions", "API", "routes", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L239-L247", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions route according to the normalized directions API route.\n\n@param \\stdClass $directionsRoute The normalized directions route.\n\n@return \\Ivory\\GoogleMap\\Services\\Directions\\DirectionsRoute The builded directions route.", "docstring_tokens": ["Builds", "the", "directions", "route", "according", "to", "the", "normalized", "directions", "API", "route", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L256-L301", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsLegs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions legs according to the normalized directions API legs.\n\n@param array $directionsLegs The normalized directions legs.\n\n@return array The builded directions legs.", "docstring_tokens": ["Builds", "the", "directions", "legs", "according", "to", "the", "normalized", "directions", "API", "legs", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L310-L318", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsLeg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Buildd the directions leg according to the normalized directions API leg.\n\n@param \\stdClass $directionsLeg The normalized directions leg.\n\n@return \\Ivory\\GoogleMap\\Services\\Directions\\DirectionsLeg The builded directions leg.", "docstring_tokens": ["Buildd", "the", "directions", "leg", "according", "to", "the", "normalized", "directions", "API", "leg", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L327-L354", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsSteps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions steps according to the normalized directions API steps.\n\n@param array $directionsSteps The normalized directions steps.\n\n@return array The builded directions steps.", "docstring_tokens": ["Builds", "the", "directions", "steps", "according", "to", "the", "normalized", "directions", "API", "steps", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L363-L371", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/Directions.php", "func_name": "Directions.buildDirectionsStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the directions step according to the normalized directions API step.\n\n@param \\stdClass $directionsStep The normalized directions step.\n\n@return \\Ivory\\GoogleMap\\Services\\Directions\\DirectionsStep The builded directions step.", "docstring_tokens": ["Builds", "the", "directions", "step", "according", "to", "the", "normalized", "directions", "API", "step", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/Directions.php#L380-L399", "partition": "test"} +{"repo": "scripturadesign/color", "path": "src/Types/HSL.php", "func_name": "HSL.lighten", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lighten the color.\n\n@param int $pct\n\n@return static", "docstring_tokens": ["Lighten", "the", "color", "."], "sha": "303480c970bf74956e43166410cbdd26621abdc7", "url": "https://github.com/scripturadesign/color/blob/303480c970bf74956e43166410cbdd26621abdc7/src/Types/HSL.php#L156-L162", "partition": "test"} +{"repo": "scripturadesign/color", "path": "src/Types/HSL.php", "func_name": "HSL.darken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Darken the color.\n\n@param int $pct\n\n@return static", "docstring_tokens": ["Darken", "the", "color", "."], "sha": "303480c970bf74956e43166410cbdd26621abdc7", "url": "https://github.com/scripturadesign/color/blob/303480c970bf74956e43166410cbdd26621abdc7/src/Types/HSL.php#L171-L177", "partition": "test"} +{"repo": "scripturadesign/color", "path": "src/Types/HSL.php", "func_name": "HSL.saturate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saturate the color.\n\n@param int $pct\n\n@return static", "docstring_tokens": ["Saturate", "the", "color", "."], "sha": "303480c970bf74956e43166410cbdd26621abdc7", "url": "https://github.com/scripturadesign/color/blob/303480c970bf74956e43166410cbdd26621abdc7/src/Types/HSL.php#L186-L192", "partition": "test"} +{"repo": "scripturadesign/color", "path": "src/Types/HSL.php", "func_name": "HSL.desaturate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Desaturate the color.\n\n@param int $pct\n\n@return static", "docstring_tokens": ["Desaturate", "the", "color", "."], "sha": "303480c970bf74956e43166410cbdd26621abdc7", "url": "https://github.com/scripturadesign/color/blob/303480c970bf74956e43166410cbdd26621abdc7/src/Types/HSL.php#L201-L207", "partition": "test"} +{"repo": "scripturadesign/color", "path": "src/Types/HSL.php", "func_name": "HSL.mix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the mix between this and the given color.\n\n@param HSL $color\n\n@return static", "docstring_tokens": ["Get", "the", "mix", "between", "this", "and", "the", "given", "color", "."], "sha": "303480c970bf74956e43166410cbdd26621abdc7", "url": "https://github.com/scripturadesign/color/blob/303480c970bf74956e43166410cbdd26621abdc7/src/Types/HSL.php#L216-L226", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Session.php", "func_name": "Session.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start session.\n\n@since 17xxxx Session utils.\n\n@param string $name Session name.\n@param array $options Session options.", "docstring_tokens": ["Start", "session", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Session.php#L64-L95", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WsVersion.php", "func_name": "WsVersion.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid WS version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "WS", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WsVersion.php#L37-L43", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WsVersion.php", "func_name": "WsVersion.isValidDev", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid WS dev version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "WS", "dev", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WsVersion.php#L54-L60", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WsVersion.php", "func_name": "WsVersion.isValidStable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is it a valid WS stable version?\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return bool `TRUE` if valid.", "docstring_tokens": ["Is", "it", "a", "valid", "WS", "stable", "version?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WsVersion.php#L71-L77", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WsVersion.php", "func_name": "WsVersion.date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "WS version to date.\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n@param string $format Any valid date format string.\n\n@return string Date string, else empty string on failure.", "docstring_tokens": ["WS", "version", "to", "date", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WsVersion.php#L89-L97", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/WsVersion.php", "func_name": "WsVersion.time", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "WS version to time.\n\n@since 150424 Initial release.\n\n@param string $version Input version.\n\n@return int Timestamp, else `0` on failure.", "docstring_tokens": ["WS", "version", "to", "time", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/WsVersion.php#L108-L126", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Response.php", "func_name": "Response.withNoCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "With no-cache headers.\n\n@since 17xxxx Response utils.\n\n@return Response w/ no-cache headers.", "docstring_tokens": ["With", "no", "-", "cache", "headers", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Response.php#L68-L77", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Response.php", "func_name": "Response.withSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Success response.\n\n@since 17xxxx Response utils.\n\n@param int $status Status.\n@param array|string $data Props/markup.\n@param bool $as_json As JSON?\n\n@return Response w/ success response.", "docstring_tokens": ["Success", "response", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Response.php#L103-L123", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Response.php", "func_name": "Response.withError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Error response.\n\n@since 17xxxx Response utils.\n\n@param int $status Status.\n@param Error|string $data Error|markup.\n@param bool $as_json As JSON?\n\n@return Response w/ error response.", "docstring_tokens": ["Error", "response", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Response.php#L136-L165", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Response.php", "func_name": "Response.output", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output response.\n\n@since 17xxxx Response utils.\n\n@param array $args Any behavioral args.", "docstring_tokens": ["Output", "response", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Response.php#L174-L203", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRoute.php", "func_name": "DirectionsRoute.setLegs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the route legs\n\n@param array $legs The route legs.", "docstring_tokens": ["Sets", "the", "route", "legs"], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRoute.php#L137-L144", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRoute.php", "func_name": "DirectionsRoute.setWarnings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the route warnings.\n\n@param array $warnings The route warnings.", "docstring_tokens": ["Sets", "the", "route", "warnings", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRoute.php#L217-L224", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Directions/DirectionsRoute.php", "func_name": "DirectionsRoute.setWaypointOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the routes waypoint order.\n\n@param array $waypointOrder The route waypoint order.", "docstring_tokens": ["Sets", "the", "routes", "waypoint", "order", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Directions/DirectionsRoute.php#L257-L264", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/ZoomControlStyleHelper.php", "func_name": "ZoomControlStyleHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a zoom control style.\n\n@param string $zoomControlStyle The zoom control style.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If thhe zoom control style is not valid.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "zoom", "control", "style", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/ZoomControlStyleHelper.php#L33-L43", "partition": "test"} +{"repo": "laravie/kurenai", "path": "src/Document.php", "func_name": "Document.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get metadata from the document.\n\n@param string|null $key\n\n@return mixed", "docstring_tokens": ["Get", "metadata", "from", "the", "document", "."], "sha": "92916e0b649947a17a9c125576cf3163115bb11c", "url": "https://github.com/laravie/kurenai/blob/92916e0b649947a17a9c125576cf3163115bb11c/src/Document.php#L108-L119", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OAuthServer.php", "func_name": "OAuthServer.issueToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Issue token.\n\n@since 17xxxx OAuth utils.\n\n@param Request $Request Request.\n@param Response $Response Response.", "docstring_tokens": ["Issue", "token", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OAuthServer.php#L163-L179", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OAuthServer.php", "func_name": "OAuthServer.resourceRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter resource request.\n\n@since 17xxxx OAuth utils.\n\n@param Request $Request Request.\n@param Response $Response Response.\n\n@return Request w/ `oauth_` attributes.\n\nIf access token is valid the following attributes are set:\n- `oauth_access_token_id` the access token identifier.\n- `oauth_client_id` the client identifier.\n- `oauth_user_id` the user identifier represented by the access token.\n- `oauth_scopes` an array of string scope identifiers.", "docstring_tokens": ["Filter", "resource", "request", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OAuthServer.php#L197-L212", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OAuthServer.php", "func_name": "OAuthServer.accessTokenRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Access token repository.\n\n@since 17xxxx OAuth utils.\n\n@return AccessTokenRepository Repo.", "docstring_tokens": ["Access", "token", "repository", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OAuthServer.php#L221-L227", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slashes.php", "func_name": "Slashes.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add slashes deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n\n@return string|array|object Slashed value.", "docstring_tokens": ["Add", "slashes", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slashes.php#L37-L48", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Slashes.php", "func_name": "Slashes.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove slashes deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n\n@return string|array|object Unslashed value.", "docstring_tokens": ["Remove", "slashes", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Slashes.php#L59-L70", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/ApiHelper.php", "func_name": "ApiHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the API.\n\n@param string $language The language.\n@param array $libraries Additionnal libraries.\n@param string $callback A JS callback.\n@param string $api_key Google Browser API key for the map\n\n@return string The HTML output.", "docstring_tokens": ["Renders", "the", "API", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/ApiHelper.php#L60-L101", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/DistanceMatrix/DistanceMatrixResponseRow.php", "func_name": "DistanceMatrixResponseRow.setElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the distance matrix row elements.\n\n@param array $elements The row elements.", "docstring_tokens": ["Sets", "the", "distance", "matrix", "row", "elements", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/DistanceMatrix/DistanceMatrixResponseRow.php#L50-L57", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Controls/ControlPositionHelper.php", "func_name": "ControlPositionHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a control position.\n\n@param string $controlPosition The control position.\n\n@throws \\Ivory\\GoogleMap\\Exception\\HelperException If the control position is not valid.\n\n@return The JS output.", "docstring_tokens": ["Renders", "a", "control", "position", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Controls/ControlPositionHelper.php#L33-L52", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Ip.php", "func_name": "Ip.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Current visitor's IP address.\n\n@since 150424 Initial release.\n\n@return string Current visitor's IP address.\n\n@internal Supports both IPv4 & IPv6 addresses.", "docstring_tokens": ["Current", "visitor", "s", "IP", "address", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Ip.php#L37-L69", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Ip.php", "func_name": "Ip.region", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Region code for IP address.\n\n@since 150424 Initial release.\n\n@param string $ip An IP address.\n\n@return string Region code for IP address.", "docstring_tokens": ["Region", "code", "for", "IP", "address", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Ip.php#L80-L86", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Ip.php", "func_name": "Ip.country", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Country code for IP address.\n\n@since 150424 Initial release.\n\n@param string $ip An IP address.\n\n@return string Country code for IP address.", "docstring_tokens": ["Country", "code", "for", "IP", "address", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Ip.php#L97-L109", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RequestType.php", "func_name": "RequestType.isAjax", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "An AJAX request?\n\n@since 160531 Request types.\n\n@param bool|null $flag If setting flag.\n\n@return bool Is an AJAX request?", "docstring_tokens": ["An", "AJAX", "request?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RequestType.php#L107-L118", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RequestType.php", "func_name": "RequestType.isApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "An API request?\n\n@since 160605 Request types.\n\n@param bool|null $flag If setting flag.\n\n@return bool Is an API request?", "docstring_tokens": ["An", "API", "request?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RequestType.php#L129-L140", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RequestType.php", "func_name": "RequestType.doingRestAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Doing a REsT action?\n\n@since 160531 Request types.\n\n@param string|null $action Only to set action.\n\n@return string The REsT action being done.", "docstring_tokens": ["Doing", "a", "REsT", "action?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RequestType.php#L151-L158", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/RequestType.php", "func_name": "RequestType.doingAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Doing an action?\n\n@since 170623.50532 Action utils.\n\n@param string $action Action to add or check.\n@param mixed|null $data If adding action data.\n\n@return bool True if doing the action.", "docstring_tokens": ["Doing", "an", "action?"], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/RequestType.php#L170-L180", "partition": "test"} +{"repo": "groovel/newsletter-mailchimp", "path": "src/services/MailChimpClient.php", "func_name": "MailChimpClient.subscribeNewUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "subscribe new user to a given listid\n@param $email\n@param $listid\n@return mixed", "docstring_tokens": ["subscribe", "new", "user", "to", "a", "given", "listid"], "sha": "bc21a7df65f1001a1126f4962917eb2604f898c2", "url": "https://github.com/groovel/newsletter-mailchimp/blob/bc21a7df65f1001a1126f4962917eb2604f898c2/src/services/MailChimpClient.php#L112-L122", "partition": "test"} +{"repo": "groovel/newsletter-mailchimp", "path": "src/services/MailChimpClient.php", "func_name": "MailChimpClient.getMember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a user from a given listid with a given email\n@param $email\n@param $listid\n@return mixed", "docstring_tokens": ["get", "a", "user", "from", "a", "given", "listid", "with", "a", "given", "email"], "sha": "bc21a7df65f1001a1126f4962917eb2604f898c2", "url": "https://github.com/groovel/newsletter-mailchimp/blob/bc21a7df65f1001a1126f4962917eb2604f898c2/src/services/MailChimpClient.php#L143-L147", "partition": "test"} +{"repo": "groovel/newsletter-mailchimp", "path": "src/services/MailChimpClient.php", "func_name": "MailChimpClient.updateUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "update status user to a given listid to a given email\n@param $email\n@param $listid\n@param $status\n@return mixed", "docstring_tokens": ["update", "status", "user", "to", "a", "given", "listid", "to", "a", "given", "email"], "sha": "bc21a7df65f1001a1126f4962917eb2604f898c2", "url": "https://github.com/groovel/newsletter-mailchimp/blob/bc21a7df65f1001a1126f4962917eb2604f898c2/src/services/MailChimpClient.php#L219-L228", "partition": "test"} +{"repo": "groovel/newsletter-mailchimp", "path": "src/services/MailChimpClient.php", "func_name": "MailChimpClient.deleteUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "delete a user to a given listid to a given email\n@param $email\n@param $listid\n@return mixed", "docstring_tokens": ["delete", "a", "user", "to", "a", "given", "listid", "to", "a", "given", "email"], "sha": "bc21a7df65f1001a1126f4962917eb2604f898c2", "url": "https://github.com/groovel/newsletter-mailchimp/blob/bc21a7df65f1001a1126f4962917eb2604f898c2/src/services/MailChimpClient.php#L248-L253", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Color.php", "func_name": "Color.sha1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SHA-1 color generation.\n\n@since 161012 Color utilities.\n\n@param string $string String to hash.\n@param float $adjust See {@link adjusLuminosity()}.\n\n@return string Auto-generated color with X luminosity.", "docstring_tokens": ["SHA", "-", "1", "color", "generation", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Color.php#L38-L42", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Color.php", "func_name": "Color.adjustLuminosity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adjust luminosity.\n\n@since 161010 Color utilities.\n\n@param string $hex Hex color code to adjust.\n@param float $adjust `-0.5` (50% darker), `0.5` (50% ligher).\n\n@return string Adjusted hex color, +- luminosity.\n\n@see https://www.sitepoint.com/javascript-generate-lighter-darker-color/", "docstring_tokens": ["Adjust", "luminosity", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Color.php#L56-L67", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Color.php", "func_name": "Color.cleanHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans a hex color.\n\n@since 161010 Color utilities.\n\n@param string $hex Hex color.\n\n@return string Clean hex color.", "docstring_tokens": ["Cleans", "a", "hex", "color", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Color.php#L102-L111", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/App.php", "func_name": "App.maybeEmptyNumericConfigArrays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Empty numeric config arrays.\n\n@since 160227 Config utils.\n\n@param array $base Base array.\n@param array $merge Array to merge.\n\n@return array The `$base` w/ possibly-empty numeric arrays.\n\n@internal This method must be capable of running w/o a constructed app.", "docstring_tokens": ["Empty", "numeric", "config", "arrays", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/App.php#L408-L423", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Request.php", "func_name": "Request.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create request.\n\n@since 17xxxx Request utilities.\n\n@return Classes\\Core\\Request Instance.", "docstring_tokens": ["Create", "request", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Request.php#L63-L66", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Request.php", "func_name": "Request.createBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create request body.\n\n@since 17xxxx Request utilities.\n\n@param string|null $content Body content.\n\n@return Classes\\Core\\RequestBody Instance.", "docstring_tokens": ["Create", "request", "body", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Request.php#L77-L80", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/ArrayChangeRecursive.php", "func_name": "ArrayChangeRecursive.maybeEmptyNumericArrays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Empty numeric arrays.\n\n@since 17xxxx Change recursive.\n\n@param array $array Base array.\n@param array ...$merge Array to merge.\n\n@return array w/ possibly-empty numeric arrays.", "docstring_tokens": ["Empty", "numeric", "arrays", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/ArrayChangeRecursive.php#L55-L75", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/RectangleHelper.php", "func_name": "RectangleHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a rectangle.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Rectangle $rectangle The rectangle.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "rectangle", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/RectangleHelper.php#L33-L46", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Array2Xml.php", "func_name": "Array2Xml.toHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Array to HTML markup.\n\n@since 160829.74007 XML conversion utils.\n\n@param string $parent_element_name Parent element name.\n@param array $array Input array to convert.\n@param array $args Any additional behavioral args.\n\n@return string HTML (with or w/o a DOCTYPE tag).", "docstring_tokens": ["Array", "to", "HTML", "markup", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Array2Xml.php#L93-L96", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Array2Xml.php", "func_name": "Array2Xml.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Array to XML handler.\n\n@since 160829.74007 XML conversion utils.\n\n@param \\DOMDocument $DOMDocument Class instance.\n@param \\DOMElement $ParentDOMElement Class instance.\n@param array $array Input array to convert.", "docstring_tokens": ["Array", "to", "XML", "handler", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Array2Xml.php#L107-L134", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerCluster/DefaultMarkerClusterHelper.php", "func_name": "DefaultMarkerClusterHelper.renderMarker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a marker with the js map container.\n\n@param \\Ivory\\GoogleMap\\Overlays\\Marker $marker The marker.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "marker", "with", "the", "js", "map", "container", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerCluster/DefaultMarkerClusterHelper.php#L110-L118", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Keygen.php", "func_name": "Keygen.license", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "License key.\n\n@since 170824.30708 Key generator.\n\n@return string UUID w/ 4 dashed parts (35 uppercase bytes).\n\n@example `CAF0F02F-DFC248C7-B4EF607C-F85C154A`", "docstring_tokens": ["License", "key", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Keygen.php#L37-L41", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Extension/CoreExtensionHelper.php", "func_name": "CoreExtensionHelper.getLibraries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the libraries needed for the map.\n\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return array The map libraries.", "docstring_tokens": ["Gets", "the", "libraries", "needed", "for", "the", "map", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Extension/CoreExtensionHelper.php#L141-L151", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Sql.php", "func_name": "Sql.escapeOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes order direction.\n\n@since 160422 SQL utils.\n\n@param string $order Order direction.\n\n@return string Escaped order direction.", "docstring_tokens": ["Escapes", "order", "direction", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Sql.php#L234-L238", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Serializer.php", "func_name": "Serializer.serializeClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serialize closure.\n\n@since 160712 Closure utils.\n\n@param \\Closure $Closure A closure.\n@param bool $faster Use faster serializer?\n\n@return string Serialized closure.", "docstring_tokens": ["Serialize", "closure", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Serializer.php#L106-L110", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Serializer.php", "func_name": "Serializer.unserializeClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserialize closure.\n\n@since 160712 Closure utils.\n\n@param string $string A serialized closure.\n@param bool $faster Used faster serializer?\n\n@return \\Closure Unserialized closure.", "docstring_tokens": ["Unserialize", "closure", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Serializer.php#L122-L128", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Serializer.php", "func_name": "Serializer.maybeSerialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe serialize value.\n\n@since 150424 Serializer.\n@since 170824.30708 `$strict` param (= true).\n\n@param mixed $value Value to serialize.\n@param bool $strict Enable strict types?\n\n@return string A string (possibly serialized).", "docstring_tokens": ["Maybe", "serialize", "value", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Serializer.php#L141-L160", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Serializer.php", "func_name": "Serializer.maybeUnserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe unserialize value.\n\n@since 150424 Serializer.\n\n@param mixed $value Value.\n\n@return mixed The unserialized value.", "docstring_tokens": ["Maybe", "unserialize", "value", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Serializer.php#L171-L182", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OEmbed.php", "func_name": "OEmbed.embedlyMarkup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Embedly markup.\n\n@since 151125 OEmbed utilities.\n\n@param string $url URL the embed is for.\n@param \\StdClass $embed The embed response object.\n\n@return string The Embedly HTML markup.", "docstring_tokens": ["Get", "Embedly", "markup", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OEmbed.php#L221-L262", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OEmbed.php", "func_name": "OEmbed.getEmbedlyCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Embedly cache.\n\n@since 151125 OEmbed utilities.\n\n@param string $url URL to check the cache for.\n\n@return \\StdClass|null Cached embed code, if possible.", "docstring_tokens": ["Get", "Embedly", "cache", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OEmbed.php#L273-L286", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/OEmbed.php", "func_name": "OEmbed.viaWordPress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Via WordPress.\n\n@since 151125 OEmbed utilities.\n\n@param string $string String to parse.", "docstring_tokens": ["Via", "WordPress", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/OEmbed.php#L316-L330", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/EncodedPolylineHelper.php", "func_name": "EncodedPolylineHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an encoded polyline.\n\n@param \\Ivory\\GoogleMap\\Overlays\\EncodedPolyline $encodedPolyline The encoded polyline.\n@param \\Ivory\\GoogleMap\\Map $map The map.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "an", "encoded", "polyline", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/EncodedPolylineHelper.php#L73-L86", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Bound.php", "func_name": "Bound.setSouthWest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the south west coordinate.\n\nAvailable prototypes:\n- function setSouthWest(Ivory\\GoogleMap\\Base\\Coordinate $southWest = null)\n- function setSouthWest(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the south west coordinate is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "south", "west", "coordinate", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Bound.php#L76-L98", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Bound.php", "func_name": "Bound.setNorthEast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the north east coordinate.\n\nAvailable prototypes:\n- function setNorthEast(Ivory\\GoogleMap\\Base\\Coordinate $northEast = null)\n- function setNorthEast(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\BaseException If the north east coordinate is not valid (prototypes).", "docstring_tokens": ["Sets", "the", "north", "east", "coordinate", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Bound.php#L119-L141", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Base/Bound.php", "func_name": "Bound.getCenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the center of the bound.\n\n@return \\Ivory\\GoogleMap\\Base\\Coordinate The bound center.", "docstring_tokens": ["Gets", "the", "center", "of", "the", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Base/Bound.php#L192-L198", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/FileSize.php", "func_name": "FileSize.abbrBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bytes represented by notation.\n\n@since 150424 Initial release.\n@since 170824.30708 Returns `int` instead of `float`.\n\n@param string $string A string byte notation.\n\n@return int Bytes represented by notation.", "docstring_tokens": ["Bytes", "represented", "by", "notation", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/FileSize.php#L89-L120", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/FileSize.php", "func_name": "FileSize.remoteBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines remote file size.\n\n@since 170824.30708 Remote file size.\n\n@param string $url URL to check size of.\n@param int $expires_after Cache expires after (in seconds).\n@param bool $report_failure If true, return `-1` on failure.\n\n@return int Remote file size, in bytes.\n@note If `$report_failure` is true, `-1` indicates failure.\nFor example, if file does not exist, or it has no `content-length` header.", "docstring_tokens": ["Determines", "remote", "file", "size", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/FileSize.php#L135-L154", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlParse.php", "func_name": "UrlParse.un", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unparses a URL.\n\n@since 150424 Initial release.\n\n@param array $parts Input URL parts.\n\n@return string Unparsed URL in string format.", "docstring_tokens": ["Unparses", "a", "URL", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlParse.php#L92-L134", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Base/CoordinateHelper.php", "func_name": "CoordinateHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a coordinate.\n\n@param \\Ivory\\GoogleMap\\Base\\Coordinate $coordinate The coordinate.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "coordinate", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Base/CoordinateHelper.php#L30-L39", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Helper/Overlays/MarkerImageHelper.php", "func_name": "MarkerImageHelper.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a marker image.\n\n@param \\Ivory\\GoogleMap\\Overlays\\MarkerImage $markerImage The marker image.\n\n@return string The JS output.", "docstring_tokens": ["Renders", "a", "marker", "image", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Helper/Overlays/MarkerImageHelper.php#L30-L41", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Utils/XmlParser.php", "func_name": "XmlParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses xml according to pluralization rules.\n\n@param string $xml The xml.\n@param array $pluralizationRules The pluralization rules.\n\n@return \\stdClass The parsed & pluralized xml.", "docstring_tokens": ["Parses", "xml", "according", "to", "pluralization", "rules", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Utils/XmlParser.php#L29-L34", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Services/Utils/XmlParser.php", "func_name": "XmlParser.pluralize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pluralizes xml.\n\n@param array $xml The xml.\n@param array $rules The pluralization rules.\n\n@return \\stdClass The pluralized xml.", "docstring_tokens": ["Pluralizes", "xml", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Services/Utils/XmlParser.php#L44-L64", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Exception/DistanceMatrixException.php", "func_name": "DistanceMatrixException.invalidDistanceMatrixRequestTravelMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the \"INVALID DISTANCE MATRIX REQUEST TRAVEL MODE\" exception.\n\n@return \\Ivory\\GoogleMap\\Exception\\DistanceMatrixException The \"INVALID DISTANCE MATRIX REQUEST TRAVEL MODE\" exception.", "docstring_tokens": ["Gets", "the", "INVALID", "DISTANCE", "MATRIX", "REQUEST", "TRAVEL", "MODE", "exception", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Exception/DistanceMatrixException.php#L122-L130", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlHost.php", "func_name": "UrlHost.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Host parser.\n\n@since 151002 Adding host parser.\n@since 170124.74961 Adding `port` key.\n@since 170124.74961 Adding `root_name` key.\n@since 170124.74961 Adding `root_port` key.\n@since 170124.74961 Removing `root_as_name` key.\n@since 170124.74961 The `name` key now contains only the name.\n@since 170124.74961 The `root` key now contains a full root host (including port).\n@since 170124.74961 Bug fix. Hosts with ports in their name are now exploded properly.\n\n@param string $host The input host to parse.\n\n@return array `[name, port, sub, subs, root, root_name, root_port, root_basename, tld]`.\n\n@internal This allows an empty `$host` so that a caller can get the array elements even if empty.", "docstring_tokens": ["Host", "parser", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlHost.php#L46-L66", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/UrlHost.php", "func_name": "UrlHost.unParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unparses a host.\n\n@since 151002 Adding host parser.\n@since 170124.74961 Collecting both `name` and `port` now.\n\n@param array $parts Input host parts.\n\n@return string Unparsed host string.", "docstring_tokens": ["Unparses", "a", "host", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/UrlHost.php#L78-L89", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Marker.php", "func_name": "Marker.setPosition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker position.\n\nAvailable prototypes:\n- function setPosition(Ivory\\GoogleMap\\Base\\Coordinate $position = null)\n- function setPosition(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the position is not valid.", "docstring_tokens": ["Sets", "the", "marker", "position", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Marker.php#L112-L130", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Marker.php", "func_name": "Marker.setAnimation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker animation.\n\n@param string $animation The marker animation.\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the animation is not valid.", "docstring_tokens": ["Sets", "the", "marker", "animation", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Marker.php#L159-L166", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Marker.php", "func_name": "Marker.setIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker icon.\n\nAvailable prototypes:\n- function setIcon(Ivory\\GoogleMap\\Overlays\\MarkerImage $markerImage = null)\n- function setIcon(string $url = null)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the icon is not valid.", "docstring_tokens": ["Sets", "the", "marker", "icon", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Marker.php#L197-L218", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Marker.php", "func_name": "Marker.setShadow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker shadow.\n\nAvailable prototypes:\n- function setShadow(Ivory\\GoogleMap\\Overlays\\MarkerImage $markerImage = null)\n- function setShadow(string $url = null)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the marker shadow is not valid.", "docstring_tokens": ["Sets", "the", "marker", "shadow", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Marker.php#L249-L270", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Marker.php", "func_name": "Marker.setShape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the marker shape.\n\nAvailable prototypes:\n- function setShape(Ivory\\GoogleMap\\Overlays\\MarkerShape $shape = null)\n- function setShape(string $type, array $coordinates)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the shape is not valid.", "docstring_tokens": ["Sets", "the", "marker", "shape", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Marker.php#L301-L323", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Markdown.php", "func_name": "Markdown.headerIdCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Default header `id=\"\"` callback.\n\n@since 170211.63148 ID callback.\n\n@param string $raw Header text value.\n\n@return string The `id=\"\"` attribute value.", "docstring_tokens": ["Default", "header", "id", "=", "callback", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Markdown.php#L166-L179", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/Markdown.php", "func_name": "Markdown.firstImageUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "First image URL.\n\n@since 170124.74961 Initial release.\n\n@param string $markdown Markdown.\n\n@return string First image URL.", "docstring_tokens": ["First", "image", "URL", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/Markdown.php#L190-L194", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Utils/HtmlStrip.php", "func_name": "HtmlStrip.attributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strips HTML attributes deeply.\n\n@since 150424 Initial release.\n\n@param mixed $value Any input value.\n@param array $args Any additional behavioral args.\n\n@return string|array|object String w/ HTML attributes stripped.", "docstring_tokens": ["Strips", "HTML", "attributes", "deeply", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Utils/HtmlStrip.php#L38-L66", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Rectangle.php", "func_name": "Rectangle.setBound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the rectangle bound.\n\nAvailable prototypes:\n- function setBound(Ivory\\GoogleMap\\Base\\Bound $bound)\n- function setBount(Ivory\\GoogleMap\\Base\\Coordinate $southWest, Ivory\\GoogleMap\\Base\\Coordinate $northEast)\n- function setBound(\ndouble $southWestLatitude,\ndouble $southWestLongitude,\ndouble $northEastLatitude,\ndouble $northEastLongitude,\nboolean southWestNoWrap = true,\nboolean $northEastNoWrap = true\n)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the bound is not valid.", "docstring_tokens": ["Sets", "the", "rectangle", "bound", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Rectangle.php#L72-L105", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Error.php", "func_name": "Error.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error slug.\n\n@since 160710 Error utils.\n\n@param string $slug Error slug.\n\n@return string Error message.", "docstring_tokens": ["Get", "error", "slug", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Error.php#L135-L140", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Error.php", "func_name": "Error.messages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error messages.\n\n@since 160710 Error utils.\n\n@param string $slug Error slug.\n@param bool $by_slug All errors by slug?\n\n@return string[] An array of error messages.", "docstring_tokens": ["Get", "error", "messages", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Error.php#L165-L185", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Error.php", "func_name": "Error.data", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error data.\n\n@since 160710 Error utils.\n\n@param string $slug Error slug.\n@param bool $by_slug All data by slug?\n\n@return array|mixed|null Error data.", "docstring_tokens": ["Get", "error", "data", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Error.php#L197-L212", "partition": "test"} +{"repo": "wpsharks/core", "path": "src/includes/classes/Core/Error.php", "func_name": "Error.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add error.\n\n@since 160710 Error utils.\n\n@param string $slug Error slug.\n@param string $message Error message.\n@param mixed $data Error data.", "docstring_tokens": ["Add", "error", "."], "sha": "7a086f144d15ba2587c348744b75f811b9dd6625", "url": "https://github.com/wpsharks/core/blob/7a086f144d15ba2587c348744b75f811b9dd6625/src/includes/classes/Core/Error.php#L223-L238", "partition": "test"} +{"repo": "EliuFlorez/google-map", "path": "src/Overlays/Polygon.php", "func_name": "Polygon.addCoordinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a coordinate to the polygon.\n\nAvailable prototypes:\n- function addCoordinate(Ivory\\GoogleMap\\Base\\Coordinate $coordinate)\n- function addCoordinate(double $latitude, double $longitude, boolean $noWrap = true)\n\n@throws \\Ivory\\GoogleMap\\Exception\\OverlayException If the coordinate is not valid.", "docstring_tokens": ["Adds", "a", "coordinate", "to", "the", "polygon", "."], "sha": "b96e3975314a83f806ed86623f7b219d2c96ee9f", "url": "https://github.com/EliuFlorez/google-map/blob/b96e3975314a83f806ed86623f7b219d2c96ee9f/src/Overlays/Polygon.php#L85-L102", "partition": "test"} +{"repo": "wasinger/html-pretty-min", "path": "PrettyMin.php", "func_name": "PrettyMin.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load an HTML document\n\n@param \\DOMDocument|\\DOMElement|\\SplFileInfo|string $html\n@return PrettyMin", "docstring_tokens": ["Load", "an", "HTML", "document"], "sha": "1a9503664ff39dea044b433973316186bf094aae", "url": "https://github.com/wasinger/html-pretty-min/blob/1a9503664ff39dea044b433973316186bf094aae/PrettyMin.php#L63-L83", "partition": "test"} +{"repo": "wasinger/html-pretty-min", "path": "PrettyMin.php", "func_name": "PrettyMin.minify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minify the loaded HTML document\n\n@param array $options\n@return PrettyMin", "docstring_tokens": ["Minify", "the", "loaded", "HTML", "document"], "sha": "1a9503664ff39dea044b433973316186bf094aae", "url": "https://github.com/wasinger/html-pretty-min/blob/1a9503664ff39dea044b433973316186bf094aae/PrettyMin.php#L91-L119", "partition": "test"} +{"repo": "wasinger/html-pretty-min", "path": "PrettyMin.php", "func_name": "PrettyMin.indentRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "indent HTML code\n\noriginally based on http://stackoverflow.com/a/18260955\n\n@param \\DOMNode $currentNode\n@param int $depth\n@return bool", "docstring_tokens": ["indent", "HTML", "code"], "sha": "1a9503664ff39dea044b433973316186bf094aae", "url": "https://github.com/wasinger/html-pretty-min/blob/1a9503664ff39dea044b433973316186bf094aae/PrettyMin.php#L290-L332", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Event/InjectOrganizationReferenceListener.php", "func_name": "InjectOrganizationReferenceListener.postLoad", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and injects the organization reference to an user entity.\n\n@param LifecycleEventArgs $args", "docstring_tokens": ["Creates", "and", "injects", "the", "organization", "reference", "to", "an", "user", "entity", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Event/InjectOrganizationReferenceListener.php#L37-L48", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/InviteEmployeeController.php", "func_name": "InviteEmployeeController.createSetPasswordViewModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a view model for success view script with set password form.\n\n@return ViewModel", "docstring_tokens": ["Creates", "a", "view", "model", "for", "success", "view", "script", "with", "set", "password", "form", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/InviteEmployeeController.php#L110-L125", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/InviteEmployeeController.php", "func_name": "InviteEmployeeController.getOrganizationEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the referenced organization entity.\n\nRetrieves the identifier from the requests' query params.\n\n@return \\Organizations\\Entity\\OrganizationInterface", "docstring_tokens": ["Gets", "the", "referenced", "organization", "entity", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/InviteEmployeeController.php#L134-L143", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/InviteEmployeeController.php", "func_name": "InviteEmployeeController.createErrorViewModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a view model for the error page view script.\n\nSets the response status code to 500 (indicating an internal error).\n\n@param string $message\n\n@return ViewModel", "docstring_tokens": ["Creates", "a", "view", "model", "for", "the", "error", "page", "view", "script", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/InviteEmployeeController.php#L170-L180", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the asset using our version of the exlixer loader.\n\n@param string $file\n@param string $params\n@param bool $onUnknownExtension\n\n@return void", "docstring_tokens": ["Add", "the", "asset", "using", "our", "version", "of", "the", "exlixer", "loader", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L76-L79", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.reverseStylesOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reverse the order of scripts.\n\n@param string $params\n\n@return void", "docstring_tokens": ["Reverse", "the", "order", "of", "scripts", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L101-L106", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.addFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the asset first using our version of the exliser loader.\n\n@param string $file\n@param string $params\n@param bool $onUnknownExtension\n\n@return return string", "docstring_tokens": ["Add", "the", "asset", "first", "using", "our", "version", "of", "the", "exliser", "loader", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L130-L133", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.addAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new asset after another asset in its array.\n\n@param string $file1\n@param string $file2\n@param string|array $params\n@param bool $onUnknownExtension\n\n@return void", "docstring_tokens": ["Add", "new", "asset", "after", "another", "asset", "in", "its", "array", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L145-L148", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.addMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a meta attribute.\n\n@return void", "docstring_tokens": ["Add", "a", "meta", "attribute", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L155-L164", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return meta.\n\n@return array", "docstring_tokens": ["Return", "meta", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L171-L179", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.controller", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load local files for a given controller.\n\n@param array $file_extensions\n@param string $file\n\n@return void", "docstring_tokens": ["Load", "local", "files", "for", "a", "given", "controller", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L325-L377", "partition": "test"} +{"repo": "hnhdigital-os/laravel-frontend-asset-loader", "path": "src/FrontendAsset.php", "func_name": "FrontendAsset.loadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a file.\n\n@param string $file_name\n@param string $extension\n@param string $full_path\n\n@return void", "docstring_tokens": ["Load", "a", "file", "."], "sha": "041120061c8b1e7ef5f2c87882b39d50e3b2d860", "url": "https://github.com/hnhdigital-os/laravel-frontend-asset-loader/blob/041120061c8b1e7ef5f2c87882b39d50e3b2d860/src/FrontendAsset.php#L388-L406", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Filter/PaginationQuery.php", "func_name": "PaginationQuery.createQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a query for filtering organizations\n\n@see \\Core\\Repository\\Filter\\AbstractPaginationQuery::createQuery()\n@param $params\n@param \\Doctrine\\ODM\\MongoDB\\Query\\Builder $queryBuilder\n@return mixed", "docstring_tokens": ["Creates", "a", "query", "for", "filtering", "organizations"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Filter/PaginationQuery.php#L79-L121", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/Plugin/InvitationHandler.php", "func_name": "InvitationHandler.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the invitation of an user by an organization owner.\n\nValidators the email address, loads or creates the user and finallly sends\nthe mail.\n\nThe return value is meant to be used as an array of variables passed to a\nViewModelInterface instance.\n\n@param string $email\n\n@return array", "docstring_tokens": ["Processes", "the", "invitation", "of", "an", "user", "by", "an", "organization", "owner", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/Plugin/InvitationHandler.php#L226-L265", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/Plugin/InvitationHandler.php", "func_name": "InvitationHandler.validateEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates an email address.\n\n@param string $email\n\n@return bool", "docstring_tokens": ["Validates", "an", "email", "address", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/Plugin/InvitationHandler.php#L274-L283", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/Plugin/InvitationHandler.php", "func_name": "InvitationHandler.loadOrCreateUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads or creates an user.\n\nTries to load an user from the database, and creates a new\nuser draft, if no user was found.\nA token will be generated to authenticate this user in further interactions\n(with other parts of this application).\n\n@param string $email\n\n@return array An array with the keys 'user' and 'token', where 'user' is an UserInterface instance and\n'token' is the generated token.", "docstring_tokens": ["Loads", "or", "creates", "an", "user", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/Plugin/InvitationHandler.php#L298-L326", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/OrganizationReference.php", "func_name": "OrganizationReference.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the organization from the database and sets the reference type.", "docstring_tokens": ["Loads", "the", "organization", "from", "the", "database", "and", "sets", "the", "reference", "type", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/OrganizationReference.php#L112-L140", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/OrganizationReference.php", "func_name": "OrganizationReference.proxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a proxy call to the associated organization entity.\n\nDoes nothing, if no organization is available.\n\nCall it like:\n
\n$this->proxy($method[, $arg1[, $arg2[, ...]]]);\n
\n\n@param $method\n\n@return self|mixed", "docstring_tokens": ["Executes", "a", "proxy", "call", "to", "the", "associated", "organization", "entity", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/OrganizationReference.php#L157-L168", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.getHiringOrganizationsCursor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a cursor for all hiring organizations.\n\n@param OrganizationInterface $organization parent organization\n\n@return \\Doctrine\\ODM\\MongoDB\\Cursor\n@usedBy \\Organizations\\Entity\\Organization::getHiringOrganizations()\n@since 0.18", "docstring_tokens": ["Gets", "a", "cursor", "for", "all", "hiring", "organizations", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L60-L69", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.findByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a organizations by an name\n\n@param String $name\n@param boolean $create\n@return array", "docstring_tokens": ["Find", "a", "organizations", "by", "an", "name"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L78-L95", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.findByUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the main organization of an user.\n\n@param string|UserInterface $userOrId\n\n@return null|OrganizationInterface", "docstring_tokens": ["Finds", "the", "main", "organization", "of", "an", "user", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L114-L141", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.findByEmployee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the organization, an user is employed by.\n\n@param string|UserInterface $userOrId\n\n@return null|OrganizationInterface", "docstring_tokens": ["Finds", "the", "organization", "an", "user", "is", "employed", "by", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L150-L168", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.createWithName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "creates a new Organization, no matter if a organization with this name already exists,\nalso creates a new Name, but link this Name to another OrganizationName-Link, if this Name already exists\n@param $name", "docstring_tokens": ["creates", "a", "new", "Organization", "no", "matter", "if", "a", "organization", "with", "this", "name", "already", "exists", "also", "creates", "a", "new", "Name", "but", "link", "this", "Name", "to", "another", "OrganizationName", "-", "Link", "if", "this", "Name", "already", "exists"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L212-L220", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Repository/Organization.php", "func_name": "Organization.findDraft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Look for an drafted Document of a given user\n\n@param $user\n@return \\Organizations\\Entity\\Organization|null", "docstring_tokens": ["Look", "for", "an", "drafted", "Document", "of", "a", "given", "user"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Repository/Organization.php#L228-L246", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Form/OrganizationsContactFieldset.php", "func_name": "OrganizationsContactFieldset.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the elements for the contact form", "docstring_tokens": ["Set", "the", "elements", "for", "the", "contact", "form"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Form/OrganizationsContactFieldset.php#L42-L105", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.isEmployee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true, if a User is an employee of the organization\n\n@param UserInterface $user\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "a", "User", "is", "an", "employee", "of", "the", "organization"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L388-L391", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.updatePermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the organizationsPermissions to allow all employees to view this organization.\n\nIn case of a HiringOrganization Permissions are granted to all employees of the parent\norganization.\n\n@ODM\\PreUpdate\n@ODM\\PrePersist\n@since 0.18", "docstring_tokens": ["Updates", "the", "organizationsPermissions", "to", "allow", "all", "employees", "to", "view", "this", "organization", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L415-L436", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.setOrganizationName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the name of an organization\n\n@param OrganizationName $organizationName\n\n@return $this", "docstring_tokens": ["Sets", "the", "name", "of", "an", "organization"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L454-L464", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.setPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Permissions of an Organization\n\n@param PermissionsInterface $permissions\n\n@return $this", "docstring_tokens": ["Sets", "the", "Permissions", "of", "an", "Organization"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L501-L510", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.getImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Logo of an organization\n\n@param string|bool $key Key of the image to get.\nIf true: get Thumbnail\nIf false: get Original\n\n@return OrganizationImage\n@deprecated since 0.29; use $this->getImages()->get()\n@since 0.29 modified to return images from the image set for compatibility reasons", "docstring_tokens": ["Gets", "the", "Logo", "of", "an", "organization"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L594-L601", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.setContact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Contact Data of an organization\n\n@param EntityInterface $contact\n\n@return $this", "docstring_tokens": ["Sets", "the", "Contact", "Data", "of", "an", "organization"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L646-L654", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.getEmployees", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the list of employees\n\n@return ArrayCollection|Collection", "docstring_tokens": ["Gets", "the", "list", "of", "employees"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L719-L731", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.getEmployee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an employee by User or ID.\n\n@param UserInterface|string $userOrId\n\n@return mixed|null", "docstring_tokens": ["Gets", "an", "employee", "by", "User", "or", "ID", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L740-L752", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Organization.php", "func_name": "Organization.getEmployeesByRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of Employees by a user role\n\n@param string $role\n\n@return ArrayCollection", "docstring_tokens": ["Gets", "a", "list", "of", "Employees", "by", "a", "user", "role"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Organization.php#L761-L773", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Mail/EmployeeInvitationFactory.php", "func_name": "EmployeeInvitationFactory.setCreationOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets creation options.\n\n@param array $options\n\n@return void\n@throws \\InvalidArgumentException", "docstring_tokens": ["Sets", "creation", "options", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Mail/EmployeeInvitationFactory.php#L110-L125", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Form/EmployeesFieldset.php", "func_name": "EmployeesFieldset.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the fieldset.", "docstring_tokens": ["Initializes", "the", "fieldset", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Form/EmployeesFieldset.php#L46-L78", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Controller/IndexController.php", "func_name": "IndexController.getFormular", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the organization form container.\n\n@param \\Organizations\\Entity\\OrganizationInterface $organization\n\n@return \\Organizations\\Form\\Organizations", "docstring_tokens": ["Gets", "the", "organization", "form", "container", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Controller/IndexController.php#L239-L262", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/ImageFileCache/Manager.php", "func_name": "Manager.getUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns image URI\n\n@param OrganizationImage $image\n@return string", "docstring_tokens": ["Returns", "image", "URI"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/ImageFileCache/Manager.php#L45-L52", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/ImageFileCache/Manager.php", "func_name": "Manager.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store an image as a file in a file system\n\n@param OrganizationImage $image", "docstring_tokens": ["Store", "an", "image", "as", "a", "file", "in", "a", "file", "system"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/ImageFileCache/Manager.php#L67-L73", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Hydrator/OrganizationHydrator.php", "func_name": "OrganizationHydrator.extract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract values from an object\n\n@param object $object\n@return array", "docstring_tokens": ["Extract", "values", "from", "an", "object"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Hydrator/OrganizationHydrator.php#L54-L71", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Entity/Hydrator/OrganizationHydrator.php", "func_name": "OrganizationHydrator.hydrateValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a value for hydration. If no strategy exists the plain value is returned.\n\n@param string $name The name of the strategy to use.\n@param mixed $value The value that should be converted.\n@param array $data The whole data is optionally provided as context.\n@return mixed", "docstring_tokens": ["Converts", "a", "value", "for", "hydration", ".", "If", "no", "strategy", "exists", "the", "plain", "value", "is", "returned", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Entity/Hydrator/OrganizationHydrator.php#L111-L118", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Acl/Listener/CheckJobCreatePermissionListener.php", "func_name": "CheckJobCreatePermissionListener.checkCreatePermission", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the user may create jobs according to the organization permissions.\n\n@param AssertionEvent $e\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "user", "may", "create", "jobs", "according", "to", "the", "organization", "permissions", "."], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Acl/Listener/CheckJobCreatePermissionListener.php#L56-L87", "partition": "test"} +{"repo": "yawik/organizations", "path": "src/Form/LogoImageFactory.php", "func_name": "LogoImageFactory.configureForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the Form width Options\n\n@param \\Core\\Form\\Form $form\n@param AbstractOptions $options", "docstring_tokens": ["Configure", "the", "Form", "width", "Options"], "sha": "a5d982212be5f445c067656aeb0aa3ca7daf0251", "url": "https://github.com/yawik/organizations/blob/a5d982212be5f445c067656aeb0aa3ca7daf0251/src/Form/LogoImageFactory.php#L40-L56", "partition": "test"} +{"repo": "crevillo/payum-redsys", "path": "Api.php", "func_name": "Api.ensureCorrectOrderNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the order number passed to the bank. it needs to pass the\nfollowing test\n\n- Must be between 4 and 12 characters\n- We complete with 0 to the left in case length or the number is lower\nthan 4 in order to make the integration easier\n- Four first characters must be digits\n- Following eight can be digits or characters which ASCII numbers are:\n- between 65 and 90 ( A - Z)\n- between 97 and 122 ( a - z )\n\nIf the test pass, orderNumber will be returned. if not, a Exception will be thrown\n\n@param string $orderNumber\n\n@return string", "docstring_tokens": ["Validate", "the", "order", "number", "passed", "to", "the", "bank", ".", "it", "needs", "to", "pass", "the", "following", "test"], "sha": "c256c4796424efb9212408177525c3a8b971b44e", "url": "https://github.com/crevillo/payum-redsys/blob/c256c4796424efb9212408177525c3a8b971b44e/Api.php#L138-L153", "partition": "test"} +{"repo": "crevillo/payum-redsys", "path": "Api.php", "func_name": "Api.encrypt_3DES", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "3DES Function provided by Redsys\n\n@param string $merchantOrder\n@param string $key\n\n@return string", "docstring_tokens": ["3DES", "Function", "provided", "by", "Redsys"], "sha": "c256c4796424efb9212408177525c3a8b971b44e", "url": "https://github.com/crevillo/payum-redsys/blob/c256c4796424efb9212408177525c3a8b971b44e/Api.php#L163-L179", "partition": "test"} +{"repo": "crevillo/payum-redsys", "path": "Api.php", "func_name": "Api.createMerchantSignatureNotif", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "builds signature from the data sent by Redsys in the reply\n\n@param $key\n@param $data\n@return string", "docstring_tokens": ["builds", "signature", "from", "the", "data", "sent", "by", "Redsys", "in", "the", "reply"], "sha": "c256c4796424efb9212408177525c3a8b971b44e", "url": "https://github.com/crevillo/payum-redsys/blob/c256c4796424efb9212408177525c3a8b971b44e/Api.php#L250-L259", "partition": "test"} +{"repo": "crevillo/payum-redsys", "path": "Api.php", "func_name": "Api.validateNotificationSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates notification sent by Redsys when it receives the payment\n\n@param array $notification\n\n@return bool", "docstring_tokens": ["Validates", "notification", "sent", "by", "Redsys", "when", "it", "receives", "the", "payment"], "sha": "c256c4796424efb9212408177525c3a8b971b44e", "url": "https://github.com/crevillo/payum-redsys/blob/c256c4796424efb9212408177525c3a8b971b44e/Api.php#L268-L279", "partition": "test"} +{"repo": "crevillo/payum-redsys", "path": "Api.php", "func_name": "Api.sign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sing request sent to Gateway\n\n@param array $params\n\n@return string", "docstring_tokens": ["Sing", "request", "sent", "to", "Gateway"], "sha": "c256c4796424efb9212408177525c3a8b971b44e", "url": "https://github.com/crevillo/payum-redsys/blob/c256c4796424efb9212408177525c3a8b971b44e/Api.php#L302-L314", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/HTTPClient.php", "func_name": "HTTPClient.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overrides base class request method to automatically add authentication options to request.", "docstring_tokens": ["Overrides", "base", "class", "request", "method", "to", "automatically", "add", "authentication", "options", "to", "request", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/HTTPClient.php#L127-L165", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/Ticket.php", "func_name": "Ticket.getTicketArticles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches TicketArticle objects of this Ticket object.\n\n@return Array of TicketArticle objects Returns array of ZammadAPIClient\\Resource\\TicketArticle objects or an empty array.", "docstring_tokens": ["Fetches", "TicketArticle", "objects", "of", "this", "Ticket", "object", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/Ticket.php#L28-L43", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Client.php", "func_name": "Client.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a request.\n\n@param String $method GET, PUT, POST, DELETE\n@param String $url E. g. tickets/1\n@param Array $url_parameters E. g. [ 'expand' => true, ]\n\n@return Response object", "docstring_tokens": ["Executes", "a", "request", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Client.php#L62-L95", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Client.php", "func_name": "Client.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes POST request.\n\n@param String $url E. g. tickets/1\n@param Array $data Array with data to send as JSON.\n@param Array $url_parameters E. g. [ 'expand' => true, ]\n\n@return Response object", "docstring_tokens": ["Executes", "POST", "request", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Client.php#L125-L135", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Client.php", "func_name": "Client.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes PUT request.\n\n@param String $url E. g. tickets/1\n@param Array $data Array with data to send as JSON.\n@param Array $url_parameters E. g. [ 'expand' => true, ]\n\n@return Response object", "docstring_tokens": ["Executes", "PUT", "request", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Client.php#L146-L156", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/TicketArticle.php", "func_name": "TicketArticle.getForTicket", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches TicketArticle objects for given ticket ID.\n\n@param integer $ticket_id ID of ticket to fetch article data for.\n\n@return array Array of TicketArticle objects.", "docstring_tokens": ["Fetches", "TicketArticle", "objects", "for", "given", "ticket", "ID", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/TicketArticle.php#L28-L68", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets value of object.\n\nFirst, it's been checked if the key exists in the local values that will be saved later in Zammad\nby a call to save().\n\nIf not found, additionally the remote data will be searched for the key. This\nensures that a value is being returned that hasn't been changed locally.\n\n@param string $key Key to fetch value for.\n\n@return mixed Value or null if not found. Null could also be the set value.", "docstring_tokens": ["Gets", "value", "of", "object", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L122-L134", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches object data for given object ID.\n\n@param mixed $object_id ID of object to fetch, false value or omit to fetch all objects.\n\n@return object This object.", "docstring_tokens": ["Fetches", "object", "data", "for", "given", "object", "ID", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L244-L277", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches object data for all objects of this type.\nPagination available.\n\n@param integer $page Page of objects, optional, if given, $objects_per_page must also be given.\n@param integer $objects_per_page Number of objects per page, optional, if given, $page must also be given.\n\n@return mixed Returns array of ZammadAPIClient\\Resource\\... objects\nor this object on failure.", "docstring_tokens": ["Fetches", "object", "data", "for", "all", "objects", "of", "this", "type", ".", "Pagination", "available", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L289-L344", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new object with the current data.\n\n@return object This object", "docstring_tokens": ["Creates", "a", "new", "object", "with", "the", "current", "data", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L498-L526", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing object with the current data.\n\n@return object This object", "docstring_tokens": ["Updates", "an", "existing", "object", "with", "the", "current", "data", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L533-L568", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the data of this object.\nIf data contains an ID, the object will also be deleted in Zammad.\n\n@return object This object", "docstring_tokens": ["Deletes", "the", "data", "of", "this", "object", ".", "If", "data", "contains", "an", "ID", "the", "object", "will", "also", "be", "deleted", "in", "Zammad", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L576-L606", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/AbstractResource.php", "func_name": "AbstractResource.getURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URL for the given method name, including its replaced placeholders.\n\n@param string $method_name E. g. 'get', 'all', etc.\n@param array $placeholder_values Array of placeholder => value pairs,\ne. g. [ 'object_id' => 2 ] will replace\n{object_id} in URL with 2.\n\n@return string URL, e. g. 'tickets/10'.", "docstring_tokens": ["Returns", "the", "URL", "for", "the", "given", "method", "name", "including", "its", "replaced", "placeholders", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/AbstractResource.php#L618-L634", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/Tag.php", "func_name": "Tag.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches tags of an object.\n\n@param integer $object_id ID of the object to fetch tags for.\n@param string $object_type Type of object to fetch tags for (e. g. 'Ticket').\n\n@return object This object.", "docstring_tokens": ["Fetches", "tags", "of", "an", "object", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/Tag.php#L27-L53", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/Tag.php", "func_name": "Tag.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a tag to an object.\n\n@param integer $object_id ID of the object to fetch tags for.\n@param string $tag Tag to add.\n@param string $object_type Type of object to fetch tags for (e. g. 'Ticket').\n\n@return object This object.", "docstring_tokens": ["Adds", "a", "tag", "to", "an", "object", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/Tag.php#L64-L91", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/Tag.php", "func_name": "Tag.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches tags for given search term.\nPagination available.\n\n@param string $search_term Search term.\n@param integer $page Page of tags, optional, if given, $objects_per_page must also be given\n@param integer $objects_per_page Number of tags per page, optional, if given, $page must also be given\n\n@return mixed Returns array of ZammadAPIClient\\Resource\\... objects\nor this object on failure.", "docstring_tokens": ["Fetches", "tags", "for", "given", "search", "term", ".", "Pagination", "available", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/Tag.php#L104-L135", "partition": "test"} +{"repo": "zammad/zammad-api-client-php", "path": "src/Resource/Tag.php", "func_name": "Tag.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a tag from an object.\n\n@param integer $object_id ID of the object to fetch tags for.\n@param string $tag Tag to remove.\n@param string $object_type Type of object to fetch tags for (e. g. 'Ticket').\n\n@return object This object.", "docstring_tokens": ["Removes", "a", "tag", "from", "an", "object", "."], "sha": "0ae079f643ce199624349cc05849deac1cc8e056", "url": "https://github.com/zammad/zammad-api-client-php/blob/0ae079f643ce199624349cc05849deac1cc8e056/src/Resource/Tag.php#L146-L179", "partition": "test"} +{"repo": "ip2location/ip2proxy-php", "path": "class.IP2Proxy.php", "func_name": "Database.shmTeardown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tear down a shared memory segment created for the given file\n\n@access protected\n@param string $file Filename of the BIN database whise segment must be deleted\n@throws \\Exception", "docstring_tokens": ["Tear", "down", "a", "shared", "memory", "segment", "created", "for", "the", "given", "file"], "sha": "70bfd9803d63c3e05d20b9bb91d25cdb9e9cb912", "url": "https://github.com/ip2location/ip2proxy-php/blob/70bfd9803d63c3e05d20b9bb91d25cdb9e9cb912/class.IP2Proxy.php#L627-L652", "partition": "test"} +{"repo": "ip2location/ip2proxy-php", "path": "class.IP2Proxy.php", "func_name": "Database.readProxyType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "High level function to fetch the proxy type\n\n@access private\n@param int $pointer Position to read from, if false, return self::INVALID_IP_ADDRESS\n@return string", "docstring_tokens": ["High", "level", "function", "to", "fetch", "the", "proxy", "type"], "sha": "70bfd9803d63c3e05d20b9bb91d25cdb9e9cb912", "url": "https://github.com/ip2location/ip2proxy-php/blob/70bfd9803d63c3e05d20b9bb91d25cdb9e9cb912/class.IP2Proxy.php#L1059-L1071", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Wrapper/LongPoll.php", "func_name": "LongPoll.getConnectionInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return connection info for long polling.\n\n@param $d\n\n@return string", "docstring_tokens": ["Return", "connection", "info", "for", "long", "polling", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Wrapper/LongPoll.php#L27-L30", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Wrapper/LongPoll.php", "func_name": "LongPoll.doLoop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "LongPoll loop.\n\n@todo make something other than putting data to STDOUT", "docstring_tokens": ["LongPoll", "loop", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Wrapper/LongPoll.php#L47-L108", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/VkJs.php", "func_name": "VkJs.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "We wanna send our current VkJs to Vk execute.\n\n@return RequestTransaction|Api", "docstring_tokens": ["We", "wanna", "send", "our", "current", "VkJs", "to", "Vk", "execute", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/VkJs.php#L73-L98", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Response/Response.php", "func_name": "Response.each", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method takes Closure as argument, so every element from response will go into this Closure.\n\n@param Closure $callback", "docstring_tokens": ["This", "method", "takes", "Closure", "as", "argument", "so", "every", "element", "from", "response", "will", "go", "into", "this", "Closure", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Response/Response.php#L87-L97", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Response/Response.php", "func_name": "Response.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method will return one element if id is not specified or element of array otherwise.\n\n@param bool|int $id\n\n@return mixed", "docstring_tokens": ["This", "method", "will", "return", "one", "element", "if", "id", "is", "not", "specified", "or", "element", "of", "array", "otherwise", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Response/Response.php#L106-L119", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Model/Wall.php", "func_name": "Wall.getSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return recursive wall instance.\n\n@param int $id\n\n@return bool|Wall", "docstring_tokens": ["Return", "recursive", "wall", "instance", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Model/Wall.php#L38-L48", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/RequestTransaction.php", "func_name": "RequestTransaction.fetchData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Querying API for a data.\n\n@return Api", "docstring_tokens": ["Querying", "API", "for", "a", "data", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/RequestTransaction.php#L144-L164", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Wrapper/Account.php", "func_name": "Account.validateRights", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Used to validate rights.\n\n@param $permissions\n@param int|array $bitmask\n\n@return int", "docstring_tokens": ["Used", "to", "validate", "rights", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Wrapper/Account.php#L34-L46", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Core.php", "func_name": "Core.param", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set one param.\n\n@param mixed $key\n@param mixed $value\n@param bool $defaultValue\n\n@return $this", "docstring_tokens": ["Set", "one", "param", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Core.php#L69-L78", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Core.php", "func_name": "Core.params", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set many params.\n\n@param array $data\n\n@return $this", "docstring_tokens": ["Set", "many", "params", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Core.php#L87-L94", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Core.php", "func_name": "Core.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "API Request, will return RequestTransaction.\n\n@param string $methodName\n@param bool|array $args\n\n@return Api|RequestTransaction", "docstring_tokens": ["API", "Request", "will", "return", "RequestTransaction", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Core.php#L118-L130", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Wrapper/Photos.php", "func_name": "Photos.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "todo Process response.\n\n@param UploadResponse $data", "docstring_tokens": ["todo", "Process", "response", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Wrapper/Photos.php#L41-L49", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Auth.php", "func_name": "Auth.startCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will return token if everything is OK.\n\n@return \\getjump\\Vk\\Response\\Auth|bool|string", "docstring_tokens": ["Will", "return", "token", "if", "everything", "is", "OK", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Auth.php#L139-L150", "partition": "test"} +{"repo": "getjump/VkApiPHP", "path": "src/getjump/Vk/Auth.php", "func_name": "Auth.getToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method converts code to token.\n\n@param $code\n\n@return \\getjump\\Vk\\Response\\Auth|bool", "docstring_tokens": ["Method", "converts", "code", "to", "token", "."], "sha": "9627cf05325492e5bb0dfa3d8c486f22ab3915fd", "url": "https://github.com/getjump/VkApiPHP/blob/9627cf05325492e5bb0dfa3d8c486f22ab3915fd/src/getjump/Vk/Auth.php#L159-L183", "partition": "test"} +{"repo": "adamfairholm/Elasticquent", "path": "src/ElasticquentResultCollection.php", "func_name": "ElasticquentResultCollection.hitsToItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hits To Items\n\n@param Eloquent model instance $instance\n@return array", "docstring_tokens": ["Hits", "To", "Items"], "sha": "b1af5a7d1bfa1dd1faddee308a8a2e1f50f1acb4", "url": "https://github.com/adamfairholm/Elasticquent/blob/b1af5a7d1bfa1dd1faddee308a8a2e1f50f1acb4/src/ElasticquentResultCollection.php#L39-L49", "partition": "test"} +{"repo": "adamfairholm/Elasticquent", "path": "src/ElasticquentTrait.php", "func_name": "ElasticquentTrait.searchByQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search By Query\n\nSearch with a query array\n\n@param array $query\n@param array $aggregations\n@param array $sourceFields\n@param int $limit\n@param int $offset\n@return ResultCollection", "docstring_tokens": ["Search", "By", "Query"], "sha": "b1af5a7d1bfa1dd1faddee308a8a2e1f50f1acb4", "url": "https://github.com/adamfairholm/Elasticquent/blob/b1af5a7d1bfa1dd1faddee308a8a2e1f50f1acb4/src/ElasticquentTrait.php#L244-L269", "partition": "test"} +{"repo": "fourlabsldn/QBJSParser", "path": "src/Parser/Doctrine/StringManipulator.php", "func_name": "StringManipulator.replaceAllDotsExceptLastThree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will convert \"object_something.cool.today.midday\" TO \"object_something.cool.today.midday\".\nWill convert \"object.something.cool.today\" TO \"object.something.cool.today\".\nWill convert \"object.something.cool\" TO \"object.something.cool\".\nWill convert \"object.something\" TO \"object.something\".\nWill convert \"object\" TO \"object\".\n\n@param string $string\n\n@return string", "docstring_tokens": ["Will", "convert", "object_something", ".", "cool", ".", "today", ".", "midday", "TO", "object_something", ".", "cool", ".", "today", ".", "midday", ".", "Will", "convert", "object", ".", "something", ".", "cool", ".", "today", "TO", "object", ".", "something", ".", "cool", ".", "today", ".", "Will", "convert", "object", ".", "something", ".", "cool", "TO", "object", ".", "something", ".", "cool", ".", "Will", "convert", "object", ".", "something", "TO", "object", ".", "something", ".", "Will", "convert", "object", "TO", "object", "."], "sha": "4aedf876e0262e6c8d64a520e34bad8c53f01bc8", "url": "https://github.com/fourlabsldn/QBJSParser/blob/4aedf876e0262e6c8d64a520e34bad8c53f01bc8/src/Parser/Doctrine/StringManipulator.php#L22-L35", "partition": "test"} +{"repo": "fourlabsldn/QBJSParser", "path": "src/Parser/Doctrine/StringManipulator.php", "func_name": "StringManipulator.replaceAllDotsExceptLastTwo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will convert \"object.something.cool.today\" TO \"object_something.cool.today\".\nWill convert \"object.something.cool\" TO \"object.something.cool\".\nWill convert \"object.something\" TO \"object.something\".\nWill convert \"object\" TO \"object\".\n\n@param string $string\n\n@return string", "docstring_tokens": ["Will", "convert", "object", ".", "something", ".", "cool", ".", "today", "TO", "object_something", ".", "cool", ".", "today", ".", "Will", "convert", "object", ".", "something", ".", "cool", "TO", "object", ".", "something", ".", "cool", ".", "Will", "convert", "object", ".", "something", "TO", "object", ".", "something", ".", "Will", "convert", "object", "TO", "object", "."], "sha": "4aedf876e0262e6c8d64a520e34bad8c53f01bc8", "url": "https://github.com/fourlabsldn/QBJSParser/blob/4aedf876e0262e6c8d64a520e34bad8c53f01bc8/src/Parser/Doctrine/StringManipulator.php#L47-L60", "partition": "test"} +{"repo": "fourlabsldn/QBJSParser", "path": "src/Parser/Doctrine/StringManipulator.php", "func_name": "StringManipulator.replaceAllDotsExceptLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will convert \"object.something.cool.today\" TO \"object_something_cool.today\".\nWill convert \"object.something.cool\" TO \"object_something.cool\".\nWill convert \"object.something\" TO \"object.something\".\nWill convert \"object\" TO \"object\".\n\n@param string $string\n\n@return string", "docstring_tokens": ["Will", "convert", "object", ".", "something", ".", "cool", ".", "today", "TO", "object_something_cool", ".", "today", ".", "Will", "convert", "object", ".", "something", ".", "cool", "TO", "object_something", ".", "cool", ".", "Will", "convert", "object", ".", "something", "TO", "object", ".", "something", ".", "Will", "convert", "object", "TO", "object", "."], "sha": "4aedf876e0262e6c8d64a520e34bad8c53f01bc8", "url": "https://github.com/fourlabsldn/QBJSParser/blob/4aedf876e0262e6c8d64a520e34bad8c53f01bc8/src/Parser/Doctrine/StringManipulator.php#L72-L85", "partition": "test"} +{"repo": "stephanecollot/DatetimepickerBundle", "path": "Form/Type/DatetimeType.php", "func_name": "DatetimeType.convertIntlFormaterToMalot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the PHP date format to Bootstrap Datetimepicker date format", "docstring_tokens": ["Convert", "the", "PHP", "date", "format", "to", "Bootstrap", "Datetimepicker", "date", "format"], "sha": "ebecd027c702816bc86e6727c8075a67b01a43f1", "url": "https://github.com/stephanecollot/DatetimepickerBundle/blob/ebecd027c702816bc86e6727c8075a67b01a43f1/Form/Type/DatetimeType.php#L115-L132", "partition": "test"} +{"repo": "stephanecollot/DatetimepickerBundle", "path": "Form/Type/DatetimeType.php", "func_name": "DatetimeType.convertMalotToIntlFormater", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the Bootstrap Datetimepicker date format to PHP date format", "docstring_tokens": ["Convert", "the", "Bootstrap", "Datetimepicker", "date", "format", "to", "PHP", "date", "format"], "sha": "ebecd027c702816bc86e6727c8075a67b01a43f1", "url": "https://github.com/stephanecollot/DatetimepickerBundle/blob/ebecd027c702816bc86e6727c8075a67b01a43f1/Form/Type/DatetimeType.php#L137-L154", "partition": "test"} +{"repo": "stephanecollot/DatetimepickerBundle", "path": "DependencyInjection/Configuration.php", "func_name": "Configuration.addPicker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add configuration Picker\n\n@param ArrayNodeDefinition $rootNode", "docstring_tokens": ["Add", "configuration", "Picker"], "sha": "ebecd027c702816bc86e6727c8075a67b01a43f1", "url": "https://github.com/stephanecollot/DatetimepickerBundle/blob/ebecd027c702816bc86e6727c8075a67b01a43f1/DependencyInjection/Configuration.php#L33-L56", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Provider/AlexaServiceProvider.php", "func_name": "AlexaServiceProvider.bindAlexaRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind the appropriate AlexaResponse type to the IoC container", "docstring_tokens": ["Bind", "the", "appropriate", "AlexaResponse", "type", "to", "the", "IoC", "container"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Provider/AlexaServiceProvider.php#L52-L66", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Provider/AlexaServiceProvider.php", "func_name": "AlexaServiceProvider.registerMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the middleware.", "docstring_tokens": ["Register", "the", "middleware", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Provider/AlexaServiceProvider.php#L92-L101", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Alexa.php", "func_name": "Alexa.resume", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resumes from the previous position\n\n@return AlexaResponse", "docstring_tokens": ["Resumes", "from", "the", "previous", "position"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Alexa.php#L193-L199", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Response/Directives/Dialog/DialogDirective.php", "func_name": "DialogDirective.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the alexa request\n\n@return AlexaRequest", "docstring_tokens": ["Get", "the", "alexa", "request"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Response/Directives/Dialog/DialogDirective.php#L25-L33", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Provider/LumenServiceProvider.php", "func_name": "LumenServiceProvider.addRequestMiddlewareToBeginning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the request middleware to the beginning of the middleware stack on the\nLumen application instance.\n\n@param \\ReflectionClass $reflection", "docstring_tokens": ["Add", "the", "request", "middleware", "to", "the", "beginning", "of", "the", "middleware", "stack", "on", "the", "Lumen", "application", "instance", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Provider/LumenServiceProvider.php#L38-L49", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Routing/Matching/AlexaValidator.php", "func_name": "AlexaValidator.matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a given rule against a route and request.\n\n@param \\Develpr\\AlexaApp\\Http\\Routing\\AlexaRoute $route\n@param \\Develpr\\AlexaApp\\Request\\AlexaRequest $request\n\n@return bool", "docstring_tokens": ["Validate", "a", "given", "rule", "against", "a", "route", "and", "request", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Routing/Matching/AlexaValidator.php#L20-L32", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Routing/AlexaRouter.php", "func_name": "AlexaRouter.newAlexaRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Route object.\n\n@param array|string $methods\n@param string $uri\n@param string $intent\n@param \\Closure|array|string|null $action\n\n@return \\Illuminate\\Routing\\Route", "docstring_tokens": ["Create", "a", "new", "Route", "object", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Routing/AlexaRouter.php#L154-L157", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Request/AlexaRequest.php", "func_name": "AlexaRequest.getSessionValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a particular session value by key\n\n@param string $key\n\n@return mixed|null", "docstring_tokens": ["Get", "a", "particular", "session", "value", "by", "key"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Request/AlexaRequest.php#L166-L169", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Request/AlexaRequest.php", "func_name": "AlexaRequest.updateSlot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a slot\n\n@param $slotName\n@param $value\n@param bool $confirmed\n@param bool $denied\n\n@return $this", "docstring_tokens": ["Update", "a", "slot"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Request/AlexaRequest.php#L222-L241", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Routing/AlexaRoute.php", "func_name": "AlexaRoute.getValidators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the route validators for the instance.\n\n@return array", "docstring_tokens": ["Get", "the", "route", "validators", "for", "the", "instance", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Routing/AlexaRoute.php#L58-L71", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Routing/AlexaRoute.php", "func_name": "AlexaRoute.compileRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the route into a Symfony CompiledRoute instance.\n\n@return void", "docstring_tokens": ["Compile", "the", "route", "into", "a", "Symfony", "CompiledRoute", "instance", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Routing/AlexaRoute.php#L98-L119", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Middleware/Certificate.php", "func_name": "Certificate.getCertificate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the certificate from the certificate provider\n\n@param IlluminateRequest $request\n\n@return mixed", "docstring_tokens": ["Get", "the", "certificate", "from", "the", "certificate", "provider"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Middleware/Certificate.php#L86-L95", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Response/AlexaResponse.php", "func_name": "AlexaResponse.prepareResponseData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the valid Alexa response object\n\n@return array", "docstring_tokens": ["Build", "the", "valid", "Alexa", "response", "object"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Response/AlexaResponse.php#L123-L160", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Http/Middleware/Request.php", "func_name": "Request.sendRequestThroughRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send through our custom router\n\n@param $request\n\n@return Response", "docstring_tokens": ["Send", "through", "our", "custom", "router"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Http/Middleware/Request.php#L78-L85", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Provider/LaravelServiceProvider.php", "func_name": "LaravelServiceProvider.gatherAppMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gather the application middleware besides this one so that we can send\nour request through them, exactly how the developer wanted.\n\n@param \\Illuminate\\Contracts\\Http\\Kernel $kernel\n\n@return array", "docstring_tokens": ["Gather", "the", "application", "middleware", "besides", "this", "one", "so", "that", "we", "can", "send", "our", "request", "through", "them", "exactly", "how", "the", "developer", "wanted", "."], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Provider/LaravelServiceProvider.php#L68-L82", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Certificate/FileCertificateProvider.php", "func_name": "FileCertificateProvider.persistCertificate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist the certificate contents to data store so it's retrievable using the certificate chain uri\n\n@param string $certificateChainUri\n@param string $certificateContents", "docstring_tokens": ["Persist", "the", "certificate", "contents", "to", "data", "store", "so", "it", "s", "retrievable", "using", "the", "certificate", "chain", "uri"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Certificate/FileCertificateProvider.php#L43-L46", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Certificate/FileCertificateProvider.php", "func_name": "FileCertificateProvider.retrieveCertificateFromStore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the certificate give the certificate chain's uri from the datastore\n\n@param string $certificateChainUri\n\n@return string|null", "docstring_tokens": ["Retrieve", "the", "certificate", "give", "the", "certificate", "chain", "s", "uri", "from", "the", "datastore"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Certificate/FileCertificateProvider.php#L55-L64", "partition": "test"} +{"repo": "develpr/alexa-app", "path": "src/Certificate/FileCertificateProvider.php", "func_name": "FileCertificateProvider.calculateFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the path that the certificate should be stored\n\n@param string $certificateChainUri\n\n@return string", "docstring_tokens": ["Calculate", "the", "path", "that", "the", "certificate", "should", "be", "stored"], "sha": "4e14c2d2b6db4c58fb11c82867d1e712575f1ec3", "url": "https://github.com/develpr/alexa-app/blob/4e14c2d2b6db4c58fb11c82867d1e712575f1ec3/src/Certificate/FileCertificateProvider.php#L73-L80", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.setCustomProtectedWords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trims whitespace from the given words, and assigns the\narray to the \"custom protected words\" property.\n\n@param string[] $words", "docstring_tokens": ["Trims", "whitespace", "from", "the", "given", "words", "and", "assigns", "the", "array", "to", "the", "custom", "protected", "words", "property", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L60-L66", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.capitalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Capitalizes the given string, according to AP rules.\n\n@param string $string\n\n@return string", "docstring_tokens": ["Capitalizes", "the", "given", "string", "according", "to", "AP", "rules", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L75-L83", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.normalizeInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalises the given string, ready for capitalisation.\n\n@param string $string\n\n@return string", "docstring_tokens": ["Normalises", "the", "given", "string", "ready", "for", "capitalisation", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L92-L97", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.processStringParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the given array of string parts.\n\n@param array $parts\n\n@return array", "docstring_tokens": ["Processes", "the", "given", "array", "of", "string", "parts", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L125-L131", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.processFirstSentenceWordsInParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the first words in any sentences within the given array of\nparts.\n\n@param array $parts\n\n@return array", "docstring_tokens": ["Processes", "the", "first", "words", "in", "any", "sentences", "within", "the", "given", "array", "of", "parts", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L141-L159", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.processLastWordInParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the last word-like item in the given array of parts.\n\n@param array $parts\n\n@return array", "docstring_tokens": ["Processes", "the", "last", "word", "-", "like", "item", "in", "the", "given", "array", "of", "parts", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L168-L180", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.processWord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes the given word.\n\n@param string $word\n\n@return string", "docstring_tokens": ["Processes", "the", "given", "word", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L236-L245", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/APTitleCapitalizer.php", "func_name": "APTitleCapitalizer.replacePattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces all matches of the given regular expression pattern in the\ngiven string with the given replacement. If an error occurs, returns the\noriginal string.\n\n// TODO: Make `replacePattern` multi-byte safe\n\n@param string $string\n@param string $pattern\n@param string $replacement\n\n@return string", "docstring_tokens": ["Replaces", "all", "matches", "of", "the", "given", "regular", "expression", "pattern", "in", "the", "given", "string", "with", "the", "given", "replacement", ".", "If", "an", "error", "occurs", "returns", "the", "original", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/APTitleCapitalizer.php#L289-L293", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/FullNameParser.php", "func_name": "FullNameParser.get_pro_suffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for the existence of, and returns professional suffix\n\n@param string $name the name you wish to test\n@return mixed returns the suffix if exists, false otherwise", "docstring_tokens": ["Checks", "for", "the", "existence", "of", "and", "returns", "professional", "suffix"], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/FullNameParser.php#L318-L331", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/FullNameParser.php", "func_name": "FullNameParser.break_words", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Breaks name into individual words\n\n@param string $name the full name you wish to parse\n@return array full list of words broken down by spaces", "docstring_tokens": ["Breaks", "name", "into", "individual", "words"], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/FullNameParser.php#L363-L373", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/FullNameParser.php", "func_name": "FullNameParser.is_salutation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks word against list of common honorific prefixes\n\n@param string $word the single word you wish to test\n@return boolean", "docstring_tokens": ["Checks", "word", "against", "list", "of", "common", "honorific", "prefixes"], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/FullNameParser.php#L381-L390", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/libs/FullNameParser.php", "func_name": "FullNameParser.is_line_suffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks word against array of common lineage suffixes\n\n@param string $word the single word you wish to test\n@param string $name full name for context in determining edge-cases\n@return mixed boolean if false, string if true (returns suffix)", "docstring_tokens": ["Checks", "word", "against", "array", "of", "common", "lineage", "suffixes"], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/libs/FullNameParser.php#L399-L438", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/EmojiService.php", "func_name": "EmojiService.generateEmojiPhpConstants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For internal use only.\n\nWe use this function to reformat data from the source-of-truth JSON in order to create the code for \\libs\\Emoji.php\n\n@return string", "docstring_tokens": ["For", "internal", "use", "only", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/EmojiService.php#L229-L263", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.chop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helps chop your content down to a manageable size.\n\n@param $s\n@param int $limit\n@param string $unit\n@param null $append\n@param null $allowedTags\n@return string", "docstring_tokens": ["Helps", "chop", "your", "content", "down", "to", "a", "manageable", "size", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L406-L409", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.emojify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces emoticons and Emoji name codes in text with their actual Unicode Emoji characters.\n\n@param $s\n@param string $name_delimiter\n@param string $emoticon_delimiter\n\n@return string", "docstring_tokens": ["Replaces", "emoticons", "and", "Emoji", "name", "codes", "in", "text", "with", "their", "actual", "Unicode", "Emoji", "characters", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L459-L462", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.firstWord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first word in the string, or an empty string if the source string is empty.\n\n@param $s\n@return string|null", "docstring_tokens": ["Returns", "the", "first", "word", "in", "the", "string", "or", "an", "empty", "string", "if", "the", "source", "string", "is", "empty", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L497-L504", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.isStringy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether a thingy is stringy.\n\nThingies that are stringy include: a string, a printable number, or a string-castable object\n\n@param $thingy\n@return bool", "docstring_tokens": ["Returns", "whether", "a", "thingy", "is", "stringy", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L642-L649", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.lastWord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the last word in the string, or an empty string if the source string is empty.\n\n@param $s\n@return string|null", "docstring_tokens": ["Returns", "the", "last", "word", "in", "the", "string", "or", "an", "empty", "string", "if", "the", "source", "string", "is", "empty", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L672-L680", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.lowerCaseRoman", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lowercases any Roman numerals found in the string.\n\n@param $s\n@param string $matchMode\n@return string", "docstring_tokens": ["Lowercases", "any", "Roman", "numerals", "found", "in", "the", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L690-L703", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.markdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses text through Markdown.\n\n@param $s\n@param string $flavor\n@param bool $inlineOnly\n@return string", "docstring_tokens": ["Parses", "text", "through", "Markdown", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L714-L740", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.readTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the units of time required for an average person to read the given passage of text.\n\n// TODO: Add label and inflection\n\n@param string $s\n@param int $rate\n@param int $minimum\n@return mixed", "docstring_tokens": ["Calculates", "the", "units", "of", "time", "required", "for", "an", "average", "person", "to", "read", "the", "given", "passage", "of", "text", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L918-L922", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.smartypants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "c.f. PHP-Typography\n\n@param string $s\n@return string", "docstring_tokens": ["c", ".", "f", ".", "PHP", "-", "Typography"], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L969-L972", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.substringAfterFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the substring after the first occurrence of a separator.\nIf no match is found returns an empty string.\n\n(We're hijacking the return from SubStringy to return a `null` instead of boolean `false` if the substring isn't matched.)\n\nc.f. SubStringy::substringAfterFirst()\n\n@param string $s\n@param string $separator\n\n@return string|null", "docstring_tokens": ["Gets", "the", "substring", "after", "the", "first", "occurrence", "of", "a", "separator", ".", "If", "no", "match", "is", "found", "returns", "an", "empty", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1013-L1017", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.substringAfterLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the substring after the last occurrence of a separator.\nIf no match is found returns an empty string.\n\n(We're hijacking the return from SubStringy to return a `null` instead of boolean `false` if the substring isn't matched.)\n\nc.f. SubStringy::substringAfterLast()\n\n@param string $s\n@param string $separator\n\n@return Word", "docstring_tokens": ["Gets", "the", "substring", "after", "the", "last", "occurrence", "of", "a", "separator", ".", "If", "no", "match", "is", "found", "returns", "an", "empty", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1033-L1037", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.substringBeforeFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the substring before the first occurrence of a separator.\nIf no match is found returns an empty string.\n\n(We're hijacking the return from SubStringy to return a `null` instead of boolean `false` if the substring isn't matched.)\n\nc.f. SubStringy::substringBeforeFirst()\n\n@param string $s\n@param string $separator\n\n@return Word", "docstring_tokens": ["Gets", "the", "substring", "before", "the", "first", "occurrence", "of", "a", "separator", ".", "If", "no", "match", "is", "found", "returns", "an", "empty", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1053-L1057", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.substringBeforeLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the substring before the last occurrence of a separator.\nIf no match is found returns an empty string.\n\n(We're hijacking the return from SubStringy to return a `null` instead of boolean `false` if the substring isn't matched.)\n\nc.f. SubStringy::substringBeforeLast()\n\n@param string $s\n@param string $separator\n\n@return Word", "docstring_tokens": ["Gets", "the", "substring", "before", "the", "last", "occurrence", "of", "a", "separator", ".", "If", "no", "match", "is", "found", "returns", "an", "empty", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1073-L1077", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.titleize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a trimmed string with the first letter of each word capitalized.\n\nc.f. Stringy::titleize()\n\n@param string $s\n@param array $ignore\n@return string", "docstring_tokens": ["Returns", "a", "trimmed", "string", "with", "the", "first", "letter", "of", "each", "word", "capitalized", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1118-L1121", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.trim", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string with whitespace removed from the start and end of the string.\n\nc.f. Stringy::trim()\n\n@param string $s\n@param string $chars\n@return string", "docstring_tokens": ["Returns", "a", "string", "with", "whitespace", "removed", "from", "the", "start", "and", "end", "of", "the", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1133-L1136", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.trimLeft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string with whitespace removed from the start of the string.\n\nc.f. Stringy::trimLeft()\n\n@param string $s\n@param string $chars\n@return string", "docstring_tokens": ["Returns", "a", "string", "with", "whitespace", "removed", "from", "the", "start", "of", "the", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1147-L1150", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.trimRight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string with whitespace removed from the end of the string.\n\nc.f. Stringy::trimRight()\n\n@param string $s\n@param string $chars\n@return string", "docstring_tokens": ["Returns", "a", "string", "with", "whitespace", "removed", "from", "the", "end", "of", "the", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1161-L1164", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.typogrify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Typogrify applies a full suite of typographic treatments to beautify your web typography.\n\nc.f. PHP-Typography\n\n@param string $s\n@return string", "docstring_tokens": ["Typogrify", "applies", "a", "full", "suite", "of", "typographic", "treatments", "to", "beautify", "your", "web", "typography", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1175-L1178", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.upperCaseRoman", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uppercases any Roman numerals found in the string.\n\n@param $s\n@param string $match_mode\n@return string", "docstring_tokens": ["Uppercases", "any", "Roman", "numerals", "found", "in", "the", "string", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1230-L1243", "partition": "test"} +{"repo": "TopShelfCraft/Wordsmith", "path": "src/services/WordsmithService.php", "func_name": "WordsmithService.widont", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces the space between the last two words in a string with a ` ` to prevent widowing.\n\nc.f. PHP-Typography\n\n@param string $s\n@param array $settings\n@return string", "docstring_tokens": ["Replaces", "the", "space", "between", "the", "last", "two", "words", "in", "a", "string", "with", "a", " ", ";", "to", "prevent", "widowing", "."], "sha": "efe40e9324d2449d431444070e0972fd60aaac37", "url": "https://github.com/TopShelfCraft/Wordsmith/blob/efe40e9324d2449d431444070e0972fd60aaac37/src/services/WordsmithService.php#L1370-L1373", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Models/Settings.php", "func_name": "Settings.getByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value settings by name.\n\n@param string $settingName Name of setting\n@param string $fallback Fallback if the setting does not exist\n@return string", "docstring_tokens": ["Get", "the", "value", "settings", "by", "name", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Models/Settings.php#L46-L57", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/Extension.php", "func_name": "Extension.getIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the icon information from the composer.json.\n\n@return array|null", "docstring_tokens": ["Loads", "the", "icon", "information", "from", "the", "composer", ".", "json", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/Extension.php#L166-L184", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/Extension.php", "func_name": "Extension.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an array result for the object.\n\n@return array", "docstring_tokens": ["Generates", "an", "array", "result", "for", "the", "object", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/Extension.php#L271-L283", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Frontend/BlogController.php", "func_name": "BlogController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the blog index page.\n\n@param Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Display", "the", "blog", "index", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Frontend/BlogController.php#L22-L32", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Frontend/BlogController.php", "func_name": "BlogController.showPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display a blog post page.\n\n@param $slug\n@param Request $request\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Display", "a", "blog", "post", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Frontend/BlogController.php#L41-L60", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/TagController.php", "func_name": "TagController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store the newly created tag in the database.\n\n@param TagCreateRequest $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Store", "the", "newly", "created", "tag", "in", "the", "database", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/TagController.php#L59-L68", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/TagController.php", "func_name": "TagController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for editing a tag.\n\n@param int $id\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Show", "the", "form", "for", "editing", "a", "tag", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/TagController.php#L77-L86", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/TagController.php", "func_name": "TagController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the tag in storage.\n\n@param TagUpdateRequest $request\n@param int $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Update", "the", "tag", "in", "storage", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/TagController.php#L96-L105", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/TagController.php", "func_name": "TagController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the tag.\n\n@param int $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Delete", "the", "tag", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/TagController.php#L114-L122", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ToolsController.php", "func_name": "ToolsController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the tools page.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Display", "the", "tools", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ToolsController.php#L33-L40", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ToolsController.php", "func_name": "ToolsController.clearCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Manually Flush the Application Cache.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Manually", "Flush", "the", "Application", "Cache", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ToolsController.php#L47-L59", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ToolsController.php", "func_name": "ToolsController.handleDownload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and download an archive of all existing data.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Create", "and", "download", "an", "archive", "of", "all", "existing", "data", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ToolsController.php#L66-L96", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ToolsController.php", "func_name": "ToolsController.enableMaintenanceMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enable Application Maintenance Mode.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Enable", "Application", "Maintenance", "Mode", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ToolsController.php#L213-L224", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ToolsController.php", "func_name": "ToolsController.disableMaintenanceMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable Application Maintenance Mode.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Disable", "Application", "Maintenance", "Mode", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ToolsController.php#L231-L241", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/CanvasServiceProvider.php", "func_name": "CanvasServiceProvider.handleConfigs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configuration files.", "docstring_tokens": ["Configuration", "files", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/CanvasServiceProvider.php#L79-L89", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/CanvasServiceProvider.php", "func_name": "CanvasServiceProvider.handleTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translation files.", "docstring_tokens": ["Translation", "files", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/CanvasServiceProvider.php#L94-L106", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/CanvasServiceProvider.php", "func_name": "CanvasServiceProvider.handleViews", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View files.", "docstring_tokens": ["View", "files", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/CanvasServiceProvider.php#L111-L123", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ProfileController.php", "func_name": "ProfileController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the user profile page.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Display", "the", "user", "profile", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ProfileController.php#L18-L25", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/ProfileController.php", "func_name": "ProfileController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the user profile information.\n\n@param ProfileUpdateRequest $request\n@param $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Update", "the", "user", "profile", "information", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/ProfileController.php#L47-L56", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/CanvasHelper.php", "func_name": "CanvasHelper.authenticated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actions to be taken when user is successfully authenticated.\n\n@param Request $request\n@param User $user\n@return void", "docstring_tokens": ["Actions", "to", "be", "taken", "when", "user", "is", "successfully", "authenticated", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/CanvasHelper.php#L33-L40", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/CanvasHelper.php", "func_name": "CanvasHelper.getCurrentVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the currently installed version of Canvas.\n\n@param bool $update If set to true, latest version in DB will be updated.\n@return string", "docstring_tokens": ["Get", "the", "currently", "installed", "version", "of", "Canvas", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/CanvasHelper.php#L97-L120", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Requests/PostUpdateRequest.php", "func_name": "PostUpdateRequest.postFillData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the fields and values to create a new post from.", "docstring_tokens": ["Return", "the", "fields", "and", "values", "to", "create", "a", "new", "post", "from", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Requests/PostUpdateRequest.php#L43-L57", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ExtensionManager.php", "func_name": "ExtensionManager.enable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enables the extension.\n\n@param string $name", "docstring_tokens": ["Enables", "the", "extension", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ExtensionManager.php#L101-L118", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ExtensionManager.php", "func_name": "ExtensionManager.disable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disables an extension.\n\n@param string $name", "docstring_tokens": ["Disables", "an", "extension", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ExtensionManager.php#L125-L138", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ExtensionManager.php", "func_name": "ExtensionManager.uninstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uninstalls an extension.\n\n@param string $name", "docstring_tokens": ["Uninstalls", "an", "extension", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ExtensionManager.php#L145-L156", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ExtensionManager.php", "func_name": "ExtensionManager.migrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the database migrations for the extension.\n\n@param Extension $extension\n@param bool|true $up", "docstring_tokens": ["Runs", "the", "database", "migrations", "for", "the", "extension", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ExtensionManager.php#L201-L216", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ExtensionManager.php", "func_name": "ExtensionManager.getEnabledBootstrappers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads all bootstrap.php files of the enabled extensions.\n\n@return Collection", "docstring_tokens": ["Loads", "all", "bootstrap", ".", "php", "files", "of", "the", "enabled", "extensions", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ExtensionManager.php#L253-L264", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Requests/SettingsUpdateRequest.php", "func_name": "SettingsUpdateRequest.sanitiseInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitise the input from the request.\nIn this case, the input is type casted where required.\n\n@return void", "docstring_tokens": ["Sanitise", "the", "input", "from", "the", "request", ".", "In", "this", "case", "the", "input", "is", "type", "casted", "where", "required", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Requests/SettingsUpdateRequest.php#L40-L52", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/HomeController.php", "func_name": "HomeController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the application home page.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Display", "the", "application", "home", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/HomeController.php#L20-L35", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Jobs/PostFormFields.php", "func_name": "PostFormFields.fieldsFromModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the field values from the model.\n\n@param int $id\n@param array $fields\n@return array", "docstring_tokens": ["Return", "the", "field", "values", "from", "the", "model", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Jobs/PostFormFields.php#L91-L102", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Jobs/BlogIndexData.php", "func_name": "BlogIndexData.tagIndexData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return data for a tag index page.\n\n@param string $tag\n@return array", "docstring_tokens": ["Return", "data", "for", "a", "tag", "index", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Jobs/BlogIndexData.php#L50-L78", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Jobs/BlogIndexData.php", "func_name": "BlogIndexData.normalIndexData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return data for normal index page.\n\n@return array", "docstring_tokens": ["Return", "data", "for", "normal", "index", "page", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Jobs/BlogIndexData.php#L85-L102", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/PostController.php", "func_name": "PostController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a newly created Post.\n\n@param PostCreateRequest $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Store", "a", "newly", "created", "Post", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/PostController.php#L45-L53", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/PostController.php", "func_name": "PostController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the Post.\n\n@param PostUpdateRequest $request\n@param int $id\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Update", "the", "Post", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/PostController.php#L77-L87", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ThemeManager.php", "func_name": "ThemeManager.publishThemePublic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish a themes public assets. Themes MUST have public assets.\n@param Theme $theme\n@return bool", "docstring_tokens": ["Publish", "a", "themes", "public", "assets", ".", "Themes", "MUST", "have", "public", "assets", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ThemeManager.php#L31-L36", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ThemeManager.php", "func_name": "ThemeManager.publishThemeViews", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish a themes views.\n@param Theme $theme\n@param bool $clean Views directory is cleaned to ensure no interference with none theme views.\n@return bool", "docstring_tokens": ["Publish", "a", "themes", "views", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ThemeManager.php#L44-L59", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ThemeManager.php", "func_name": "ThemeManager.unTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deactivate all themes. Set canvas to \"unthemed\" state.\n@return bool", "docstring_tokens": ["Deactivate", "all", "themes", ".", "Set", "canvas", "to", "unthemed", "state", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ThemeManager.php#L65-L85", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ThemeManager.php", "func_name": "ThemeManager.getDefaultTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a default theme.", "docstring_tokens": ["Generate", "a", "default", "theme", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ThemeManager.php#L113-L126", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Extensions/ThemeManager.php", "func_name": "ThemeManager.getActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The id's of the enabled extensions.\n\n@return array", "docstring_tokens": ["The", "id", "s", "of", "the", "enabled", "extensions", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Extensions/ThemeManager.php#L157-L160", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getGeneralMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get General Middleware.", "docstring_tokens": ["Get", "General", "Middleware", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L10-L16", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getInstalledMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Safe Middleware.", "docstring_tokens": ["Get", "Safe", "Middleware", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L21-L27", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getAdminMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Admin Middleware.", "docstring_tokens": ["Get", "Admin", "Middleware", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L32-L38", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getBlogMain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get blog main path.", "docstring_tokens": ["Get", "blog", "main", "path", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L54-L60", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getBlogPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get blog prefix.", "docstring_tokens": ["Get", "blog", "prefix", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L65-L71", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getAdminPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get admin prefix.\n\n@param bool $withSlashes Wheather wrapping slashes should be returned.\n@param int $slashPos Used to determine where slashes must appear. (i.e. 1 => after, -1 => before, other => both sides)\n@return string", "docstring_tokens": ["Get", "admin", "prefix", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L80-L101", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getAuthPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get auth prefix.\n@return string", "docstring_tokens": ["Get", "auth", "prefix", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L107-L113", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Helpers/RouteHelper.php", "func_name": "RouteHelper.getPasswordPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get password prefix.\n@return string", "docstring_tokens": ["Get", "password", "prefix", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Helpers/RouteHelper.php#L119-L125", "partition": "test"} +{"repo": "cnvs/easel", "path": "src/Http/Controllers/Backend/SearchController.php", "func_name": "SearchController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display search result.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Display", "search", "result", "."], "sha": "bb2b564432155467944b4a2e719e474fd564b711", "url": "https://github.com/cnvs/easel/blob/bb2b564432155467944b4a2e719e474fd564b711/src/Http/Controllers/Backend/SearchController.php#L17-L26", "partition": "test"} +{"repo": "thephpleague/omnipay-paymentexpress", "path": "src/Message/PxPayAuthorizeRequest.php", "func_name": "PxPayAuthorizeRequest.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the transaction data\n\n@return SimpleXMLElement", "docstring_tokens": ["Get", "the", "transaction", "data"], "sha": "5bf92b47e70cf61bb26e732e41f61863ad95d0e4", "url": "https://github.com/thephpleague/omnipay-paymentexpress/blob/5bf92b47e70cf61bb26e732e41f61863ad95d0e4/src/Message/PxPayAuthorizeRequest.php#L185-L223", "partition": "test"} +{"repo": "jonjomckay/quahog", "path": "src/Quahog/Client.php", "func_name": "Client.scanFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan a single file.\n\n@param string $file The location of the file to scan.\n\n@return array", "docstring_tokens": ["Scan", "a", "single", "file", "."], "sha": "38803c4c8993c588edabd32dad8e14835b69a358", "url": "https://github.com/jonjomckay/quahog/blob/38803c4c8993c588edabd32dad8e14835b69a358/src/Quahog/Client.php#L128-L135", "partition": "test"} +{"repo": "jonjomckay/quahog", "path": "src/Quahog/Client.php", "func_name": "Client.multiscanFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan a file or directory recursively using multiple threads.\n\n@param string $file The location of the file or directory to scan.\n\n@return array", "docstring_tokens": ["Scan", "a", "file", "or", "directory", "recursively", "using", "multiple", "threads", "."], "sha": "38803c4c8993c588edabd32dad8e14835b69a358", "url": "https://github.com/jonjomckay/quahog/blob/38803c4c8993c588edabd32dad8e14835b69a358/src/Quahog/Client.php#L144-L151", "partition": "test"} +{"repo": "jonjomckay/quahog", "path": "src/Quahog/Client.php", "func_name": "Client.contScan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan a file or directory recursively.\n\n@param string $file The location of the file or directory to scan.\n\n@return array", "docstring_tokens": ["Scan", "a", "file", "or", "directory", "recursively", "."], "sha": "38803c4c8993c588edabd32dad8e14835b69a358", "url": "https://github.com/jonjomckay/quahog/blob/38803c4c8993c588edabd32dad8e14835b69a358/src/Quahog/Client.php#L160-L167", "partition": "test"} +{"repo": "jonjomckay/quahog", "path": "src/Quahog/Client.php", "func_name": "Client._receiveResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A wrapper to cleanly read a response from clamd.\n\n@param bool $removeId\n@param string $readUntil\n@return string\n@throws ConnectionException", "docstring_tokens": ["A", "wrapper", "to", "cleanly", "read", "a", "response", "from", "clamd", "."], "sha": "38803c4c8993c588edabd32dad8e14835b69a358", "url": "https://github.com/jonjomckay/quahog/blob/38803c4c8993c588edabd32dad8e14835b69a358/src/Quahog/Client.php#L275-L303", "partition": "test"} +{"repo": "siriusphp/upload", "path": "src/Handler.php", "func_name": "Handler.processSingleFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes a single uploaded file\n- sanitize the name\n- validates the file\n- if valid, moves the file to the container\n\n@param array $file\n@return array", "docstring_tokens": ["Processes", "a", "single", "uploaded", "file", "-", "sanitize", "the", "name", "-", "validates", "the", "file", "-", "if", "valid", "moves", "the", "file", "to", "the", "container"], "sha": "2776c526612cc870b2d673e1df8677649c5a0d30", "url": "https://github.com/siriusphp/upload/blob/2776c526612cc870b2d673e1df8677649c5a0d30/src/Handler.php#L218-L263", "partition": "test"} +{"repo": "siriusphp/upload", "path": "src/Handler.php", "func_name": "Handler.validateFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates a file according to the rules configured on the handler\n\n@param $file\n@return mixed", "docstring_tokens": ["Validates", "a", "file", "according", "to", "the", "rules", "configured", "on", "the", "handler"], "sha": "2776c526612cc870b2d673e1df8677649c5a0d30", "url": "https://github.com/siriusphp/upload/blob/2776c526612cc870b2d673e1df8677649c5a0d30/src/Handler.php#L271-L278", "partition": "test"} +{"repo": "siriusphp/upload", "path": "src/Handler.php", "func_name": "Handler.sanitizeFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize the name of the uploaded file by stripping away bad characters\nand replacing \"invalid\" characters with underscore _\n\n@param string $name\n@return string", "docstring_tokens": ["Sanitize", "the", "name", "of", "the", "uploaded", "file", "by", "stripping", "away", "bad", "characters", "and", "replacing", "invalid", "characters", "with", "underscore", "_"], "sha": "2776c526612cc870b2d673e1df8677649c5a0d30", "url": "https://github.com/siriusphp/upload/blob/2776c526612cc870b2d673e1df8677649c5a0d30/src/Handler.php#L287-L293", "partition": "test"} +{"repo": "siriusphp/upload", "path": "src/Container/Local.php", "func_name": "Local.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the file from the container\n\n@param string $file\n@return bool", "docstring_tokens": ["Delete", "the", "file", "from", "the", "container"], "sha": "2776c526612cc870b2d673e1df8677649c5a0d30", "url": "https://github.com/siriusphp/upload/blob/2776c526612cc870b2d673e1df8677649c5a0d30/src/Container/Local.php#L75-L83", "partition": "test"} +{"repo": "siriusphp/upload", "path": "src/Container/Local.php", "func_name": "Local.moveUploadedFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves a temporary uploaded file to a destination in the container\n\n@param string $localFile local path\n@param string $destination\n@return bool", "docstring_tokens": ["Moves", "a", "temporary", "uploaded", "file", "to", "a", "destination", "in", "the", "container"], "sha": "2776c526612cc870b2d673e1df8677649c5a0d30", "url": "https://github.com/siriusphp/upload/blob/2776c526612cc870b2d673e1df8677649c5a0d30/src/Container/Local.php#L92-L108", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Theme.php", "func_name": "Theme.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of available themes names in an array.\n\n@return array", "docstring_tokens": ["Returns", "the", "list", "of", "available", "themes", "names", "in", "an", "array", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Theme.php#L114-L130", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Theme.php", "func_name": "Theme.asset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an asset path for current theme.\n\n@param $path\n@param null $secure\n@param bool $version\n@throws Exceptions\\ThemeException\n@return mixed", "docstring_tokens": ["Generate", "an", "asset", "path", "for", "current", "theme", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Theme.php#L141-L161", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Theme.php", "func_name": "Theme._assetVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return filemtime of given asset or null if asset doesn't exists\n\n@param $path\n@return int|null", "docstring_tokens": ["Return", "filemtime", "of", "given", "asset", "or", "null", "if", "asset", "doesn", "t", "exists"], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Theme.php#L169-L181", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Commands/ThemeDestroyCommand.php", "func_name": "ThemeDestroyCommand.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get root writable path.\n\n@param string $path\n@return string", "docstring_tokens": ["Get", "root", "writable", "path", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Commands/ThemeDestroyCommand.php#L91-L96", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Commands/ThemeGeneratorCommand.php", "func_name": "ThemeGeneratorCommand.makeDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make directory.\n\n@param $path\n@return void", "docstring_tokens": ["Make", "directory", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Commands/ThemeGeneratorCommand.php#L110-L116", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Commands/ThemeGeneratorCommand.php", "func_name": "ThemeGeneratorCommand.makeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make file.\n\n@param string $file\n@param string $template\n@param bool $assets\n@return void", "docstring_tokens": ["Make", "file", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Commands/ThemeGeneratorCommand.php#L126-L134", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Commands/ThemeGeneratorCommand.php", "func_name": "ThemeGeneratorCommand.getAssetsPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get assets writable path.\n\n@param string $path\n@param bool $absolute\n@return string", "docstring_tokens": ["Get", "assets", "writable", "path", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Commands/ThemeGeneratorCommand.php#L169-L177", "partition": "test"} +{"repo": "yaapis/Theme", "path": "src/YAAP/Theme/Commands/ThemeGeneratorCommand.php", "func_name": "ThemeGeneratorCommand.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default template.\n\n@param string $template\n@param array $replacements\n@return string", "docstring_tokens": ["Get", "default", "template", "."], "sha": "3820752d9bce06aa10c7f31a84a06cd858ff4a92", "url": "https://github.com/yaapis/Theme/blob/3820752d9bce06aa10c7f31a84a06cd858ff4a92/src/YAAP/Theme/Commands/ThemeGeneratorCommand.php#L196-L208", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Controller/ProfilerController.php", "func_name": "ProfilerController.createAssetsAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the selected translation to resources.\n\n@author Damien Alexandre (damienalexandre)\n\n@param Request $request\n@param string $token\n\n@Route(\"/{token}/translation/create-asset\", name=\"_profiler_translations_create_assets\")\n@Method(\"POST\")\n\n@return Response", "docstring_tokens": ["Save", "the", "selected", "translation", "to", "resources", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Controller/ProfilerController.php#L135-L165", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.fetchTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch a translation form Loco.\n\n@param Message $message", "docstring_tokens": ["Fetch", "a", "translation", "form", "Loco", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L90-L115", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.updateTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the translation in Loco.\n\n@param Message $message", "docstring_tokens": ["Update", "the", "translation", "in", "Loco", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L122-L145", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.flagTranslation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If there is something wrong with the translation, please flag it.\n\n@param Message $message\n@param int $type 0: Fuzzy, 1: Incorrect, 2: Provisional, 3: Unapproved, 4: Incomplete\n\n@return bool", "docstring_tokens": ["If", "there", "is", "something", "wrong", "with", "the", "translation", "please", "flag", "it", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L155-L172", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.createAsset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new asset in Loco.\n\n@param Message $message\n\n@return bool", "docstring_tokens": ["Create", "a", "new", "asset", "in", "Loco", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L181-L224", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.downloadAllTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download all the translations from Loco. This will replace all the local files.\nThis is a quick method of getting all the latest translations and assets.", "docstring_tokens": ["Download", "all", "the", "translations", "from", "Loco", ".", "This", "will", "replace", "all", "the", "local", "files", ".", "This", "is", "a", "quick", "method", "of", "getting", "all", "the", "latest", "translations", "and", "assets", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L262-L275", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.uploadAllTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upload all the translations from the symfony project into Loco. This will override\nevery changed strings in loco", "docstring_tokens": ["Upload", "all", "the", "translations", "from", "the", "symfony", "project", "into", "Loco", ".", "This", "will", "override", "every", "changed", "strings", "in", "loco"], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L281-L292", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Service/Loco.php", "func_name": "Loco.synchronizeAllTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Synchronize all the translations with Loco. This will keep placeholders. This function is slower\nthan just to download the translations.", "docstring_tokens": ["Synchronize", "all", "the", "translations", "with", "Loco", ".", "This", "will", "keep", "placeholders", ".", "This", "function", "is", "slower", "than", "just", "to", "download", "the", "translations", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Service/Loco.php#L332-L343", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/Translation/FilesystemUpdater.php", "func_name": "FilesystemUpdater.onTerminate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the file system after the Response has been sent back to the client.\n\n@param Event $event\n\n@throws \\ErrorException\n@throws \\Exception", "docstring_tokens": ["Update", "the", "file", "system", "after", "the", "Response", "has", "been", "sent", "back", "to", "the", "client", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/Translation/FilesystemUpdater.php#L109-L150", "partition": "test"} +{"repo": "Happyr/TranslationBundle", "path": "src/DependencyInjection/HappyrTranslationExtension.php", "func_name": "HappyrTranslationExtension.copyValuesFromParentToProject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy the parent configuration to the children.\n\n@param string $key\n@param array $config", "docstring_tokens": ["Copy", "the", "parent", "configuration", "to", "the", "children", "."], "sha": "497c042a1b89434b0b874e32c80cec2f5a08cc17", "url": "https://github.com/Happyr/TranslationBundle/blob/497c042a1b89434b0b874e32c80cec2f5a08cc17/src/DependencyInjection/HappyrTranslationExtension.php#L60-L71", "partition": "test"} +{"repo": "martijnc/php-csp", "path": "src/Phpcsp/Security/ContentSecurityPolicyHeaderBuilder.php", "func_name": "ContentSecurityPolicyHeaderBuilder.addHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a hash value to the script-src.\n\n@param string $type\n@param string $hash\n@throws InvalidDirectiveException", "docstring_tokens": ["Add", "a", "hash", "value", "to", "the", "script", "-", "src", "."], "sha": "472fe33056bcf5d6c6f958aa1e23ec77ee788f1f", "url": "https://github.com/martijnc/php-csp/blob/472fe33056bcf5d6c6f958aa1e23ec77ee788f1f/src/Phpcsp/Security/ContentSecurityPolicyHeaderBuilder.php#L579-L591", "partition": "test"} +{"repo": "martijnc/php-csp", "path": "src/Phpcsp/Security/ContentSecurityPolicyHeaderBuilder.php", "func_name": "ContentSecurityPolicyHeaderBuilder.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value for the CSP header based on the loaded configuration.\n\n@return string|null", "docstring_tokens": ["Returns", "the", "value", "for", "the", "CSP", "header", "based", "on", "the", "loaded", "configuration", "."], "sha": "472fe33056bcf5d6c6f958aa1e23ec77ee788f1f", "url": "https://github.com/martijnc/php-csp/blob/472fe33056bcf5d6c6f958aa1e23ec77ee788f1f/src/Phpcsp/Security/ContentSecurityPolicyHeaderBuilder.php#L612-L641", "partition": "test"} +{"repo": "phpgearbox/class-finder", "path": "src/ClassFinder.php", "func_name": "ClassFinder.searchClassMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches the composer class map.\n\nResults are added to the `$foundClasses` array.\n\n@return void", "docstring_tokens": ["Searches", "the", "composer", "class", "map", "."], "sha": "2d7691a1837269718c02042cec54317dd72ea507", "url": "https://github.com/phpgearbox/class-finder/blob/2d7691a1837269718c02042cec54317dd72ea507/src/ClassFinder.php#L154-L163", "partition": "test"} +{"repo": "phpgearbox/class-finder", "path": "src/ClassFinder.php", "func_name": "ClassFinder.searchPsrMaps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches the composer PSR-x class maps.\n\nResults are added to the `$foundClasses` array.\n\n@return void", "docstring_tokens": ["Searches", "the", "composer", "PSR", "-", "x", "class", "maps", "."], "sha": "2d7691a1837269718c02042cec54317dd72ea507", "url": "https://github.com/phpgearbox/class-finder/blob/2d7691a1837269718c02042cec54317dd72ea507/src/ClassFinder.php#L172-L216", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/ProjectRepository.php", "func_name": "ProjectRepository.afterSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Using afterSave, afterCreate or afterUpdate to set relationships is\noften very useful. afterSave is called on both update and create.", "docstring_tokens": ["Using", "afterSave", "afterCreate", "or", "afterUpdate", "to", "set", "relationships", "is", "often", "very", "useful", ".", "afterSave", "is", "called", "on", "both", "update", "and", "create", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/ProjectRepository.php#L85-L91", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/ProjectRepository.php", "func_name": "ProjectRepository.beforeQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called before fetchMany and fetchSingle. We use it to add\nfunctionality that should be present on every query.\n\nRenamed from prepareQuery in 0.5", "docstring_tokens": ["This", "method", "is", "called", "before", "fetchMany", "and", "fetchSingle", ".", "We", "use", "it", "to", "add", "functionality", "that", "should", "be", "present", "on", "every", "query", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/ProjectRepository.php#L106-L126", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/ProjectRepository.php", "func_name": "ProjectRepository.afterQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called after fetchMany and fetchSingle. It is most useful\nto append attributes onto more than one model for stuff that can't easily\nbe done via the query builder. Sometimes, for example, a subselect or\njoin or groupby can mess with the paginator.\n\nChanged from prepareCollection/preparePaginator in 0.5", "docstring_tokens": ["This", "method", "is", "called", "after", "fetchMany", "and", "fetchSingle", ".", "It", "is", "most", "useful", "to", "append", "attributes", "onto", "more", "than", "one", "model", "for", "stuff", "that", "can", "t", "easily", "be", "done", "via", "the", "query", "builder", ".", "Sometimes", "for", "example", "a", "subselect", "or", "join", "or", "groupby", "can", "mess", "with", "the", "paginator", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/ProjectRepository.php#L136-L171", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/RealWorldExample.php", "func_name": "ItemRepository.syncNewWastageItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sync item data for a new wastage.\n\n@param \\REDACTED\\Wastage\\WastageModel $wastage\n@param \\Illuminate\\Database\\Eloquent\\Collection $products\n@param array $items Item input\n\n@return array Array of WastageItem models", "docstring_tokens": ["Sync", "item", "data", "for", "a", "new", "wastage", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/RealWorldExample.php#L52-L66", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/RealWorldExample.php", "func_name": "ItemRepository.syncExistingWastageItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sync items for an existing wastage. Updates the item entry if it exists,\nor creates them if they don't.\n\n@param \\REDACTED\\Wastage\\WastageModel $wastage\n@param \\Illuminate\\Database\\Eloquent\\Collection $products\n@param array $items Item input\n\n@return array Array of WastageItem models", "docstring_tokens": ["Sync", "items", "for", "an", "existing", "wastage", ".", "Updates", "the", "item", "entry", "if", "it", "exists", "or", "creates", "them", "if", "they", "don", "t", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/RealWorldExample.php#L78-L95", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/RealWorldExample.php", "func_name": "ItemRepository.findProductItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the item entry of a specific product key in a collection of items.\n\n@param \\Illuminate\\Database\\Eloquent\\Collection $items\n@param mixed $key The product's primary key.\n\n@return \\REDACTED\\Wastage\\ItemModel|null", "docstring_tokens": ["Find", "the", "item", "entry", "of", "a", "specific", "product", "key", "in", "a", "collection", "of", "items", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/RealWorldExample.php#L105-L114", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/RealWorldExample.php", "func_name": "ItemRepository.checkIntegrity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the integrity of an item model. Add missing data if necessary.\n\n@param \\REDACTED\\Wastage\\ItemModel $item\n\n@return void", "docstring_tokens": ["Check", "the", "integrity", "of", "an", "item", "model", ".", "Add", "missing", "data", "if", "necessary", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/RealWorldExample.php#L123-L132", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "examples/RealWorldExample.php", "func_name": "ItemRepository.buildItemData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the pivot table data for a particular item.\n\n@param mixed $key The product's primary key.\n@param array $data\n@param \\Illuminate\\Database\\Eloquent\\Collection $products\n\n@return array", "docstring_tokens": ["Build", "the", "pivot", "table", "data", "for", "a", "particular", "item", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/examples/RealWorldExample.php#L143-L160", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/DatabaseRepository.php", "func_name": "DatabaseRepository.fillEntityAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill an entity's attributes.\n\n@param mixed $entity\n@param array $attributes\n\n@return void", "docstring_tokens": ["Fill", "an", "entity", "s", "attributes", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/DatabaseRepository.php#L196-L201", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.setupDefaultCriteria", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up the repository's default criteria.\n\n@return void", "docstring_tokens": ["Set", "up", "the", "repository", "s", "default", "criteria", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L96-L104", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.perform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform an action.\n\nCalls $this->before{$action} and $this->after{$action} before or after\n$this->perform{action} has been called. Also calls $this->valid($action,\n$attributes) for validation.\n\n@param string $action\n@param mixed $object\n@param mixed $attributes\n@param boolean $validate\n\n@return mixed", "docstring_tokens": ["Perform", "an", "action", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L135-L159", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.doBeforeOrAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a before or after action.\n\n@param string $which before or after\n@param string $action\n@param array $args\n\n@return false|null", "docstring_tokens": ["Perform", "a", "before", "or", "after", "action", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L170-L180", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a set of attributes against a certain action.\n\n@param string $action\n@param array $attributes\n\n@return boolean", "docstring_tokens": ["Validate", "a", "set", "of", "attributes", "against", "a", "certain", "action", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L190-L203", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.performQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a query.\n\n@param mixed $query\n@param boolean $many\n\n@return mixed", "docstring_tokens": ["Perform", "a", "query", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L213-L230", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle pagination.\n\n@param false|int $toggle\n\n@return $this", "docstring_tokens": ["Toggle", "pagination", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L322-L327", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.toggleExceptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle throwing of exceptions.\n\n@param boolean $toggle\n@param boolean $toggleValidator Whether or not to toggle exceptions on\nthe validator as well as the repository. Defaults to true\n\n@return $this", "docstring_tokens": ["Toggle", "throwing", "of", "exceptions", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L338-L347", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.applyCriteria", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply the repository's criteria onto a query builder.\n\n@param mixed $query\n\n@return void", "docstring_tokens": ["Apply", "the", "repository", "s", "criteria", "onto", "a", "query", "builder", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L414-L429", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an entity with the given attributes and persist it.\n\n@param object $entity\n@param array $attributes\n\n@return boolean", "docstring_tokens": ["Update", "an", "entity", "with", "the", "given", "attributes", "and", "persist", "it", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L451-L458", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.fetchList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a query, fetching an array of columns.\n\n@param \\Illuminate\\Database\\Query\\Builder $query\n@param string $column\n@param string $key Column to be used as the array keys\n\n@return array", "docstring_tokens": ["Perform", "a", "query", "fetching", "an", "array", "of", "columns", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L505-L511", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.findByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific row by key in the repository.\n\n@param mixed $key\n\n@return mixed", "docstring_tokens": ["Get", "a", "specific", "row", "by", "key", "in", "the", "repository", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L520-L526", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.findByCriteria", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a specific row by criteria.\n\n@param \\anlutro\\LaravelRepository\\CriteriaInterface $criteria\n\n@return mixed", "docstring_tokens": ["Get", "a", "specific", "row", "by", "criteria", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L557-L563", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.getByCriteria", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a collection of rows by a criteria. This resets all previously pushed\ncriteria.\n\n@param \\anlutro\\LaravelRepository\\CriteriaInterface $criteria\n\n@return mixed", "docstring_tokens": ["Get", "a", "collection", "of", "rows", "by", "a", "criteria", ".", "This", "resets", "all", "previously", "pushed", "criteria", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L603-L609", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.getByKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a collection of rows by an array of primary keys.\n\n@param array $keys\n\n@return mixed\n\n@throws \\InvalidArgumentException if $keys is empty", "docstring_tokens": ["Get", "a", "collection", "of", "rows", "by", "an", "array", "of", "primary", "keys", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L620-L630", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of columns from the repository.\n\n@see \\Illuminate\\Database\\Query::lists()\n\n@param string $column\n@param string $key Column to be used as the array keys\n\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "columns", "from", "the", "repository", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L642-L645", "partition": "test"} +{"repo": "anlutro/laravel-repository", "path": "src/AbstractRepository.php", "func_name": "AbstractRepository.newAttributesQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new query that searches by attributes.\n\n@param array $attributes\n@param string $operator Default: '='\n\n@return mixed", "docstring_tokens": ["Get", "a", "new", "query", "that", "searches", "by", "attributes", "."], "sha": "e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f", "url": "https://github.com/anlutro/laravel-repository/blob/e6deaad7cd182be9ad020f6bbe1d641d5ce62d9f/src/AbstractRepository.php#L669-L678", "partition": "test"} +{"repo": "sokil/php-mongo-migrator", "path": "src/Config.php", "func_name": "Config.replaceConfigValuePlaceholders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert placeholders in values of any config section\n\n@param array|string $value\n\n@return array|string", "docstring_tokens": ["Convert", "placeholders", "in", "values", "of", "any", "config", "section"], "sha": "f812572603b37d0e45aa7294f5e169bff1c25f76", "url": "https://github.com/sokil/php-mongo-migrator/blob/f812572603b37d0e45aa7294f5e169bff1c25f76/src/Config.php#L73-L95", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Mvc/Http/HttpViewResolver.php", "func_name": "HttpViewResolver.setViewPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the path where views are located.\n\n@param string $path Path to the views directory.\n\n@return void", "docstring_tokens": ["Sets", "the", "path", "where", "views", "are", "located", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Mvc/Http/HttpViewResolver.php#L101-L109", "partition": "test"} +{"repo": "diversen/http-send-file", "path": "sendfile.php", "func_name": "sendfile.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets-up headers and starts transfering bytes\n\n@param string $file_path\n@param boolean $withDisposition\n@throws Exception", "docstring_tokens": ["Sets", "-", "up", "headers", "and", "starts", "transfering", "bytes"], "sha": "db37abd40e105c8a1c09d95577153b25ce93d2ca", "url": "https://github.com/diversen/http-send-file/blob/db37abd40e105c8a1c09d95577153b25ce93d2ca/sendfile.php#L79-L156", "partition": "test"} +{"repo": "diversen/http-send-file", "path": "sendfile.php", "func_name": "sendfile.getContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method for getting mime type of a file\n@param string $path\n@return string $mime_type", "docstring_tokens": ["method", "for", "getting", "mime", "type", "of", "a", "file"], "sha": "db37abd40e105c8a1c09d95577153b25ce93d2ca", "url": "https://github.com/diversen/http-send-file/blob/db37abd40e105c8a1c09d95577153b25ce93d2ca/sendfile.php#L163-L179", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Mvc/Http/HttpExceptionMapper.php", "func_name": "HttpExceptionMapper.map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will map an exception action to a controller. Will look for\nan instance of the mapped exception to the thrown exception.\n\n@param Action $action Original action (exception).\n\n@return array [0] => Controller [1] => Method to call (With\n'Exception' appended to the end of the method name).", "docstring_tokens": ["This", "will", "map", "an", "exception", "action", "to", "a", "controller", ".", "Will", "look", "for", "an", "instance", "of", "the", "mapped", "exception", "to", "the", "thrown", "exception", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Mvc/Http/HttpExceptionMapper.php#L93-L113", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/AspectManager.php", "func_name": "AspectManager.setAspect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds or overwrites the given aspect.\n\n@param AspectDefinition $aspect Aspect.\n\n@return void", "docstring_tokens": ["Adds", "or", "overwrites", "the", "given", "aspect", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/AspectManager.php#L92-L98", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/AspectManager.php", "func_name": "AspectManager.setPointcut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds or overwrites the given pointcut.\n\n@param PointcutDefinition $pointcut Pointcut.\n\n@return void", "docstring_tokens": ["Adds", "or", "overwrites", "the", "given", "pointcut", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/AspectManager.php#L107-L112", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/AspectManager.php", "func_name": "AspectManager.getPointcut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a PointcutDefinition or false if none found.\n\n@param string $pointcut Pointcut id or name.\n\n@return PointcutDefinition", "docstring_tokens": ["Returns", "a", "PointcutDefinition", "or", "false", "if", "none", "found", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/AspectManager.php#L131-L152", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Factory/Driver/AnnotationDiscovererDriver.php", "func_name": "AnnotationDiscovererDriver._getCandidateFilesForClassScanning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all files elegible for scanning for classes.\n\n@param string $path Absolute path to a directory or filename.\n\n@return string[]", "docstring_tokens": ["Returns", "all", "files", "elegible", "for", "scanning", "for", "classes", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Factory/Driver/AnnotationDiscovererDriver.php#L90-L114", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Factory/Driver/AnnotationDiscovererDriver.php", "func_name": "AnnotationDiscovererDriver._isScannable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the given filesystem entry is interesting to scan.\n\n@param string $path Filesystem entry.", "docstring_tokens": ["Returns", "true", "if", "the", "given", "filesystem", "entry", "is", "interesting", "to", "scan", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Factory/Driver/AnnotationDiscovererDriver.php#L159-L169", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/ErrorHandler/ErrorInfo.php", "func_name": "ErrorInfo.typeToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a human readable string description of the given error type.\n\n@param integer $type Error type to convert to string, from getType()\n\n@return string", "docstring_tokens": ["Returns", "a", "human", "readable", "string", "description", "of", "the", "given", "error", "type", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/ErrorHandler/ErrorInfo.php#L118-L145", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Mvc/Dispatcher.php", "func_name": "Dispatcher.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Main action. Will use the action mapper to get a controller that can\nhandle the given Action, and then the viewresolver to get a View that\ncan render the returned ModelAndView from the controller.\n\n@param Action $action Action to dispatch.\n\n@throws MvcException\n@return void", "docstring_tokens": ["Main", "action", ".", "Will", "use", "the", "action", "mapper", "to", "get", "a", "controller", "that", "can", "handle", "the", "given", "Action", "and", "then", "the", "viewresolver", "to", "get", "a", "View", "that", "can", "render", "the", "returned", "ModelAndView", "from", "the", "controller", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Mvc/Dispatcher.php#L75-L105", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Mvc/Dispatcher.php", "func_name": "Dispatcher.invokeAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the specified method from the specifed object using the specified\narguments map.\n\n@param object $object\n@param string $method Method name\n@param array $arguments Map of arguments, where key is argument name,\nand value is argument value.\n\n@return mxied", "docstring_tokens": ["Calls", "the", "specified", "method", "from", "the", "specifed", "object", "using", "the", "specified", "arguments", "map", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Mvc/Dispatcher.php#L118-L141", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpPeer.php", "func_name": "TcpPeer.hasActivity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this one to see if this peer has any activity in the socket.\n\n@return boolean", "docstring_tokens": ["Call", "this", "one", "to", "see", "if", "this", "peer", "has", "any", "activity", "in", "the", "socket", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpPeer.php#L122-L138", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl.getBeanDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a bean definition.\n\n@param string $name Bean name.\n\n@return BeanDefinition\n@throws BeanFactoryException", "docstring_tokens": ["Returns", "a", "bean", "definition", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L243-L278", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._searchAndReplaceProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will try to search and replace the properties found in the given\nvalue.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Will", "try", "to", "search", "and", "replace", "the", "properties", "found", "in", "the", "given", "value", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L288-L305", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._getConstructorValuesForDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves all values for constructor arguments definitions in a\nbean definition.\n\n@param BeanDefinition $definition\n\n@return object", "docstring_tokens": ["Resolves", "all", "values", "for", "constructor", "arguments", "definitions", "in", "a", "bean", "definition", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L361-L374", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._instantiateByConstructor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates a bean using the constructor.\n\n@param BeanDefinition $definition\n\n@return object", "docstring_tokens": ["Instantiates", "a", "bean", "using", "the", "constructor", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L383-L401", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._instantiateByFactoryClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates a bean using a factory class.\n\n@param BeanDefinition $definition\n\n@return object", "docstring_tokens": ["Instantiates", "a", "bean", "using", "a", "factory", "class", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L410-L418", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._instantiateByFactoryBean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates a bean using a factory bean.\n\n@param BeanDefinition $definition\n\n@return object", "docstring_tokens": ["Instantiates", "a", "bean", "using", "a", "factory", "bean", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L427-L434", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._instantiate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates a bean.\n\n@param BeanDefinition $definition\n\n@return object", "docstring_tokens": ["Instantiates", "a", "bean", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L460-L469", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._createBeanDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates whatever beans this definition depends on.\n\n@return void", "docstring_tokens": ["Creates", "whatever", "beans", "this", "definition", "depends", "on", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L476-L481", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._applyAspect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will inject into the given dispatcher the necessary information to\naspects will be run correctly.\n\n@throws BeanFactoryException\n@return void", "docstring_tokens": ["Will", "inject", "into", "the", "given", "dispatcher", "the", "necessary", "information", "to", "aspects", "will", "be", "run", "correctly", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L490-L515", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._applySpecificAspects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies all aspects specifically defined for this bean definition.\n\n@param BeanDefinition $definition\n@param IDispatcher $dispatcher\n\n@return void", "docstring_tokens": ["Applies", "all", "aspects", "specifically", "defined", "for", "this", "bean", "definition", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L525-L532", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._applyGlobalAspects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for any global aspects that may apply to this bean and applies them.\n\n@param BeanDefinition $definition\n@param IDispatcher $dispatcher\n\n@return void", "docstring_tokens": ["Looks", "for", "any", "global", "aspects", "that", "may", "apply", "to", "this", "bean", "and", "applies", "them", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L542-L560", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._applyAspects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies specific bean aspects and global defined aspects.\n\n@param BeanDefinition $definition\n\n@return void", "docstring_tokens": ["Applies", "specific", "bean", "aspects", "and", "global", "defined", "aspects", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L569-L580", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._createBean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will create a new bean, injecting all properties and applying all\naspects.\n\n@throws BeanFactoryException\n@return object", "docstring_tokens": ["This", "will", "create", "a", "new", "bean", "injecting", "all", "properties", "and", "applying", "all", "aspects", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L588-L612", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._setupInitAndShutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls init method and register shutdown method.\n\n@param object $bean\n@param BeanDefinition $definition\n\n@return void", "docstring_tokens": ["Calls", "init", "method", "and", "register", "shutdown", "method", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L622-L632", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._nonSetterMethodInject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to inject by looking up a method of the given name.\n\n@param object $bean\n@param string $name\n@param string $value\n\n@return boolean", "docstring_tokens": ["Tries", "to", "inject", "by", "looking", "up", "a", "method", "of", "the", "given", "name", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L663-L671", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl._propertyInject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to inject by looking up a property by name.\n\n@param object $bean\n@param string $name\n@param string $value\n\n@return boolean", "docstring_tokens": ["Tries", "to", "inject", "by", "looking", "up", "a", "property", "by", "name", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L682-L694", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl.getBean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a bean.\n\n@param string $name Bean name.\n\n@throws BeanFactoryException\n@return object", "docstring_tokens": ["Returns", "a", "bean", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L729-L753", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl.getInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will return a container\n\n@param array $properties Container properties.\n\n@return ContainerImpl", "docstring_tokens": ["This", "will", "return", "a", "container"], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L762-L775", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl.fillAware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will look for \"aware\" kind of interfaces and inject whatever necessary.\n\n@param BeanDefinition $def The Bean Definition\n@param object $bean The bean\n\n@return void", "docstring_tokens": ["Will", "look", "for", "aware", "kind", "of", "interfaces", "and", "inject", "whatever", "necessary", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L929-L979", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Container/Impl/ContainerImpl.php", "func_name": "ContainerImpl.signalHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called when a signal is caught.\n\n@param integer $signo\n\n@return void", "docstring_tokens": ["Called", "when", "a", "signal", "is", "caught", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Container/Impl/ContainerImpl.php#L988-L993", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Autoloader/Autoloader.php", "func_name": "Autoloader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called by php to load a given class. Returns true if the class was\nsuccessfully loaded.\n\n@return boolean", "docstring_tokens": ["Called", "by", "php", "to", "load", "a", "given", "class", ".", "Returns", "true", "if", "the", "class", "was", "successfully", "loaded", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Autoloader/Autoloader.php#L49-L58", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/BeanDefinition.php", "func_name": "BeanDefinition.makeChildBean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new bean definition, a copy of this one.\n\n@param string $childName The name for the new bean\n\n@return BeanDefinition", "docstring_tokens": ["Returns", "a", "new", "bean", "definition", "a", "copy", "of", "this", "one", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/BeanDefinition.php#L532-L540", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Reflection/ReflectionFactory.php", "func_name": "ReflectionFactory._populateClassesPerAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This one will populate the map indexed by annotations names, so we can\nthen get all classes with a particular annotation name.\n\n@param string $class A class name.\n@param Collection $annotations The annotations to index.\n\n@return void", "docstring_tokens": ["This", "one", "will", "populate", "the", "map", "indexed", "by", "annotations", "names", "so", "we", "can", "then", "get", "all", "classes", "with", "a", "particular", "annotation", "name", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Reflection/ReflectionFactory.php#L199-L209", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Provider/Xml.php", "func_name": "Xml._loadXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes SimpleXML Object\n\n@param string $filename\n\n@throws BeanFactoryException\n@return SimpleXML", "docstring_tokens": ["Initializes", "SimpleXML", "Object"], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Provider/Xml.php#L169-L207", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Provider/Xml.php", "func_name": "Xml._load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize SimpleXML.\n\n@throws BeanFactoryException\n@return void", "docstring_tokens": ["Initialize", "SimpleXML", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Provider/Xml.php#L367-L379", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpServerHelper.php", "func_name": "TcpServerHelper.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this to close the server.\n\n@return void", "docstring_tokens": ["Call", "this", "to", "close", "the", "server", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpServerHelper.php#L125-L134", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpServerHelper.php", "func_name": "TcpServerHelper.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this to bind the socket and start listening for connections.\nWill also set the socket non blocking.\n\n@throws TcpException\n@return void", "docstring_tokens": ["Call", "this", "to", "bind", "the", "socket", "and", "start", "listening", "for", "connections", ".", "Will", "also", "set", "the", "socket", "non", "blocking", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpServerHelper.php#L144-L172", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpServerHelper.php", "func_name": "TcpServerHelper._freePeer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After disconnecting a peer, this will release all the associated\ninformation.\n\n@return void", "docstring_tokens": ["After", "disconnecting", "a", "peer", "this", "will", "release", "all", "the", "associated", "information", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpServerHelper.php#L192-L198", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Proxy.php", "func_name": "Proxy.createClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will return a proxy class source.\n\n@param string $newName Name for the proxy class.\n@param ReflectionClass $targetClass Class to be proxied.\n\n@see Proxy::$proxyTemplate\n\n@return string", "docstring_tokens": ["This", "will", "return", "a", "proxy", "class", "source", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Proxy.php#L149-L162", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Proxy.php", "func_name": "Proxy.createParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will return a full proxy-method-parameter source.\n\n@param \\ReflectionParameter $parameter The method parameter.\n\n@see Proxy::$methodTemplate\n\n@return string", "docstring_tokens": ["This", "will", "return", "a", "full", "proxy", "-", "method", "-", "parameter", "source", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Proxy.php#L173-L201", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Proxy.php", "func_name": "Proxy.createMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will return a full proxy-method source.\n\n@param \\ReflectionMethod $method The method to be proxied.\n\n@see Proxy::$methodTemplate\n\n@return string", "docstring_tokens": ["This", "will", "return", "a", "full", "proxy", "-", "method", "source", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Proxy.php#L212-L252", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Proxy.php", "func_name": "Proxy.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will give you the name of a proxy class as a string. The class will\nalready exist in the vm.\n\n@return string", "docstring_tokens": ["This", "will", "give", "you", "the", "name", "of", "a", "proxy", "class", "as", "a", "string", ".", "The", "class", "will", "already", "exist", "in", "the", "vm", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Proxy.php#L280-L297", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Provider/Yaml.php", "func_name": "Yaml._loadYaml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes yaml contents.\n\n@param string $filename\n\n@throws BeanFactoryException\n@return mixed[]", "docstring_tokens": ["Initializes", "yaml", "contents", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Provider/Yaml.php#L165-L200", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Provider/Yaml.php", "func_name": "Yaml._load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize YAML contents.\n\n@throws BeanFactoryException\n@return void", "docstring_tokens": ["Initialize", "YAML", "contents", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Provider/Yaml.php#L337-L346", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Pami/PamiHelper.php", "func_name": "PamiHelper._load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads pami and initializes everything.\n\n@return void", "docstring_tokens": ["Loads", "pami", "and", "initializes", "everything", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Pami/PamiHelper.php#L205-L217", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Pami/PamiHelper.php", "func_name": "PamiHelper.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens the connection to ami. Also calls _load if it has to.\n\n@return void", "docstring_tokens": ["Opens", "the", "connection", "to", "ami", ".", "Also", "calls", "_load", "if", "it", "has", "to", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Pami/PamiHelper.php#L224-L231", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Cache/Locator/CacheLocator.php", "func_name": "CacheLocator._returnCacheFromImpl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory for cache implementations.\n\n@param array $options Cache options.\n\n@throws CacheException\n@return ICache", "docstring_tokens": ["Factory", "for", "cache", "implementations", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Cache/Locator/CacheLocator.php#L74-L91", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php", "func_name": "BeanLifecycleManager.afterDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the AfterDefinition point of the lifecycle.\n\n@param string $beanName Bean name.\n@param BeanDefinition $bean Actual definition.\n\n@return BeanDefinition", "docstring_tokens": ["Runs", "the", "AfterDefinition", "point", "of", "the", "lifecycle", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php#L148-L155", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php", "func_name": "BeanLifecycleManager.beforeCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the BeforeCreate point of the lifecycle.\n\n@param BeanDefinition $beanDefinition Actual definition.\n\n@return void", "docstring_tokens": ["Runs", "the", "BeforeCreate", "point", "of", "the", "lifecycle", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php#L164-L169", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php", "func_name": "BeanLifecycleManager.afterCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the AfterCreate point of the lifecycle.\n\n@param string $beanName Bean name.\n@param BeanDefinition $bean Actual definition.\n\n@return void", "docstring_tokens": ["Runs", "the", "AfterCreate", "point", "of", "the", "lifecycle", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php#L179-L184", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php", "func_name": "BeanLifecycleManager.beforeAssemble", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the BeforeAssemble point of the lifecycle.\n\n@param string $beanName Bean name.\n@param BeanDefinition $bean Actual definition.\n\n@return BeanDefinition", "docstring_tokens": ["Runs", "the", "BeforeAssemble", "point", "of", "the", "lifecycle", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php#L194-L199", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php", "func_name": "BeanLifecycleManager.afterAssemble", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the AfterAssemble point of the lifecycle.\n\n@param object $bean Bean.\n@param BeanDefinition $beanDefinition Actual definition.\n\n@return void", "docstring_tokens": ["Runs", "the", "AfterAssemble", "point", "of", "the", "lifecycle", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Bean/Lifecycle/BeanLifecycleManager.php#L209-L214", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Syslog/SyslogHelper.php", "func_name": "SyslogHelper.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens syslog.\n\n@return void", "docstring_tokens": ["Opens", "syslog", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Syslog/SyslogHelper.php#L213-L216", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php", "func_name": "DispatcherImpl.getInterceptors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns interceptors for a given method name or false if none was set.\n\n@param string $method Method to check for.\n\n@return object[]", "docstring_tokens": ["Returns", "interceptors", "for", "a", "given", "method", "name", "or", "false", "if", "none", "was", "set", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php#L133-L139", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php", "func_name": "DispatcherImpl.getExceptionInterceptors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns exception interceptors for a given method name or\nfalse if none was set.\n\n@param string $method Method to check for.\n\n@return object[]", "docstring_tokens": ["Returns", "exception", "interceptors", "for", "a", "given", "method", "name", "or", "false", "if", "none", "was", "set", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php#L149-L155", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php", "func_name": "DispatcherImpl._callInterceptors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will chain and return the result of the chained call of interceptors.\n\n@param MethodInvocation $invocation Original invocation to preserve.\n@param object[] $interceptors Array of interceptors.\n\n@return mixed", "docstring_tokens": ["Will", "chain", "and", "return", "the", "result", "of", "the", "chained", "call", "of", "interceptors", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php#L165-L182", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php", "func_name": "DispatcherImpl.invokeException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The proxy will call this method when an aspected method throws an\nexception.\n\n@param MethodInvocation $invocation Method invocation \"descriptor\".\n\n@return void", "docstring_tokens": ["The", "proxy", "will", "call", "this", "method", "when", "an", "aspected", "method", "throws", "an", "exception", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php#L192-L199", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php", "func_name": "DispatcherImpl.invoke", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The proxy will call this method when an aspected method is called.\n\n@param MethodInvocation $invocation Method invocation \"descriptor\".\n\n@return void", "docstring_tokens": ["The", "proxy", "will", "call", "this", "method", "when", "an", "aspected", "method", "is", "called", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Aspect/Interceptor/DispatcherImpl.php#L208-L215", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpClientHelper.php", "func_name": "TcpClientHelper.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this to close the connection.\n\n@return void", "docstring_tokens": ["Call", "this", "to", "close", "the", "connection", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpClientHelper.php#L114-L120", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpClientHelper.php", "func_name": "TcpClientHelper.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this to read data from the server. Returns the number of bytes read.\n\n@param string $buffer Where to store the read data.\n@param integer $length Maximum length of data to read.\n@param boolean $peek If true, will not remove the data from the socket.\n\n@return integer", "docstring_tokens": ["Call", "this", "to", "read", "data", "from", "the", "server", ".", "Returns", "the", "number", "of", "bytes", "read", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpClientHelper.php#L131-L135", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Helpers/Tcp/TcpClientHelper.php", "func_name": "TcpClientHelper.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call this to open the connection to the server. Will also set the\nsocket non blocking and control the connection timeout.\n\n@param string $address Optional output ip address.\n@param integer $port Optional output port.\n\n@throws TcpException\n@return void", "docstring_tokens": ["Call", "this", "to", "open", "the", "connection", "to", "the", "server", ".", "Will", "also", "set", "the", "socket", "non", "blocking", "and", "control", "the", "connection", "timeout", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Helpers/Tcp/TcpClientHelper.php#L160-L220", "partition": "test"} +{"repo": "marcelog/Ding", "path": "src/mg/Ding/Mvc/ModelAndView.php", "func_name": "ModelAndView.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add model objects.\n\n@param array $objects Key = object name (string), value is mixed.\n\n@return void", "docstring_tokens": ["Add", "model", "objects", "."], "sha": "aad50c28e99509f22c9cb1ba54acbeced3b30c50", "url": "https://github.com/marcelog/Ding/blob/aad50c28e99509f22c9cb1ba54acbeced3b30c50/src/mg/Ding/Mvc/ModelAndView.php#L62-L67", "partition": "test"} +{"repo": "cybercog/laravel-whoops-editor", "path": "src/Providers/WhoopsEditorServiceProvider.php", "func_name": "WhoopsEditorServiceProvider.buildUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build URI for editor based on file path and line.\n\n@param string $uri\n@param string $filePath\n@param int $line\n@return string", "docstring_tokens": ["Build", "URI", "for", "editor", "based", "on", "file", "path", "and", "line", "."], "sha": "67e3bc26f32b501a33f747899688533f097470b8", "url": "https://github.com/cybercog/laravel-whoops-editor/blob/67e3bc26f32b501a33f747899688533f097470b8/src/Providers/WhoopsEditorServiceProvider.php#L83-L89", "partition": "test"} +{"repo": "cybercog/laravel-whoops-editor", "path": "src/Providers/WhoopsEditorServiceProvider.php", "func_name": "WhoopsEditorServiceProvider.overwriteAppConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrite application editor config with Whoops Editor.\n\n@return void", "docstring_tokens": ["Overwrite", "application", "editor", "config", "with", "Whoops", "Editor", "."], "sha": "67e3bc26f32b501a33f747899688533f097470b8", "url": "https://github.com/cybercog/laravel-whoops-editor/blob/67e3bc26f32b501a33f747899688533f097470b8/src/Providers/WhoopsEditorServiceProvider.php#L96-L118", "partition": "test"} +{"repo": "cybercog/laravel-whoops-editor", "path": "src/Providers/WhoopsEditorServiceProvider.php", "func_name": "WhoopsEditorServiceProvider.resolveFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve file path when using Homestead.\n\n@param string $filePath\n@return string", "docstring_tokens": ["Resolve", "file", "path", "when", "using", "Homestead", "."], "sha": "67e3bc26f32b501a33f747899688533f097470b8", "url": "https://github.com/cybercog/laravel-whoops-editor/blob/67e3bc26f32b501a33f747899688533f097470b8/src/Providers/WhoopsEditorServiceProvider.php#L146-L159", "partition": "test"} +{"repo": "bupy7/yii2-pages", "path": "src/models/Page.php", "func_name": "Page.publishedDropDownList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List values of field 'published' with label.\n@return array", "docstring_tokens": ["List", "values", "of", "field", "published", "with", "label", "."], "sha": "05d2efc8b015e2019719b89255b4a1378cfdb26a", "url": "https://github.com/bupy7/yii2-pages/blob/05d2efc8b015e2019719b89255b4a1378cfdb26a/src/models/Page.php#L105-L112", "partition": "test"} +{"repo": "bupy7/yii2-pages", "path": "src/controllers/DefaultController.php", "func_name": "DefaultController.findModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the Page model based on alias value.\nIf the model is not found, a 404 HTTP exception will be thrown.\n@param string $alias\n@return Page the loaded model\n@throws NotFoundHttpException if the model cannot be found", "docstring_tokens": ["Finds", "the", "Page", "model", "based", "on", "alias", "value", ".", "If", "the", "model", "is", "not", "found", "a", "404", "HTTP", "exception", "will", "be", "thrown", "."], "sha": "05d2efc8b015e2019719b89255b4a1378cfdb26a", "url": "https://github.com/bupy7/yii2-pages/blob/05d2efc8b015e2019719b89255b4a1378cfdb26a/src/controllers/DefaultController.php#L40-L50", "partition": "test"} +{"repo": "sijad/flarum-ext-links", "path": "src/Link.php", "func_name": "Link.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new link.\n\n@param string $name\n@param string $url\n@param bool $isInternal\n@param bool $isNewtab\n@return static", "docstring_tokens": ["Create", "a", "new", "link", "."], "sha": "a1b183fa40f71e8fa43a96d8f1cf47fca164b8bb", "url": "https://github.com/sijad/flarum-ext-links/blob/a1b183fa40f71e8fa43a96d8f1cf47fca164b8bb/src/Link.php#L36-L46", "partition": "test"} +{"repo": "bupy7/yii2-pages", "path": "src/controllers/ManagerController.php", "func_name": "ManagerController.actionUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing Page model.\nIf update is successful, the browser will be redirected to the 'update' page.\n@param integer|null $id\n@return mixed", "docstring_tokens": ["Updates", "an", "existing", "Page", "model", ".", "If", "update", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "update", "page", "."], "sha": "05d2efc8b015e2019719b89255b4a1378cfdb26a", "url": "https://github.com/bupy7/yii2-pages/blob/05d2efc8b015e2019719b89255b4a1378cfdb26a/src/controllers/ManagerController.php#L116-L136", "partition": "test"} +{"repo": "RomeroMsk/yii2-datepicker", "path": "DatePicker.php", "func_name": "DatePicker.registerTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers widget translations.", "docstring_tokens": ["Registers", "widget", "translations", "."], "sha": "14a5623e3ac8b487dd615db8c89fb7e53110a6f0", "url": "https://github.com/RomeroMsk/yii2-datepicker/blob/14a5623e3ac8b487dd615db8c89fb7e53110a6f0/DatePicker.php#L136-L172", "partition": "test"} +{"repo": "RomeroMsk/yii2-datepicker", "path": "DatePicker.php", "func_name": "DatePicker.registerClientScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers required script for the plugin to work as DatePicker.", "docstring_tokens": ["Registers", "required", "script", "for", "the", "plugin", "to", "work", "as", "DatePicker", "."], "sha": "14a5623e3ac8b487dd615db8c89fb7e53110a6f0", "url": "https://github.com/RomeroMsk/yii2-datepicker/blob/14a5623e3ac8b487dd615db8c89fb7e53110a6f0/DatePicker.php#L272-L305", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/EditUserVoter.php", "func_name": "EditUserVoter.vote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the vote for the given parameters.\n\nThis method must return one of the following constants:\nACCESS_GRANTED, ACCESS_DENIED, or ACCESS_ABSTAIN.\n\n@param TokenInterface $token A TokenInterface instance\n@param object $object The object to secure\n@param array $attributes An array of attributes associated with the method being invoked\n\n@return integer either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED", "docstring_tokens": ["Returns", "the", "vote", "for", "the", "given", "parameters", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/EditUserVoter.php#L59-L84", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/Mailer.php", "func_name": "Mailer.getFromEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the fromEmail parameter for the Swift_Mailer.\n\n@return array|string|null", "docstring_tokens": ["Format", "the", "fromEmail", "parameter", "for", "the", "Swift_Mailer", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/Mailer.php#L173-L184", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.loadUserByUsername", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the user for the given username or email address.\n\nRequired by UserProviderInterface.\n\n@param string $username The username\n@return UserInterface\n@throws UsernameNotFoundException if the user is not found", "docstring_tokens": ["Loads", "the", "user", "for", "the", "given", "username", "or", "email", "address", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L88-L105", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.hydrateUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reconstitute a User object from stored data.\n\n@param array $data\n@return User\n@throws \\RuntimeException if database schema is out of date.", "docstring_tokens": ["Reconstitute", "a", "User", "object", "from", "stored", "data", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L148-L186", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.createUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method for creating a new User instance.\n\n@param string $email\n@param string $plainPassword\n@param string $name\n@param array $roles\n@return User", "docstring_tokens": ["Factory", "method", "for", "creating", "a", "new", "User", "instance", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L197-L216", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.setUserPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode a plain text password and set it on the given User object.\n\n@param User $user\n@param string $password A plain text password.", "docstring_tokens": ["Encode", "a", "plain", "text", "password", "and", "set", "it", "on", "the", "given", "User", "object", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L248-L251", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.checkUserPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test whether a given plain text password matches a given User's encoded password.\n\n@param User $user\n@param string $password\n@return bool", "docstring_tokens": ["Test", "whether", "a", "given", "plain", "text", "password", "matches", "a", "given", "User", "s", "encoded", "password", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L315-L318", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.isLoggedIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test whether the current user is authenticated.\n\n@return boolean", "docstring_tokens": ["Test", "whether", "the", "current", "user", "is", "authenticated", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L339-L347", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.findOneBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single User instance that matches the given criteria. If more than one User matches, the first result is returned.\n\n@param array $criteria\n@return User|null", "docstring_tokens": ["Get", "a", "single", "User", "instance", "that", "matches", "the", "given", "criteria", ".", "If", "more", "than", "one", "User", "matches", "the", "first", "result", "is", "returned", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L366-L375", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.findBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find User instances that match the given criteria.\n\n@param array $criteria\n@param array $options An array of the following options (all optional):
\nlimit (int|array) The maximum number of results to return, or an array of (offset, limit).\norder_by (string|array) The name of the column to order by, or an array of column name and direction, ex. array(time_created, DESC)\n
\n@return User[] An array of matching User instances, or an empty array if no matching users were found.", "docstring_tokens": ["Find", "User", "instances", "that", "match", "the", "given", "criteria", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L387-L423", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.createCommonFindSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SQL query fragment common to both find and count querires.\n\n@param array $criteria\n@return array An array of SQL and query parameters, in the form array($sql, $params)", "docstring_tokens": ["Get", "SQL", "query", "fragment", "common", "to", "both", "find", "and", "count", "querires", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L447-L479", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.findCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count users that match the given criteria.\n\n@param array $criteria\n@return int The number of users that match the criteria.", "docstring_tokens": ["Count", "users", "that", "match", "the", "given", "criteria", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L487-L494", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a new User instance into the database.\n\n@param User $user", "docstring_tokens": ["Insert", "a", "new", "User", "instance", "into", "the", "database", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L501-L533", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update data in the database for an existing user.\n\n@param User $user", "docstring_tokens": ["Update", "data", "in", "the", "database", "for", "an", "existing", "user", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L540-L576", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a User from the database.\n\n@param User $user", "docstring_tokens": ["Delete", "a", "User", "from", "the", "database", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L598-L608", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a user object.\n\nInvokes User::validate(),\nand additionally tests that the User's email address and username (if set) are unique across all users.'.\n\n@param User $user\n@return array An array of error messages, or an empty array if the User is valid.", "docstring_tokens": ["Validate", "a", "user", "object", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L619-L651", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.clearIdentityMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear User instances from the identity map, so that they can be read again from the database.\n\nCall with no arguments to clear the entire identity map.\nPass a single user to remove just that user from the identity map.\n\n@param mixed $user Either a User instance, an integer user ID, or null.", "docstring_tokens": ["Clear", "User", "instances", "from", "the", "identity", "map", "so", "that", "they", "can", "be", "read", "again", "from", "the", "database", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L661-L670", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserManager.php", "func_name": "UserManager.loginAsUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log in as the given user.\n\nSets the security token for the current request so it will be logged in as the given user.\n\n@param User $user", "docstring_tokens": ["Log", "in", "as", "the", "given", "user", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserManager.php#L742-L751", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the signal handler.\n\nNote: This will replace any current handler for SIGCHLD.\n\n@param boolean $force Force initialization even if already initialized", "docstring_tokens": ["Initialize", "the", "signal", "handler", "."], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L112-L119", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.reaper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reap any dead children", "docstring_tokens": ["Reap", "any", "dead", "children"], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L142-L161", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.wait", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wait for any child to be ready\n\n@param integer $timeout Timeout to wait (fractional seconds)\n@return array|null Returns array of sockets ready to be READ or null", "docstring_tokens": ["Wait", "for", "any", "child", "to", "be", "ready"], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L169-L196", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the next available result.\n\nBlocks unless a $timeout is specified.\n\n@param integer $timeout Timeout in fractional seconds if no results are available.\n@return mixed Returns next child response or null on timeout\n@throws ProcessPoolException On timeout if $nullOnTimeout is false", "docstring_tokens": ["Return", "the", "next", "available", "result", "."], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L207-L239", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return results from all workers.\n\nDoes not return until all pending workers are complete or the $timeout\nis reached.\n\n@param integer $timeout Timeout in fractional seconds if no results are available.\n@return array Returns an array of results\n@throws ProcessPoolException On timeout if $nullOnTimeout is false", "docstring_tokens": ["Return", "results", "from", "all", "workers", "."], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L251-L274", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply a worker to the working or pending queue\n\n@param Callable $func Callback function to fork into.\n@return ProcessPool", "docstring_tokens": ["Apply", "a", "worker", "to", "the", "working", "or", "pending", "queue"], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L300-L317", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.getPending", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the total jobs that have NOT completed yet.", "docstring_tokens": ["Return", "the", "total", "jobs", "that", "have", "NOT", "completed", "yet", "."], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L472-L478", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.socket_send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the data to the socket in a predetermined format", "docstring_tokens": ["Write", "the", "data", "to", "the", "socket", "in", "a", "predetermined", "format"], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L518-L537", "partition": "test"} +{"repo": "lifo101/php-ipc", "path": "src/Lifo/IPC/ProcessPool.php", "func_name": "ProcessPool.socket_fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a data packet from the socket in a predetermined format.\n\nBlocking.", "docstring_tokens": ["Read", "a", "data", "packet", "from", "the", "socket", "in", "a", "predetermined", "format", "."], "sha": "6ae12fab44c19a6b150af559e76b7623a845c0fd", "url": "https://github.com/lifo101/php-ipc/blob/6ae12fab44c19a6b150af559e76b7623a845c0fd/src/Lifo/IPC/ProcessPool.php#L545-L571", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/Migration/MigrateV1ToV2.php", "func_name": "MigrateV1ToV2.sqlDownData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Revert data to the previous version.", "docstring_tokens": ["Revert", "data", "to", "the", "previous", "version", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/Migration/MigrateV1ToV2.php#L176-L212", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.registerAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register action.\n\n@param Application $app\n@param Request $request\n@return Response", "docstring_tokens": ["Register", "action", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L89-L135", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.confirmEmailAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Action to handle email confirmation links.\n\n@param Application $app\n@param Request $request\n@param string $token\n@return \\Symfony\\Component\\HttpFoundation\\RedirectResponse\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", "docstring_tokens": ["Action", "to", "handle", "email", "confirmation", "links", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L146-L164", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.loginAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Login action.\n\n@param Application $app\n@param Request $request\n@return Response", "docstring_tokens": ["Login", "action", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L173-L198", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.resendConfirmationAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Action to resend an email confirmation message.\n\n@param Application $app\n@param Request $request\n@return mixed\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", "docstring_tokens": ["Action", "to", "resend", "an", "email", "confirmation", "message", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L208-L228", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.viewAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View user action.\n\n@param Application $app\n@param Request $request\n@param int $id\n@return Response\n@throws NotFoundHttpException if no user is found with that ID.", "docstring_tokens": ["View", "user", "action", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L371-L389", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserController.php", "func_name": "UserController.editAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edit user action.\n\n@param Application $app\n@param Request $request\n@param int $id\n@return Response\n@throws NotFoundHttpException if no user is found with that ID.", "docstring_tokens": ["Edit", "user", "action", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserController.php#L423-L477", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/User.php", "func_name": "User.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the user object.\n\n@return array An array of error messages, or an empty array if there were no errors.", "docstring_tokens": ["Validate", "the", "user", "object", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/User.php#L327-L358", "partition": "test"} +{"repo": "jasongrimes/silex-simpleuser", "path": "src/SimpleUser/UserServiceProvider.php", "func_name": "UserServiceProvider.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns routes to connect to the given application.\n\n@param Application $app An Application instance\n\n@return ControllerCollection A ControllerCollection instance\n@throws \\LogicException if ServiceController service provider is not registered.", "docstring_tokens": ["Returns", "routes", "to", "connect", "to", "the", "given", "application", "."], "sha": "adad656f482f781f9d63a099f4db6b9618ddae47", "url": "https://github.com/jasongrimes/silex-simpleuser/blob/adad656f482f781f9d63a099f4db6b9618ddae47/src/SimpleUser/UserServiceProvider.php#L263-L324", "partition": "test"} +{"repo": "equip/framework", "path": "src/Responder/FormattedResponder.php", "func_name": "FormattedResponder.priorities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a map of accepted priorities with the responsible formatter.\n\n@return array", "docstring_tokens": ["Retrieve", "a", "map", "of", "accepted", "priorities", "with", "the", "responsible", "formatter", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Responder/FormattedResponder.php#L75-L86", "partition": "test"} +{"repo": "equip/framework", "path": "src/Responder/FormattedResponder.php", "func_name": "FormattedResponder.formatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the formatter to use for the current request.\n\nUses content negotiation to find the best available output format for\nthe requested content type.\n\n@param ServerRequestInterface $request\n\n@return FormatterInterface", "docstring_tokens": ["Retrieve", "the", "formatter", "to", "use", "for", "the", "current", "request", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Responder/FormattedResponder.php#L98-L114", "partition": "test"} +{"repo": "equip/framework", "path": "src/Responder/FormattedResponder.php", "func_name": "FormattedResponder.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the response by formatting the payload.\n\n@param ServerRequestInterface $request\n@param ResponseInterface $response\n@param PayloadInterface $payload\n\n@return ResponseInterface", "docstring_tokens": ["Update", "the", "response", "by", "formatting", "the", "payload", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Responder/FormattedResponder.php#L125-L137", "partition": "test"} +{"repo": "equip/framework", "path": "src/Configuration/EnvConfiguration.php", "func_name": "EnvConfiguration.detectEnvFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a .env file by traversing up the filesystem\n\n@return string\n\n@throws EnvException If no file is found", "docstring_tokens": ["Find", "a", ".", "env", "file", "by", "traversing", "up", "the", "filesystem"], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Configuration/EnvConfiguration.php#L60-L73", "partition": "test"} +{"repo": "equip/framework", "path": "src/Handler/ExceptionHandler.php", "func_name": "ExceptionHandler.type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the preferred content type for the current request\n\n@param ServerRequestInterface $request\n\n@return string", "docstring_tokens": ["Determine", "the", "preferred", "content", "type", "for", "the", "current", "request"], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Handler/ExceptionHandler.php#L126-L140", "partition": "test"} +{"repo": "equip/framework", "path": "src/Application.php", "func_name": "Application.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new application\n\n@param Injector $injector\n@param ConfigurationSet $configuration\n@param MiddlewareSet $middleware\n\n@return static", "docstring_tokens": ["Create", "a", "new", "application"], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Application.php#L22-L28", "partition": "test"} +{"repo": "equip/framework", "path": "src/Application.php", "func_name": "Application.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the application\n\n@param string $runner\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Run", "the", "application"], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Application.php#L111-L119", "partition": "test"} +{"repo": "equip/framework", "path": "src/Handler/ActionHandler.php", "func_name": "ActionHandler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use the action collaborators to get a response.\n\n@param Action $action\n@param ServerRequestInterface $request\n@param ResponseInterface $response\n\n@return ResponseInterface", "docstring_tokens": ["Use", "the", "action", "collaborators", "to", "get", "a", "response", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Handler/ActionHandler.php#L56-L69", "partition": "test"} +{"repo": "equip/framework", "path": "src/Handler/ActionHandler.php", "func_name": "ActionHandler.payload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the domain to get a payload using input from the request.\n\n@param DomainInterface $domain\n@param InputInterface $input\n@param ServerRequestInterface $request\n\n@return PayloadInterface", "docstring_tokens": ["Execute", "the", "domain", "to", "get", "a", "payload", "using", "input", "from", "the", "request", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Handler/ActionHandler.php#L80-L86", "partition": "test"} +{"repo": "equip/framework", "path": "src/Handler/ActionHandler.php", "func_name": "ActionHandler.response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the responder to marshall the payload into the response.\n\n@param ResponderInterface $responder\n@param ServerRequestInterface $request\n@param ResponseInterface $response\n@param PayloadInterface $payload\n\n@return ResponseInterface", "docstring_tokens": ["Execute", "the", "responder", "to", "marshall", "the", "payload", "into", "the", "response", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Handler/ActionHandler.php#L98-L105", "partition": "test"} +{"repo": "equip/framework", "path": "src/Responder/StatusResponder.php", "func_name": "StatusResponder.status", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the response with the status code from the payload.\n\n@param ResponseInterface $response\n@param PayloadInterface $payload\n\n@return ResponseInterface", "docstring_tokens": ["Get", "the", "response", "with", "the", "status", "code", "from", "the", "payload", "."], "sha": "2cb587e36286439dc84b24d2808c3c4c04a20d9c", "url": "https://github.com/equip/framework/blob/2cb587e36286439dc84b24d2808c3c4c04a20d9c/src/Responder/StatusResponder.php#L61-L69", "partition": "test"} +{"repo": "Osedea/laravel-rest", "path": "src/Services/TranslatorService.php", "func_name": "TranslatorService.getCommandFromResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a command class name based on a resource mapping.\n\nExamples:\n- getCommandFromResource('users', 'show') returns \\App\\Commands\\UserCommand\\ShowCommand\n- getCommandFromResource('users', 'index', 'groups') returns \\App\\Commands\\UserCommand\\GroupIndexCommand\n\n@param string $resource\n@param string $action\n@param string|null $relation\n@return string\n@throws NotFoundHttpException", "docstring_tokens": ["Returns", "a", "command", "class", "name", "based", "on", "a", "resource", "mapping", "."], "sha": "cfb7d8184f583e8b5346be1b609cb6e1e18658ab", "url": "https://github.com/Osedea/laravel-rest/blob/cfb7d8184f583e8b5346be1b609cb6e1e18658ab/src/Services/TranslatorService.php#L54-L117", "partition": "test"} +{"repo": "Osedea/laravel-rest", "path": "src/Http/Controllers/Controller.php", "func_name": "Controller.runBeforeCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method can be used in a controller before dispatching a command to pipe it.\nIt will check if the command has commands to run in the command pipeline.\n\n@param string $command A command class name", "docstring_tokens": ["This", "method", "can", "be", "used", "in", "a", "controller", "before", "dispatching", "a", "command", "to", "pipe", "it", ".", "It", "will", "check", "if", "the", "command", "has", "commands", "to", "run", "in", "the", "command", "pipeline", "."], "sha": "cfb7d8184f583e8b5346be1b609cb6e1e18658ab", "url": "https://github.com/Osedea/laravel-rest/blob/cfb7d8184f583e8b5346be1b609cb6e1e18658ab/src/Http/Controllers/Controller.php#L128-L137", "partition": "test"} +{"repo": "Osedea/laravel-rest", "path": "src/Commands/Command.php", "func_name": "Command.getPerPageFromModelClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an integer for pagination based on a model's class.\n\n@param string $modelClass A model's class.\n@return int The number of items per page for the given model.", "docstring_tokens": ["Returns", "an", "integer", "for", "pagination", "based", "on", "a", "model", "s", "class", "."], "sha": "cfb7d8184f583e8b5346be1b609cb6e1e18658ab", "url": "https://github.com/Osedea/laravel-rest/blob/cfb7d8184f583e8b5346be1b609cb6e1e18658ab/src/Commands/Command.php#L43-L61", "partition": "test"} +{"repo": "Osedea/laravel-rest", "path": "src/Commands/Command.php", "func_name": "Command.addWhereStatements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loop through Request params, creating `where` statements.\n\n@param $query\n@return mixed", "docstring_tokens": ["Loop", "through", "Request", "params", "creating", "where", "statements", "."], "sha": "cfb7d8184f583e8b5346be1b609cb6e1e18658ab", "url": "https://github.com/Osedea/laravel-rest/blob/cfb7d8184f583e8b5346be1b609cb6e1e18658ab/src/Commands/Command.php#L90-L105", "partition": "test"} +{"repo": "Osedea/laravel-rest", "path": "src/LaravelRestServiceProvider.php", "func_name": "LaravelRestServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialises the service provider.", "docstring_tokens": ["Initialises", "the", "service", "provider", "."], "sha": "cfb7d8184f583e8b5346be1b609cb6e1e18658ab", "url": "https://github.com/Osedea/laravel-rest/blob/cfb7d8184f583e8b5346be1b609cb6e1e18658ab/src/LaravelRestServiceProvider.php#L13-L20", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.allow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows additionnal methods.\n\n@param string|array $methods The methods to allow.\n@return self", "docstring_tokens": ["Allows", "additionnal", "methods", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L256-L262", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.pattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the route's pattern.\n\n@return array The route's pattern.", "docstring_tokens": ["Gets", "the", "route", "s", "pattern", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L304-L319", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.token", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the route's token structures.\n\n@return array A collection route's token structure.", "docstring_tokens": ["Returns", "the", "route", "s", "token", "structures", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L326-L336", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.regex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the route's regular expression pattern.\n\n@return string the route's regular expression pattern.", "docstring_tokens": ["Gets", "the", "route", "s", "regular", "expression", "pattern", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L343-L350", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.variables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the route's variables and their associated pattern in case of array variables.\n\n@return array The route's variables and their associated pattern.", "docstring_tokens": ["Gets", "the", "route", "s", "variables", "and", "their", "associated", "pattern", "in", "case", "of", "array", "variables", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L357-L364", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the route instance matches a request.\n\n@param array $request a request.\n@return boolean", "docstring_tokens": ["Checks", "if", "the", "route", "instance", "matches", "a", "request", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L398-L423", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route._buildVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Combines route's variables names with the regex matched route's values.\n\n@param array $varNames The variable names array with their corresponding pattern segment when applicable.\n@param array $values The matched values.\n@return array The route's variables.", "docstring_tokens": ["Combines", "route", "s", "variables", "names", "with", "the", "regex", "matched", "route", "s", "values", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L432-L463", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatches the route.\n\n@param mixed $response The outgoing response.\n@return mixed The handler return value.", "docstring_tokens": ["Dispatches", "the", "route", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L471-L487", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Route.php", "func_name": "Route.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the route's link.\n\n@param array $params The route parameters.\n@param array $options Options for generating the proper prefix. Accepted values are:\n- `'absolute'` _boolean_: `true` or `false`.\n- `'scheme'` _string_ : The scheme.\n- `'host'` _string_ : The host name.\n- `'basePath'` _string_ : The base path.\n- `'query'` _string_ : The query string.\n- `'fragment'` _string_ : The fragment string.\n@return string The link.", "docstring_tokens": ["Returns", "the", "route", "s", "link", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Route.php#L538-L574", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Host.php", "func_name": "Host._compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles the host's patten.", "docstring_tokens": ["Compiles", "the", "host", "s", "patten", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Host.php#L157-L166", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Host.php", "func_name": "Host.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a host matches a host pattern.\n\n@param string $host The host to check.\n@param string $hostVariables The matches host variables\n@return boolean Returns `true` on success, false otherwise.", "docstring_tokens": ["Checks", "if", "a", "host", "matches", "a", "host", "pattern", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Host.php#L175-L212", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Host.php", "func_name": "Host.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the host's link.\n\n@param array $params The host parameters.\n@param array $options Options for generating the proper prefix. Accepted values are:\n- `'scheme'` _string_ : The scheme.\n- `'host'` _string_ : The host name.\n@return string The link.", "docstring_tokens": ["Returns", "the", "host", "s", "link", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Host.php#L223-L236", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Parser.php", "func_name": "Parser.tokenize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tokenizes a route pattern. Optional segments are identified by square brackets.\n\n@param string $pattern A route pattern\n@param string $delimiter The path delimiter.\n@param array The tokens structure root node.", "docstring_tokens": ["Tokenizes", "a", "route", "pattern", ".", "Optional", "segments", "are", "identified", "by", "square", "brackets", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Parser.php#L74-L89", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Parser.php", "func_name": "Parser._tokenizePattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tokenizes patterns.\n\n@param string $pattern A route pattern\n@param string $delimiter The path delimiter.\n@param array An array of tokens structure.", "docstring_tokens": ["Tokenizes", "patterns", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Parser.php#L98-L127", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Parser.php", "func_name": "Parser._tokenizeSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tokenizes segments which are patterns with optional segments filtered out.\nOnly classic placeholder are supported.\n\n@param string $pattern A route pattern with no optional segments.\n@param string $delimiter The path delimiter.\n@param array An array of tokens structure.", "docstring_tokens": ["Tokenizes", "segments", "which", "are", "patterns", "with", "optional", "segments", "filtered", "out", ".", "Only", "classic", "placeholder", "are", "supported", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Parser.php#L137-L172", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Parser.php", "func_name": "Parser.split", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits a pattern in segments and patterns.\nsegments will be represented by string value and patterns by an array containing\nthe string pattern as first value and the greedy value as second value.\n\nexample:\n`/user[/{id}]*` will gives `['/user', ['id', '*']]`\n\nUnfortunately recursive regex matcher can't help here so this function is required.\n\n@param string $pattern A route pattern.\n@param array The splitted pattern.", "docstring_tokens": ["Splits", "a", "pattern", "in", "segments", "and", "patterns", ".", "segments", "will", "be", "represented", "by", "string", "value", "and", "patterns", "by", "an", "array", "containing", "the", "string", "pattern", "as", "first", "value", "and", "the", "greedy", "value", "as", "second", "value", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Parser.php#L187-L236", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Parser.php", "func_name": "Parser.compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a regex from a tokens structure array.\n\n@param array $token A tokens structure root node.\n@return array An array containing the regex pattern and its associated variable names.", "docstring_tokens": ["Builds", "a", "regex", "from", "a", "tokens", "structure", "array", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Parser.php#L244-L282", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Scope.php", "func_name": "Scope.scopify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scopes an options array according to the instance scope data.\n\n@param array $options The options to scope.\n@return array The scoped options.", "docstring_tokens": ["Scopes", "an", "options", "array", "according", "to", "the", "instance", "scope", "data", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Scope.php#L84-L106", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route.\n\n@param string|array $pattern The route's pattern.\n@param Closure|array $options An array of options or the callback handler.\n@param Closure|null $handler The callback handler.\n@return self", "docstring_tokens": ["Adds", "a", "route", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L146-L197", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Groups some routes inside a new scope.\n\n@param string|array $prefix The group's prefix pattern or the options array.\n@param Closure|array $options An array of options or the callback handler.\n@param Closure|null $handler The callback handler.\n@return object The newly created scope instance.", "docstring_tokens": ["Groups", "some", "routes", "inside", "a", "new", "scope", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L207-L231", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes a Request.\n\n@param mixed $request The request to route.\n@return object A route matching the request or a \"route not found\" route.", "docstring_tokens": ["Routes", "a", "Request", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L239-L283", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router._normalizeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes a request.\n\n@param array $request The request to normalize.\n@return array The normalized request.", "docstring_tokens": ["Normalizes", "a", "request", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L291-L300", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router._route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Routes a request.\n\n@param array $request The request to route.", "docstring_tokens": ["Routes", "a", "request", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L307-L342", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a route's link.\n\n@param string $name A route name.\n@param array $params The route parameters.\n@param array $options Options for generating the proper prefix. Accepted values are:\n- `'absolute'` _boolean_: `true` or `false`.\n- `'scheme'` _string_ : The scheme.\n- `'host'` _string_ : The host name.\n- `'basePath'` _string_ : The base path.\n- `'query'` _string_ : The query string.\n- `'fragment'` _string_ : The fragment string.\n@return string The link.", "docstring_tokens": ["Returns", "a", "route", "s", "link", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L429-L443", "partition": "test"} +{"repo": "crysalead/router", "path": "src/Router.php", "func_name": "Router.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears the router.", "docstring_tokens": ["Clears", "the", "router", "."], "sha": "e095a7edc13e3067803db4617fd997d7291de59b", "url": "https://github.com/crysalead/router/blob/e095a7edc13e3067803db4617fd997d7291de59b/src/Router.php#L448-L456", "partition": "test"} +{"repo": "raoul2000/yii2-workflow-view", "path": "src/WorkflowViewWidget.php", "func_name": "WorkflowViewWidget.createJs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns the JS code.\nThe JS code is used to initialize the VIS instances in charge of displaying the workflow.\n\n@return string the JS code", "docstring_tokens": ["Creates", "and", "returns", "the", "JS", "code", ".", "The", "JS", "code", "is", "used", "to", "initialize", "the", "VIS", "instances", "in", "charge", "of", "displaying", "the", "workflow", "."], "sha": "92775e8f3945228f7b5824f0c585dc5940f76ae9", "url": "https://github.com/raoul2000/yii2-workflow-view/blob/92775e8f3945228f7b5824f0c585dc5940f76ae9/src/WorkflowViewWidget.php#L90-L139", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/Storage/FileTokenStorage.php", "func_name": "FileTokenStorage.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get token value\n\n@return string", "docstring_tokens": ["Get", "token", "value"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/Storage/FileTokenStorage.php#L36-L46", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.getToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get token and store it\n\n@return bool", "docstring_tokens": ["Get", "token", "and", "store", "it"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L69-L88", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.listAddressBooks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of address books\n\n@param null $limit\n@param null $offset\n@return mixed", "docstring_tokens": ["Get", "list", "of", "address", "books"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L252-L264", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.getEmailsFromBook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List email addresses from book\n\n@param $id\n@return mixed|stdClass", "docstring_tokens": ["List", "email", "addresses", "from", "book"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L288-L296", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.addEmails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new emails to address book\n\n@param $bookId\n@param $emails\n@return mixed|stdClass", "docstring_tokens": ["Add", "new", "emails", "to", "address", "book"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L305-L317", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.campaignCost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cost of campaign based on address book\n\n@param $bookId\n@return mixed|stdClass", "docstring_tokens": ["Get", "cost", "of", "campaign", "based", "on", "address", "book"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L363-L371", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.createCampaign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new campaign\n\n@param $senderName\n@param $senderEmail\n@param $subject\n@param $body\n@param $bookId\n@param string $name\n@param string $attachments\n@return mixed", "docstring_tokens": ["Create", "new", "campaign"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L453-L474", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.addSender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new sender\n\n@param $senderName\n@param $senderEmail\n@return mixed|stdClass", "docstring_tokens": ["Add", "new", "sender"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L510-L523", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.activateSender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Activate sender using code\n\n@param $email\n@param $code\n@return mixed|stdClass", "docstring_tokens": ["Activate", "sender", "using", "code"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L552-L564", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.pushListWebsiteSubscriptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of subscriptions for the website\n\n@param $websiteId\n@return mixed", "docstring_tokens": ["Get", "list", "of", "subscriptions", "for", "the", "website"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L933-L945", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.pushSetSubscriptionState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set state for subscription\n\n@param $subscriptionId\n@param $stateValue\n@return mixed", "docstring_tokens": ["Set", "state", "for", "subscription"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L966-L975", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/SendPulseApi.php", "func_name": "SendpulseApi.createPushTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new push campaign\n\n@param $taskInfo\n@param array $additionalParams\n@return mixed|stdClass", "docstring_tokens": ["Create", "new", "push", "campaign"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/SendPulseApi.php#L984-L1001", "partition": "test"} +{"repo": "nikitakiselev/sendpulse-laravel", "path": "src/TokenStorageManager.php", "func_name": "TokenStorageManager.hashName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get hash name\n\n@return string", "docstring_tokens": ["Get", "hash", "name"], "sha": "12febd0c93b48f507ff2c1a082e5d21cb33d787a", "url": "https://github.com/nikitakiselev/sendpulse-laravel/blob/12febd0c93b48f507ff2c1a082e5d21cb33d787a/src/TokenStorageManager.php#L48-L54", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/CommunicationAdapter.php", "func_name": "CommunicationAdapter.sendToWebsite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a query to the provided url and return the response body.\n\n@param string $url\n@param array $params\n\n@return string", "docstring_tokens": ["Sends", "a", "query", "to", "the", "provided", "url", "and", "return", "the", "response", "body", "."], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/CommunicationAdapter.php#L89-L102", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/CommunicationAdapter.php", "func_name": "CommunicationAdapter.sendToApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a request to the comodo API, and decodes the response as given\n\n@param string $url\n@param array $params\n@param int $responseType\n@param array|null $notDecode\n@param array $forceArray\n\n@return array|bool", "docstring_tokens": ["Send", "a", "request", "to", "the", "comodo", "API", "and", "decodes", "the", "response", "as", "given"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/CommunicationAdapter.php#L115-L144", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/CommunicationAdapter.php", "func_name": "CommunicationAdapter.preSendToApiCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks, if a valid account has been provided\n\n@return bool\n@throws \\Exception", "docstring_tokens": ["Checks", "if", "a", "valid", "account", "has", "been", "provided"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/CommunicationAdapter.php#L152-L163", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/CommunicationAdapter.php", "func_name": "CommunicationAdapter.decodeNewLineEncodedResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes a responseString, separated by new lines and returns an response array\n\n@param string $responseString\n@param string $requestQuery\n@param array $forceArray\n\n@return array", "docstring_tokens": ["Decodes", "a", "responseString", "separated", "by", "new", "lines", "and", "returns", "an", "response", "array"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/CommunicationAdapter.php#L174-L231", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/CommunicationAdapter.php", "func_name": "CommunicationAdapter.decodeUrlEncodedResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes a responseString, encoded in query-string-format and returns an response array\n\n@param string $responseString\n@param string $requestQuery\n@param array $notDecode\n@param string[] $forceArray\n\n@return mixed", "docstring_tokens": ["Decodes", "a", "responseString", "encoded", "in", "query", "-", "string", "-", "format", "and", "returns", "an", "response", "array"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/CommunicationAdapter.php#L243-L283", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/ImapHelper.php", "func_name": "ImapHelper.fetchMails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches the mail recursively, through the folders.\n\n@param ImapAdapter $imap imap helper class\n@param string $search imap-searchterm\n@param bool $markProcessed Sets the flag as processed\n@param bool $assume Assumes domainName / order-Number in the mail\n@param \\Closure $callbackFunction callback\n\n@return array", "docstring_tokens": ["Fetches", "the", "mail", "recursively", "through", "the", "folders", "."], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/ImapHelper.php#L39-L97", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/ImapHelper.php", "func_name": "ImapHelper.markProcessed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks the mail with the processed flag\n\n@param ImapAdapter $imap\n@param integer $id\n@param Message $message", "docstring_tokens": ["Marks", "the", "mail", "with", "the", "processed", "flag"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/ImapHelper.php#L106-L116", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/ImapHelper.php", "func_name": "ImapHelper.getTypeOfMail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to find out, what Comodo wanna tell us...\n\n@param array $mail\n\n@return null|string", "docstring_tokens": ["Tries", "to", "find", "out", "what", "Comodo", "wanna", "tell", "us", "..."], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/ImapHelper.php#L125-L140", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.autoRefund", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refunds a ordered certificate\n\n@param array $params\n\n@return bool\n\n@throws AccountException\n@throws ArgumentException\n@throws CSRException\n@throws RequestException\n@throws UnknownApiException\n@throws UnknownException", "docstring_tokens": ["Refunds", "a", "ordered", "certificate"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L158-L177", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.autoApplySSL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function apply for a certificate\n\nSee documentation of params at https://secure.comodo.net/api/pdf/webhostreseller/sslcertificates/\n\n@param array $params\n\n@return AutoApplyResult\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\CSRException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "apply", "for", "a", "certificate"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L194-L231", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.autoReplaceSSL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function update for a certificate\n\nSee documentation of params at https://secure.comodo.net/api/pdf/webhostreseller/sslcertificates/\n\n@param array $params\n\n@return AutoReplaceResult\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\CSRException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "update", "for", "a", "certificate"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L283-L313", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.autoRevokeSSL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to revoke order\n\nSee documentation of params at https://secure.comodo.net/api/pdf/webhostreseller/sslcertificates/\n\n@param array $params\n\n@return bool\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "to", "revoke", "order"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L329-L339", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.collectSsl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to get details of a certificate\n\nSee documentation of params at https://secure.comodo.net/api/pdf/webhostreseller/sslcertificates/\n\n@param array $params\n\n@return CollectSslResult\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\CSRException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "to", "get", "details", "of", "a", "certificate"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L379-L424", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.getDCVEMailAddressList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to get the DCV e-mail address-list\n\nSee documentation of params at https://secure.comodo.net/api/pdf/webhostreseller/sslcertificates/\n\n@param array $params\n\n@return GetDCVEMailAddressListResult\n@throws AccountException\n@throws ArgumentException\n@throws CSRException\n@throws RequestException\n@throws UnknownApiException\n@throws UnknownException", "docstring_tokens": ["Function", "to", "get", "the", "DCV", "e", "-", "mail", "address", "-", "list"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L487-L524", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.sslChecker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to do a sslcheck\n\nhttps://secure.comodo.net/api/pdf/latest/SSLChecker.pdf\n\n@param array $params\n\n@return GetMDCDomainDetailsResult\n\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\CSRException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "to", "do", "a", "sslcheck"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L583-L636", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.webHostReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to call WebHostReport api\n\nhttps://secure.comodo.net/products/!WebHostReport\n\nDetails for params usage:\nhttps://secure.comodo.net/api/pdf/latest/WebHostReport.pdf\n\n@param array $params\n\n@return WebHostReportResult\n\n@throws Model\\Exception\\AccountException\n@throws Model\\Exception\\ArgumentException\n@throws Model\\Exception\\CSRException\n@throws Model\\Exception\\RequestException\n@throws Model\\Exception\\UnknownApiException\n@throws Model\\Exception\\UnknownException", "docstring_tokens": ["Function", "to", "call", "WebHostReport", "api"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L657-L678", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.enterDCVCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to enter the DCV code, coming from DCV E-Mail\n\n@param array $params\n\n@return bool\n@throws Model\\Exception\\UnknownException\n@throws Model\\Exception\\ArgumentException", "docstring_tokens": ["Function", "to", "enter", "the", "DCV", "code", "coming", "from", "DCV", "E", "-", "Mail"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L689-L715", "partition": "test"} +{"repo": "checkdomain/Comodo", "path": "lib/Util.php", "func_name": "Util.createException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to create an exception for API errorcodes\n\n@param array|mixed $responseArray\n\n@return AccountException|ArgumentException|CSRException|RequestException|UnknownApiException|UnknownException\n\n@SuppressWarnings(PHPMD.CyclomaticComplexity)", "docstring_tokens": ["Function", "to", "create", "an", "exception", "for", "API", "errorcodes"], "sha": "e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942", "url": "https://github.com/checkdomain/Comodo/blob/e5d4a4d9b0c3bde619d0fe8581747e8b7c10d942/lib/Util.php#L775-L848", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/MetaGenerator.php", "func_name": "MetaGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the meta tags.\n\n@return string", "docstring_tokens": ["Render", "the", "meta", "tags", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/MetaGenerator.php#L71-L93", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/MetaGenerator.php", "func_name": "MetaGenerator.setDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the Meta description.\n\n@param string $description", "docstring_tokens": ["Set", "the", "Meta", "description", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/MetaGenerator.php#L138-L147", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/MetaGenerator.php", "func_name": "MetaGenerator.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the title and description fields.\n\n@return void", "docstring_tokens": ["Reset", "the", "title", "and", "description", "fields", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/MetaGenerator.php#L214-L220", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Providers/SEOServiceProvider.php", "func_name": "SEOServiceProvider.registerBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the bindings.\n\n@return void", "docstring_tokens": ["Register", "the", "bindings", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Providers/SEOServiceProvider.php#L84-L105", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/OpenGraphGenerator.php", "func_name": "OpenGraphGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the open graph tags.\n\n@return string", "docstring_tokens": ["Render", "the", "open", "graph", "tags", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/OpenGraphGenerator.php#L42-L54", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/SitemapGenerator.php", "func_name": "SitemapGenerator.addRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a raw entry to the sitemap.\n\n@param array $data", "docstring_tokens": ["Add", "a", "raw", "entry", "to", "the", "sitemap", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/SitemapGenerator.php#L91-L98", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/SitemapGenerator.php", "func_name": "SitemapGenerator.prepareData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the data.\n\n@param array $data\n\n@return array", "docstring_tokens": ["Prepare", "the", "data", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/SitemapGenerator.php#L107-L117", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/SitemapGenerator.php", "func_name": "SitemapGenerator.contains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the sitemap contains an url.\n\n@param string $url\n\n@return boolean", "docstring_tokens": ["Check", "if", "the", "sitemap", "contains", "an", "url", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/SitemapGenerator.php#L126-L137", "partition": "test"} +{"repo": "Calotype/SEO", "path": "src/Calotype/SEO/Generators/SitemapGenerator.php", "func_name": "SitemapGenerator.validateData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the data for a sitemap entry.\n\n@param array $data", "docstring_tokens": ["Validate", "the", "data", "for", "a", "sitemap", "entry", "."], "sha": "1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4", "url": "https://github.com/Calotype/SEO/blob/1cbddfb7c0ddeb9bbddbb24fce41ce2f2574c4d4/src/Calotype/SEO/Generators/SitemapGenerator.php#L184-L199", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/BatchCommand.php", "func_name": "BatchCommand.fillIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill all commands that don't have an index set\n\n@param $index\n\n@return $this", "docstring_tokens": ["Fill", "all", "commands", "that", "don", "t", "have", "an", "index", "set"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/BatchCommand.php#L66-L78", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/BatchCommand.php", "func_name": "BatchCommand.fillType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill all commands that don't have a type set\n\n@param $type\n\n@return $this", "docstring_tokens": ["Fill", "all", "commands", "that", "don", "t", "have", "a", "type", "set"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/BatchCommand.php#L88-L101", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the index to operate on\n\n@param string $index indices to operate on\n@param string $index,... indices to operate on\n\n@return IndexRequest", "docstring_tokens": ["Set", "the", "index", "to", "operate", "on"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L95-L104", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the type to operate on\n\n@param string $type indices to operate on\n@param string $type,... indices to operate on\n\n@return IndexRequest", "docstring_tokens": ["Set", "the", "type", "to", "operate", "on"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L115-L124", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.settings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the index settings, used predominantly for index creation\n\n@param array|\\sherlock\\wrappers\\IndexSettingsWrapper $settings\n@param bool $merge\n\n@throws \\Sherlock\\common\\exceptions\\BadMethodCallException\n@return IndexRequest", "docstring_tokens": ["Set", "the", "index", "settings", "used", "predominantly", "for", "index", "creation"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L203-L218", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an index\n\n@return \\Sherlock\\responses\\IndexResponse\n@throws exceptions\\RuntimeException", "docstring_tokens": ["Delete", "an", "index"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L233-L251", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an index\n\n@return \\Sherlock\\responses\\IndexResponse\n@throws exceptions\\RuntimeException", "docstring_tokens": ["Create", "an", "index"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L260-L296", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexRequest.php", "func_name": "IndexRequest.updateSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the settings of an index\n\n@todo allow updating settings of all indices\n\n@return \\Sherlock\\responses\\IndexResponse\n@throws exceptions\\RuntimeException", "docstring_tokens": ["Update", "the", "settings", "of", "an", "index"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexRequest.php#L307-L334", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/RawRequest.php", "func_name": "RawRequest.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the RawRequest\n\n@throws \\Sherlock\\common\\exceptions\\RuntimeException\n@return \\Sherlock\\responses\\QueryResponse", "docstring_tokens": ["Execute", "the", "RawRequest"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/RawRequest.php#L92-L118", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/RawRequest.php", "func_name": "RawRequest.toJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a JSON representation of the final search request\n\n@return string", "docstring_tokens": ["Return", "a", "JSON", "representation", "of", "the", "final", "search", "request"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/RawRequest.php#L126-L136", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/SearchRequest.php", "func_name": "SearchRequest.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the query or queries that will be executed\n\n@param \\Sherlock\\components\\SortInterface|array,... $value\n\n@return SearchRequest", "docstring_tokens": ["Sets", "the", "query", "or", "queries", "that", "will", "be", "executed"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/SearchRequest.php#L134-L150", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/SearchRequest.php", "func_name": "SearchRequest.facets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the facets to operate on\n\n@param FacetInterface $facets types to query\n@param FacetInterface $facets,... types to query\n\n@return SearchRequest", "docstring_tokens": ["Sets", "the", "facets", "to", "operate", "on"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/SearchRequest.php#L191-L206", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/SearchRequest.php", "func_name": "SearchRequest.composeFinalQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Composes the final query, aggregating together the queries, filters, facets and associated parameters\n\n@return string\n@throws \\Sherlock\\common\\exceptions\\RuntimeException", "docstring_tokens": ["Composes", "the", "final", "query", "aggregating", "together", "the", "queries", "filters", "facets", "and", "associated", "parameters"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/SearchRequest.php#L307-L349", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/components/BaseComponent.php", "func_name": "BaseComponent.convertParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a parameter list into a composed parameter request array\n\n@param array $params array of parameters to convert into assoc array\n\n@return array", "docstring_tokens": ["Convert", "a", "parameter", "list", "into", "a", "composed", "parameter", "request", "array"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/components/BaseComponent.php#L83-L93", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/Sherlock.php", "func_name": "Sherlock.addNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new node to the ES cluster\n\n@param string $host server host address (either IP or domain)\n@param int $port ElasticSearch port (defaults to 9200)\n\n@return \\Sherlock\\Sherlock\n@throws common\\exceptions\\BadMethodCallException\n@throws common\\exceptions\\InvalidArgumentException", "docstring_tokens": ["Add", "a", "new", "node", "to", "the", "ES", "cluster"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/Sherlock.php#L254-L259", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/components/filters/Bool.php", "func_name": "Bool.must", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Must clause of Bool\n\n@param FilterInterface|array $value Single or array of FilterInterface objects\n\n@return $this", "docstring_tokens": ["Must", "clause", "of", "Bool"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/components/filters/Bool.php#L41-L52", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/DeleteDocumentRequest.php", "func_name": "DeleteDocumentRequest.document", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The document to delete\n\n@param null $id\n\n@throws \\Sherlock\\common\\exceptions\\RuntimeException\n@return DeleteDocumentRequest", "docstring_tokens": ["The", "document", "to", "delete"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/DeleteDocumentRequest.php#L103-L119", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/DeleteDocumentRequest.php", "func_name": "DeleteDocumentRequest.documents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accepts an array of Commands or a BatchCommand\n\n@param array|BatchCommandInterface $values\n\n@return $this\n@throws \\Sherlock\\common\\exceptions\\BadMethodCallException", "docstring_tokens": ["Accepts", "an", "array", "of", "Commands", "or", "a", "BatchCommand"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/DeleteDocumentRequest.php#L130-L164", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/DeleteDocumentRequest.php", "func_name": "DeleteDocumentRequest.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform the delete operation\n\n@throws exceptions\\RuntimeException\n@return \\Sherlock\\responses\\DeleteResponse", "docstring_tokens": ["Perform", "the", "delete", "operation"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/DeleteDocumentRequest.php#L173-L183", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new Request and add it to the request queue\n\n@param string $url\n@param string $method\n@param array|string $postData\n@param array $headers\n@param array $options\n\n@return RollingCurl", "docstring_tokens": ["Create", "new", "Request", "and", "add", "it", "to", "the", "request", "queue"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L118-L132", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform POST request\n\n@param string $url\n@param array|string $postData\n@param array $headers\n@param array $options\n\n@return RollingCurl", "docstring_tokens": ["Perform", "POST", "request"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L160-L163", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform PUT request\n\n@param string $url\n@param null $putData\n@param array $headers\n@param array $options\n\n@return RollingCurl", "docstring_tokens": ["Perform", "PUT", "request"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L176-L179", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform DELETE request\n\n@param string $url\n@param array $headers\n@param array $options\n\n@return RollingCurl", "docstring_tokens": ["Perform", "DELETE", "request"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L191-L194", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run all queued requests\n\n@return void", "docstring_tokens": ["Run", "all", "queued", "requests"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L202-L281", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/tmp/RollingCurl/RollingCurl.php", "func_name": "RollingCurl.addOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override and add options\n\n@param array $options\n\n@throws \\InvalidArgumentException\n@return RollingCurl", "docstring_tokens": ["Override", "and", "add", "options"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/tmp/RollingCurl/RollingCurl.php#L413-L421", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/Cluster.php", "func_name": "Cluster.onRequestExecute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggered just prior to a request being executed\nInject a random node into the Request object\n\n@param RequestEvent $event\n\n@throws exceptions\\RuntimeException", "docstring_tokens": ["Triggered", "just", "prior", "to", "a", "request", "being", "executed", "Inject", "a", "random", "node", "into", "the", "Request", "object"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/Cluster.php#L79-L91", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/common/Cluster.php", "func_name": "Cluster.autodetect_parseNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autodetect the nodes in this cluster through Cluster State API", "docstring_tokens": ["Autodetect", "the", "nodes", "in", "this", "cluster", "through", "Cluster", "State", "API"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/common/Cluster.php#L97-L128", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexDocumentRequest.php", "func_name": "IndexDocumentRequest.document", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The document to index\n\n@param \\string|\\array $value\n@param null $id\n@param bool|null $update\n\n@throws \\Sherlock\\common\\exceptions\\RuntimeException\n@return IndexDocumentRequest", "docstring_tokens": ["The", "document", "to", "index"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexDocumentRequest.php#L165-L195", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexDocumentRequest.php", "func_name": "IndexDocumentRequest.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform the indexing operation\n\n@throws exceptions\\RuntimeException\n@return \\Sherlock\\responses\\IndexResponse", "docstring_tokens": ["Perform", "the", "indexing", "operation"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexDocumentRequest.php#L249-L283", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexDocumentRequest.php", "func_name": "IndexDocumentRequest.finalizeCurrentCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is all horribly terible and will be ripped out as soon as possible.\n\nBasically, This class stores an intermediate Command that maintains state across\nchained requests, which allows updates (scripts, params, etc) to affect it.\n\nThe command is finalized when a new document is added, or the request is executed.\nFinalization means collapsing the doc field data into a param, as well as updating\nthe action/suffix as necessary.", "docstring_tokens": ["This", "is", "all", "horribly", "terible", "and", "will", "be", "ripped", "out", "as", "soon", "as", "possible", "."], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexDocumentRequest.php#L296-L333", "partition": "test"} +{"repo": "polyfractal/sherlock", "path": "src/Sherlock/requests/IndexDocumentRequest.php", "func_name": "IndexDocumentRequest.currentCommandCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simple helper function to check if the current command is populated\nIf not, create a new one", "docstring_tokens": ["Simple", "helper", "function", "to", "check", "if", "the", "current", "command", "is", "populated", "If", "not", "create", "a", "new", "one"], "sha": "24ca42c9a60fdc93552f52ea39cb121ec13e9b4e", "url": "https://github.com/polyfractal/sherlock/blob/24ca42c9a60fdc93552f52ea39cb121ec13e9b4e/src/Sherlock/requests/IndexDocumentRequest.php#L340-L347", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Behavior/GalleryBehavior.php", "func_name": "GalleryBehavior.getGallery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get model gallery\n@param Model $Model\n@return mixed", "docstring_tokens": ["Get", "model", "gallery"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Behavior/GalleryBehavior.php#L44-L53", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Album.php", "func_name": "Album.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an album record on database\n@param $model\n@param $model_id", "docstring_tokens": ["Create", "an", "album", "record", "on", "database"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Album.php#L84-L99", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Album.php", "func_name": "Album.createInitAlbum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save album with a random name in database\n@param null $model\n@param null $model_id\n@return mixed", "docstring_tokens": ["Save", "album", "with", "a", "random", "name", "in", "database"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Album.php#L107-L121", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Album.php", "func_name": "Album.generateAlbumName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a random album name\n@param null $model\n@param null $model_id\n@return string", "docstring_tokens": ["Generate", "a", "random", "album", "name"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Album.php#L148-L157", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/AlbumsController.php", "func_name": "AlbumsController.upload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create or find the requested album\n@param null $model\n@param null $model_id", "docstring_tokens": ["Create", "or", "find", "the", "requested", "album"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/AlbumsController.php#L45-L68", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.afterDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all versions of the picture from the storage after delete the\nrecord from the database", "docstring_tokens": ["Remove", "all", "versions", "of", "the", "picture", "from", "the", "storage", "after", "delete", "the", "record", "from", "the", "database"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L48-L56", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.getResizeToSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return configured main image resize attributes\n@return array", "docstring_tokens": ["Return", "configured", "main", "image", "resize", "attributes"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L104-L124", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.addImageStyles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add image styles configured in bootstrap.php\n\n@param $path\n@param array $sizes\n@return array", "docstring_tokens": ["Add", "image", "styles", "configured", "in", "bootstrap", ".", "php"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L133-L158", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.deleteVersions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all versions from a picture from the database and from the server\n\n@param $id", "docstring_tokens": ["Remove", "all", "versions", "from", "a", "picture", "from", "the", "database", "and", "from", "the", "server"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L165-L188", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.savePicture", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save picture information in database\n\n@param $album_id\n@param $filename\n@param $filesize\n@param $path\n@param null $main_id\n@param string $style\n@return mixed", "docstring_tokens": ["Save", "picture", "information", "in", "database"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L201-L219", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Model/Picture.php", "func_name": "Picture.createExtraImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create extra images from a original one bases on\nstyles defined on bootstrap.php\n\n@param $styles\n@param $filename\n@param $filesize\n@param $tmp_name\n@param $album_id\n@param $main_id\n@param $image_name\n@throws ForbiddenException", "docstring_tokens": ["Create", "extra", "images", "from", "a", "original", "one", "bases", "on", "styles", "defined", "on", "bootstrap", ".", "php"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Model/Picture.php#L392-L425", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Vendor/ZebraImage.class.php", "func_name": "Zebra_Image.Zebra_Image", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructor of the class.\n\nInitializes the class and the default properties\n\n@return void", "docstring_tokens": ["Constructor", "of", "the", "class", "."], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Vendor/ZebraImage.class.php#L196-L214", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Vendor/ZebraImage.class.php", "func_name": "Zebra_Image._prepare_image", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a blank image of given width, height and background color.\n\n@param integer $width Width of the new image.\n\n@param integer $height Height of the new image.\n\n@param string $background_color (Optional) The hexadecimal color of the background.\n\nCan also be -1 case in which the script will try to create a transparent\nimage, if possible.\n\nDefault is \"#FFFFFF\".\n\n@return Returns the identifier of the newly created image.\n\n@access private", "docstring_tokens": ["Creates", "a", "blank", "image", "of", "given", "width", "height", "and", "background", "color", "."], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Vendor/ZebraImage.class.php#L1534-L1599", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/InstallController.php", "func_name": "InstallController.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure galleries and create mysql tables", "docstring_tokens": ["Configure", "galleries", "and", "create", "mysql", "tables"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/InstallController.php#L15-L39", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/InstallController.php", "func_name": "InstallController._configureDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure database to use this plugin", "docstring_tokens": ["Configure", "database", "to", "use", "this", "plugin"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/InstallController.php#L44-L67", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/InstallController.php", "func_name": "InstallController._createConfigFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the config file copying the config.php.install file", "docstring_tokens": ["Create", "the", "config", "file", "copying", "the", "config", ".", "php", ".", "install", "file"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/InstallController.php#L94-L103", "partition": "test"} +{"repo": "netvlies/basecamp-php", "path": "generate-api-docs.php", "func_name": "Generate_Docs.checkSummaries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify that all service operations have summaries set before continuing", "docstring_tokens": ["Verify", "that", "all", "service", "operations", "have", "summaries", "set", "before", "continuing"], "sha": "87c971b191beaa97ef285424ade8281bc086efa9", "url": "https://github.com/netvlies/basecamp-php/blob/87c971b191beaa97ef285424ade8281bc086efa9/generate-api-docs.php#L94-L118", "partition": "test"} +{"repo": "netvlies/basecamp-php", "path": "generate-api-docs.php", "func_name": "Generate_Docs.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output docs for each service operation in Markdown format.", "docstring_tokens": ["Output", "docs", "for", "each", "service", "operation", "in", "Markdown", "format", "."], "sha": "87c971b191beaa97ef285424ade8281bc086efa9", "url": "https://github.com/netvlies/basecamp-php/blob/87c971b191beaa97ef285424ade8281bc086efa9/generate-api-docs.php#L148-L194", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "View/Helper/GalleryHelper.php", "func_name": "GalleryHelper.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gallery link helper\n\nThis helper will create an link to a new or existing gallery\n\nIf no arguments are passed this will create a new gallery everytime the link are clicked.\n\nWhen model & model_id arguments are passed, this will redirect to this specific gallery (it will also create a\nnew one if didn't exists)\n\nExample:\nGallery->button('product', 1) ?>\n\n@param null $model\n@param null $model_id\n@param array $html_options\n@return string", "docstring_tokens": ["Gallery", "link", "helper"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/View/Helper/GalleryHelper.php#L26-L39", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "View/Helper/GalleryHelper.php", "func_name": "GalleryHelper.showroom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a gallery with thumbnails\n\n@example\nGallery->showroom('product', 10) ?>\n\n@param null $model\n@param null $model_id\n@param null $album_id\n@return string", "docstring_tokens": ["Render", "a", "gallery", "with", "thumbnails"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/View/Helper/GalleryHelper.php#L73-L95", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "View/Helper/GalleryHelper.php", "func_name": "GalleryHelper.showroomTmpl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method use a album object to loop in all pictures and\nshow them using a bootstrap html pattern.\n\n@param $album", "docstring_tokens": ["This", "method", "use", "a", "album", "object", "to", "loop", "in", "all", "pictures", "and", "show", "them", "using", "a", "bootstrap", "html", "pattern", "."], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/View/Helper/GalleryHelper.php#L103-L112", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "View/Helper/GalleryHelper.php", "func_name": "GalleryHelper._loadScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load scripts for using on showroom\n\n@param bool $jquery", "docstring_tokens": ["Load", "scripts", "for", "using", "on", "showroom"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/View/Helper/GalleryHelper.php#L138-L156", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/PicturesController.php", "func_name": "PicturesController.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an image and all its versions from database\n@param $id", "docstring_tokens": ["Delete", "an", "image", "and", "all", "its", "versions", "from", "database"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/PicturesController.php#L104-L110", "partition": "test"} +{"repo": "hugodias/cakegallery", "path": "Controller/PicturesController.php", "func_name": "PicturesController.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort pictures from an album", "docstring_tokens": ["Sort", "pictures", "from", "an", "album"], "sha": "5289c7babadaf0981cbbd71825f42f46cbbd7650", "url": "https://github.com/hugodias/cakegallery/blob/5289c7babadaf0981cbbd71825f42f46cbbd7650/Controller/PicturesController.php#L115-L129", "partition": "test"} +{"repo": "incremental/php-youtube", "path": "src/YouTube.php", "func_name": "YouTube.listChannelSections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of channelSection resources that match the request criteria.\n\nFor more in-depth info check out the YouTube API documentation at\nhttps://developers.google.com/youtube/v3/docs/channelSections/list.\n\n@access public\n@param array $parameters An array of parameters to pass to the API.\n@throws \\InvalidArgumentException\n@return array", "docstring_tokens": ["Returns", "a", "list", "of", "channelSection", "resources", "that", "match", "the", "request", "criteria", "."], "sha": "6f728245d892ff907277a5709be04aa4b48e31e2", "url": "https://github.com/incremental/php-youtube/blob/6f728245d892ff907277a5709be04aa4b48e31e2/src/YouTube.php#L113-L130", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/Worker.php", "func_name": "Worker.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a worker and begins listening for incoming payload.\nThis method should not be invoked when new object is constructing\nbecause a Worker can be cloned before starting working.\n@throws \\Exception", "docstring_tokens": ["Starts", "a", "worker", "and", "begins", "listening", "for", "incoming", "payload", ".", "This", "method", "should", "not", "be", "invoked", "when", "new", "object", "is", "constructing", "because", "a", "Worker", "can", "be", "cloned", "before", "starting", "working", "."], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/Worker.php#L106-L117", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/Worker.php", "func_name": "Worker.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a worker and ends the process\n@param boolean $wait If true, this method will hold execution till the process end\n@return boolean Null, if worker is not active. False, if signal can't be sent to worker.\nTrue, if signal sent OR signal sent and worker terminated (if $wait = true).", "docstring_tokens": ["Stops", "a", "worker", "and", "ends", "the", "process"], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/Worker.php#L125-L148", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/Worker.php", "func_name": "Worker.kill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a worker and kills the process\n@param boolean $wait If true, this method will hold execution till the process end\n@return boolean Null, if worker is not active. False, if signal can't be sent to worker.\nTrue, if signal sent OR signal sent and worker terminated (if $wait = true).", "docstring_tokens": ["Stops", "a", "worker", "and", "kills", "the", "process"], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/Worker.php#L156-L179", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/Worker.php", "func_name": "Worker.sendPayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends payload to worker\n@param mixed $data\n@return int Serial number of payload\n@throws \\Exception", "docstring_tokens": ["Sends", "payload", "to", "worker"], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/Worker.php#L259-L282", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/Worker.php", "func_name": "Worker.onWorkerStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The first method that is being called when the worker starts.\n@param resource $socket Socket to communicate with master process and transport payload / result.\n@param integer $parentPid The process ID of the parent", "docstring_tokens": ["The", "first", "method", "that", "is", "being", "called", "when", "the", "worker", "starts", "."], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/Worker.php#L309-L351", "partition": "test"} +{"repo": "wapmorgan/Threadable", "path": "src/ForkingThread.php", "func_name": "ForkingThread.forkThread", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Forks current process.\nThe parent thread will be returned to calling code.\nThe child thread will execute callback and exit after that.\n@param $callback\n@param array $params\n@return integer The ID of child process\n@throws Exception", "docstring_tokens": ["Forks", "current", "process", ".", "The", "parent", "thread", "will", "be", "returned", "to", "calling", "code", ".", "The", "child", "thread", "will", "execute", "callback", "and", "exit", "after", "that", "."], "sha": "4a41135fcdd46e3995d8786e849500f1207db2c2", "url": "https://github.com/wapmorgan/Threadable/blob/4a41135fcdd46e3995d8786e849500f1207db2c2/src/ForkingThread.php#L25-L37", "partition": "test"} +{"repo": "activecollab/authentication", "path": "src/Saml/SamlUtils.php", "func_name": "SamlUtils.getAuthnRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get saml authnRequest.\n\n@param string $consumer_service_url\n@param string $idp_destination\n@param string $issuer\n@param string $saml_crt\n@param string $saml_key\n@return string", "docstring_tokens": ["Get", "saml", "authnRequest", "."], "sha": "ad7feeab769492a8880669fdc41b075c0f316618", "url": "https://github.com/activecollab/authentication/blob/ad7feeab769492a8880669fdc41b075c0f316618/src/Saml/SamlUtils.php#L45-L80", "partition": "test"} +{"repo": "activecollab/authentication", "path": "src/Saml/SamlUtils.php", "func_name": "SamlUtils.parseSamlResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse saml response.\n\n@param array $payload\n@return Response", "docstring_tokens": ["Parse", "saml", "response", "."], "sha": "ad7feeab769492a8880669fdc41b075c0f316618", "url": "https://github.com/activecollab/authentication/blob/ad7feeab769492a8880669fdc41b075c0f316618/src/Saml/SamlUtils.php#L88-L97", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.getBinaries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all managed binaries.\n\n@param callable $predicate\n@return array", "docstring_tokens": ["Return", "all", "managed", "binaries", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L131-L138", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.getPendingBinaries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pending binaries are binaries that are supported but have not been installed.\n\n@return array", "docstring_tokens": ["Pending", "binaries", "are", "binaries", "that", "are", "supported", "but", "have", "not", "been", "installed", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L157-L164", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch and save binaries.\n\n@return bool", "docstring_tokens": ["Fetch", "and", "save", "binaries", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L171-L181", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.updateSingle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a single binary.\n\n@param $binaryName\n@return void", "docstring_tokens": ["Update", "a", "single", "binary", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L189-L197", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the Selenium server.\n\n@param bool $background\n@param int $port\n@param array $args\n@return SeleniumProcessInterface", "docstring_tokens": ["Start", "the", "Selenium", "server", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L207-L224", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.clean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove all binaries from the install path.\n\n@return void", "docstring_tokens": ["Remove", "all", "binaries", "from", "the", "install", "path", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L253-L259", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.assertStartConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the selenium server can start.\n\n@param SeleniumStandalone $selenium\n@throws \\RuntimeException\n@return void", "docstring_tokens": ["Assert", "that", "the", "selenium", "server", "can", "start", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L292-L301", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Manager.php", "func_name": "Manager.registerBinaries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register selenium binary and drivers with the process.\n\n@param SeleniumProcessInterface $process\n@param SeleniumStandalone $selenium\n@return void", "docstring_tokens": ["Register", "selenium", "binary", "and", "drivers", "with", "the", "process", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Manager.php#L310-L317", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "specs/console/BinaryHelper.php", "func_name": "BinaryHelper.createBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a binary mock.\n\n@param $name\n@param $supported\n@param $exists", "docstring_tokens": ["Create", "a", "binary", "mock", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/specs/console/BinaryHelper.php#L25-L32", "partition": "test"} +{"repo": "activecollab/authentication", "path": "src/LoginPolicy/LoginPolicy.php", "func_name": "LoginPolicy.getValidExternalUrlValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate and return acceptable URL value.\n\n@param string|null $url\n@return string|null", "docstring_tokens": ["Validate", "and", "return", "acceptable", "URL", "value", "."], "sha": "ad7feeab769492a8880669fdc41b075c0f316618", "url": "https://github.com/activecollab/authentication/blob/ad7feeab769492a8880669fdc41b075c0f316618/src/LoginPolicy/LoginPolicy.php#L238-L245", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Binary/ChromeDriver.php", "func_name": "ChromeDriver.getLinuxFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the linux filename.\n\n@return string", "docstring_tokens": ["Get", "the", "linux", "filename", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Binary/ChromeDriver.php#L76-L84", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Binary/CompressedBinary.php", "func_name": "CompressedBinary.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overrides default save behavior to first decompress\nan archive format before saving it to a directory.\n\n@param string $directory\n@return bool", "docstring_tokens": ["Overrides", "default", "save", "behavior", "to", "first", "decompress", "an", "archive", "format", "before", "saving", "it", "to", "a", "directory", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Binary/CompressedBinary.php#L19-L39", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Binary/Request/StandardBinaryRequest.php", "func_name": "StandardBinaryRequest.onNotification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback used when progress is made requesting.\n\n@param $notification_code\n@param $severity\n@param $message\n@param $message_code\n@param $bytes_transferred\n@param $bytes_max\n@return void", "docstring_tokens": ["Callback", "used", "when", "progress", "is", "made", "requesting", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Binary/Request/StandardBinaryRequest.php#L51-L61", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Console/UpdateCommand.php", "func_name": "UpdateCommand.watchProgress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Watch for update progress and advance a progress bar.\n\n@param OutputInterface $output\n@return void", "docstring_tokens": ["Watch", "for", "update", "progress", "and", "advance", "a", "progress", "bar", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Console/UpdateCommand.php#L65-L80", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Console/UpdateCommand.php", "func_name": "UpdateCommand.getPreMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the message to initially display to the user.\n\n@param string $name\n@return string", "docstring_tokens": ["Get", "the", "message", "to", "initially", "display", "to", "the", "user", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Console/UpdateCommand.php#L88-L100", "partition": "test"} +{"repo": "peridot-php/webdriver-manager", "path": "src/Console/UpdateCommand.php", "func_name": "UpdateCommand.getPostMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the result message.\n\n@param array $pending\n@param string $name\n@return string", "docstring_tokens": ["Get", "the", "result", "message", "."], "sha": "d4a1290f9201adc3dc84f2091142803b99c00c4e", "url": "https://github.com/peridot-php/webdriver-manager/blob/d4a1290f9201adc3dc84f2091142803b99c00c4e/src/Console/UpdateCommand.php#L109-L125", "partition": "test"} +{"repo": "plumphp/plum", "path": "src/Workflow.php", "func_name": "Workflow.addPipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts an element into the pipeline at the given position.\n\n@param AbstractPipe $pipe\n\n@return Workflow", "docstring_tokens": ["Inserts", "an", "element", "into", "the", "pipeline", "at", "the", "given", "position", "."], "sha": "17ada5501b991681ad700dab2ce895d180350a18", "url": "https://github.com/plumphp/plum/blob/17ada5501b991681ad700dab2ce895d180350a18/src/Workflow.php#L82-L91", "partition": "test"} +{"repo": "plumphp/plum", "path": "src/Workflow.php", "func_name": "Workflow.convertItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the given converter to the given item either if no filter is given or if the filter returns `true`.\n\n@param mixed $item\n@param ConverterPipe $pipe\n\n@return mixed", "docstring_tokens": ["Applies", "the", "given", "converter", "to", "the", "given", "item", "either", "if", "no", "filter", "is", "given", "or", "if", "the", "filter", "returns", "true", "."], "sha": "17ada5501b991681ad700dab2ce895d180350a18", "url": "https://github.com/plumphp/plum/blob/17ada5501b991681ad700dab2ce895d180350a18/src/Workflow.php#L263-L271", "partition": "test"} +{"repo": "plumphp/plum", "path": "src/Workflow.php", "func_name": "Workflow.convertItemValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the given converter to the given field in the given item if no filter is given or if the filters returns\n`true` for the field.\n\n@param mixed $item\n@param ConverterPipe $pipe\n\n@return mixed", "docstring_tokens": ["Applies", "the", "given", "converter", "to", "the", "given", "field", "in", "the", "given", "item", "if", "no", "filter", "is", "given", "or", "if", "the", "filters", "returns", "true", "for", "the", "field", "."], "sha": "17ada5501b991681ad700dab2ce895d180350a18", "url": "https://github.com/plumphp/plum/blob/17ada5501b991681ad700dab2ce895d180350a18/src/Workflow.php#L282-L292", "partition": "test"} +{"repo": "plumphp/plum", "path": "src/Workflow.php", "func_name": "Workflow.writeItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes the given item to the given writer if the no filter is given or the filter returns `true`.\n\n@param mixed $item\n@param WriterPipe $pipe\n\n@return bool `true` if the item has been written, `false` if not.", "docstring_tokens": ["Writes", "the", "given", "item", "to", "the", "given", "writer", "if", "the", "no", "filter", "is", "given", "or", "the", "filter", "returns", "true", "."], "sha": "17ada5501b991681ad700dab2ce895d180350a18", "url": "https://github.com/plumphp/plum/blob/17ada5501b991681ad700dab2ce895d180350a18/src/Workflow.php#L302-L311", "partition": "test"} +{"repo": "activecollab/authentication", "path": "src/Middleware/ApplyAuthenticationMiddleware.php", "func_name": "ApplyAuthenticationMiddleware.getTransportFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get authentication response transport from request.\n\n@param ServerRequestInterface $request\n@return TransportInterface|null", "docstring_tokens": ["Get", "authentication", "response", "transport", "from", "request", "."], "sha": "ad7feeab769492a8880669fdc41b075c0f316618", "url": "https://github.com/activecollab/authentication/blob/ad7feeab769492a8880669fdc41b075c0f316618/src/Middleware/ApplyAuthenticationMiddleware.php#L95-L106", "partition": "test"} +{"repo": "activecollab/authentication", "path": "src/Password/StrengthValidator/PasswordStrengthValidator.php", "func_name": "PasswordStrengthValidator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if password meets the criteria set by the password policy.\n\n@param string $password\n@param PasswordPolicyInterface $policy\n@return bool", "docstring_tokens": ["Return", "true", "if", "password", "meets", "the", "criteria", "set", "by", "the", "password", "policy", "."], "sha": "ad7feeab769492a8880669fdc41b075c0f316618", "url": "https://github.com/activecollab/authentication/blob/ad7feeab769492a8880669fdc41b075c0f316618/src/Password/StrengthValidator/PasswordStrengthValidator.php#L28-L63", "partition": "test"} +{"repo": "railken/amethyst-taxonomy", "path": "src/Attributes/TaxonomyAttribute.php", "func_name": "TaxonomyAttribute.getTaxonomy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create if doesn't exists a taxonomy given name.\n\n@param EntityContract $entity\n\n@return \\Railken\\Amethyst\\Models\\Taxonomy", "docstring_tokens": ["Create", "if", "doesn", "t", "exists", "a", "taxonomy", "given", "name", "."], "sha": "ca8870e6934f4d0121ec57ba4f63fd22a89bebec", "url": "https://github.com/railken/amethyst-taxonomy/blob/ca8870e6934f4d0121ec57ba4f63fd22a89bebec/src/Attributes/TaxonomyAttribute.php#L67-L70", "partition": "test"} +{"repo": "railken/amethyst-taxonomy", "path": "src/Attributes/TaxonomyAttribute.php", "func_name": "TaxonomyAttribute.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a value valid ?\n\n@param EntityContract $entity\n@param mixed $value\n\n@return bool", "docstring_tokens": ["Is", "a", "value", "valid", "?"], "sha": "ca8870e6934f4d0121ec57ba4f63fd22a89bebec", "url": "https://github.com/railken/amethyst-taxonomy/blob/ca8870e6934f4d0121ec57ba4f63fd22a89bebec/src/Attributes/TaxonomyAttribute.php#L80-L87", "partition": "test"} +{"repo": "railken/amethyst-taxonomy", "path": "src/Attributes/TaxonomyAttribute.php", "func_name": "TaxonomyAttribute.getDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get descriptor.\n\n@return array", "docstring_tokens": ["Get", "descriptor", "."], "sha": "ca8870e6934f4d0121ec57ba4f63fd22a89bebec", "url": "https://github.com/railken/amethyst-taxonomy/blob/ca8870e6934f4d0121ec57ba4f63fd22a89bebec/src/Attributes/TaxonomyAttribute.php#L115-L122", "partition": "test"} +{"repo": "froq/froq-util", "path": "src/Util.php", "func_name": "Util.getEnv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get env.\n@param string $key\n@param any|null $valueDefault\n@return any", "docstring_tokens": ["Get", "env", "."], "sha": "547bd32832eff7030d5e83e0c7b7b4cd1304cc2a", "url": "https://github.com/froq/froq-util/blob/547bd32832eff7030d5e83e0c7b7b4cd1304cc2a/src/Util.php#L54-L69", "partition": "test"} +{"repo": "froq/froq-util", "path": "src/Util.php", "func_name": "Util.getClientIp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get client ip.\n@return ?string", "docstring_tokens": ["Get", "client", "ip", "."], "sha": "547bd32832eff7030d5e83e0c7b7b4cd1304cc2a", "url": "https://github.com/froq/froq-util/blob/547bd32832eff7030d5e83e0c7b7b4cd1304cc2a/src/Util.php#L75-L90", "partition": "test"} +{"repo": "froq/froq-util", "path": "src/Util.php", "func_name": "Util.getCurrentUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current url.\n@param bool $withQuery\n@return string", "docstring_tokens": ["Get", "current", "url", "."], "sha": "547bd32832eff7030d5e83e0c7b7b4cd1304cc2a", "url": "https://github.com/froq/froq-util/blob/547bd32832eff7030d5e83e0c7b7b4cd1304cc2a/src/Util.php#L97-L139", "partition": "test"} +{"repo": "froq/froq-util", "path": "src/Util.php", "func_name": "Util.unparseQueryString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unparse query string.\n@param array $input\n@param bool $decode\n@param string|null $ignoredKeys\n@param bool $stripTags\n@param bool $normalizeArrays\n@return string", "docstring_tokens": ["Unparse", "query", "string", "."], "sha": "547bd32832eff7030d5e83e0c7b7b4cd1304cc2a", "url": "https://github.com/froq/froq-util/blob/547bd32832eff7030d5e83e0c7b7b4cd1304cc2a/src/Util.php#L210-L244", "partition": "test"} +{"repo": "froq/froq-util", "path": "src/traits/PropertyIssetTrait.php", "func_name": "PropertyIssetTrait.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Isset magic.\n@param string $name\n@return bool\n@throws froq\\util\\traits\\PropertyTraitException", "docstring_tokens": ["Isset", "magic", "."], "sha": "547bd32832eff7030d5e83e0c7b7b4cd1304cc2a", "url": "https://github.com/froq/froq-util/blob/547bd32832eff7030d5e83e0c7b7b4cd1304cc2a/src/traits/PropertyIssetTrait.php#L46-L54", "partition": "test"} +{"repo": "nails/module-geo-code", "path": "src/Service/GeoCode.php", "func_name": "GeoCode.lookup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all information about a given address\n@param string $sAddress The address to get details for\n@return null|\\Nails\\GeoCode\\Result\\LatLng", "docstring_tokens": ["Return", "all", "information", "about", "a", "given", "address"], "sha": "277c1c24caf1d8eabb0cf72db3fd09f359537805", "url": "https://github.com/nails/module-geo-code/blob/277c1c24caf1d8eabb0cf72db3fd09f359537805/src/Service/GeoCode.php#L90-L146", "partition": "test"} +{"repo": "BerliozFramework/Config", "path": "src/ExtendedJsonConfig.php", "func_name": "ExtendedJsonConfig.doInclusions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do inclusions.\n\n@param mixed $value\n@param string $baseDirectory Base directory\n\n@throws \\Berlioz\\Config\\Exception\\ConfigException", "docstring_tokens": ["Do", "inclusions", "."], "sha": "35a519eef615f50239a26dd179aca43a6e313daa", "url": "https://github.com/BerliozFramework/Config/blob/35a519eef615f50239a26dd179aca43a6e313daa/src/ExtendedJsonConfig.php#L114-L145", "partition": "test"} +{"repo": "BerliozFramework/Config", "path": "src/ExtendedJsonConfig.php", "func_name": "ExtendedJsonConfig.doActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do actions.\n\n@param mixed $value\n\n@throws \\Berlioz\\Config\\Exception\\ConfigException", "docstring_tokens": ["Do", "actions", "."], "sha": "35a519eef615f50239a26dd179aca43a6e313daa", "url": "https://github.com/BerliozFramework/Config/blob/35a519eef615f50239a26dd179aca43a6e313daa/src/ExtendedJsonConfig.php#L154-L178", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Handler/FormShiftItemHandler.php", "func_name": "FormShiftItemHandler.down", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shifts an item in an array one down.\n\n@param array $array\n@param int $item\n\n@return array", "docstring_tokens": ["Shifts", "an", "item", "in", "an", "array", "one", "down", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Handler/FormShiftItemHandler.php#L26-L38", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Handler/FormShiftItemHandler.php", "func_name": "FormShiftItemHandler.up", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shifts an item in an array one up.\n\n@param array $array\n@param int $item\n\n@return array", "docstring_tokens": ["Shifts", "an", "item", "in", "an", "array", "one", "up", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Handler/FormShiftItemHandler.php#L48-L60", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Services/FormService.php", "func_name": "FormService.updateFormRead", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the FormRead entity for the admin backend.\n\n@param string $formUuid", "docstring_tokens": ["Update", "the", "FormRead", "entity", "for", "the", "admin", "backend", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Services/FormService.php#L100-L133", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Services/FormService.php", "func_name": "FormService.getField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the aggregate for a field with the propertyName boolean\nproperty and return the fields value.\n\nExample: You have a field with a \"replyTo\" boolean and want to return\nits value when it is set to true.\n\nTodo: Support child items.\n\n@param array $payload\n@param array $data\n@param string $propertyName\n\n@return mixed|null", "docstring_tokens": ["Check", "the", "aggregate", "for", "a", "field", "with", "the", "propertyName", "boolean", "property", "and", "return", "the", "fields", "value", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Services/FormService.php#L455-L468", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Handler/FormBaseHandler.php", "func_name": "FormBaseHandler.getMatching", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks of the provided item matches or its child items.\n\n@param array $item\n@param string $itemUuid\n@param callable $callable\n@param array $collection\n\n@return mixed", "docstring_tokens": ["Checks", "of", "the", "provided", "item", "matches", "or", "its", "child", "items", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Handler/FormBaseHandler.php#L22-L43", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Handler/FormBaseHandler.php", "func_name": "FormBaseHandler.onItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes a function on a matching item.\n\n@param Form $aggregate\n@param string $itemUuid\n@param callable $callable", "docstring_tokens": ["Executes", "a", "function", "on", "a", "matching", "item", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Handler/FormBaseHandler.php#L52-L59", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Handler/FormBaseHandler.php", "func_name": "FormBaseHandler.getItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a item by its uuid from the aggregate.\n\n@param Form $aggregate\n@param string $itemUuid\n\n@return mixed", "docstring_tokens": ["Gets", "a", "item", "by", "its", "uuid", "from", "the", "aggregate", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Handler/FormBaseHandler.php#L69-L78", "partition": "test"} +{"repo": "BerliozFramework/Config", "path": "src/AbstractConfig.php", "func_name": "AbstractConfig.replaceVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace variables.\n\n@param mixed $value\n\n@throws \\Berlioz\\Config\\Exception\\ConfigException", "docstring_tokens": ["Replace", "variables", "."], "sha": "35a519eef615f50239a26dd179aca43a6e313daa", "url": "https://github.com/BerliozFramework/Config/blob/35a519eef615f50239a26dd179aca43a6e313daa/src/AbstractConfig.php#L189-L231", "partition": "test"} +{"repo": "BerliozFramework/Config", "path": "src/JsonConfig.php", "func_name": "JsonConfig.loadJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load JSON data.\n\n@param string $json\n\n@return array\n@throws \\Berlioz\\Config\\Exception\\ConfigException", "docstring_tokens": ["Load", "JSON", "data", "."], "sha": "35a519eef615f50239a26dd179aca43a6e313daa", "url": "https://github.com/BerliozFramework/Config/blob/35a519eef615f50239a26dd179aca43a6e313daa/src/JsonConfig.php#L72-L82", "partition": "test"} +{"repo": "BerliozFramework/Config", "path": "src/JsonConfig.php", "func_name": "JsonConfig.loadUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load JSON file.\n\n@param string $jsonFile\n\n@return array\n@throws \\Berlioz\\Config\\Exception\\NotFoundException\n@throws \\Berlioz\\Config\\Exception\\ConfigException", "docstring_tokens": ["Load", "JSON", "file", "."], "sha": "35a519eef615f50239a26dd179aca43a6e313daa", "url": "https://github.com/BerliozFramework/Config/blob/35a519eef615f50239a26dd179aca43a6e313daa/src/JsonConfig.php#L93-L110", "partition": "test"} +{"repo": "nails/module-geo-code", "path": "src/Result/LatLng.php", "func_name": "LatLng.setLatLng", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the address's Latitude and Longitude\n@param string $sLat The address's Latitude\n@param string $sLng The address's Longitude\n@return $this", "docstring_tokens": ["Set", "the", "address", "s", "Latitude", "and", "Longitude"], "sha": "277c1c24caf1d8eabb0cf72db3fd09f359537805", "url": "https://github.com/nails/module-geo-code/blob/277c1c24caf1d8eabb0cf72db3fd09f359537805/src/Result/LatLng.php#L68-L73", "partition": "test"} +{"repo": "nails/module-geo-code", "path": "src/Result/LatLng.php", "func_name": "LatLng.getLatLng", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the address's coordinates\n@return \\stdClass", "docstring_tokens": ["Get", "the", "address", "s", "coordinates"], "sha": "277c1c24caf1d8eabb0cf72db3fd09f359537805", "url": "https://github.com/nails/module-geo-code/blob/277c1c24caf1d8eabb0cf72db3fd09f359537805/src/Result/LatLng.php#L129-L136", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Controller/FormController.php", "func_name": "FormController.errorResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns info from the messageBus.\n\n@param string|NULL $formUuid\n\n@return JsonResponse|RedirectResponse|Response", "docstring_tokens": ["Returns", "info", "from", "the", "messageBus", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Controller/FormController.php#L132-L148", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Controller/FormController.php", "func_name": "FormController.redirectToForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects to the edit page of a Form Aggregate by its uuid.\n\n@param string $formUuid\n\n@return Response", "docstring_tokens": ["Redirects", "to", "the", "edit", "page", "of", "a", "Form", "Aggregate", "by", "its", "uuid", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Controller/FormController.php#L157-L171", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Controller/FormController.php", "func_name": "FormController.createFormAggregate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the Form Aggregate create form.\n\n@Route(\"/create-form\", name=\"forms_create_form\")\n\n@param Request $request\n\n@return JsonResponse|RedirectResponse|Response\n@throws \\Exception", "docstring_tokens": ["Displays", "the", "Form", "Aggregate", "create", "form", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Controller/FormController.php#L183-L218", "partition": "test"} +{"repo": "RevisionTen/forms", "path": "Controller/FormController.php", "func_name": "FormController.formRemoveItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an item from a Form Aggregate.\n\n@Route(\"/remove-item/{formUuid}/{onVersion}/{itemUuid}\", name=\"forms_remove_item\")\n\n@param string $formUuid\n@param int $onVersion\n@param string $itemUuid\n\n@throws \\Exception\n@return JsonResponse|Response", "docstring_tokens": ["Removes", "an", "item", "from", "a", "Form", "Aggregate", "."], "sha": "248fdd562a3d1744d05a4f955ac759fa24389ef7", "url": "https://github.com/RevisionTen/forms/blob/248fdd562a3d1744d05a4f955ac759fa24389ef7/Controller/FormController.php#L507-L530", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.checkAutoloadDump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the autoload dump event is used\n\nUsing the autoload dump event is synonymous with creating the\n`pico-plugin.php` in Composer's vendor dir. Plugins are nevertheless\ninstalled to Pico's `plugins/` dir ({@see static::getInstallPath()}).\n\nThe autoload dump event is used when the root package is a project and\nexplicitly requires this composer installer.\n\n@param \\Composer\\Composer $composer\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "autoload", "dump", "event", "is", "used"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L131-L156", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.getPluginClassNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the plugin class names of a package\n\nPlugin class names are either specified explicitly in either the root\npackage's or the plugin package's `composer.json`, or are derived\nimplicitly from the plugin's installer name. The installer name is, for\nits part, either specified explicitly, or derived implicitly from the\nplugin package's name ({@see static::getInstallName()}).\n\n1. Using the \"pico-plugin\" extra in the root package's `composer.json`:\n```yaml\n{\n\"extra\": {\n\"pico-plugin\": {\n\"\": [ \"\", \"\", ... ]\n}\n}\n}\n```\n\nBesides matching the exact package name, you can also use the\n`vendor:` or `name:` prefixes. See {@see static::mapRootExtra()}.\n\n2. Using the \"pico-plugin\" extra in the package's `composer.json`:\n```yaml\n{\n\"extra\": {\n\"pico-plugin\": [ \"\", \"\", ... ]\n}\n}\n```\n\n3. Using the installer name. See {@see static::getInstallName()}.\n\n@param \\Composer\\Package\\PackageInterface $package\n@param \\Composer\\Package\\PackageInterface|null $rootPackage\n@return string[]", "docstring_tokens": ["Determines", "the", "plugin", "class", "names", "of", "a", "package"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L263-L294", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.getInstallName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the install name of a package\n\nThe install name of packages are either explicitly specified in either\nthe root package's or the plugin package's `composer.json` using the\n\"installer-name\" extra, or implicitly derived from the plugin package's\nname.\n\nInstall names are determined the same way as plugin class names. See\n{@see static::getPluginClassNames()} for details.\n\n@param \\Composer\\Package\\PackageInterface $package\n@param \\Composer\\Package\\PackageInterface|null $rootPackage\n@return string", "docstring_tokens": ["Returns", "the", "install", "name", "of", "a", "package"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L311-L332", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.guessInstallName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guesses the install name of a package\n\nThe install name of a Pico plugin or theme is guessed by converting the\npackage name to StudlyCase and removing \"-plugin\" or \"-theme\" suffixes,\nif present.\n\n@param string $packageName\n@return string", "docstring_tokens": ["Guesses", "the", "install", "name", "of", "a", "package"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L344-L361", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.mapRootExtra", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maps the root package's extra data to a package\n\nBesides matching the exact package name, you can also use the `vendor:`\nor `name:` prefixes to match all packages of a specific vendor resp.\nall packages with a specific name, no matter the vendor.\n\n@param mixed[] $packageExtra\n@param string $packagePrettyName\n@return mixed", "docstring_tokens": ["Maps", "the", "root", "package", "s", "extra", "data", "to", "a", "package"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L374-L396", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.writePluginConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rewrites the pico-plugin.php in Composer's vendor dir\n\n@param string $pluginConfig\n@param array $plugins\n@param array $pluginClassNames\n@return void", "docstring_tokens": ["Rewrites", "the", "pico", "-", "plugin", ".", "php", "in", "Composer", "s", "vendor", "dir"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L417-L476", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.getRootPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the root package of a composer instance\n\n@param \\Composer\\Composer $composer\n@return \\Composer\\Package\\PackageInterface", "docstring_tokens": ["Returns", "the", "root", "package", "of", "a", "composer", "instance"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L484-L494", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.getInstallPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the installation path of a package\n\nPlugins are installed to the `plugins/`, themes to the `themes/` dir\nby default respectively. You can overwrite these target dirs using the\n\"pico-plugin-dir\" resp. \"pico-theme-dir\" extra in the root package's\n`composer.json`.\n\n@param \\Composer\\Package\\PackageInterface $package\n@return string", "docstring_tokens": ["Returns", "the", "installation", "path", "of", "a", "package"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L521-L528", "partition": "test"} +{"repo": "picocms/composer-installer", "path": "src/Installer/PluginInstaller.php", "func_name": "PluginInstaller.initializeInstallDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns and initializes the installation directory of the given type\n\n@param string $packageType\n@return string", "docstring_tokens": ["Returns", "and", "initializes", "the", "installation", "directory", "of", "the", "given", "type"], "sha": "1c133ea4180cea6126bc240420c0ffa16c72fb8d", "url": "https://github.com/picocms/composer-installer/blob/1c133ea4180cea6126bc240420c0ffa16c72fb8d/src/Installer/PluginInstaller.php#L536-L561", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/LayoutDcaListener.php", "func_name": "LayoutDcaListener.generatePalette", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify palette if bootstrap is used.\n\nHook palettes_hook (MetaPalettes) is called.\n\n@return void\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Modify", "palette", "if", "bootstrap", "is", "used", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/LayoutDcaListener.php#L56-L90", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/LayoutDcaListener.php", "func_name": "LayoutDcaListener.getMetaPaletteOfPalette", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an meta palette of a palettes.\n\n@param string $table Database table name.\n@param string $name Palette name.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Creates", "an", "meta", "palette", "of", "a", "palettes", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/LayoutDcaListener.php#L102-L123", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Exception/LeavingContextFailed.php", "func_name": "LeavingContextFailed.inContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create exception for the current context.\n\n@param Context $context Current context.\n@param int $code Error code.\n@param Throwable|null $previous Previous exception.\n\n@return static", "docstring_tokens": ["Create", "exception", "for", "the", "current", "context", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Exception/LeavingContextFailed.php#L37-L44", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/ConfigSubscriber.php", "func_name": "ConfigSubscriber.enterThemeContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enter the heme context.\n\n@param InitializeLayout $event The subscribed event.\n\n@return void", "docstring_tokens": ["Enter", "the", "heme", "context", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/ConfigSubscriber.php#L91-L94", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/ConfigSubscriber.php", "func_name": "ConfigSubscriber.buildContextConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build context config.\n\n@param BuildContextConfig $command Command.\n\n@return void", "docstring_tokens": ["Build", "context", "config", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/ConfigSubscriber.php#L103-L110", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Helper/ColorRotate.php", "func_name": "ColorRotate.getColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the color for an identifier.\n\n@param string $identifier Identifier.\n\n@return string", "docstring_tokens": ["Get", "the", "color", "for", "an", "identifier", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Helper/ColorRotate.php#L77-L84", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Helper/ColorRotate.php", "func_name": "ColorRotate.rotateColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rotate the color value.\n\n@return string", "docstring_tokens": ["Rotate", "the", "color", "value", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Helper/ColorRotate.php#L91-L101", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Helper/ColorRotate.php", "func_name": "ColorRotate.convertHSVtoRGB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert hsv value to rgb value.\n\n@param float $hue Hue.\n@param float $saturation Saturation.\n@param float $value Color value.\n\n@return string\n@see http://stackoverflow.com/a/3597447\n\n@SuppressWarnings(PHPMD.ShortVariable)", "docstring_tokens": ["Convert", "hsv", "value", "to", "rgb", "value", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Helper/ColorRotate.php#L115-L155", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Environment.php", "func_name": "Environment.enterContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enter a context.\n\n@param Context $context Context.\n\n@return void", "docstring_tokens": ["Enter", "a", "context", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Environment.php#L101-L109", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Environment.php", "func_name": "Environment.leaveContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Leave current context and enter the context which was used before.\n\n@param Context|null $currentContext Optional expected current context. Won't do anything if context not match.\n\n@return void\n@throws LeavingContextFailed When context stack is empty.", "docstring_tokens": ["Leave", "current", "context", "and", "enter", "the", "context", "which", "was", "used", "before", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Environment.php#L119-L138", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Environment.php", "func_name": "Environment.switchContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switch to another context.\n\n@param Context $context New context.\n@param bool $keepCurrentInStack If true current context is added to the stack.\n\n@return void", "docstring_tokens": ["Switch", "to", "another", "context", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Environment.php#L148-L165", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/DependencyInjection/ConfigPass.php", "func_name": "ConfigPass.loadConfigFromBundles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load configuration from bundle files.\n\n@param ContainerBuilder $container Container builder.\n\n@return void", "docstring_tokens": ["Load", "configuration", "from", "bundle", "files", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/DependencyInjection/ConfigPass.php#L47-L62", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/DependencyInjection/ConfigPass.php", "func_name": "ConfigPass.setConfigTypesArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the config types arguments.\n\n@param ContainerBuilder $container Container builder.\n\n@return void", "docstring_tokens": ["Set", "the", "config", "types", "arguments", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/DependencyInjection/ConfigPass.php#L71-L86", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/ModuleDcaListener.php", "func_name": "ModuleDcaListener.getTemplates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all templates. A templatePrefix can be defined using eval.templatePrefix.\n\n@param DataContainer $dataContainer The data container driver.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "all", "templates", ".", "A", "templatePrefix", "can", "be", "defined", "using", "eval", ".", "templatePrefix", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/ModuleDcaListener.php#L42-L65", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/ModuleDcaListener.php", "func_name": "ModuleDcaListener.pagePicker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the page picker.\n\n@param DataContainer $dataContainer The data container driver.\n\n@return string\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Generate", "the", "page", "picker", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/ModuleDcaListener.php#L76-L98", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/ModuleDcaListener.php", "func_name": "ModuleDcaListener.getAllArticles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all articles and return them as array.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "all", "articles", "and", "return", "them", "as", "array", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/ModuleDcaListener.php#L107-L151", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/Dca/ModuleDcaListener.php", "func_name": "ModuleDcaListener.getAllModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all modules prepared for select wizard.\n\n@return array", "docstring_tokens": ["Get", "all", "modules", "prepared", "for", "select", "wizard", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/Dca/ModuleDcaListener.php#L158-L177", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/TemplateParseListener.php", "func_name": "TemplateParseListener.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all registered template modifiers.\n\n@param Template $template Current template.\n\n@return void", "docstring_tokens": ["Execute", "all", "registered", "template", "modifiers", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/TemplateParseListener.php#L64-L69", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/TemplateParseListener.php", "func_name": "TemplateParseListener.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse current template.\n\n@param string $buffer Parsed template.\n@param string $templateName Name of the template.\n\n@return string", "docstring_tokens": ["Parse", "current", "template", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/TemplateParseListener.php#L79-L86", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/DependencyInjection/TemplateFilterPass.php", "func_name": "TemplateFilterPass.registerTaggedServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a tagged services to an definition argument. Returns false if service does not exist.\n\n@param ContainerBuilder $container Container builder.\n@param string $definitionId Service definition id.\n@param string $tagName Tag name.\n@param int $argumentIndex Index of the argument being replaced.\n\n@return bool", "docstring_tokens": ["Register", "a", "tagged", "services", "to", "an", "definition", "argument", ".", "Returns", "false", "if", "service", "does", "not", "exist", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/DependencyInjection/TemplateFilterPass.php#L80-L101", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/HookListener.php", "func_name": "HookListener.initializeEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize bootstrap environment.\n\n@return void", "docstring_tokens": ["Initialize", "bootstrap", "environment", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/HookListener.php#L73-L77", "partition": "test"} +{"repo": "contao-bootstrap/core", "path": "src/Listener/HookListener.php", "func_name": "HookListener.initializeLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize Layout.\n\n@param \\PageModel $page Current page.\n@param \\LayoutModel $layout Page layout.\n\n@return void", "docstring_tokens": ["Initialize", "Layout", "."], "sha": "5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4", "url": "https://github.com/contao-bootstrap/core/blob/5f9b12b921847e7c2b8d9fb332f157a2b6bea6b4/src/Listener/HookListener.php#L87-L95", "partition": "test"} +{"repo": "WsdlToPhp/PhpGenerator", "path": "src/Element/PhpInterface.php", "func_name": "PhpInterface.addChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ensure method has no body\n@see \\WsdlToPhp\\PhpGenerator\\Element\\AbstractElement::addChild()\n@param mixed", "docstring_tokens": ["ensure", "method", "has", "no", "body"], "sha": "b6f15aee6609b4e05b5474075b30764236ed9898", "url": "https://github.com/WsdlToPhp/PhpGenerator/blob/b6f15aee6609b4e05b5474075b30764236ed9898/src/Element/PhpInterface.php#L52-L58", "partition": "test"} +{"repo": "Talesoft/tale-pug", "path": "Compiler.php", "func_name": "Compiler.compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles a Pug-string to PHTML.\n\nThe result can then be evaluated, the best method is\na simple PHP include\n\nLook at Renderer to get this done for you\n\nIf you give it a path, the directory of that path will be used\nfor relative includes.\n\n@param string $input the jade input string\n@param string|null $path the path for relative includes\n\n@return mixed|string a PHTML string containing HTML and PHP\n\n@throws Exception when the compilation fails\n@throws Parser\\Exception when the parsing fails\n@throws Lexer\\Exception when the lexing fails", "docstring_tokens": ["Compiles", "a", "Pug", "-", "string", "to", "PHTML", "."], "sha": "2a55ac00d84eaa8acb39155026793f873ca01621", "url": "https://github.com/Talesoft/tale-pug/blob/2a55ac00d84eaa8acb39155026793f873ca01621/Compiler.php#L451-L512", "partition": "test"} +{"repo": "Talesoft/tale-pug", "path": "Compiler.php", "func_name": "Compiler.compileNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles any Node that has a matching method for its type.\n\ne.g.\ntype: document, method: compileDocument\ntype: element, method: compileElement\n\nThe result will be PHTML\n\n@param Node $node the Node to compile\n\n@return string the compiled PHTML\n@throws Exception when the compilation fails", "docstring_tokens": ["Compiles", "any", "Node", "that", "has", "a", "matching", "method", "for", "its", "type", "."], "sha": "2a55ac00d84eaa8acb39155026793f873ca01621", "url": "https://github.com/Talesoft/tale-pug/blob/2a55ac00d84eaa8acb39155026793f873ca01621/Compiler.php#L911-L942", "partition": "test"} +{"repo": "Talesoft/tale-pug", "path": "Compiler.php", "func_name": "Compiler.throwException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws a Compiler-Exception.\n\n@param string $message A meaningful exception message\n@param Node|null $relatedNode The node the exception occured on\n\n@throws Exception", "docstring_tokens": ["Throws", "a", "Compiler", "-", "Exception", "."], "sha": "2a55ac00d84eaa8acb39155026793f873ca01621", "url": "https://github.com/Talesoft/tale-pug/blob/2a55ac00d84eaa8acb39155026793f873ca01621/Compiler.php#L2342-L2356", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/DoctrineExtractor.php", "func_name": "DoctrineExtractor.getPhpType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the corresponding built-in PHP type.\n\n@param string $doctrineType\n\n@return string", "docstring_tokens": ["Gets", "the", "corresponding", "built", "-", "in", "PHP", "type", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/DoctrineExtractor.php#L128-L157", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/PhpDocExtractor.php", "func_name": "PhpDocExtractor.getFileReflector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the FileReflector associated with the class.\n\n@param \\ReflectionClass $reflectionClass\n\n@return FileReflector|null", "docstring_tokens": ["Gets", "the", "FileReflector", "associated", "with", "the", "class", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/PhpDocExtractor.php#L141-L155", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/PhpDocExtractor.php", "func_name": "PhpDocExtractor.getDocBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the DocBlock for this property.\n\n@param string $class\n@param string $property\n\n@return array", "docstring_tokens": ["Gets", "the", "DocBlock", "for", "this", "property", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/PhpDocExtractor.php#L165-L193", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/PhpDocExtractor.php", "func_name": "PhpDocExtractor.getDocBlockFromProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the DocBlock from a property.\n\n@param string $class\n@param string $property\n\n@return DocBlock|null", "docstring_tokens": ["Gets", "the", "DocBlock", "from", "a", "property", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/PhpDocExtractor.php#L203-L233", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/PhpDocExtractor.php", "func_name": "PhpDocExtractor.getDocBlockFromMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets DocBlock from accessor or mutator method.\n\n@param string $class\n@param string $ucFirstProperty\n@param int $type\n\n@return DocBlock|null", "docstring_tokens": ["Gets", "DocBlock", "from", "accessor", "or", "mutator", "method", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/PhpDocExtractor.php#L244-L285", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/PhpDocExtractor.php", "func_name": "PhpDocExtractor.getPhpTypeAndClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an array containing the PHP type and the class.\n\n@param string $docType\n\n@return array", "docstring_tokens": ["Gets", "an", "array", "containing", "the", "PHP", "type", "and", "the", "class", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/PhpDocExtractor.php#L381-L388", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallhaven.php", "func_name": "Wallhaven.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Login to Wallhaven.\n\n@param string $username Username.\n@param string $password Password.\n\n@throws LoginException", "docstring_tokens": ["Login", "to", "Wallhaven", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallhaven.php#L61-L85", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallhaven.php", "func_name": "Wallhaven.initClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize HTTP client.\n\n@param bool $withCookies Whether cookies should be enabled.", "docstring_tokens": ["Initialize", "HTTP", "client", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallhaven.php#L92-L105", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallhaven.php", "func_name": "Wallhaven.getToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get token for login.\n\n@return string Token.\n@throws WallhavenException Thrown if no token is found.", "docstring_tokens": ["Get", "token", "for", "login", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallhaven.php#L113-L127", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallhaven.php", "func_name": "Wallhaven.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for wallpapers.\n\n@param string $query What to search for. Searching for specific tags can be done with #tagname, e.g.\n#cars\n@param int $categories Categories to include. This is a bit field, e.g.: Category::GENERAL |\nCategory::PEOPLE\n@param int $purity Purity of wallpapers. This is a bit field, e.g.: Purity::SFW |\nPurity::NSFW\n@param string $sorting Sorting, e.g. Sorting::RELEVANCE\n@param string $order Order of results. Can be Order::ASC or Order::DESC\n@param string[] $resolutions Array of resolutions in the format of WxH, e.g.: ['1920x1080',\n'1280x720']\n@param string[] $ratios Array of ratios in the format of WxH, e.g.: ['16x9', '4x3']\n@param int $page The id of the page to fetch. This is not a total number of pages to\nfetch.\n\n@return WallpaperList Wallpapers.", "docstring_tokens": ["Search", "for", "wallpapers", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallhaven.php#L160-L219", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/PropertyInfo.php", "func_name": "PropertyInfo.extract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Iterates over registered extractors and return the first value found.\n\n@param array $extractors\n@param string $method\n@param array $arguments\n\n@return mixed", "docstring_tokens": ["Iterates", "over", "registered", "extractors", "and", "return", "the", "first", "value", "found", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/PropertyInfo.php#L111-L119", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallpaper.php", "func_name": "Wallpaper.getTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get wallpaper tags.\n\n@return string[] Tags.", "docstring_tokens": ["Get", "wallpaper", "tags", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallpaper.php#L101-L116", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Wallpaper.php", "func_name": "Wallpaper.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download the wallpaper.\n\n@param string $directory Where to download the wallpaper.\n\n@throws DownloadException Thrown if the download directory cannot be created.", "docstring_tokens": ["Download", "the", "wallpaper", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Wallpaper.php#L349-L362", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/Filter.php", "func_name": "Filter.getWallpapers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the search with the specified filters.\n\n@return WallpaperList Wallpapers matching the specified filters.", "docstring_tokens": ["Execute", "the", "search", "with", "the", "specified", "filters", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/Filter.php#L140-L158", "partition": "test"} +{"repo": "ivkos/wallhaven4php", "path": "src/Wallhaven/WallpaperList.php", "func_name": "WallpaperList.downloadAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download all wallpapers in list.\n\n@param string $directory Where to download wallpapers.\n\n@throws DownloadException Thrown if the download directory cannot be created.", "docstring_tokens": ["Download", "all", "wallpapers", "in", "list", "."], "sha": "7fb1c20302445129fd7677b4b2de90bc7d9b5e10", "url": "https://github.com/ivkos/wallhaven4php/blob/7fb1c20302445129fd7677b4b2de90bc7d9b5e10/src/Wallhaven/WallpaperList.php#L30-L68", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.extractFromMutator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to extract type information from mutators.\n\n@param string $class\n@param string $property\n\n@return Type[]|null", "docstring_tokens": ["Tries", "to", "extract", "type", "information", "from", "mutators", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L119-L191", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.extractFromAccessor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to extract type information from accessors.\n\n@param string $class\n@param string $property\n\n@return Type[]|null", "docstring_tokens": ["Tries", "to", "extract", "type", "information", "from", "accessors", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L201-L215", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.extractFromReflectionType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts data from the PHP 7 reflection type.\n\n@param \\ReflectionType $reflectionType\n\n@return Type", "docstring_tokens": ["Extracts", "data", "from", "the", "PHP", "7", "reflection", "type", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L224-L240", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.isPublicProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the class have the given public property?\n\n@param string $class\n@param string $property\n\n@return bool", "docstring_tokens": ["Does", "the", "class", "have", "the", "given", "public", "property?"], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L250-L261", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.getAccessorMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the accessor method.\n\nReturns an array with a the instance of \\ReflectionMethod as first key\nand the prefix of the method as second or null if not found.\n\n@param string $class\n@param string $property\n\n@return array|null", "docstring_tokens": ["Gets", "the", "accessor", "method", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L274-L291", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.getMutatorMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the mutator method.\n\nReturns an array with a the instance of \\ReflectionMethod as first key\nand the prefix of the method as second or null if not found.\n\n@param string $class\n@param string $property\n\n@return array", "docstring_tokens": ["Gets", "the", "mutator", "method", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L304-L320", "partition": "test"} +{"repo": "dunglas/php-property-info", "path": "src/PropertyInfo/Extractors/ReflectionExtractor.php", "func_name": "ReflectionExtractor.getPropertyName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts a property name from a method name.\n\n@param string $methodName\n\n@return string", "docstring_tokens": ["Extracts", "a", "property", "name", "from", "a", "method", "name", "."], "sha": "7676d36ab4ddf81c515501c40edf60af57433271", "url": "https://github.com/dunglas/php-property-info/blob/7676d36ab4ddf81c515501c40edf60af57433271/src/PropertyInfo/Extractors/ReflectionExtractor.php#L329-L336", "partition": "test"} +{"repo": "Pixelindustries/phpspec-testbench", "path": "src/LaravelExtension.php", "func_name": "LaravelExtension.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the Laravel extension.\n\n@param \\PhpSpec\\ServiceContainer $container\n@return void", "docstring_tokens": ["Setup", "the", "Laravel", "extension", "."], "sha": "1aa5632c5d235fce6c5dc52dabfd21dad548c527", "url": "https://github.com/Pixelindustries/phpspec-testbench/blob/1aa5632c5d235fce6c5dc52dabfd21dad548c527/src/LaravelExtension.php#L23-L72", "partition": "test"} +{"repo": "Pixelindustries/phpspec-testbench", "path": "src/Laravel.php", "func_name": "Laravel.createApplication", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a Laravel application.\n\n@return \\Illuminate\\Foundation\\Application", "docstring_tokens": ["Creates", "a", "Laravel", "application", "."], "sha": "1aa5632c5d235fce6c5dc52dabfd21dad548c527", "url": "https://github.com/Pixelindustries/phpspec-testbench/blob/1aa5632c5d235fce6c5dc52dabfd21dad548c527/src/Laravel.php#L24-L33", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify an option in the ini file. If the option doesn't exist,\nit is created.\n\n@param string $name the name of the option to modify\n@param string $value the new value\n@param string $section the section where to set the item. 0 is the global section\n@param int $key for option which is an item of array, the key in the array. '' to just add a value in the array", "docstring_tokens": ["modify", "an", "option", "in", "the", "ini", "file", ".", "If", "the", "option", "doesn", "t", "exist", "it", "is", "created", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L55-L69", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.setValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify several options in the ini file.\n\n@param array $value associated array with key=>value\n@param string $section the section where to set the item. 0 is the global section", "docstring_tokens": ["modify", "several", "options", "in", "the", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L193-L198", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.removeSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove a section from the ini file.\n\n@param string $section the section where to remove the value, or the section to remove\n\n@since 2.5.0", "docstring_tokens": ["remove", "a", "section", "from", "the", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L300-L336", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.mergeSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "move values of a section into an other section and remove the section.\n\n@return bool true if the merge is a success", "docstring_tokens": ["move", "values", "of", "a", "section", "into", "an", "other", "section", "and", "remove", "the", "section", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L487-L505", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.renameValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "rename a value.", "docstring_tokens": ["rename", "a", "value", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L582-L602", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifier.php", "func_name": "IniModifier.renameSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "rename a section.", "docstring_tokens": ["rename", "a", "section", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifier.php#L607-L637", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/Util.php", "func_name": "Util.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "read an ini file.\n\n@param string $filename the path and the name of the file to read\n@param bool $asObject true if the content should be returned as an object\n\n@return object|false the content of the file or false if file does not exists", "docstring_tokens": ["read", "an", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/Util.php#L27-L38", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/Util.php", "func_name": "Util.readAndMergeObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "read an ini file and merge its parameters to the given object.\nUseful to merge to config files.\nParameters whose name starts with a '_' are not merged.\n\n@param string $filename the path and the name of the file to read\n@param object $content\n@param int $flags a combination of constants NOT_MERGE_*, NORMAL_MERGE_*\n@param array $ignoredSection list of sections or top level parameters that\nshould not be merged\n\n@return object|false the content of the file or false if error during parsing the file\n\n@since 2.0", "docstring_tokens": ["read", "an", "ini", "file", "and", "merge", "its", "parameters", "to", "the", "given", "object", ".", "Useful", "to", "merge", "to", "config", "files", ".", "Parameters", "whose", "name", "starts", "with", "a", "_", "are", "not", "merged", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/Util.php#L72-L85", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/Util.php", "func_name": "Util.mergeIniObjectContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "merge two simple StdClass object.\n\n@param object $baseContent the object which receives new properties\n@param object $contentToImport the object providing new properties\n@param int $flags a combination of constants NOT_MERGE_*, NORMAL_MERGE_*\n@param array $ignoredSection list of sections or top level parameters that\nshould not be merged\n\n@return object $baseContent", "docstring_tokens": ["merge", "two", "simple", "StdClass", "object", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/Util.php#L98-L150", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/Util.php", "func_name": "Util._iniValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "format a value to store in a ini file.\n\n@param string $value the value\n\n@return string the formated value", "docstring_tokens": ["format", "a", "value", "to", "store", "in", "a", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/Util.php#L241-L264", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifierArray.php", "func_name": "IniModifierArray.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify an option in the latest ini file. If the option doesn't exist,\nit is created.\n\n@param string $name the name of the option to modify\n@param string $value the new value\n@param string $section the section where to set the item. 0 is the global section\n@param string $key for option which is an item of array, the key in the array", "docstring_tokens": ["modify", "an", "option", "in", "the", "latest", "ini", "file", ".", "If", "the", "option", "doesn", "t", "exist", "it", "is", "created", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifierArray.php#L103-L110", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifierArray.php", "func_name": "IniModifierArray.setValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify several options in the latest ini file.\n\n@param array $value associated array with key=>value\n@param string $section the section where to set the item. 0 is the global section", "docstring_tokens": ["modify", "several", "options", "in", "the", "latest", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifierArray.php#L118-L125", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifierArray.php", "func_name": "IniModifierArray.getValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return all values of a section from all ini files.\n\n@param string $section the section from wich we want values. 0 is the global section\n\n@return array the list of values, $key=>$value", "docstring_tokens": ["return", "all", "values", "of", "a", "section", "from", "all", "ini", "files", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifierArray.php#L156-L182", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifierArray.php", "func_name": "IniModifierArray.removeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove an option from all ini file.\n\nIt can remove an entire section if you give an empty value as $name, and a $section name.\n(deprecated behavior, see removeSection())\n\n@param string $name the name of the option to remove, or null to remove an entire section\n@param string $section the section where to remove the value, or the section to remove\n@param int $key for option which is an item of array, the key in the array\n@param bool $removePreviousComment if a comment is before the value, if true, it removes also the comment", "docstring_tokens": ["remove", "an", "option", "from", "all", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifierArray.php#L195-L202", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniModifierArray.php", "func_name": "IniModifierArray.removeSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove a section from all ini file.\n@param int $section\n@param bool $removePreviousComment\n@since 2.5.0", "docstring_tokens": ["remove", "a", "section", "from", "all", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniModifierArray.php#L210-L217", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify an option in the overrider ini file. If the option doesn't exist,\nit is created.\n\n@param string $name the name of the option to modify\n@param string $value the new value\n@param string $section the section where to set the item. 0 is the global section\n@param string $key for option which is an item of array, the key in the array", "docstring_tokens": ["modify", "an", "option", "in", "the", "overrider", "ini", "file", ".", "If", "the", "option", "doesn", "t", "exist", "it", "is", "created", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L69-L72", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.setValueOnMaster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify an option in the master ini file. If the option doesn't exist,\nit is created.\n\n@param string $name the name of the option to modify\n@param string $value the new value\n@param string $section the section where to set the item. 0 is the global section\n@param string $key for option which is an item of array, the key in the array", "docstring_tokens": ["modify", "an", "option", "in", "the", "master", "ini", "file", ".", "If", "the", "option", "doesn", "t", "exist", "it", "is", "created", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L83-L89", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.setValuesOnMaster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "modify several options in the master ini file.\n\n@param array $value associated array with key=>value\n@param string $section the section where to set the item. 0 is the global section", "docstring_tokens": ["modify", "several", "options", "in", "the", "master", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L108-L114", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.getValueOnMaster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the value of an option from the master ini file only.\nIf the option doesn't exist, it returns null.\n\n@param string $name the name of the option to retrieve\n@param string $section the section where the option is. 0 is the global section\n@param string $key for option which is an item of array, the key in the array\n\n@return mixed the value", "docstring_tokens": ["return", "the", "value", "of", "an", "option", "from", "the", "master", "ini", "file", "only", ".", "If", "the", "option", "doesn", "t", "exist", "it", "returns", "null", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L146-L149", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.getValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return all values of a section from the both ini files.\n\n@param string $section the section from wich we want values. 0 is the global section\n\n@return array the list of values, $key=>$value", "docstring_tokens": ["return", "all", "values", "of", "a", "section", "from", "the", "both", "ini", "files", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L158-L176", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.removeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove an option from the two ini file.\n\nIt can remove an entire section if you give an empty value as $name,\nand a $section name. (deprecated behavior, see removeSection())\n\n\n@param string $name the name of the option to remove, or null to remove an entire section\n@param string $section the section where to remove the value, or the section to remove\n@param int $key for option which is an item of array, the key in the array\n@param bool $removePreviousComment if a comment is before the value, if true, it removes also the comment", "docstring_tokens": ["remove", "an", "option", "from", "the", "two", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L190-L196", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.removeValueOnMaster", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove an option from the master ini file only.\n\nIt can remove an entire section if you give an empty value as $name,\nand a $section name. (deprecated behavior, see removeSection())\n\n@param string $name the name of the option to remove, or null to remove an entire section\n@param string $section the section where to remove the value, or the section to remove\n@param int $key for option which is an item of array, the key in the array\n@param bool $removePreviousComment if a comment is before the value, if true, it removes also the comment", "docstring_tokens": ["remove", "an", "option", "from", "the", "master", "ini", "file", "only", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L209-L215", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/MultiIniModifier.php", "func_name": "MultiIniModifier.isSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "says if there is a section with the given name.", "docstring_tokens": ["says", "if", "there", "is", "a", "section", "with", "the", "given", "name", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/MultiIniModifier.php#L299-L302", "partition": "test"} +{"repo": "jelix/inifile", "path": "lib/IniReader.php", "func_name": "IniReader.getValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return all values of a section in the ini file.\n\n@param string $section the section from which we want values. 0 is the global section\n\n@return array the list of values, $key=>$value", "docstring_tokens": ["return", "all", "values", "of", "a", "section", "in", "the", "ini", "file", "."], "sha": "003f15245f074cc3a3b6023fae31861a090df832", "url": "https://github.com/jelix/inifile/blob/003f15245f074cc3a3b6023fae31861a090df832/lib/IniReader.php#L208-L229", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Loader/StandardLoaderFactory.php", "func_name": "StandardLoaderFactory.createFileLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a loader for the service config file\n\n@param string $type The name of the file type, such as xml, yml or php\n@param ContainerBuilder $container\n@param string $path The path to the *directory* containing the the file\n@return LoaderInterface", "docstring_tokens": ["Creates", "a", "loader", "for", "the", "service", "config", "file"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Loader/StandardLoaderFactory.php#L32-L37", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Loader/StandardLoaderFactory.php", "func_name": "StandardLoaderFactory.getClassNameByShortType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get loader class name based on short name\n@param string $type\n@return string Loader class name\n@throws UnknownFormatException", "docstring_tokens": ["Get", "loader", "class", "name", "based", "on", "short", "name"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Loader/StandardLoaderFactory.php#L45-L52", "partition": "test"} +{"repo": "stevencorona/SessionHandlerCookie", "path": "src/SessionHandler/Storage/SecureCookie.php", "func_name": "SecureCookie.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set cookie.\n\n@param string $name\n@param string $value\n@param int|null $minutes If null, we set the value to `0` (which means the cookie lives\nwithin this client session), otherwise the timestamp is calculated\nas `current time + $minutes * 60`\n@param string|null $path\n@param string|null $domain\n@param bool $secure\n@param bool $httponly\n@return bool", "docstring_tokens": ["Set", "cookie", "."], "sha": "30fe7c75c69bad574fa8b5ddf4caafc3798c3323", "url": "https://github.com/stevencorona/SessionHandlerCookie/blob/30fe7c75c69bad574fa8b5ddf4caafc3798c3323/src/SessionHandler/Storage/SecureCookie.php#L105-L114", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Command/ConvertCommand.php", "func_name": "ConvertCommand.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Interactively determine the file and convert it\n\n@param InputInterface $input\n@param OutputInterface $output\n@return void", "docstring_tokens": ["Interactively", "determine", "the", "file", "and", "convert", "it"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Command/ConvertCommand.php#L38-L53", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Command/ConvertCommand.php", "func_name": "ConvertCommand.determineFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Choose file from cli input or interactively\n\n@param OutputInterface $output\n@param string $givenFileName\n@return SplFileInfo", "docstring_tokens": ["Choose", "file", "from", "cli", "input", "or", "interactively"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Command/ConvertCommand.php#L62-L72", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Command/ConvertCommand.php", "func_name": "ConvertCommand.chooseBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prompt the user to choose the bundle whose config they want to convert\n\n@param OutputInterface $output\n@return Bundle\n@throws UnknownBundleException", "docstring_tokens": ["Prompt", "the", "user", "to", "choose", "the", "bundle", "whose", "config", "they", "want", "to", "convert"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Command/ConvertCommand.php#L81-L97", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Command/ConvertCommand.php", "func_name": "ConvertCommand.writeToFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the new config to the same directory as the original file\n\n@param OutputInterface $output\n@param SplFileInfo $originalFile\n@param string $newConfig\n@param string $newFormat The short file name given, like", "docstring_tokens": ["Write", "the", "new", "config", "to", "the", "same", "directory", "as", "the", "original", "file"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Command/ConvertCommand.php#L144-L166", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "Dumper/StandardDumperFactory.php", "func_name": "StandardDumperFactory.createDumper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a dumper for use only by the given container\n\n@param string $type\n@param ContainerBuilder $container\n@return DumperInterface", "docstring_tokens": ["Creates", "a", "dumper", "for", "use", "only", "by", "the", "given", "container"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/Dumper/StandardDumperFactory.php#L33-L38", "partition": "test"} +{"repo": "rosstuck/TuckConverterBundle", "path": "ConfigFormatConverter.php", "func_name": "ConfigFormatConverter.convertString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a config represented as a string to some other format\n\n@param string $content\n@param string $oldFormat\n@param string $newFormat\n\n@throws \\Exception when file conversion fails\n\n@return string", "docstring_tokens": ["Convert", "a", "config", "represented", "as", "a", "string", "to", "some", "other", "format"], "sha": "31c4522b5681c85ce4766aad67986c24187bba9b", "url": "https://github.com/rosstuck/TuckConverterBundle/blob/31c4522b5681c85ce4766aad67986c24187bba9b/ConfigFormatConverter.php#L84-L98", "partition": "test"} +{"repo": "stevencorona/SessionHandlerCookie", "path": "src/SessionHandler/Cookie.php", "func_name": "Cookie.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called by PHP to read session data.\n@param string $session_id\n@return string serialized session data", "docstring_tokens": ["Called", "by", "PHP", "to", "read", "session", "data", "."], "sha": "30fe7c75c69bad574fa8b5ddf4caafc3798c3323", "url": "https://github.com/stevencorona/SessionHandlerCookie/blob/30fe7c75c69bad574fa8b5ddf4caafc3798c3323/src/SessionHandler/Cookie.php#L41-L56", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Command/RouteListCommand.php", "func_name": "RouteListCommand.getRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the routes into a displayable format.\n\n@return array", "docstring_tokens": ["Compile", "the", "routes", "into", "a", "displayable", "format", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Command/RouteListCommand.php#L79-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Command/RouteListCommand.php", "func_name": "RouteListCommand.sort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the array using the given callback.\n\n@param array $array\n@param callable $callback\n\n@return array", "docstring_tokens": ["Sort", "the", "array", "using", "the", "given", "callback", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Command/RouteListCommand.php#L152-L167", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Stream/LimitStream.php", "func_name": "LimitStream.setOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the offset to start limiting from.\n\n@param int $offset Offset to seek to and begin byte limiting from\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\RuntimeException if the stream cannot be seeked\n\n@return void", "docstring_tokens": ["Set", "the", "offset", "to", "start", "limiting", "from", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Stream/LimitStream.php#L53-L69", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/View.php", "func_name": "View.gatherData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the data bound to the view instance.\n\n@return array", "docstring_tokens": ["Get", "the", "data", "bound", "to", "the", "view", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/View.php#L318-L331", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Command/OptionDumpCommand.php", "func_name": "OptionDumpCommand.putContentToFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Put the created content to file.\n\n@param string $file\n@param string $content\n@param string $key\n\n@return void", "docstring_tokens": ["Put", "the", "created", "content", "to", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Command/OptionDumpCommand.php#L102-L117", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Command/OptionDumpCommand.php", "func_name": "OptionDumpCommand.getConfigReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a modified OptionsReader instance.\n\n@return \\Viserio\\Component\\OptionsResolver\\Command\\OptionsReader", "docstring_tokens": ["Get", "a", "modified", "OptionsReader", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Command/OptionDumpCommand.php#L124-L176", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php", "func_name": "MiddlewareBasedDispatcher.runRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the given route within a Stack \"onion\" instance.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Run", "the", "given", "route", "within", "a", "Stack", "onion", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php#L101-L114", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php", "func_name": "MiddlewareBasedDispatcher.gatherRouteMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gather the middleware for the given route.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return array", "docstring_tokens": ["Gather", "the", "middleware", "for", "the", "given", "route", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php#L123-L146", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php", "func_name": "MiddlewareBasedDispatcher.flatten", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a multi-dimensional array into a single-dimensional array without keys.\n\n@param array $array\n\n@return array", "docstring_tokens": ["Convert", "a", "multi", "-", "dimensional", "array", "into", "a", "single", "-", "dimensional", "array", "without", "keys", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/MiddlewareBasedDispatcher.php#L176-L189", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Bootstrap/LoadConfiguration.php", "func_name": "LoadConfiguration.loadConfigurationFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the configuration items from all of the files.\n\n@param \\Viserio\\Component\\Contract\\Foundation\\Kernel $kernel\n@param \\Viserio\\Component\\Contract\\Config\\Repository $config\n\n@return void", "docstring_tokens": ["Load", "the", "configuration", "items", "from", "all", "of", "the", "files", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Bootstrap/LoadConfiguration.php#L99-L116", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pipeline/Pipeline.php", "func_name": "Pipeline.getSlice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a Closure that represents a slice of the application onion.\n\n@return \\Closure", "docstring_tokens": ["Get", "a", "Closure", "that", "represents", "a", "slice", "of", "the", "application", "onion", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pipeline/Pipeline.php#L87-L127", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pipeline/Pipeline.php", "func_name": "Pipeline.parseStageString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse full pipe string to get name and parameters.\n\n@param string $stage\n\n@return array", "docstring_tokens": ["Parse", "full", "pipe", "string", "to", "get", "name", "and", "parameters", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pipeline/Pipeline.php#L150-L159", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run an console command by name.\n\n@param string $command\n@param array $parameters\n@param null|\\Symfony\\Component\\Console\\Output\\OutputInterface $outputBuffer\n\n@throws \\Throwable\n\n@return int", "docstring_tokens": ["Run", "an", "console", "command", "by", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L176-L208", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.defaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define default values for the arguments of the command.\n\n@param string $commandName name of the command\n@param array $argumentDefaults default argument values\n\n@return void", "docstring_tokens": ["Define", "default", "values", "for", "the", "arguments", "of", "the", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L218-L227", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.phpBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The PHP executable.\n\n@return string", "docstring_tokens": ["The", "PHP", "executable", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L256-L261", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.cerebroBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The Cerebro executable.\n\n@return string", "docstring_tokens": ["The", "Cerebro", "executable", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L268-L273", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.doRunCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the current command.\n\nIf an event dispatcher has been attached to the application,\nevents are also dispatched during the life-cycle of the command.\n\n@param \\Symfony\\Component\\Console\\Command\\Command $command\n@param \\Symfony\\Component\\Console\\Input\\InputInterface $input\n@param \\Symfony\\Component\\Console\\Output\\OutputInterface $output\n\n@throws \\Throwable\n\n@return int 0 if everything went fine, or an error code", "docstring_tokens": ["Runs", "the", "current", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L427-L476", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Application.php", "func_name": "Application.getDefaultInputDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the default input definitions for the applications.\n\nThis is used to add the --env option to every available command.\n\n@return \\Symfony\\Component\\Console\\Input\\InputDefinition", "docstring_tokens": ["Get", "the", "default", "input", "definitions", "for", "the", "applications", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Application.php#L485-L491", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php", "func_name": "RouteTreeBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a route tree from the supplied routes.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route[] $routes\n\n@return array", "docstring_tokens": ["Creates", "a", "route", "tree", "from", "the", "supplied", "routes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php#L18-L58", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php", "func_name": "RouteTreeBuilder.addRouteToNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a route to the node tree.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\RouteTreeNode $node\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n@param array $segments\n@param int $segmentDepth\n@param array $parameterIndexNameMap\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\RuntimeException\n\n@return void", "docstring_tokens": ["Adds", "a", "route", "to", "the", "node", "tree", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php#L73-L99", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php", "func_name": "RouteTreeBuilder.getMatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the right Matcher.\n\n@param \\Viserio\\Component\\Contract\\Routing\\SegmentMatcher|\\Viserio\\Component\\Routing\\Matcher\\ParameterMatcher $firstSegment\n@param array $parameterIndexNameMap\n\n@return \\Viserio\\Component\\Contract\\Routing\\SegmentMatcher", "docstring_tokens": ["Get", "the", "right", "Matcher", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeBuilder.php#L109-L116", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Provider/FilesystemServiceProvider.php", "func_name": "FilesystemServiceProvider.createFilesystemManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new FilesystemManager instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Filesystem\\FilesystemManager", "docstring_tokens": ["Create", "a", "new", "FilesystemManager", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Provider/FilesystemServiceProvider.php#L54-L63", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Provider/FilesystemServiceProvider.php", "func_name": "FilesystemServiceProvider.createCachedFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new CachedFactory instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Filesystem\\Cache\\CachedFactory", "docstring_tokens": ["Create", "a", "new", "CachedFactory", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Provider/FilesystemServiceProvider.php#L84-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php", "func_name": "TraceablePDODecorater.getAccumulatedStatementsDuration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the accumulated execution time of statements.\n\n@return int", "docstring_tokens": ["Returns", "the", "accumulated", "execution", "time", "of", "statements", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php#L166-L171", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php", "func_name": "TraceablePDODecorater.getMemoryUsage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the peak memory usage while performing statements.\n\n@return int", "docstring_tokens": ["Returns", "the", "peak", "memory", "usage", "while", "performing", "statements", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php#L178-L183", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php", "func_name": "TraceablePDODecorater.profileCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Profiles a call to a PDO method.\n\n@param string $method\n@param string $sql\n@param array $args\n\n@return mixed", "docstring_tokens": ["Profiles", "a", "call", "to", "a", "PDO", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TraceablePDODecorater.php#L220-L248", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/Resolver.php", "func_name": "Resolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves an alias.\n\n@param string $alias\n\n@return null|string", "docstring_tokens": ["Resolves", "an", "alias", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/Resolver.php#L52-L77", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/Resolver.php", "func_name": "Resolver.matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the resolver matches a given pattern and optional translation.\n\n@param string $pattern\n@param null|string $translation\n\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "resolver", "matches", "a", "given", "pattern", "and", "optional", "translation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/Resolver.php#L87-L90", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php", "func_name": "TwigServiceProvider.createTwigEngine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new twig engine instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Provider\\Twig\\Engine\\TwigEngine", "docstring_tokens": ["Create", "a", "new", "twig", "engine", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php#L86-L92", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php", "func_name": "TwigServiceProvider.extendViewFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend ViewFactory.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Viserio\\Component\\Contract\\View\\Factory $view\n\n@return null|\\Viserio\\Component\\Contract\\View\\Factory", "docstring_tokens": ["Extend", "ViewFactory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php#L102-L112", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php", "func_name": "TwigServiceProvider.extendEngineResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend EngineResolver with twig extension.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Viserio\\Component\\View\\Engine\\EngineResolver $engines\n\n@return null|\\Viserio\\Component\\View\\Engine\\EngineResolver", "docstring_tokens": ["Extend", "EngineResolver", "with", "twig", "extension", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php#L122-L134", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php", "func_name": "TwigServiceProvider.createTwigEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a twig environment.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Twig\\Environment", "docstring_tokens": ["Create", "a", "twig", "environment", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php#L143-L158", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php", "func_name": "TwigServiceProvider.createTwigLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a twig bridge loader.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Twig\\Loader\\LoaderInterface", "docstring_tokens": ["Create", "a", "twig", "bridge", "loader", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Provider/TwigServiceProvider.php#L167-L190", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.parseData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the data array.\n\n@param array $data\n\n@return array", "docstring_tokens": ["Parse", "the", "data", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L125-L137", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.createRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a rule object.\n\n@param array|string $rules\n\n@return \\Respect\\Validation\\Validator", "docstring_tokens": ["Create", "a", "rule", "object", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L146-L173", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.createNegativeOrOptionalValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a negative or optional validator instance.\n\n@param string $filter\n@param array $rules\n\n@return \\Respect\\Validation\\Validator", "docstring_tokens": ["Create", "a", "negative", "or", "optional", "validator", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L215-L229", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.createChainableValidators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Chain validator to a chained validator object.\n\n@param \\Respect\\Validation\\Validator $class\n@param array $rules\n\n@return \\Respect\\Validation\\Validator", "docstring_tokens": ["Chain", "validator", "to", "a", "chained", "validator", "object", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L239-L264", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.parseStringRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a string based rule.\n\n@param string $rules\n\n@return array", "docstring_tokens": ["Parse", "a", "string", "based", "rule", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L273-L287", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Validator.php", "func_name": "Validator.parseParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a parameter list.\n\n@param string $rule\n@param string $parameter\n\n@return array", "docstring_tokens": ["Parse", "a", "parameter", "list", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Validator.php#L297-L304", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServer.php", "func_name": "WebServer.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a local web server in the background.\n\n@param \\Viserio\\Component\\WebServer\\WebServerConfig $config\n@param null|string $pidFile\n\n@return int", "docstring_tokens": ["Starts", "a", "local", "web", "server", "in", "the", "background", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServer.php#L71-L113", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServer.php", "func_name": "WebServer.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stop a running web server.\n\n@param null|string $pidFile\n\n@return void", "docstring_tokens": ["Stop", "a", "running", "web", "server", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServer.php#L122-L131", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServer.php", "func_name": "WebServer.getAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the address from the pid file.\n\n@param null|string $pidFile\n\n@return bool|string", "docstring_tokens": ["Get", "the", "address", "from", "the", "pid", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServer.php#L140-L149", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServer.php", "func_name": "WebServer.isRunning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a server is running.\n\n@param null|string $pidFile\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "server", "is", "running", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServer.php#L158-L180", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServer.php", "func_name": "WebServer.createServerProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new server command process.\n\n@param \\Viserio\\Component\\WebServer\\WebServerConfig $config\n\n@return \\Symfony\\Component\\Process\\Process", "docstring_tokens": ["Create", "a", "new", "server", "command", "process", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServer.php#L189-L208", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/EventManager.php", "func_name": "EventManager.getListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of listeners for an event.\n\nThe list is returned as an array, and the list of events are sorted by\ntheir priority.\n\n@param null|string $eventName\n\n@return array\n\n@internal", "docstring_tokens": ["Returns", "the", "list", "of", "listeners", "for", "an", "event", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/EventManager.php#L54-L79", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/EventManager.php", "func_name": "EventManager.removeListenerPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an event listener from any events to which it was applied due to\npattern matching.\n\nThis method cannot be used to remove a listener from a pattern that was\nnever registered.\n\n@param string $eventPattern\n@param mixed $listener\n\n@return void", "docstring_tokens": ["Removes", "an", "event", "listener", "from", "any", "events", "to", "which", "it", "was", "applied", "due", "to", "pattern", "matching", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/EventManager.php#L292-L306", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/EventManager.php", "func_name": "EventManager.hasWildcards", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a string contains any wildcard characters.\n\n@param string $subject\n\n@return bool", "docstring_tokens": ["Checks", "whether", "a", "string", "contains", "any", "wildcard", "characters", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/EventManager.php#L315-L318", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/EventManager.php", "func_name": "EventManager.addListenerPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an event listener for all events matching the specified pattern.\n\nThis method will lazily register the listener when a matching event is\ndispatched.\n\n@param \\Viserio\\Component\\Events\\ListenerPattern $pattern\n\n@return void", "docstring_tokens": ["Adds", "an", "event", "listener", "for", "all", "events", "matching", "the", "specified", "pattern", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/EventManager.php#L330-L339", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Command/OptionsReader.php", "func_name": "OptionsReader.readMandatoryOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the mandatory options.\n\n@param string $className\n@param array $dimensions\n@param array $mandatoryOptions\n\n@return array", "docstring_tokens": ["Read", "the", "mandatory", "options", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Command/OptionsReader.php#L68-L83", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Command/OptionsReader.php", "func_name": "OptionsReader.buildMultidimensionalArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a multidimensional config array.\n\n@param array $dimensions\n@param mixed $value\n\n@return array", "docstring_tokens": ["Builds", "a", "multidimensional", "config", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Command/OptionsReader.php#L93-L105", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Http/Handler.php", "func_name": "Handler.getPreparedResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a prepared response with the transformed exception.\n\n@param null|\\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Throwable $exception\n@param \\Throwable $transformed\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Get", "a", "prepared", "response", "with", "the", "transformed", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Http/Handler.php#L159-L179", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Http/Handler.php", "func_name": "Handler.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a response for the given exception.\n\n@param null|\\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Throwable $exception\n@param \\Throwable $transformed\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Create", "a", "response", "for", "the", "given", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Http/Handler.php#L190-L206", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Http/Handler.php", "func_name": "Handler.getDisplayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the displayer instance.\n\n@param null|\\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Throwable $original\n@param \\Throwable $transformed\n@param int $code\n\n@return \\Viserio\\Component\\Contract\\Exception\\Displayer", "docstring_tokens": ["Get", "the", "displayer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Http/Handler.php#L218-L241", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Http/Handler.php", "func_name": "Handler.getFiltered", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the filtered list of displayers.\n\n@param \\Viserio\\Component\\Contract\\Exception\\Displayer[] $displayers\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Throwable $original\n@param \\Throwable $transformed\n@param int $code\n\n@return \\Viserio\\Component\\Contract\\Exception\\Displayer[]", "docstring_tokens": ["Get", "the", "filtered", "list", "of", "displayers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Http/Handler.php#L254-L275", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Http/Handler.php", "func_name": "Handler.sortedFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort displayer after the first found accept header.\n\n@param array $filtered\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return \\Viserio\\Component\\Contract\\Exception\\Displayer", "docstring_tokens": ["Sort", "displayer", "after", "the", "first", "found", "accept", "header", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Http/Handler.php#L285-L298", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Collection.php", "func_name": "Collection.addLookups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the route to any look-up tables if necessary.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return void", "docstring_tokens": ["Add", "the", "route", "to", "any", "look", "-", "up", "tables", "if", "necessary", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Collection.php#L107-L124", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Message.php", "func_name": "Message.addAddresses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a recipient to the message.\n\n@param array|string $address\n@param string $name\n@param string $type\n\n@return void", "docstring_tokens": ["Add", "a", "recipient", "to", "the", "message", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Message.php#L215-L226", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php", "func_name": "ProfilerServiceProvider.createAssetsRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new AssetsRenderer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Profiler\\AssetsRenderer", "docstring_tokens": ["Create", "a", "new", "AssetsRenderer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php#L159-L164", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php", "func_name": "ProfilerServiceProvider.registerBaseCollectors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register base collectors.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param \\Viserio\\Component\\Contract\\Profiler\\Profiler $profiler\n@param array $options\n\n@return void", "docstring_tokens": ["Register", "base", "collectors", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php#L207-L229", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php", "func_name": "ProfilerServiceProvider.registerCollectorsFromConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register all found collectors in config.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param \\Viserio\\Component\\Contract\\Profiler\\Profiler $profiler\n@param array $options\n\n@return void", "docstring_tokens": ["Register", "all", "found", "collectors", "in", "config", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerServiceProvider.php#L240-L250", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Provider/SessionServiceProvider.php", "func_name": "SessionServiceProvider.extendEventManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend viserio events with data collector.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Viserio\\Component\\Contract\\Events\\EventManager $eventManager\n\n@return null|\\Viserio\\Component\\Contract\\Events\\EventManager", "docstring_tokens": ["Extend", "viserio", "events", "with", "data", "collector", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Provider/SessionServiceProvider.php#L50-L66", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Provider/SessionServiceProvider.php", "func_name": "SessionServiceProvider.createSessionManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new session manager instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Session\\SessionManager", "docstring_tokens": ["Create", "new", "session", "manager", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Provider/SessionServiceProvider.php#L75-L88", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php", "func_name": "RoutingServiceProvider.createRouteDispatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a route dispatcher instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|callable $getPrevious\n\n@return \\Viserio\\Component\\Contract\\Routing\\Dispatcher", "docstring_tokens": ["Create", "a", "route", "dispatcher", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php#L61-L80", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php", "func_name": "RoutingServiceProvider.createRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a router instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Routing\\Router", "docstring_tokens": ["Create", "a", "router", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php#L89-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php", "func_name": "RoutingServiceProvider.createUrlGenerator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a url generator instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return null|\\Viserio\\Component\\Contract\\Routing\\UrlGenerator", "docstring_tokens": ["Create", "a", "url", "generator", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Provider/RoutingServiceProvider.php#L105-L116", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/EnvironmentDetector.php", "func_name": "EnvironmentDetector.detectConsoleEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the application environment from command-line arguments.\n\n@param \\Closure $callback\n@param array $args\n\n@return string", "docstring_tokens": ["Set", "the", "application", "environment", "from", "command", "-", "line", "arguments", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/EnvironmentDetector.php#L70-L84", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/EnvironmentDetector.php", "func_name": "EnvironmentDetector.getEnvironmentArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the environment argument from the console.\n\n@param array $args\n\n@return null|string", "docstring_tokens": ["Get", "the", "environment", "argument", "from", "the", "console", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/EnvironmentDetector.php#L105-L118", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Controller/AssetController.php", "func_name": "AssetController.js", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the javascript for the Debugbar.\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Return", "the", "javascript", "for", "the", "Debugbar", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Controller/AssetController.php#L65-L77", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/TomlDumper.php", "func_name": "TomlDumper.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build toml file from given array.\n\n@param array $data\n@param \\Yosymfony\\Toml\\TomlBuilder $builder\n@param string $parent\n\n@return \\Yosymfony\\Toml\\TomlBuilder", "docstring_tokens": ["Build", "toml", "file", "from", "given", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/TomlDumper.php#L50-L75", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/TomlDumper.php", "func_name": "TomlDumper.processArrayOfArrays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run through all arrays.\n\n@param array $values\n@param string $parent\n@param \\Yosymfony\\Toml\\TomlBuilder $builder\n\n@return \\Yosymfony\\Toml\\TomlBuilder", "docstring_tokens": ["Run", "through", "all", "arrays", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/TomlDumper.php#L86-L111", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/DebugCommand.php", "func_name": "DebugCommand.getPrettyMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform metadata.\n\n@param string $type\n@param object $entity\n\n@return string", "docstring_tokens": ["Transform", "metadata", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/DebugCommand.php#L193-L226", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/DebugCommand.php", "func_name": "DebugCommand.getLoaderPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the loader paths.\n\n@param \\Twig\\Environment $twig\n\n@return array", "docstring_tokens": ["Get", "the", "loader", "paths", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/DebugCommand.php#L235-L259", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/DebugCommand.php", "func_name": "DebugCommand.buildTableRows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build configured path table.\n\n@param array $loaderPaths\n\n@return array", "docstring_tokens": ["Build", "configured", "path", "table", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/DebugCommand.php#L268-L299", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Displayer/AbstractWhoopsDisplayer.php", "func_name": "AbstractWhoopsDisplayer.getWhoops", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the whoops instance.\n\n@return Whoops", "docstring_tokens": ["Returns", "the", "whoops", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Displayer/AbstractWhoopsDisplayer.php#L65-L73", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.addWhereClausesToRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the necessary where clauses to the route based on its initial registration.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return void", "docstring_tokens": ["Add", "the", "necessary", "where", "clauses", "to", "the", "route", "based", "on", "its", "initial", "registration", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L425-L433", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.mergeGroupAttributesIntoRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge the group stack with the controller action.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return void", "docstring_tokens": ["Merge", "the", "group", "stack", "with", "the", "controller", "action", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L442-L447", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.convertToControllerAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a controller based route action to the action array.\n\n@param array|string $action\n\n@return array", "docstring_tokens": ["Add", "a", "controller", "based", "route", "action", "to", "the", "action", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L472-L485", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.prependGroupNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepend the last group uses onto the use clause.\n\n@param string $uses\n\n@return string", "docstring_tokens": ["Prepend", "the", "last", "group", "uses", "onto", "the", "use", "clause", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L494-L501", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.prefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prefix the given URI with the last prefix.\n\n@param string $uri\n\n@return string", "docstring_tokens": ["Prefix", "the", "given", "URI", "with", "the", "last", "prefix", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L510-L523", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Router.php", "func_name": "Router.updateGroupStack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the group stack with the given attributes.\n\n@param array $attributes\n\n@return void", "docstring_tokens": ["Update", "the", "group", "stack", "with", "the", "given", "attributes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Router.php#L544-L551", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Provider/SanitizerServiceProvider.php", "func_name": "SanitizerServiceProvider.createSanitizer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a sanitizer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Validation\\Sanitizer", "docstring_tokens": ["Create", "a", "sanitizer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Provider/SanitizerServiceProvider.php#L39-L45", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/BootstrapManager.php", "func_name": "BootstrapManager.addBeforeBootstrapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a callback to run before a bootstrapper.\n\n@param string $bootstrapper\n@param callable $callback\n\n@return void", "docstring_tokens": ["Register", "a", "callback", "to", "run", "before", "a", "bootstrapper", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/BootstrapManager.php#L65-L70", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/BootstrapManager.php", "func_name": "BootstrapManager.addAfterBootstrapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a callback to run after a bootstrapper.\n\n@param string $bootstrapper\n@param callable $callback\n\n@return void", "docstring_tokens": ["Register", "a", "callback", "to", "run", "after", "a", "bootstrapper", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/BootstrapManager.php#L80-L85", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/BootstrapManager.php", "func_name": "BootstrapManager.bootstrapWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the given array of bootstrap classes.\n\n@param array $bootstraps\n\n@return void", "docstring_tokens": ["Run", "the", "given", "array", "of", "bootstrap", "classes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/BootstrapManager.php#L94-L115", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/BootstrapManager.php", "func_name": "BootstrapManager.callCallbacks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls callbacks on bootstrap name.\n\n@param array $bootCallbacks\n@param \\Viserio\\Component\\Contract\\Foundation\\Kernel $kernel\n@param string $type\n@param string $bootstrap\n\n@return void", "docstring_tokens": ["Calls", "callbacks", "on", "bootstrap", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/BootstrapManager.php#L127-L137", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Store.php", "func_name": "Store.generateSessionId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new, random session ID.\n\n@return string", "docstring_tokens": ["Get", "a", "new", "random", "session", "ID", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Store.php#L587-L590", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Store.php", "func_name": "Store.mergeNewFlashes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge new flash keys into the new flash array.\n\n@param array $keys\n\n@return void", "docstring_tokens": ["Merge", "new", "flash", "keys", "into", "the", "new", "flash", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Store.php#L643-L648", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Store.php", "func_name": "Store.loadSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the session data from the handler.\n\n@return bool", "docstring_tokens": ["Load", "the", "session", "data", "from", "the", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Store.php#L687-L706", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Store.php", "func_name": "Store.readFromHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the session data from the handler.\n\n@return array", "docstring_tokens": ["Read", "the", "session", "data", "from", "the", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Store.php#L713-L722", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Store.php", "func_name": "Store.writeToHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write values to handler.\n\n@return void", "docstring_tokens": ["Write", "values", "to", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Store.php#L729-L747", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pagination/AbstractPaginator.php", "func_name": "AbstractPaginator.resolveCurrentPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the current page or return the default value.\n\n@return int", "docstring_tokens": ["Resolve", "the", "current", "page", "or", "return", "the", "default", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pagination/AbstractPaginator.php#L480-L494", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pagination/AbstractPaginator.php", "func_name": "AbstractPaginator.secureInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "At least check if the input string does not have null-byte\nand is a UTF-8 valid string.\n\n@param array $query\n\n@return array", "docstring_tokens": ["At", "least", "check", "if", "the", "input", "string", "does", "not", "have", "null", "-", "byte", "and", "is", "a", "UTF", "-", "8", "valid", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pagination/AbstractPaginator.php#L504-L519", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/Provider/EventsDataCollectorServiceProvider.php", "func_name": "EventsDataCollectorServiceProvider.extendEventManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend viserio events manager with a new event.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Viserio\\Component\\Events\\EventManager $eventManager\n\n@return null|\\Viserio\\Component\\Contract\\Events\\EventManager|\\Viserio\\Component\\Events\\DataCollector\\TraceableEventManager", "docstring_tokens": ["Extend", "viserio", "events", "manager", "with", "a", "new", "event", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/Provider/EventsDataCollectorServiceProvider.php#L71-L88", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/LintCommand.php", "func_name": "LintCommand.getFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an array of files to lint.\n\n@param array $files array of files to check\n@param array $directories array of directories to get the files from\n\n@return array", "docstring_tokens": ["Gets", "an", "array", "of", "files", "to", "lint", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/LintCommand.php#L86-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/LintCommand.php", "func_name": "LintCommand.getFinder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a finder instance of Twig files in the specified directories.\n\n@param array $paths paths to search for files in\n\n@return iterable", "docstring_tokens": ["Get", "a", "finder", "instance", "of", "Twig", "files", "in", "the", "specified", "directories", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/LintCommand.php#L109-L125", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/LintCommand.php", "func_name": "LintCommand.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the template.\n\n@param string $template twig template\n@param string $file\n\n@return array", "docstring_tokens": ["Validate", "the", "template", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/LintCommand.php#L135-L163", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/LintCommand.php", "func_name": "LintCommand.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output the results of the linting.\n\n@param array $details validation results from all linted files\n@param string $format Format to output the results in. Supports txt or json.\n\n@throws \\InvalidArgumentException thrown for an unknown format\n\n@return int", "docstring_tokens": ["Output", "the", "results", "of", "the", "linting", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/LintCommand.php#L175-L188", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Command/LintCommand.php", "func_name": "LintCommand.displayText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output the results as text.\n\n@param array $details validation results from all linted files\n@param bool $verbose\n\n@return int", "docstring_tokens": ["Output", "the", "results", "as", "text", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Command/LintCommand.php#L198-L219", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/MiddlewareNameResolver.php", "func_name": "MiddlewareNameResolver.parseMiddlewareGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the middleware group and format it for usage.\n\n@param string $name\n@param array $map\n@param array $middlewareGroups\n@param array $disabledMiddleware\n\n@return array", "docstring_tokens": ["Parse", "the", "middleware", "group", "and", "format", "it", "for", "usage", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/MiddlewareNameResolver.php#L40-L78", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php", "func_name": "OptionsResolverTrait.checkMandatoryOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a mandatory param is missing, supports recursion.\n\n@param string $configClass\n@param array $mandatoryOptions\n@param array|\\ArrayAccess $config\n@param array $interfaces\n\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\MandatoryOptionNotFoundException\n\n@return void", "docstring_tokens": ["Checks", "if", "a", "mandatory", "param", "is", "missing", "supports", "recursion", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php#L127-L151", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php", "func_name": "OptionsResolverTrait.getConfigurationDimensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get configuration for provided dimensions.\n\n@param array $dimensions\n@param array|\\ArrayAccess $config\n@param string $configClass\n@param null|string $configId\n@param array $interfaces\n\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\OptionNotFoundException\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\UnexpectedValueException\n\n@return array|\\ArrayAccess", "docstring_tokens": ["Get", "configuration", "for", "provided", "dimensions", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php#L167-L193", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php", "func_name": "OptionsResolverTrait.validateOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run a validator against given config.\n\n@param array array string>, string => callback> $validators\n@param array|\\ArrayAccess $config\n@param string $configClass\n\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\InvalidValidatorException\n\n@return void", "docstring_tokens": ["Run", "a", "validator", "against", "given", "config", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php#L206-L246", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php", "func_name": "OptionsResolverTrait.checkDeprecatedOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a deprecation exists and triggers a deprecation error.\n\n@param string $configClass\n@param array $deprecatedOptions\n@param array|\\ArrayAccess $config\n\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\InvalidArgumentException If deprecation message cant be found or\nthe key don't exists in the config array\n\n@return void", "docstring_tokens": ["Checks", "if", "a", "deprecation", "exists", "and", "triggers", "a", "deprecation", "error", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/OptionsResolver/Traits/OptionsResolverTrait.php#L260-L301", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Route a resource to a controller.\n\n@param string $name\n@param string $controller\n@param array $options\n\n@return void", "docstring_tokens": ["Route", "a", "resource", "to", "a", "controller", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L140-L176", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getResourceUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the base resource URI for a given resource.\n\n@param string $resource\n@param array $options\n\n@return string", "docstring_tokens": ["Get", "the", "base", "resource", "URI", "for", "a", "given", "resource", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L186-L206", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getResourceWildcard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format a resource parameter for usage.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Format", "a", "resource", "parameter", "for", "usage", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L215-L226", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getResourcePrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the resource and prefix from a resource name.\n\n@param string $name\n\n@return array", "docstring_tokens": ["Extract", "the", "resource", "and", "prefix", "from", "a", "resource", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L258-L268", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.addResourceDestroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the destroy method for a resourceful route.\n\n@param string $name\n@param string $base\n@param string $controller\n@param array $options\n\n@return Route", "docstring_tokens": ["Add", "the", "destroy", "method", "for", "a", "resourceful", "route", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L415-L422", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getNestedResourceUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the URI for a nested resource segment array.\n\n@param array $segments\n@param array $options\n\n@return string", "docstring_tokens": ["Get", "the", "URI", "for", "a", "nested", "resource", "segment", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L432-L447", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getResourceAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the action array for a resource route.\n\n@param string $resource\n@param string $controller\n@param string $method\n@param array $options\n\n@return array", "docstring_tokens": ["Get", "the", "action", "array", "for", "a", "resource", "route", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L459-L474", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/ResourceRegistrar.php", "func_name": "ResourceRegistrar.getResourceRouteName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the name for a given resource.\n\n@param string $resource\n@param string $method\n@param array $options\n\n@return string", "docstring_tokens": ["Get", "the", "name", "for", "a", "given", "resource", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/ResourceRegistrar.php#L485-L506", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Pipeline.php", "func_name": "Pipeline.sliceThroughContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve from container.\n\n@param mixed $traveler\n@param mixed $stack\n@param string $stage\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\RuntimeException\n\n@return mixed", "docstring_tokens": ["Resolve", "from", "container", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Pipeline.php#L47-L62", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Pipeline.php", "func_name": "Pipeline.getRequestHandlerMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Private delegate callable middleware for the pipe.\n\n@param callable $middleware\n\n@return \\Psr\\Http\\Server\\RequestHandlerInterface", "docstring_tokens": ["Private", "delegate", "callable", "middleware", "for", "the", "pipe", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Pipeline.php#L71-L97", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Command/LintCommand.php", "func_name": "LintCommand.findArgumentFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an array of argument files to lint.\n\n@param array $paths\n@param array $searchDirectories\n@param array $files\n\n@return array", "docstring_tokens": ["Gets", "an", "array", "of", "argument", "files", "to", "lint", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Command/LintCommand.php#L152-L171", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Http/ClientIp.php", "func_name": "ClientIp.getIpAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns client IP address.\n\n@return null|string", "docstring_tokens": ["Returns", "client", "IP", "address", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Http/ClientIp.php#L44-L68", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Http/ClientIp.php", "func_name": "ClientIp.isValidIpAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check that a given string is a valid IP address.\n\n@param string $ip\n\n@return bool", "docstring_tokens": ["Check", "that", "a", "given", "string", "is", "a", "valid", "IP", "address", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Http/ClientIp.php#L77-L80", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Http/ClientIp.php", "func_name": "ClientIp.getFirstIpAddressFromHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find out the client's IP address from the headers available to us.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $serverRequest\n@param string $header Header name\n\n@return string", "docstring_tokens": ["Find", "out", "the", "client", "s", "IP", "address", "from", "the", "headers", "available", "to", "us", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Http/ClientIp.php#L90-L107", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/MailgunTransport.php", "func_name": "MailgunTransport.setDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the domain being used by the transport.\n\n@param string $domain\n\n@return $this", "docstring_tokens": ["Set", "the", "domain", "being", "used", "by", "the", "transport", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/MailgunTransport.php#L105-L112", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Traits/MiddlewareValidatorTrait.php", "func_name": "MiddlewareValidatorTrait.validateInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given input is a string, object or array.\n\n@param array|object|string $middleware\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\UnexpectedValueException\n\n@return void", "docstring_tokens": ["Check", "if", "given", "input", "is", "a", "string", "object", "or", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Traits/MiddlewareValidatorTrait.php#L19-L29", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Traits/MiddlewareValidatorTrait.php", "func_name": "MiddlewareValidatorTrait.validateMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates if given object or string has a middleware interface.\n\n@param \\Psr\\Http\\Server\\MiddlewareInterface|string $middleware\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\UnexpectedValueException if \\Psr\\Http\\Server\\MiddlewareInterface was not found\n\n@return void", "docstring_tokens": ["Validates", "if", "given", "object", "or", "string", "has", "a", "middleware", "interface", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Traits/MiddlewareValidatorTrait.php#L40-L50", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Provider/TranslationServiceProvider.php", "func_name": "TranslationServiceProvider.createTranslationManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new TranslationManager instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Translation\\TranslationManager", "docstring_tokens": ["Create", "a", "new", "TranslationManager", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Provider/TranslationServiceProvider.php#L90-L119", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Provider/CronServiceProvider.php", "func_name": "CronServiceProvider.createSchedule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Schedule instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Cron\\Schedule", "docstring_tokens": ["Create", "a", "new", "Schedule", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Provider/CronServiceProvider.php#L65-L78", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/DataCollector/TwigDataCollector.php", "func_name": "TwigDataCollector.getComputedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get computed data.\n\n@param string $index\n\n@return mixed", "docstring_tokens": ["Get", "computed", "data", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/DataCollector/TwigDataCollector.php#L270-L277", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/MailManager.php", "func_name": "MailManager.createSwiftMailer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new SwiftMailer instance.\n\n@param \\Swift_Transport $transport\n\n@return \\Swift_Mailer", "docstring_tokens": ["Create", "a", "new", "SwiftMailer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/MailManager.php#L122-L131", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/MailManager.php", "func_name": "MailManager.createMailer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a mailer or queue mailer instance.\n\n@param \\Swift_Transport $transport\n@param array $config\n\n@return \\Viserio\\Component\\Contract\\Mail\\Mailer|\\Viserio\\Component\\Contract\\Mail\\QueueMailer", "docstring_tokens": ["Create", "a", "mailer", "or", "queue", "mailer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/MailManager.php#L141-L171", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/MailManager.php", "func_name": "MailManager.setGlobalAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a global address on the mailer by type.\n\n@param \\Viserio\\Component\\Contract\\Mail\\Mailer $mailer\n@param string $type\n\n@return void", "docstring_tokens": ["Set", "a", "global", "address", "on", "the", "mailer", "by", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/MailManager.php#L181-L192", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.createTooltipGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a tooltip group from array.\n\narray[]\n['key'] string Defines the name of html element.\n['value'] array|string Defines the content to be shown in the html element.\n['class'] string Adds a class to the html element.\n['value'] string Adds the content.\n\n@param array $data (See above)\n\n@return string", "docstring_tokens": ["Creates", "a", "tooltip", "group", "from", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L128-L155", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.createTabs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a tab slider.\n\narray[] array Defines witch tabs a shown.\n['name'] string Name of the tab\n['content'] string Tab content.\n\n@param array $data (See above)\n\n@return string", "docstring_tokens": ["Creates", "a", "tab", "slider", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L168-L186", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a table.\n\n@param array $data\n@param array $settings\n\n@return string", "docstring_tokens": ["Creates", "a", "table", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L196-L243", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.createDropdownMenuContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a dropdown menu content.\n\n@param array $data\n\n@return string", "docstring_tokens": ["Create", "a", "dropdown", "menu", "content", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L252-L279", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.createMetrics", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a metrics.\n\n@param array $data\n@param null|string $name\n\n@return string", "docstring_tokens": ["Create", "a", "metrics", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L289-L303", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.cloneVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the variable into a serializable Data instance.\n\n@param mixed $var\n\n@return null|string", "docstring_tokens": ["Converts", "the", "variable", "into", "a", "serializable", "Data", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L312-L326", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.getCloner", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cloner used for dumping variables.\n\n@return \\Symfony\\Component\\VarDumper\\Cloner\\AbstractCloner", "docstring_tokens": ["Get", "the", "cloner", "used", "for", "dumping", "variables", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L333-L346", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php", "func_name": "AbstractDataCollector.getDumper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a HtmlDumper instance.\n\n@return \\Viserio\\Component\\Support\\Debug\\HtmlDumper", "docstring_tokens": ["Get", "a", "HtmlDumper", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/AbstractDataCollector.php#L353-L363", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/PHPCodeCollection.php", "func_name": "PHPCodeCollection.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends the supplied code to the builder.\n\n@param string $code", "docstring_tokens": ["Appends", "the", "supplied", "code", "to", "the", "builder", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/PHPCodeCollection.php#L26-L31", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/PHPCodeCollection.php", "func_name": "PHPCodeCollection.appendLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appends the supplied code and a new line to the builder.\n\n@param string $code", "docstring_tokens": ["Appends", "the", "supplied", "code", "and", "a", "new", "line", "to", "the", "builder", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/PHPCodeCollection.php#L38-L42", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Engine/TwigEngine.php", "func_name": "TwigEngine.addExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add extensions to twig environment.\n\n@param \\Twig\\Environment $twig\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\View\\Exception\\RuntimeException\n\n@return \\Twig\\Environment", "docstring_tokens": ["Add", "extensions", "to", "twig", "environment", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Engine/TwigEngine.php#L96-L114", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/SortedMiddleware.php", "func_name": "SortedMiddleware.doSortMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the middleware by the given priority map.\n\nEach call to this method makes one discrete middleware movement if necessary.\n\n@param array $priorityMap\n@param array $middleware\n\n@return array", "docstring_tokens": ["Sort", "the", "middleware", "by", "the", "given", "priority", "map", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/SortedMiddleware.php#L45-L74", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/SortedMiddleware.php", "func_name": "SortedMiddleware.moveMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splice a middleware into a new position and remove the old entry.\n\n@param array $middleware\n@param int $from\n@param int $to\n\n@return array", "docstring_tokens": ["Splice", "a", "middleware", "into", "a", "new", "position", "and", "remove", "the", "old", "entry", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/SortedMiddleware.php#L85-L92", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createAggregateDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a aggregate log driver instance.\n\n@param array $config\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "a", "aggregate", "log", "driver", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L174-L185", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createEmergencyDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an emergency log handler to avoid white screens of death.\n\n@throws \\Exception\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "emergency", "log", "handler", "to", "avoid", "white", "screens", "of", "death", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L195-L207", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createSingleDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the single file log driver.\n\n@param array $config\n\n@throws \\Exception\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "the", "single", "file", "log", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L219-L231", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createDailyDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the daily file log driver.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "the", "daily", "file", "log", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L242-L255", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createSyslogDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the syslog log driver.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "the", "syslog", "log", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L266-L276", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createErrorlogDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the \"error log\" log driver.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "the", "error", "log", "log", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L287-L296", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createSlackDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Slack log driver.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Slack", "log", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L307-L324", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createCustomDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a custom log driver instance.\n\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\Log\\Exception\\RuntimeException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "a", "custom", "log", "driver", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L335-L354", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.createMonologDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of any handler available in Monolog.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Log\\LoggerInterface", "docstring_tokens": ["Create", "an", "instance", "of", "any", "handler", "available", "in", "Monolog", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L365-L396", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/LogManager.php", "func_name": "LogManager.pushProcessorsToMonolog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push given processors to monolog.\n\n@param array $config\n@param \\Monolog\\Logger $driver\n\n@return \\Monolog\\Logger", "docstring_tokens": ["Push", "given", "processors", "to", "monolog", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/LogManager.php#L448-L461", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/ServerRequestBuilder.php", "func_name": "ServerRequestBuilder.createFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new server request from a set of arrays.\n\n@param array $server typically $_SERVER or similar structure\n@param array $headers typically the output of getallheaders() or similar structure\n@param array $cookie typically $_COOKIE or similar structure\n@param array $get typically $_GET or similar structure\n@param array $post typically $_POST or similar structure\n@param array $files typically $_FILES or similar structure\n@param null|\\Psr\\Http\\Message\\ServerRequestInterface|resource|string $body Typically stdIn\n\n@throws \\InvalidArgumentException if no valid method or URI can be determined\n\n@return \\Psr\\Http\\Message\\ServerRequestInterface", "docstring_tokens": ["Create", "a", "new", "server", "request", "from", "a", "set", "of", "arrays", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/ServerRequestBuilder.php#L55-L82", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Pluralizer.php", "func_name": "Pluralizer.singular", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the singular form of an English word.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Get", "the", "singular", "form", "of", "an", "English", "word", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Pluralizer.php#L120-L125", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Pluralizer.php", "func_name": "Pluralizer.matchCase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to match the case on two strings.\n\n@param string $value\n@param string $comparison\n\n@return string", "docstring_tokens": ["Attempt", "to", "match", "the", "case", "on", "two", "strings", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Pluralizer.php#L147-L158", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Adapter/LocalConnector.php", "func_name": "LocalConnector.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Establish a connection.\n\n@throws \\Viserio\\Component\\Contract\\OptionsResolver\\Exception\\InvalidArgumentException On wrong configuration\n\n@return \\League\\Flysystem\\Adapter\\Local", "docstring_tokens": ["Establish", "a", "connection", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Adapter/LocalConnector.php#L82-L90", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Provider/ConsoleServiceProvider.php", "func_name": "ConsoleServiceProvider.createCerebro", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new console application instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Console\\Application", "docstring_tokens": ["Create", "a", "new", "console", "application", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Provider/ConsoleServiceProvider.php#L47-L57", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Group.php", "func_name": "Group.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge route groups into a new array.\n\n@param array $new\n@param array $old\n\n@return array", "docstring_tokens": ["Merge", "route", "groups", "into", "a", "new", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Group.php#L15-L35", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Group.php", "func_name": "Group.formatGroupSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the suffix for the new group attributes.\n\n@param array $new\n@param array $old\n\n@return null|string", "docstring_tokens": ["Format", "the", "suffix", "for", "the", "new", "group", "attributes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Group.php#L87-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/Bootstrap/LoadEnvironmentVariables.php", "func_name": "LoadEnvironmentVariables.checkForSpecificEnvironmentFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect if a custom environment file matching the APP_ENV exists.\n\n@param \\Viserio\\Component\\Contract\\Foundation\\Kernel $kernel\n@param null|string $env\n\n@return void", "docstring_tokens": ["Detect", "if", "a", "custom", "environment", "file", "matching", "the", "APP_ENV", "exists", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/Bootstrap/LoadEnvironmentVariables.php#L74-L90", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/Bootstrap/LoadEnvironmentVariables.php", "func_name": "LoadEnvironmentVariables.setEnvironmentFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a custom environment file.\n\n@param \\Viserio\\Component\\Contract\\Foundation\\Kernel $kernel\n@param string $file\n\n@return bool", "docstring_tokens": ["Load", "a", "custom", "environment", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/Bootstrap/LoadEnvironmentVariables.php#L100-L109", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.getTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a transport instance.\n\n@param string $transport\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\Mail\\Exception\\InvalidArgumentException\n\n@return \\Swift_Transport", "docstring_tokens": ["Get", "a", "transport", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L60-L70", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.createTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new transport instance.\n\n@param string $transport\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\Mail\\Exception\\InvalidArgumentException\n\n@return \\Swift_Transport", "docstring_tokens": ["Make", "a", "new", "transport", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L82-L89", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.hasTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the given transport is supported.\n\n@param string $transport\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "given", "transport", "is", "supported", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L98-L103", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.createSmtpTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the SMTP Swift Transport driver.\n\n@param array $config\n\n@return \\Swift_SmtpTransport", "docstring_tokens": ["Create", "an", "instance", "of", "the", "SMTP", "Swift", "Transport", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L188-L214", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.createMailgunTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Mailgun Swift Transport driver.\n\n@param array $config\n\n@return \\Viserio\\Component\\Mail\\Transport\\MailgunTransport", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Mailgun", "Swift", "Transport", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L223-L231", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.createSparkPostTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the SparkPost Swift Transport driver.\n\n@param array $config\n\n@return \\Viserio\\Component\\Mail\\Transport\\SparkPostTransport", "docstring_tokens": ["Create", "an", "instance", "of", "the", "SparkPost", "Swift", "Transport", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L255-L263", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/TransportFactory.php", "func_name": "TransportFactory.createSesTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Amazon SES Swift Transport driver.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\Viserio\\Component\\Mail\\Transport\\SesTransport", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Amazon", "SES", "Swift", "Transport", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/TransportFactory.php#L274-L286", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Provider/ConfigServiceProvider.php", "func_name": "ConfigServiceProvider.createRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Repository instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Config\\Repository", "docstring_tokens": ["Create", "a", "new", "Repository", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Provider/ConfigServiceProvider.php#L45-L56", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeNode.php", "func_name": "RouteTreeNode.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update RouteTreeNode class.\n\n@param array $matchers\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\ChildrenNodeCollection|\\Viserio\\Component\\Routing\\TreeGenerator\\MatchedRouteDataMap $contents\n\n@throws \\RuntimeException\n\n@return \\Viserio\\Component\\Routing\\TreeGenerator\\RouteTreeNode", "docstring_tokens": ["Update", "RouteTreeNode", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeNode.php#L102-L113", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Monolog/Handler/ConsoleHandler.php", "func_name": "ConsoleHandler.registerEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register needed events to event manager.\n\n@param \\Viserio\\Component\\Contract\\Events\\EventManager $eventManager\n\n@return void", "docstring_tokens": ["Register", "needed", "events", "to", "event", "manager", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Monolog/Handler/ConsoleHandler.php#L130-L156", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Provider/TwigBridgeServiceProvider.php", "func_name": "TwigBridgeServiceProvider.extendTwigEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend the twig environment.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Twig\\Environment $twig\n\n@return null|\\Twig\\Environment", "docstring_tokens": ["Extend", "the", "twig", "environment", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Provider/TwigBridgeServiceProvider.php#L48-L65", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Provider/TwigBridgeServiceProvider.php", "func_name": "TwigBridgeServiceProvider.registerViserioTwigExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register viserio twig extension.\n\n@param \\Twig\\Environment $twig\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return void", "docstring_tokens": ["Register", "viserio", "twig", "extension", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Provider/TwigBridgeServiceProvider.php#L75-L92", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/MatchedRouteDataMap.php", "func_name": "MatchedRouteDataMap.allowedHttpMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all allowed http methods.\n\n@return array", "docstring_tokens": ["Get", "all", "allowed", "http", "methods", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/MatchedRouteDataMap.php#L37-L48", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/MatchedRouteDataMap.php", "func_name": "MatchedRouteDataMap.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the supplied route to the matched route data map.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n@param array $parameterIndexNameMap", "docstring_tokens": ["Adds", "the", "supplied", "route", "to", "the", "matched", "route", "data", "map", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/MatchedRouteDataMap.php#L56-L59", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Stream.php", "func_name": "Stream.isPipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether or not the stream is a pipe.\n\n@return bool", "docstring_tokens": ["Returns", "whether", "or", "not", "the", "stream", "is", "a", "pipe", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Stream.php#L432-L444", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser.php", "func_name": "Parser.addMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new mime type with extension.\n\n@param string $mimeType\n@param string $extension\n\n@return void", "docstring_tokens": ["Add", "a", "new", "mime", "type", "with", "extension", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser.php#L77-L80", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser.php", "func_name": "Parser.addParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new parser.\n\n@param \\Viserio\\Component\\Contract\\Parser\\Parser $parser\n@param string $extension\n\n@return void", "docstring_tokens": ["Add", "a", "new", "parser", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser.php#L90-L93", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser.php", "func_name": "Parser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse given file path or content string.\n\n@param string $payload\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\ParseException\n@throws \\RuntimeException if an error occurred during reading\n\n@return array", "docstring_tokens": ["Parse", "given", "file", "path", "or", "content", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser.php#L105-L122", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser.php", "func_name": "Parser.getParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get supported parser on extension or mime type.\n\n@param string $type\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\NotSupportedException\n\n@return \\Viserio\\Component\\Contract\\Parser\\Parser", "docstring_tokens": ["Get", "supported", "parser", "on", "extension", "or", "mime", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser.php#L133-L150", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser.php", "func_name": "Parser.getFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto detect the payload data type using finfo and pathinfo.\n\n@param string $payload\n\n@return string Tries to return the short format code (xml, json, ...) else the mime type", "docstring_tokens": ["Auto", "detect", "the", "payload", "data", "type", "using", "finfo", "and", "pathinfo", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser.php#L159-L177", "partition": "test"} +{"repo": "narrowspark/framework", "path": "benchmarks/src/OptionsResolver/AbstractCase.php", "func_name": "AbstractCase.classSetUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup config and class.", "docstring_tokens": ["Setup", "config", "and", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/benchmarks/src/OptionsResolver/AbstractCase.php#L31-L35", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php", "func_name": "TimeDataCollector.getRequestDuration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the duration of a request.\n\n@return float", "docstring_tokens": ["Returns", "the", "duration", "of", "a", "request", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php#L144-L151", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php", "func_name": "TimeDataCollector.stopMeasure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a measure.\n\n@param string $name\n@param array $params\n\n@throws \\RuntimeException\n\n@return void", "docstring_tokens": ["Stops", "a", "measure", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php#L195-L215", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php", "func_name": "TimeDataCollector.addMeasure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a measure.\n\n@param string $label\n@param float $start\n@param float $end\n@param array $params\n@param null|string $collector\n\n@return void", "docstring_tokens": ["Adds", "a", "measure", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/TimeDataCollector.php#L228-L246", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ExceptionIdentifier.php", "func_name": "ExceptionIdentifier.identify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Identify the given exception.\n\n@param \\Throwable $exception\n\n@return string", "docstring_tokens": ["Identify", "the", "given", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ExceptionIdentifier.php#L26-L42", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ExceptionIdentifier.php", "func_name": "ExceptionIdentifier.uuid4", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate v4 UUID.\n\nWe're generating uuids according to the official v4 spec.\n\n@return string", "docstring_tokens": ["Generate", "v4", "UUID", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ExceptionIdentifier.php#L51-L65", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/AbstractMessage.php", "func_name": "AbstractMessage.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set validated headers.\n\n@param array $headers\n\n@return void", "docstring_tokens": ["Set", "validated", "headers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/AbstractMessage.php#L232-L252", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/AbstractMessage.php", "func_name": "AbstractMessage.validateProtocolVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the HTTP protocol version.\n\n@param string $version\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException on invalid HTTP protocol version\n\n@return void", "docstring_tokens": ["Validate", "the", "HTTP", "protocol", "version", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/AbstractMessage.php#L263-L274", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/AbstractMessage.php", "func_name": "AbstractMessage.arrayContainsOnlyStrings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test that an array contains only strings.\n\n@param array $array\n\n@return bool", "docstring_tokens": ["Test", "that", "an", "array", "contains", "only", "strings", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/AbstractMessage.php#L283-L295", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/AbstractMessage.php", "func_name": "AbstractMessage.filterHeaderValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter array headers.\n\n@param array|string $values\n\n@return array", "docstring_tokens": ["Filter", "array", "headers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/AbstractMessage.php#L304-L332", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/Console/Command/DownCommand.php", "func_name": "DownCommand.getRetryTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of seconds the client should wait before retrying their request.\n\n@return null|int", "docstring_tokens": ["Get", "the", "number", "of", "seconds", "the", "client", "should", "wait", "before", "retrying", "their", "request", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/Console/Command/DownCommand.php#L65-L70", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Traits/InvokerAwareTrait.php", "func_name": "InvokerAwareTrait.getInvoker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get configured invoker.\n\n@return \\Viserio\\Component\\Support\\Invoker", "docstring_tokens": ["Get", "configured", "invoker", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Traits/InvokerAwareTrait.php#L21-L34", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Contract/OptionsResolver/Exception/InvalidArgumentException.php", "func_name": "InvalidArgumentException.invalidType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "When an invalid type is encountered.\n\n@param string $name name of the value being validated\n@param mixed $provided the provided value\n@param array $expected the expected value type\n@param string $configClass\n\n@return self", "docstring_tokens": ["When", "an", "invalid", "type", "is", "encountered", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Contract/OptionsResolver/Exception/InvalidArgumentException.php#L19-L28", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerPsr6Psr16CacheBridgeServiceProvider.php", "func_name": "ProfilerPsr6Psr16CacheBridgeServiceProvider.extendCacheItemPool", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decorate CacheItemPool instances.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Psr\\Cache\\CacheItemPoolInterface $cache\n\n@return null|\\Psr\\Cache\\CacheItemPoolInterface", "docstring_tokens": ["Decorate", "CacheItemPool", "instances", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerPsr6Psr16CacheBridgeServiceProvider.php#L46-L59", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerPsr6Psr16CacheBridgeServiceProvider.php", "func_name": "ProfilerPsr6Psr16CacheBridgeServiceProvider.extendSimpleTraceableCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decorate SimpleTraceableCache instances.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Psr\\SimpleCache\\CacheInterface $cache\n\n@return null|\\Psr\\SimpleCache\\CacheInterface", "docstring_tokens": ["Decorate", "SimpleTraceableCache", "instances", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerPsr6Psr16CacheBridgeServiceProvider.php#L69-L82", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Env.php", "func_name": "Env.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the value of an environment variable. Supports boolean, empty, null and base64 prefix.\n\n@param string $key\n@param mixed $default\n\n@return mixed", "docstring_tokens": ["Gets", "the", "value", "of", "an", "environment", "variable", ".", "Supports", "boolean", "empty", "null", "and", "base64", "prefix", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Env.php#L26-L85", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/ParameterProcessor/AbstractParameterProcessor.php", "func_name": "AbstractParameterProcessor.parseParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value without the reference keyword.\n\n@param string $parameter\n\n@return string", "docstring_tokens": ["Get", "the", "value", "without", "the", "reference", "keyword", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/ParameterProcessor/AbstractParameterProcessor.php#L26-L35", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/ParameterProcessor/AbstractParameterProcessor.php", "func_name": "AbstractParameterProcessor.replaceData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace parameter key with given value in data string.\n\n@param string $data\n@param string $parameterKey\n@param string $newValue\n\n@return mixed", "docstring_tokens": ["Replace", "parameter", "key", "with", "given", "value", "in", "data", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/ParameterProcessor/AbstractParameterProcessor.php#L46-L49", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Handler/PdoSessionHandler.php", "func_name": "PdoSessionHandler.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the table to store sessions which can be called once for setup.\n\nSession ID is saved in a column of maximum length 128 because that is enough even\nfor a 512 bit configured session.hash_function like Whirlpool. Session data is\nsaved in a BLOB. One could also use a shorter inlined varbinary column\nif one was sure the data fits into it.\n\n@throws \\PDOException When the table already exists\n@throws \\Viserio\\Component\\Contract\\Session\\Exception\\DomainException When an unsupported PDO driver is used", "docstring_tokens": ["Creates", "the", "table", "to", "store", "sessions", "which", "can", "be", "called", "once", "for", "setup", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Handler/PdoSessionHandler.php#L257-L303", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Handler/PdoSessionHandler.php", "func_name": "PdoSessionHandler.getConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a PDO instance.\n\n@return \\PDO", "docstring_tokens": ["Return", "a", "PDO", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Handler/PdoSessionHandler.php#L554-L561", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Handler/PdoSessionHandler.php", "func_name": "PdoSessionHandler.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lazy-connects to the database.\n\n@param string $dsn DSN string\n\n@return void", "docstring_tokens": ["Lazy", "-", "connects", "to", "the", "database", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Handler/PdoSessionHandler.php#L570-L576", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/Bootstrap/AbstractLoadFiles.php", "func_name": "AbstractLoadFiles.getFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the files for the application.\n\n@param string $path\n@param array|string $extensions\n\n@return array", "docstring_tokens": ["Get", "all", "of", "the", "files", "for", "the", "application", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/Bootstrap/AbstractLoadFiles.php#L24-L53", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/AssetsRenderer.php", "func_name": "AssetsRenderer.renderIntoHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render css and js into html elements.\n\n@return string", "docstring_tokens": ["Render", "css", "and", "js", "into", "html", "elements", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/AssetsRenderer.php#L235-L241", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/AssetsRenderer.php", "func_name": "AssetsRenderer.getModifiedTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last modified time of any assets.\n\n@param string $type 'js' or 'css'\n\n@return int", "docstring_tokens": ["Get", "the", "last", "modified", "time", "of", "any", "assets", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/AssetsRenderer.php#L275-L289", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/CallbackCron.php", "func_name": "CallbackCron.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the given cron job.\n\n@return mixed", "docstring_tokens": ["Run", "the", "given", "cron", "job", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/CallbackCron.php#L52-L75", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/CallbackCron.php", "func_name": "CallbackCron.withoutOverlapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do not allow the cron job to overlap each other.\n\n@throws \\Viserio\\Component\\Contract\\Cron\\Exception\\LogicException\n\n@return \\Viserio\\Component\\Contract\\Cron\\Cron", "docstring_tokens": ["Do", "not", "allow", "the", "cron", "job", "to", "overlap", "each", "other", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/CallbackCron.php#L84-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/Provider/LoggerDataCollectorServiceProvider.php", "func_name": "LoggerDataCollectorServiceProvider.extendLogManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend monolog with a processor.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Monolog\\Logger|\\Viserio\\Component\\Log\\LogManager $logManager\n\n@return null|\\Monolog\\Logger|\\Viserio\\Component\\Log\\Logger", "docstring_tokens": ["Extend", "monolog", "with", "a", "processor", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/Provider/LoggerDataCollectorServiceProvider.php#L69-L78", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/Provider/LoggerDataCollectorServiceProvider.php", "func_name": "LoggerDataCollectorServiceProvider.extendProfiler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend viserio profiler with a data collector.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Viserio\\Component\\Contract\\Profiler\\Profiler $profiler\n\n@return null|\\Viserio\\Component\\Contract\\Profiler\\Profiler", "docstring_tokens": ["Extend", "viserio", "profiler", "with", "a", "data", "collector", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/Provider/LoggerDataCollectorServiceProvider.php#L88-L101", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XmlUtils.php", "func_name": "XmlUtils.importDom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A simplexml_import_dom wrapper.\n\n@param \\DOMDocument $dom\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\ParseException\n\n@return \\SimpleXMLElement", "docstring_tokens": ["A", "simplexml_import_dom", "wrapper", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XmlUtils.php#L39-L48", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XmlUtils.php", "func_name": "XmlUtils.loadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads an XML file.\n\n@param string $file An XML file path\n@param null|callable|string $schemaOrCallable An XSD schema file path, a callable, or null to disable validation\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException When loading of XML file returns error\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\FileNotFoundException\n\n@return \\DOMDocument", "docstring_tokens": ["Loads", "an", "XML", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XmlUtils.php#L145-L152", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XmlUtils.php", "func_name": "XmlUtils.loadString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads an XML string.\n\n@param string $content An XML string content\n@param null|callable|string $schemaOrCallable An XSD schema file path, a callable, or null to disable validation\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException When loading of XML file returns error\n\n@return \\DOMDocument", "docstring_tokens": ["Loads", "an", "XML", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XmlUtils.php#L164-L205", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XmlUtils.php", "func_name": "XmlUtils.phpize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an xml value to a PHP type.\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Converts", "an", "xml", "value", "to", "a", "PHP", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XmlUtils.php#L290-L318", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XmlUtils.php", "func_name": "XmlUtils.validateXmlDom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates DOMDocument against a file or callback.\n\n@param \\DOMDocument $dom\n@param callable|string $schemaOrCallable\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Validates", "DOMDocument", "against", "a", "file", "or", "callback", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XmlUtils.php#L330-L361", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.convertString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a string from its PO representation.\n\n@param string $value\n\n@return string", "docstring_tokens": ["Convert", "a", "string", "from", "its", "PO", "representation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L197-L221", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.isHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if entry is a header.\n\n@param array $entry\n\n@return bool", "docstring_tokens": ["Checks", "if", "entry", "is", "a", "header", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L230-L255", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.addReferences", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export reference infos.\n\n@param string $data\n@param array $entry\n\n@return array", "docstring_tokens": ["Export", "reference", "infos", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L278-L308", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.processObsoleteEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export obsolete entries.\n\n@param null|string $lastPreviousKey\n@param null|string $tmpKey\n@param string $str\n@param array $entry\n\n@return array", "docstring_tokens": ["Export", "obsolete", "entries", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L320-L346", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.processPreviousEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export previous entries.\n\n@param null|string $lastPreviousKey\n@param null|string $tmpKey\n@param string $str\n@param array $entry\n@param string $key\n\n@return array", "docstring_tokens": ["Export", "previous", "entries", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L359-L382", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.extractMultiLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export multi-lines from given line.\nThrows a exception if state is not found or broken comment is given.\n\n@param null|string $state\n@param array $entry\n@param string $line\n@param string $key\n@param int $i\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\ParseException\n\n@return array", "docstring_tokens": ["Export", "multi", "-", "lines", "from", "given", "line", ".", "Throws", "a", "exception", "if", "state", "is", "not", "found", "or", "broken", "comment", "is", "given", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L398-L457", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/PoParser.php", "func_name": "PoParser.extractHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the headers found to the translations instance.\n\n@param array $headers\n@param array $entries\n\n@return array", "docstring_tokens": ["Add", "the", "headers", "found", "to", "the", "translations", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/PoParser.php#L467-L489", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/AbstractFileExtractor.php", "func_name": "AbstractFileExtractor.isFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if is file.\n\n@param string $file\n\n@throws \\Viserio\\Component\\Contract\\Translation\\Exception\\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Check", "if", "is", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/AbstractFileExtractor.php#L70-L77", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/UploadedFile.php", "func_name": "UploadedFile.setError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if error is a int or a array, then set it.\n\n@param int $error\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Check", "if", "error", "is", "a", "int", "or", "a", "array", "then", "set", "it", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/UploadedFile.php#L254-L261", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/UploadedFile.php", "func_name": "UploadedFile.setStreamOrFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the fill the right variable.\n\n@param mixed $streamOrFile\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Set", "the", "fill", "the", "right", "variable", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/UploadedFile.php#L272-L293", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/UploadedFile.php", "func_name": "UploadedFile.validateActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate retrieve stream.\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\RuntimeException if is moved or not ok\n\n@return void", "docstring_tokens": ["Validate", "retrieve", "stream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/UploadedFile.php#L324-L336", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/MockContainer.php", "func_name": "MockContainer.mock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes an id of the service as the first argument.\nAny other arguments are passed to the Mockery factory.\n\n@param array $args\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\InvalidArgumentException\n\n@return \\Mockery\\MockInterface", "docstring_tokens": ["Takes", "an", "id", "of", "the", "service", "as", "the", "first", "argument", ".", "Any", "other", "arguments", "are", "passed", "to", "the", "Mockery", "factory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/MockContainer.php#L34-L49", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/ExpressionParser.php", "func_name": "ExpressionParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse given command string.\n\n@param string $expression\n\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvalidCommandExpression\n\n@return array", "docstring_tokens": ["Parse", "given", "command", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/ExpressionParser.php#L20-L50", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/ExpressionParser.php", "func_name": "ExpressionParser.parseArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse arguments.\n\n@param string $token\n\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n\n@return \\Viserio\\Component\\Console\\Input\\InputArgument", "docstring_tokens": ["Parse", "arguments", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/ExpressionParser.php#L73-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/ExpressionParser.php", "func_name": "ExpressionParser.parseOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse options.\n\n@param string $token\n\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n\n@return \\Viserio\\Component\\Console\\Input\\InputOption", "docstring_tokens": ["Parse", "options", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/ExpressionParser.php#L107-L135", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/ExpressionParser.php", "func_name": "ExpressionParser.extractDescription", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the token into its token and description segments.\n\n@param string $token\n\n@return array", "docstring_tokens": ["Parse", "the", "token", "into", "its", "token", "and", "description", "segments", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/ExpressionParser.php#L144-L149", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Traits/CookieValidatorTrait.php", "func_name": "CookieValidatorTrait.validateName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the name attribute.\n\n@param string $name\n\n@throws \\Viserio\\Component\\Contract\\Cookie\\Exception\\InvalidArgumentException\n\n@see http://tools.ietf.org/search/rfc2616#section-2.2\n\n@return void", "docstring_tokens": ["Validates", "the", "name", "attribute", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Traits/CookieValidatorTrait.php#L20-L33", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Traits/CookieValidatorTrait.php", "func_name": "CookieValidatorTrait.validateValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates a value.\n\n@param null|string $value\n\n@throws \\Viserio\\Component\\Contract\\Cookie\\Exception\\InvalidArgumentException\n\n@see http://tools.ietf.org/html/rfc6265#section-4.1.1\n\n@return void", "docstring_tokens": ["Validates", "a", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Traits/CookieValidatorTrait.php#L46-L56", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/NodeVisitor/Scope.php", "func_name": "Scope.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores data into current scope.\n\n@param string $key\n@param mixed $value\n\n@throws \\LogicException\n\n@return $this", "docstring_tokens": ["Stores", "data", "into", "current", "scope", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/NodeVisitor/Scope.php#L67-L76", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/MandrillTransport.php", "func_name": "MandrillTransport.getToAddresses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the addresses this email should be sent to,\nincluding \"to\", \"cc\" and \"bcc\" addresses.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Get", "all", "the", "addresses", "this", "email", "should", "be", "sent", "to", "including", "to", "cc", "and", "bcc", "addresses", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/MandrillTransport.php#L101-L124", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createMongodbDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the MongoDB cache driver.\n\n@param array $config\n\n@throws \\MongoDB\\Driver\\Exception\\RuntimeException\n@throws \\MongoDB\\Driver\\Exception\\InvalidArgumentException\n\n@return \\Cache\\Adapter\\MongoDB\\MongoDBCachePool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "an", "instance", "of", "the", "MongoDB", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L103-L124", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createRedisDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Redis cache driver.\n\n@param array $config\n\n@return \\Cache\\Adapter\\Redis\\RedisCachePool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Redis", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L135-L141", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createPredisDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Predis cache driver.\n\n@param array $config\n\n@return \\Cache\\Adapter\\Predis\\PredisCachePool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Predis", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L152-L157", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createFilesystemDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Flysystem cache driver.\n\n@param array $config\n\n@return \\Cache\\Adapter\\Filesystem\\FilesystemCachePool", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Flysystem", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L166-L171", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createMemcachedDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Memcached cache driver.\n\n@param array $config\n\n@return \\Cache\\Adapter\\Memcached\\MemcachedCachePool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Memcached", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L182-L188", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/CacheManager.php", "func_name": "CacheManager.createMemcacheDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Memcache cache driver.\n\n@param array $config\n\n@return \\Cache\\Adapter\\Memcache\\MemcacheCachePool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Memcache", "cache", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/CacheManager.php#L199-L205", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Profile.php", "func_name": "Profile.getCollector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a Collector by name.\n\n@param string $name A collector name\n\n@throws \\Viserio\\Component\\Contract\\Profiler\\Exception\\CollectorNotFoundException if the collector does not exist\n\n@return \\Viserio\\Component\\Contract\\Profiler\\DataCollector", "docstring_tokens": ["Gets", "a", "Collector", "by", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Profile.php#L288-L295", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Complie all added routes to a router handler.\n\n@param array $routes\n\n@return string", "docstring_tokens": ["Complie", "all", "added", "routes", "to", "a", "router", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L43-L60", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.createRouterClassTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creating a template for the router class.\n\n@param string $rootRoute\n@param string $body\n\n@return string", "docstring_tokens": ["Creating", "a", "template", "for", "the", "router", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L70-L87", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.compileRouteTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the counter for the segments check.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\PHPCodeCollection $code\n@param array $routeTree", "docstring_tokens": ["Compile", "the", "counter", "for", "the", "segments", "check", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L95-L134", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.compiledRouteHttpMethodMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the route http method match switch.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\PHPCodeCollection $code\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\MatchedRouteDataMap $routeDataMap\n@param array $parameters", "docstring_tokens": ["Compile", "the", "route", "http", "method", "match", "switch", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L201-L238", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.compileDisallowedHttpMethodOrNotFound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile disallowed http method or not found data check.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\PHPCodeCollection $code", "docstring_tokens": ["Compile", "disallowed", "http", "method", "or", "not", "found", "data", "check", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L255-L269", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php", "func_name": "RouteTreeCompiler.compileFoundRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile the found route data.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\PHPCodeCollection $code\n@param array $foundRoute\n@param array $parameterExpressions", "docstring_tokens": ["Compile", "the", "found", "route", "data", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/RouteTreeCompiler.php#L278-L301", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php", "func_name": "LoggerDataCollector.getDebugLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a DebugProcessor instance if one is registered with this logger.\n\n@return null|\\Viserio\\Bridge\\Monolog\\Processor\\DebugProcessor", "docstring_tokens": ["Returns", "a", "DebugProcessor", "instance", "if", "one", "is", "registered", "with", "this", "logger", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php#L242-L251", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php", "func_name": "LoggerDataCollector.getComputedErrorsCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get computed log error levels.\n\n@return array", "docstring_tokens": ["Get", "computed", "log", "error", "levels", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php#L320-L362", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php", "func_name": "LoggerDataCollector.groupLogLevels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group log level together.\n\n@return array", "docstring_tokens": ["Group", "log", "level", "together", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/DataCollector/LoggerDataCollector.php#L369-L406", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/ListenerPattern.php", "func_name": "ListenerPattern.getListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the listener.\n\n@return mixed", "docstring_tokens": ["Get", "the", "listener", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/ListenerPattern.php#L101-L109", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/ListenerPattern.php", "func_name": "ListenerPattern.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds this pattern's listener to an event.\n\n@param \\Viserio\\Component\\Contract\\Events\\EventManager $dispatcher\n@param string $eventName\n\n@return void", "docstring_tokens": ["Adds", "this", "pattern", "s", "listener", "to", "an", "event", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/ListenerPattern.php#L129-L137", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/ListenerPattern.php", "func_name": "ListenerPattern.unbind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes this pattern's listener from all events to which it was\npreviously added.\n\n@param \\Viserio\\Component\\Contract\\Events\\EventManager $dispatcher\n\n@return void", "docstring_tokens": ["Removes", "this", "pattern", "s", "listener", "from", "all", "events", "to", "which", "it", "was", "previously", "added", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/ListenerPattern.php#L147-L154", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/ListenerPattern.php", "func_name": "ListenerPattern.createRegex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an event pattern into a regular expression.\n\n@param string $eventPattern\n\n@return string", "docstring_tokens": ["Transforms", "an", "event", "pattern", "into", "a", "regular", "expression", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/ListenerPattern.php#L175-L182", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Repository.php", "func_name": "Repository.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value from a nested array based on a separated key.\n\n@param string $key\n\n@return mixed", "docstring_tokens": ["Get", "a", "value", "from", "a", "nested", "array", "based", "on", "a", "separated", "key", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Repository.php#L165-L176", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Repository.php", "func_name": "Repository.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set nested array values based on a separated key.\n\n@param string $key\n@param mixed $value\n\n@return $this", "docstring_tokens": ["Set", "nested", "array", "values", "based", "on", "a", "separated", "key", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Repository.php#L186-L191", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Repository.php", "func_name": "Repository.processParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process array through all parameter processors.\n\n@param array $data\n\n@return array", "docstring_tokens": ["Process", "array", "through", "all", "parameter", "processors", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Repository.php#L236-L249", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Config/Repository.php", "func_name": "Repository.processParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process through all parameter processors.\n\n@param mixed $parameter\n\n@return mixed", "docstring_tokens": ["Process", "through", "all", "parameter", "processors", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Config/Repository.php#L258-L267", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render an exception to the console.\n\n@param \\Viserio\\Component\\Contract\\Exception\\ConsoleOutput $output\n@param \\Throwable $exception\n\n@return void", "docstring_tokens": ["Render", "an", "exception", "to", "the", "console", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L33-L48", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.renderEditor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the editor containing the code that was the\norigin of the exception.\n\n@param \\Viserio\\Component\\Contract\\Exception\\ConsoleOutput $output\n@param \\Throwable $exception\n\n@return void", "docstring_tokens": ["Renders", "the", "editor", "containing", "the", "code", "that", "was", "the", "origin", "of", "the", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L59-L80", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.renderTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the trace of the exception.\n\n@param \\Viserio\\Component\\Contract\\Exception\\ConsoleOutput $output\n@param \\Throwable $exception\n\n@return void", "docstring_tokens": ["Renders", "the", "trace", "of", "the", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L90-L136", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.getTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the backtrace from an exception.\n\nIf xdebug is installed\n\n@param \\Throwable $exception\n\n@return array", "docstring_tokens": ["Gets", "the", "backtrace", "from", "an", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L147-L169", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.getFrames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an iterator for the inspected exception's\nframes.\n\n@param \\Throwable $exception\n\n@return array", "docstring_tokens": ["Returns", "an", "iterator", "for", "the", "inspected", "exception", "s", "frames", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L179-L224", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.formatsArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the given function args to a string.\n\n@param array $arguments\n@param bool $recursive\n\n@return string", "docstring_tokens": ["Format", "the", "given", "function", "args", "to", "a", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L276-L303", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.getFileLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the contents of the file for this frame as an\narray of lines, and optionally as a clamped range of lines.\n\n@param string $filePath\n@param int $start\n@param int $length\n\n@return null|string[]", "docstring_tokens": ["Returns", "the", "contents", "of", "the", "file", "for", "this", "frame", "as", "an", "array", "of", "lines", "and", "optionally", "as", "a", "clamped", "range", "of", "lines", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L315-L326", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Console/Handler.php", "func_name": "Handler.getFileContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the full contents of the file for this frame,\nif it's known.\n\n@param string $filePath\n\n@return null|string", "docstring_tokens": ["Returns", "the", "full", "contents", "of", "the", "file", "for", "this", "frame", "if", "it", "s", "known", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Console/Handler.php#L336-L351", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/Traits/NormalizeNameTrait.php", "func_name": "NormalizeNameTrait.normalizeName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize a view name.\n\n@param string $name\n\n@return string", "docstring_tokens": ["Normalize", "a", "view", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/Traits/NormalizeNameTrait.php#L16-L27", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves an entry by its name. If given a class name, it will return a new instance of that class.\n\n@param mixed $subject\n@param array $parameters\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\BindingResolutionException\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\CyclicDependencyException\n@throws \\ReflectionException\n\n@return mixed|object", "docstring_tokens": ["Resolves", "an", "entry", "by", "its", "name", ".", "If", "given", "a", "class", "name", "it", "will", "return", "a", "new", "instance", "of", "that", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L34-L55", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.resolveClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a class.\n\n@param string $class\n@param array $parameters\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\BindingResolutionException\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\CyclicDependencyException\n@throws \\ReflectionException\n\n@return object", "docstring_tokens": ["Resolve", "a", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L69-L99", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.resolveMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a method.\n\n@param array|string $method\n@param array $parameters\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\BindingResolutionException\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\CyclicDependencyException\n@throws \\ReflectionException\n\n@return mixed", "docstring_tokens": ["Resolve", "a", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L113-L123", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.resolveParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a parameter.\n\n@param \\ReflectionParameter $parameter\n@param array $parameters\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\BindingResolutionException\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\CyclicDependencyException\n\n@return mixed", "docstring_tokens": ["Resolve", "a", "parameter", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L188-L214", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.resolveParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve an array of \\ReflectionParameter parameters.\n\n@param array $reflectionParameters\n@param array $parameters\n\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\BindingResolutionException\n@throws \\Viserio\\Component\\Contract\\Container\\Exception\\CyclicDependencyException\n\n@return array", "docstring_tokens": ["Resolve", "an", "array", "of", "\\", "ReflectionParameter", "parameters", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L227-L236", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.getMethodReflector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the reflection object for a method.\n\n@param array|string $method\n\n@throws \\ReflectionException\n\n@return \\ReflectionMethod", "docstring_tokens": ["Get", "the", "reflection", "object", "for", "a", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L247-L254", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.isFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if something is a function.\n\n@param mixed $value\n\n@return bool", "docstring_tokens": ["Check", "if", "something", "is", "a", "function", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L287-L290", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/ContainerResolver.php", "func_name": "ContainerResolver.mergeParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge some dynamically resolved parameters with some others provided parameters by the user.\n\n@param array $rootParameters\n@param array $parameters\n\n@return array", "docstring_tokens": ["Merge", "some", "dynamically", "resolved", "parameters", "with", "some", "others", "provided", "parameters", "by", "the", "user", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/ContainerResolver.php#L300-L309", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a new file.\n\n@param string $path the path of the new file\n@param string $contents the file contents\n@param array $config an optional configuration array\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n\n@return bool true on success, false on failure", "docstring_tokens": ["Write", "a", "new", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L136-L141", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the contents of a file.\n\n@param string $path\n@param resource|string $contents\n@param array $config an optional configuration array\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n\n@return bool", "docstring_tokens": ["Write", "the", "contents", "of", "a", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L186-L195", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.updateStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a file using a stream.\n\n@param string $path\n@param resource $resource\n@param array $config\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n\n@return bool", "docstring_tokens": ["Update", "a", "file", "using", "a", "stream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L241-L246", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.decryptStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts a stream.\n\n@param false|resource $resource the stream to decrypt\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n\n@return resource", "docstring_tokens": ["Decrypts", "a", "stream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L264-L281", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.encryptStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts a stream.\n\n@param false|resource $resource the stream to encrypt\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n\n@return resource", "docstring_tokens": ["Encrypts", "a", "stream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L299-L316", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.decryptString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts a string.\n\n@param string $contents the string to decrypt\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileNotFoundException\n\n@return string", "docstring_tokens": ["Decrypts", "a", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L335-L340", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.encryptString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts a string.\n\n@param string $contents the string to encrypt\n\n@throws \\ParagonIE\\Halite\\Alerts\\CannotPerformOperation\n@throws \\ParagonIE\\Halite\\Alerts\\FileError\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidDigestLength\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidKey\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidMessage\n@throws \\ParagonIE\\Halite\\Alerts\\InvalidType\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileModifiedException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileNotFoundException\n\n@return string", "docstring_tokens": ["Encrypts", "a", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L359-L364", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php", "func_name": "EncryptionWrapper.getStreamFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a stream representation of a string.\n\n@param string $contents The string\n\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\RuntimeException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileNotFoundException\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileAccessDeniedException\n\n@return resource", "docstring_tokens": ["Returns", "a", "stream", "representation", "of", "a", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Encryption/EncryptionWrapper.php#L377-L394", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Provider/MailServiceProvider.php", "func_name": "MailServiceProvider.createTransportFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new transport factory.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Mail\\TransportFactory", "docstring_tokens": ["Create", "a", "new", "transport", "factory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Provider/MailServiceProvider.php#L50-L59", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Provider/MailServiceProvider.php", "func_name": "MailServiceProvider.createMailManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new swift mailer manager.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Mail\\MailManager", "docstring_tokens": ["Create", "a", "new", "swift", "mailer", "manager", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Provider/MailServiceProvider.php#L68-L82", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XliffUtils.php", "func_name": "XliffUtils.getVersionNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets xliff file version based on the root \"version\" attribute.\nDefaults to 1.2 for backwards compatibility.\n\n@param \\DOMDocument $dom\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException;\n\n@return string", "docstring_tokens": ["Gets", "xliff", "file", "version", "based", "on", "the", "root", "version", "attribute", ".", "Defaults", "to", "1", ".", "2", "for", "backwards", "compatibility", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XliffUtils.php#L43-L61", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XliffUtils.php", "func_name": "XliffUtils.getSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the right xliff schema from version.\n\n@param string $xliffVersion\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException;\n\n@return string", "docstring_tokens": ["Get", "the", "right", "xliff", "schema", "from", "version", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XliffUtils.php#L72-L85", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Utils/XliffUtils.php", "func_name": "XliffUtils.fixLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internally changes the URI of a dependent xsd to be loaded locally.\n\n@param string $schemaSource Current content of schema file\n@param string $xmlUri External URI of XML to convert to local\n\n@return string", "docstring_tokens": ["Internally", "changes", "the", "URI", "of", "a", "dependent", "xsd", "to", "be", "loaded", "locally", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Utils/XliffUtils.php#L95-L110", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Filesystem.php", "func_name": "Filesystem.parseVisibility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given visibility value.\n\n@param string $path\n@param null|string $visibility\n\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\InvalidArgumentException\n\n@return null|int", "docstring_tokens": ["Parse", "the", "given", "visibility", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Filesystem.php#L469-L492", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Sanitizer.php", "func_name": "Sanitizer.sanitize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize a dataset using rules.\n\n@param array $rules\n@param array $data\n\n@return array", "docstring_tokens": ["Sanitize", "a", "dataset", "using", "rules", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Sanitizer.php#L39-L50", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Sanitizer.php", "func_name": "Sanitizer.runGlobalSanitizers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply global sanitizer rules.\n\n@param array $rules\n@param array $data\n\n@return array", "docstring_tokens": ["Apply", "global", "sanitizer", "rules", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Sanitizer.php#L60-L78", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Sanitizer.php", "func_name": "Sanitizer.sanitizeField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute sanitization over a specific field.\n\n@param array $data\n@param string $field\n@param string|array $ruleset\n\n@return string", "docstring_tokens": ["Execute", "sanitization", "over", "a", "specific", "field", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Sanitizer.php#L89-L129", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Sanitizer.php", "func_name": "Sanitizer.executeSanitizer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a sanitizer using the appropriate method.\n\n@param callable|string|\\Closure $sanitizer\n@param array $parameters\n\n@return string", "docstring_tokens": ["Execute", "a", "sanitizer", "using", "the", "appropriate", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Sanitizer.php#L139-L154", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Validation/Sanitizer.php", "func_name": "Sanitizer.resolveCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a callback from a class and method pair.\n\n@param string $callback\n\n@return array", "docstring_tokens": ["Resolve", "a", "callback", "from", "a", "class", "and", "method", "pair", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Validation/Sanitizer.php#L163-L170", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/CommandResolver.php", "func_name": "CommandResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a command from expression.\n\n@param string $expression Defines the arguments and options of the command\n@param array|callable|string $callable Called when the command is called.\nWhen using a container, this can be a \"pseudo-callable\"\ni.e. the name of the container entry to invoke.\n@param array $aliases an array of aliases for the command\n\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvocationException\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvalidArgumentException\n\n@return \\Viserio\\Component\\Console\\Command\\StringCommand", "docstring_tokens": ["Resolve", "a", "command", "from", "expression", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/CommandResolver.php#L71-L116", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/CommandResolver.php", "func_name": "CommandResolver.createCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new command.\n\n@param string $expression\n@param callable $callable\n\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Symfony\\Component\\Console\\Exception\\InvalidArgumentException\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvalidCommandExpression\n\n@return \\Viserio\\Component\\Console\\Command\\StringCommand", "docstring_tokens": ["Create", "a", "new", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/CommandResolver.php#L130-L140", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/CommandResolver.php", "func_name": "CommandResolver.defaultsViaReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reflect default values from callable.\n\n@param \\Viserio\\Component\\Console\\Command\\StringCommand $command\n@param callable|string $callable\n\n@throws \\Invoker\\Exception\\NotCallableException\n\n@return array", "docstring_tokens": ["Reflect", "default", "values", "from", "callable", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/CommandResolver.php#L152-L182", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/CommandResolver.php", "func_name": "CommandResolver.assertCallableIsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if callable is valid.\n\n@param mixed $callable\n\n@throws \\ReflectionException\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Check", "if", "callable", "is", "valid", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/CommandResolver.php#L194-L208", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/CommandResolver.php", "func_name": "CommandResolver.isStaticCallToNonStaticMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the callable represents a static call to a non-static method.\n\n@param mixed $callable\n\n@throws \\ReflectionException\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "callable", "represents", "a", "static", "call", "to", "a", "non", "-", "static", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/CommandResolver.php#L219-L230", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Provider/CookieServiceProvider.php", "func_name": "CookieServiceProvider.createCookieJar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new CookieJar instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Cookie\\QueueingFactory", "docstring_tokens": ["Create", "a", "new", "CookieJar", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Provider/CookieServiceProvider.php#L79-L88", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/XmlDumper.php", "func_name": "XmlDumper.convertElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse individual element.\n\n@param \\DOMDocument $document\n@param \\DOMElement|\\DOMNode $element\n@param array|string $value\n\n@throws \\DOMException\n\n@return void", "docstring_tokens": ["Parse", "individual", "element", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/XmlDumper.php#L78-L111", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/XmlDumper.php", "func_name": "XmlDumper.addNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add node.\n\n@param \\DOMDocument $document\n@param \\DOMElement|\\DOMNode $element\n@param string $key\n@param string|string[] $value\n\n@throws \\DOMException\n\n@return void", "docstring_tokens": ["Add", "node", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/XmlDumper.php#L125-L134", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/XmlDumper.php", "func_name": "XmlDumper.addCollectionNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add collection node.\n\n@param \\DOMDocument $document\n@param \\DOMElement|\\DOMNode $element\n@param string|string[] $value\n\n@throws \\DOMException\n\n@return void", "docstring_tokens": ["Add", "collection", "node", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/XmlDumper.php#L147-L158", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/XmlDumper.php", "func_name": "XmlDumper.createRootElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the root element.\n\n@param \\DOMDocument $document\n@param array|string $rootElement\n\n@return \\DOMElement", "docstring_tokens": ["Create", "the", "root", "element", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/XmlDumper.php#L190-L210", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Monolog/Formatter/ConsoleFormatter.php", "func_name": "ConsoleFormatter.castObjectClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a anonymous class with a castObject function.\n\n@return object\n\n@codeCoverageIgnore", "docstring_tokens": ["Return", "a", "anonymous", "class", "with", "a", "castObject", "function", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Monolog/Formatter/ConsoleFormatter.php#L186-L223", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/DataCollector/TraceableEventManager.php", "func_name": "TraceableEventManager.getCalledListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the called listeners.\n\n@return array An array of called listeners", "docstring_tokens": ["Gets", "the", "called", "listeners", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/DataCollector/TraceableEventManager.php#L163-L174", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/DataCollector/TraceableEventManager.php", "func_name": "TraceableEventManager.getNotCalledListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the not called listeners.\n\n@return array An array of not called listeners", "docstring_tokens": ["Gets", "the", "not", "called", "listeners", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/DataCollector/TraceableEventManager.php#L181-L222", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookie.php", "func_name": "AbstractCookie.validateSameSite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate SameSite value.\n\n@param bool|string $sameSite\n\n@return bool|string", "docstring_tokens": ["Validate", "SameSite", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookie.php#L305-L312", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookie.php", "func_name": "AbstractCookie.normalizeExpires", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the expiration value.\n\n@param null|\\DateTimeInterface|int|string $expiration\n\n@throws \\Viserio\\Component\\Contract\\Cookie\\Exception\\InvalidArgumentException\n\n@return int", "docstring_tokens": ["Normalizes", "the", "expiration", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookie.php#L323-L347", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookie.php", "func_name": "AbstractCookie.normalizeDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the leading '.' and lowercase the domain as per spec in RFC 6265.\n\n@param null|string $domain\n\n@return null|string\n\n@see http://tools.ietf.org/html/rfc6265#section-4.1.2.3\n@see http://tools.ietf.org/html/rfc6265#section-5.1.3\n@see http://tools.ietf.org/html/rfc6265#section-5.2.3", "docstring_tokens": ["Remove", "the", "leading", ".", "and", "lowercase", "the", "domain", "as", "per", "spec", "in", "RFC", "6265", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookie.php#L360-L367", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookie.php", "func_name": "AbstractCookie.normalizePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes path as per spec in RFC 6265.\n\n@param string $path\n\n@return string\n\n@see http://tools.ietf.org/html/rfc6265#section-5.1.4\n@see http://tools.ietf.org/html/rfc6265#section-5.2.4", "docstring_tokens": ["Processes", "path", "as", "per", "spec", "in", "RFC", "6265", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookie.php#L379-L388", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookie.php", "func_name": "AbstractCookie.getTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get timestamp as cookie string format.\n\n@param null|\\DateTimeInterface|int|string $expiration\n\n@return null|string", "docstring_tokens": ["Get", "timestamp", "as", "cookie", "string", "format", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookie.php#L517-L536", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/Bridge/Cache/TraceableCacheItemDecorator.php", "func_name": "TraceableCacheItemDecorator.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start new event.\n\n@param string $name\n\n@return \\Viserio\\Component\\Profiler\\DataCollector\\Bridge\\Cache\\TraceableCollector", "docstring_tokens": ["Start", "new", "event", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/Bridge/Cache/TraceableCacheItemDecorator.php#L92-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Translator.php", "func_name": "Translator.applyHelpers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply helpers.\n\n@param string $translation\n\n@return mixed", "docstring_tokens": ["Apply", "helpers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Translator.php#L177-L196", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Translator.php", "func_name": "Translator.filterHelpersFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter a helper from string.\n\n@param string $translation\n\n@return array", "docstring_tokens": ["Filter", "a", "helper", "from", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Translator.php#L205-L228", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Translator.php", "func_name": "Translator.applyFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply filter on string.\n\n@param string $translation\n\n@return string", "docstring_tokens": ["Apply", "filter", "on", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Translator.php#L237-L248", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Translator.php", "func_name": "Translator.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs for missing translations.\n\n@param string $id\n@param string $domain\n\n@return void", "docstring_tokens": ["Logs", "for", "missing", "translations", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Translator.php#L258-L277", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Translator.php", "func_name": "Translator.collectMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect messages about all translations.\n\n@param null|string $locale\n@param string $domain\n@param string $id\n@param string $translation\n@param array $parameters\n\n@return void", "docstring_tokens": ["Collect", "messages", "about", "all", "translations", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Translator.php#L290-L326", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/AbstractLintCommand.php", "func_name": "AbstractLintCommand.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get display type from format.\n\n@param string $format\n@param array $files\n@param bool $displayCorrectFiles\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\InvalidArgumentException\n\n@return int", "docstring_tokens": ["Get", "display", "type", "from", "format", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/AbstractLintCommand.php#L58-L69", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/AbstractLintCommand.php", "func_name": "AbstractLintCommand.displayJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display errors in json format.\n\n@param array $filesInfo\n\n@return int", "docstring_tokens": ["Display", "errors", "in", "json", "format", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/AbstractLintCommand.php#L88-L103", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/AbstractLintCommand.php", "func_name": "AbstractLintCommand.getFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a generator of files.\n\n@param string $fileOrDirectory\n\n@return \\Generator", "docstring_tokens": ["Get", "a", "generator", "of", "files", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/AbstractLintCommand.php#L122-L137", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/AbstractLintCommand.php", "func_name": "AbstractLintCommand.getStdin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get content from stdin.\n\n@return null|string", "docstring_tokens": ["Get", "content", "from", "stdin", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/AbstractLintCommand.php#L144-L157", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/AbstractLintCommand.php", "func_name": "AbstractLintCommand.getDirectoryIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get item from dirs.\n\n@param string $directory\n\n@return \\RecursiveIteratorIterator", "docstring_tokens": ["Get", "item", "from", "dirs", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/AbstractLintCommand.php#L166-L172", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/Traits/ValidateNameTrait.php", "func_name": "ValidateNameTrait.validateEventName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The event name must only contain the characters A-Z, a-z, 0-9, _, and '.'.\n\n@param string $eventName\n\n@throws \\Viserio\\Component\\Contract\\Events\\Exception\\InvalidArgumentException\n\n@return void", "docstring_tokens": ["The", "event", "name", "must", "only", "contain", "the", "characters", "A", "-", "Z", "a", "-", "z", "0", "-", "9", "_", "and", ".", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/Traits/ValidateNameTrait.php#L18-L27", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Traits/BytesFormatTrait.php", "func_name": "BytesFormatTrait.convertToBytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a number string to bytes.\n\n@param string $number\n\n@throws \\InvalidArgumentException\n@throws \\OutOfBoundsException\n\n@return int limit in bytes or -1 if it's unlimited", "docstring_tokens": ["Convert", "a", "number", "string", "to", "bytes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Traits/BytesFormatTrait.php#L20-L52", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Traits/BytesFormatTrait.php", "func_name": "BytesFormatTrait.convertToNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove non-numeric characters in the string to cast it to a numeric value.\n\nIncoming number can be presented in arbitrary format that depends on locale. We don't possess locale information.\nSo the best can be done is to treat number as an integer and eliminate delimiters.\nMethod will not behave correctly with non-integer numbers for the following reason:\n- if value has more than one delimiter, such as in French notation: \"1 234,56\" -- then we can infer decimal part\n- but the value has only one delimiter, such as \"234,56\", then it is impossible to know whether it is decimal\nseparator or not. Only knowing the right format would allow this.\n\n@param string $number\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Remove", "non", "-", "numeric", "characters", "in", "the", "string", "to", "cast", "it", "to", "a", "numeric", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Traits/BytesFormatTrait.php#L70-L81", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Manager/Traits/ManagerTrait.php", "func_name": "ManagerTrait.getConfigFromName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get config on adapter name.\n\n@param string $name\n\n@return array", "docstring_tokens": ["Get", "config", "on", "adapter", "name", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Manager/Traits/ManagerTrait.php#L84-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Manager/Traits/ManagerTrait.php", "func_name": "ManagerTrait.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new driver instance.\n\n@param array $config\n@param string $method\n@param string $errorMessage\n\n@throws \\Viserio\\Component\\Contract\\Manager\\Exception\\InvalidArgumentException\n\n@return mixed", "docstring_tokens": ["Make", "a", "new", "driver", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Manager/Traits/ManagerTrait.php#L109-L120", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/ChainExtractor.php", "func_name": "ChainExtractor.addExtractor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a loader to the translation extractor.\n\n@param string $format\n@param \\Viserio\\Component\\Contract\\Translation\\Extractor $extractor\n\n@return void", "docstring_tokens": ["Adds", "a", "loader", "to", "the", "translation", "extractor", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/ChainExtractor.php#L25-L28", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/Provider/AliasLoaderServiceProvider.php", "func_name": "AliasLoaderServiceProvider.createAliasLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Alias loader.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\StaticalProxy\\AliasLoader", "docstring_tokens": ["Create", "a", "new", "Alias", "loader", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/Provider/AliasLoaderServiceProvider.php#L72-L88", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/Provider/AliasLoaderServiceProvider.php", "func_name": "AliasLoaderServiceProvider.getCachePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get real-time proxy cache path.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param array $options\n\n@return null|string", "docstring_tokens": ["Get", "real", "-", "time", "proxy", "cache", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/Provider/AliasLoaderServiceProvider.php#L98-L107", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Bus/QueueingDispatcher.php", "func_name": "QueueingDispatcher.pushCommandToQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push the command onto the given queue instance.\n\n@param \\Viserio\\Component\\Contract\\Queue\\QueueConnector $queue\n@param mixed $command\n\n@return mixed", "docstring_tokens": ["Push", "the", "command", "onto", "the", "given", "queue", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Bus/QueueingDispatcher.php#L74-L89", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Bus/QueueingDispatcher.php", "func_name": "QueueingDispatcher.commandShouldBeQueued", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given command should be queued.\n\n@param mixed $command\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "command", "should", "be", "queued", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Bus/QueueingDispatcher.php#L98-L107", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/SessionManager.php", "func_name": "SessionManager.createCookieDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the \"cookie\" session driver.\n\n@throws \\Viserio\\Component\\Contract\\Session\\Exception\\RuntimeException\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Create", "an", "instance", "of", "the", "cookie", "session", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/SessionManager.php#L134-L146", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/SessionManager.php", "func_name": "SessionManager.createMigratingDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the Migrating session driver.\n\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\Session\\Exception\\RuntimeException\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Create", "an", "instance", "of", "the", "Migrating", "session", "driver", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/SessionManager.php#L249-L261", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/SessionManager.php", "func_name": "SessionManager.createCacheBased", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the cache based session handler instance.\n\n@param string $driver\n\n@throws \\Viserio\\Component\\Contract\\Session\\Exception\\RuntimeException\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Create", "the", "cache", "based", "session", "handler", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/SessionManager.php#L282-L294", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/SessionManager.php", "func_name": "SessionManager.buildSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the session instance.\n\n@param \\SessionHandlerInterface $handler\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Build", "the", "session", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/SessionManager.php#L303-L310", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/SessionManager.php", "func_name": "SessionManager.buildEncryptedSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the encrypted session instance.\n\n@param \\SessionHandlerInterface $handler\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Build", "the", "encrypted", "session", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/SessionManager.php#L319-L326", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Action.php", "func_name": "Action.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given action into an array.\n\n@param string $uri\n@param mixed $action\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\UnexpectedValueException if invalid route action\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\LogicException if no action found\n\n@return array", "docstring_tokens": ["Parse", "the", "given", "action", "into", "an", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Action.php#L21-L58", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Action.php", "func_name": "Action.getFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the first element in an array passing a given truth test.\n\n@param array $array\n@param callable $callback\n\n@return mixed", "docstring_tokens": ["Return", "the", "first", "element", "in", "an", "array", "passing", "a", "given", "truth", "test", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Action.php#L84-L93", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/XliffParser.php", "func_name": "XliffParser.parseNotes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse xliff notes.\n\n@param \\SimpleXMLElement $noteElement\n@param null|string $encoding\n\n@return array", "docstring_tokens": ["Parse", "xliff", "notes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/XliffParser.php#L127-L148", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Parser/XliffParser.php", "func_name": "XliffParser.utf8ToCharset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a UTF8 string to the specified encoding.\n\n@param string $content String to decode\n@param null|string $encoding Target encoding\n\n@return string", "docstring_tokens": ["Convert", "a", "UTF8", "string", "to", "the", "specified", "encoding", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Parser/XliffParser.php#L231-L238", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/TaggableParser.php", "func_name": "TaggableParser.tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tag all keys with given tag.\n\n@param string $tag\n@param array $data\n\n@return array", "docstring_tokens": ["Tag", "all", "keys", "with", "given", "tag", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/TaggableParser.php#L56-L71", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/Provider/LoggerServiceProvider.php", "func_name": "LoggerServiceProvider.createLogManger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a log manager instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Log\\LogManager", "docstring_tokens": ["Create", "a", "log", "manager", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/Provider/LoggerServiceProvider.php#L44-L53", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Traits/ConfirmableTrait.php", "func_name": "ConfirmableTrait.confirmToProceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Confirm before proceeding with the action.\n\n@param string $warning\n@param null|bool|\\Closure $callback\n\n@return bool", "docstring_tokens": ["Confirm", "before", "proceeding", "with", "the", "action", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Traits/ConfirmableTrait.php#L22-L47", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Traits/ConfirmableTrait.php", "func_name": "ConfirmableTrait.getDefaultConfirmCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the default confirmation callback.\n\n@return \\Closure", "docstring_tokens": ["Get", "the", "default", "confirmation", "callback", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Traits/ConfirmableTrait.php#L64-L77", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Profiler.php", "func_name": "Profiler.injectProfiler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Injects the web debug toolbar into the given Response.\n\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n@param string $token\n\n@return \\Psr\\Http\\Message\\ResponseInterface\n\n@see https://github.com/symfony/ProfilerBundle/blob/master/EventListener/WebDebugToolbarListener.php", "docstring_tokens": ["Injects", "the", "web", "debug", "toolbar", "into", "the", "given", "Response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Profiler.php#L234-L255", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Profiler.php", "func_name": "Profiler.collectData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect data and create a new profile and save it.\n\n@param string $token\n@param \\Psr\\Http\\Message\\ServerRequestInterface $serverRequest\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@return void", "docstring_tokens": ["Collect", "data", "and", "create", "a", "new", "profile", "and", "save", "it", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Profiler.php#L278-L308", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Profiler.php", "func_name": "Profiler.createTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create template.\n\n@param string $token\n\n@return string", "docstring_tokens": ["Create", "template", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Profiler.php#L317-L328", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Profiler.php", "func_name": "Profiler.createProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create profile with all datas.\n\n@param string $token\n@param string $ip\n@param string $method\n@param string $url\n@param int $statusCode\n@param float $time\n@param string $date\n@param array $collectors\n\n@return void", "docstring_tokens": ["Create", "profile", "with", "all", "datas", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Profiler.php#L356-L380", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Log/Traits/ParseLevelTrait.php", "func_name": "ParseLevelTrait.parseLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the string level into a Monolog constant.\n\n@param string $level\n\n@throws \\InvalidArgumentException\n\n@return int", "docstring_tokens": ["Parse", "the", "string", "level", "into", "a", "Monolog", "constant", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Log/Traits/ParseLevelTrait.php#L35-L42", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php", "func_name": "StartSessionMiddleware.startSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the session for the given request.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Start", "the", "session", "for", "the", "given", "request", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php#L102-L122", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php", "func_name": "StartSessionMiddleware.storeCurrentUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store the current URL for the request if necessary.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Viserio\\Component\\Contract\\Session\\Store $session\n\n@return \\Viserio\\Component\\Contract\\Session\\Store", "docstring_tokens": ["Store", "the", "current", "URL", "for", "the", "request", "if", "necessary", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php#L132-L141", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php", "func_name": "StartSessionMiddleware.collectGarbage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the garbage from the session if necessary.\n\n@param \\Viserio\\Component\\Contract\\Session\\Store $session\n\n@return void", "docstring_tokens": ["Remove", "the", "garbage", "from", "the", "session", "if", "necessary", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php#L150-L161", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php", "func_name": "StartSessionMiddleware.addCookieToResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the session cookie to the application response.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n@param \\Viserio\\Component\\Contract\\Session\\Store $session\n\n@throws \\Viserio\\Component\\Contract\\Cookie\\Exception\\InvalidArgumentException\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Add", "the", "session", "cookie", "to", "the", "application", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/StartSessionMiddleware.php#L174-L197", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/Proxy/View.php", "func_name": "View.createResponseView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a response from string.\n\n@param string $template\n@param array $args\n\n@return ResponseInterface", "docstring_tokens": ["Create", "a", "response", "from", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/Proxy/View.php#L31-L40", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Loader.php", "func_name": "Loader.findTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return path to template without the need for the extension.\n\n@param string $name\n\n@throws \\Twig\\Error\\LoaderError\n\n@return string", "docstring_tokens": ["Return", "path", "to", "template", "without", "the", "need", "for", "the", "extension", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Loader.php#L131-L151", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Provider/Twig/Loader.php", "func_name": "Loader.normalizeName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize the Twig template name to a name the ViewFinder can use.\n\n@param string $name\n\n@return string", "docstring_tokens": ["Normalize", "the", "Twig", "template", "name", "to", "a", "name", "the", "ViewFinder", "can", "use", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Provider/Twig/Loader.php#L160-L167", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.parseView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given view name or array.\n\n@param array|string $view\n\n@throws \\Viserio\\Component\\Contract\\Mail\\Exception\\UnexpectedValueException\n\n@return array", "docstring_tokens": ["Parse", "the", "given", "view", "name", "or", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L208-L233", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.addContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the content to a given message.\n\n@param \\Viserio\\Component\\Contract\\Mail\\Message $message\n@param null|string $view\n@param null|string $plain\n@param null|string $raw\n@param array $data", "docstring_tokens": ["Add", "the", "content", "to", "a", "given", "message", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L244-L266", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.sendSwiftMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a Swift Message instance.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return int", "docstring_tokens": ["Send", "a", "Swift", "Message", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L275-L286", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.shouldSendMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the message can be sent.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return bool", "docstring_tokens": ["Determines", "if", "the", "message", "can", "be", "sent", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L295-L302", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.createMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new message instance.\n\n@return \\Viserio\\Component\\Contract\\Mail\\Message", "docstring_tokens": ["Create", "a", "new", "message", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L321-L340", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.callMessageBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the provided message builder.\n\n@param null|\\Closure|string $callback\n@param \\Viserio\\Component\\Contract\\Mail\\Message $message\n\n@throws \\InvalidArgumentException\n\n@return mixed", "docstring_tokens": ["Call", "the", "provided", "message", "builder", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L352-L363", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Mailer.php", "func_name": "Mailer.createView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a view string for the email body.\n\n@param string $view\n@param array $data\n\n@return string", "docstring_tokens": ["Creates", "a", "view", "string", "for", "the", "email", "body", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Mailer.php#L373-L380", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php", "func_name": "SimpleDispatcher.handleFound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle dispatching of a found route.\n\n@param \\Viserio\\Component\\Contract\\Routing\\RouteCollection $routes\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param string $identifier\n@param array $segments\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Handle", "dispatching", "of", "a", "found", "route", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php#L134-L156", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php", "func_name": "SimpleDispatcher.prepareUriPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the request uri path.\n\n@param string $path\n\n@return string", "docstring_tokens": ["Prepare", "the", "request", "uri", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php#L178-L187", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php", "func_name": "SimpleDispatcher.generateRouterFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a router file with all routes.\n\n@param \\Viserio\\Component\\Contract\\Routing\\RouteCollection $routes\n\n@return void", "docstring_tokens": ["Generates", "a", "router", "file", "with", "all", "routes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php#L196-L202", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php", "func_name": "SimpleDispatcher.generateDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a cache directory.\n\n@param string $dir\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\RuntimeException\n\n@return void", "docstring_tokens": ["Generate", "a", "cache", "directory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Dispatcher/SimpleDispatcher.php#L213-L225", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/FileLoader.php", "func_name": "FileLoader.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the data path for a file.\n\n@param string $file\n\n@return string", "docstring_tokens": ["Get", "the", "data", "path", "for", "a", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/FileLoader.php#L101-L112", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/FileLoader.php", "func_name": "FileLoader.checkOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the right option are given.\n\n@param null|array $options\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\NotSupportedException\n\n@return void", "docstring_tokens": ["Check", "if", "the", "right", "option", "are", "given", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/FileLoader.php#L123-L136", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/FileLoader.php", "func_name": "FileLoader.getParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the right parser.\n\n@param null|array $options\n\n@return \\Viserio\\Component\\Parser\\Parser", "docstring_tokens": ["Get", "the", "right", "parser", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/FileLoader.php#L145-L160", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php", "func_name": "FilesystemHelperTrait.getRequire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Require file.\n\n@param string $path\n\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileNotFoundException\n\n@return mixed", "docstring_tokens": ["Require", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php#L18-L27", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php", "func_name": "FilesystemHelperTrait.requireOnce", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Require file once.\n\n@param string $path\n\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\FileNotFoundException\n\n@return mixed\n\n@codeCoverageIgnore", "docstring_tokens": ["Require", "file", "once", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php#L40-L49", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php", "func_name": "FilesystemHelperTrait.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a hard link to the target file or directory.\n\n@param string $target\n@param string $link\n\n@return null|bool\n\n@codeCoverageIgnore", "docstring_tokens": ["Create", "a", "hard", "link", "to", "the", "target", "file", "or", "directory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Traits/FilesystemHelperTrait.php#L85-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.setDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set directories.\n\n@param array $directories\n\n@return $this", "docstring_tokens": ["Set", "directories", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L143-L150", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.addDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add directory.\n\n@param string $directory\n\n@return $this", "docstring_tokens": ["Add", "directory", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L159-L166", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.import", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import a language from file.\n\n@param string $file\n\n@throws \\Viserio\\Component\\Contract\\Translation\\Exception\\InvalidArgumentException\n\n@return $this", "docstring_tokens": ["Import", "a", "language", "from", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L177-L191", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.addMessageCatalogue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add message catalogue.\n\n@param \\Viserio\\Component\\Contract\\Translation\\MessageCatalogue $messageCatalogue\n\n@return $this", "docstring_tokens": ["Add", "message", "catalogue", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L200-L217", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.setLanguageFallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set fallback for a language.\n\n@param string $lang\n@param \\Viserio\\Component\\Contract\\Translation\\MessageCatalogue $fallback\n\n@throws \\RuntimeException\n\n@return $this", "docstring_tokens": ["Set", "fallback", "for", "a", "language", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L229-L234", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/TranslationManager.php", "func_name": "TranslationManager.getLanguageFallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fallback for a language.\n\n@param string $lang\n\n@return null|\\Viserio\\Component\\Contract\\Translation\\MessageCatalogue", "docstring_tokens": ["Get", "fallback", "for", "a", "language", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/TranslationManager.php#L243-L250", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pagination/Paginator.php", "func_name": "Paginator.addPresenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new presenter.\n\n@param string $key\n@param \\Viserio\\Component\\Contract\\Pagination\\Presenter $presenter\n\n@return $this", "docstring_tokens": ["Add", "a", "new", "presenter", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pagination/Paginator.php#L71-L76", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pagination/Paginator.php", "func_name": "Paginator.checkForMorePages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for more pages. The last item will be sliced off.\n\n@return void", "docstring_tokens": ["Check", "for", "more", "pages", ".", "The", "last", "item", "will", "be", "sliced", "off", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pagination/Paginator.php#L204-L209", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServerConfig.php", "func_name": "WebServerConfig.getDisplayAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Contains resolved hostname if available.\n\n@return null|string", "docstring_tokens": ["Contains", "resolved", "hostname", "if", "available", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServerConfig.php#L193-L204", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServerConfig.php", "func_name": "WebServerConfig.findFrontController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the front controller in root path.\n\n@param string $documentRoot\n@param string $env\n\n@throws \\Viserio\\Component\\Contract\\WebServer\\Exception\\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Finds", "the", "front", "controller", "in", "root", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServerConfig.php#L216-L233", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServerConfig.php", "func_name": "WebServerConfig.findHostnameAndPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a host and port.\n\n@param array $config\n\n@throws \\Viserio\\Component\\Contract\\WebServer\\Exception\\InvalidArgumentException\n\n@return array", "docstring_tokens": ["Finds", "a", "host", "and", "port", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServerConfig.php#L244-L262", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/WebServerConfig.php", "func_name": "WebServerConfig.findBestPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searching for the port between 8000 and 8100.\n\n@param string $host\n\n@return string", "docstring_tokens": ["Searching", "for", "the", "port", "between", "8000", "and", "8100", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/WebServerConfig.php#L271-L284", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/TemplateManager.php", "func_name": "TemplateManager.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes a string for output in an HTML document.\n\n@param string $raw\n\n@return string", "docstring_tokens": ["Escapes", "a", "string", "for", "output", "in", "an", "HTML", "document", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/TemplateManager.php#L62-L73", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/TemplateManager.php", "func_name": "TemplateManager.getSortedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort all datas from collectors.\n\n@return array", "docstring_tokens": ["Sort", "all", "datas", "from", "collectors", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/TemplateManager.php#L110-L158", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Stream/MultipartStream.php", "func_name": "MultipartStream.createAppendStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the aggregate stream that will be used to upload the POST data.\n\n@param array $elements\n\n@return \\Psr\\Http\\Message\\StreamInterface", "docstring_tokens": ["Create", "the", "aggregate", "stream", "that", "will", "be", "used", "to", "upload", "the", "POST", "data", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Stream/MultipartStream.php#L62-L74", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/PhpExtractor.php", "func_name": "PhpExtractor.parseTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts trans message from PHP tokens.\n\n@param array $tokens\n\n@return array", "docstring_tokens": ["Extracts", "trans", "message", "from", "PHP", "tokens", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/PhpExtractor.php#L98-L144", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/PhpExtractor.php", "func_name": "PhpExtractor.seekToNextRelevantToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seeks to a non-whitespace token.\n\n@param \\Iterator $tokenIterator\n\n@return void", "docstring_tokens": ["Seeks", "to", "a", "non", "-", "whitespace", "token", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/PhpExtractor.php#L186-L195", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/PhpExtractor.php", "func_name": "PhpExtractor.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the message from the iterator while the tokens\nmatch allowed message tokens.\n\n@param \\Iterator $tokenIterator\n\n@return string", "docstring_tokens": ["Extracts", "the", "message", "from", "the", "iterator", "while", "the", "tokens", "match", "allowed", "message", "tokens", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/PhpExtractor.php#L231-L266", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/Provider/ProfilerPDOBridgeServiceProvider.php", "func_name": "ProfilerPDOBridgeServiceProvider.createTraceablePDODecorator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend PDO with our TraceablePDODecorater.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\PDO $pdo\n\n@return null|\\Viserio\\Component\\Profiler\\DataCollector\\Bridge\\PDO\\TraceablePDODecorater", "docstring_tokens": ["Extend", "PDO", "with", "our", "TraceablePDODecorater", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/Provider/ProfilerPDOBridgeServiceProvider.php#L44-L53", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php", "func_name": "EncryptedCookiesMiddleware.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypt the cookies on the request.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return \\Psr\\Http\\Message\\ServerRequestInterface", "docstring_tokens": ["Decrypt", "the", "cookies", "on", "the", "request", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php#L76-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php", "func_name": "EncryptedCookiesMiddleware.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt the cookies on an outgoing response.\n\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Encrypt", "the", "cookies", "on", "an", "outgoing", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php#L109-L136", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php", "func_name": "EncryptedCookiesMiddleware.duplicate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Duplicate a cookie with a new value.\n\n@param \\Viserio\\Component\\Contract\\Cookie\\Cookie $cookie\n@param string $value\n\n@return \\Viserio\\Component\\Contract\\Cookie\\Cookie", "docstring_tokens": ["Duplicate", "a", "cookie", "with", "a", "new", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Middleware/EncryptedCookiesMiddleware.php#L146-L157", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/Console/Kernel.php", "func_name": "Kernel.registerCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the given command with the console application.\n\n@param \\Symfony\\Component\\Console\\Command\\Command $command\n\n@return void", "docstring_tokens": ["Register", "the", "given", "command", "with", "the", "console", "application", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/Console/Kernel.php#L141-L146", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/Console/Kernel.php", "func_name": "Kernel.getConsole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cerebro application instance.\n\n@return \\Viserio\\Component\\Console\\Application", "docstring_tokens": ["Get", "the", "cerebro", "application", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/Console/Kernel.php#L181-L193", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Foundation/AbstractKernel.php", "func_name": "AbstractKernel.initProjectDirs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge composer project dir settings with the default narrowspark dir settings.\n\n@return array", "docstring_tokens": ["Merge", "composer", "project", "dir", "settings", "with", "the", "default", "narrowspark", "dir", "settings", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Foundation/AbstractKernel.php#L426-L456", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFinder.php", "func_name": "ViewFinder.findNamedPathView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path to a template with a named path.\n\n@param string $name\n\n@return array", "docstring_tokens": ["Get", "the", "path", "to", "a", "template", "with", "a", "named", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFinder.php#L251-L256", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFinder.php", "func_name": "ViewFinder.getNamespaceSegments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the segments of a template with a named path.\n\n@param string $name\n\n@throws \\Viserio\\Component\\Contract\\View\\Exception\\InvalidArgumentException\n\n@return array", "docstring_tokens": ["Get", "the", "segments", "of", "a", "template", "with", "a", "named", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFinder.php#L267-L280", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFinder.php", "func_name": "ViewFinder.findInPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the given view in the list of paths.\n\n@param string $name\n@param array $paths\n\n@throws \\Viserio\\Component\\Contract\\View\\Exception\\InvalidArgumentException\n\n@return array", "docstring_tokens": ["Find", "the", "given", "view", "in", "the", "list", "of", "paths", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFinder.php#L292-L309", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFinder.php", "func_name": "ViewFinder.getPossibleViewFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of possible view files.\n\n@param string $name\n\n@return array", "docstring_tokens": ["Get", "an", "array", "of", "possible", "view", "files", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFinder.php#L318-L326", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Events/DataCollector/WrappedListener.php", "func_name": "WrappedListener.getInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information's about given event.\n\n@param string $eventName\n\n@return array", "docstring_tokens": ["Get", "information", "s", "about", "given", "event", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Events/DataCollector/WrappedListener.php#L154-L165", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/ResponseCookies.php", "func_name": "ResponseCookies.renderIntoSetCookieHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render Cookies into a response.\n\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Render", "Cookies", "into", "a", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/ResponseCookies.php#L57-L66", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Bridge/Twig/Provider/TwigBridgeDataCollectorsServiceProvider.php", "func_name": "TwigBridgeDataCollectorsServiceProvider.extendTwigEnvironment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrap Twig Environment.\n\n@param \\Psr\\Container\\ContainerInterface $container\n@param null|\\Twig\\Environment $twig\n\n@return null|\\Twig\\Environment", "docstring_tokens": ["Wrap", "Twig", "Environment", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Bridge/Twig/Provider/TwigBridgeDataCollectorsServiceProvider.php#L100-L115", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/MessagesDataCollector.php", "func_name": "MessagesDataCollector.getMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns collected messages.\n\n@return array", "docstring_tokens": ["Returns", "collected", "messages", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/MessagesDataCollector.php#L39-L53", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/MessagesDataCollector.php", "func_name": "MessagesDataCollector.addMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a message.\n\nA message can be anything from an object to a string.\n\n@param mixed $message\n@param string $label\n\n@return void", "docstring_tokens": ["Adds", "a", "message", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/MessagesDataCollector.php#L89-L100", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Traits/MiddlewareAwareTrait.php", "func_name": "MiddlewareAwareTrait.aliasMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a short-hand name for a middleware.\n\n@param string $name\n@param \\Psr\\Http\\Server\\MiddlewareInterface|string $middleware\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\RuntimeException if alias exists\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\UnexpectedValueException if wrong type is given\n\n@return $this", "docstring_tokens": ["Register", "a", "short", "-", "hand", "name", "for", "a", "middleware", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Traits/MiddlewareAwareTrait.php#L38-L57", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/Command/ServerLogCommand.php", "func_name": "ServerLogCommand.getLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get collected logs.\n\n@param resource $socket\n\n@return null|\\Generator", "docstring_tokens": ["Get", "collected", "logs", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/Command/ServerLogCommand.php#L98-L122", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/Engine/PhpEngine.php", "func_name": "PhpEngine.handleViewException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a view exception.\n\n@param \\Throwable $exception\n@param int $obLevel\n\n@throws \\Throwable", "docstring_tokens": ["Handle", "a", "view", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/Engine/PhpEngine.php#L50-L57", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/Engine/PhpEngine.php", "func_name": "PhpEngine.getErrorException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a ErrorException instance.\n\n@param \\ParseError|\\Throwable|\\TypeError $exception\n\n@return \\ErrorException", "docstring_tokens": ["Get", "a", "ErrorException", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/Engine/PhpEngine.php#L66-L88", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/AliasLoader.php", "func_name": "AliasLoader.getCachePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cache path.\n\n@throws \\RuntimeException If real-time statical proxy is active and no cache path is given\n\n@return null|string", "docstring_tokens": ["Get", "the", "cache", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/AliasLoader.php#L112-L119", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/AliasLoader.php", "func_name": "AliasLoader.ensureStaticalProxyExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that the given alias has an existing real-time statical proxy class.\n\n@param string $alias\n\n@return string", "docstring_tokens": ["Ensure", "that", "the", "given", "alias", "has", "an", "existing", "real", "-", "time", "statical", "proxy", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/AliasLoader.php#L417-L434", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/AliasLoader.php", "func_name": "AliasLoader.formatStaticalProxyStub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format the statical proxy stub with the proper namespace and class.\n\n@param string $alias\n@param string $stub\n\n@return string", "docstring_tokens": ["Format", "the", "statical", "proxy", "stub", "with", "the", "proper", "namespace", "and", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/AliasLoader.php#L444-L457", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/Provider/ViewServiceProvider.php", "func_name": "ViewServiceProvider.registerMarkdownEngine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the Markdown engine implementation.\n\n@param \\Viserio\\Component\\View\\Engine\\EngineResolver $engines\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return void", "docstring_tokens": ["Register", "the", "Markdown", "engine", "implementation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/Provider/ViewServiceProvider.php#L125-L138", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.cleanExport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares a string to be outputed into a file.\n\n@param string $string the string to be converted\n\n@return string", "docstring_tokens": ["Prepares", "a", "string", "to", "be", "outputed", "into", "a", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L115-L128", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addTCommentToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds tcomment to the output.\n\n@param array $entry\n@param string $output\n\n@return array", "docstring_tokens": ["Adds", "tcomment", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L138-L147", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addReferencesToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds reference to the output.\n\n@param array $entry\n@param string $output\n\n@return array", "docstring_tokens": ["Adds", "reference", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L176-L185", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addFlagsToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds flags infos to the output.\n\n@param array $entry\n@param string $output\n\n@return array", "docstring_tokens": ["Adds", "flags", "infos", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L195-L202", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addPreviousToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds previous info to the output.\n\n@param array $entry\n@param string $output\n\n@return array", "docstring_tokens": ["Adds", "previous", "info", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L212-L227", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addMsgidToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds msgid to the output.\n\n@param array $entry\n@param string $output\n@param bool $isObsolete\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\DumpException\n\n@return array", "docstring_tokens": ["Adds", "msgid", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L240-L264", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addMsgidPluralToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add msgid_plural to the output.\n\n@param array $entry\n@param string $output\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\DumpException\n\n@return array", "docstring_tokens": ["Add", "msgid_plural", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L276-L296", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addMsgstrToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds key with msgstr to the output.\n\n@param array $entry\n@param bool $isPlural\n@param string $output\n@param bool $isObsolete\n\n@return string", "docstring_tokens": ["Adds", "key", "with", "msgstr", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L308-L348", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/PoDumper.php", "func_name": "PoDumper.addHeaderToOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a header to the output.\n\n@param array $data\n@param string $output\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\DumpException\n\n@return array", "docstring_tokens": ["Adds", "a", "header", "to", "the", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/PoDumper.php#L360-L389", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Pagination/Presenter/SemanticUi.php", "func_name": "SemanticUi.getPaginationsLinks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all paginations page links.\n\n@param array $items\n@param string $pagination", "docstring_tokens": ["Get", "all", "paginations", "page", "links", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Pagination/Presenter/SemanticUi.php#L69-L87", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Cache/CachedFactory.php", "func_name": "CachedFactory.createConnector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a connector instance based on the configuration.\n\n@param array $config\n\n@throws \\InvalidArgumentException\n\n@return \\League\\Flysystem\\Cached\\CacheInterface", "docstring_tokens": ["Create", "a", "connector", "instance", "based", "on", "the", "configuration", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Cache/CachedFactory.php#L67-L90", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.ensureCorrectUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finalize the event's command syntax with the correct user.\n\n@param string $command\n\n@return string", "docstring_tokens": ["Finalize", "the", "event", "s", "command", "syntax", "with", "the", "correct", "user", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L751-L772", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.expressionPasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the Cron expression passes.\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "Cron", "expression", "passes", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L805-L814", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.runCommandInForeground", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the command in the foreground.\n\n@return int The exit status code", "docstring_tokens": ["Run", "the", "command", "in", "the", "foreground", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L821-L838", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.runCommandInBackground", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the command in the background.\n\n@return int The exit status code", "docstring_tokens": ["Run", "the", "command", "in", "the", "background", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L845-L856", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.callBeforeCallbacks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call all of the \"before\" callbacks for the cron job.\n\n@return void", "docstring_tokens": ["Call", "all", "of", "the", "before", "callbacks", "for", "the", "cron", "job", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L863-L868", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.callAfterCallbacks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call all of the \"after\" callbacks for the cron job.\n\n@return void", "docstring_tokens": ["Call", "all", "of", "the", "after", "callbacks", "for", "the", "cron", "job", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L875-L880", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.inTimeInterval", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Schedule the cron job to run between start and end time.\n\n@param string $startTime\n@param string $endTime\n\n@return \\Closure", "docstring_tokens": ["Schedule", "the", "cron", "job", "to", "run", "between", "start", "and", "end", "time", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L900-L912", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Cron.php", "func_name": "Cron.isMidnightBetween", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if startTime and endTime are before and after midnight.\n\n@param string $startTime\n@param string $endTime\n\n@return bool", "docstring_tokens": ["Check", "if", "startTime", "and", "endTime", "are", "before", "and", "after", "midnight", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Cron.php#L922-L925", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php", "func_name": "MatcherOptimizer.mergeMatchers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge same matcher together.\n\n@param array $parentMatchers\n@param array $childMatchers\n\n@return array", "docstring_tokens": ["Merge", "same", "matcher", "together", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php#L32-L45", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php", "func_name": "MatcherOptimizer.optimizeMatchers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimize matcher and matcher order.\n\n@param array $matchers\n\n@return array", "docstring_tokens": ["Optimize", "matcher", "and", "matcher", "order", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php#L54-L61", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php", "func_name": "MatcherOptimizer.optimizeMatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change matcher for a faster one, if available.\n\n@param \\Viserio\\Component\\Contract\\Routing\\SegmentMatcher $matcher\n\n@return \\Viserio\\Component\\Contract\\Routing\\SegmentMatcher", "docstring_tokens": ["Change", "matcher", "for", "a", "faster", "one", "if", "available", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php#L70-L97", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php", "func_name": "MatcherOptimizer.optimizeMatcherOrder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimizing the matcher order, unknown types are added last.\n\n@param array $matchers\n\n@return array", "docstring_tokens": ["Optimizing", "the", "matcher", "order", "unknown", "types", "are", "added", "last", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/MatcherOptimizer.php#L106-L129", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php", "func_name": "HttpExceptionServiceProvider.createHtmlDisplayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new HtmlDisplayer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Exception\\Displayer\\HtmlDisplayer", "docstring_tokens": ["Create", "a", "new", "HtmlDisplayer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php#L110-L116", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php", "func_name": "HttpExceptionServiceProvider.createViewDisplayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new ViewDisplayer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Exception\\Displayer\\ViewDisplayer", "docstring_tokens": ["Create", "a", "new", "ViewDisplayer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php#L161-L167", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php", "func_name": "HttpExceptionServiceProvider.createWhoopsPrettyDisplayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new WhoopsPrettyDisplayer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Exception\\Displayer\\WhoopsPrettyDisplayer", "docstring_tokens": ["Create", "a", "new", "WhoopsPrettyDisplayer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Provider/HttpExceptionServiceProvider.php#L176-L182", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/AbstractTransport.php", "func_name": "AbstractTransport.numberOfRecipients", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of recipients.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return int", "docstring_tokens": ["Get", "the", "number", "of", "recipients", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/AbstractTransport.php#L84-L91", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/Kernel.php", "func_name": "Kernel.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the kernel for HTTP requests.\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "kernel", "for", "HTTP", "requests", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/Kernel.php#L122-L164", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/Kernel.php", "func_name": "Kernel.handleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert request into response.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $serverRequest\n@param null|\\Viserio\\Component\\Contract\\Events\\EventManager $events\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Convert", "request", "into", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/Kernel.php#L174-L195", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/Kernel.php", "func_name": "Kernel.renderException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the exception to a response.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Throwable $exception\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Render", "the", "exception", "to", "a", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/Kernel.php#L221-L230", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/Kernel.php", "func_name": "Kernel.pipeRequestThroughMiddlewareAndRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pipes the request through given middleware and dispatch a response.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Viserio\\Component\\Contract\\Routing\\Router $router\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Pipes", "the", "request", "through", "given", "middleware", "and", "dispatch", "a", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/Kernel.php#L265-L280", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cron/Schedule.php", "func_name": "Schedule.compileParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile parameters for a command.\n\n@param array $parameters\n\n@return string", "docstring_tokens": ["Compile", "parameters", "for", "a", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cron/Schedule.php#L147-L164", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value at a given offset.\n\n@param string $offset\n@param mixed $value", "docstring_tokens": ["Set", "the", "value", "at", "a", "given", "offset", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L464-L471", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.getInvoker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a configured instance of invoker.\n\n@return \\Invoker\\InvokerInterface\n\n@codeCoverageIgnore", "docstring_tokens": ["Get", "a", "configured", "instance", "of", "invoker", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L514-L529", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.bindPlain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a plain value.\n\n@param string $abstract\n@param mixed $concrete", "docstring_tokens": ["Bind", "a", "plain", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L558-L565", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.bindService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a value which need to be resolved each time.\n\n@param string $abstract\n@param mixed $concrete", "docstring_tokens": ["Bind", "a", "value", "which", "need", "to", "be", "resolved", "each", "time", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L573-L580", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.bindSingleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a value which need to be resolved one time.\n\n@param string $abstract\n@param mixed $concrete", "docstring_tokens": ["Bind", "a", "value", "which", "need", "to", "be", "resolved", "one", "time", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L588-L595", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.resolvePlain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a plain value from the container.\n\n@param string $abstract\n\n@return mixed", "docstring_tokens": ["Resolve", "a", "plain", "value", "from", "the", "container", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L604-L610", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.resolveService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a service from the container.\n\n@param string $abstract\n@param array $parameters\n\n@return mixed", "docstring_tokens": ["Resolve", "a", "service", "from", "the", "container", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L620-L626", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.resolveSingleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a singleton from the container.\n\n@param string $abstract\n@param array $parameters\n\n@return mixed", "docstring_tokens": ["Resolve", "a", "singleton", "from", "the", "container", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L636-L644", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.extendResolved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend a resolved subject.\n\n@param string $abstract\n@param mixed $resolved\n\n@return void", "docstring_tokens": ["Extend", "a", "resolved", "subject", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L654-L671", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Container/Container.php", "func_name": "Container.contextualBindingFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format a class binding.\n\n@param \\Closure|object|string $implementation\n@param \\ReflectionClass $parameterClass\n\n@return mixed", "docstring_tokens": ["Format", "a", "class", "binding", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Container/Container.php#L694-L703", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.getMessageId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the message ID from the response.\n\n@param null|\\Psr\\Http\\Message\\ResponseInterface $response\n\n@return string", "docstring_tokens": ["Get", "the", "message", "ID", "from", "the", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L124-L133", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.convertEmailsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert email dictionary with emails and names\nto array of emails with names.\n\n@param string[] $emails\n\n@return array", "docstring_tokens": ["Convert", "email", "dictionary", "with", "emails", "and", "names", "to", "array", "of", "emails", "with", "names", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L143-L154", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.getMIMEPart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets MIME parts that match the message type.\nExcludes parts of type \\Swift_Mime_Attachment as those\nare handled later.\n\n@param \\Swift_Mime_SimpleMessage $message\n@param string $mimeType\n\n@return null|\\Swift_Mime_SimpleMimeEntity", "docstring_tokens": ["Gets", "MIME", "parts", "that", "match", "the", "message", "type", ".", "Excludes", "parts", "of", "type", "\\", "Swift_Mime_Attachment", "as", "those", "are", "handled", "later", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L166-L175", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.getMessagePayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a Swift Mime Message to a Postmark Payload.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Convert", "a", "Swift", "Mime", "Message", "to", "a", "Postmark", "Payload", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L184-L192", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.processRecipients", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the recipients of the message into the API Payload.\n\n@param array $payload\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Applies", "the", "recipients", "of", "the", "message", "into", "the", "API", "Payload", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L202-L233", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.processMessageParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the message parts and attachments\ninto the API Payload.\n\n@param array $payload\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Applies", "the", "message", "parts", "and", "attachments", "into", "the", "API", "Payload", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L244-L294", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/PostmarkTransport.php", "func_name": "PostmarkTransport.processHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the headers into the API Payload.\n\n@param array $payload\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Applies", "the", "headers", "into", "the", "API", "Payload", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/PostmarkTransport.php#L304-L341", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/Command/Traits/ServerCommandRequirementsCheckTrait.php", "func_name": "ServerCommandRequirementsCheckTrait.checkRequirements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the requirements for the command.\n\n@return int", "docstring_tokens": ["Check", "the", "requirements", "for", "the", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/Command/Traits/ServerCommandRequirementsCheckTrait.php#L31-L64", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFactory.php", "func_name": "ViewFactory.getExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the extension used by the view file.\n\n@param string $path\n\n@return null|string", "docstring_tokens": ["Get", "the", "extension", "used", "by", "the", "view", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFactory.php#L358-L371", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFactory.php", "func_name": "ViewFactory.getView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the right view object.\n\n@param \\Viserio\\Component\\Contract\\View\\Factory $factory\n@param \\Viserio\\Component\\Contract\\View\\Engine $engine\n@param string $view\n@param array $fileInfo\n@param array|\\Viserio\\Component\\Contract\\Support\\Arrayable $data\n\n@return \\Viserio\\Component\\View\\View", "docstring_tokens": ["Get", "the", "right", "view", "object", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFactory.php#L384-L392", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/View/ViewFactory.php", "func_name": "ViewFactory.endsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a given string ends with a given substring.\n\n@param string $haystack\n@param string $needle\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "given", "string", "ends", "with", "a", "given", "substring", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/View/ViewFactory.php#L402-L411", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/RequestCookies.php", "func_name": "RequestCookies.renderIntoCookieHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render Cookies into a Request.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return \\Psr\\Http\\Message\\ServerRequestInterface", "docstring_tokens": ["Render", "Cookies", "into", "a", "Request", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/RequestCookies.php#L53-L58", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/RequestCookies.php", "func_name": "RequestCookies.listFromCookieString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a list of Cookies from a Cookie header value string.\n\n@param string $string\n\n@return array", "docstring_tokens": ["Create", "a", "list", "of", "Cookies", "from", "a", "Cookie", "header", "value", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/RequestCookies.php#L67-L74", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Event/ConsoleErrorEvent.php", "func_name": "ConsoleErrorEvent.setError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces the thrown exception.\n\nThis exception will be thrown if no response is set in the event.\n\n@param \\Throwable $error\n\n@return void", "docstring_tokens": ["Replaces", "the", "thrown", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Event/ConsoleErrorEvent.php#L53-L57", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Event/ConsoleErrorEvent.php", "func_name": "ConsoleErrorEvent.setExitCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the exit code.\n\n@param int $exitCode The command exit code\n\n@throws \\ReflectionException\n\n@return void", "docstring_tokens": ["Sets", "the", "exit", "code", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Event/ConsoleErrorEvent.php#L68-L75", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.toRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the URL for a given route instance.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n@param array $parameters\n@param int $referenceType\n\n@return string", "docstring_tokens": ["Get", "the", "URL", "for", "a", "given", "route", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L175-L203", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.prepareRoutePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare route patch with all parameters and encode the path.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n@param array $parameters\n\n@return string", "docstring_tokens": ["Prepare", "route", "patch", "with", "all", "parameters", "and", "encode", "the", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L213-L236", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.isSchemeRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a scheme is required.\n\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "scheme", "is", "required", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L245-L257", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.addPortAndSchemeToUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the port and scheme to the uri if necessary.\n\n@param \\Psr\\Http\\Message\\UriInterface $uri\n@param \\Viserio\\Component\\Contract\\Routing\\Route $route\n\n@return \\Psr\\Http\\Message\\UriInterface", "docstring_tokens": ["Add", "the", "port", "and", "scheme", "to", "the", "uri", "if", "necessary", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L289-L306", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.replaceRouteParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace all of the wildcard parameters for a route path.\n\n@param string $path\n@param array $parameters\n\n@return string", "docstring_tokens": ["Replace", "all", "of", "the", "wildcard", "parameters", "for", "a", "route", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L316-L329", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.replaceNamedParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace all of the named parameters in the path.\n\n@param string $path\n@param array $parameters\n\n@return string", "docstring_tokens": ["Replace", "all", "of", "the", "named", "parameters", "in", "the", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L339-L352", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.addQueryString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a query string to the URI.\n\n@param string $uri\n@param array $parameters\n\n@return string", "docstring_tokens": ["Add", "a", "query", "string", "to", "the", "URI", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L362-L378", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Generator/UrlGenerator.php", "func_name": "UrlGenerator.getRouteQueryString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the query string for a given route.\n\n@param array $parameters\n\n@return string", "docstring_tokens": ["Get", "the", "query", "string", "for", "a", "given", "route", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Generator/UrlGenerator.php#L387-L416", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route.php", "func_name": "Route.parseWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse arguments to the where method into an array.\n\n@param array|string $name\n@param null|string $expression\n\n@return array", "docstring_tokens": ["Parse", "arguments", "to", "the", "where", "method", "into", "an", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route.php#L412-L425", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route.php", "func_name": "Route.getControllerMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the bound route controller middleware.\n\n@return array", "docstring_tokens": ["Get", "the", "bound", "route", "controller", "middleware", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route.php#L432-L445", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route.php", "func_name": "Route.getControllerDisabledMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the bound route controller disabled middleware.\n\n@return array", "docstring_tokens": ["Get", "the", "bound", "route", "controller", "disabled", "middleware", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route.php#L452-L465", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookieCollector.php", "func_name": "AbstractCookieCollector.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a request cookie to the stack.\n\n@param \\Viserio\\Component\\Contract\\Cookie\\Cookie|\\Viserio\\Component\\Cookie\\Cookie $cookie\n\n@throws \\Viserio\\Component\\Contract\\Cookie\\Exception\\InvalidArgumentException\n\n@return $this", "docstring_tokens": ["Add", "a", "request", "cookie", "to", "the", "stack", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookieCollector.php#L63-L78", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/AbstractCookieCollector.php", "func_name": "AbstractCookieCollector.splitCookiePair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split a string to array.\n\n@param string $string\n\n@return array", "docstring_tokens": ["Split", "a", "string", "to", "array", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/AbstractCookieCollector.php#L119-L134", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Response/Traits/InjectContentTypeTrait.php", "func_name": "InjectContentTypeTrait.injectContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inject the provided Content-Type, if none is already present.\n\n@param string $contentType\n@param array $headers\n\n@return array Headers with injected Content-Type", "docstring_tokens": ["Inject", "the", "provided", "Content", "-", "Type", "if", "none", "is", "already", "present", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Response/Traits/InjectContentTypeTrait.php#L15-L26", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Str.php", "func_name": "Str.words", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit the number of words in a string.\n\n@param string $value\n@param int $words\n@param string $end\n\n@return string", "docstring_tokens": ["Limit", "the", "number", "of", "words", "in", "a", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Str.php#L98-L107", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Str.php", "func_name": "Str.random", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a random string of a given length and character set.\n\n@param int $length How many characters do you want?\n@param string $characters Which characters to choose from\n\n@return string", "docstring_tokens": ["Generate", "a", "random", "string", "of", "a", "given", "length", "and", "character", "set", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Str.php#L130-L141", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Str.php", "func_name": "Str.replaceFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the first occurrence of a given value in the string.\n\n@param string $search\n@param string $replace\n@param string $subject\n\n@return string", "docstring_tokens": ["Replace", "the", "first", "occurrence", "of", "a", "given", "value", "in", "the", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Str.php#L238-L247", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Str.php", "func_name": "Str.replaceLast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the last occurrence of a given value in the string.\n\n@param string $search\n@param string $replace\n@param string $subject\n\n@return string", "docstring_tokens": ["Replace", "the", "last", "occurrence", "of", "a", "given", "value", "in", "the", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Str.php#L258-L263", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Str.php", "func_name": "Str.replaceByPosition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for replaceLast and replaceFirst.\n\n@param string $subject\n@param string $replace\n@param bool|int $position\n@param string $search\n\n@return string", "docstring_tokens": ["Helper", "function", "for", "replaceLast", "and", "replaceFirst", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Str.php#L275-L282", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.getVerbosity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the verbosity level in terms of Symfony's OutputInterface level.\n\n@param null|int|string $level\n\n@return int", "docstring_tokens": ["Get", "the", "verbosity", "level", "in", "terms", "of", "Symfony", "s", "OutputInterface", "level", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L132-L143", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the console command.\n\n@param \\Symfony\\Component\\Console\\Input\\InputInterface $input\n@param \\Symfony\\Component\\Console\\Output\\OutputInterface $output\n\n@return int", "docstring_tokens": ["Run", "the", "console", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L187-L196", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call another console command.\n\n@param string $command\n@param array $arguments\n\n@return int", "docstring_tokens": ["Call", "another", "console", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L206-L209", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.callSilent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call another console command silently.\n\n@param string $command\n@param array $arguments\n\n@return int", "docstring_tokens": ["Call", "another", "console", "command", "silently", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L219-L222", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.argument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a command argument.\n\n@param null|string $key\n\n@return null|array|string", "docstring_tokens": ["Get", "the", "value", "of", "a", "command", "argument", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L231-L238", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.option", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a command option.\n\n@param null|string $key\n\n@return null|array|string", "docstring_tokens": ["Get", "the", "value", "of", "a", "command", "option", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L247-L254", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.ask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prompt the user for input.\n\n@param string $question\n@param null|string $default\n\n@return null|string", "docstring_tokens": ["Prompt", "the", "user", "for", "input", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L289-L292", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.anticipate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prompt the user for input with auto completion.\n\n@param string $question\n@param array $choices\n@param string $default\n\n@return null|string", "docstring_tokens": ["Prompt", "the", "user", "for", "input", "with", "auto", "completion", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L303-L306", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.choice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Give the user a single choice from an array of answers.\n\n@param string $question\n@param array $choices\n@param null|string $default\n@param mixed $attempts\n@param bool $multiple\n\n@return null|string", "docstring_tokens": ["Give", "the", "user", "a", "single", "choice", "from", "an", "array", "of", "answers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L354-L366", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format input to textual table.\n\n@param array $headers\n@param array|\\Viserio\\Component\\Contract\\Support\\Arrayable $rows\n@param string $style\n@param array $columnStyles\n\n@return void", "docstring_tokens": ["Format", "input", "to", "textual", "table", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L378-L393", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.line", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as standard output.\n\n@param string $string\n@param null|string $style The output style of the string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "standard", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L404-L408", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.info", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as information output.\n\n@param string $string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "information", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L418-L421", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.comment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as comment output.\n\n@param string $string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "comment", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L431-L434", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.question", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as question output.\n\n@param string $string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "question", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L444-L447", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as error output.\n\n@param string $string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "error", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L457-L460", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.warn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a string as warning output.\n\n@param string $string\n@param null|int|string $verbosityLevel\n\n@return void", "docstring_tokens": ["Write", "a", "string", "as", "warning", "output", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L470-L478", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.configureUsingFluentDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the console command using a fluent definition.\n\n@throws \\Symfony\\Component\\Console\\Exception\\LogicException\n@throws \\Viserio\\Component\\Contract\\Console\\Exception\\InvalidCommandExpression\n\n@return void", "docstring_tokens": ["Configure", "the", "console", "command", "using", "a", "fluent", "definition", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L572-L585", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/AbstractCommand.php", "func_name": "AbstractCommand.specifyParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specify the arguments and options on the command.\n\n@return void", "docstring_tokens": ["Specify", "the", "arguments", "and", "options", "on", "the", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/AbstractCommand.php#L592-L604", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/SparkPostTransport.php", "func_name": "SparkPostTransport.getTransmissionId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the transmission ID from the response.\n\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@return null|string", "docstring_tokens": ["Get", "the", "transmission", "ID", "from", "the", "response", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/SparkPostTransport.php#L158-L171", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/SparkPostTransport.php", "func_name": "SparkPostTransport.getRecipients", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the addresses this message should be sent to.\n\nNote that SparkPost still respects CC, BCC headers in raw message itself.\n\n@param \\Swift_Mime_SimpleMessage $message\n\n@return array", "docstring_tokens": ["Get", "all", "the", "addresses", "this", "message", "should", "be", "sent", "to", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/SparkPostTransport.php#L182-L205", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Displayer/HtmlDisplayer.php", "func_name": "HtmlDisplayer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the page with given info.\n\n@param array $info\n\n@return string", "docstring_tokens": ["Render", "the", "page", "with", "given", "info", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Displayer/HtmlDisplayer.php#L113-L122", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.addShouldntReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the exception shouldn't be reported.\n\n@param \\Throwable $exception\n\n@return $this", "docstring_tokens": ["Determine", "if", "the", "exception", "shouldn", "t", "be", "reported", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L177-L182", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.report", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Report or log an exception.\n\n@param \\Throwable $exception\n\n@return void", "docstring_tokens": ["Report", "or", "log", "an", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L191-L216", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.addTransformer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the transformed instance.\n\n@param \\Viserio\\Component\\Contract\\Exception\\Transformer $transformer\n\n@return $this", "docstring_tokens": ["Add", "the", "transformed", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L225-L230", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert errors into ErrorException objects.\n\nThis method catches PHP errors and converts them into ErrorException objects;\nthese ErrorException objects are then thrown and caught by Viserio's\nbuilt-in or custom error handlers.\n\n@param int $type The numeric type of the Error\n@param string $message The error message\n@param string $file The absolute path to the affected file\n@param int $line The line number of the error in the affected file\n\n@throws \\Symfony\\Component\\Debug\\Exception\\FatalErrorException\n\n@return bool Returns false when no handling happens so that the PHP engine can handle the error itself\n\n@internal", "docstring_tokens": ["Convert", "errors", "into", "ErrorException", "objects", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L250-L265", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.handleShutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shutdown registered function for handling PHP fatal errors.\n\n@throws \\Throwable\n\n@return void\n\n@internal", "docstring_tokens": ["Shutdown", "registered", "function", "for", "handling", "PHP", "fatal", "errors", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L305-L333", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.registerExceptionHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the PHP exception handler.\n\n@return void", "docstring_tokens": ["Register", "the", "PHP", "exception", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L350-L360", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.registerShutdownHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the PHP shutdown handler.\n\n@return void", "docstring_tokens": ["Register", "the", "PHP", "shutdown", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L367-L373", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.prepareException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare exception in a fatal error handler.\n\n@param \\Error|\\Exception|\\Throwable $exception\n\n@return \\Error|\\Symfony\\Component\\Debug\\FatalErrorHandler\\FatalErrorHandlerInterface|\\Throwable", "docstring_tokens": ["Prepare", "exception", "in", "a", "fatal", "error", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L382-L402", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.getTransformed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the transformed exception.\n\n@param \\Throwable $exception\n\n@return \\Throwable", "docstring_tokens": ["Get", "the", "transformed", "exception", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L411-L423", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.getLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the exception level.\n\n@param \\Throwable $exception\n\n@return string", "docstring_tokens": ["Get", "the", "exception", "level", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L468-L481", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/ErrorHandler.php", "func_name": "ErrorHandler.shouldntReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the exception is in the \"do not report\" list.\n\n@param \\Throwable $exception\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "exception", "is", "in", "the", "do", "not", "report", "list", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/ErrorHandler.php#L490-L499", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper.php", "func_name": "Dumper.addDumper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new dumper.\n\n@param \\Viserio\\Component\\Contract\\Parser\\Dumper $dumper\n@param string $extension\n\n@return void", "docstring_tokens": ["Add", "a", "new", "dumper", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper.php#L84-L87", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper.php", "func_name": "Dumper.dump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dump data in your choosing format.\n\n@param array $data\n@param string $format\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\DumpException\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\NotSupportedException\n\n@return string", "docstring_tokens": ["Dump", "data", "in", "your", "choosing", "format", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper.php#L100-L105", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper.php", "func_name": "Dumper.getDumper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get supported dumper on extension or mime type.\n\n@param string $type\n\n@throws \\Viserio\\Component\\Contract\\Parser\\Exception\\NotSupportedException\n\n@return \\Viserio\\Component\\Contract\\Parser\\Dumper", "docstring_tokens": ["Get", "supported", "dumper", "on", "extension", "or", "mime", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper.php#L116-L133", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Mail/Transport/LogTransport.php", "func_name": "LogTransport.getMimeEntityString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a loggable string out of a Swiftmailer entity.\n\n@param \\Swift_Message $entity\n\n@return string", "docstring_tokens": ["Get", "a", "loggable", "string", "out", "of", "a", "Swiftmailer", "entity", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Mail/Transport/LogTransport.php#L59-L68", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Command/HyphenatedInputResolver.php", "func_name": "HyphenatedInputResolver.getParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to maps hyphenated parameters to a similarly-named,\nnon-hyphenated parameters in the function signature.\n\nE.g. `->call($callable, ['dry-run' => true])` will inject the boolean `true`\nfor a parameter named either `$dryrun` or `$dryRun`.\n\n@param \\ReflectionFunctionAbstract $reflection\n@param array $providedParameters\n@param array $resolvedParameters\n\n@return array", "docstring_tokens": ["Tries", "to", "maps", "hyphenated", "parameters", "to", "a", "similarly", "-", "named", "non", "-", "hyphenated", "parameters", "in", "the", "function", "signature", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Command/HyphenatedInputResolver.php#L31-L61", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/Extractor/PhpParser/ScalarString.php", "func_name": "ScalarString.codePointToUtf8", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a Unicode code point to its UTF-8 encoded representation.\n\n@param int $num Code point\n\n@return string UTF-8 representation of code point\n\n@codeCoverageIgnore", "docstring_tokens": ["Converts", "a", "Unicode", "code", "point", "to", "its", "UTF", "-", "8", "encoded", "representation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/Extractor/PhpParser/ScalarString.php#L181-L201", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Bus/Provider/QueueingBusServiceProvider.php", "func_name": "QueueingBusServiceProvider.registerBusQueueingDispatcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new QueueingDispatcher instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Bus\\QueueingDispatcher", "docstring_tokens": ["Create", "a", "new", "QueueingDispatcher", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Bus/Provider/QueueingBusServiceProvider.php#L44-L49", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/RouteTreeOptimizer.php", "func_name": "RouteTreeOptimizer.optimize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimizes the supplied route tree.\n\n@param array $routeTree\n\n@return array", "docstring_tokens": ["Optimizes", "the", "supplied", "route", "tree", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/RouteTreeOptimizer.php#L18-L27", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/TreeGenerator/Optimizer/RouteTreeOptimizer.php", "func_name": "RouteTreeOptimizer.extractCommonParentNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract parent nodes from route tree nood.\n\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\RouteTreeNode $node1\n@param \\Viserio\\Component\\Routing\\TreeGenerator\\RouteTreeNode $node2\n\n@return null|\\Viserio\\Component\\Routing\\TreeGenerator\\RouteTreeNode", "docstring_tokens": ["Extract", "parent", "nodes", "from", "route", "tree", "nood", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/TreeGenerator/Optimizer/RouteTreeOptimizer.php#L122-L155", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TracedStatement.php", "func_name": "TracedStatement.getSqlWithParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the SQL string with any parameters used embedded.\n\n@param string $quotationChar\n\n@return string", "docstring_tokens": ["Returns", "the", "SQL", "string", "with", "any", "parameters", "used", "embedded", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Profiler/DataCollector/Bridge/PDO/TracedStatement.php#L190-L212", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Util.php", "func_name": "Util.tryFopen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Safely opens a PHP stream resource using a filename.\n\nWhen fopen fails, PHP normally raises a warning. This function adds an\nerror handler that checks for errors and throws an exception instead.\n\n@param string $filename File to open\n@param string $mode Mode used to open the file\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\RuntimeException if the file cannot be opened\n\n@return false|resource", "docstring_tokens": ["Safely", "opens", "a", "PHP", "stream", "resource", "using", "a", "filename", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Util.php#L103-L126", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Util.php", "func_name": "Util.createStreamFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new stream based on the input type.\n\nOptions is an associative array that can contain the following keys:\n- metadata: Array of custom metadata.\n- size: Size of the stream.\n\n@param null|bool|callable|float|int|\\Iterator|resource|StreamInterface|string $resource Entity body data\n@param array $options Additional options\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException if the $resource arg is not valid\n\n@return \\Psr\\Http\\Message\\StreamInterface", "docstring_tokens": ["Create", "a", "new", "stream", "based", "on", "the", "input", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Util.php#L142-L193", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Util.php", "func_name": "Util.copyToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy the contents of a stream into a string until the given number of\nbytes have been read.\n\n@param \\Psr\\Http\\Message\\StreamInterface $stream Stream to read\n@param int $maxLen Maximum number of bytes to read. Pass -1\nto read the entire stream.\n\n@throws \\RuntimeException\n\n@return string", "docstring_tokens": ["Copy", "the", "contents", "of", "a", "stream", "into", "a", "string", "until", "the", "given", "number", "of", "bytes", "have", "been", "read", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Util.php#L207-L239", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Util.php", "func_name": "Util.copyToStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy the contents of a stream into another stream until the given number\nof bytes have been read.\n\n@param \\Psr\\Http\\Message\\StreamInterface $source Stream to read from\n@param \\Psr\\Http\\Message\\StreamInterface $dest Stream to write to\n@param int $maxLen Maximum number of bytes to read. Pass -1\nto read the entire stream.\n\n@throws \\RuntimeException", "docstring_tokens": ["Copy", "the", "contents", "of", "a", "stream", "into", "another", "stream", "until", "the", "given", "number", "of", "bytes", "have", "been", "read", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Util.php#L252-L287", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Util.php", "func_name": "Util.readline", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a line from the stream up to the maximum allowed buffer length.\n\n@param \\Psr\\Http\\Message\\StreamInterface $stream Stream to read from\n@param int $maxLength Maximum buffer length\n\n@return string", "docstring_tokens": ["Read", "a", "line", "from", "the", "stream", "up", "to", "the", "maximum", "allowed", "buffer", "length", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Util.php#L297-L318", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/CookieJar.php", "func_name": "CookieJar.setDefaultPathAndDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the default path and domain for the jar.\n\n@param string $path\n@param string $domain\n@param bool $secure\n\n@return $this", "docstring_tokens": ["Set", "the", "default", "path", "and", "domain", "for", "the", "jar", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/CookieJar.php#L126-L131", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/CookieJar.php", "func_name": "CookieJar.getPathAndDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path and domain, or the default values.\n\n@param null|string $path\n@param null|string $domain\n@param bool $secure\n\n@return array", "docstring_tokens": ["Get", "the", "path", "and", "domain", "or", "the", "default", "values", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/CookieJar.php#L150-L153", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Exception/Displayer/WhoopsPrettyDisplayer.php", "func_name": "WhoopsPrettyDisplayer.getHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Whoops handler.\n\n@return \\Whoops\\Handler\\Handler", "docstring_tokens": ["Get", "the", "Whoops", "handler", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Exception/Displayer/WhoopsPrettyDisplayer.php#L78-L93", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Request.php", "func_name": "Request.updateHostFromUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the host from the URI instance.\n\n@return void", "docstring_tokens": ["Retrieve", "the", "host", "from", "the", "URI", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Request.php#L162-L188", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Request.php", "func_name": "Request.filterMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the HTTP method.\n\n@param null|string $method\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException on invalid HTTP method\n\n@return string", "docstring_tokens": ["Validate", "the", "HTTP", "method", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Request.php#L199-L213", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Request.php", "func_name": "Request.createUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and return a URI instance.\n\nIf `$uri` is a already a `UriInterface` instance, returns it.\n\nIf `$uri` is a string, passes it to the `Uri` constructor to return an\ninstance.\n\nIf `$uri is null, creates and returns an empty `Uri` instance.\n\nOtherwise, it raises an exception.\n\n@param null|string|UriInterface $uri\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException\n\n@return \\Psr\\Http\\Message\\UriInterface", "docstring_tokens": ["Create", "and", "return", "a", "URI", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Request.php#L233-L250", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Traits/FilesystemExtensionTrait.php", "func_name": "FilesystemExtensionTrait.withoutExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the filename without the extension from a file path.\n\n@param string $path The path string\n@param null|string $extension If specified, only that extension is cut off\n(may contain leading dot)\n\n@return string Filename without extension", "docstring_tokens": ["Returns", "the", "filename", "without", "the", "extension", "from", "a", "file", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Traits/FilesystemExtensionTrait.php#L28-L38", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/Traits/FilesystemExtensionTrait.php", "func_name": "FilesystemExtensionTrait.changeExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Changes the extension of a path string.\n\n@param string $path The path string with filename.ext to change\n@param string $extension New extension (with or without leading dot)\n\n@return string The path string with new file extension", "docstring_tokens": ["Changes", "the", "extension", "of", "a", "path", "string", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/Traits/FilesystemExtensionTrait.php#L48-L73", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cache/Provider/CacheServiceProvider.php", "func_name": "CacheServiceProvider.createCacheManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a cache manger instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Viserio\\Component\\Contract\\Cache\\Manager", "docstring_tokens": ["Create", "a", "cache", "manger", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cache/Provider/CacheServiceProvider.php#L62-L68", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/StaticalProxy.php", "func_name": "StaticalProxy.shouldReceive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initiate a mock expectation on the static proxy.\n\n@return \\Mockery\\ExpectationInterface|\\Mockery\\HigherOrderMessage", "docstring_tokens": ["Initiate", "a", "mock", "expectation", "on", "the", "static", "proxy", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/StaticalProxy.php#L93-L104", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/StaticalProxy.php", "func_name": "StaticalProxy.resolveStaticalProxyInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the statical proxy root instance from the app.\n\n@param object|string $name\n\n@return object", "docstring_tokens": ["Resolve", "the", "statical", "proxy", "root", "instance", "from", "the", "app", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/StaticalProxy.php#L141-L152", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/StaticalProxy.php", "func_name": "StaticalProxy.isMock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether a mock is set as the instance of the static proxy.\n\n@return bool", "docstring_tokens": ["Determines", "whether", "a", "mock", "is", "set", "as", "the", "instance", "of", "the", "static", "proxy", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/StaticalProxy.php#L190-L196", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Bus/Dispatcher.php", "func_name": "Dispatcher.inflectSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the given handler segment for the given command.\n\n@param mixed $command\n@param int $segment\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Get", "the", "given", "handler", "segment", "for", "the", "given", "command", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Bus/Dispatcher.php#L170-L185", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Response/BinaryFileResponse.php", "func_name": "BinaryFileResponse.setFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a SplFileInfo to a Http File and check if the file exists.\n\n@param \\SplFileInfo|string|\\Viserio\\Component\\Http\\File\\File $file\n@param string $contentDisposition\n@param bool $autoETag\n@param bool $autoLastModified\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\FileNotFoundException\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\FileException\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Transform", "a", "SplFileInfo", "to", "a", "Http", "File", "and", "check", "if", "the", "file", "exists", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Response/BinaryFileResponse.php#L112-L166", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Response/BinaryFileResponse.php", "func_name": "BinaryFileResponse.setContentDisposition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Content-Disposition header with the given filename.\n\n@param string $disposition ResponseHeaderBag::DISPOSITION_INLINE or ResponseHeaderBag::DISPOSITION_ATTACHMENT\n@param string $filename Optionally use this UTF-8 encoded filename instead of the real name of the file\n@param string $filenameFallback A fallback filename, containing only ASCII characters. Defaults to an automatically encoded filename\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Sets", "the", "Content", "-", "Disposition", "header", "with", "the", "given", "filename", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Response/BinaryFileResponse.php#L206-L216", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Response/BinaryFileResponse.php", "func_name": "BinaryFileResponse.setAutoLastModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically sets the Last-Modified header according the file modification date.\n\n@return void", "docstring_tokens": ["Automatically", "sets", "the", "Last", "-", "Modified", "header", "according", "the", "file", "modification", "date", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Response/BinaryFileResponse.php#L223-L231", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Cookie/Cookie.php", "func_name": "Cookie.withValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the value.\n\n@param null|string $value\n\n@return $this", "docstring_tokens": ["Sets", "the", "value", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Cookie/Cookie.php#L78-L86", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Helper/TextDescriptor.php", "func_name": "TextDescriptor.describe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes an object if supported.\n\n@param \\Symfony\\Component\\Console\\Output\\OutputInterface $output\n@param \\Viserio\\Component\\Console\\Command\\AbstractCommand $object\n@param array $options\n\n@return void", "docstring_tokens": ["Describes", "an", "object", "if", "supported", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Helper/TextDescriptor.php#L24-L42", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Helper/TextDescriptor.php", "func_name": "TextDescriptor.describeCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Describes the application commands.\n\n@param \\Viserio\\Component\\Console\\Application $application\n@param \\Viserio\\Component\\Console\\Command\\AbstractCommand $command\n@param array $options\n\n@return void", "docstring_tokens": ["Describes", "the", "application", "commands", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Helper/TextDescriptor.php#L92-L126", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Console/Helper/TextDescriptor.php", "func_name": "TextDescriptor.getNamespaceSortedCommandInfos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort all application commands on namespace.\n\n@param array $commands\n\n@return array", "docstring_tokens": ["Sort", "all", "application", "commands", "on", "namespace", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Console/Helper/TextDescriptor.php#L135-L158", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php", "func_name": "ViserioHttpDataCollector.createCookieTab", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare request and response cookie infos and create a cookie tab.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $serverRequest\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@return array", "docstring_tokens": ["Prepare", "request", "and", "response", "cookie", "infos", "and", "create", "a", "cookie", "tab", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php#L259-L293", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php", "func_name": "ViserioHttpDataCollector.prepareRequestAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare request attributes, check of route object.\n\n@param array $attributes\n\n@return array", "docstring_tokens": ["Prepare", "request", "attributes", "check", "of", "route", "object", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php#L348-L372", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php", "func_name": "ViserioHttpDataCollector.prepareRequestHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare request headers.\n\n@param array $headers\n\n@return array", "docstring_tokens": ["Prepare", "request", "headers", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php#L381-L394", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php", "func_name": "ViserioHttpDataCollector.prepareServerParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare server parameter.\nHide all keys with a _KEY|_PASSWORD|_PW|_SECRET in it.\n\n@param array $params\n\n@return array", "docstring_tokens": ["Prepare", "server", "parameter", ".", "Hide", "all", "keys", "with", "a", "_KEY|_PASSWORD|_PW|_SECRET", "in", "it", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php#L404-L417", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php", "func_name": "ViserioHttpDataCollector.getParsedBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post Parameters from parsed body.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return array", "docstring_tokens": ["Post", "Parameters", "from", "parsed", "body", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/HttpFoundation/DataCollector/ViserioHttpDataCollector.php#L426-L439", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Dumper/IniDumper.php", "func_name": "IniDumper.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the supplied value into a valid ini representation.\n\n@param mixed $value\n\n@return string", "docstring_tokens": ["Converts", "the", "supplied", "value", "into", "a", "valid", "ini", "representation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Dumper/IniDumper.php#L68-L83", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemManager.php", "func_name": "FilesystemManager.cryptedConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a crypted aware connection instance.\n\n@param \\ParagonIE\\Halite\\Symmetric\\EncryptionKey $key\n@param null|string $name\n\n@return \\Viserio\\Component\\Filesystem\\Encryption\\EncryptionWrapper", "docstring_tokens": ["Get", "a", "crypted", "aware", "connection", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemManager.php#L38-L41", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemManager.php", "func_name": "FilesystemManager.getCacheConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cache configuration.\n\n@param string $name\n\n@throws \\Viserio\\Component\\Contract\\Filesystem\\Exception\\InvalidArgumentException\n\n@return array", "docstring_tokens": ["Get", "the", "cache", "configuration", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemManager.php#L109-L120", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemManager.php", "func_name": "FilesystemManager.adapt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adapt the filesystem implementation.\n\n@param \\League\\Flysystem\\AdapterInterface $adapter\n@param array $config\n\n@return \\Viserio\\Component\\Contract\\Filesystem\\Filesystem", "docstring_tokens": ["Adapt", "the", "filesystem", "implementation", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemManager.php#L130-L141", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Parser.php", "func_name": "Parser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the supplied route pattern into an array of route segments.\n\nExample: '/user/{id}/create'\nShould return: [\n\\Viserio\\Component\\Routing\\Matcher\\StaticMatcher{ $value => 'user' },\n\\Viserio\\Component\\Routing\\Matcher\\ParameterMatcher{ $name => 'id', $match => '[0-9]+' },\n\\Viserio\\Component\\Routing\\Matcher\\StaticMatcher{ $value => 'create' },\n]\n\n@param string $route\n@param string[] $conditions\n\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\InvalidArgumentException\n@throws \\Viserio\\Component\\Contract\\Routing\\Exception\\InvalidRoutePatternException\n\n@return array", "docstring_tokens": ["Parses", "the", "supplied", "route", "pattern", "into", "an", "array", "of", "route", "segments", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Parser.php#L33-L61", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Routing/Route/Parser.php", "func_name": "Parser.generateRegex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a segment regex.\n\n@param array $matches\n@param array $parameterPatterns\n\n@return string", "docstring_tokens": ["Generate", "a", "segment", "regex", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Routing/Route/Parser.php#L155-L172", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Support/Invoker.php", "func_name": "Invoker.getInvoker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a full configured invoker class.\n\n@return \\Invoker\\InvokerInterface", "docstring_tokens": ["Get", "a", "full", "configured", "invoker", "class", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Support/Invoker.php#L97-L123", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/StaticalProxy/Traits/ExistTrait.php", "func_name": "ExistTrait.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks various object types for existence.\n\n@param mixed $object\n@param bool $autoload\n\n@return bool", "docstring_tokens": ["Checks", "various", "object", "types", "for", "existence", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/StaticalProxy/Traits/ExistTrait.php#L15-L20", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Parser/Command/XliffLintCommand.php", "func_name": "XliffLintCommand.getTargetLanguageFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the target language from file.\n\n@param \\DOMDocument $xliffContents\n\n@return null|string", "docstring_tokens": ["Get", "the", "target", "language", "from", "file", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Parser/Command/XliffLintCommand.php#L119-L128", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/Provider/WebServerServiceProvider.php", "func_name": "WebServerServiceProvider.createVarDumpConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new VarDump Connection instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Symfony\\Component\\VarDumper\\Server\\Connection", "docstring_tokens": ["Create", "a", "new", "VarDump", "Connection", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/Provider/WebServerServiceProvider.php#L86-L103", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/WebServer/Provider/WebServerServiceProvider.php", "func_name": "WebServerServiceProvider.createDumpServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new DumpServer instance.\n\n@param \\Psr\\Container\\ContainerInterface $container\n\n@return \\Symfony\\Component\\VarDumper\\Server\\DumpServer", "docstring_tokens": ["Create", "a", "new", "DumpServer", "instance", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/WebServer/Provider/WebServerServiceProvider.php#L112-L136", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemAdapter.php", "func_name": "FilesystemAdapter.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a file exists.\n\n@param string $path\n\n@return bool", "docstring_tokens": ["Check", "whether", "a", "file", "exists", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemAdapter.php#L83-L96", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemAdapter.php", "func_name": "FilesystemAdapter.getTransformedPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get normalize or prefixed path.\n\n@param string $path\n\n@return string", "docstring_tokens": ["Get", "normalize", "or", "prefixed", "path", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemAdapter.php#L556-L565", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemAdapter.php", "func_name": "FilesystemAdapter.getContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get content from a dir.\n\n@param string $directory\n@param string $typ\n@param bool $recursive\n\n@return array", "docstring_tokens": ["Get", "content", "from", "a", "dir", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemAdapter.php#L602-L607", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Filesystem/FilesystemAdapter.php", "func_name": "FilesystemAdapter.filterContentsByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter directory contents by type.\n\n@param array $contents\n@param string $type\n\n@return array", "docstring_tokens": ["Filter", "directory", "contents", "by", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Filesystem/FilesystemAdapter.php#L617-L628", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php", "func_name": "VerifyCsrfTokenMiddleware.tokensMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the session and input CSRF tokens match.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return bool", "docstring_tokens": ["Determine", "if", "the", "session", "and", "input", "CSRF", "tokens", "match", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php#L94-L115", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php", "func_name": "VerifyCsrfTokenMiddleware.addCookieToResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the CSRF token to the response cookies.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n@param \\Psr\\Http\\Message\\ResponseInterface $response\n\n@throws \\InvalidArgumentException\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Add", "the", "CSRF", "token", "to", "the", "response", "cookies", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Session/Middleware/VerifyCsrfTokenMiddleware.php#L127-L145", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php", "func_name": "ViserioTranslationDataCollector.sanitizeCollectedMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize collected messages.\n\n@param array $messages\n\n@return array", "docstring_tokens": ["Sanitize", "collected", "messages", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php#L156-L179", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php", "func_name": "ViserioTranslationDataCollector.computeCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Counter for message types.\n\n@param array $messages\n\n@return array", "docstring_tokens": ["Counter", "for", "message", "types", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php#L188-L201", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php", "func_name": "ViserioTranslationDataCollector.getSortedMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sorte messages to the right type.\n\n@param array $messages\n\n@return array", "docstring_tokens": ["Sorte", "messages", "to", "the", "right", "type", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Translation/DataCollector/ViserioTranslationDataCollector.php#L210-L247", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Stream/AppendStream.php", "func_name": "AppendStream.addStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a stream to the AppendStream.\n\n@param \\Psr\\Http\\Message\\StreamInterface $stream Stream to append. Must be readable.\n\n@throws \\Viserio\\Component\\Contract\\Http\\Exception\\InvalidArgumentException if the stream is not readable", "docstring_tokens": ["Add", "a", "stream", "to", "the", "AppendStream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Stream/AppendStream.php#L78-L90", "partition": "test"} +{"repo": "narrowspark/framework", "path": "src/Viserio/Component/Http/Stream/AppendStream.php", "func_name": "AppendStream.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes each attached stream.\n\n{@inheritdoc}", "docstring_tokens": ["Closes", "each", "attached", "stream", "."], "sha": "6b45d64668f8551c1c3116bd4526a7060e121795", "url": "https://github.com/narrowspark/framework/blob/6b45d64668f8551c1c3116bd4526a7060e121795/src/Viserio/Component/Http/Stream/AppendStream.php#L105-L115", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoder.php", "func_name": "Decoder.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode image stream\n\n@return Decoded", "docstring_tokens": ["Decode", "image", "stream"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoder.php#L71-L115", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoder.php", "func_name": "Decoder.decodeExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode extension in image stream\n\n@param Decoded $gif\n@return void", "docstring_tokens": ["Decode", "extension", "in", "image", "stream"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoder.php#L123-L188", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoder.php", "func_name": "Decoder.decodeImageDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode Image Descriptor from image stream\n\n@param Decoded $gif\n@return void", "docstring_tokens": ["Decode", "Image", "Descriptor", "from", "image", "stream"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoder.php#L196-L238", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoder.php", "func_name": "Decoder.decodeImageData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode Image data from image stream\n\n@param Decoded $gif\n@return void", "docstring_tokens": ["Decode", "Image", "data", "from", "image", "stream"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoder.php#L246-L268", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/ServerPaginatedCollection.php", "func_name": "ServerPaginatedCollection.setOrderDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set orderDir property\n@param string $orderDir\n@throws CDRCollectionException", "docstring_tokens": ["set", "orderDir", "property"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/ServerPaginatedCollection.php#L209-L215", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/ServerPaginatedCollection.php", "func_name": "ServerPaginatedCollection.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get data set of collection\n@return array", "docstring_tokens": ["get", "data", "set", "of", "collection"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/ServerPaginatedCollection.php#L291-L298", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/ServerPaginatedCollection.php", "func_name": "ServerPaginatedCollection.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "load collection from API2", "docstring_tokens": ["load", "collection", "from", "API2"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/ServerPaginatedCollection.php#L303-L318", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.setCitiesFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to build City objects from multidimension array\n@param array $cities\n@return void", "docstring_tokens": ["method", "to", "build", "City", "objects", "from", "multidimension", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L211-L219", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.setPSTNNetworksFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to build PSTNNetwork objects from multidimension array\n@param array $networks\n@return void", "docstring_tokens": ["method", "to", "build", "PSTNNetwork", "objects", "from", "multidimension", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L226-L234", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.loadPSTNNetworks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to load pstn networks from API2\n@link http://open.didww.com/index.php/2._Get_DIDWW_PSTN_Rates read for details of API method\n@param string $networkPrefix\n@return \\Didww\\API2\\Country", "docstring_tokens": ["method", "to", "load", "pstn", "networks", "from", "API2"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L242-L258", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.loadCities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method load cities from API2\n@link http://open.didww.com/index.php/1._Get_DIDWW_Regions} read for details of API method\n@param string $prefix\n@return \\Didww\\API2\\Country", "docstring_tokens": ["method", "load", "cities", "from", "API2"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L266-L284", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method to get regions from DIDWW API\n\n@link http://open.didww.com/index.php/1._Get_DIDWW_Regions} read for details of API method\n@param string $iso if isset, returns only this country\n@return \\Didww\\API2\\Country[]", "docstring_tokens": ["Method", "to", "get", "regions", "from", "DIDWW", "API"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L293-L303", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Country.php", "func_name": "Country.getCity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method get city by id\n@param int $id\n@return \\Didww\\API2\\City\n@throws CountryException", "docstring_tokens": ["method", "get", "city", "by", "id"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Country.php#L325-L332", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/PBXww/Request.php", "func_name": "Request.pkcs5_pad", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fix of encryption\n@param $text\n@param $blocksize\n@return string", "docstring_tokens": ["Fix", "of", "encryption"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/PBXww/Request.php#L426-L430", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/PSTNNetwork.php", "func_name": "PSTNNetwork.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get collection of pstn rates\n@link http://open.didww.com/index.php/2._Get_DIDWW_PSTN_Rates\n@param string $lastRequestGmt\n@return \\Didww\\API2\\Countries[]", "docstring_tokens": ["get", "collection", "of", "pstn", "rates"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/PSTNNetwork.php#L177-L190", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/PSTNNetwork.php", "func_name": "PSTNNetwork.updateAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "update pstn rates from countries collection\n@link http://open.didww.com/index.php/3._Update_PSTN_Rates\n@param \\Didww\\API2\\Countries[] $countries", "docstring_tokens": ["update", "pstn", "rates", "from", "countries", "collection"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/PSTNNetwork.php#L197-L210", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/PSTNNetwork.php", "func_name": "PSTNNetwork.updateNetworks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "update pstn rates from pstnnetworks collection\n@link http://open.didww.com/index.php/3._Update_PSTN_Rates\n@param \\Didww\\API2\\PSTNNetwork[] $networks", "docstring_tokens": ["update", "pstn", "rates", "from", "pstnnetworks", "collection"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/PSTNNetwork.php#L218-L240", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Mapping.php", "func_name": "Mapping.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "factory to build mapping object by params array\n@param array $params array of key=>value properties\n@return Mapping", "docstring_tokens": ["factory", "to", "build", "mapping", "object", "by", "params", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Mapping.php#L168-L180", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.decodeDelay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns delay of current instance\n\n@return int", "docstring_tokens": ["Returns", "delay", "of", "current", "instance"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L129-L137", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.hasTransparentColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if instance has transparent colors\n\n@return boolean", "docstring_tokens": ["Determines", "if", "instance", "has", "transparent", "colors"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L144-L155", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.decodeDisposalMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes disposal method of frame\n\n@return integer", "docstring_tokens": ["Decodes", "disposal", "method", "of", "frame"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L224-L235", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes width and height of frame to size object\n\n@return StdClass", "docstring_tokens": ["Decodes", "width", "and", "height", "of", "frame", "to", "size", "object"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L274-L281", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.getOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes offsets into object\n\n@return StdClass", "docstring_tokens": ["Decodes", "offsets", "into", "object"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L320-L327", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Frame.php", "func_name": "Frame.setOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets frame offset\n\n@param integer $left\n@param integer $top", "docstring_tokens": ["Sets", "frame", "offset"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Frame.php#L335-L343", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.getCountry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get _country property\n@return Country", "docstring_tokens": ["get", "_country", "property"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L289-L296", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get object state as array\n@see parent::toArray()\n@param array $options\n@return array", "docstring_tokens": ["get", "object", "state", "as", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L309-L319", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.fromFlatList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create object from flat array\n@see parent::fromList()\n@param array $array", "docstring_tokens": ["create", "object", "from", "flat", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L327-L346", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create object from array\n@see parent::fromArray\n@param array $array", "docstring_tokens": ["create", "object", "from", "array"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L354-L368", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.createNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create DIDNumber using DIDWW API2\n@return Order", "docstring_tokens": ["create", "DIDNumber", "using", "DIDWW", "API2"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L387-L402", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Order.php", "func_name": "Order.generateUniqueHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generte uniqueHash for order create API call\n@return string", "docstring_tokens": ["generte", "uniqueHash", "for", "order", "create", "API", "call"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Order.php#L484-L495", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/ApiCredentials.php", "func_name": "ApiCredentials.generateAuthString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to generate authString property from userName and password properties\n@throws ApiCredentialsException\n@see http://open.didww.com/index.php/Authentication_Key", "docstring_tokens": ["method", "to", "generate", "authString", "property", "from", "userName", "and", "password", "properties"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/ApiCredentials.php#L172-L179", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/CDRInvoice.php", "func_name": "CDRInvoice.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "load amount from API2\n@return \\Didww\\API2\\CDRInvoice", "docstring_tokens": ["load", "amount", "from", "API2"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/CDRInvoice.php#L150-L159", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/ApiClient.php", "func_name": "ApiClient.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to call didww api 2 soap method\n@param string $method\n@param array $arguments\n@return mixed\n@throws ApiClientException", "docstring_tokens": ["method", "to", "call", "didww", "api", "2", "soap", "method"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/ApiClient.php#L204-L243", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.getFrame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns particular frame\n\n@param integer $index\n@return \\Intervention\\Image\\Gd\\Gif\\Frame", "docstring_tokens": ["Returns", "particular", "frame"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L207-L216", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.addOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds offset to first frame without offset\n\n@param integer $left\n@param integer $top", "docstring_tokens": ["Adds", "offset", "to", "first", "frame", "without", "offset"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L264-L271", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.addSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds size to first frame without size\n\n@param integer $width\n@param integer $height", "docstring_tokens": ["Adds", "size", "to", "first", "frame", "without", "size"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L279-L286", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.getLoops", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns loops of animation\n\n@return integer|null", "docstring_tokens": ["Returns", "loops", "of", "animation"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L345-L355", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.hasGlobalColorTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if image has global color table\n\n@return boolean", "docstring_tokens": ["Determines", "if", "image", "has", "global", "color", "table"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L362-L372", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.countGlobalColors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get number colors in global color palette\n\n@return int", "docstring_tokens": ["Get", "number", "colors", "in", "global", "color", "palette"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L379-L390", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.getBackgroundColorIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns background color index\n\n@return integer", "docstring_tokens": ["Returns", "background", "color", "index"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L397-L407", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.addToFirstFrameWithoutProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds value to first frame without this particular value\n\n@param mixed $value\n@param mixed $property", "docstring_tokens": ["Adds", "value", "to", "first", "frame", "without", "this", "particular", "value"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L415-L432", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Decoded.php", "func_name": "Decoded.newFrameWithProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds new frame with given property\n\n@param mixed $property\n@param mixed $value\n@return void", "docstring_tokens": ["Adds", "new", "frame", "with", "given", "property"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Decoded.php#L441-L445", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Object.php", "func_name": "Object.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert object to array with snaked keys\n@param array $options\n@return array", "docstring_tokens": ["convert", "object", "to", "array", "with", "snaked", "keys"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Object.php#L130-L143", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Balance.php", "func_name": "Balance._getAllBalances", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to return list of all balances from API\n@return array", "docstring_tokens": ["method", "to", "return", "list", "of", "all", "balances", "from", "API"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Balance.php#L81-L89", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Balance.php", "func_name": "Balance.getBalanceArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to return list of all balances indexed by customer id\n@link http://open.didww.com/index.php/16._Get_Prepaid_Balance_List\n@todo change name to getArray\n@return array", "docstring_tokens": ["method", "to", "return", "list", "of", "all", "balances", "indexed", "by", "customer", "id"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Balance.php#L97-L104", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Balance.php", "func_name": "Balance.getBalanceList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to return list of DidwwBalance objects from API\n@link http://open.didww.com/index.php/16._Get_Prepaid_Balance_List\n@todo change name to getList\n@return array", "docstring_tokens": ["method", "to", "return", "list", "of", "DidwwBalance", "objects", "from", "API"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Balance.php#L113-L124", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Balance.php", "func_name": "Balance.changeBalance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to change customer balance with funds value\n@link http://open.didww.com/index.php/10._Update_Prepaid_Balance\n@param float $funds\n@param string $transactionId d5 hash of transaction to avoid duplications\n@return Balance\n@throws BalanceException", "docstring_tokens": ["method", "to", "change", "customer", "balance", "with", "funds", "value"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Balance.php#L193-L221", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/Balance.php", "func_name": "Balance.synchronizePrepaidBalance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "method to set current value of customer balance from API\n@link http://open.didww.com/index.php/9._Get_Prepaid_Balance\n@return Balance", "docstring_tokens": ["method", "to", "set", "current", "value", "of", "customer", "balance", "from", "API"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/Balance.php#L250-L262", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.setCanvas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set canvas dimensions\n\n@param int $width\n@param int $height\n@return \\Intervention\\Image\\Gd\\Gif\\Encoder", "docstring_tokens": ["Set", "canvas", "dimensions"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L56-L62", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.setFromDecoded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup encoder from Decoded object\n\n@param Decoded $decoded\n@param int|null $frameIndex\n@return \\Intervention\\Image\\Gd\\Gif\\Encoder", "docstring_tokens": ["Setup", "encoder", "from", "Decoded", "object"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L131-L159", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.createFrameFromGdResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and add new frame from GD resource\n\n@param resource $resource\n@param integer $delay\n@return void", "docstring_tokens": ["Create", "and", "add", "new", "frame", "from", "GD", "resource"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L178-L190", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode image data\n\n@return string", "docstring_tokens": ["Encode", "image", "data"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L197-L220", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.buildLogicalScreenDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build logical screen descriptor\n\n@return string", "docstring_tokens": ["Build", "logical", "screen", "descriptor"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L227-L263", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.buildNetscapeExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build Netscape extension\n\n@return string", "docstring_tokens": ["Build", "Netscape", "extension"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L270-L282", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.buildFrame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build encoded Frame\n\n@param Frame $frame\n@return string", "docstring_tokens": ["Build", "encoded", "Frame"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L290-L302", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.buildGraphicsControlExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build encoded graphics control extension for frame\n\n@param Frame $frame\n@return string", "docstring_tokens": ["Build", "encoded", "graphics", "control", "extension", "for", "frame"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L310-L341", "partition": "test"} +{"repo": "Intervention/gif", "path": "src/Intervention/Gif/Encoder.php", "func_name": "Encoder.buildImageDescriptor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build encoded image descriptor for frame\n\n@param Frame $frame\n@return string", "docstring_tokens": ["Build", "encoded", "image", "descriptor", "for", "frame"], "sha": "7f7e747f26b8362f18384f67a9765290523f607a", "url": "https://github.com/Intervention/gif/blob/7f7e747f26b8362f18384f67a9765290523f607a/src/Intervention/Gif/Encoder.php#L349-L393", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create did number for order\n@link http://open.didww.com/index.php/5._Order_Create\n@param Order $order\n@return DIDNumber", "docstring_tokens": ["create", "did", "number", "for", "order"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L430-L438", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber.changeAutorenew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "change API2 order autorenew enable\n@param bool $flag", "docstring_tokens": ["change", "API2", "order", "autorenew", "enable"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L444-L452", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber.renew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "renew order for current period\n@link http://open.didww.com/index.php/7._Order_Autorenew\n@return DIDNumber", "docstring_tokens": ["renew", "order", "for", "current", "period"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L459-L474", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber._reload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "reload didnumber by number or order id\n@param string $didNumber\n@param string $orderId", "docstring_tokens": ["reload", "didnumber", "by", "number", "or", "order", "id"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L569-L578", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber.updateMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "update mapping of did number\n@link http://open.didww.com/index.php/8._Update_Mapping\n@param Mapping $newMapping", "docstring_tokens": ["update", "mapping", "of", "did", "number"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L585-L595", "partition": "test"} +{"repo": "didww/php-sdk", "path": "src/Didww/API2/DIDNumber.php", "func_name": "DIDNumber.generateUniqueHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generate unique hash for did renew operation\n@return string", "docstring_tokens": ["generate", "unique", "hash", "for", "did", "renew", "operation"], "sha": "ee406862bceeb67bc6796f52f2bd60e103cd8de3", "url": "https://github.com/didww/php-sdk/blob/ee406862bceeb67bc6796f52f2bd60e103cd8de3/src/Didww/API2/DIDNumber.php#L656-L667", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Origins/AbstractOrigin.php", "func_name": "AbstractOrigin.isIpInRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if a target IP address is within a particular IP address range.\n\n@param string $targetIp The IP address to check\n@param string $rangeIp The IP address defining the range\n@param int $cidrMask The CIDR notation net mask defining the range\n\n@return bool True if the target IP falls within the specified range. Otherwise false.", "docstring_tokens": ["Determines", "if", "a", "target", "IP", "address", "is", "within", "a", "particular", "IP", "address", "range", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Origins/AbstractOrigin.php#L72-L78", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.getParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the parameter with the the given name, or return the default\nvalue if the parameter is not set.\n\n@param string $name The parameter name.\n@param mixed $default The returned default value if the parameter is not set.\n@return mixed", "docstring_tokens": ["Get", "the", "parameter", "with", "the", "the", "given", "name", "or", "return", "the", "default", "value", "if", "the", "parameter", "is", "not", "set", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L129-L132", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.linkMetaService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure the metadata and key are linked both ways.\n\n@param string $serviceName\n@param string $key\n@return void", "docstring_tokens": ["Make", "sure", "the", "metadata", "and", "key", "are", "linked", "both", "ways", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L173-L183", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.setMetaData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set metadata for a specific service\nThis will override all meta data matching service and key.\n\n@param string $serviceName\n@param string $key\n@param array $values multidimensional array\n\n@return void", "docstring_tokens": ["Set", "metadata", "for", "a", "specific", "service", "This", "will", "override", "all", "meta", "data", "matching", "service", "and", "key", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L195-L218", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.addMetaData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Same as `setMetaData` but will append the data instead of overriding.\n\n@param string $serviceName\n@param string $key\n@param array $values\n\n@return void", "docstring_tokens": ["Same", "as", "setMetaData", "but", "will", "append", "the", "data", "instead", "of", "overriding", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L229-L249", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a service from the container and releases the shared instance\nif it has been loaded.\n\n@param string $serviceName The name / Identifier of the service to look for.\n\n@return bool Returns true if the service has been removed.", "docstring_tokens": ["Removes", "a", "service", "from", "the", "container", "and", "releases", "the", "shared", "instance", "if", "it", "has", "been", "loaded", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L314-L346", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.release", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Release a shared resolved service from the container. This\nwill force the service to reload when accessed again.\n\n@param string $serviceName\n\n@return bool Return false on failure.", "docstring_tokens": ["Release", "a", "shared", "resolved", "service", "from", "the", "container", ".", "This", "will", "force", "the", "service", "to", "reload", "when", "accessed", "again", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L380-L388", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a service from the container.\n\n@throws UnknownServiceException When a service could not be found or is unresolvable.\n\n@param string $serviceName The name / Identifier of the service to look for.\n\n@return mixed The requested service.", "docstring_tokens": ["Retrieve", "a", "service", "from", "the", "container", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L399-L445", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.createInstanceFromFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a service instance from the given factory object.\n\n@param ServiceFactoryInterface|Closure $factory The factory object.\n\n@return mixed The instance of created by the factory object.", "docstring_tokens": ["Resolve", "a", "service", "instance", "from", "the", "given", "factory", "object", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L454-L467", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.resolveServiceProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves a service instance from a provider and stores the\nresult inside the shared services if needed.\n\n@param string $name The service name.\n\n@return mixed The service instance created by the provider.", "docstring_tokens": ["Resolves", "a", "service", "instance", "from", "a", "provider", "and", "stores", "the", "result", "inside", "the", "shared", "services", "if", "needed", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L477-L486", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a service provider.\nThis will call the `provides` method on the given service provider instance.\n\n@param ServiceProviderInterface $provider The service provider instance.\n@return void", "docstring_tokens": ["Register", "a", "service", "provider", ".", "This", "will", "call", "the", "provides", "method", "on", "the", "given", "service", "provider", "instance", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L519-L526", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds a service factory to the container.\n\n$container->bind('session', new SessionFactory);\n\n$container->bind('config', function($c) {\nreturn new Config($c->get('config.loader'));\n}, false);\n\n$container->bind('router', '\\\\Routing\\\\Router')\n->addDependencyArgument('config');\n\n@param string $name The service name.\n@param mixed $factory The service factory instance, the closure or the classname as string\n@param bool $shared Should the service be shared inside the container.\n\n@return Closure|ServiceFactoryInterface The given or generated service factory.", "docstring_tokens": ["Binds", "a", "service", "factory", "to", "the", "container", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L546-L555", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.bindClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and binds a service factory by class name and arguments.\n\n@param string $name The service name.\n@param string $className The service class name.\n@param array $arguments An array of arguments.\n@param bool $shared Should the service be shared inside the container.\n\n@return ServiceFactory The created service factory", "docstring_tokens": ["Creates", "and", "binds", "a", "service", "factory", "by", "class", "name", "and", "arguments", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L567-L578", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.bindFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds an unshared factory instance to the service container.\n\n@param string $name The service name.\n@param ServiceFactoryInterface|Closure $factory The service factory instance or closure.\n@return void", "docstring_tokens": ["Binds", "an", "unshared", "factory", "instance", "to", "the", "service", "container", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L587-L591", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.bindFactoryShared", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds a shared factory instance to the service container.\n\n@param string $name The service name.\n@param ServiceFactoryInterface|Closure $factory The service factory instance or closure.\n@return void", "docstring_tokens": ["Binds", "a", "shared", "factory", "instance", "to", "the", "service", "container", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L600-L604", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/Container.php", "func_name": "Container.getServiceResolverType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the resolver type of the given service name.\n\n@param string $serviceName\n@return int", "docstring_tokens": ["Get", "the", "resolver", "type", "of", "the", "given", "service", "name", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/Container.php#L625-L633", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceArguments.php", "func_name": "ServiceArguments.addArgument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a service argument of type\n\n@param mixed $argumentValue\n@param int $argumentType\n@return self", "docstring_tokens": ["Add", "a", "service", "argument", "of", "type"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceArguments.php#L63-L66", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceArguments.php", "func_name": "ServiceArguments.addArgumentsFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add arguments with a simple array\n\n- @ prefix indicates dependency\n- : prefix indicates parameter\n\n@param array $argumentsArray\n@return void", "docstring_tokens": ["Add", "arguments", "with", "a", "simple", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceArguments.php#L110-L125", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceArguments.php", "func_name": "ServiceArguments.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the current arguments from the given container instance and\nreturn them as array\n\n@param Container $container\n@return array", "docstring_tokens": ["Resolve", "the", "current", "arguments", "from", "the", "given", "container", "instance", "and", "return", "them", "as", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceArguments.php#L134-L154", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceFactory.php", "func_name": "ServiceFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct your object, or value based on the given container.\n\n@param Container $container\n@return mixed", "docstring_tokens": ["Construct", "your", "object", "or", "value", "based", "on", "the", "given", "container", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceFactory.php#L19-L29", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.setTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the tokens of the current parser\n\n@param array[T] $tokens\n@return void", "docstring_tokens": ["Set", "the", "tokens", "of", "the", "current", "parser"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L74-L84", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.currentToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrives the current token based on the index\n\n@return T", "docstring_tokens": ["Retrives", "the", "current", "token", "based", "on", "the", "index"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L132-L140", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.nextToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the next token based on the current index\nIf the token does not exist because its off index \"false\" is returend.\n\n@param int $i\n@return T|false", "docstring_tokens": ["Get", "the", "next", "token", "based", "on", "the", "current", "index", "If", "the", "token", "does", "not", "exist", "because", "its", "off", "index", "false", "is", "returend", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L149-L156", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.skipTokenOfType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Skip all upcoming tokens of the given type\n\n@param array[int] $types\n@return void", "docstring_tokens": ["Skip", "all", "upcoming", "tokens", "of", "the", "given", "type"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L175-L181", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.getRemainingTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all remaining tokens\n\n@param string $skip\n@return array[T]", "docstring_tokens": ["Return", "all", "remaining", "tokens"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L199-L214", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.getTokensUntil", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all tokens until the next token with given type\n\n@param int $type\n@param bool $ignoreScopes if enabled, if the token is inside a new scope its ignored.\n@return array[T]", "docstring_tokens": ["Get", "all", "tokens", "until", "the", "next", "token", "with", "given", "type"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L223-L247", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.getTokensUntilClosingScope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retruns all tokens until the opened scope is closed again\n\n@return array[T]", "docstring_tokens": ["Retruns", "all", "tokens", "until", "the", "opened", "scope", "is", "closed", "again"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L254-L298", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.errorUnexpectedToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new unexpected token exception\n\n@param T $token\n@return ContainerParserException", "docstring_tokens": ["Create", "new", "unexpected", "token", "exception"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L306-L312", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.parseChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a new parser with the remaining or given tokens\n\n@param string $parserClassName\n@param array $tokens\n@param bool $skip\n@return Node", "docstring_tokens": ["Starts", "a", "new", "parser", "with", "the", "remaining", "or", "given", "tokens"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L322-L340", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerParser.php", "func_name": "ContainerParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the code parser and return the result\n\n@return array", "docstring_tokens": ["Start", "the", "code", "parser", "and", "return", "the", "result"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerParser.php#L347-L365", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.setContainerName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the container name\nThis will also update the \"containerClassName\" and \"containerNamespace\"\n\n@param string $containerName\n@return void", "docstring_tokens": ["Sets", "the", "container", "name", "This", "will", "also", "update", "the", "containerClassName", "and", "containerNamespace"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L88-L108", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a service by string and arguments array.\n\n@param string $serviceName\n@param string $serviceClass\n@param array $serviceArguments\n@param bool $shared\n@return ServiceDefinition", "docstring_tokens": ["Add", "a", "service", "by", "string", "and", "arguments", "array", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L169-L175", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.addArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add services by an array\n\n@param array $serviceArray\n@return void", "docstring_tokens": ["Add", "services", "by", "an", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L183-L189", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.addService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a service definition instance to the container builder.\n\n@param string $serviceName\n@param ServiceDefinitionInterface $serviceDefinition\n@return void", "docstring_tokens": ["Add", "a", "service", "definition", "instance", "to", "the", "container", "builder", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L198-L220", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.importNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import data from a container namespace\n\n@param ContainerNamespace $namespace\n@return void", "docstring_tokens": ["Import", "data", "from", "a", "container", "namespace"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L228-L238", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.invalidServiceBuilderString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the given string is valid and not numeric &\n\n@param string $value\n@return bool", "docstring_tokens": ["Checks", "if", "the", "given", "string", "is", "valid", "and", "not", "numeric", "&"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L246-L273", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateNormalizedServiceName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the \"normalizedServiceNames\" array.\n\n@param string $serviceName\n@return void", "docstring_tokens": ["Generates", "the", "normalizedServiceNames", "array", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L292-L305", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the container class code string\n\n@return string", "docstring_tokens": ["Generate", "the", "container", "class", "code", "string"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L312-L336", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.getResolverMethodName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the service resolver method name for the given service\n\n@param string $serviceName\n@return string", "docstring_tokens": ["Generate", "the", "service", "resolver", "method", "name", "for", "the", "given", "service"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L344-L352", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateArgumentsCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate arguments code\n\n@param ServiceArguments $arguments\n@return string", "docstring_tokens": ["Generate", "arguments", "code"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L360-L408", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateMetaData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the containers parameter property\n\n@return string", "docstring_tokens": ["Generate", "the", "containers", "parameter", "property"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L425-L452", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateResolverTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the resolver types array\n\n@return string", "docstring_tokens": ["Generate", "the", "resolver", "types", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L459-L469", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateResolverMappings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the resolver mappings array\n\n@return string", "docstring_tokens": ["Generate", "the", "resolver", "mappings", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L476-L486", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.generateResolverMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the resolver methods\n\n@return string", "docstring_tokens": ["Generate", "the", "resolver", "methods"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerBuilder.php#L493-L526", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ValueNode.php", "func_name": "ValueNode.fromToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create value node from the given token\n\n@param Token $token\n@return ValueNode", "docstring_tokens": ["Create", "value", "node", "from", "the", "given", "token"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ValueNode.php#L25-L33", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ValueNode.php", "func_name": "ValueNode.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if the given type and assing it\n\n@param int \t\t\t\t$type\n@return void", "docstring_tokens": ["Validate", "if", "the", "given", "type", "and", "assing", "it"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ValueNode.php#L110-L124", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ComposerContainerFileLoader.php", "func_name": "ComposerContainerFileLoader.generateMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method will generate a mapping file\nof container files found in required composer packages.\nThis mapping file can be imported into a container namespace.\n\n@param Event $event", "docstring_tokens": ["This", "method", "will", "generate", "a", "mapping", "file", "of", "container", "files", "found", "in", "required", "composer", "packages", ".", "This", "mapping", "file", "can", "be", "imported", "into", "a", "container", "namespace", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ComposerContainerFileLoader.php#L24-L71", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Token.php", "func_name": "Token.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tokens value as php native type.\n\n@return mixed", "docstring_tokens": ["Get", "the", "tokens", "value", "as", "php", "native", "type", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Token.php#L111-L139", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Token.php", "func_name": "Token.isValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is this a value token?\n\n@return bool", "docstring_tokens": ["Is", "this", "a", "value", "token?"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Token.php#L146-L154", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ArrayNode.php", "func_name": "ArrayNode.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if an element with the given key already exists\n\n@param string|int $key\n@return bool", "docstring_tokens": ["Checks", "if", "an", "element", "with", "the", "given", "key", "already", "exists"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ArrayNode.php#L61-L70", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ArrayNode.php", "func_name": "ArrayNode.push", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pushes an assignable node to the array elements\n\n@param AssignableNode $value\n@return void", "docstring_tokens": ["Pushes", "an", "assignable", "node", "to", "the", "array", "elements"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ArrayNode.php#L78-L86", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ArrayNode.php", "func_name": "ArrayNode.convertToNativeArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the current array to a PHP array\nThis will throw an exception when the array contains a reference\nto a service or parameter\n\n@return array", "docstring_tokens": ["Converts", "the", "current", "array", "to", "a", "PHP", "array", "This", "will", "throw", "an", "exception", "when", "the", "array", "contains", "a", "reference", "to", "a", "service", "or", "parameter"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ArrayNode.php#L95-L115", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerLexer.php", "func_name": "ContainerLexer.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the next token from our code\n\n@throws ContainerLexerException\n\n@return string|false Returns `false` if everything has been parsed and we are done.", "docstring_tokens": ["Get", "the", "next", "token", "from", "our", "code"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerLexer.php#L137-L159", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerLexer.php", "func_name": "ContainerLexer.tokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the lexer and retrieve all resulting tokens.\n\n@return array[Token]", "docstring_tokens": ["Start", "the", "lexer", "and", "retrieve", "all", "resulting", "tokens", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerLexer.php#L166-L185", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles incoming webhook requests.", "docstring_tokens": ["Handles", "incoming", "webhook", "requests", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L95-L136", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.ex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a shell command, logs, and handles the result.\n\n@param AdamBrett\\ShellWrapper\\CommandInterface $cmd The text of the command to be run\n\n@return bool True if the command was successful, false on error", "docstring_tokens": ["Runs", "a", "shell", "command", "logs", "and", "handles", "the", "result", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L145-L158", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.backupDatabase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Backup the database.\n\n@return bool True if the database was successfully backed up. False on error.", "docstring_tokens": ["Backup", "the", "database", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L165-L207", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.pull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new directory parallel to the webroot and clone the project into that directory.\n\n@return bool True if the clone is successful. False otherwise.", "docstring_tokens": ["Create", "a", "new", "directory", "parallel", "to", "the", "webroot", "and", "clone", "the", "project", "into", "that", "directory", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L214-L234", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.copyEnv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy the .env file from the new deploy directory.\n\n@return bool True if the update is successful. False otherwise.", "docstring_tokens": ["Copy", "the", ".", "env", "file", "from", "the", "new", "deploy", "directory", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L241-L248", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.composer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update composer and run composer update.\n\n@return bool True if the update is successful. False otherwise.", "docstring_tokens": ["Update", "composer", "and", "run", "composer", "update", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L255-L268", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.npm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run npm update.\n\n@return bool True if npm is successful. False otherwise.", "docstring_tokens": ["Run", "npm", "update", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L275-L284", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.seed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run any necessary database migrations.\n\n@return bool True if the migration is successful. False otherwise.", "docstring_tokens": ["Run", "any", "necessary", "database", "migrations", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L310-L320", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Controllers/DeployController.php", "func_name": "DeployController.deploy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Symlinks the new deploy directory to the webroot.\n\n@return bool True if the symlink is successful. False otherwise.", "docstring_tokens": ["Symlinks", "the", "new", "deploy", "directory", "to", "the", "webroot", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Controllers/DeployController.php#L327-L338", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceProviderArray.php", "func_name": "ServiceProviderArray.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a service with the given name\n\n@param string $serviceName\n@param Container $container\n@return array[mixed, bool]", "docstring_tokens": ["Resolve", "a", "service", "with", "the", "given", "name"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceProviderArray.php#L56-L78", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerFactory.php", "func_name": "ContainerFactory.setCacheDirecotry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the cache directory\n\n@param string $cacheDirectory\n@return void", "docstring_tokens": ["Set", "the", "cache", "directory"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerFactory.php#L59-L67", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerFactory.php", "func_name": "ContainerFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a container with the given name. You can pass an\narray with services\n\n@param string $containerName\n@param callable $builderCallback\n@param array $initalParameters\n\n@return Container The generated container instnace.", "docstring_tokens": ["Create", "a", "container", "with", "the", "given", "name", ".", "You", "can", "pass", "an", "array", "with", "services"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerFactory.php#L89-L123", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Middleware/VerifyDeployRequest.php", "func_name": "VerifyDeployRequest.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the HTTP request.\n\n@param Illuminate\\Http\\Request $request The request\n@param Closure $next Mechanism for passing the result down the pipeline to the next piece of middleware\n\n@return Illuminate\\Http\\Response A Response object that is passed to the next piece of middleware", "docstring_tokens": ["Handles", "the", "HTTP", "request", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Middleware/VerifyDeployRequest.php#L28-L51", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerNamespace.php", "func_name": "ContainerNamespace.importFromVendor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Import paths from vendor container map\n\n@param string $vendorDir\n@return void", "docstring_tokens": ["Import", "paths", "from", "vendor", "container", "map"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerNamespace.php#L74-L85", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerNamespace.php", "func_name": "ContainerNamespace.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the given path name binded?\n\n@param string $name The container files path key.\n@return bool", "docstring_tokens": ["Is", "the", "given", "path", "name", "binded?"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerNamespace.php#L159-L162", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerNamespace.php", "func_name": "ContainerNamespace.getCodeFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simply returns the contents of the given file\n\n@param return string $containerFilePath The path to a container file.\n@return string", "docstring_tokens": ["Simply", "returns", "the", "contents", "of", "the", "given", "file"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerNamespace.php#L170-L178", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerNamespace.php", "func_name": "ContainerNamespace.getCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the code of in the current namespace binded file.\n\n@return string $name The container files path key.", "docstring_tokens": ["Returns", "the", "code", "of", "in", "the", "current", "namespace", "binded", "file", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerNamespace.php#L185-L193", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerNamespace.php", "func_name": "ContainerNamespace.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the given container file with the current namespace\n\n@param string $containerFilePath The path to a container file.", "docstring_tokens": ["Parse", "the", "given", "container", "file", "with", "the", "current", "namespace"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerNamespace.php#L200-L211", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerInterpreter.php", "func_name": "ContainerInterpreter.handleScope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a container file scope\n\n@param ScopeNode \t\t\t$scope\n@return void", "docstring_tokens": ["Handle", "a", "container", "file", "scope"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerInterpreter.php#L65-L86", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerInterpreter.php", "func_name": "ContainerInterpreter.handleScopeImport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a scope import statement\n\n@param ScopeImportNode $import\n@return void", "docstring_tokens": ["Handle", "a", "scope", "import", "statement"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerInterpreter.php#L94-L115", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerInterpreter.php", "func_name": "ContainerInterpreter.handleParameterDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a parameter definition\n\n@param ParameterDefinitionNode \t\t\t$definition\n@return void", "docstring_tokens": ["Handle", "a", "parameter", "definition"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerInterpreter.php#L123-L139", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerInterpreter.php", "func_name": "ContainerInterpreter.createServiceArgumentsFromNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create final service arguments from an arguments array node\n\n@param ArgumentArrayNode $argumentsNode\n@return ServiceArguments", "docstring_tokens": ["Create", "final", "service", "arguments", "from", "an", "arguments", "array", "node"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerInterpreter.php#L147-L179", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/ContainerInterpreter.php", "func_name": "ContainerInterpreter.handleServiceDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a service definition\n\n@param ParameterDefinitionNode $definition\n@return void", "docstring_tokens": ["Handle", "a", "service", "definition"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/ContainerInterpreter.php#L187-L266", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceDefinition.php", "func_name": "ServiceDefinition.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct a single service definition object from an array\n\nServiceDefinition::fromArray([\n'class' => '\\Acme\\Demo',\n'arguments' => ['@foo', ':bar'],\n'calls' => [\n['method' => 'setName', [':demo.name']]\n]\n])\n\n@param array $serviceConfiguration\n@return static", "docstring_tokens": ["Construct", "a", "single", "service", "definition", "object", "from", "an", "array"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceDefinition.php#L51-L78", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceDefinition.php", "func_name": "ServiceDefinition.calls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a method call to the service definition, the arguments should be set as an array.\n\n@param string $method The name of the method to be called.\n@param array $arguments The method arguments as array.\n@return self", "docstring_tokens": ["Adds", "a", "method", "call", "to", "the", "service", "definition", "the", "arguments", "should", "be", "set", "as", "an", "array", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceDefinition.php#L191-L194", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceDefinition.php", "func_name": "ServiceDefinition.addMethodCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a method call to the service definition, the arguments must be set with a ServiceArguments instance.\n\n@param string $methodName The name of the method to be called.\n@param ServiceArguments $arguments An `ServiceArguments` instance for the method call.\n@return self", "docstring_tokens": ["Adds", "a", "method", "call", "to", "the", "service", "definition", "the", "arguments", "must", "be", "set", "with", "a", "ServiceArguments", "instance", "."], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceDefinition.php#L203-L206", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ServiceDefinition.php", "func_name": "ServiceDefinition.addMetaData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets meta data for the given key\n\n@param string $key\n@param array $values\n@return self", "docstring_tokens": ["Sets", "meta", "data", "for", "the", "given", "key"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ServiceDefinition.php#L225-L232", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Origins/Github.php", "func_name": "Github.isOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether or not the Request originated from Github.\n\n@return bool Returns true if the request originated from Github. False otherwise.", "docstring_tokens": ["Determines", "whether", "or", "not", "the", "Request", "originated", "from", "Github", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Origins/Github.php#L19-L27", "partition": "test"} +{"repo": "morphatic/laravel-auto-deploy", "path": "src/Origins/Github.php", "func_name": "Github.isAuthentic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies the authenticity of a webhook request from Github.\n\nFollows the procedure described here: https://developer.github.com/webhooks/securing/\n\n@return bool Returns true if the request is authentic. False otherwise.", "docstring_tokens": ["Verifies", "the", "authenticity", "of", "a", "webhook", "request", "from", "Github", "."], "sha": "1ed33ae58d2b16a88ce31166e65989c6d39169f0", "url": "https://github.com/morphatic/laravel-auto-deploy/blob/1ed33ae58d2b16a88ce31166e65989c6d39169f0/src/Origins/Github.php#L36-L46", "partition": "test"} +{"repo": "ClanCats/Container", "path": "src/ContainerParser/Nodes/ParameterDefinitionNode.php", "func_name": "ParameterDefinitionNode.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the parameters value\n\n@param ValueNode $value\n@return void", "docstring_tokens": ["Set", "the", "parameters", "value"], "sha": "95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12", "url": "https://github.com/ClanCats/Container/blob/95e3e3ecb8bb61aae891e2590a1c5dcf6c734b12/src/ContainerParser/Nodes/ParameterDefinitionNode.php#L91-L100", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/WorkoutType.php", "func_name": "WorkoutType.getName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get name of workot in human readable time.\n\n@param $id int Workout type id\n@return string Name of workout\n@throws EndomondoWorkoutException when workout type is not defined", "docstring_tokens": ["Get", "name", "of", "workot", "in", "human", "readable", "time", "."], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/WorkoutType.php#L185-L192", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/Point.php", "func_name": "Point.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert point to string readable by Endomondo\n\n@return string", "docstring_tokens": ["Convert", "point", "to", "string", "readable", "by", "Endomondo"], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/Point.php#L262-L279", "partition": "test"} +{"repo": "LabyMod/discord-webhook", "path": "src/DiscordWebhook/Webhook.php", "func_name": "Webhook.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the Webhook\n\n@return bool\n@throws GuzzleException", "docstring_tokens": ["Send", "the", "Webhook"], "sha": "ac51f2fac222915494bbed59dc096835395dd39b", "url": "https://github.com/LabyMod/discord-webhook/blob/ac51f2fac222915494bbed59dc096835395dd39b/src/DiscordWebhook/Webhook.php#L65-L74", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/Workout.php", "func_name": "Workout.setTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set workout type id.\n\n@param $id integer\n@return $this\n@throws EndomondoWorkoutException when workout type is unknown.", "docstring_tokens": ["Set", "workout", "type", "id", "."], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/Workout.php#L130-L138", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/Workout.php", "func_name": "Workout.getEnd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get time of end of workout. It can be manual set or it is counted based on start and duration.\n\n@return \\DateTime", "docstring_tokens": ["Get", "time", "of", "end", "of", "workout", ".", "It", "can", "be", "manual", "set", "or", "it", "is", "counted", "based", "on", "start", "and", "duration", "."], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/Workout.php#L237-L253", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/Workout.php", "func_name": "Workout.getPointsAsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array of points as single string.\n\n@return string", "docstring_tokens": ["Get", "array", "of", "points", "as", "single", "string", "."], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/Workout.php#L335-L344", "partition": "test"} +{"repo": "fabulator/endomondo-workouts", "path": "lib/Fabulator/Endomondo/Workout.php", "func_name": "Workout.getGPX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get GPX of workout.\n\n@return string", "docstring_tokens": ["Get", "GPX", "of", "workout", "."], "sha": "eb54d8e9f2a88644e6df234489a40e80315cdfa8", "url": "https://github.com/fabulator/endomondo-workouts/blob/eb54d8e9f2a88644e6df234489a40e80315cdfa8/lib/Fabulator/Endomondo/Workout.php#L572-L602", "partition": "test"} +{"repo": "yusukezzz/slim-debugbar", "path": "src/DebugBar/DataCollector/SlimResponseCollector.php", "func_name": "SlimResponseCollector.collect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called by the DebugBar when data needs to be collected\n\n@return array Collected data", "docstring_tokens": ["Called", "by", "the", "DebugBar", "when", "data", "needs", "to", "be", "collected"], "sha": "adc5ec9a638e3acf8fb2c2d5ffd2ca5edc163a80", "url": "https://github.com/yusukezzz/slim-debugbar/blob/adc5ec9a638e3acf8fb2c2d5ffd2ca5edc163a80/src/DebugBar/DataCollector/SlimResponseCollector.php#L22-L30", "partition": "test"} +{"repo": "tjbp/eloquent-joins", "path": "src/Builder.php", "func_name": "Builder.getModels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the hydrated models without eager loading.\n\n@param array $columns\n\n@return \\Illuminate\\Database\\Eloquent\\Model[]", "docstring_tokens": ["Get", "the", "hydrated", "models", "without", "eager", "loading", "."], "sha": "dce7d8a8681bd63aa50fc38f95af4a26ab3b93eb", "url": "https://github.com/tjbp/eloquent-joins/blob/dce7d8a8681bd63aa50fc38f95af4a26ab3b93eb/src/Builder.php#L45-L74", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Utility.php", "func_name": "Utility.get_ajax_payload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the AJAX payload from the POST request.\n\n@param string $handle The current handler's handle.\n\n@return mixed The Ajax payload.", "docstring_tokens": ["Gets", "the", "AJAX", "payload", "from", "the", "POST", "request", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Utility.php#L22-L38", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Utility.php", "func_name": "Utility.get_callback_response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the response from the handle's callback function.\n\n@param string $handle The current handler's handle.\n@param mixed $callback The callback function.\n@param array $callback_args The arguments to be passed to the callback function.\n\n@return mixed The callback response.", "docstring_tokens": ["Retrieves", "the", "response", "from", "the", "handle", "s", "callback", "function", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Utility.php#L49-L72", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Utility.php", "func_name": "Utility.run_callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the specified callback function, passing in with the supplied arguments.\n\n@param mixed $callback The callback function to run.\n@param array $callback_args The arguments to be passed to the callback function.\n\n@return mixed The callback result, or null if the callback was not callable, or \\Exception if the callback threw an exception.", "docstring_tokens": ["Executes", "the", "specified", "callback", "function", "passing", "in", "with", "the", "supplied", "arguments", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Utility.php#L82-L96", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Utility.php", "func_name": "Utility.sanitize_handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitizes and validates a handle name.\n\n@param string $handle The provided handle name.\n\n@return string The sanitized handle name.", "docstring_tokens": ["Sanitizes", "and", "validates", "a", "handle", "name", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Utility.php#L105-L111", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Validator.php", "func_name": "Validator.validate_all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether all validations have passed.\n\n@return bool", "docstring_tokens": ["Determines", "whether", "all", "validations", "have", "passed", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Validator.php#L55-L65", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Validator.php", "func_name": "Validator.validate_single", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a single validation.\n\n@param string $condition The name of the condition.\n@param mixed $value The value to validate.\n\n@return bool Whether the validation passes.", "docstring_tokens": ["Runs", "a", "single", "validation", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Validator.php#L75-L86", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Builder/Column.php", "func_name": "Column.forDevice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a column for a device.\n\n@param string $device The device name.\n@param int $width The column width.\n@param int|null $offset Optional offset.\n@param int|null $push Optional push.\n@param bool $resets Reset columns.\n\n@return $this", "docstring_tokens": ["Create", "a", "column", "for", "a", "device", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Builder/Column.php#L100-L109", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Builder/Column.php", "func_name": "Column.addReset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a reset for a device.\n\n@param string $device The device.\n\n@return $this", "docstring_tokens": ["Add", "a", "reset", "for", "a", "device", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Builder/Column.php#L118-L125", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Builder/Column.php", "func_name": "Column.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a size for a device.\n\n@param string $device The device.\n\n@return null|array", "docstring_tokens": ["Get", "a", "size", "for", "a", "device", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Builder/Column.php#L160-L167", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Builder/Column.php", "func_name": "Column.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build css classes.\n\n@return array classes", "docstring_tokens": ["Build", "css", "classes", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Builder/Column.php#L188-L218", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Validations.php", "func_name": "Validations.user_is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests whether the current user has the specified role.\n\n@param string $role The role to test.\n\n@return bool", "docstring_tokens": ["Tests", "whether", "the", "current", "user", "has", "the", "specified", "role", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Validations.php#L50-L58", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.begin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a new row.\n\nIf classesOnly is set, only the first column is returned.\n\n@return string", "docstring_tokens": ["Start", "a", "new", "row", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L85-L102", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current column.\n\n@return string", "docstring_tokens": ["Get", "the", "current", "column", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L109-L132", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.walk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatically walk throw the grid.\n\n@return string", "docstring_tokens": ["Automatically", "walk", "throw", "the", "grid", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L155-L166", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.beginRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Begin a new row.\n\n@return string", "docstring_tokens": ["Begin", "a", "new", "row", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L173-L180", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.getColumnResets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the column resets for the current position, always as html.\n\n@param string|null $tag Custom html tag.\n\n@return string", "docstring_tokens": ["Get", "the", "column", "resets", "for", "the", "current", "position", "always", "as", "html", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L189-L198", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Walker.php", "func_name": "Walker.getIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get index.\n\n@param bool $ignoreInfinite If true the infinite index is ignored and the regular column index is returned.\n\n@return int", "docstring_tokens": ["Get", "index", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Walker.php#L207-L214", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "runonce/migrate.php", "func_name": "migrate.migrateFromLegacy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migrate form legacy column set editor.\n\n@return void", "docstring_tokens": ["Migrate", "form", "legacy", "column", "set", "editor", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/runonce/migrate.php#L85-L95", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Handler.php", "func_name": "Handler.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The main handler for the specfied handle.\n\n@param string $handle The instance handle.\n\n@return Handler", "docstring_tokens": ["The", "main", "handler", "for", "the", "specfied", "handle", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Handler.php#L87-L100", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Handler.php", "func_name": "Handler.ajax_handler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the Ajax action.", "docstring_tokens": ["Handles", "the", "Ajax", "action", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Handler.php#L105-L118", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Handler.php", "func_name": "Handler.with_callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the callback function to handle the request.\n\n@param mixed $callback The callback function (function name, class method, or closure).\n@param array $callback_args Arguments to be passed to the callback.\n\n@return Handler", "docstring_tokens": ["Registers", "the", "callback", "function", "to", "handle", "the", "request", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Handler.php#L128-L134", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Handler.php", "func_name": "Handler.with_validation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the validation settings.\n\n@param array $validations The validation settings.\n\n@return Handler", "docstring_tokens": ["Registers", "the", "validation", "settings", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Handler.php#L143-L150", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Responder.php", "func_name": "Responder.handle_response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles a response.\n\n@param mixed $callback_response The response from the callback function.", "docstring_tokens": ["Handles", "a", "response", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Responder.php#L34-L41", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Responder.php", "func_name": "Responder.get_response_type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines the type of response to return.\n\n@return string The response type.", "docstring_tokens": ["Determines", "the", "type", "of", "response", "to", "return", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Responder.php#L48-L62", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Responder.php", "func_name": "Responder.send_response_headers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the appropriate HTTP headers for the response type.", "docstring_tokens": ["Sends", "the", "appropriate", "HTTP", "headers", "for", "the", "response", "type", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Responder.php#L67-L85", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Responder.php", "func_name": "Responder.send_response_body", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the response body in the appropriate format.", "docstring_tokens": ["Sends", "the", "response", "body", "in", "the", "appropriate", "format", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Responder.php#L90-L103", "partition": "test"} +{"repo": "geocoder-php/geoip2-provider", "path": "GeoIP2Adapter.php", "func_name": "GeoIP2Adapter.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the content fetched from a given resource.\n\n@param string $url (e.g. file://database?127.0.0.1)\n\n@return string", "docstring_tokens": ["Returns", "the", "content", "fetched", "from", "a", "given", "resource", "."], "sha": "2dc78d620abb0710d2e99d5bec53cae167a22195", "url": "https://github.com/geocoder-php/geoip2-provider/blob/2dc78d620abb0710d2e99d5bec53cae167a22195/GeoIP2Adapter.php#L65-L84", "partition": "test"} +{"repo": "geocoder-php/geoip2-provider", "path": "GeoIP2Adapter.php", "func_name": "GeoIP2Adapter.isSupportedGeoIP2Model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether method is supported by GeoIP2.\n\n@param string $method\n\n@return bool", "docstring_tokens": ["Returns", "whether", "method", "is", "supported", "by", "GeoIP2", "."], "sha": "2dc78d620abb0710d2e99d5bec53cae167a22195", "url": "https://github.com/geocoder-php/geoip2-provider/blob/2dc78d620abb0710d2e99d5bec53cae167a22195/GeoIP2Adapter.php#L103-L111", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ToggleIconCallback.php", "func_name": "ToggleIconCallback.toggleVisibility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle the visibility state.\n\n@param int $recordId Record id.\n@param bool $newState New state.\n\n@return void\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Toggle", "the", "visibility", "state", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ToggleIconCallback.php#L147-L174", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ToggleIconCallback.php", "func_name": "ToggleIconCallback.hasAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if user has access.\n\n@return bool", "docstring_tokens": ["Check", "if", "user", "has", "access", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ToggleIconCallback.php#L201-L208", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Builder/GridBuilder.php", "func_name": "GridBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the grid.\n\n@return Grid", "docstring_tokens": ["Build", "the", "grid", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Builder/GridBuilder.php#L68-L78", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.getColumnAsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get column as class string.\n\n@param int $index Column index.\n\n@return string", "docstring_tokens": ["Get", "column", "as", "class", "string", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L117-L124", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.addColumnReset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add column clear fix for a specific column and size.\n\n@param int $column The column index.\n@param string $size The grid size.\n\n@return $this", "docstring_tokens": ["Add", "column", "clear", "fix", "for", "a", "specific", "column", "and", "size", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L144-L155", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.addColumnResets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add clear fix for a column.\n\n@param int $column The column index.\n@param array $sizes The grid sizes.\n\n@return $this", "docstring_tokens": ["Add", "clear", "fix", "for", "a", "column", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L165-L174", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.getColumnResets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get resets for a column.\n\n@param int $index The column index.\n\n@return array", "docstring_tokens": ["Get", "resets", "for", "a", "column", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L183-L192", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.hasColumnResetForSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if column as a clear fix for a specific size.\n\n@param int $column The column index.\n@param string $size The grid column size.\n\n@return bool", "docstring_tokens": ["Check", "if", "column", "as", "a", "clear", "fix", "for", "a", "specific", "size", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L202-L209", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Grid.php", "func_name": "Grid.getColumnResetsAsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get column resets as string.\n\n@param int $index Column index.\n@param string|null $tag Custom html tag. Default divs are created.\n\n@return string", "docstring_tokens": ["Get", "column", "resets", "as", "string", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Grid.php#L219-L237", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Frontend.php", "func_name": "Frontend.register_handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers an instance handle.\n\n@param string $handle The handle name.", "docstring_tokens": ["Registers", "an", "instance", "handle", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Frontend.php#L48-L57", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Frontend.php", "func_name": "Frontend.enqueue_scripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enqueues the library's scripts.", "docstring_tokens": ["Enqueues", "the", "library", "s", "scripts", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Frontend.php#L70-L88", "partition": "test"} +{"repo": "philipnewcomer/wp-ajax-helper", "path": "src/components/Frontend.php", "func_name": "Frontend.get_nonces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates nonces for each of the registered handles.\n\n@return array The handles with their associated nonces.", "docstring_tokens": ["Generates", "nonces", "for", "each", "of", "the", "registered", "handles", "."], "sha": "3416943af039cbca4eba1efbf4d9f728860e3a5e", "url": "https://github.com/philipnewcomer/wp-ajax-helper/blob/3416943af039cbca4eba1efbf4d9f728860e3a5e/src/components/Frontend.php#L95-L103", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.getGrids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get grids from the database.\n\n@param GetGridsEvent $event The subscribed event.\n\n@return void\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "grids", "from", "the", "database", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L80-L95", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.hookParseTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use the parse template hook to inject column and row classes.\n\n@param \\Template $template The template.\n\n@return void", "docstring_tokens": ["Use", "the", "parse", "template", "hook", "to", "inject", "column", "and", "row", "classes", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L120-L131", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.hookGetContentElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add clear fixes for a column.\n\n@param \\ContentModel $model The content model.\n@param string $buffer The content element output.\n\n@return string", "docstring_tokens": ["Add", "clear", "fixes", "for", "a", "column", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L141-L158", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.getGridElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all grid elements.\n\n@param \\DataContainer $dataContainer The data container driver.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "all", "grid", "elements", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L169-L215", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.createRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the row class.\n\n@param \\Template $template The template.\n\n@return void", "docstring_tokens": ["Create", "the", "row", "class", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L224-L245", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/SemanticHtml5.php", "func_name": "SemanticHtml5.createColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the column classes.\n\n@param \\Template $template The template.\n\n@return void", "docstring_tokens": ["Create", "the", "column", "classes", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/SemanticHtml5.php#L254-L267", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Factory.php", "func_name": "Factory.buildGridColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build columns.\n\n@param GridBuilder $builder The grid builder.\n@param \\Database\\Result $result The database result.\n@param array $classes Custom css classes.\n\n@return Grid", "docstring_tokens": ["Build", "columns", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Factory.php#L38-L66", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Factory.php", "func_name": "Factory.fetchResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch the database result.\n\n@param int $gridId The grid id.\n@param bool $ignoreError If true no exception is thrown. An empty grid is used instead.\n\n@return \\Database\\Result\n@throws \\InvalidArgumentException If grid is not found.", "docstring_tokens": ["Fetch", "the", "database", "result", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Factory.php#L78-L90", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Factory.php", "func_name": "Factory.prepareClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the css classes.\n\n@param \\Database\\Result $result The database result.\n\n@return array", "docstring_tokens": ["Prepare", "the", "css", "classes", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Factory.php#L99-L108", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Factory.php", "func_name": "Factory.buildColumnResets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the column resets.\n\n@param \\Database\\Result $result The database result.\n@param Grid $grid The grid being built.\n\n@return void", "docstring_tokens": ["Build", "the", "column", "resets", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Factory.php#L118-L127", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Factory.php", "func_name": "Factory.createById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the grid by id.\n\n@param int $gridId The grid id.\n@param bool $ignoreError If true no exception is thrown. An empty grid is used instead.\n\n@return Grid\n@throws \\InvalidArgumentException If grid is not found.", "docstring_tokens": ["Create", "the", "grid", "by", "id", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Factory.php#L138-L160", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.hookParseTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ParseTemplate hook being used to beatify the backend view.\n\n@param \\Template $template The template.\n\n@return void", "docstring_tokens": ["ParseTemplate", "hook", "being", "used", "to", "beatify", "the", "backend", "view", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L78-L86", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.hookIsVisibleElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The isVisibleElement hook is used to dynamically load the grid definitions from the database.\n\nKnown limitation: If being logged in in the backend and frontend preview is used with show all elements\nit does not work!\n\n@param \\Model $model The row model.\n@param bool $isVisible The current visible state.\n\n@return bool\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["The", "isVisibleElement", "hook", "is", "used", "to", "dynamically", "load", "the", "grid", "definitions", "from", "the", "database", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L101-L126", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.hookLoadFormField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load columnset definition for the form field.\n\n@param \\Widget $widget The form widget.\n\n@return \\Widget\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Load", "columnset", "definition", "for", "the", "form", "field", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L137-L153", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.getGrids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load all grids from the database.\n\n@param GetGridsEvent $event The subscribed event.\n\n@return void", "docstring_tokens": ["Load", "all", "grids", "from", "the", "database", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L204-L230", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.prepareContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the container by loading the grid and parse it as subcolumns definition.\n\n@param Grid $grid The grid object.\n\n@return array", "docstring_tokens": ["Prepare", "the", "container", "by", "loading", "the", "grid", "and", "parse", "it", "as", "subcolumns", "definition", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L239-L248", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/Subcolumns.php", "func_name": "Subcolumns.updateSubcolumnsDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the subcolumns definition.\n\n@param int $gridId The grid id.\n@param string $type The subcolumns type.\n\n@return void\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Update", "the", "subcolumns", "definition", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/Subcolumns.php#L259-L270", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.appendColumnsetIdToPalette", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add column set field to the colsetStart content element.\n\nWe need to do it dynamically because subcolumns creates its palette dynamically.\n\n@param \\DataContainer $dataContainer The data container driver.\n\n@return void\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Add", "column", "set", "field", "to", "the", "colsetStart", "content", "element", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L33-L58", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.appendColumnSizesToPalette", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append column sizes fields dynamically to the palettes.\n\n@param \\DataContainer $dataContainer The data container driver.\n\n@return void", "docstring_tokens": ["Append", "column", "sizes", "fields", "dynamically", "to", "the", "palettes", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L67-L81", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.getAllTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace subcolumns getAllTypes method to load all created columnsets.\n\nThere is a fallback provided if not bootstrap_customizable is used.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Replace", "subcolumns", "getAllTypes", "method", "to", "load", "all", "created", "columnsets", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L132-L148", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.getGrids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get grids.\n\n@param \\DataContainer $dataContainer The data container driver.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "grids", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L159-L170", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.getColumnsForModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get columns for a a specific module.\n\n@param \\DataContainer $dataContainer The data container driver.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "columns", "for", "a", "a", "specific", "module", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L181-L204", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.getColumnOrders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the order values.\n\n@return array", "docstring_tokens": ["Create", "the", "order", "values", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L211-L222", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/DataContainer/ColumnSet.php", "func_name": "ColumnSet.getColumnNumbers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get column numbers.\n\n@param \\DataContainer $dataContainer Data container driver.\n\n@return array", "docstring_tokens": ["Get", "column", "numbers", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/DataContainer/ColumnSet.php#L273-L284", "partition": "test"} +{"repo": "opis/session", "path": "src/Flash.php", "func_name": "Flash.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read a value\n\n@param string $key Key\n@param mixed|null $default Default value\n\n@return mixed", "docstring_tokens": ["Read", "a", "value"], "sha": "472f308bfc2441907d0a31df52a4f366c070df86", "url": "https://github.com/opis/session/blob/472f308bfc2441907d0a31df52a4f366c070df86/src/Flash.php#L57-L64", "partition": "test"} +{"repo": "opis/session", "path": "src/Flash.php", "func_name": "Flash.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a key exists\n\n@param string $key Key\n@return boolean", "docstring_tokens": ["Check", "if", "a", "key", "exists"], "sha": "472f308bfc2441907d0a31df52a4f366c070df86", "url": "https://github.com/opis/session/blob/472f308bfc2441907d0a31df52a4f366c070df86/src/Flash.php#L72-L75", "partition": "test"} +{"repo": "opis/session", "path": "src/Flash.php", "func_name": "Flash.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove specified key\n\n@param string $key Key\n@return Flash", "docstring_tokens": ["Remove", "specified", "key"], "sha": "472f308bfc2441907d0a31df52a4f366c070df86", "url": "https://github.com/opis/session/blob/472f308bfc2441907d0a31df52a4f366c070df86/src/Flash.php#L83-L88", "partition": "test"} +{"repo": "opis/session", "path": "src/Flash.php", "func_name": "Flash.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read the value associated with the specified key or associate\nthe specified key with the value returned by invoking the callback.\n\n@param string $key Key\n@param callable $callback Callback\n\n@return mixed", "docstring_tokens": ["Read", "the", "value", "associated", "with", "the", "specified", "key", "or", "associate", "the", "specified", "key", "with", "the", "value", "returned", "by", "invoking", "the", "callback", "."], "sha": "472f308bfc2441907d0a31df52a4f366c070df86", "url": "https://github.com/opis/session/blob/472f308bfc2441907d0a31df52a4f366c070df86/src/Flash.php#L99-L106", "partition": "test"} +{"repo": "opis/session", "path": "src/Flash.php", "func_name": "Flash.reflash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Re-flash data\n\n@param array|null $keys Data\n\n@return Flash", "docstring_tokens": ["Re", "-", "flash", "data"], "sha": "472f308bfc2441907d0a31df52a4f366c070df86", "url": "https://github.com/opis/session/blob/472f308bfc2441907d0a31df52a4f366c070df86/src/Flash.php#L129-L137", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/InsertTag.php", "func_name": "InsertTag.parseInsertTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the insert tag.\n\n@param ReplaceInsertTagsEvent $event The subscribed event.\n\n@return void", "docstring_tokens": ["Parse", "the", "insert", "tag", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/InsertTag.php#L76-L101", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/InsertTag.php", "func_name": "InsertTag.getWalker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a walker for the subscribed event.\n\n@param ReplaceInsertTagsEvent $event The subscribed event.\n\n@return Walker|null", "docstring_tokens": ["Get", "a", "walker", "for", "the", "subscribed", "event", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/InsertTag.php#L110-L125", "partition": "test"} +{"repo": "contao-bootstrap/grid-editor", "path": "src/Integration/InsertTag.php", "func_name": "InsertTag.translateParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate event params.\n\n@param ReplaceInsertTagsEvent $event The subscribed event.\n\n@return array", "docstring_tokens": ["Translate", "event", "params", "."], "sha": "e017332aeec861b64b5dc963156533af4a21dc71", "url": "https://github.com/contao-bootstrap/grid-editor/blob/e017332aeec861b64b5dc963156533af4a21dc71/src/Integration/InsertTag.php#L134-L148", "partition": "test"} +{"repo": "asterixcapri/gestpaycrypt-php", "path": "lib/GestPayCryptWS.php", "func_name": "GestPayCryptWS.getEncParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Genera l'array dei parametri per l'encrypt\n@return array", "docstring_tokens": ["Genera", "l", "array", "dei", "parametri", "per", "l", "encrypt"], "sha": "f3ddd06968ae39b800f0f1cc9f18be9cdeece1c8", "url": "https://github.com/asterixcapri/gestpaycrypt-php/blob/f3ddd06968ae39b800f0f1cc9f18be9cdeece1c8/lib/GestPayCryptWS.php#L516-L527", "partition": "test"} +{"repo": "asterixcapri/gestpaycrypt-php", "path": "lib/GestPayCryptWS.php", "func_name": "GestPayCryptWS.getDecParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Genera l'array dei parametri per il decrypt\n@return array", "docstring_tokens": ["Genera", "l", "array", "dei", "parametri", "per", "il", "decrypt"], "sha": "f3ddd06968ae39b800f0f1cc9f18be9cdeece1c8", "url": "https://github.com/asterixcapri/gestpaycrypt-php/blob/f3ddd06968ae39b800f0f1cc9f18be9cdeece1c8/lib/GestPayCryptWS.php#L533-L542", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Listener/UpdateProcess.php", "func_name": "UpdateProcess.saveDynamicData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "save data to dynamic database ;", "docstring_tokens": ["save", "data", "to", "dynamic", "database", ";"], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Listener/UpdateProcess.php#L55-L60", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/File.php", "func_name": "File.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check validator with field.\n\n@return bool", "docstring_tokens": ["Check", "validator", "with", "field", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/File.php#L44-L59", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/File.php", "func_name": "File.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override base method.", "docstring_tokens": ["Override", "base", "method", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/File.php#L132-L140", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set entity data.\n\n@param null $default", "docstring_tokens": ["Set", "entity", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L27-L46", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.renderFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render by locale.\n\n@param $locale\n\n@return mixed", "docstring_tokens": ["Render", "by", "locale", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L55-L65", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.getFieldValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field data.\n\n@param $fieldName\n@param string $locale\n\n@return string", "docstring_tokens": ["Get", "field", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L75-L88", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.getFieldValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list fields data.\n\n@param string $locale\n\n@return mixed", "docstring_tokens": ["Get", "list", "fields", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L97-L103", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check valid entity.\n\n@return bool", "docstring_tokens": ["Check", "valid", "entity", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L110-L122", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/DynamicFields.php", "func_name": "DynamicFields.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save field data.\n\n@return bool", "docstring_tokens": ["Save", "field", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/DynamicFields.php#L129-L140", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Composers/DynamicfieldViewComposer.php", "func_name": "DynamicfieldViewComposer.assignDynamicFieldsToPageObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass dynamicFields to view\n\n@param $view\n@return mixed", "docstring_tokens": ["Pass", "dynamicFields", "to", "view"], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Composers/DynamicfieldViewComposer.php#L26-L56", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/Entity.php", "func_name": "Entity.getFieldByLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list fields by locale.\n\n@param string $locale\n\n@return FieldTranslation", "docstring_tokens": ["Get", "list", "fields", "by", "locale", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/Entity.php#L50-L60", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/Entity.php", "func_name": "Entity.getRepeatersByLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list repeater field by locale.\n\n@param $locale\n\n@return mixed", "docstring_tokens": ["Get", "list", "repeater", "field", "by", "locale", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/Entity.php#L113-L121", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/Entity.php", "func_name": "Entity.getEntitiesByFieldId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get entities by fieldID.\n\n@param $fieldId\n\n@return Entity", "docstring_tokens": ["Get", "entities", "by", "fieldID", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/Entity.php#L130-L140", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/Entity.php", "func_name": "Entity.scopeGetEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find entities by entityID,type and fieldId.\n\n@param $query\n@param $entityId\n@param $entityType\n@param $fieldId\n\n@return Entity", "docstring_tokens": ["Find", "entities", "by", "entityID", "type", "and", "fieldId", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/Entity.php#L152-L164", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/Entity.php", "func_name": "Entity.duplicate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Duplicate field of page.\n\n@param int $pageId\n\n@return Model", "docstring_tokens": ["Duplicate", "field", "of", "page", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/Entity.php#L188-L220", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get and inital group data that match with rule.\n\n@param null $default", "docstring_tokens": ["Get", "and", "inital", "group", "data", "that", "match", "with", "rule", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L55-L68", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check validation of field.\n\n@return bool", "docstring_tokens": ["Check", "validation", "of", "field", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L75-L92", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render hmtl of group.\n\n@return string", "docstring_tokens": ["Render", "hmtl", "of", "group", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L99-L117", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save group field data.\n\n@return bool", "docstring_tokens": ["Save", "group", "field", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L124-L142", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.getGroupByRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get GroupFields base on rule.\n\n@param $options\n\n@return array", "docstring_tokens": ["Get", "GroupFields", "base", "on", "rule", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L161-L179", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.matchRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse and Match rule with options.\n\n@param $rule\n@param $options\n\n@return bool", "docstring_tokens": ["Parse", "and", "Match", "rule", "with", "options", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L189-L203", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.initGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initial fields of each group and assign to GroupFields array.\n\n@param $group\n@param null $default", "docstring_tokens": ["Initial", "fields", "of", "each", "group", "and", "assign", "to", "GroupFields", "array", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L211-L260", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Entity.php", "func_name": "Entity.getFieldPostData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field of data in browser.\n\n@param $data\n\n@return array", "docstring_tokens": ["Get", "field", "of", "data", "in", "browser", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Entity.php#L269-L278", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a pixel at the given position\n\n@param integer $x x position\n@param integer $y y position", "docstring_tokens": ["Sets", "a", "pixel", "at", "the", "given", "position"], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L68-L71", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the pixel state at a given position\n\n@param integer $x x position\n@param integer $y y position\n\n@return bool the pixel state", "docstring_tokens": ["Gets", "the", "pixel", "state", "at", "a", "given", "position"], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L92-L95", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.row", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a line\n\n@param integer $y y position\n@param array $options options\n\n@return string line", "docstring_tokens": ["Gets", "a", "line"], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L115-L130", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.rows", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all lines\n\n@param array $options options\n\n@return array line", "docstring_tokens": ["Gets", "all", "lines"], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L139-L162", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.getDotFromMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a dot from the pixel map.\n\n@param integer $x x position\n@param integer $y y position\n\n@return integer dot", "docstring_tokens": ["Gets", "a", "dot", "from", "the", "pixel", "map", "."], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L203-L208", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Canvas.php", "func_name": "Canvas.prime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autovivification for a canvas position.\n\n@param integer $x x position\n@param integer $y y position\n\n@return array", "docstring_tokens": ["Autovivification", "for", "a", "canvas", "position", "."], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Canvas.php#L218-L229", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.initRepeatFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set data per group.\n\n@param $fieldInfo\n@param null $default", "docstring_tokens": ["Set", "data", "per", "group", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L42-L77", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.createListControlAfterPostData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create list controller when user post data from browser.\n\n@param $repeaterId\n@param null $default\n\n@return array", "docstring_tokens": ["create", "list", "controller", "when", "user", "post", "data", "from", "browser", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L87-L104", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.createListControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set list control of repeater.\n\n@param $repeater\n\n@return mixed", "docstring_tokens": ["Set", "list", "control", "of", "repeater", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L113-L134", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.createFieldControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set field control data.\n\n@param $field\n@param $translateId\n@param null $default\n\n@return File|Image|Number|Text|Textarea|Wysiwyg|null", "docstring_tokens": ["Set", "field", "control", "data", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L145-L177", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.createHeaderRepeater", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set header repeater.\n\n@return mixed", "docstring_tokens": ["Set", "header", "repeater", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L184-L192", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save field data to database.\n\n@return bool", "docstring_tokens": ["Save", "field", "data", "to", "database", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L309-L342", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/Repeater.php", "func_name": "Repeater.getDisplayValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show group field.\n\n@return array", "docstring_tokens": ["Show", "group", "field", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/Repeater.php#L349-L368", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Entities/RepeaterTranslation.php", "func_name": "RepeaterTranslation.getFieldValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get repeater data by fieldId.\n\n@param $fieldId\n\n@return RepeaterValue", "docstring_tokens": ["Get", "repeater", "data", "by", "fieldId", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Entities/RepeaterTranslation.php#L39-L50", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Template.php", "func_name": "Template.getTemplateName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read template name defined in comments.\n\n@param $template\n\n@return string", "docstring_tokens": ["Read", "template", "name", "defined", "in", "comments", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Template.php#L68-L77", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Template.php", "func_name": "Template.getDefaultTemplateName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the template name is not defined in comments, build a default.\n\n@param $template\n\n@return mixed", "docstring_tokens": ["If", "the", "template", "name", "is", "not", "defined", "in", "comments", "build", "a", "default", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Template.php#L86-L92", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set model and value.\n\n@param null $default", "docstring_tokens": ["Set", "model", "and", "value", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L47-L60", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.getModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Entity or RepeaterTranslation model by locale.\n\n@return RepeaterValue", "docstring_tokens": ["Get", "Entity", "or", "RepeaterTranslation", "model", "by", "locale", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L67-L81", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.getHtmlId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get htmlId.\n\n@return string", "docstring_tokens": ["Get", "htmlId", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L157-L162", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.getHtmlName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get html name.\n\n@return string", "docstring_tokens": ["get", "html", "name", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L169-L174", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save field or repeater fild.", "docstring_tokens": ["Save", "field", "or", "repeater", "fild", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L261-L270", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.saveField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save normal field.", "docstring_tokens": ["Save", "normal", "field", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L275-L288", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.saveRepeaterField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save repeat data for field of repeater.", "docstring_tokens": ["Save", "repeat", "data", "for", "field", "of", "repeater", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L293-L318", "partition": "test"} +{"repo": "stone-lab/Dynamicfield", "path": "Utility/Fields/FieldBase.php", "func_name": "FieldBase.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get value of option.\n\n@param $key\n\n@return string", "docstring_tokens": ["get", "value", "of", "option", "."], "sha": "7d25050180000b482d5efe301f54b9ce78963181", "url": "https://github.com/stone-lab/Dynamicfield/blob/7d25050180000b482d5efe301f54b9ce78963181/Utility/Fields/FieldBase.php#L337-L346", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Turtle.php", "func_name": "Turtle.forward", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move the pen forward\n\n@param integer $length distance to move forward", "docstring_tokens": ["Move", "the", "pen", "forward"], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Turtle.php#L105-L111", "partition": "test"} +{"repo": "whatthejeff/php-drawille", "path": "src/Drawille/Turtle.php", "func_name": "Turtle.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move the pen, drawing if the pen is down.\n\n@param int $y new x position\n@param int $y new y position", "docstring_tokens": ["Move", "the", "pen", "drawing", "if", "the", "pen", "is", "down", "."], "sha": "541b2517a70b988d9f2a6249603f7331c1814957", "url": "https://github.com/whatthejeff/php-drawille/blob/541b2517a70b988d9f2a6249603f7331c1814957/src/Drawille/Turtle.php#L146-L179", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/TaskConfiguration.php", "func_name": "TaskConfiguration.hasAncestor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check task ancestors to find if it have a given task as parent\n\n@param TaskConfiguration $taskConfig\n\n@return bool", "docstring_tokens": ["Check", "task", "ancestors", "to", "find", "if", "it", "have", "a", "given", "task", "as", "parent"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/TaskConfiguration.php#L304-L322", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/TaskConfiguration.php", "func_name": "TaskConfiguration.hasDescendant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check task ancestors to find if it have a given task as child\n\n@param TaskConfiguration $taskConfig\n@param bool $checkErrors\n\n@return bool", "docstring_tokens": ["Check", "task", "ancestors", "to", "find", "if", "it", "have", "a", "given", "task", "as", "child"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/TaskConfiguration.php#L332-L367", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Model/ProcessState.php", "func_name": "ProcessState.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the state object\nTo be used before execution\n\n@param bool $cleanInput", "docstring_tokens": ["Reset", "the", "state", "object", "To", "be", "used", "before", "execution"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Model/ProcessState.php#L116-L127", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/ConditionTrait.php", "func_name": "ConditionTrait.checkCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test the input with the given set of conditions\nTrue by default\n\n@param mixed $input\n@param array $conditions\n\n@return bool", "docstring_tokens": ["Test", "the", "input", "with", "the", "given", "set", "of", "conditions", "True", "by", "default"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/ConditionTrait.php#L33-L72", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/ConditionTrait.php", "func_name": "ConditionTrait.configureWrappedConditionOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure available condition rules in a wrapper option\n\n@param string $wrapperKey\n@param OptionsResolver $resolver", "docstring_tokens": ["Configure", "available", "condition", "rules", "in", "a", "wrapper", "option"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/ConditionTrait.php#L80-L90", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/ConditionTrait.php", "func_name": "ConditionTrait.configureConditionOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure available condition rules\n\n@param OptionsResolver $resolver", "docstring_tokens": ["Configure", "available", "condition", "rules"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/ConditionTrait.php#L97-L109", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/ConditionTrait.php", "func_name": "ConditionTrait.checkValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Softly check if an input key match a value, or not\n\n@param object|array $input\n@param string $key\n@param mixed $value\n@param bool $shouldMatch\n@param bool $regexpMode\n\n@throws \\Symfony\\Component\\PropertyAccess\\Exception\\UnexpectedTypeException\n@throws \\Symfony\\Component\\PropertyAccess\\Exception\\AccessException\n@throws \\Symfony\\Component\\PropertyAccess\\Exception\\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Softly", "check", "if", "an", "input", "key", "match", "a", "value", "or", "not"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/ConditionTrait.php#L126-L153", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/ConditionTrait.php", "func_name": "ConditionTrait.checkEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the input property is empty or not\n\n@param array|object $input\n@param string $key\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "input", "property", "is", "empty", "or", "not"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/ConditionTrait.php#L163-L168", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Model/ProcessHistory.php", "func_name": "ProcessHistory.getDuration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get process duration in seconds\n\n@return int|null", "docstring_tokens": ["Get", "process", "duration", "in", "seconds"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Model/ProcessHistory.php#L150-L157", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Context/ContextualOptionResolver.php", "func_name": "ContextualOptionResolver.contextualizeOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace all contextualized values from options\n\n@param array $options\n@param array $context\n\n@return array", "docstring_tokens": ["Replace", "all", "contextualized", "values", "from", "options"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Context/ContextualOptionResolver.php#L69-L79", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Command/ProcessHelpCommand.php", "func_name": "ProcessHelpCommand.findBestNextTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to find a best candidate for next display\n\n@param $branches\n@param $taskList\n@param ProcessConfiguration $process\n\n@return int|null|string", "docstring_tokens": ["Try", "to", "find", "a", "best", "candidate", "for", "next", "display"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Command/ProcessHelpCommand.php#L152-L219", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Task/InputAggregatorTask.php", "func_name": "InputAggregatorTask.getInputCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map the previous task code to an input code\n\n@param ProcessState $state\n\n@throws \\Symfony\\Component\\OptionsResolver\\Exception\\ExceptionInterface\n@throws \\InvalidArgumentException\n@throws \\UnexpectedValueException\n\n@return string", "docstring_tokens": ["Map", "the", "previous", "task", "code", "to", "an", "input", "code"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Task/InputAggregatorTask.php#L103-L113", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Task/InputAggregatorTask.php", "func_name": "InputAggregatorTask.isResolved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the received inputs match the defined mappings\n\n@param ProcessState $state\n\n@throws \\Symfony\\Component\\OptionsResolver\\Exception\\ExceptionInterface\n@throws \\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "received", "inputs", "match", "the", "defined", "mappings"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Task/InputAggregatorTask.php#L125-L135", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Task/File/Csv/InputCsvReaderTask.php", "func_name": "InputCsvReaderTask.getFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If there is no base_path, then the given path from input should be absolute\n\n@param array $options\n@param string $input\n\n@return string", "docstring_tokens": ["If", "there", "is", "no", "base_path", "then", "the", "given", "path", "from", "input", "should", "be", "absolute"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Task/File/Csv/InputCsvReaderTask.php#L64-L72", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Command/ListProcessCommand.php", "func_name": "ListProcessCommand.processSorter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sorter callback for process codes\n\n@param ProcessConfiguration $a\n@param ProcessConfiguration $b\n\n@return int", "docstring_tokens": ["Sorter", "callback", "for", "process", "codes"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Command/ListProcessCommand.php#L138-L145", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Task/InputIteratorTask.php", "func_name": "InputIteratorTask.handleIteratorFromInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create or recreate an iterator from input\n\n@param ProcessState $state", "docstring_tokens": ["Create", "or", "recreate", "an", "iterator", "from", "input"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Task/InputIteratorTask.php#L72-L101", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Task/CounterTask.php", "func_name": "CounterTask.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Condition is inversed during flush\n\n@param ProcessState $state", "docstring_tokens": ["Condition", "is", "inversed", "during", "flush"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Task/CounterTask.php#L48-L56", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Filesystem/CsvResource.php", "func_name": "CsvResource.getLineCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Warning! This method will rewind the file to the beginning before and after counting the lines!\n\n@throws \\RuntimeException\n\n@return int", "docstring_tokens": ["Warning!", "This", "method", "will", "rewind", "the", "file", "to", "the", "beginning", "before", "and", "after", "counting", "the", "lines!"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Filesystem/CsvResource.php#L122-L137", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Filesystem/CsvResource.php", "func_name": "CsvResource.rewind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This methods rewinds the file to the first line of data, skipping the headers.\n\n@throws \\RuntimeException", "docstring_tokens": ["This", "methods", "rewinds", "the", "file", "to", "the", "first", "line", "of", "data", "skipping", "the", "headers", "."], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Filesystem/CsvResource.php#L298-L308", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Transformer/TransformerTrait.php", "func_name": "TransformerTrait.getCleanedTransfomerCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This allows to use transformer codes suffixes to avoid limitations to the \"transformers\" option using codes as\nkeys This way you can chain multiple times the same transformer. Without this, it would silently call only the\n1st one.\n\n@example\ntransformers:\ncallback#1:\ncallback: array_filter\ncallback#2:\ncallback: array_reverse\n\n\n@param string $transformerCode\n\n@throws \\CleverAge\\ProcessBundle\\Exception\\MissingTransformerException\n\n@return string", "docstring_tokens": ["This", "allows", "to", "use", "transformer", "codes", "suffixes", "to", "avoid", "limitations", "to", "the", "transformers", "option", "using", "codes", "as", "keys", "This", "way", "you", "can", "chain", "multiple", "times", "the", "same", "transformer", ".", "Without", "this", "it", "would", "silently", "call", "only", "the", "1st", "one", "."], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Transformer/TransformerTrait.php#L76-L85", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/ProcessConfiguration.php", "func_name": "ProcessConfiguration.getDependencyGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group all task by dependencies\n\nIf one task depend from another, it should come after\n\n@throws \\CleverAge\\ProcessBundle\\Exception\\MissingTaskConfigurationException\n\n@return array", "docstring_tokens": ["Group", "all", "task", "by", "dependencies"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/ProcessConfiguration.php#L194-L217", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/ProcessConfiguration.php", "func_name": "ProcessConfiguration.getMainTaskGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the main task group that will be executed\nIt may be defined by the entry_point, or the end_point or simply the first task\n\nIf one task depend from another, it should come after\n\n@throws \\CleverAge\\ProcessBundle\\Exception\\MissingTaskConfigurationException\n\n@return array", "docstring_tokens": ["Get", "the", "main", "task", "group", "that", "will", "be", "executed", "It", "may", "be", "defined", "by", "the", "entry_point", "or", "the", "end_point", "or", "simply", "the", "first", "task"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/ProcessConfiguration.php#L229-L243", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/ProcessConfiguration.php", "func_name": "ProcessConfiguration.checkCircularDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the process does not contain circular dependencies\n\n@throws CircularProcessException", "docstring_tokens": ["Assert", "the", "process", "does", "not", "contain", "circular", "dependencies"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/ProcessConfiguration.php#L271-L285", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/ProcessConfiguration.php", "func_name": "ProcessConfiguration.buildDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cross all relations of a task to find all dependencies, and append them to the given array\n\n@param TaskConfiguration $taskConfig\n@param array $dependencies\n\n@return array", "docstring_tokens": ["Cross", "all", "relations", "of", "a", "task", "to", "find", "all", "dependencies", "and", "append", "them", "to", "the", "given", "array"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/ProcessConfiguration.php#L295-L317", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Configuration/ProcessConfiguration.php", "func_name": "ProcessConfiguration.sortDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the tasks by dependencies\n\n@param array $dependencies\n\n@throws \\CleverAge\\ProcessBundle\\Exception\\MissingTaskConfigurationException\n\n@return array", "docstring_tokens": ["Sort", "the", "tasks", "by", "dependencies"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Configuration/ProcessConfiguration.php#L328-L369", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Manager/ProcessManager.php", "func_name": "ProcessManager.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a task, by checking if parents are resolved and processing roots and BlockingTasks\n\n@param TaskConfiguration $taskConfiguration\n\n@throws \\RuntimeException\n@throws \\UnexpectedValueException\n\n@return bool", "docstring_tokens": ["Resolve", "a", "task", "by", "checking", "if", "parents", "are", "resolved", "and", "processing", "roots", "and", "BlockingTasks"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Manager/ProcessManager.php#L181-L223", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Manager/ProcessManager.php", "func_name": "ProcessManager.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch task service and run additional setup for InitializableTasks\n\n@param TaskConfiguration $taskConfiguration\n\n@throws \\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException\n@throws \\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException\n@throws \\UnexpectedValueException\n@throws \\RuntimeException", "docstring_tokens": ["Fetch", "task", "service", "and", "run", "additional", "setup", "for", "InitializableTasks"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Manager/ProcessManager.php#L235-L277", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Manager/ProcessManager.php", "func_name": "ProcessManager.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Browse all children for FlushableTask until a BlockingTask is found\n\n@param TaskConfiguration $taskConfiguration\n\n@throws \\RuntimeException", "docstring_tokens": ["Browse", "all", "children", "for", "FlushableTask", "until", "a", "BlockingTask", "is", "found"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Manager/ProcessManager.php#L424-L444", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Manager/ProcessManager.php", "func_name": "ProcessManager.handleState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the state of the import process\n\n@param ProcessState $state\n\n@throws \\RuntimeException", "docstring_tokens": ["Save", "the", "state", "of", "the", "import", "process"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Manager/ProcessManager.php#L525-L537", "partition": "test"} +{"repo": "cleverage/process-bundle", "path": "Manager/ProcessManager.php", "func_name": "ProcessManager.checkProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a process\n\n@param ProcessConfiguration $processConfiguration\n\n@throws \\RuntimeException\n@throws \\CleverAge\\ProcessBundle\\Exception\\InvalidProcessConfigurationException\n@throws \\CleverAge\\ProcessBundle\\Exception\\CircularProcessException\n@throws \\CleverAge\\ProcessBundle\\Exception\\MissingTaskConfigurationException", "docstring_tokens": ["Validate", "a", "process"], "sha": "d03bfe390a9d94d4d51752e463abd0b6323bf4f7", "url": "https://github.com/cleverage/process-bundle/blob/d03bfe390a9d94d4d51752e463abd0b6323bf4f7/Manager/ProcessManager.php#L568-L596", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model._validateModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate if this model is correctly implemented\n\n@return void\n@throws Exception", "docstring_tokens": ["Validate", "if", "this", "model", "is", "correctly", "implemented"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L134-L163", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return model data in an array\n\n@param bool $includePrimary - Include or not primary key in returned array\n\n@return array", "docstring_tokens": ["Return", "model", "data", "in", "an", "array"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L247-L260", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.getModelFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return table field from Model\n\n@param bool $includePrimary - Include or not primary key in returned array\n\n@return array", "docstring_tokens": ["Return", "table", "field", "from", "Model"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L270-L282", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model._unsetRelation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset a relation value from magic setter\n\n@param array $configRelation - Relation configuration\n@param array $callArgs - Models instance\n\n@todo unset other relations type\n@return bool", "docstring_tokens": ["Unset", "a", "relation", "value", "from", "magic", "setter"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L330-L360", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.formatClassnameToRelationName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format class name without namespace to store a relation name\n\n@param string $fullClassName - Class name to normalize (with namespace)\n\n@return string", "docstring_tokens": ["Format", "class", "name", "without", "namespace", "to", "store", "a", "relation", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L612-L621", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.addRelationOneToOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a OneToOne relation\n\n@param string $sourceField - model source field\n@param string $classRelation - relation model classname\n@param string $targetField - related model target field\n@param array $autoGetFields - field to auto get from relation when loading model\n@param string $aliasRelation - override relation auto naming with an alias (ex : for reflexive relation)\n\n@throws Exception\n\n@return void", "docstring_tokens": ["Add", "a", "OneToOne", "relation"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L637-L686", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.addRelationOneToMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a OneToMany relation\n\n@param $sourceField - model source field\n@param $classRelation - relation model classname\n@param $targetField - related model target field\n@param string $aliasRelation - override relation auto naming className with an alias\n\n@throws Exception", "docstring_tokens": ["Add", "a", "OneToMany", "relation"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L699-L721", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.addRelationManyToMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a ManyToMany relation\n\n@param $sourceField - model source field\n@param $classRelation - relation model name\n@param $targetField - related model field\n@param $relationTable - mysql table containing the two models ID\n@param string $aliasRelation - override relation auto naming className\n\n@throws Exception", "docstring_tokens": ["Add", "a", "ManyToMany", "relation"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L735-L764", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.findQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return model array fetched from database with custom mysql query\n\n@param $query\n@param $params\n\n@return static[]\n@todo must return Collection", "docstring_tokens": ["Return", "model", "array", "fetched", "from", "database", "with", "custom", "mysql", "query"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L776-L790", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return model collection fetched from database with criteria\n\n@param array $where - associative array ex:\nsimple criteria array('idMarque' => 1)\ncustom operator array('idMarque' => array('operator' => '<=','value' => ''))\nraw SQL array('idMarque' => array('IN (5,6,4)'))\n@param array $order - associative array ex:array('libMarque'=>'ASC')\n@param int $limitStart - int\n@param int $limitEnd - int\n\n@return Collection", "docstring_tokens": ["Return", "model", "collection", "fetched", "from", "database", "with", "criteria"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L806-L816", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.findOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find one model from criteria\n\n@param array $where - associative array ex:\nsimple criteria array('idMarque' => 1)\ncustom operator array('idMarque' => array('operator' => '<=','value' => ''))\nraw SQL array('idMarque' => array('IN (5,6,4)'))\n@param array $order - associative array ex:array('libMarque'=>'ASC')\n\n@return static", "docstring_tokens": ["Find", "one", "model", "from", "criteria"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L830-L843", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count number of model in database from criteria\n\n@param array $where - associative array ex:\nsimple criteria array('idMarque' => 1)\ncustom operator array('idMarque' => array('operator' => '<=','value' => ''))\nraw SQL array('idMarque' => array('IN (5,6,4)'))\n\n@return int | null", "docstring_tokens": ["Count", "number", "of", "model", "in", "database", "from", "criteria"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L867-L873", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.buildSelectQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an InternalQueryHelper to select models\n\n@param array $fields - selected fields\n@param array $where - associative array ex:\nsimple criteria array('idMarque' => 1)\ncustom operator array('idMarque' => array('operator' => '<=','value' => '5'))\nraw SQL without operator array('idMarque' => array('IN (5,6,4)')\n@param array $order - associative array ex:array('libMarque'=>'ASC')\n@param int $limitStart - int\n@param int $limitEnd - int\n\n@return InternalQueryHelper", "docstring_tokens": ["Build", "an", "InternalQueryHelper", "to", "select", "models"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L890-L955", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a select mysql query for this model from criteria in parameters\nreturn a raw mysql fetch assoc\nUsing Raw SQL _setVal, assume that you properly filter user input\n\n@param array $fields - selected fields\n@param array $where - associative array ex:\nsimple criteria array('idMarque' => 1)\ncustom operator array('idMarque' => array('operator' => '<=','value' => '5'))\nraw SQL without operator array('idMarque' => array('IN (5,6,4)')\n@param array $order - associative array ex:array('libMarque'=>'ASC')\n@param int $limitStart - int\n@param int $limitEnd - int\n@param int $pdoFetchMode - PDO Fetch Mode (default : \\PDO::FETCH_ASSOC)\n\n@return array\n@throws Exception", "docstring_tokens": ["Build", "a", "select", "mysql", "query", "for", "this", "model", "from", "criteria", "in", "parameters", "return", "a", "raw", "mysql", "fetch", "assoc", "Using", "Raw", "SQL", "_setVal", "assume", "that", "you", "properly", "filter", "user", "input"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L976-L1011", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.hydrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hydrate model from a fetch assoc\nincluding OneToOne relation auto get field\n\n@param $data\n@param $strictLoad - if true, all fields from $data will be loaded", "docstring_tokens": ["Hydrate", "model", "from", "a", "fetch", "assoc", "including", "OneToOne", "relation", "auto", "get", "field"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L1021-L1048", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete this model from database\n\n@return array\n@throws Exception", "docstring_tokens": ["Delete", "this", "model", "from", "database"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L1057-L1081", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update model field in database\n\n@return bool\n@throws Exception", "docstring_tokens": ["Update", "model", "field", "in", "database"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L1090-L1127", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Model.php", "func_name": "Model.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert model in database", "docstring_tokens": ["Insert", "model", "in", "database"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Model.php#L1133-L1184", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.keep_memory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the collection to keep memory of added or removed elements.\n\n@since 2.0\n\n@param bool $keep_memory\n\n@return bool", "docstring_tokens": ["Configure", "the", "collection", "to", "keep", "memory", "of", "added", "or", "removed", "elements", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L108-L115", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.dont_remember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform operations on the collection without remembering them.\n\n@since 2.0\n\n@param Closure $callback This ModelCollection is passed as the first parameter.", "docstring_tokens": ["Perform", "operations", "on", "the", "collection", "without", "remembering", "them", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L148-L155", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.get_model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a model by its primary key.\n\n@since 2.0\n\n@param string|int $pk\n\n@return Model|mixed|null", "docstring_tokens": ["Retrieve", "a", "model", "by", "its", "primary", "key", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L166-L175", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.remove_model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a model from the collection.\n\n@since 2.0\n\n@param string|int $pk\n\n@return bool", "docstring_tokens": ["Remove", "a", "model", "from", "the", "collection", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L186-L197", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.get_model_index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the index of a model.\n\n@since 2.0\n\n@param string|int $pk\n\n@return int", "docstring_tokens": ["Get", "the", "index", "of", "a", "model", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L208-L225", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Collection.php", "func_name": "Collection.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save all items in the collection.\n\n@since 2.0\n\n@param array $options", "docstring_tokens": ["Save", "all", "items", "in", "the", "collection", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Collection.php#L234-L239", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/InternalQueryHelper.php", "func_name": "InternalQueryHelper.prefixWhereWithTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prefix fields from where associated array\nwith table name\n\n@param array $data - associative array with where data\n@param string $tableName - table name to use as prefix\n\n@return mixed", "docstring_tokens": ["Prefix", "fields", "from", "where", "associated", "array", "with", "table", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/InternalQueryHelper.php#L57-L70", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/InternalQueryHelper.php", "func_name": "InternalQueryHelper.prefixOrderWithTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prefix fields from orderBy associated array\nwith table name\n\n@param array $data - associative array with order data\n@param string $tableName - table name to use as prefix\n\n@return mixed", "docstring_tokens": ["Prefix", "fields", "from", "orderBy", "associated", "array", "with", "table", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/InternalQueryHelper.php#L82-L98", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Table/Column/BaseColumn.php", "func_name": "BaseColumn.get_definition_without_column_name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the column definition without the column name attached.\n\n@since 2.0\n\n@param array $exclude_options\n\n@return string", "docstring_tokens": ["Get", "the", "column", "definition", "without", "the", "column", "name", "attached", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Table/Column/BaseColumn.php#L70-L88", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a db table.\n\n@since 1.0\n\n@param Table $table Table object.\n@param string $complex_query_class\n@param string $model_class\n\n@throws \\InvalidArgumentException If $complex_query_class is not a subclass of Complex_Query.", "docstring_tokens": ["Register", "a", "db", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L46-L72", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.make_simple_query_object", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a query object for the selected db table.\n\n@since 1.0\n\n@param string $slug Table name.\n@param \\wpdb $wpdb\n\n@return Simple_Query|null", "docstring_tokens": ["Make", "a", "query", "object", "for", "the", "selected", "db", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L119-L129", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.make_complex_query_object", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a complex query object.\n\n@since 1.0\n\n@param string $slug\n@param array $args\n\n@return Complex_Query|null", "docstring_tokens": ["Make", "a", "complex", "query", "object", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L141-L154", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.get_model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the model for a table.\n\n@since 2.0\n\n@param string|Table $slug\n\n@return string|null", "docstring_tokens": ["Get", "the", "model", "for", "a", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L165-L174", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.maybe_install_table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe install a table.\n\nWill skip a table if it is up-to-date.\n\n@since 1.0\n\n@param Table $table\n@param \\wpdb $wpdb\n\n@return bool True if installed or updated, false if skipped.\n@throws \\IronBound\\DB\\Exception", "docstring_tokens": ["Maybe", "install", "a", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L189-L234", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.maybe_uninstall_table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe delete a table.\n\n@since 2.0\n\n@param Table $table\n@param \\wpdb $wpdb\n\n@return bool Return true if table is installed and deleted. False otherwise.", "docstring_tokens": ["Maybe", "delete", "a", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L246-L263", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.is_table_installed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a table is installed.\n\n@since 1.0\n\n@param Table $table\n@param \\wpdb $wpdb\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "table", "is", "installed", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L302-L311", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Manager.php", "func_name": "Manager.fire_plugin_event", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire a plugin event on a given table.\n\n@since 2.0\n\n@param Table $table\n@param string $event Name of the method on the plugin object. Either 'registered', 'installed', or 'updated'.\n@param array $args Additional arguments to pass to the plugin handler.", "docstring_tokens": ["Fire", "a", "plugin", "event", "on", "a", "given", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Manager.php#L333-L343", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/PostSaver.php", "func_name": "PostSaver.do_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the saving for a post.\n\n@since 2.0\n\n@param \\WP_Post $post\n\n@return \\WP_Post", "docstring_tokens": ["Do", "the", "saving", "for", "a", "post", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/PostSaver.php#L81-L94", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Table/Column/SimpleForeign.php", "func_name": "SimpleForeign.get_column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the referenced column.\n\n@since 2.0\n\n@return BaseColumn", "docstring_tokens": ["Get", "the", "referenced", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Table/Column/SimpleForeign.php#L66-L72", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Table/InMemoryTable.php", "func_name": "InMemoryTable.parse_defaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse defaults based on the column types.\n\n@param array $columns", "docstring_tokens": ["Parse", "defaults", "based", "on", "the", "column", "types", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Table/InMemoryTable.php#L75-L103", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.from_model", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new FluentQuery object from a model.\n\n@since 2.0\n\n@param string $model\n\n@return static", "docstring_tokens": ["Create", "a", "new", "FluentQuery", "object", "from", "a", "model", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L155-L161", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select certain columns.\n\n@since 2.0\n\n@param string $columns,...\n\n@return $this", "docstring_tokens": ["Select", "certain", "columns", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L187-L209", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.select_single", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select a single column.\n\nWill return a map of primary key -> column value.\n\n@since 1.36.0\n\n@param string $column\n\n@return $this", "docstring_tokens": ["Select", "a", "single", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L222-L229", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.select_all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select all results.\n\n@since 2.0\n\n@param bool $local_only Only retrieve results local to this table.\n\n@return $this", "docstring_tokens": ["Select", "all", "results", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L240-L245", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.expression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select an expression, such as 'COUNT'.\n\n@since 2.0\n\n@param string $function\n@param string $column\n@param string $as\n\n@return $this", "docstring_tokens": ["Select", "an", "expression", "such", "as", "COUNT", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L258-L264", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter results by a condition.\n\n@since 2.0\n\n@param string|array|Where $column\n@param string|bool $equality\n@param mixed $value\n@param Closure|null $callback Called with $this as the first parameter. Setup for nesting on the new where\ntag.\n@param string $boolean\n\n@return $this\n\n@throws \\IronBound\\DB\\Exception\\InvalidColumnException\n@throws \\InvalidArgumentException", "docstring_tokens": ["Filter", "results", "by", "a", "condition", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L296-L330", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.generate_where_tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a Where tag.\n\n@since 2.0.0\n\n@param string $column\n@param string|bool $equality\n@param string|array $value\n\n@return Where\n\n@throws \\IronBound\\DB\\Exception\\InvalidColumnException\n@throws \\InvalidArgumentException", "docstring_tokens": ["Generate", "a", "Where", "tag", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L346-L369", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.add_nested_where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a nested where clause.\n\n@since 2.0.0\n\n@param Closure $callback\n@param string $boolean", "docstring_tokens": ["Add", "a", "nested", "where", "clause", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L379-L396", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.where_joined", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a where condition checking an already joined table to the main where clause.\n\n@param Table $table\n@param Closure $callback\n@param string $boolean", "docstring_tokens": ["Add", "a", "where", "condition", "checking", "an", "already", "joined", "table", "to", "the", "main", "where", "clause", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L405-L430", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.or_where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a OR where clause.\n\n@since 2.0\n\n@param string $column\n@param string|bool $equality\n@param mixed $value\n@param Closure|null $callback Called with $this as the first parameter. Setup for nesting on the new where tag.\n\n@return $this", "docstring_tokens": ["Add", "a", "OR", "where", "clause", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L444-L446", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.where_date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a date based where query.\n\n@since 2.0\n\n@param array $query\n@param string $column\n@param Closure|null $callback\n@param string $boolean\n\n@return $this\n@throws InvalidColumnException", "docstring_tokens": ["Perform", "a", "date", "based", "where", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L493-L498", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.where_meta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a meta query.\n\n@since 2.0\n\n@param array|\\WP_Meta_Query $query\n@param MetaTable|null $table Table metadata is stored in. If not specified, will be retrieved from the\nmodel.\n@param string $meta_type Type of metadata. Will be determined from the model if not given.\n\n@return $this\n\n@throws \\InvalidArgumentException If a MetaTable or $meta_type can't be determined.", "docstring_tokens": ["Perform", "a", "meta", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L514-L567", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.order_by", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Order the results by a given column.\n\nCan be called multiple times to add additional order by clauses.\n\n@since 2.0\n\n@param string $column\n@param string $direction\n\n@return $this\n\n@throws \\IronBound\\DB\\Exception\\InvalidColumnException", "docstring_tokens": ["Order", "the", "results", "by", "a", "given", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L583-L594", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.order_by_expression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Order results by a previously calculated expression.\n\n@param string $expression_alias\n@param string $direction\n\n@return $this\n@throws InvalidColumnException", "docstring_tokens": ["Order", "results", "by", "a", "previously", "calculated", "expression", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L605-L617", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.group_by", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group the results by a given column.\n\nCan be called multiple times to add additional group by columns.\n\n@since 2.0\n\n@param string $column\n\n@return $this\n\n@throws \\IronBound\\DB\\Exception\\InvalidColumnException", "docstring_tokens": ["Group", "the", "results", "by", "a", "given", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L632-L643", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.group_by_expression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group the results by a given column after applying an expression to it.\n\nCan be called multiple times to add additional group by expressions.\n\n@since 2.2.0\n\n@param string $function\n@param string $column\n\n@return $this\n\n@throws \\IronBound\\DB\\Exception\\InvalidColumnException", "docstring_tokens": ["Group", "the", "results", "by", "a", "given", "column", "after", "applying", "an", "expression", "to", "it", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L659-L672", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simple join statement.\n\n@since 2.0\n\n@param Table $table\n@param string $this_column\n@param string $other_column\n@param bool|string $comparator\n@param callable $callback Called with a FluentQuery object. Can be used to build additional where queries\nfor the Join clause.\n@param string $type Join type. Defaults to 'INNER'.\n\n@return $this\n@throws InvalidColumnException", "docstring_tokens": ["Simple", "join", "statement", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L690-L722", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.join_correlated_subquery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a join, but instead of comparing to a simple value,\nuse a correlated sub query to find the match.\n\nWill automatically build the SELECT and LIMIT statements.\n\n@param Table $table Table to join to.\n@param string $this_column Column on the current table to check equality for.\n@param string $comparator How to compare the two values, should likely be '='.\n@param string $other_column The column on the joined table to check.\n@param Closure $callback Callback receiving a FluentQuery to build the sub query from.\n@param string $type\n\n@return $this\n@throws InvalidColumnException", "docstring_tokens": ["Perform", "a", "join", "but", "instead", "of", "comparing", "to", "a", "simple", "value", "use", "a", "correlated", "sub", "query", "to", "find", "the", "match", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L740-L769", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Paginate results.\n\n@since 2.0\n\n@param int $page\n@param int $per_page\n\n@return $this", "docstring_tokens": ["Paginate", "results", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L811-L817", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.each", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a callback over every row, chunking by a certain number.\n\n@since 2.0\n\n@param int $number\n@param callable $callback\n\n@return bool", "docstring_tokens": ["Execute", "a", "callback", "over", "every", "row", "chunking", "by", "a", "certain", "number", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L842-L866", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform this query while loading a set of relations.\n\n@param string|array $relations,... An array of relations to Closure callbacks\n@param Closure $callback The callback for the relation. Called with a FluentQuery object to allow for\ncustomizing which models are eager loaded.\n\n@return $this", "docstring_tokens": ["Perform", "this", "query", "while", "loading", "a", "set", "of", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L877-L910", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.parse_nested_with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the nested relations.\n\n@since 2.0\n\n@param string $name\n@param array $results\n\n@return array", "docstring_tokens": ["Parse", "the", "nested", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L946-L956", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.assign_array_by_path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill an array by array dot notation.\n\n@since 2.0\n\n@param array $arr\n@param string $path\n@param mixed $value", "docstring_tokens": ["Fill", "an", "array", "by", "array", "dot", "notation", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L967-L976", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.make_limit_tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make the limit tag for this query.\n\n@since 2.0\n\n@return $this", "docstring_tokens": ["Make", "the", "limit", "tag", "for", "this", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1000-L1009", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.build_sql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the SQL statement.\n\n@since 2.0\n\n@return string", "docstring_tokens": ["Build", "the", "SQL", "statement", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1018-L1062", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.update_meta_cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the meta cache.\n\n@since 2.0", "docstring_tokens": ["Update", "the", "meta", "cache", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1180-L1200", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model by its primary key.\n\n@since 2.0\n\n@param string|int|array $primary_key\n\n@return Model|Collection", "docstring_tokens": ["Find", "a", "model", "by", "its", "primary", "key", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1222-L1229", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.find_many", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find many models by their primary keys.\n\n@since 2.0\n\n@param array $primary_keys\n\n@return Collection", "docstring_tokens": ["Find", "many", "models", "by", "their", "primary", "keys", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1240-L1242", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.find_or_fail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model by its primary key or throw an exception.\n\n@since 2.0\n\n@param string|int|array $primary_key\n\n@return Model|Collection\n\n@throws ModelNotFoundException", "docstring_tokens": ["Find", "a", "model", "by", "its", "primary", "key", "or", "throw", "an", "exception", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1255-L1268", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.find_or_new", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model by its primary key or create a new model.\n\n@since 2.0\n\n@param string|int $primary_key\n\n@return Model", "docstring_tokens": ["Find", "a", "model", "by", "its", "primary", "key", "or", "create", "a", "new", "model", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1279-L1288", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.first_or_new", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the first model matching a given a set of attributes, or construct a new one.\n\nThe newly constructed model follows the fillable rules for the model.\n\n@since 2.0\n\n@param array $attributes\n\n@return Model", "docstring_tokens": ["Find", "the", "first", "model", "matching", "a", "given", "a", "set", "of", "attributes", "or", "construct", "a", "new", "one", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1301-L1310", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.first_or_create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the first model matching a given set of attributes, or construct and save a new one.\n\nThe newly constructed model follows the fillable rules for the model.\n\n@since 2.0\n\n@param array $attributes\n\n@return Model", "docstring_tokens": ["Find", "the", "first", "model", "matching", "a", "given", "set", "of", "attributes", "or", "construct", "and", "save", "a", "new", "one", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1323-L1335", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.update_or_create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model matching a given set of attributes. If it does not exist,\na new model is constructed with the given set of attributes.\n\nThe model is then updated with the given set of values.\n\n@since 2.0\n\n@param array $attributes\n@param array $values\n\n@return Model", "docstring_tokens": ["Find", "a", "model", "matching", "a", "given", "set", "of", "attributes", ".", "If", "it", "does", "not", "exist", "a", "new", "model", "is", "constructed", "with", "the", "given", "set", "of", "attributes", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1350-L1356", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.handle_eager_loading", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle eager loading of relations.\n\n@since 2.0\n\n@param Model[] $models", "docstring_tokens": ["Handle", "eager", "loading", "of", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1365-L1378", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.do_nested_eager_load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a nested eager loaded.\n\n@since 2.0\n\n@param Collection $loaded\n@param string $relation\n@param array $nested", "docstring_tokens": ["Handle", "a", "nested", "eager", "loaded", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1389-L1410", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.assert_comparator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert the operator is valid.\n\n@since 2.0\n\n@param string|bool $operator\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Assert", "the", "operator", "is", "valid", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1433-L1467", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.prepare_column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare a column.\n\n@since 2.0\n\n@param $column\n\n@return string\n@throws InvalidColumnException", "docstring_tokens": ["Prepare", "a", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1479-L1488", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/FluentQuery.php", "func_name": "FluentQuery.escape_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a value.\n\n@since 2.0\n\n@param string $column\n@param mixed $value\n\n@return mixed\n\n@throws InvalidColumnException", "docstring_tokens": ["Escape", "a", "value", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/FluentQuery.php#L1502-L1519", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/PicORM.php", "func_name": "PicORM.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set PicORM global configuration\n\n@param array $configuration\n\n@throws Exception", "docstring_tokens": ["Set", "PicORM", "global", "configuration"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/PicORM.php#L72-L88", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Builder.php", "func_name": "Builder.get_col_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a column.\n\n@since 1.0\n\n@param string $col\n\n@return mixed", "docstring_tokens": ["Get", "the", "value", "of", "a", "column", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Builder.php#L72-L78", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Builder.php", "func_name": "Builder.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the object.\n\nThis will call validate functions on columns if they exist. These should\nbe used to validate data that is dependent on other data.\n\n@since 1.0\n\n@return int|string PK of new record.\n@throws Exception", "docstring_tokens": ["Create", "the", "object", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Builder.php#L91-L102", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Tag/Order.php", "func_name": "Order.then", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an additional order by clause.\n\n@since 1.0\n\n@param string $col\n@param string|null $direction\n\n@return Order", "docstring_tokens": ["Add", "an", "additional", "order", "by", "clause", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Tag/Order.php#L71-L80", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Tag/Order.php", "func_name": "Order.add_order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sanitize inputs and save state.\n\n@since 1.0\n\n@param string $col\n@param string|null $direction", "docstring_tokens": ["Sanitize", "inputs", "and", "save", "state", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Tag/Order.php#L90-L97", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Tag/Select.php", "func_name": "Select.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert this select statement to retrieve all columns.\n\n@since 2.0\n\n@param string $as\n\n@return $this", "docstring_tokens": ["Convert", "this", "select", "statement", "to", "retrieve", "all", "columns", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Tag/Select.php#L142-L150", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/HasOneOrMany.php", "func_name": "HasOneOrMany.build_eager_load_map", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an eager load map.\n\n@since 2.0\n\n@param Collection $models\n\n@return array", "docstring_tokens": ["Build", "an", "eager", "load", "map", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/HasOneOrMany.php#L165-L182", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/CommentSaver.php", "func_name": "CommentSaver.do_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the saving for a comment.\n\n@since 2.0\n\n@param \\WP_Comment $comment\n\n@return \\WP_Comment", "docstring_tokens": ["Do", "the", "saving", "for", "a", "comment", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/CommentSaver.php#L78-L93", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.get_default_arg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a default arg.\n\n@since 1.0\n\n@param string $arg\n\n@return mixed", "docstring_tokens": ["Get", "a", "default", "arg", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L150-L159", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query the database and store the results.\n\n@since 1.0", "docstring_tokens": ["Query", "the", "database", "and", "store", "the", "results", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L166-L190", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.parse_results", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the results returned from the DB.\n\n@since 1.0\n\n@param array $results\n\n@return array", "docstring_tokens": ["Parse", "the", "results", "returned", "from", "the", "DB", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L201-L234", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.parse_select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the select query.\n\n@since 1.0\n\n@param string $alias\n\n@return Select", "docstring_tokens": ["Build", "the", "select", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L265-L288", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.parse_order", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the orderby query. There is always a default or.\n\n@since 1.0\n\n@param string $alias\n\n@return Order", "docstring_tokens": ["Parse", "the", "orderby", "query", ".", "There", "is", "always", "a", "default", "or", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L345-L383", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Complex_Query.php", "func_name": "Complex_Query.parse_pagination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the pagination query.\n\n@since 1.0\n\n@return Limit|null", "docstring_tokens": ["Parse", "the", "pagination", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Complex_Query.php#L406-L423", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/Saver.php", "func_name": "Saver.numerically_equivalent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if two things are numerically equivalent.\n\n@since 2.0\n\n@param mixed $a\n@param mixed $b\n\n@return bool", "docstring_tokens": ["Check", "if", "two", "things", "are", "numerically", "equivalent", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/Saver.php#L78-L80", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/Saver.php", "func_name": "Saver.has_changes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if there are changes.\n\n@since 2.0\n\n@param array $old\n@param array $new\n\n@return bool", "docstring_tokens": ["Check", "if", "there", "are", "changes", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/Saver.php#L92-L101", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute query and fetch models from database\n\n@return $this\n@throws Exception", "docstring_tokens": ["Execute", "query", "and", "fetch", "models", "from", "database"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L152-L185", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete model in collection\n\n@throws Exception\n@return bool - true if deleted", "docstring_tokens": ["Delete", "model", "in", "collection"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L194-L216", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update models in collection with specified values\n\n@param array $setValues - Associative array with model field name as key, and model field value as value\n\n@throws Exception\n\n@return void", "docstring_tokens": ["Update", "models", "in", "collection", "with", "specified", "values"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L228-L258", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.getTotalPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return total page available\n\n@return int", "docstring_tokens": ["Return", "total", "page", "available"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L294-L304", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Paginate collection to match a num page\n\n@param int $neededNumPage - Needed page number\n\n@return Collection", "docstring_tokens": ["Paginate", "collection", "to", "match", "a", "num", "page"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L314-L327", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.queryFoundModels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute query to count number of model in database without limit\n\n@return mixed", "docstring_tokens": ["Execute", "query", "to", "count", "number", "of", "model", "in", "database", "without", "limit"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L350-L360", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.countModelsWithoutLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove limit from fetch query and count the number\nof models in database\n\n@return mixed", "docstring_tokens": ["Remove", "limit", "from", "fetch", "query", "and", "count", "the", "number", "of", "models", "in", "database"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L369-L381", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Whether a offset exists\n\n@param mixed $offset - Offset name to test\n\n@return bool", "docstring_tokens": ["Whether", "a", "offset", "exists"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L497-L504", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Offset to set\n\n@param mixed $offset - Offset name to set\n@param mixed $value - Value to set\n\n@return void", "docstring_tokens": ["Offset", "to", "set"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L515-L526", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/Collection.php", "func_name": "Collection.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Offset to retrieve\n\n@param mixed $offset - Offset name to get\n\n@return mixed|null", "docstring_tokens": ["Offset", "to", "retrieve"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/Collection.php#L553-L560", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Builder.php", "func_name": "Builder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a sql statement.\n\n@since 1.0\n\n@return string", "docstring_tokens": ["Build", "a", "sql", "statement", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Builder.php#L73-L91", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.boot_if_not_booted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot this model if it has not been previously booted.\n\nFires two model events, 'booting' and 'booted'.\n\n@since 2.0", "docstring_tokens": ["Boot", "this", "model", "if", "it", "has", "not", "been", "previously", "booted", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L187-L200", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.boot_traits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot any traits this model uses.\n\nThis looks for and executes static methods named 'boot_TraitName'.\n\n@since 2.0", "docstring_tokens": ["Boot", "any", "traits", "this", "model", "uses", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L220-L232", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.fill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill this model's attributes.\n\nFilling a model in this way is used to prevent sensitive properties from being mass-assigned.\nFor example when creating a new model like so: `MyModel::create( $_POST['model'] )`.\n\nIf the model is unguarded, all attributes can be assigned via this method.\nOtherwise, the attribute can be filled according to {$_fillable} or {$_guarded}.\n\n@since 2.0\n\n@used-by IronBound\\DB\\Model::__construct()\n@used-by IronBound\\DB\\Model::create()\n@used-by IronBound\\DB\\Model::init()\n@used-by IronBound\\DB\\Query\\FluentQuery::update_or_create()\n\n@param array $data\n\n@return $this", "docstring_tokens": ["Fill", "this", "model", "s", "attributes", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L254-L264", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.with_guarded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a function call with a given attribute guarded.\n\n@since 2.1.0\n\n@param string|array $attribute,...\n@param callable $callback", "docstring_tokens": ["Make", "a", "function", "call", "with", "a", "given", "attribute", "guarded", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L274-L309", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.with_unguarded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a function call with a given attribute unguarded.\n\n@since 2.1.0\n\n@param string $attribute,...\n@param callable $callback", "docstring_tokens": ["Make", "a", "function", "call", "with", "a", "given", "attribute", "unguarded", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L319-L348", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.is_fillable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a given attribute is fillable.\n\n@since 2.0\n\n@param string $column\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "given", "attribute", "is", "fillable", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L359-L370", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.set_attribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an attribute's value.\n\nThis will call any defined mutators.\n\n@since 2.0\n\n@param string $attribute Attribute name to update.\n@param mixed $value New value. In most cases this should be working form of the data.\nNot the storage version. For example a `WP_Post` object instead of post ID or a\n`DateTime` object instead of a 'Y-m-d H:i:s' string.\n\n@return $this\n\n@throws \\OutOfBoundsException If the requested attribute does not exist.", "docstring_tokens": ["Set", "an", "attribute", "s", "value", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L388-L410", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.set_raw_attribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an attribute's value in the attributes storage.\n\n@since 2.0\n\n@used-by IronBound\\DB\\Model::set_attribute()\n\n@param string $attribute Attribute name to update.\n@param mixed $value New value.\n\n@return $this", "docstring_tokens": ["Set", "an", "attribute", "s", "value", "in", "the", "attributes", "storage", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L424-L432", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_attribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an attribute's or relation's value.\n\nIf it is an attribute, any accessors will be called.\n\nIf it is a relation, its results will be loaded and returned. The relation's results are cached.\n\n@since 2.0\n\n@param string $attribute Attribute name.\n\n@return mixed\n\n@throws \\OutOfBoundsException If the given attribute does not exist.", "docstring_tokens": ["Get", "an", "attribute", "s", "or", "relation", "s", "value", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L474-L487", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_raw_attribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an attribute's value from storage.\n\n@since 2.0\n\n@used-by IronBound\\DB\\Model::get_attribute()\n\n@param string $attribute\n\n@return mixed", "docstring_tokens": ["Get", "an", "attribute", "s", "value", "from", "storage", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L500-L505", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_attribute_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves an attribute's value and calls the accessor method if it exists.\n\n@since 2.0\n\n@param string $attribute\n\n@return mixed", "docstring_tokens": ["Retrieves", "an", "attribute", "s", "value", "and", "calls", "the", "accessor", "method", "if", "it", "exists", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L529-L538", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_attribute_from_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an attribute's value from the internal attributes array.\n\nWill preferentially retrieve the value from the attribute value cache,\nand update the attribute value cache if the raw value is scalar.\n\n@since 2.0\n\n@param string $attribute\n\n@return mixed|null", "docstring_tokens": ["Get", "an", "attribute", "s", "value", "from", "the", "internal", "attributes", "array", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L552-L558", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_all_relations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all relations this model has.\n\nWill be cached on subsequent runs.\n\n@since 2.0\n\n@return array", "docstring_tokens": ["Get", "all", "relations", "this", "model", "has", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L611-L634", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_relation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a relation's controller object.\n\n@since 2.0\n\n@param string $attribute Relation name.\n\n@return Relation\n\n@throws \\OutOfBoundsException If no relation exists by the given name.\n@throws \\UnexpectedValueException If relation method returns an invalid value.", "docstring_tokens": ["Get", "a", "relation", "s", "controller", "object", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L648-L664", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.set_relation_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the value for a relation.\n\n@since 2.0\n\n@param string $attribute Relation name.\n@param mixed $value Relation value.\n\n@return $this\n\n@throws \\OutOfBoundsException If no relation exists by the given name.", "docstring_tokens": ["Set", "the", "value", "for", "a", "relation", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L678-L689", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_relation_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a relation's value.\n\nWill load from the cache if possible. Otherwise, will get the relation controller and retrieve and\ncache the results.\n\n@since 2.0\n\n@param string $attribute Relation name.\n\n@return Collection|Model|mixed", "docstring_tokens": ["Get", "a", "relation", "s", "value", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L703-L713", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.refresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refresh the attributes on this model.\n\nThis will fetch the latest data from either the cache or DB.\n\n@param bool $destroy_changes If true, will destroy local changes.\n\n@since 2.0.0", "docstring_tokens": ["Refresh", "the", "attributes", "on", "this", "model", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L737-L750", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_dirty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the attributes that have been changed since the last sync.\n\n@since 2.0\n\n@return array Array of attribute names to changed values.", "docstring_tokens": ["Get", "the", "attributes", "that", "have", "been", "changed", "since", "the", "last", "sync", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L819-L831", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an instance of this model by its primary key.\n\n@since 1.0\n\n@param int|string $pk Primary key of this record.\n\n@returns static|null\n\n@throws \\InvalidArgumentException If `$pk` is not scalar.", "docstring_tokens": ["Retrieve", "an", "instance", "of", "this", "model", "by", "its", "primary", "key", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L865-L897", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.from_query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new object from a query builder.\n\nThis is used to bypass guarding when retrieve model data from the database.\n\n@since 2.0\n\n@param array $attributes\n\n@return static", "docstring_tokens": ["Create", "a", "new", "object", "from", "a", "query", "builder", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L910-L921", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_data_from_pk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data for a primary key.\n\n@since 1.0\n\n@param int|string $pk Primary key for this record.\n\n@return \\stdClass|null", "docstring_tokens": ["Get", "data", "for", "a", "primary", "key", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L932-L942", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.is_data_cached", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if data is cached.\n\n@since 1.0\n\n@param int|string $pk Primary key for this record.\n\n@return bool", "docstring_tokens": ["Check", "if", "data", "is", "cached", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L953-L962", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a certain value.\n\n@deprecated 2.0 This bypasses the attributes layer and as such is deprecated in 2.0.\n\n@since 1.0\n\n@param string $key DB column to update.\n@param mixed $value New value.\n\n@return bool", "docstring_tokens": ["Update", "a", "certain", "value", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L990-L1005", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist this model's changes to the database.\n\nThis will save all savable attributes like WP_Post objects or Models,\nand persist any loaded relations.\n\nThe `saving` and `saved` events will be fired. If this model does not yet exist, the `creating` and `created`\nevents will fire as well. Otherwise, the `updating` and `updated` events will fire.\n\n@since 2.0\n\n@param array $options Configure how the saving should be performed.\nAccepts 'exclude_relations' to allow for given relations to be excluded from persistence.\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Persist", "this", "model", "s", "changes", "to", "the", "database", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1036-L1067", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.save_has_foreign_relations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the has foreign relations.\n\nThese need to be saved early because otherwise they will be persisted to both\nthe attribute value cache, and the relation cache.\n\n@since 2.0", "docstring_tokens": ["Save", "the", "has", "foreign", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1077-L1091", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.save_loaded_relations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save loaded relations.\n\n@since 2.0\n\n@param array $exclude Relations to exclude from being saved.", "docstring_tokens": ["Save", "loaded", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1100-L1110", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.do_save_as_insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save model as an insert query.\n\n@since 2.0\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Save", "model", "as", "an", "insert", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1121-L1176", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.do_save_as_update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save this model as an update query.\n\n@since 2.0\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Save", "this", "model", "as", "an", "update", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1187-L1234", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.finish_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform cleanup after a save has occurred.\n\n@since 2.0", "docstring_tokens": ["Perform", "cleanup", "after", "a", "save", "has", "occurred", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1241-L1252", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete this object from the database.\n\nWill fire `deleting` and `deleted` events.\n\n@since 1.0\n\n@throws Exception", "docstring_tokens": ["Delete", "this", "object", "from", "the", "database", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1263-L1280", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.create_many", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create multiple models at once.\n\n@since 2.0.0\n\n@param array[]|static[] $to_insert Records to be inserted.\n\n@return static[]\n\n@throws \\IronBound\\DB\\Exception", "docstring_tokens": ["Create", "multiple", "models", "at", "once", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1293-L1319", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.fire_model_event", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire a model event.\n\nWill bail early if no event dispatcher is available.\n\n@since 2.0\n\n@param string $event Event name.\n@param array $arguments Additional arguments passed to the GenericEvent object.", "docstring_tokens": ["Fire", "a", "model", "event", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1370-L1379", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.register_model_event", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a model event listener.\n\n@since 2.0\n\n@param string $event\n@param callable $callback\n@param int $priority\n@param int $accepted_args", "docstring_tokens": ["Register", "a", "model", "event", "listener", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1391-L1398", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.get_data_to_cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the data we'd like to cache.\n\nThis is a bit magical. It iterates through all of the table columns,\nand checks if a getter for that method exists. If so, it pulls in that\nvalue. Otherwise, it will pull in the default value. If you'd like to\ncustomize this you should override this function in your child model\nclass.\n\n@since 1.0\n\n@return array", "docstring_tokens": ["Get", "the", "data", "we", "d", "like", "to", "cache", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1413-L1426", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.register_global_scope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a global query scope.\n\nGlobal query scopes are automatically applied whenever the query() method is called.\n\n@since 2.0\n\n@param Scope|string $scope_or_identifier Either a Scope object or an identifier for an accompanying closure.\n@param Closure|null $closure When not using a Scope object, an implementation for the scope.\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Register", "a", "global", "query", "scope", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1505-L1514", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.without_global_scopes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new query builder without certain global scopes applied.\n\n@since 2.0\n\n@param array $scopes\n\n@return FluentQuery", "docstring_tokens": ["Create", "a", "new", "query", "builder", "without", "certain", "global", "scopes", "applied", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1561-L1579", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a query with a given set of relations.\n\n@since 2.0\n\n@param $relations,...\n\n@return FluentQuery", "docstring_tokens": ["Perform", "a", "query", "with", "a", "given", "set", "of", "relations", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1625-L1632", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Model.php", "func_name": "Model.to_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the model to an array.\n\n@since 2.0\n\n@return array", "docstring_tokens": ["Convert", "the", "model", "to", "an", "array", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Model.php#L1641-L1650", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Tag/Where.php", "func_name": "Where.get_comparison", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the actual comparison value to be checked.\n\n@since 1.0\n\n@return string", "docstring_tokens": ["Get", "the", "actual", "comparison", "value", "to", "be", "checked", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Tag/Where.php#L188-L224", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Tag/Where.php", "func_name": "Where.get_value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override the value method. Handles recursion of nested Where clauses.\n\n@since 1.0\n\n@return string", "docstring_tokens": ["Override", "the", "value", "method", ".", "Handles", "recursion", "of", "nested", "Where", "clauses", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Tag/Where.php#L233-L265", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a row by the primary key\n\n@since 1.0\n\n@param string $row_key\n@param array|string $columns\n\n@return object\n\n@throws Exception", "docstring_tokens": ["Retrieve", "a", "row", "by", "the", "primary", "key"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L58-L60", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.get_column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a specific column's value by the primary key\n\n@since 1.0\n\n@param string $column\n@param string $row_key\n\n@return string\n\n@throws Exception", "docstring_tokens": ["Retrieve", "a", "specific", "column", "s", "value", "by", "the", "primary", "key"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L91-L93", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.get_by_or_many_by_helper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function for get_by and get_many_by methods.\n\n@param string $column\n@param mixed $value\n@param string $columns\n@param string $method\n\n@return mixed\n@throws InvalidColumnException", "docstring_tokens": ["Helper", "function", "for", "get_by", "and", "get_many_by", "methods", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L152-L185", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the number of rows matching a certain where clause\n\n@since 1.0\n\n@param array $wheres\n\n@return int", "docstring_tokens": ["Retrieve", "the", "number", "of", "rows", "matching", "a", "certain", "where", "clause"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L196-L220", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a new row\n\n@since 1.0\n\n@param array $data\n\n@return mixed Insert ID\n\n@throws Exception", "docstring_tokens": ["Insert", "a", "new", "row"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L233-L271", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a row\n\n@since 1.0\n\n@param string $row_key\n@param array $data\n@param array $where\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Update", "a", "row"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L398-L429", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a row identified by the primary key\n\n@since 1.0\n\n@param string $row_key\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Delete", "a", "row", "identified", "by", "the", "primary", "key"], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L442-L461", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.delete_many", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete many rows.\n\n@since 1.0\n\n@param $wheres array\n\n@return bool\n\n@throws Exception", "docstring_tokens": ["Delete", "many", "rows", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L474-L486", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Query/Simple_Query.php", "func_name": "Simple_Query.generate_exception_from_db_error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an Exception object from a DB error.\n\n@return Exception", "docstring_tokens": ["Generate", "an", "Exception", "object", "from", "a", "DB", "error", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Query/Simple_Query.php#L537-L550", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/TermSaver.php", "func_name": "TermSaver.do_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the saving for a term.\n\n@since 2.0\n\n@param \\WP_Term $term\n\n@return \\WP_Term", "docstring_tokens": ["Do", "the", "saving", "for", "a", "term", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/TermSaver.php#L90-L118", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/HasForeign.php", "func_name": "HasForeign.make_query_object", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a FluentQuery object.\n\n@since 2.0\n\n@param bool $model_class Set the Model class if possible.\n\n@return FluentQuery", "docstring_tokens": ["Make", "a", "FluentQuery", "object", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/HasForeign.php#L65-L74", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/HasForeign.php", "func_name": "HasForeign.fetch_results_for_eager_load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch results for an eager loading query.\n\n@since 2.0\n\n@param array $primary_keys\n\n@return \\Doctrine\\Common\\Collections\\Collection|\\IronBound\\DB\\Collection", "docstring_tokens": ["Fetch", "results", "for", "an", "eager", "loading", "query", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/HasForeign.php#L106-L116", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.newValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new values set for multiple insert query\n\n@param $nameParams - field name\n@param $val - field value\n\n@return $this", "docstring_tokens": ["Create", "new", "values", "set", "for", "multiple", "insert", "query"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L324-L335", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set values for update query\n\n@alias values\n\n@param $nameParams\n@param $val\n\n@return $this", "docstring_tokens": ["Set", "values", "for", "update", "query"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L348-L354", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add field to select\n\n@param $field\n\n@return $this", "docstring_tokens": ["Add", "field", "to", "select"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L364-L373", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.resetSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset select and add a new field\n\n@param $field\n\n@return $this", "docstring_tokens": ["Reset", "select", "and", "add", "a", "new", "field"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L382-L390", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure object for UPDATE query\nand set the main table name\n\n@param $tableName\n\n@return $this", "docstring_tokens": ["Configure", "object", "for", "UPDATE", "query", "and", "set", "the", "main", "table", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L401-L407", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure object for DELETE query\nand set the main table name\n\n@param $tableName\n\n@return $this", "docstring_tokens": ["Configure", "object", "for", "DELETE", "query", "and", "set", "the", "main", "table", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L418-L424", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.insertInto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure object for INSERT query\nand set the main table name\n\n@param $tableName\n\n@return $this", "docstring_tokens": ["Configure", "object", "for", "INSERT", "query", "and", "set", "the", "main", "table", "name"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L435-L441", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.from", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add FROM clause with table name and optional alias\n\n@param $tableName\n@param null $aliasTable\n\n@return $this", "docstring_tokens": ["Add", "FROM", "clause", "with", "table", "name", "and", "optional", "alias"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L452-L457", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add JOIN clause\n\n@param $mode string INNER|LEFT|RIGHT or other mysql join possibilities\n@param $table string table name\n@param $on string join condition\n\n@return $this", "docstring_tokens": ["Add", "JOIN", "clause"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L469-L474", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.andWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias to add WHERE clause with AND operator\n\n@param $field\n@param $comparisonOperator\n@param $value\n\n@return $this", "docstring_tokens": ["Alias", "to", "add", "WHERE", "clause", "with", "AND", "operator"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L542-L547", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.orWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias to add WHERE clause with OR\n\n@param $field\n@param $comparisonOperator\n@param $value\n\n@return $this", "docstring_tokens": ["Alias", "to", "add", "WHERE", "clause", "with", "OR"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L559-L564", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.resetOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the order clause from query\n\n@param null $orderName\n@param string $orderVal\n\n@return $this", "docstring_tokens": ["Reset", "the", "order", "clause", "from", "query"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L590-L598", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set LIMIT clause\n\n@param $limitStart\n@param null $limitEnd\n\n@return $this", "docstring_tokens": ["Set", "LIMIT", "clause"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L639-L652", "partition": "test"} +{"repo": "iNem0o/PicORM", "path": "src/PicORM/QueryBuilder.php", "func_name": "QueryBuilder.resetLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the limit clause from query\n\n@param null $limitStart\n@param null $limitEnd\n\n@return $this", "docstring_tokens": ["Delete", "the", "limit", "clause", "from", "query"], "sha": "0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f", "url": "https://github.com/iNem0o/PicORM/blob/0bf6c5b359d5fcb098b43d3ea3bf99839bee8b9f/src/PicORM/QueryBuilder.php#L662-L670", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Extensions/Trash/TrashSupport.php", "func_name": "TrashSupport.boot_TrashSupport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the TrashSupport trait.\n\n@since 2.0", "docstring_tokens": ["Initialize", "the", "TrashSupport", "trait", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Extensions/Trash/TrashSupport.php#L32-L43", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.get_results", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the results of the relation.\n\n@since 2.0\n\n@return Collection|Model|mixed", "docstring_tokens": ["Get", "the", "results", "of", "the", "relation", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L128-L144", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.load_from_cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the results of a relation from the cache.\n\n@since 2.0\n\n@param Model $model\n\n@return Collection|Model|mixed|null", "docstring_tokens": ["Load", "the", "results", "of", "a", "relation", "from", "the", "cache", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L155-L168", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.load_collection_from_cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a collection of models from the cache.\n\n@since 2.0\n\n@param int[]|string[] $cached\n@param Model $for\n\n@return Collection", "docstring_tokens": ["Load", "a", "collection", "of", "models", "from", "the", "cache", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L180-L199", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.cache_results", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache the results of a relation.\n\n@since 2.0\n\n@param Collection|Model|mixed $results\n@param Model $model", "docstring_tokens": ["Cache", "the", "results", "of", "a", "relation", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L222-L229", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.cache_collection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache a collection of results.\n\n@since 2.0\n\n@param Collection $collection\n@param Model $model", "docstring_tokens": ["Cache", "a", "collection", "of", "results", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L239-L246", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.cache_single", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache a single result.\n\n@since 2.0\n\n@param Model|mixed $result\n@param Model $model", "docstring_tokens": ["Cache", "a", "single", "result", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L256-L261", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/Relation.php", "func_name": "Relation.maybe_register_cache_events", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Maybe register cache events.\n\nCache events should only be registered once per relation.\n\n@since 2.o", "docstring_tokens": ["Maybe", "register", "cache", "events", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/Relation.php#L270-L282", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Saver/UserSaver.php", "func_name": "UserSaver.do_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the saving for a user.\n\n@since 2.0\n\n@param \\WP_User $user\n\n@return \\WP_User", "docstring_tokens": ["Do", "the", "saving", "for", "a", "user", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Saver/UserSaver.php#L114-L132", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Extensions/Meta/ModelWithMeta.php", "func_name": "ModelWithMeta.set_last_updated_at", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the model's last updated date whenever meta changes.", "docstring_tokens": ["Set", "the", "model", "s", "last", "updated", "date", "whenever", "meta", "changes", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Extensions/Meta/ModelWithMeta.php#L125-L139", "partition": "test"} +{"repo": "symlex/di-microkernel", "path": "src/Kernel.php", "func_name": "Kernel.getContainerParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns app config parameters like app.name, app.version and app.base_path as array\n\n@return array", "docstring_tokens": ["Returns", "app", "config", "parameters", "like", "app", ".", "name", "app", ".", "version", "and", "app", ".", "base_path", "as", "array"], "sha": "7a7ade1983fa29b0cea243ba8a8577cbced2cac0", "url": "https://github.com/symlex/di-microkernel/blob/7a7ade1983fa29b0cea243ba8a8577cbced2cac0/src/Kernel.php#L341-L360", "partition": "test"} +{"repo": "symlex/di-microkernel", "path": "src/Kernel.php", "func_name": "Kernel.containerIsCacheable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true, if the container.cache parameter does not exist or is false\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "the", "container", ".", "cache", "parameter", "does", "not", "exist", "or", "is", "false"], "sha": "7a7ade1983fa29b0cea243ba8a8577cbced2cac0", "url": "https://github.com/symlex/di-microkernel/blob/7a7ade1983fa29b0cea243ba8a8577cbced2cac0/src/Kernel.php#L382-L391", "partition": "test"} +{"repo": "symlex/di-microkernel", "path": "src/Kernel.php", "func_name": "Kernel.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a container instance", "docstring_tokens": ["Creates", "a", "container", "instance"], "sha": "7a7ade1983fa29b0cea243ba8a8577cbced2cac0", "url": "https://github.com/symlex/di-microkernel/blob/7a7ade1983fa29b0cea243ba8a8577cbced2cac0/src/Kernel.php#L431-L456", "partition": "test"} +{"repo": "symlex/di-microkernel", "path": "src/Kernel.php", "func_name": "Kernel.loadContainerConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the container config from YAML files in the config directory", "docstring_tokens": ["Loads", "the", "container", "config", "from", "YAML", "files", "in", "the", "config", "directory"], "sha": "7a7ade1983fa29b0cea243ba8a8577cbced2cac0", "url": "https://github.com/symlex/di-microkernel/blob/7a7ade1983fa29b0cea243ba8a8577cbced2cac0/src/Kernel.php#L461-L477", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Table/BaseTable.php", "func_name": "BaseTable.build_column_name_for_table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the column name for a table.\n\n@since 2.0\n\n@param Table $table\n\n@return string", "docstring_tokens": ["Build", "the", "column", "name", "for", "a", "table", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Table/BaseTable.php#L88-L102", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/ManyToMany.php", "func_name": "ManyToMany.persist_do_save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save all models that are being persisted.\n\n@since 2.0\n\n@param Collection $values\n\n@return array Models that have been newly created, not updated.", "docstring_tokens": ["Save", "all", "models", "that", "are", "being", "persisted", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/ManyToMany.php#L382-L408", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/ManyToMany.php", "func_name": "ManyToMany.persist_removed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist the removed models.\n\n@since 2.0\n\n@param DoctrineCollection $removed", "docstring_tokens": ["Persist", "the", "removed", "models", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/ManyToMany.php#L417-L444", "partition": "test"} +{"repo": "iron-bound-designs/IronBound-DB", "path": "src/Relations/ManyToMany.php", "func_name": "ManyToMany.persist_added", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persist the added models.\n\n@since 2.0\n\n@param DoctrineCollection $added", "docstring_tokens": ["Persist", "the", "added", "models", "."], "sha": "98511870a333aa930d6f9fd19796dff6a383d594", "url": "https://github.com/iron-bound-designs/IronBound-DB/blob/98511870a333aa930d6f9fd19796dff6a383d594/src/Relations/ManyToMany.php#L453-L484", "partition": "test"} +{"repo": "tokenly/laravel-api-provider", "path": "src/Repositories/APIRepository.php", "func_name": "APIRepository.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add UUID when creating", "docstring_tokens": ["add", "UUID", "when", "creating"], "sha": "2ccc64affcdbfc0e21df0478106676dcce01492b", "url": "https://github.com/tokenly/laravel-api-provider/blob/2ccc64affcdbfc0e21df0478106676dcce01492b/src/Repositories/APIRepository.php#L20-L23", "partition": "test"} +{"repo": "tokenly/laravel-api-provider", "path": "src/Middleware/AuthenticateProtectedAPIRequest.php", "func_name": "AuthenticateProtectedAPIRequest.initAuthenticator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new filter instance.\n\n@param Guard $auth\n@return void", "docstring_tokens": ["Create", "a", "new", "filter", "instance", "."], "sha": "2ccc64affcdbfc0e21df0478106676dcce01492b", "url": "https://github.com/tokenly/laravel-api-provider/blob/2ccc64affcdbfc0e21df0478106676dcce01492b/src/Middleware/AuthenticateProtectedAPIRequest.php#L31-L52", "partition": "test"} +{"repo": "tokenly/laravel-api-provider", "path": "src/Repositories/BaseRepository.php", "func_name": "BaseRepository.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "API Model Contract", "docstring_tokens": ["API", "Model", "Contract"], "sha": "2ccc64affcdbfc0e21df0478106676dcce01492b", "url": "https://github.com/tokenly/laravel-api-provider/blob/2ccc64affcdbfc0e21df0478106676dcce01492b/src/Repositories/BaseRepository.php#L60-L71", "partition": "test"} +{"repo": "cakebake/yii2-less.php", "path": "AssetConverter.php", "func_name": "AssetConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given LESS assets file into a CSS\n\n@param string $asset the asset file path, relative to $basePath\n@param string $basePath the directory the $asset is relative to.\n@return string the converted asset file path, relative to $basePath.", "docstring_tokens": ["Converts", "a", "given", "LESS", "assets", "file", "into", "a", "CSS"], "sha": "722cd971da0f847a5e12f99cd7a8985ce239bbe7", "url": "https://github.com/cakebake/yii2-less.php/blob/722cd971da0f847a5e12f99cd7a8985ce239bbe7/AssetConverter.php#L49-L66", "partition": "test"} +{"repo": "cakebake/yii2-less.php", "path": "AssetConverter.php", "func_name": "AssetConverter.buildResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the result file name\n\n@param string $asset the asset file path, relative to $basePath\n@param int $dotPos the strrpos position of filename-extension dot\n@param mixed $resultSuffix Suffix result css filename\n@return string the converted asset file path, relative to $basePath.", "docstring_tokens": ["Builds", "the", "result", "file", "name"], "sha": "722cd971da0f847a5e12f99cd7a8985ce239bbe7", "url": "https://github.com/cakebake/yii2-less.php/blob/722cd971da0f847a5e12f99cd7a8985ce239bbe7/AssetConverter.php#L76-L88", "partition": "test"} +{"repo": "cakebake/yii2-less.php", "path": "AssetConverter.php", "func_name": "AssetConverter.parseLess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parsing Less File\n\n@param string $basePath asset base path and command working directory\n@param string $asset the name of the asset file\n@param string $result the name of the file to be generated by the converter command\n@return boolean true on success, false on failure. Failures will be logged.\n@throws Less_Exception_Parser when the command fails", "docstring_tokens": ["Parsing", "Less", "File"], "sha": "722cd971da0f847a5e12f99cd7a8985ce239bbe7", "url": "https://github.com/cakebake/yii2-less.php/blob/722cd971da0f847a5e12f99cd7a8985ce239bbe7/AssetConverter.php#L99-L114", "partition": "test"} +{"repo": "donatj/Pushover-PHP", "path": "src/Pushover.php", "func_name": "Pushover.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the pushover message\n\n@see https://pushover.net/api\n\n@param string $message The message to send\n@param array $options Optional configuration settings\n@return bool|array Returns false on failure, or a data array on success", "docstring_tokens": ["Send", "the", "pushover", "message"], "sha": "385e6196ce67916fec9005ccc2cdf57a8ad54f2a", "url": "https://github.com/donatj/Pushover-PHP/blob/385e6196ce67916fec9005ccc2cdf57a8ad54f2a/src/Pushover.php#L52-L72", "partition": "test"} +{"repo": "traderinteractive/mongo-queue-php", "path": "src/AbstractQueue.php", "func_name": "AbstractQueue.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a non running message from the queue.\n\n@param array $query in same format as \\MongoDB\\Collection::find() where top level fields do not contain\noperators. Lower level fields can however. eg: valid {a: {$gt: 1}, \"b.c\": 3},\ninvalid {$and: [{...}, {...}]}\n@param array $options Associative array of get options.\nrunningResetDuration => integer\nThe duration (in miiliseconds) that the received messages are hidden from\nsubsequent retrieve requests after being retrieved by a get() request.\nwaitDurationInMillis => integer\nThe duration (in milliseconds) for which the call will wait for a message to\narrive in the queue before returning. If a message is available, the call will\nreturn sooner than WaitTimeSeconds.\npollDurationInMillis => integer\nThe millisecond duration to wait between polls.\nmaxNumberOfMessages => integer\nThe maximum number of messages to return with get(). All of the messages are not\nnecessarily returned.\n\n@return array Array of messages.\n\n@throws \\InvalidArgumentException key in $query was not a string", "docstring_tokens": ["Get", "a", "non", "running", "message", "from", "the", "queue", "."], "sha": "08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d", "url": "https://github.com/traderinteractive/mongo-queue-php/blob/08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d/src/AbstractQueue.php#L153-L178", "partition": "test"} +{"repo": "traderinteractive/mongo-queue-php", "path": "src/AbstractQueue.php", "func_name": "AbstractQueue.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count queue messages.\n\n@param array $query in same format as \\MongoDB\\Collection::find() where top level fields do not contain\noperators. Lower level fields can however. eg: valid {a: {$gt: 1}, \"b.c\": 3},\ninvalid {$and: [{...}, {...}]}\n@param bool|null $running query a running message or not or all\n\n@return int the count\n\n@throws \\InvalidArgumentException key in $query was not a string", "docstring_tokens": ["Count", "queue", "messages", "."], "sha": "08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d", "url": "https://github.com/traderinteractive/mongo-queue-php/blob/08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d/src/AbstractQueue.php#L192-L202", "partition": "test"} +{"repo": "traderinteractive/mongo-queue-php", "path": "src/AbstractQueue.php", "func_name": "AbstractQueue.requeue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Atomically acknowledge and send a message to the queue.\n\n@param Message $message message received from get().\n\n@return void", "docstring_tokens": ["Atomically", "acknowledge", "and", "send", "a", "message", "to", "the", "queue", "."], "sha": "08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d", "url": "https://github.com/traderinteractive/mongo-queue-php/blob/08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d/src/AbstractQueue.php#L223-L233", "partition": "test"} +{"repo": "traderinteractive/mongo-queue-php", "path": "src/AbstractQueue.php", "func_name": "AbstractQueue.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a message to the queue.\n\n@param Message $message The message to send.\n\n@return void", "docstring_tokens": ["Send", "a", "message", "to", "the", "queue", "."], "sha": "08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d", "url": "https://github.com/traderinteractive/mongo-queue-php/blob/08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d/src/AbstractQueue.php#L242-L253", "partition": "test"} +{"repo": "traderinteractive/mongo-queue-php", "path": "src/AbstractQueue.php", "func_name": "AbstractQueue.verifySort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method to validate keys and values for the given sort array\n\n@param array $sort The proposed sort for a mongo index.\n@param string $label The name of the variable given to the public ensureXIndex method.\n@param array &$completedFields The final index array with payload. prefix added to fields.\n\n@return void", "docstring_tokens": ["Helper", "method", "to", "validate", "keys", "and", "values", "for", "the", "given", "sort", "array"], "sha": "08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d", "url": "https://github.com/traderinteractive/mongo-queue-php/blob/08e6d6ae6e4097e911a8df6a3b03b9c338cfa37d/src/AbstractQueue.php#L385-L396", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Issues.php", "func_name": "Issues.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Short cut to append a message string into the message collection\n@param string $type\n@param string $message\n@return void", "docstring_tokens": ["Short", "cut", "to", "append", "a", "message", "string", "into", "the", "message", "collection"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Issues.php#L21-L24", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Issues.php", "func_name": "Issues.messages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a message collection of the selected type\nIf the type does not exists the object is created\n@param string $type\n@return Messages", "docstring_tokens": ["Return", "a", "message", "collection", "of", "the", "selected", "type", "If", "the", "type", "does", "not", "exists", "the", "object", "is", "created"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Issues.php#L32-L41", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Issues.php", "func_name": "Issues.import", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy all messages from source to this object\n@param Issues $issues\n@return void", "docstring_tokens": ["Copy", "all", "messages", "from", "source", "to", "this", "object"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Issues.php#L57-L66", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a parameter or an object.\n\n@param string $id The unique identifier for the parameter or object\n\n@return mixed The value of the parameter or an object\n\n@throws \\InvalidArgumentException if the identifier is not defined", "docstring_tokens": ["Gets", "a", "parameter", "or", "an", "object", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L298-L332", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a parameter or an object is set.\n\n@param string $id The unique identifier for the parameter or object\n\n@return bool", "docstring_tokens": ["Checks", "if", "a", "parameter", "or", "an", "object", "is", "set", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L341-L348", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.extend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extends an object definition.\n\nUseful when you want to extend an existing object definition,\nwithout necessarily loading that object.\n\n@param string $id The unique identifier for the object\n@param callable $callable A service definition to extend the original\n\n@return callable The wrapped callable\n\n@throws \\InvalidArgumentException if the identifier is not defined or not a service definition", "docstring_tokens": ["Extends", "an", "object", "definition", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L449-L476", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a service provider.\n\n@param ServiceProviderInterface $provider A ServiceProviderInterface instance\n@param array $values An array of values that customizes the provider\n\n@return static", "docstring_tokens": ["Registers", "a", "service", "provider", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L496-L505", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.tag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tag a service\n\n@param string $id\n@param string $tag\n@return $this", "docstring_tokens": ["Tag", "a", "service"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L514-L522", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/DependencyInjection/Container.php", "func_name": "Container.findTaggedServiceIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all service ids with a given tag\n\n@param string $tag\n@return array", "docstring_tokens": ["Find", "all", "service", "ids", "with", "a", "given", "tag"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/DependencyInjection/Container.php#L530-L541", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpKernel/Kernel.php", "func_name": "Kernel.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boots the current kernel.\n\n@api", "docstring_tokens": ["Boots", "the", "current", "kernel", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpKernel/Kernel.php#L131-L158", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpKernel/Kernel.php", "func_name": "Kernel.initializeBundles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the data structures related to the bundle management.\n\n- the bundles property maps a bundle name to the bundle instance,\n- the bundleMap property maps a bundle name to the bundle inheritance hierarchy (most derived bundle first).\n\n@throws \\LogicException if two bundles share a common name\n@throws \\LogicException if a bundle tries to extend a non-registered bundle\n@throws \\LogicException if a bundle tries to extend itself\n@throws \\LogicException if two bundles extend the same ancestor", "docstring_tokens": ["Initializes", "the", "data", "structures", "related", "to", "the", "bundle", "management", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpKernel/Kernel.php#L425-L477", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpKernel/Kernel.php", "func_name": "Kernel.getKernelParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the kernel parameters.\n\n@return array An array of kernel parameters", "docstring_tokens": ["Returns", "the", "kernel", "parameters", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpKernel/Kernel.php#L484-L504", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/SchemasValidator/SchemasValidator.php", "func_name": "SchemasValidator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate according to the current retriever.\nIf retriever is set then it will use validateWithRetriever,\notherwise it will use validateWithoutRetriever.\n\n@see validateWithRetriever\n@see validateWithoutRetriever\n\n@param string $content\n@throws \\RuntimeException on validation errors", "docstring_tokens": ["Validate", "according", "to", "the", "current", "retriever", ".", "If", "retriever", "is", "set", "then", "it", "will", "use", "validateWithRetriever", "otherwise", "it", "will", "use", "validateWithoutRetriever", "."], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/SchemasValidator/SchemasValidator.php#L55-L62", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/SchemasValidator/SchemasValidator.php", "func_name": "SchemasValidator.validateWithRetriever", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate changing the namespaces locations to local resources and downloading them\nif they does not exists\n\n@param string $content\n@throws \\RuntimeException on validation errors", "docstring_tokens": ["Validate", "changing", "the", "namespaces", "locations", "to", "local", "resources", "and", "downloading", "them", "if", "they", "does", "not", "exists"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/SchemasValidator/SchemasValidator.php#L71-L91", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/SchemasValidator/SchemasValidator.php", "func_name": "SchemasValidator.validateWithoutRetriever", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate just using the SchemaValidator, it will not retrieve any resource\nand perform all validations using internet\n\n@param string $content\n@throws \\RuntimeException on validation errors", "docstring_tokens": ["Validate", "just", "using", "the", "SchemaValidator", "it", "will", "not", "retrieve", "any", "resource", "and", "perform", "all", "validations", "using", "internet"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/SchemasValidator/SchemasValidator.php#L100-L107", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.container", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get container, if it doesn't exist create it\n\n@param string $name\n@return AssetContainer", "docstring_tokens": ["Get", "container", "if", "it", "doesn", "t", "exist", "create", "it"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L61-L68", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.outputJs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output a JS asset from the container\n\n@param string $container\n@return string", "docstring_tokens": ["Output", "a", "JS", "asset", "from", "the", "container"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L126-L138", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.outputCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output a CSS asset from the container\n\n@param string $container\n@return string", "docstring_tokens": ["Output", "a", "CSS", "asset", "from", "the", "container"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L146-L158", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.getAssets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all assets of a given type from a given container\n\n@param $container\n@param $type\n@return array", "docstring_tokens": ["Get", "all", "assets", "of", "a", "given", "type", "from", "a", "given", "container"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L167-L184", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.arrange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort and retrieve assets based on their dependencies\n\n@param array $assets\n@return array", "docstring_tokens": ["Sort", "and", "retrieve", "assets", "based", "on", "their", "dependencies"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L192-L203", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetManager.php", "func_name": "AssetManager.dependencyIsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify that an asset's dependency is valid.\n\nA dependency is considered valid if it exists, is not a circular reference, and is\nnot a reference to the owning asset itself. If the dependency doesn't exist, no\nerror or warning will be given. For the other cases, an exception is thrown.\n\n@param string $asset\n@param string $dependency\n@param array $original\n@param array $assets\n@throws SelfDependencyException\n@throws CircularDependencyException\n@return bool", "docstring_tokens": ["Verify", "that", "an", "asset", "s", "dependency", "is", "valid", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetManager.php#L258-L271", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIFactory.php", "func_name": "CFDIFactory.newPostValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an object with default validators included in the PostValidator object\n\n@return PostValidator", "docstring_tokens": ["Return", "an", "object", "with", "default", "validators", "included", "in", "the", "PostValidator", "object"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIFactory.php#L40-L50", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIFactory.php", "func_name": "CFDIFactory.newRetriever", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new instance of an XsdRetriever depending on the\nproperty localResourcesPath.\n\n@param DownloaderInterface|null $downloader\n@return null|XsdRetriever", "docstring_tokens": ["Return", "a", "new", "instance", "of", "an", "XsdRetriever", "depending", "on", "the", "property", "localResourcesPath", "."], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIFactory.php#L85-L92", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIFactory.php", "func_name": "CFDIFactory.newXsltRetriever", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new instance of an XsltRetriever depending on the\nproperty localResourcesPath.\n\n@param DownloaderInterface|null $downloader\n@return null|XsltRetriever", "docstring_tokens": ["Return", "a", "new", "instance", "of", "an", "XsltRetriever", "depending", "on", "the", "property", "localResourcesPath", "."], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIFactory.php#L107-L114", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIFactory.php", "func_name": "CFDIFactory.newCertificadoValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a CertificadoValidator with the CadenaOrigen property set\nto the value of the newCadenaOrigen method\n\n@return CertificadoValidator", "docstring_tokens": ["Return", "a", "CertificadoValidator", "with", "the", "CadenaOrigen", "property", "set", "to", "the", "value", "of", "the", "newCadenaOrigen", "method"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIFactory.php#L132-L138", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIFactory.php", "func_name": "CFDIFactory.newCFDIReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a CFDI Reader, it has to be valid otherwise a exception will be thrown\n@param string $content\n@param array $errors\n@param array $warnings\n@param bool $requireTimbre\n@return CFDIReader", "docstring_tokens": ["Create", "a", "CFDI", "Reader", "it", "has", "to", "be", "valid", "otherwise", "a", "exception", "will", "be", "thrown"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIFactory.php#L148-L167", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/CommandBus/CommandBus.php", "func_name": "CommandBus.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the command\n\n@param CommandInterface $command\n@throws HandlerNotFoundException", "docstring_tokens": ["Handle", "the", "command"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/CommandBus/CommandBus.php#L34-L41", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpCore/Response/Cookies.php", "func_name": "Cookies.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new cookies into the collection\n\n@param $name\n@param $value\n@param int $minutes\n@param string $path\n@param null $domain\n@param bool|false $secure\n@param bool|true $httpOnly\n@return $this", "docstring_tokens": ["Set", "a", "new", "cookies", "into", "the", "collection"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpCore/Response/Cookies.php#L64-L73", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpCore/Response/Cookies.php", "func_name": "Cookies.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cookie value\n\n@param $name\n@param null $default\n@return mixed|null", "docstring_tokens": ["Get", "cookie", "value"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpCore/Response/Cookies.php#L82-L89", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Common/Arr.php", "func_name": "Arr.firstBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get first value in array from closure\n\n@param array $array\n@param callable $closure\n@return mixed", "docstring_tokens": ["Get", "first", "value", "in", "array", "from", "closure"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Common/Arr.php#L44-L52", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Authentication/Encoder/BCryptPasswordEncoder.php", "func_name": "BCryptPasswordEncoder.isPasswordValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if password is valid\n\n@param $encodedPassword\n@param $rawPassword\n@param $salt\n@return bool", "docstring_tokens": ["Check", "if", "password", "is", "valid"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Authentication/Encoder/BCryptPasswordEncoder.php#L71-L74", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIReader.php", "func_name": "CFDIReader.node", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the node in the path inside the Comprobante\nReturns null if the node does not exists\nThe node retrieved is always a copy\n\n@param string[] ...$nodePath\n@return SimpleXMLElement|null", "docstring_tokens": ["Return", "the", "node", "in", "the", "path", "inside", "the", "Comprobante", "Returns", "null", "if", "the", "node", "does", "not", "exists", "The", "node", "retrieved", "is", "always", "a", "copy"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIReader.php#L153-L157", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIReader.php", "func_name": "CFDIReader.attribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the attribute content of a comprobante or child node\nReturn an empty string if the node or the attribute does not exists\n\nThe last argument is always the attribute name\n\n@param string[] ...$nodePath\n@return string", "docstring_tokens": ["Get", "the", "attribute", "content", "of", "a", "comprobante", "or", "child", "node", "Return", "an", "empty", "string", "if", "the", "node", "or", "the", "attribute", "does", "not", "exists"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIReader.php#L168-L174", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIReader.php", "func_name": "CFDIReader.appendChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility function to create a child\n\n@param SimpleXMLElement $source\n@param SimpleXMLElement $parent\n@param array $nss\n@return SimpleXMLElement", "docstring_tokens": ["Utility", "function", "to", "create", "a", "child"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIReader.php#L218-L223", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIReader.php", "func_name": "CFDIReader.populateNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility function to copy contents from one element to other without namespaces\n\n@param SimpleXMLElement $source\n@param SimpleXMLElement $destination\n@param array $nss\n@return void", "docstring_tokens": ["Utility", "function", "to", "copy", "contents", "from", "one", "element", "to", "other", "without", "namespaces"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIReader.php#L233-L248", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDIReader.php", "func_name": "CFDIReader.retrieveNode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Private helper to locate a node\n@see node(), attribute()\n@param string[] ...$nodePath\n@return null|SimpleXMLElement", "docstring_tokens": ["Private", "helper", "to", "locate", "a", "node"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDIReader.php#L256-L266", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Validation/Constraints/AbstractRequired.php", "func_name": "AbstractRequired.hasRequiredValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if posted value is valid\n\n@param $value\n@return bool", "docstring_tokens": ["Check", "if", "posted", "value", "is", "valid"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Validation/Constraints/AbstractRequired.php#L36-L58", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php", "func_name": "Profiler.addDoctrineQueries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add queries for doctrine off the DebugStack logger\n\n@param DebugStack $debugStack\n@return $this", "docstring_tokens": ["Add", "queries", "for", "doctrine", "off", "the", "DebugStack", "logger"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php#L146-L174", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php", "func_name": "Profiler.addTimers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add timers to profiler\n\n->addTimers(array(\n'Test' => array(\n'start' => time(),\n'time' => time() + 1000,\n),\n));\n\n@param array $timers\n@return $this", "docstring_tokens": ["Add", "timers", "to", "profiler"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php#L250-L257", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php", "func_name": "Profiler.getFileSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the human-readable file size with units.\n\n@param int $size\n@return string", "docstring_tokens": ["Calculate", "the", "human", "-", "readable", "file", "size", "with", "units", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/WebProfilerBundle/Profiler.php#L363-L367", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Validators.php", "func_name": "Validators.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append a validator into the list of validators,\nthis will search if the validator object does not exists\n@param ValidatorInterface $validator", "docstring_tokens": ["Append", "a", "validator", "into", "the", "list", "of", "validators", "this", "will", "search", "if", "the", "validator", "object", "does", "not", "exists"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Validators.php#L14-L19", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Validators.php", "func_name": "Validators.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a validator from the list of validators\n@param ValidatorInterface $validator", "docstring_tokens": ["Remove", "a", "validator", "from", "the", "list", "of", "validators"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Validators.php#L25-L32", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Validators.php", "func_name": "Validators.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a registered instance of a validator identified by index\n@param int $index\n@return ValidatorInterface", "docstring_tokens": ["Return", "a", "registered", "instance", "of", "a", "validator", "identified", "by", "index"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Validators.php#L58-L64", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/Scripts/Validate.php", "func_name": "Validate.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use this function to build the validate object from arguments values\n@param string[] $arguments\n@return Validate", "docstring_tokens": ["Use", "this", "function", "to", "build", "the", "validate", "object", "from", "arguments", "values"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/Scripts/Validate.php#L57-L81", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/Scripts/Validate.php", "func_name": "Validate.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run this script\n@return void", "docstring_tokens": ["Run", "this", "script"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/Scripts/Validate.php#L107-L113", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/Scripts/Validate.php", "func_name": "Validate.runFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run only a filename, used in the run loop\n@param CFDIFactory $factory\n@param string $argument\n@return void", "docstring_tokens": ["Run", "only", "a", "filename", "used", "in", "the", "run", "loop"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/Scripts/Validate.php#L121-L147", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Authentication/AuthenticationProvider.php", "func_name": "AuthenticationProvider.authorize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try and authorize a user based on credentials\n\n@param CredentialsInterface $credentials\n@return UserInterface\n@throws UserNotFoundException\n@throws BadCredentialsException", "docstring_tokens": ["Try", "and", "authorize", "a", "user", "based", "on", "credentials"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Authentication/AuthenticationProvider.php#L83-L103", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Authentication/AuthenticationProvider.php", "func_name": "AuthenticationProvider.isLoggedIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if user is logged in\n\n@return bool", "docstring_tokens": ["Check", "if", "user", "is", "logged", "in"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Authentication/AuthenticationProvider.php#L110-L118", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Authentication/AuthenticationProvider.php", "func_name": "AuthenticationProvider.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Login a given user\n\n@param UserInterface $user\n@throws UserNotFoundException", "docstring_tokens": ["Login", "a", "given", "user"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Authentication/AuthenticationProvider.php#L136-L150", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Authentication/AuthenticationProvider.php", "func_name": "AuthenticationProvider.logout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logout a user", "docstring_tokens": ["Logout", "a", "user"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Authentication/AuthenticationProvider.php#L155-L160", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Validation/Validator.php", "func_name": "Validator.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a constraint to the validator\n\n@param $name\n@param ConstraintInterface|ConstraintInterface[] $constraints\n@return $this", "docstring_tokens": ["Add", "a", "constraint", "to", "the", "validator"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Validation/Validator.php#L55-L70", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Validation/Validator.php", "func_name": "Validator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate given input\n\n@param $input\n@return bool", "docstring_tokens": ["Validate", "given", "input"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Validation/Validator.php#L78-L101", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Controller/RedirectController.php", "func_name": "RedirectController.urlRedirectAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects to a URL.\n\nThe response status code is 302 if the permanent parameter is false (default),\nand 301 if the redirection is permanent.\n\nIn case the path is empty, the status code will be 404 when permanent is false\nand 410 otherwise.\n\n@param Request $request\n@param $path\n@param bool|false $permanent\n@param null $scheme\n@param null $httpPort\n@param null $httpsPort\n@return RedirectResponse\n@throws HttpException", "docstring_tokens": ["Redirects", "to", "a", "URL", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Controller/RedirectController.php#L57-L126", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/HttpKernel/Bundle/Bundle.php", "func_name": "Bundle.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Bundle directory path.\n\n@return string The Bundle absolute path\n\n@api", "docstring_tokens": ["Gets", "the", "Bundle", "directory", "path", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/HttpKernel/Bundle/Bundle.php#L65-L73", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Messages.php", "func_name": "Messages.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a message by index\n\n@param int $index\n@return string\n@throws \\OutOfBoundsException if the message does not exists", "docstring_tokens": ["Get", "a", "message", "by", "index"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Messages.php#L38-L44", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/CustomPostType.php", "func_name": "CustomPostType.generateCustomPostTypeName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrite to change the way the custom post type name is determined.\nThis value is fed into the PostTypeBuilder. If an existing post type of\nthe same name exist, it will load the existing configuration to allow\nmodification.\n\n@return string", "docstring_tokens": ["Overwrite", "to", "change", "the", "way", "the", "custom", "post", "type", "name", "is", "determined", ".", "This", "value", "is", "fed", "into", "the", "PostTypeBuilder", ".", "If", "an", "existing", "post", "type", "of", "the", "same", "name", "exist", "it", "will", "load", "the", "existing", "configuration", "to", "allow", "modification", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/CustomPostType.php#L308-L316", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Templating/Twig/Extension/UrlExtension.php", "func_name": "UrlExtension.getFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of functions to add to the existing list.\n\n@return array An array of functions", "docstring_tokens": ["Returns", "a", "list", "of", "functions", "to", "add", "to", "the", "existing", "list", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Templating/Twig/Extension/UrlExtension.php#L40-L50", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/CommandBus/CommandHandlerResolver.php", "func_name": "CommandHandlerResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve handler for command\n\n@param CommandInterface $command\n@return CommandHandlerInterface", "docstring_tokens": ["Resolve", "handler", "for", "command"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/CommandBus/CommandHandlerResolver.php#L34-L45", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Validators/AbstractValidator.php", "func_name": "AbstractValidator.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure this helper class\n@param CFDIReader $cfdi\n@param Issues $issues", "docstring_tokens": ["Configure", "this", "helper", "class"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Validators/AbstractValidator.php#L44-L49", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/PostValidations/Validators/AbstractValidator.php", "func_name": "AbstractValidator.sumNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compute the sum of a collection of nodes considering an attribute\n@param SimpleXMLElement $collection\n@param string $attribute\n@return float", "docstring_tokens": ["Compute", "the", "sum", "of", "a", "collection", "of", "nodes", "considering", "an", "attribute"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/PostValidations/Validators/AbstractValidator.php#L90-L106", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Session/Bag/OldInputBag.php", "func_name": "OldInputBag.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets and clears input from the stack.\n\n@param string $name\n@param null $default Default value if $name does not exist.\n\n@return array", "docstring_tokens": ["Gets", "and", "clears", "input", "from", "the", "stack", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Session/Bag/OldInputBag.php#L83-L94", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/CustomTaxonomy.php", "func_name": "CustomTaxonomy.setSequentialPosition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Taxonomy Meta Box Order.\n@param $position\n@param MetaDataBinding $context", "docstring_tokens": ["Sets", "the", "Taxonomy", "Meta", "Box", "Order", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/CustomTaxonomy.php#L108-L137", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/CustomTaxonomy.php", "func_name": "CustomTaxonomy.generateTaxonomyName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Overwrite to change the way the taxonomy name is determined.\nThis value is fed into the TaxonomyBuilder. If an existing taxonomy of\nthe same name exist, it will load the existing configuration to allow\nmodification.\n\n@return string", "docstring_tokens": ["Overwrite", "to", "change", "the", "way", "the", "taxonomy", "name", "is", "determined", ".", "This", "value", "is", "fed", "into", "the", "TaxonomyBuilder", ".", "If", "an", "existing", "taxonomy", "of", "the", "same", "name", "exist", "it", "will", "load", "the", "existing", "configuration", "to", "allow", "modification", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/CustomTaxonomy.php#L283-L297", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Matcher/RedirectableUrlMatcher.php", "func_name": "RedirectableUrlMatcher.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the user to another URL.\n\n@param string $path The path info to redirect to\n@param string $route The route name that matched\n@param string|null $scheme The URL scheme (null to keep the current one)\n\n@return array An array of parameters", "docstring_tokens": ["Redirects", "the", "user", "to", "another", "URL", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Matcher/RedirectableUrlMatcher.php#L57-L68", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Console/Application.php", "func_name": "Application.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register commands from bundles", "docstring_tokens": ["Register", "commands", "from", "bundles"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Console/Application.php#L113-L128", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php", "func_name": "DisconnectedMetadataFactory.getBundleMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the metadata of all classes of a bundle.\n\n@param BundleInterface $bundle A BundleInterface instance\n\n@return ClassMetadataCollection A ClassMetadataCollection instance\n\n@throws \\RuntimeException When bundle does not contain mapped entities", "docstring_tokens": ["Gets", "the", "metadata", "of", "all", "classes", "of", "a", "bundle", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php#L55-L69", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php", "func_name": "DisconnectedMetadataFactory.getNamespaceMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the metadata of all classes of a namespace.\n\n@param string $namespace A namespace name\n@param string $path The path where the class is stored (if known)\n\n@return ClassMetadataCollection A ClassMetadataCollection instance\n\n@throws \\RuntimeException When namespace not contain mapped entities", "docstring_tokens": ["Gets", "the", "metadata", "of", "all", "classes", "of", "a", "namespace", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php#L103-L113", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php", "func_name": "DisconnectedMetadataFactory.findNamespaceAndPathForMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and configure path and namespace for the metadata collection.\n\n@param ClassMetadataCollection $metadata\n@param string|null $path\n\n@throws \\RuntimeException When unable to determine the path", "docstring_tokens": ["Find", "and", "configure", "path", "and", "namespace", "for", "the", "metadata", "collection", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/DoctrineBundle/Mapping/DisconnectedMetadataFactory.php#L123-L143", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Asset/AssetContainer.php", "func_name": "AssetContainer.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an asset to the array of registered assets.\n\n@param string $type\n@param string $name\n@param string $source\n@param array $dependencies\n@param array $attributes\n@return $this", "docstring_tokens": ["Add", "an", "asset", "to", "the", "array", "of", "registered", "assets", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Asset/AssetContainer.php#L114-L123", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Controller/Controller.php", "func_name": "Controller.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a response\n\n@param $view\n@param array $parameters\n@param Response|null $response\n@return Response", "docstring_tokens": ["Returns", "a", "response"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Controller/Controller.php#L52-L63", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Cache/CacheManager.php", "func_name": "CacheManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save an item into the cache\n\n@param $id\n@param $value\n@param bool $lifetime\n@return bool", "docstring_tokens": ["Save", "an", "item", "into", "the", "cache"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Cache/CacheManager.php#L50-L53", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDICleaner.php", "func_name": "CFDICleaner.loadContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the string content as a CFDI\nThis is exposed to reuse the current object instead of create a new instance\n\n@param string $content\n\n@throws CFDICleanerException when the content is not valid xml\n@throws CFDICleanerException when the document does not use the namespace http://www.sat.gob.mx/cfd/3\n@throws CFDICleanerException when cannot find a Comprobante version (or Version) attribute\n@throws CFDICleanerException when the version is not compatible\n\n@return void", "docstring_tokens": ["Load", "the", "string", "content", "as", "a", "CFDI", "This", "is", "exposed", "to", "reuse", "the", "current", "object", "instead", "of", "create", "a", "new", "instance"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDICleaner.php#L113-L148", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDICleaner.php", "func_name": "CFDICleaner.removeNonSatNSschemaLocations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Procedure to drop schemaLocations that are not allowed\nIf the schemaLocation is empty then remove the attribute\n\n@return void", "docstring_tokens": ["Procedure", "to", "drop", "schemaLocations", "that", "are", "not", "allowed", "If", "the", "schemaLocation", "is", "empty", "then", "remove", "the", "attribute"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDICleaner.php#L200-L213", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDICleaner.php", "func_name": "CFDICleaner.removeNonSatNSNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Procedure to remove all nodes that are not from an allowed namespace\n@return void", "docstring_tokens": ["Procedure", "to", "remove", "all", "nodes", "that", "are", "not", "from", "an", "allowed", "namespace"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDICleaner.php#L252-L268", "partition": "test"} +{"repo": "eclipxe13/buzoncfdi-cfdireader", "path": "src/CFDIReader/CFDICleaner.php", "func_name": "CFDICleaner.removeUnusedNamespaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Procedure to remove not allowed xmlns definitions\n@return void", "docstring_tokens": ["Procedure", "to", "remove", "not", "allowed", "xmlns", "definitions"], "sha": "61daa5acc339ceeaf71cc5db172e264672a37fc0", "url": "https://github.com/eclipxe13/buzoncfdi-cfdireader/blob/61daa5acc339ceeaf71cc5db172e264672a37fc0/src/CFDIReader/CFDICleaner.php#L286-L301", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/View.php", "func_name": "View.initializeBindings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If the delegated MetaDataBinding hasn't been set yet,\nassume the current post, as a PostType object.\nUse to bind Registery items.", "docstring_tokens": ["If", "the", "delegated", "MetaDataBinding", "hasn", "t", "been", "set", "yet", "assume", "the", "current", "post", "as", "a", "PostType", "object", ".", "Use", "to", "bind", "Registery", "items", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/View.php#L149-L159", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/View.php", "func_name": "View.bindRegistryItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set binding on any Registry items that delegate to a MetaDataBinding.", "docstring_tokens": ["Set", "binding", "on", "any", "Registry", "items", "that", "delegate", "to", "a", "MetaDataBinding", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/View.php#L164-L171", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/View.php", "func_name": "View.getFileNameDashedCase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the file name based on the class name that is dashed lower case.\nThis file name format is used by WordPress.\n\n@return string", "docstring_tokens": ["Return", "the", "file", "name", "based", "on", "the", "class", "name", "that", "is", "dashed", "lower", "case", ".", "This", "file", "name", "format", "is", "used", "by", "WordPress", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/View.php#L191-L200", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/View.php", "func_name": "View.initializeContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the Timber context with the View's context values added.\n\n@return array", "docstring_tokens": ["Return", "the", "Timber", "context", "with", "the", "View", "s", "context", "values", "added", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/View.php#L283-L301", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/View.php", "func_name": "View.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the View after initialzing the bindings and context", "docstring_tokens": ["Render", "the", "View", "after", "initialzing", "the", "bindings", "and", "context"], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/View.php#L306-L310", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Config/ConfigManager.php", "func_name": "ConfigManager.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load config files\n\n@param bool|false $force", "docstring_tokens": ["Load", "config", "files"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Config/ConfigManager.php#L96-L134", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Router.php", "func_name": "Router.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a given path\n\nYou would proceed this method call by setting allowed methods\n\n@param $path\n@param $name\n@param null $callback\n@param array $schemes\n@return Route", "docstring_tokens": ["Match", "a", "given", "path"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Router.php#L176-L179", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Router.php", "func_name": "Router.section", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a route section\n\n@param $name\n@param array $options\n@param \\Closure $callback\n\n@deprecated This method is deprecated as of 2.1 and will be removed in 3.0 use Router::group instead\n\n@return $this", "docstring_tokens": ["Create", "a", "route", "section"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Router.php#L231-L247", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Router.php", "func_name": "Router.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a route group\n\n@param string|array $options\n@param \\Closure $callback\n@return $this", "docstring_tokens": ["Create", "a", "route", "group"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Router.php#L256-L314", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Templating/Helper/BlocksHelper.php", "func_name": "BlocksHelper.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a new block.\n\nThis method starts an output buffer that will be\nclosed when the stop() method is called.\n\n@param string $name The block name\n\n@throws \\InvalidArgumentException if a block with the same name is already started\n\n@api", "docstring_tokens": ["Starts", "a", "new", "block", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Templating/Helper/BlocksHelper.php#L41-L52", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Templating/Helper/BlocksHelper.php", "func_name": "BlocksHelper.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops a block.\n\n@throws \\LogicException if no block has been started\n\n@api", "docstring_tokens": ["Stops", "a", "block", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Templating/Helper/BlocksHelper.php#L74-L83", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Templating/Helper/BlocksHelper.php", "func_name": "BlocksHelper.output", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs a block.\n\n@param string $name The block name\n\n@param bool $default\n@return Boolean true if the block is defined or if a default content has been provided, false otherwise\n\n@api", "docstring_tokens": ["Outputs", "a", "block", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Templating/Helper/BlocksHelper.php#L189-L212", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Controller/ControllerResolver.php", "func_name": "ControllerResolver.createController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a callable for the given controller.\n\n@param string $controller A Controller string\n\n@return mixed A PHP callable\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Returns", "a", "callable", "for", "the", "given", "controller", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Controller/ControllerResolver.php#L59-L89", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Routing/Controller/ControllerResolver.php", "func_name": "ControllerResolver.instantiateController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instantiated controller\n\n@param string $class A class name\n\n@return object", "docstring_tokens": ["Returns", "an", "instantiated", "controller"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Routing/Controller/ControllerResolver.php#L98-L116", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Url/UrlGenerator.php", "func_name": "UrlGenerator.validateUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given path is a valid URL.\n\n@param $url\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "path", "is", "a", "valid", "URL", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Url/UrlGenerator.php#L128-L137", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Templating/Twig/Loader/FilesystemLoader.php", "func_name": "FilesystemLoader.findTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the path to the template file.\n\nThe file locator is used to locate the template when the naming convention\nis the symfony one (i.e. the name can be parsed).\nOtherwise the template is located using the locator from the twig library.\n\n@param string|TemplateReferenceInterface $template The template\n@param bool $throw When true, a \\Twig_Error_Loader exception will be thrown if a template could not be found\n\n@return string The path to the template file\n\n@throws \\Twig_Error_Loader if the template could not be found", "docstring_tokens": ["Returns", "the", "path", "to", "the", "template", "file", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Templating/Twig/Loader/FilesystemLoader.php#L83-L114", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/DoctrineBundle/Command/Proxy/CommandHelper.php", "func_name": "CommandHelper.setApplicationEntityManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convenience method to push the helper sets of a given entity manager into the application.\n\n@param Application $application\n@param string $emName", "docstring_tokens": ["Convenience", "method", "to", "push", "the", "helper", "sets", "of", "a", "given", "entity", "manager", "into", "the", "application", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/DoctrineBundle/Command/Proxy/CommandHelper.php#L37-L45", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Bundle/DoctrineBundle/Command/Proxy/CommandHelper.php", "func_name": "CommandHelper.setApplicationConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convenience method to push the helper sets of a given connection into the application.\n\n@param Application $application\n@param string $connName", "docstring_tokens": ["Convenience", "method", "to", "push", "the", "helper", "sets", "of", "a", "given", "connection", "into", "the", "application", "."], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Bundle/DoctrineBundle/Command/Proxy/CommandHelper.php#L53-L58", "partition": "test"} +{"repo": "StoutLogic/understory", "path": "lib/Site.php", "func_name": "Site.renderView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called by the WordPress include_template filter, so we can\nintercept it and render our registered View object instead.\n\nThis is not a great solution because WordPress filters should not\ncause side effects, but in this case, on render is the only time\nthis filter should be called. Still, we will acknowledge that\nit is a hack\n\n@param string $template template file\n@return string template file, return false if rendering", "docstring_tokens": ["Called", "by", "the", "WordPress", "include_template", "filter", "so", "we", "can", "intercept", "it", "and", "render", "our", "registered", "View", "object", "instead", "."], "sha": "b7496afb52a33c01269a7a68dce2de4fbd9f7de6", "url": "https://github.com/StoutLogic/understory/blob/b7496afb52a33c01269a7a68dce2de4fbd9f7de6/lib/Site.php#L259-L267", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Forms/Form.php", "func_name": "Form.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open the form\n\n@return string", "docstring_tokens": ["Open", "the", "form"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Forms/Form.php#L117-L127", "partition": "test"} +{"repo": "tomahawkphp/framework", "path": "src/Tomahawk/Forms/Form.php", "func_name": "Form.addTransformers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a group of data transformers\n\narray (\n'date' => DataTransformerInterface\n)\n\n@param array $dataTransformers\n@return $this", "docstring_tokens": ["Add", "a", "group", "of", "data", "transformers"], "sha": "087ee2d362fe70a9020d32c00f7a48cb11b9c04f", "url": "https://github.com/tomahawkphp/framework/blob/087ee2d362fe70a9020d32c00f7a48cb11b9c04f/src/Tomahawk/Forms/Form.php#L287-L299", "partition": "test"} +{"repo": "pepijnolivier/laravel-bittrex", "path": "src/Client.php", "func_name": "Client.public", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a public API request\n\n@param $segment\n@param array $parameters\n@return array", "docstring_tokens": ["Execute", "a", "public", "API", "request"], "sha": "2c3e530600b054fa6b74a6fa33833a5fca72445b", "url": "https://github.com/pepijnolivier/laravel-bittrex/blob/2c3e530600b054fa6b74a6fa33833a5fca72445b/src/Client.php#L346-L358", "partition": "test"} +{"repo": "pepijnolivier/laravel-bittrex", "path": "src/Client.php", "func_name": "Client.market", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a market API request\n\n@param $segment\n@param array $parameters\n@return array", "docstring_tokens": ["Execute", "a", "market", "API", "request"], "sha": "2c3e530600b054fa6b74a6fa33833a5fca72445b", "url": "https://github.com/pepijnolivier/laravel-bittrex/blob/2c3e530600b054fa6b74a6fa33833a5fca72445b/src/Client.php#L367-L370", "partition": "test"} +{"repo": "pepijnolivier/laravel-bittrex", "path": "src/Client.php", "func_name": "Client.account", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an account API request\n\n@param $segment\n@param array $parameters\n@return array", "docstring_tokens": ["Execute", "an", "account", "API", "request"], "sha": "2c3e530600b054fa6b74a6fa33833a5fca72445b", "url": "https://github.com/pepijnolivier/laravel-bittrex/blob/2c3e530600b054fa6b74a6fa33833a5fca72445b/src/Client.php#L379-L382", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Models/Meta.php", "func_name": "Meta.prepareAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the attributes.\n\n@param array $attributes\n\n@return array", "docstring_tokens": ["Prepare", "the", "attributes", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Models/Meta.php#L101-L110", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Models/Meta.php", "func_name": "Meta.addExtra", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an extra meta.\n\n@param string $key\n@param mixed $value\n\n@return $this", "docstring_tokens": ["Add", "an", "extra", "meta", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Models/Meta.php#L120-L125", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Database/RecordSet.php", "func_name": "RecordSet.fetchObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current row of a result set as an object\n@param string The name of the class to instantiate, set the properties of and return. If not specified, a \\stdClass object is returned.\n@param array An optional array of parameters to pass to the constructor for class_name objects.\n@return object", "docstring_tokens": ["Returns", "the", "current", "row", "of", "a", "result", "set", "as", "an", "object"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Database/RecordSet.php#L86-L97", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/ManiaScript/UI.php", "func_name": "UI.dialog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Teh infamous dialog box\n\n@param string $openControlId Id of the element that will open the dialog when clicked\n@param string $message Message to show in the dialog\n@param array $action A ManiaScript Framework Action", "docstring_tokens": ["Teh", "infamous", "dialog", "box"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/ManiaScript/UI.php#L39-L42", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Database/Connection.php", "func_name": "Connection.getInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The easiest way to retrieve a database connection. Works as a singleton,\nand returns a connection with the default parameters\n@return \\ManiaLib\\Database\\Connection", "docstring_tokens": ["The", "easiest", "way", "to", "retrieve", "a", "database", "connection", ".", "Works", "as", "a", "singleton", "and", "returns", "a", "connection", "with", "the", "default", "parameters"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Database/Connection.php#L65-L83", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Database/Connection.php", "func_name": "Connection.beginTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ACID Transactions\nONLY WORKS WITH INNODB TABLES !\n\n----\n\nIt handles EXPERIMENTAL (== never tested!!!) nested transactions\none \"BEGIN\" on the first call of beginTransaction\none \"COMMIT\" on the last call of commitTransaction (when the ref count is 1)\none \"ROLLBACK\" on the first call of rollbackTransaction", "docstring_tokens": ["ACID", "Transactions", "ONLY", "WORKS", "WITH", "INNODB", "TABLES", "!"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Database/Connection.php#L250-L261", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Maniacode/Maniacode.php", "func_name": "Maniacode.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the Maniacode GUI Toolkit. This should be called before doing anything with the toolkit\n\n@param bool True if you don't want to see a message at the end of the execution of the maniacode\n@param bool Wheter you want to create the root \"\" element in the XML", "docstring_tokens": ["Loads", "the", "Maniacode", "GUI", "Toolkit", ".", "This", "should", "be", "called", "before", "doing", "anything", "with", "the", "toolkit"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Maniacode/Maniacode.php#L27-L40", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Maniacode/Maniacode.php", "func_name": "Maniacode.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the Maniacode if no return the script will be stopped\n@param bool Whether you want to return the XML instead of printing it\n@return mixed The XML string if param true, in other case it returns void", "docstring_tokens": ["Renders", "the", "Maniacode", "if", "no", "return", "the", "script", "will", "be", "stopped"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Maniacode/Maniacode.php#L47-L56", "partition": "test"} +{"repo": "nykopol/gpsd-client", "path": "Client.php", "func_name": "Client.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connect to the service\n@return string service informations json_decoded\n@throws Exception", "docstring_tokens": ["Connect", "to", "the", "service"], "sha": "e083573dcaac50776c351b32606db976a1cde426", "url": "https://github.com/nykopol/gpsd-client/blob/e083573dcaac50776c351b32606db976a1cde426/Client.php#L67-L74", "partition": "test"} +{"repo": "nykopol/gpsd-client", "path": "Client.php", "func_name": "Client.watch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set service watch settings\n\n@param bool $enable tell the service to watch or not the devices (default: true)\n@param string $format the desired format of the returned datas (default: json)", "docstring_tokens": ["Set", "service", "watch", "settings"], "sha": "e083573dcaac50776c351b32606db976a1cde426", "url": "https://github.com/nykopol/gpsd-client/blob/e083573dcaac50776c351b32606db976a1cde426/Client.php#L82-L88", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.setBgcolor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the background color of the element using a 3-digit RGB hexadecimal\nvalue. For example, \"fff\" is white and \"000\" is black\n@param string 3-digit RGB hexadecimal value", "docstring_tokens": ["Sets", "the", "background", "color", "of", "the", "element", "using", "a", "3", "-", "digit", "RGB", "hexadecimal", "value", ".", "For", "example", "fff", "is", "white", "and", "000", "is", "black"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L195-L200", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.setImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies an image to the element\n@param string The image filename (or URL)\n@param bool Whether to prefix the filename with the default images dir URL", "docstring_tokens": ["Applies", "an", "image", "to", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L223-L232", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.setImageid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the image id of the element, used for internationalization", "docstring_tokens": ["Set", "the", "image", "id", "of", "the", "element", "used", "for", "internationalization"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L237-L242", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.setImageFocus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies an image to the highlighter state of the element\n@param string The image filename (or URL)\n@param bool Whether to prefix the filename with the default images dir URL", "docstring_tokens": ["Applies", "an", "image", "to", "the", "highlighter", "state", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L249-L258", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.setImageFocusid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the image focus id of the element, used for internationalization", "docstring_tokens": ["Set", "the", "image", "focus", "id", "of", "the", "element", "used", "for", "internationalization"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L263-L268", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Element.php", "func_name": "Element.addLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Imports links and actions from another Manialink element\n@param \\ManiaLib\\Gui\\Element The source object", "docstring_tokens": ["Imports", "links", "and", "actions", "from", "another", "Manialink", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Element.php#L426-L437", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Seo.php", "func_name": "Seo.getConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the seo config.\n\n@param string|null $key\n@param mixed|null $default\n\n@return mixed", "docstring_tokens": ["Get", "the", "seo", "config", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Seo.php#L31-L36", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Seo.php", "func_name": "Seo.setConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the seo config.\n\n@param string $key\n@param mixed|null $value", "docstring_tokens": ["Set", "the", "seo", "config", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Seo.php#L44-L47", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Seo.php", "func_name": "Seo.getTrans", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the seo translation.\n\n@param string $key\n@param array $replace\n@param string $locale\n\n@return string", "docstring_tokens": ["Get", "the", "seo", "translation", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Seo.php#L58-L61", "partition": "test"} +{"repo": "ConnectCorp/nexmo-client", "path": "src/Entity/Collection.php", "func_name": "Collection.getArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list item from collection with given key.\nIf item does not exist an empty array is returned.\n\n@param string $key\n@param callable|null $callback Optional callable to map items in list\n\n@return array", "docstring_tokens": ["Get", "a", "list", "item", "from", "collection", "with", "given", "key", ".", "If", "item", "does", "not", "exist", "an", "empty", "array", "is", "returned", "."], "sha": "f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b", "url": "https://github.com/ConnectCorp/nexmo-client/blob/f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b/src/Entity/Collection.php#L54-L64", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/Formatting.php", "func_name": "Formatting.stripStyles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all styles", "docstring_tokens": ["Removes", "all", "styles"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/Formatting.php#L61-L67", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Models/Redirect.php", "func_name": "Redirect.createOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a redirect url.\n\n@param string $oldUrl\n@param string $newUrl\n@param int $status\n\n@return \\Arcanedev\\LaravelSeo\\Models\\Redirect", "docstring_tokens": ["Create", "a", "redirect", "url", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Models/Redirect.php#L107-L118", "partition": "test"} +{"repo": "ConnectCorp/nexmo-client", "path": "src/Service/Account.php", "func_name": "Account.numbers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all inbound numbers associated with your Nexmo account\n\n@param int $index Page index\n@param int $size Page size (max 100)\n@param int $pattern A matching pattern\n@param int $searchPattern Strategy for matching pattern.\n0 = starts with\n1 = anywhere\n2 = ends with\n\n@return Entity\\NumberCollection|Entity\\Number[]\n@throws Exception", "docstring_tokens": ["Get", "all", "inbound", "numbers", "associated", "with", "your", "Nexmo", "account"], "sha": "f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b", "url": "https://github.com/ConnectCorp/nexmo-client/blob/f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b/src/Service/Account.php#L45-L48", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Cache/Cache.php", "func_name": "Cache.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory for getting instances on cache objects.\nYou specify the driver to use as a parameter, and\nit automatically falls back to the \"NoCache\" driver\nif not found\n@return \\ManiaLib\\Cache\\CacheInterface", "docstring_tokens": ["Factory", "for", "getting", "instances", "on", "cache", "objects", ".", "You", "specify", "the", "driver", "to", "use", "as", "a", "parameter", "and", "it", "automatically", "falls", "back", "to", "the", "NoCache", "driver", "if", "not", "found"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Cache/Cache.php#L34-L58", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Manialink.php", "func_name": "Manialink.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the Manialink GUI toolkit. This should be called before doing\nanything with the toolkit.\n@param bool Whether you want to create the root \"\" element in the XML", "docstring_tokens": ["Loads", "the", "Manialink", "GUI", "toolkit", ".", "This", "should", "be", "called", "before", "doing", "anything", "with", "the", "toolkit", "."], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Manialink.php#L53-L84", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Manialink.php", "func_name": "Manialink.beginFrame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Manialink frame, with an optionnal associated layout\n\n@param float X position\n@param float Y position\n@param float Z position\n@param float Scale (default is null or 1)\n@param \\ManiaLib\\Gui\\Layouts\\AbstractLayout The optionnal layout associated with the frame. If\nyou pass a layout object, all the items inside the frame will be\npositionned using constraints defined by the layout", "docstring_tokens": ["Creates", "a", "new", "Manialink", "frame", "with", "an", "optionnal", "associated", "layout"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Manialink.php#L111-L125", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Manialink.php", "func_name": "Manialink.endFrame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the current Manialink frame", "docstring_tokens": ["Closes", "the", "current", "Manialink", "frame"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Manialink.php#L130-L139", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Manialink.php", "func_name": "Manialink.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the user to the specified Manialink", "docstring_tokens": ["Redirects", "the", "user", "to", "the", "specified", "Manialink"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Manialink.php#L155-L175", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Manialink.php", "func_name": "Manialink.appendXML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append some XML code to the document\n@param string Some XML code", "docstring_tokens": ["Append", "some", "XML", "code", "to", "the", "document"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Manialink.php#L191-L197", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/RedirectorManager.php", "func_name": "RedirectorManager.buildDriver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the redirector.\n\n@param string $driver\n@param array $extra\n\n@return mixed", "docstring_tokens": ["Build", "the", "redirector", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/RedirectorManager.php#L81-L88", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Layouts/AbstractLayout.php", "func_name": "AbstractLayout.setBorder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the gap between the layout outer border and its content\n@param Border width\n@param Border height", "docstring_tokens": ["Sets", "the", "gap", "between", "the", "layout", "outer", "border", "and", "its", "content"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Layouts/AbstractLayout.php#L113-L119", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/StyleParser.php", "func_name": "StyleParser.declareFont", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Declare a font to use with onImage function", "docstring_tokens": ["Declare", "a", "font", "to", "use", "with", "onImage", "function"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/StyleParser.php#L96-L104", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/StyleParser.php", "func_name": "StyleParser.onImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw a string with on an image, method will be choose depending on the size wanted\n@param string $string The style-coded string to draw\n@param imageResource $image The image to draw on\n@param string $fontName The TTF font to use, which has been declared previously\n@param int $x X position\n@param int $y Y position\n@param int $size Font size\n@param string $defaultColor Default text color in 3 or 6 hexadecimal characters", "docstring_tokens": ["Draw", "a", "string", "with", "on", "an", "image", "method", "will", "be", "choose", "depending", "on", "the", "size", "wanted"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/StyleParser.php#L131-L141", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/StyleParser.php", "func_name": "StyleParser.onImageFast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw a string with on an image using fast method. There can be glitches when using small sizes\n@param string $string The style-coded string to draw\n@param imageResource $image The image to draw on\n@param string $fontName The TTF font to use, which has been declared previously\n@param int $x X position\n@param int $y Y position\n@param int $size Font size\n@param string $defaultColor Default text color in 3 or 6 hexadecimal characters", "docstring_tokens": ["Draw", "a", "string", "with", "on", "an", "image", "using", "fast", "method", ".", "There", "can", "be", "glitches", "when", "using", "small", "sizes"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/StyleParser.php#L153-L160", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/StyleParser.php", "func_name": "StyleParser.onImageQuality", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw a string with on an image using quality method. Slow with big text size\n@param string $string The style-coded string to draw\n@param imageResource $image The image to draw on\n@param string $fontName The TTF font to use, which has been declared previously\n@param int $x X position\n@param int $y Y position\n@param int $size Font size\n@param string $defaultColor Default text color in 3 or 6 hexadecimal characters\n@param int $precision Higher value means higher precision (but also longer execution time), usual values are 1 to 3", "docstring_tokens": ["Draw", "a", "string", "with", "on", "an", "image", "using", "quality", "method", ".", "Slow", "with", "big", "text", "size"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/StyleParser.php#L173-L198", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Redirectors/AbstractRedirector.php", "func_name": "AbstractRedirector.getRedirectFor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the redirect url.\n\n@param \\Illuminate\\Http\\Request $request\n\n@return \\Illuminate\\Http\\Response|null", "docstring_tokens": ["Get", "the", "redirect", "url", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Redirectors/AbstractRedirector.php#L77-L96", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Redirectors/EloquentRedirector.php", "func_name": "EloquentRedirector.getRedirectedUrls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the redirected URLs.\n\n@return array", "docstring_tokens": ["Get", "the", "redirected", "URLs", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Redirectors/EloquentRedirector.php#L24-L32", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Redirectors/EloquentRedirector.php", "func_name": "EloquentRedirector.getCachedRedirects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the cached redirection urls.\n\n@return \\Illuminate\\Database\\Eloquent\\Collection", "docstring_tokens": ["Get", "the", "cached", "redirection", "urls", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Redirectors/EloquentRedirector.php#L39-L44", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Cards/PageNavigator.php", "func_name": "PageNavigator.setSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the size of the navigation icons", "docstring_tokens": ["Sets", "the", "size", "of", "the", "navigation", "icons"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Cards/PageNavigator.php#L119-L127", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Cards/Navigation/Button.php", "func_name": "Button.setSelected", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the button selected and change its styles accordingly", "docstring_tokens": ["Sets", "the", "button", "selected", "and", "change", "its", "styles", "accordingly"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Cards/Navigation/Button.php#L67-L76", "partition": "test"} +{"repo": "ConnectCorp/nexmo-client", "path": "src/Service/MarketingMessage.php", "func_name": "MarketingMessage.invoke", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a marketing message from Nexmo's shared short code.\n\n@param string|int $from Required. Nexmo Shared Short Code, can be found on your Dashboard.\n@param string $keyword Required. The keyword you selected during Shared Short Code sign up process.\n@param string|int $to Required. Mobile number in international format.\nEx: 447525856424 or 00447525856424 when sending to UK.\n@param string $text Required. Body of the text message.\n@throws \\Nexmo\\Exception\n@return array", "docstring_tokens": ["Send", "a", "marketing", "message", "from", "Nexmo", "s", "shared", "short", "code", "."], "sha": "f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b", "url": "https://github.com/ConnectCorp/nexmo-client/blob/f37e3b98e9a4c96a1b545d3fbe0afb8033c5043b/src/Service/MarketingMessage.php#L33-L57", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Elements/Music.php", "func_name": "Music.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the data to play\n@param string The data filename (or URL)\n@param bool Whether to prefix the filename with the default media dir URL", "docstring_tokens": ["Sets", "the", "data", "to", "play"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Elements/Music.php#L39-L46", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Database/Tools.php", "func_name": "Tools.getLimitString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the \"LIMIT x,x\" string depending on both values", "docstring_tokens": ["Returns", "the", "LIMIT", "x", "x", "string", "depending", "on", "both", "values"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Database/Tools.php#L23-L34", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Database/Tools.php", "func_name": "Tools.getUpdateString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns string like \"name1=value1, name2=value2\"", "docstring_tokens": ["Returns", "string", "like", "name1", "=", "value1", "name2", "=", "value2"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Database/Tools.php#L81-L89", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a GET parameter, or the default value if not found\n@param string\n@param mixed\n@return mixed", "docstring_tokens": ["Retrieves", "a", "GET", "parameter", "or", "the", "default", "value", "if", "not", "found"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L95-L102", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.getStrict", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a GET parameter, or throws an exception if not found or null\n@param string\n@param string Optional human readable name for error dialog\n@return mixed", "docstring_tokens": ["Retrieves", "a", "GET", "parameter", "or", "throws", "an", "exception", "if", "not", "found", "or", "null"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L130-L139", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.getPostStrict", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a POST parameter, or throws an exception if not found or null\n@param string\n@param string Optional human readable name for error dialog\n@return mixed", "docstring_tokens": ["Retrieves", "a", "POST", "parameter", "or", "throws", "an", "exception", "if", "not", "found", "or", "null"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L147-L156", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.restore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restores a GET parameter to the value it had when the page was loaded\n\n@param string", "docstring_tokens": ["Restores", "a", "GET", "parameter", "to", "the", "value", "it", "had", "when", "the", "page", "was", "loaded"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L195-L202", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.redirectArgList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects to the specified route with, with names of GET vars as parameters of the method", "docstring_tokens": ["Redirects", "to", "the", "specified", "route", "with", "with", "names", "of", "GET", "vars", "as", "parameters", "of", "the", "method"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L248-L255", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.createLinkArgList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a link to the specified route with, with names of GET vars as parameters of the method", "docstring_tokens": ["Creates", "a", "link", "to", "the", "specified", "route", "with", "with", "names", "of", "GET", "vars", "as", "parameters", "of", "the", "method"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L287-L293", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/Request.php", "func_name": "Request.createAbsoluteLinkArgList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an URL with the request parameters specified as method arguments\n\n@param string The absolute URL\n@return string\n@deprecated Old code, not sure if it is still used?", "docstring_tokens": ["Returns", "an", "URL", "with", "the", "request", "parameters", "specified", "as", "method", "arguments"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/Request.php#L302-L308", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.incPosX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment position X\n@param float", "docstring_tokens": ["Increment", "position", "X"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L150-L155", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.incPosY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment position Y\n@param float", "docstring_tokens": ["Increment", "position", "Y"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L161-L166", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.incPosZ", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Increment position Z\n@param float", "docstring_tokens": ["Increment", "position", "Z"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L172-L177", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setPosition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the position of the element\n@param float\n@param float\n@param float", "docstring_tokens": ["Sets", "the", "position", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L185-L200", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setScale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the scale factor of the element. 1=original size, 2=double size, 0.5\n=half size\n@param float", "docstring_tokens": ["Sets", "the", "scale", "factor", "of", "the", "element", ".", "1", "=", "original", "size", "2", "=", "double", "size", "0", ".", "5", "=", "half", "size"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L207-L212", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setValign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the vertical alignment of the element.\n@param string Vertical alignment can be either \"top\", \"center\" or\n\"bottom\"", "docstring_tokens": ["Sets", "the", "vertical", "alignment", "of", "the", "element", "."], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L295-L300", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setHalign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the horizontal alignment of the element\n@param string Horizontal alignement can be eithe \"left\", \"center\" or\n\"right\"", "docstring_tokens": ["Sets", "the", "horizontal", "alignment", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L307-L312", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setAlign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the alignment of the element\n@param string Horizontal alignement can be eithe \"left\", \"center\" or\n\"right\"\n@param string Vertical alignment can be either \"top\", \"center\" or\n\"bottom\"", "docstring_tokens": ["Sets", "the", "alignment", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L321-L328", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setSizeX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the width of the element\n@param float", "docstring_tokens": ["Sets", "the", "width", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L350-L355", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setSizeY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the height of the element\n@param float", "docstring_tokens": ["Sets", "the", "height", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L361-L366", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Component.php", "func_name": "Component.setSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the size of the element\n@param float\n@param float", "docstring_tokens": ["Sets", "the", "size", "of", "the", "element"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Component.php#L373-L385", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Cards/Navigation/Menu.php", "func_name": "Menu.addItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a navigation button to the menu", "docstring_tokens": ["Adds", "a", "navigation", "button", "to", "the", "menu"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Cards/Navigation/Menu.php#L107-L117", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Cards/Navigation/Menu.php", "func_name": "Menu.addGap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a vertical gap before the next item\n@param float", "docstring_tokens": ["Adds", "a", "vertical", "gap", "before", "the", "next", "item"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Cards/Navigation/Menu.php#L123-L127", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Entities/RedirectStatuses.php", "func_name": "RedirectStatuses.keys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the all status codes.\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "the", "all", "status", "codes", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Entities/RedirectStatuses.php#L24-L32", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Entities/RedirectStatuses.php", "func_name": "RedirectStatuses.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the all status names.\n\n@param string|null $locale\n\n@return \\Illuminate\\Support\\Collection", "docstring_tokens": ["Get", "the", "all", "status", "names", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Entities/RedirectStatuses.php#L41-L46", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/ErrorHandling.php", "func_name": "ErrorHandling.fatalExceptionHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fallback exception handler when nothing works. It tries to dump the\nexception in a file at the app root and prints a message.", "docstring_tokens": ["Fallback", "exception", "handler", "when", "nothing", "works", ".", "It", "tries", "to", "dump", "the", "exception", "in", "a", "file", "at", "the", "app", "root", "and", "prints", "a", "message", "."], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/ErrorHandling.php#L107-L123", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/ErrorHandling.php", "func_name": "ErrorHandling.computeMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes a human readable log message from any exception\n@return string", "docstring_tokens": ["Computes", "a", "human", "readable", "log", "message", "from", "any", "exception"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/ErrorHandling.php#L129-L151", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Application/ErrorHandling.php", "func_name": "ErrorHandling.computeShortMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Computes a short human readable log message from any exception\n@return string", "docstring_tokens": ["Computes", "a", "short", "human", "readable", "log", "message", "from", "any", "exception"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Application/ErrorHandling.php#L157-L161", "partition": "test"} +{"repo": "ARCANEDEV/LaravelSeo", "path": "src/Http/Middleware/RedirectsMissingPages.php", "func_name": "RedirectsMissingPages.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the missing pages redirection.\n\n@param \\Illuminate\\Http\\Request $request\n@param \\Closure $next\n\n@return mixed", "docstring_tokens": ["Handle", "the", "missing", "pages", "redirection", "."], "sha": "7fb3bc4bd4d09bfc6c07d19993386e2227947f6f", "url": "https://github.com/ARCANEDEV/LaravelSeo/blob/7fb3bc4bd4d09bfc6c07d19993386e2227947f6f/src/Http/Middleware/RedirectsMissingPages.php#L52-L60", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/Upload.php", "func_name": "Upload.uploadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to read the specified file and save it\n@param string The path where the file will be saved\n@param string filename\n@param int The maximum file size in bytes", "docstring_tokens": ["Tries", "to", "read", "the", "specified", "file", "and", "save", "it"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/Upload.php#L26-L47", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Utils/URI.php", "func_name": "URI.getCurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Current URL.\n\n@return string The current URI\n@see http://code.google.com/p/oauth2-php\n@author Originally written by Naitik Shah .\n@author Update to draft v10 by Edison Wong ", "docstring_tokens": ["Returns", "the", "Current", "URL", "."], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Utils/URI.php#L26-L50", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Tools.php", "func_name": "Tools.getAlignedPosX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the X position of an element in relation to another element and\naccording to their respective alignments\n\n@param int X position of the parent element\n@param int Width of the parent element\n@param string Horizontal alignement of the parent element\n@param string Horizontal alignement of the element you want to place\n@return int Calculated X position of the element you want to place", "docstring_tokens": ["Returns", "the", "X", "position", "of", "an", "element", "in", "relation", "to", "another", "element", "and", "according", "to", "their", "respective", "alignments"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Tools.php#L28-L66", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Tools.php", "func_name": "Tools.getAlignedPosY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Y position of an element in relation to another element and\naccording to their respective alignments\n\n@param int Y position of the parent element\n@param int Height of the parent element\n@param string Vertical alignement of the parent element\n@param string Vertical alignement of the element you want to place\n@return int Calculated Y position of the element you want to place", "docstring_tokens": ["Returns", "the", "Y", "position", "of", "an", "element", "in", "relation", "to", "another", "element", "and", "according", "to", "their", "respective", "alignments"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Tools.php#L78-L100", "partition": "test"} +{"repo": "maniaplanet/manialib", "path": "libraries/ManiaLib/Gui/Tools.php", "func_name": "Tools.getAlignedPos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the position of an element in relation to another element and\naccording to their respective alignments\n\n@param \\ManiaLib\\Gui\\Element Parent element\n@param string Horizontal alignement of the element you want to place\n@param string Vertical alignement of the element you want to place\n@return array Calculated position of the element you want to place. The\narray contains 2 elements with \"x\" and \"y\" indexes", "docstring_tokens": ["Returns", "the", "position", "of", "an", "element", "in", "relation", "to", "another", "element", "and", "according", "to", "their", "respective", "alignments"], "sha": "d91491c1614ef3bc3c68fd2928ca370c038dd0ad", "url": "https://github.com/maniaplanet/manialib/blob/d91491c1614ef3bc3c68fd2928ca370c038dd0ad/libraries/ManiaLib/Gui/Tools.php#L112-L122", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/LastDate/A/Repo/Query/GetMinDateTrans.php", "func_name": "GetMinDateTrans.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get base query to select minimal date_applied for transactions by asset type or account IDs.\nAdd appropriate 'where' clauses after build.\n\nSELECT\nMIN(trn.date_applied)\nFROM\nprxgt_acc_transaction as trn\nLEFT JOIN prxgt_acc_account as acc ON\nacc.id = trn.debit_acc_id\n\n@inheritdoc", "docstring_tokens": ["Get", "base", "query", "to", "select", "minimal", "date_applied", "for", "transactions", "by", "asset", "type", "or", "account", "IDs", ".", "Add", "appropriate", "where", "clauses", "after", "build", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/LastDate/A/Repo/Query/GetMinDateTrans.php#L43-L70", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Reset.php", "func_name": "Reset.quote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Quotes string data to use inside SQL queries.\n\n@param string $data\n@return string", "docstring_tokens": ["Quotes", "string", "data", "to", "use", "inside", "SQL", "queries", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Reset.php#L72-L77", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Reset.php", "func_name": "Reset.resetAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset all balances starting from date.\n\n@param $dateFrom\n@return int", "docstring_tokens": ["Reset", "all", "balances", "starting", "from", "date", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Reset.php#L85-L91", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Reset.php", "func_name": "Reset.queryDeleteByAssets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compose query to delete balances filtered by asset types and date.\n\n@param int[] $assetTypeIds\n@param string $dateFrom\n@return string", "docstring_tokens": ["Compose", "query", "to", "delete", "balances", "filtered", "by", "asset", "types", "and", "date", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Reset.php#L135-L151", "partition": "test"} +{"repo": "kuria/class-loader", "path": "src/ComposerBridge.php", "func_name": "ComposerBridge.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add autoload configuration of packages managed by Composer\n\n- $vendorDirPath should be a path to the vendor directory without a trailing slash\n- if $usePrefixes is FALSE, prefixes will not be loaded (use with optimized autoload files)", "docstring_tokens": ["Add", "autoload", "configuration", "of", "packages", "managed", "by", "Composer"], "sha": "69fbe101941bb481d708378f05c4427bf2a52bf3", "url": "https://github.com/kuria/class-loader/blob/69fbe101941bb481d708378f05c4427bf2a52bf3/src/ComposerBridge.php#L13-L32", "partition": "test"} +{"repo": "apioo/psx-dependency", "path": "src/Container.php", "func_name": "Container.getServiceIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all available service ids of this container\n\n@return array\n@throws \\ReflectionException", "docstring_tokens": ["Returns", "all", "available", "service", "ids", "of", "this", "container"], "sha": "c4ae512d6c05889fcdaf4d52d0c1bc2db7903916", "url": "https://github.com/apioo/psx-dependency/blob/c4ae512d6c05889fcdaf4d52d0c1bc2db7903916/src/Container.php#L161-L180", "partition": "test"} +{"repo": "apioo/psx-dependency", "path": "src/Container.php", "func_name": "Container.getReturnType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to determine the return type of a service. At first we try to\ndetermine the type from the return annotation which is in most cases\nmore useful because it could specify an interface instead of an concrete\nimplementation. As fallback we get an instance of the service and return\nthe type\n\n@param string $name\n@return string\n@throws \\ReflectionException\n@throws \\Psr\\Container\\NotFoundExceptionInterface", "docstring_tokens": ["Tries", "to", "determine", "the", "return", "type", "of", "a", "service", ".", "At", "first", "we", "try", "to", "determine", "the", "type", "from", "the", "return", "annotation", "which", "is", "in", "most", "cases", "more", "useful", "because", "it", "could", "specify", "an", "interface", "instead", "of", "an", "concrete", "implementation", ".", "As", "fallback", "we", "get", "an", "instance", "of", "the", "service", "and", "return", "the", "type"], "sha": "c4ae512d6c05889fcdaf4d52d0c1bc2db7903916", "url": "https://github.com/apioo/psx-dependency/blob/c4ae512d6c05889fcdaf4d52d0c1bc2db7903916/src/Container.php#L194-L221", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Calc/A/Z/CollectTransactions.php", "func_name": "CollectTransactions.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collect transactions and compose daily balances updates.\n\n@param array $balances [accId => balance]\n@param ETrans[] $trans\n@return array [accId => EBalance[]]\n@throws \\Exception", "docstring_tokens": ["Collect", "transactions", "and", "compose", "daily", "balances", "updates", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Calc/A/Z/CollectTransactions.php#L36-L86", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Calc/A/Z/CollectTransactions.php", "func_name": "CollectTransactions.getBalanceEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract existing balance on the date or create new empty entity.\n\n@param array $current [accId => balance]\n@param EBalance[] $balances\n@param $accId\n@param $datestamp\n@return EBalance\n@throws \\Exception", "docstring_tokens": ["Extract", "existing", "balance", "on", "the", "date", "or", "create", "new", "empty", "entity", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Calc/A/Z/CollectTransactions.php#L98-L119", "partition": "test"} +{"repo": "phpable/prototypes", "path": "src/THierarchical.php", "func_name": "THierarchical.hierarchy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves hierarchical list of the class ancestors.\n\n@attention The called class name is included.\n@return array", "docstring_tokens": ["Retrieves", "hierarchical", "list", "of", "the", "class", "ancestors", "."], "sha": "d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5", "url": "https://github.com/phpable/prototypes/blob/d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5/src/THierarchical.php#L12-L20", "partition": "test"} +{"repo": "LightAir/EasyCurl", "path": "src/EasyCurl.php", "func_name": "EasyCurl.changeContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change header content type\n\n@param string $type\n\n@return $this", "docstring_tokens": ["Change", "header", "content", "type"], "sha": "20b20e11f0d23071171dcb2bfb0044141e4304fd", "url": "https://github.com/LightAir/EasyCurl/blob/20b20e11f0d23071171dcb2bfb0044141e4304fd/src/EasyCurl.php#L275-L296", "partition": "test"} +{"repo": "LightAir/EasyCurl", "path": "src/EasyCurl.php", "func_name": "EasyCurl.headerParse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parser for headers\n\n@param $rawHeader\n\n@return array", "docstring_tokens": ["Parser", "for", "headers"], "sha": "20b20e11f0d23071171dcb2bfb0044141e4304fd", "url": "https://github.com/LightAir/EasyCurl/blob/20b20e11f0d23071171dcb2bfb0044141e4304fd/src/EasyCurl.php#L487-L505", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/Str.php", "func_name": "Str.convertToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert dotted string to a nested array.\nAppend the value to the last nested array.\n\n@param string $string\n@param string $value\n\n@return string|array", "docstring_tokens": ["Convert", "dotted", "string", "to", "a", "nested", "array", ".", "Append", "the", "value", "to", "the", "last", "nested", "array", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/Str.php#L28-L33", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/Str.php", "func_name": "Str.buildDimensionalArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds nested array with the specified keys.\n\n@param array $keys\n@param int $dimensions\n@param string $value\n\n@return array", "docstring_tokens": ["Builds", "nested", "array", "with", "the", "specified", "keys", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/Str.php#L60-L78", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Calc.php", "func_name": "Calc.getAssetTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate given asset type or get all types.\n\n@param int[] $typeIds\n@param string[] $typeCodes\n@return array [id => code]", "docstring_tokens": ["Validate", "given", "asset", "type", "or", "get", "all", "types", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Calc.php#L97-L127", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Validate/A/ProcessOneAsset.php", "func_name": "ProcessOneAsset.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate balances for one asset type.\n\n@param int $assetTypeId\n@throws \\Exception", "docstring_tokens": ["Validate", "balances", "for", "one", "asset", "type", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Validate/A/ProcessOneAsset.php#L58-L71", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Validate/A/ProcessOneAsset.php", "func_name": "ProcessOneAsset.getDateBalanceClose", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get datestamp for the last day of available balances.\n\n@param int $typeId asset type\n@return string YYYYMMDD\n@throws \\Exception", "docstring_tokens": ["Get", "datestamp", "for", "the", "last", "day", "of", "available", "balances", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Validate/A/ProcessOneAsset.php#L125-L133", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Controller/ResponseController.php", "func_name": "ResponseController.checkAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the response of the provider", "docstring_tokens": ["Parse", "the", "response", "of", "the", "provider"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Controller/ResponseController.php#L17-L58", "partition": "test"} +{"repo": "phpable/prototypes", "path": "src/TMutatable.php", "func_name": "TMutatable.mutate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if mutator exists and returns the mutated value.\n\n@param string $prefix\nAny prefix like 'get' or 'set' to separate getters and setters for example.\n\n@param string $name\nIt will be converted into the camel case\nvia underscores like a separator.\n\n@param $value\nSome parameters if needed.\n\n@return mixed\nThe value will be returned \"as is\" if the requested mutator doesn't exist.", "docstring_tokens": ["Checks", "if", "mutator", "exists", "and", "returns", "the", "mutated", "value", "."], "sha": "d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5", "url": "https://github.com/phpable/prototypes/blob/d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5/src/TMutatable.php#L25-L28", "partition": "test"} +{"repo": "arjanwestdorp/imaginary-client", "path": "src/Client.php", "func_name": "Client.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Let the client fetch the given url as image.\n\n@param string $url\n@return $this", "docstring_tokens": ["Let", "the", "client", "fetch", "the", "given", "url", "as", "image", "."], "sha": "660697df0d40915426b0df7ee0164b2625bf8ac1", "url": "https://github.com/arjanwestdorp/imaginary-client/blob/660697df0d40915426b0df7ee0164b2625bf8ac1/src/Client.php#L84-L95", "partition": "test"} +{"repo": "arjanwestdorp/imaginary-client", "path": "src/Client.php", "func_name": "Client.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the imaginary url.\n\n@return string", "docstring_tokens": ["Retrieve", "the", "imaginary", "url", "."], "sha": "660697df0d40915426b0df7ee0164b2625bf8ac1", "url": "https://github.com/arjanwestdorp/imaginary-client/blob/660697df0d40915426b0df7ee0164b2625bf8ac1/src/Client.php#L116-L134", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/LazyStrings.php", "func_name": "LazyStrings.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the copy from the sheets.\nLanguage files and JSON for storage.\n\n@return array", "docstring_tokens": ["Generates", "the", "copy", "from", "the", "sheets", ".", "Language", "files", "and", "JSON", "for", "storage", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/LazyStrings.php#L96-L125", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/LazyStrings.php", "func_name": "LazyStrings.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse provided csv document.\n\n@param string $csvUrl Url of google doc.\n\n@return array", "docstring_tokens": ["Parse", "provided", "csv", "document", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/LazyStrings.php#L134-L161", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/LazyStrings.php", "func_name": "LazyStrings.localize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append sheet array by locale.\nIf array is provided append the sheets to the same locale.\n\n@param string/array $csvId Id of csv doc.\n\n@return array", "docstring_tokens": ["Append", "sheet", "array", "by", "locale", ".", "If", "array", "is", "provided", "append", "the", "sheets", "to", "the", "same", "locale", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/LazyStrings.php#L171-L186", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/LazyStrings.php", "func_name": "LazyStrings.backup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save backup strings in JSON format\n\n@param array $strings\n@param string $path\n@param string $filename\n\n@return void", "docstring_tokens": ["Save", "backup", "strings", "in", "JSON", "format"], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/LazyStrings.php#L197-L205", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Repo/Dao/Account.php", "func_name": "Account.getAllByAssetTypeCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all accounts by asset type code.\n\n@param string $assetTypeCode\n@return \\Praxigento\\Accounting\\Repo\\Data\\Account[]|null\n\nSELECT\npaa.*\nFROM prxgt_acc_type_asset pata\nLEFT JOIN prxgt_acc_account paa\nON pata.id = paa.asset_type_id\nWHERE pata.code = \"PV\";", "docstring_tokens": ["Get", "all", "accounts", "by", "asset", "type", "code", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Repo/Dao/Account.php#L57-L89", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Repo/Dao/Account.php", "func_name": "Account.getAssetTypeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get asset type ID for the given account.\n\n@param int $accountId\n@return int", "docstring_tokens": ["Get", "asset", "type", "ID", "for", "the", "given", "account", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Repo/Dao/Account.php#L97-L106", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Repo/Dao/Account.php", "func_name": "Account.getCustomerAccByAssetCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get account data by customer ID & asset type code.\n\n@param int $customerId\n@param string $assetTypeCode\n@return Entity account ID", "docstring_tokens": ["Get", "account", "data", "by", "customer", "ID", "&", "asset", "type", "code", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Repo/Dao/Account.php#L152-L157", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Repo/Dao/Account.php", "func_name": "Account.getSystemCustomerId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return MageID for customer that represents store owner in accounting. Create new system customer\nif it is not exist yet.\n\n@return int", "docstring_tokens": ["Return", "MageID", "for", "customer", "that", "represents", "store", "owner", "in", "accounting", ".", "Create", "new", "system", "customer", "if", "it", "is", "not", "exist", "yet", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Repo/Dao/Account.php#L210-L233", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Transaction/Create.php", "func_name": "Create.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new transaction and update current balances.\n@param ARequest $request\n@return AResponse\n@throws \\Exception", "docstring_tokens": ["Add", "new", "transaction", "and", "update", "current", "balances", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Transaction/Create.php#L34-L83", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "DependencyInjection/DCSOpauthExtension.php", "func_name": "DCSOpauthExtension.buildStrategiesKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the key id and secret in the keys suitable for every strategy\n\n@param $strategies\n@return array", "docstring_tokens": ["Converts", "the", "key", "id", "and", "secret", "in", "the", "keys", "suitable", "for", "every", "strategy"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/DependencyInjection/DCSOpauthExtension.php#L47-L113", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Response/ResponseParser.php", "func_name": "ResponseParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse response of the Opauth object\n\n@param \\Opauth $opauth\n@return array\n@throws \\DCS\\OpauthBundle\\Exception\\UnsupportedCallbackException", "docstring_tokens": ["Parse", "response", "of", "the", "Opauth", "object"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Response/ResponseParser.php#L16-L37", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Controller/ConnectController.php", "func_name": "ConnectController.loginAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the provider for the authentication", "docstring_tokens": ["Call", "the", "provider", "for", "the", "authentication"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Controller/ConnectController.php#L12-L16", "partition": "test"} +{"repo": "bytic/omnipay-common", "path": "src/Library/View/View.php", "func_name": "View.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render Renders the view using the given data\n\n@param $path\n@param array $data\n@return mixed", "docstring_tokens": ["render", "Renders", "the", "view", "using", "the", "given", "data"], "sha": "a6d446b02671b79dddc9c19570ab59a208c16565", "url": "https://github.com/bytic/omnipay-common/blob/a6d446b02671b79dddc9c19570ab59a208c16565/src/Library/View/View.php#L33-L40", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/Validate.php", "func_name": "Validate.getAssetTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all asset types.\n\n@return array [id => code]", "docstring_tokens": ["Get", "all", "asset", "types", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/Validate.php#L59-L70", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerResponse.php", "func_name": "ServerResponse.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the server response.\n\n@return null", "docstring_tokens": ["Send", "the", "server", "response", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerResponse.php#L44-L55", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Security/Authenticator.php", "func_name": "Authenticator.authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set token with the response data\n\n@param $responseData", "docstring_tokens": ["Set", "token", "with", "the", "response", "data"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Security/Authenticator.php#L30-L34", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Middleware/VerifyApiToken.php", "func_name": "VerifyApiToken.verifyToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the api token from request.\n\n@param \\Illuminate\\Http\\Request $request\n@return bool", "docstring_tokens": ["Verify", "the", "api", "token", "from", "request", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Middleware/VerifyApiToken.php#L84-L91", "partition": "test"} +{"repo": "Nobox/Lazy-Strings", "path": "src/Validator.php", "func_name": "Validator.validateDocUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provided url must be a valid google doc url.\n\n@param string $url Url of google doc.\n\n@return boolean", "docstring_tokens": ["Provided", "url", "must", "be", "a", "valid", "google", "doc", "url", "."], "sha": "fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957", "url": "https://github.com/Nobox/Lazy-Strings/blob/fcedd2d7a0e1ac5e9e1efca44ae4428917fcd957/src/Validator.php#L16-L25", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiServiceProvider.php", "func_name": "ApiServiceProvider.registerClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the Client singleton.\n\n@return void", "docstring_tokens": ["Register", "the", "Client", "singleton", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiServiceProvider.php#L37-L51", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiServiceProvider.php", "func_name": "ApiServiceProvider.registerToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the Token singleton.\n\n@return void", "docstring_tokens": ["Register", "the", "Token", "singleton", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiServiceProvider.php#L58-L65", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiServiceProvider.php", "func_name": "ApiServiceProvider.registerForConsole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register for console.\n\n@return void", "docstring_tokens": ["Register", "for", "console", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiServiceProvider.php#L72-L82", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Session.php", "func_name": "Session.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the session, if none exists.\n\n@param $name = null\n@return null\n@throws \\RuntimeException on failure.", "docstring_tokens": ["Initialize", "the", "session", "if", "none", "exists", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Session.php#L43-L54", "partition": "test"} +{"repo": "phpable/prototypes", "path": "src/TRetrospective.php", "func_name": "TRetrospective.retrospect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a static property value as an array\nextended by a similar values provided by parent classes.\n\n@param string $name\n@return array", "docstring_tokens": ["Returns", "a", "static", "property", "value", "as", "an", "array", "extended", "by", "a", "similar", "values", "provided", "by", "parent", "classes", "."], "sha": "d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5", "url": "https://github.com/phpable/prototypes/blob/d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5/src/TRetrospective.php#L17-L21", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Response.php", "func_name": "Response.setStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the status.\n\n@param int $statusCode\n@param string $reasonPhrase = ''\n@return $this", "docstring_tokens": ["Set", "the", "status", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Response.php#L121-L131", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer.tree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get tokens as tree\n\n@param string $css\n@return array", "docstring_tokens": ["Get", "tokens", "as", "tree"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L69-L83", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._findTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all tokens in code\n\n@param array $tokens Array of tokens\n@return array", "docstring_tokens": ["Find", "all", "tokens", "in", "code"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L507-L529", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._findEndOfQuotedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find end of quoted string\n\n@param string $quote Quote character\n@param int $start Position of first quote\n@return int|bool Position of character after end of string, false if string is broken", "docstring_tokens": ["Find", "end", "of", "quoted", "string"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L538-L559", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._findEndOfURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find end of url\n\n@param int $start\n@return int|ParseError Position of character after end of url() or error message", "docstring_tokens": ["Find", "end", "of", "url"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L567-L622", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._checkRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for valid css rule, return either code or rule token\n\n@param array $words Array of words\n@param string $extra Additional text to add if returning code\n@param bool $ignoreErrors True if errors should be ignored\n@return array|bool", "docstring_tokens": ["Check", "for", "valid", "css", "rule", "return", "either", "code", "or", "rule", "token"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L632-L652", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._mergeWords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge words list to string\n\n@param array $words\n@return string", "docstring_tokens": ["Merge", "words", "list", "to", "string"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L660-L668", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._checkSelectors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get token with selectors list\n\n@param array $words\n@return array", "docstring_tokens": ["Get", "token", "with", "selectors", "list"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L676-L698", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._getSelectors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of selectors from list of words\n\n@param array $words\n@return array", "docstring_tokens": ["Get", "list", "of", "selectors", "from", "list", "of", "words"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L707-L734", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Tokenizer.php", "func_name": "Tokenizer._parseTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert to tree\n\n@param array $item\n@return array", "docstring_tokens": ["Convert", "to", "tree"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Tokenizer.php#L847-L866", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Helper.php", "func_name": "Helper.setCurrentAppKeyForRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the current app key for the request.\n\n@param string $key\n@param \\Illuminate\\Http\\Request|null $request\n@return \\Illuminate\\Http\\Request", "docstring_tokens": ["Set", "the", "current", "app", "key", "for", "the", "request", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Helper.php#L23-L30", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Helper.php", "func_name": "Helper.getCurrentAppKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the app key of the current api client.\n\n@param \\Illuminate\\Http\\Request|null $request\n@return string|null", "docstring_tokens": ["Get", "the", "app", "key", "of", "the", "current", "api", "client", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Helper.php#L38-L43", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Helper.php", "func_name": "Helper.addAcceptableJsonTypeForRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add JSON type to the \"Accept\" header for the request.\n\n@see https://laravel-china.org/topics/3430\n\n@param \\Closure $determination\n@param \\Closure $callback\n@return mixed", "docstring_tokens": ["Add", "JSON", "type", "to", "the", "Accept", "header", "for", "the", "request", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Helper.php#L54-L73", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Balance/LastDate/A/Repo/Query/GetMaxDateBalance.php", "func_name": "GetMaxDateBalance.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get base query to select maximal date for existing balances by asset type or account IDs.\nAdd appropriate 'where' clauses after build.\n\nSELECT\nMAX(b.`date`) as maxDate\nFROM\nprxgt_acc_balance as b\nLEFT JOIN prxgt_acc_account AS a ON\na.id = b.account_id\n\n@inheritdoc", "docstring_tokens": ["Get", "base", "query", "to", "select", "maximal", "date", "for", "existing", "balances", "by", "asset", "type", "or", "account", "IDs", ".", "Add", "appropriate", "where", "clauses", "after", "build", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Balance/LastDate/A/Repo/Query/GetMaxDateBalance.php#L43-L70", "partition": "test"} +{"repo": "helsingborg-stad/content-scheduler", "path": "source/php/Unpublish.php", "func_name": "Unpublish.unpublishPost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the actual unpublishing, called from cron\n@param integer $postId The post to unpublisch\n@param string $action What to do with it (trash or draft)\n@return boolean", "docstring_tokens": ["Does", "the", "actual", "unpublishing", "called", "from", "cron"], "sha": "9584baf054b224903c194afada57c0b8825d0cd0", "url": "https://github.com/helsingborg-stad/content-scheduler/blob/9584baf054b224903c194afada57c0b8825d0cd0/source/php/Unpublish.php#L20-L41", "partition": "test"} +{"repo": "helsingborg-stad/content-scheduler", "path": "source/php/Unpublish.php", "func_name": "Unpublish.saveUnpublish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the unpublish settings and sets up scheduled task\n@param integer $postId Post id\n@return void", "docstring_tokens": ["Saves", "the", "unpublish", "settings", "and", "sets", "up", "scheduled", "task"], "sha": "9584baf054b224903c194afada57c0b8825d0cd0", "url": "https://github.com/helsingborg-stad/content-scheduler/blob/9584baf054b224903c194afada57c0b8825d0cd0/source/php/Unpublish.php#L48-L96", "partition": "test"} +{"repo": "helsingborg-stad/content-scheduler", "path": "source/php/Unpublish.php", "func_name": "Unpublish.initScheduler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if current post type is activated in settings\n@param int|string $postId Current post id\n@return bool", "docstring_tokens": ["Check", "if", "current", "post", "type", "is", "activated", "in", "settings"], "sha": "9584baf054b224903c194afada57c0b8825d0cd0", "url": "https://github.com/helsingborg-stad/content-scheduler/blob/9584baf054b224903c194afada57c0b8825d0cd0/source/php/Unpublish.php#L116-L127", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Token.php", "func_name": "Token.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an api token.\n\n@param string $key\n@param string $secret\n@param string|int $time\n@return string|null", "docstring_tokens": ["Generate", "an", "api", "token", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Token.php#L52-L57", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Token.php", "func_name": "Token.generateForKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate an api token for the given app key.\n\n@param string $key\n@param string|int $time\n@return string|null", "docstring_tokens": ["Generate", "an", "api", "token", "for", "the", "given", "app", "key", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Token.php#L66-L71", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Token.php", "func_name": "Token.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify an api token.\n\n@param string $token\n@param string $key\n@param string|int $time\n@return bool", "docstring_tokens": ["Verify", "an", "api", "token", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Token.php#L81-L84", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Token.php", "func_name": "Token.generateHttpHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate HTTP headers with a new token.\n\n@param string $appKey\n@param string|int|null $time\n@return array", "docstring_tokens": ["Generate", "HTTP", "headers", "with", "a", "new", "token", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Token.php#L125-L134", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/Token.php", "func_name": "Token.generateQueryData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate query data with a new token.\n\n@param string $appKey\n@param string|int|null $time\n@return array", "docstring_tokens": ["Generate", "query", "data", "with", "a", "new", "token", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/Token.php#L143-L152", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Helper/SysCustomer.php", "func_name": "SysCustomer.getId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return ID of the system customer.\n\n@return int", "docstring_tokens": ["Return", "ID", "of", "the", "system", "customer", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Helper/SysCustomer.php#L32-L45", "partition": "test"} +{"repo": "arjanwestdorp/imaginary-client", "path": "src/Builder.php", "func_name": "Builder.fit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fit the image when resizing it.\n\n@param null|string $gravity\n@return $this", "docstring_tokens": ["Fit", "the", "image", "when", "resizing", "it", "."], "sha": "660697df0d40915426b0df7ee0164b2625bf8ac1", "url": "https://github.com/arjanwestdorp/imaginary-client/blob/660697df0d40915426b0df7ee0164b2625bf8ac1/src/Builder.php#L49-L58", "partition": "test"} +{"repo": "arjanwestdorp/imaginary-client", "path": "src/Builder.php", "func_name": "Builder.getManipulations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the string representation of all manipulations that\nneed to be executed on the given resource.\n\n@return string|null", "docstring_tokens": ["Get", "the", "string", "representation", "of", "all", "manipulations", "that", "need", "to", "be", "executed", "on", "the", "given", "resource", "."], "sha": "660697df0d40915426b0df7ee0164b2625bf8ac1", "url": "https://github.com/arjanwestdorp/imaginary-client/blob/660697df0d40915426b0df7ee0164b2625bf8ac1/src/Builder.php#L105-L112", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Repo/Dao/Transaction.php", "func_name": "Transaction.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create transaction and update balances in account table.\n\n@param \\Praxigento\\Accounting\\Repo\\Data\\Transaction|array $data\n@return int", "docstring_tokens": ["Create", "transaction", "and", "update", "balances", "in", "account", "table", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Repo/Dao/Transaction.php#L53-L68", "partition": "test"} +{"repo": "phpable/prototypes", "path": "src/TFillable.php", "func_name": "TFillable.fill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill object values via array.\n\n@param array $Values\n@throws \\Exception", "docstring_tokens": ["Fill", "object", "values", "via", "array", "."], "sha": "d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5", "url": "https://github.com/phpable/prototypes/blob/d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5/src/TFillable.php#L12-L20", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.getUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI with the given start and stop component.\n\n@param string $start = self::SCHEME\n@param string $end = self::FRAGMENT\n@return string the URI.", "docstring_tokens": ["Returns", "the", "URI", "with", "the", "given", "start", "and", "stop", "component", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L124-L240", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.setUserInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the user info.\n\n@param string $username\n@param string|null $password = null\n@return $this", "docstring_tokens": ["Set", "the", "user", "info", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L306-L312", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.setPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the port.\n\n@param int|null $port\n@return $this\n@throws \\InvalidArgumentException", "docstring_tokens": ["Set", "the", "port", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L370-L379", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.setPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the path.\n\n@param string $path\n@return $this", "docstring_tokens": ["Set", "the", "path", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L411-L436", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.getSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the segment at the given index or null if the segment at the given index doesn't exists.\n\n@param int $index\n@return string|null the segment at the given index or null if the segment at the given index doesn't exists", "docstring_tokens": ["Returns", "the", "segment", "at", "the", "given", "index", "or", "null", "if", "the", "segment", "at", "the", "given", "index", "doesn", "t", "exists", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L465-L470", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/URI.php", "func_name": "URI.getQueryValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value to which the specified key is mapped, or null if the query map contains no mapping for the key.\n\n@param string $key\n@return string the value to which the specified key is mapped, or null if the query map contains no mapping for the key.", "docstring_tokens": ["Returns", "the", "value", "to", "which", "the", "specified", "key", "is", "mapped", "or", "null", "if", "the", "query", "map", "contains", "no", "mapping", "for", "the", "key", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/URI.php#L583-L586", "partition": "test"} +{"repo": "cyberalien/css-tokenizer-php", "path": "lib/Builder.php", "func_name": "Builder._build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert list of tokens to string\n\n@param array $tokens\n@param string $space\n@return string", "docstring_tokens": ["Convert", "list", "of", "tokens", "to", "string"], "sha": "0228edffe4812dcf3b0065bb284fb48d9a68022a", "url": "https://github.com/cyberalien/css-tokenizer-php/blob/0228edffe4812dcf3b0065bb284fb48d9a68022a/lib/Builder.php#L67-L128", "partition": "test"} +{"repo": "phpable/prototypes", "path": "src/TAggregatable.php", "func_name": "TAggregatable.aggregate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an aggregate value of given property.\n\n@param string $name\n@return array", "docstring_tokens": ["Return", "an", "aggregate", "value", "of", "given", "property", "."], "sha": "d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5", "url": "https://github.com/phpable/prototypes/blob/d8d9ad1db8ff03143bf2da7494fdb01853ae6ff5/src/TAggregatable.php#L14-L17", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Configuration/StrategyParser.php", "func_name": "StrategyParser.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the configuration of the strategy\n\n@param string $strategy\n@return array\n@throws \\DCS\\OpauthBundle\\Exception\\StrategyNotFoundException", "docstring_tokens": ["Get", "the", "configuration", "of", "the", "strategy"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Configuration/StrategyParser.php#L39-L46", "partition": "test"} +{"repo": "damianociarla/DCSOpauthBundle", "path": "Configuration/StrategyParser.php", "func_name": "StrategyParser.buildConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the configuration params for the Opauth library\n\n@param $strategy\n@param $strategyConfig\n@return array", "docstring_tokens": ["Build", "the", "configuration", "params", "for", "the", "Opauth", "library"], "sha": "8be30f7b6f096207e2dfb67ba04275f1efd557e8", "url": "https://github.com/damianociarla/DCSOpauthBundle/blob/8be30f7b6f096207e2dfb67ba04275f1efd557e8/Configuration/StrategyParser.php#L55-L73", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Get.php", "func_name": "Get.composeResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform DB to API data conversion directly.\n\n@param \\Praxigento\\Accounting\\Repo\\Data\\Account $acc\n@return \\Praxigento\\Accounting\\Api\\Service\\Account\\Get\\Response", "docstring_tokens": ["Perform", "DB", "to", "API", "data", "conversion", "directly", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Get.php#L40-L55", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Account/Get.php", "func_name": "Get.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get account data or create new account if customer has no account for the requested asset.\n\n@param ARequest $request\n\n@return AResponse", "docstring_tokens": ["Get", "account", "data", "or", "create", "new", "account", "if", "customer", "has", "no", "account", "for", "the", "requested", "asset", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Account/Get.php#L64-L101", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Operation/Create.php", "func_name": "Create.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add operation with list of transactions and change account balances.\n\n@param ARequest $request\n\n@return AResponse\n@throws \\Exception", "docstring_tokens": ["Add", "operation", "with", "list", "of", "transactions", "and", "change", "account", "balances", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Operation/Create.php#L76-L147", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Operation/Create.php", "func_name": "Create.prepareLogIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract IDs from sessions if both are empty.\n\n@param int $custId .\n@param int $adminId\n@return int[]", "docstring_tokens": ["Extract", "IDs", "from", "sessions", "if", "both", "are", "empty", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Operation/Create.php#L156-L171", "partition": "test"} +{"repo": "praxigento/mobi_mod_accounting", "path": "Service/Operation/Create.php", "func_name": "Create.validateTransactions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate transactions.\n\n@param ETrans[] $trans\n@return string", "docstring_tokens": ["Validate", "transactions", "."], "sha": "87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f", "url": "https://github.com/praxigento/mobi_mod_accounting/blob/87ebe278cb3f89387ee6c88a1ee902b4dd7fe68f/Service/Operation/Create.php#L179-L196", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Message.php", "func_name": "Message.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the headers.\n\n@param array $headers\n@return $this", "docstring_tokens": ["Set", "the", "headers", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Message.php#L103-L113", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Message.php", "func_name": "Message.setHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the header.\n\n@param string $name\n@param string|string[] $value\n@return $this", "docstring_tokens": ["Set", "the", "header", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Message.php#L154-L164", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Message.php", "func_name": "Message.addHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add the header.\n\n@param string $name\n@param string|string[] $value\n@return $this", "docstring_tokens": ["Add", "the", "header", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Message.php#L183-L198", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/Message.php", "func_name": "Message.removeHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the header.\n\n@param string $name\n@return $this", "docstring_tokens": ["Remove", "the", "header", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/Message.php#L216-L225", "partition": "test"} +{"repo": "kuria/class-loader", "path": "src/ClassLoader.php", "func_name": "ClassLoader.addPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a prefix\n\n- adding an empty prefix will register a fallback.\n- see ClassLoader::PSR* constants for available types\n\n@throws \\UnexpectedValueException if an invalid type is given\n@throws \\InvalidArgumentException if an invalid prefix is given", "docstring_tokens": ["Register", "a", "prefix"], "sha": "69fbe101941bb481d708378f05c4427bf2a52bf3", "url": "https://github.com/kuria/class-loader/blob/69fbe101941bb481d708378f05c4427bf2a52bf3/src/ClassLoader.php#L133-L177", "partition": "test"} +{"repo": "kuria/class-loader", "path": "src/ClassLoader.php", "func_name": "ClassLoader.addPrefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a prefix => paths map\n\n@see ClassLoader::addPrefix()", "docstring_tokens": ["Register", "a", "prefix", "=", ">", "paths", "map"], "sha": "69fbe101941bb481d708378f05c4427bf2a52bf3", "url": "https://github.com/kuria/class-loader/blob/69fbe101941bb481d708378f05c4427bf2a52bf3/src/ClassLoader.php#L184-L189", "partition": "test"} +{"repo": "kuria/class-loader", "path": "src/ClassLoader.php", "func_name": "ClassLoader.findFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a file for the given class name\n\nReturns NULL on failure.", "docstring_tokens": ["Find", "a", "file", "for", "the", "given", "class", "name"], "sha": "69fbe101941bb481d708378f05c4427bf2a52bf3", "url": "https://github.com/kuria/class-loader/blob/69fbe101941bb481d708378f05c4427bf2a52bf3/src/ClassLoader.php#L196-L285", "partition": "test"} +{"repo": "kuria/class-loader", "path": "src/ClassLoader.php", "func_name": "ClassLoader.findFileWithKnownSuffix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try locating the given path using all registered suffixes\n\nReturns NULL on failure.", "docstring_tokens": ["Try", "locating", "the", "given", "path", "using", "all", "registered", "suffixes"], "sha": "69fbe101941bb481d708378f05c4427bf2a52bf3", "url": "https://github.com/kuria/class-loader/blob/69fbe101941bb481d708378f05c4427bf2a52bf3/src/ClassLoader.php#L316-L325", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiResponse.php", "func_name": "ApiResponse.convertObjectToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an object to array.\n\n@param mixed $object\n@return array", "docstring_tokens": ["Convert", "an", "object", "to", "array", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiResponse.php#L127-L134", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiResponse.php", "func_name": "ApiResponse.cleanArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean the given array.\n\n@param array $array\n@param array|null $keys\n@return array", "docstring_tokens": ["Clean", "the", "given", "array", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiResponse.php#L143-L154", "partition": "test"} +{"repo": "ElfSundae/laravel-api", "path": "src/ApiResponse.php", "func_name": "ApiResponse.setCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the api result code.\n\n@param int $code\n@return $this", "docstring_tokens": ["Set", "the", "api", "result", "code", "."], "sha": "bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6", "url": "https://github.com/ElfSundae/laravel-api/blob/bb9f771cdd324855c6d7b18ad4c0b74c59b67bd6/src/ApiResponse.php#L183-L188", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.initUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the URI.\n\n@param UriInterface|null $uri\n@return UriInterface the URI.", "docstring_tokens": ["Initialize", "the", "URI", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L97-L108", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.initQueryParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the headers.\n\n@param string $serverParams\n@return array the headers.", "docstring_tokens": ["Initialize", "the", "headers", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L127-L136", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.initUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the uploaded files.\n\n@param array $files\n@return array the uploaded files.", "docstring_tokens": ["Initialize", "the", "uploaded", "files", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L144-L153", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.parseUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse uploaded files.\n\n@param array $files\n@return UploadedFile|array uploaded files.", "docstring_tokens": ["Parse", "uploaded", "files", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L161-L178", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.parseMultipleUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse multiple uploaded files.\n\n@param array $files\n@return UploadedFiles[] multiple uploaded files.", "docstring_tokens": ["Parse", "multiple", "uploaded", "files", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L197-L207", "partition": "test"} +{"repo": "miBadger/miBadger.Http", "path": "src/ServerRequest.php", "func_name": "ServerRequest.hasContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a content type header exists with the given content type.\n\n@param string $contentType\n@return bool true if a content type header exists with the given content type.", "docstring_tokens": ["Checks", "if", "a", "content", "type", "header", "exists", "with", "the", "given", "content", "type", "."], "sha": "b82b72a6e7d645cae0e1976f5e0bfa080cd015ce", "url": "https://github.com/miBadger/miBadger.Http/blob/b82b72a6e7d645cae0e1976f5e0bfa080cd015ce/src/ServerRequest.php#L336-L345", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/CreateFiles.php", "func_name": "CreateFiles.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate our own files.", "docstring_tokens": ["Generate", "our", "own", "files", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/CreateFiles.php#L10-L41", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/AbstractCommandController.php", "func_name": "AbstractCommandController.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invokes the correct command", "docstring_tokens": ["Invokes", "the", "correct", "command"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/AbstractCommandController.php#L70-L90", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/AbstractCommandController.php", "func_name": "AbstractCommandController.outputTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prints the given data in a table\n\n@param array $data Table data to display\n@param string $delimiter Delimiter for table cells", "docstring_tokens": ["Prints", "the", "given", "data", "in", "a", "table"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/AbstractCommandController.php#L126-L200", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/AbstractCommandController.php", "func_name": "AbstractCommandController.outputError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prints the given error to the console\n\n@param string|\\Exception $error", "docstring_tokens": ["Prints", "the", "given", "error", "to", "the", "console"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/AbstractCommandController.php#L227-L240", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/AbstractCommandController.php", "func_name": "AbstractCommandController.helpCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays this message", "docstring_tokens": ["Displays", "this", "message"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/AbstractCommandController.php#L245-L266", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/AbstractCommandController.php", "func_name": "AbstractCommandController.getAvailableCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the available commands\n\n@return array", "docstring_tokens": ["Returns", "the", "available", "commands"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/AbstractCommandController.php#L273-L315", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/FilesInteractions.php", "func_name": "FilesInteractions.makeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the directory for the class if necessary.\n\n@param string $path\n@return string", "docstring_tokens": ["Build", "the", "directory", "for", "the", "class", "if", "necessary", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/FilesInteractions.php#L45-L50", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/FilesInteractions.php", "func_name": "FilesInteractions.AppendTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append to a file a particular stub.\n@param $file\n@param $stub\n@return int", "docstring_tokens": ["Append", "to", "a", "file", "a", "particular", "stub", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/FilesInteractions.php#L71-L74", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/FilesInteractions.php", "func_name": "FilesInteractions.replaceAndSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open haystack, find and replace needles, save haystack.\n\n@param string $oldFile The haystack\n@param mixed $search String or array to look for (the needles)\n@param mixed $replace What to replace the needles for?\n@param string $newFile Where to save, defaults to $oldFile\n\n@return void", "docstring_tokens": ["Open", "haystack", "find", "and", "replace", "needles", "save", "haystack", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/FilesInteractions.php#L100-L108", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch the given request URI\n\n@param string $uri\n@param string $method\n@param array $arguments\n@return Response", "docstring_tokens": ["Dispatch", "the", "given", "request", "URI"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L63-L105", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.createTemplateResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill the template with the contents\n\n@param Response $response\n@return Response", "docstring_tokens": ["Fill", "the", "template", "with", "the", "contents"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L113-L137", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.getPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Page object for the current URI\n\n@return Page", "docstring_tokens": ["Returns", "the", "Page", "object", "for", "the", "current", "URI"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L156-L163", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the response for the current page URI\n\nIf the current page URI was not found, the URI \"/NotFound/\" will be checked\n\n@return Response|NULL", "docstring_tokens": ["Returns", "the", "response", "for", "the", "current", "page", "URI"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L182-L195", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.buildResponseForUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the response for the page URI or NULL if no data was found\n\n@param string $uri\n@return Response|NULL", "docstring_tokens": ["Returns", "the", "response", "for", "the", "page", "URI", "or", "NULL", "if", "no", "data", "was", "found"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L203-L211", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.getPageForUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Page for the page URI or NULL if no data was found\n\n@param string $uri\n@return Page", "docstring_tokens": ["Returns", "the", "Page", "for", "the", "page", "URI", "or", "NULL", "if", "no", "data", "was", "found"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L219-L226", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Dispatcher.php", "func_name": "Dispatcher.getAliasForUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the alias for the given URI, or the original URI if no alias is defined\n\nAt the current stage this method doesn't do much. It simply returns \"/Home/\" if the current URI is \"/\"\n\n@param string $uri\n@return string", "docstring_tokens": ["Returns", "the", "alias", "for", "the", "given", "URI", "or", "the", "original", "URI", "if", "no", "alias", "is", "defined"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Dispatcher.php#L236-L242", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nMessageController.php", "func_name": "I18nMessageController.actionView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a single I18nMessage model.\n@param integer $id\n@return mixed", "docstring_tokens": ["Displays", "a", "single", "I18nMessage", "model", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nMessageController.php#L49-L59", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nMessageController.php", "func_name": "I18nMessageController.actionCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new I18nMessage model.\nIf creation is successful, the browser will be redirected to the 'view' page.\n@return mixed", "docstring_tokens": ["Creates", "a", "new", "I18nMessage", "model", ".", "If", "creation", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "view", "page", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nMessageController.php#L66-L85", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Helpers/Markdown/AnchorTrait.php", "func_name": "AnchorTrait.addHeadlineIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add IDs to headlines\n\n@param string $content\n@return string", "docstring_tokens": ["Add", "IDs", "to", "headlines"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Helpers/Markdown/AnchorTrait.php#L13-L33", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Bootstrap.php", "func_name": "Bootstrap.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invokes the dispatcher", "docstring_tokens": ["Invokes", "the", "dispatcher"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Bootstrap.php#L30-L33", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Bootstrap.php", "func_name": "Bootstrap.runCli", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invokes the CLI dispatcher\n\n@param array $arguments", "docstring_tokens": ["Invokes", "the", "CLI", "dispatcher"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Bootstrap.php#L40-L44", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/AuthEmailServiceProvider.php", "func_name": "AuthEmailServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register any package services.\n\n@return void", "docstring_tokens": ["Register", "any", "package", "services", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/AuthEmailServiceProvider.php#L53-L73", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Helpers/MarkdownFactory.php", "func_name": "MarkdownFactory.getMarkdownRenderer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Markdown Parser instance\n\n@return RenderInterface", "docstring_tokens": ["Returns", "a", "Markdown", "Parser", "instance"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Helpers/MarkdownFactory.php#L26-L37", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/Files.php", "func_name": "Files.getBlades", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path to the blade files.\n\n@return array", "docstring_tokens": ["Get", "the", "path", "to", "the", "blade", "files", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/Files.php#L39-L49", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/Actions/Files.php", "func_name": "Files.getMigrations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the path to the migrations location.\n\n@return array", "docstring_tokens": ["Get", "the", "path", "to", "the", "migrations", "location", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/Actions/Files.php#L70-L80", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Repository/PageRepository.php", "func_name": "PageRepository.findByIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the page with tie given identifier\n\n@param string $identifier\n@return Page", "docstring_tokens": ["Find", "the", "page", "with", "tie", "given", "identifier"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Repository/PageRepository.php#L35-L83", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Repository/PageRepository.php", "func_name": "PageRepository.getPageNameForPageIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the page file name for the given page identifier\n\n@param string $identifier\n@throws \\Cundd\\Noshi\\Domain\\Exception\\InvalidPageIdentifierException if the given page identifier is invalid\n@return string", "docstring_tokens": ["Returns", "the", "page", "file", "name", "for", "the", "given", "page", "identifier"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Repository/PageRepository.php#L92-L108", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Repository/PageRepository.php", "func_name": "PageRepository.buildMetaDataForPageIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the meta data for the given page identifier\n\nThe meta data is read from the global configuration and the page's config file (i.e. 'PageName.json'), whilst the\npage config takes precedence.\n\n@param string $identifier\n@param string $pageDataPath Determined path to the page contents\n@return array", "docstring_tokens": ["Returns", "the", "meta", "data", "for", "the", "given", "page", "identifier"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Repository/PageRepository.php#L120-L141", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Repository/PageRepository.php", "func_name": "PageRepository.getPageTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all available page names\n\n@return array", "docstring_tokens": ["Returns", "all", "available", "page", "names"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Repository/PageRepository.php#L162-L171", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Repository/PageRepository.php", "func_name": "PageRepository.getPagesForPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all available pages for the given path\n\n@param string $path\n@param string $uriBase\n@return array", "docstring_tokens": ["Returns", "all", "available", "pages", "for", "the", "given", "path"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Repository/PageRepository.php#L180-L272", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/Commands/AuthEmail.php", "func_name": "AuthEmail.Success", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show success message and run composer dump-autoload.", "docstring_tokens": ["Show", "success", "message", "and", "run", "composer", "dump", "-", "autoload", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/Commands/AuthEmail.php#L85-L96", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "models/I18nMessage.php", "func_name": "I18nMessage.loadMessagesFromDb", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the messages from database.\n\n@param string $category the message category.\n@param string $language the target language.\n@return array the messages loaded from database.", "docstring_tokens": ["Loads", "the", "messages", "from", "database", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/models/I18nMessage.php#L122-L133", "partition": "test"} +{"repo": "ntavelis/auth-email", "path": "src/EmailService.php", "func_name": "EmailService.sendActivationMail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends activation mail.\n@param $user", "docstring_tokens": ["Sends", "activation", "mail", "."], "sha": "978e631f364ebb8dae1c6d2acf7b3cb21c28979c", "url": "https://github.com/ntavelis/auth-email/blob/978e631f364ebb8dae1c6d2acf7b3cb21c28979c/src/EmailService.php#L49-L61", "partition": "test"} +{"repo": "ilya-dev/fuzzy", "path": "src/Fuzzy/Fuzzy.php", "func_name": "Fuzzy.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a fuzzy string searching.\n\n@param array $rows\n@param string $query\n@param integer $threshold\n@return array", "docstring_tokens": ["Perform", "a", "fuzzy", "string", "searching", "."], "sha": "98c85c251fced67015f3cf6356a2b28b58e65ac8", "url": "https://github.com/ilya-dev/fuzzy/blob/98c85c251fced67015f3cf6356a2b28b58e65ac8/src/Fuzzy/Fuzzy.php#L13-L28", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Ui/Template.php", "func_name": "Template.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the template\n\n@throws Exception\\InvalidExpressionException if the rendered expression can not be converted to a string\n@return string", "docstring_tokens": ["Renders", "the", "template"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Ui/Template.php#L60-L85", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Ui/Template.php", "func_name": "Template.renderExpression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the given expression\n\n@param string $expression\n@return string", "docstring_tokens": ["Renders", "the", "given", "expression"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Ui/Template.php#L93-L123", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Ui/Template.php", "func_name": "Template.resolveExpressionKeyPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the assigned variable value\n\n@param string $keyPath\n@return string", "docstring_tokens": ["Returns", "the", "assigned", "variable", "value"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Ui/Template.php#L131-L138", "partition": "test"} +{"repo": "darsyn/class-finder", "path": "src/BundleClassFinder.php", "func_name": "BundleClassFinder.findClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find Classes in Bundles\n\n@access public\n@param string $subDir\n@param string $suffix\n@param string $parent\n@param boolean $reflection\n@return array", "docstring_tokens": ["Find", "Classes", "in", "Bundles"], "sha": "706648ca3d334d307caedaba552c702ee7bd867d", "url": "https://github.com/darsyn/class-finder/blob/706648ca3d334d307caedaba552c702ee7bd867d/src/BundleClassFinder.php#L74-L83", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Configuration.php", "func_name": "Configuration.prepareConfigurationArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the configuration values\n\nAppend a slash at the end of directory configurations\n\n@param array $configuration\n@return array", "docstring_tokens": ["Prepare", "the", "configuration", "values"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Configuration.php#L54-L68", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Configuration.php", "func_name": "Configuration.getHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the sanitized hostname\n\n@throws Exception\\SecurityException if the host could not be detected\n@return string", "docstring_tokens": ["Returns", "the", "sanitized", "hostname"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Configuration.php#L100-L130", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Configuration.php", "func_name": "Configuration.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the configuration\n\nIf an accessor method (i.e.: \"getMyKey\") is available it will be called\n\n@param string $key\n@return mixed", "docstring_tokens": ["Returns", "the", "configuration"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Configuration.php#L230-L238", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nTranslationController.php", "func_name": "I18nTranslationController.actionView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a single I18nTranslation model.\n@param integer $message_id\n@param string $language\n@return mixed", "docstring_tokens": ["Displays", "a", "single", "I18nTranslation", "model", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nTranslationController.php#L50-L60", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nTranslationController.php", "func_name": "I18nTranslationController.actionUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing I18nTranslation model.\nIf update is successful, the browser will be redirected to the 'view' page.\n@param integer $message_id\n@param string $language\n@return mixed", "docstring_tokens": ["Updates", "an", "existing", "I18nTranslation", "model", ".", "If", "update", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "view", "page", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nTranslationController.php#L95-L114", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nTranslationController.php", "func_name": "I18nTranslationController.actionDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an existing I18nTranslation model.\nIf deletion is successful, the browser will be redirected to the 'index' page.\n@param integer $message_id\n@param string $language\n@return mixed", "docstring_tokens": ["Deletes", "an", "existing", "I18nTranslation", "model", ".", "If", "deletion", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "index", "page", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nTranslationController.php#L123-L128", "partition": "test"} +{"repo": "borodulin/yii2-i18n-google", "path": "controllers/I18nTranslationController.php", "func_name": "I18nTranslationController.findModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the I18nTranslation model based on its primary key value.\nIf the model is not found, a 404 HTTP exception will be thrown.\n@param integer $message_id\n@param string $language\n@return I18nTranslation the loaded model\n@throws NotFoundHttpException if the model cannot be found", "docstring_tokens": ["Finds", "the", "I18nTranslation", "model", "based", "on", "its", "primary", "key", "value", ".", "If", "the", "model", "is", "not", "found", "a", "404", "HTTP", "exception", "will", "be", "thrown", "."], "sha": "dd181417b944f350c9579d2d9fa947e20292cfe9", "url": "https://github.com/borodulin/yii2-i18n-google/blob/dd181417b944f350c9579d2d9fa947e20292cfe9/controllers/I18nTranslationController.php#L138-L145", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Command/NoshiCommandController.php", "func_name": "NoshiCommandController.listPagesCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists all pages", "docstring_tokens": ["Lists", "all", "pages"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Command/NoshiCommandController.php#L18-L34", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Model/Page.php", "func_name": "Page.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the parsed content\n\n@return string", "docstring_tokens": ["Returns", "the", "parsed", "content"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Model/Page.php#L151-L158", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Model/Page.php", "func_name": "Page.getSorting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the sorting position in a menu\n\n@return int", "docstring_tokens": ["Returns", "the", "sorting", "position", "in", "a", "menu"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Model/Page.php#L178-L189", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Model/Page.php", "func_name": "Page.getUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URI of the page\n\n@return string", "docstring_tokens": ["Returns", "the", "URI", "of", "the", "page"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Model/Page.php#L196-L218", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Model/Page.php", "func_name": "Page._getUrlFromMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URL read from the meta data or NULL if it is not set\n\n@return string", "docstring_tokens": ["Returns", "the", "URL", "read", "from", "the", "meta", "data", "or", "NULL", "if", "it", "is", "not", "set"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Model/Page.php#L225-L242", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Domain/Model/Page.php", "func_name": "Page.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the pages title\n\n@return string", "docstring_tokens": ["Returns", "the", "pages", "title"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Domain/Model/Page.php#L249-L262", "partition": "test"} +{"repo": "dev-it/hasoffers-php", "path": "src/Client.php", "func_name": "Client.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a GET request.\n\n@param string $apiMethod\n@param array $parameters\n\n@return object", "docstring_tokens": ["Send", "a", "GET", "request", "."], "sha": "73f490338b6157c0a1ec296fdddf6d358b909b88", "url": "https://github.com/dev-it/hasoffers-php/blob/73f490338b6157c0a1ec296fdddf6d358b909b88/src/Client.php#L105-L113", "partition": "test"} +{"repo": "dev-it/hasoffers-php", "path": "src/Client.php", "func_name": "Client.buildUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the request url.\n\n@param string $apiMethod\n@param array $parameter\n\n@return string", "docstring_tokens": ["Build", "the", "request", "url", "."], "sha": "73f490338b6157c0a1ec296fdddf6d358b909b88", "url": "https://github.com/dev-it/hasoffers-php/blob/73f490338b6157c0a1ec296fdddf6d358b909b88/src/Client.php#L123-L136", "partition": "test"} +{"repo": "dev-it/hasoffers-php", "path": "src/Client.php", "func_name": "Client.handleResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the response.\n\n@param object $response\n\n@return object", "docstring_tokens": ["Handle", "the", "response", "."], "sha": "73f490338b6157c0a1ec296fdddf6d358b909b88", "url": "https://github.com/dev-it/hasoffers-php/blob/73f490338b6157c0a1ec296fdddf6d358b909b88/src/Client.php#L145-L155", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/ConfigurationManager.php", "func_name": "ConfigurationManager.initializeConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the shared configuration\n\n@param string $basePath\n@return Configuration", "docstring_tokens": ["Initializes", "the", "shared", "configuration"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/ConfigurationManager.php#L19-L32", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Utilities/Profiler.php", "func_name": "Profiler.profile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the processing time\n\n@param string $message Optional profiling message", "docstring_tokens": ["Show", "the", "processing", "time"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Utilities/Profiler.php#L31-L51", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Ui/View.php", "func_name": "View.getTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the template\n\n@return string", "docstring_tokens": ["Returns", "the", "template"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Ui/View.php#L45-L52", "partition": "test"} +{"repo": "cundd/noshi", "path": "Classes/Cundd/Noshi/Utilities/ObjectUtility.php", "func_name": "ObjectUtility.valueForKeyPathOfObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value for the key path of the given object\n\n@param string $keyPath Key path of the property to fetch\n@param object|array $object Source to fetch the data from\n@param mixed $default An optional default value to return if the path could not be resolved. If a callback is passed, it's return value is used\n@throws \\LogicException if the given key path is no string\n@return mixed", "docstring_tokens": ["Returns", "the", "value", "for", "the", "key", "path", "of", "the", "given", "object"], "sha": "4c236ccd08532d81ab1f54fc0634ea0445c43388", "url": "https://github.com/cundd/noshi/blob/4c236ccd08532d81ab1f54fc0634ea0445c43388/Classes/Cundd/Noshi/Utilities/ObjectUtility.php#L21-L80", "partition": "test"} +{"repo": "darsyn/class-finder", "path": "src/ClassFinder.php", "func_name": "ClassFinder.setRootDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Root Directory\n\n@access public\n@throws \\DomainException\n@param string $directory\n@return self", "docstring_tokens": ["Set", "Root", "Directory"], "sha": "706648ca3d334d307caedaba552c702ee7bd867d", "url": "https://github.com/darsyn/class-finder/blob/706648ca3d334d307caedaba552c702ee7bd867d/src/ClassFinder.php#L40-L50", "partition": "test"} +{"repo": "darsyn/class-finder", "path": "src/ClassFinder.php", "func_name": "ClassFinder.findClassReflections", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find Class Reflections\n\n@access public\n@param string $subDir\n@param string $suffix\n@param string $parent\n@param integer $allowedParameters\n@return array", "docstring_tokens": ["Find", "Class", "Reflections"], "sha": "706648ca3d334d307caedaba552c702ee7bd867d", "url": "https://github.com/darsyn/class-finder/blob/706648ca3d334d307caedaba552c702ee7bd867d/src/ClassFinder.php#L121-L139", "partition": "test"} +{"repo": "darsyn/class-finder", "path": "src/ClassFinder.php", "func_name": "ClassFinder.getClassReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Class Reflection Instance\n\n@access protected\n@throws \\LogicException\n@param \\Symfony\\Component\\Finder\\SplFileInfo $file\n@param string $namespace\n@param string $suffix\n@param string $parent\n@param integer $allowedParameters\n@return \\Darsyn\\ClassFinder\\Reflection\\ReflectionClass", "docstring_tokens": ["Get", "Class", "Reflection", "Instance"], "sha": "706648ca3d334d307caedaba552c702ee7bd867d", "url": "https://github.com/darsyn/class-finder/blob/706648ca3d334d307caedaba552c702ee7bd867d/src/ClassFinder.php#L170-L204", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/Media.php", "func_name": "Media.mediaUpload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads the file\nif success returns json array for media data\n\n@param string $fileName\n@param bool $useFile\n@return bool|string\n@throws \\yii\\web\\BadRequestHttpException", "docstring_tokens": ["Uploads", "the", "file", "if", "success", "returns", "json", "array", "for", "media", "data"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/Media.php#L42-L55", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/Media.php", "func_name": "Media.insertMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Upload to file and insert into media table\n@param $file\n@return array", "docstring_tokens": ["Upload", "to", "file", "and", "insert", "into", "media", "table"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/Media.php#L62-L106", "partition": "test"} +{"repo": "jijoel/DateRange", "path": "src/Kalani/DateRange/ExampleCalculator.php", "func_name": "ExampleCalculator.hours", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Round down to the nearest 15 minutes\nAs a special case, round the first period\ndown to 0.", "docstring_tokens": ["Round", "down", "to", "the", "nearest", "15", "minutes", "As", "a", "special", "case", "round", "the", "first", "period", "down", "to", "0", "."], "sha": "1cbd3952e64434b29c948327c6eef31ec33df6b3", "url": "https://github.com/jijoel/DateRange/blob/1cbd3952e64434b29c948327c6eef31ec33df6b3/src/Kalani/DateRange/ExampleCalculator.php#L14-L37", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/UnitOfWork.php", "func_name": "UnitOfWork.getDirtyData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the new serialized model with only needed fields to update", "docstring_tokens": ["return", "the", "new", "serialized", "model", "with", "only", "needed", "fields", "to", "update"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/UnitOfWork.php#L42-L52", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/UnitOfWork.php", "func_name": "UnitOfWork.registerClean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a net entity in the UnitOfWork storage", "docstring_tokens": ["Register", "a", "net", "entity", "in", "the", "UnitOfWork", "storage"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/UnitOfWork.php#L57-L63", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/UnitOfWork.php", "func_name": "UnitOfWork.getDirtyFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare serialize object and returns only modified fields", "docstring_tokens": ["Compare", "serialize", "object", "and", "returns", "only", "modified", "fields"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/UnitOfWork.php#L80-L192", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/UnitOfWork.php", "func_name": "UnitOfWork.addIdentifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "add defined identifiers to given model\n\n@param ?mixed $idSerializedKey", "docstring_tokens": ["add", "defined", "identifiers", "to", "given", "model"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/UnitOfWork.php#L199-L213", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/UnitOfWork.php", "func_name": "UnitOfWork.getEntityId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get entity id from string or array\n\n@param string|array $stringOrEntity\n@param string $idSerializedKey\n\n@return ?mixed", "docstring_tokens": ["get", "entity", "id", "from", "string", "or", "array"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/UnitOfWork.php#L251-L260", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/widgets/Tags.php", "func_name": "Tags.getTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns list of tags from model\n@return string", "docstring_tokens": ["Returns", "list", "of", "tags", "from", "model"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/widgets/Tags.php#L50-L75", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/widgets/Tags.php", "func_name": "Tags.get_real_class", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains an object class name without namespaces\n@param $obj\n@return string", "docstring_tokens": ["Obtains", "an", "object", "class", "name", "without", "namespaces"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/widgets/Tags.php#L82-L90", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/DependencyInjection/ContaoBootstrapTabExtension.php", "func_name": "ContaoBootstrapTabExtension.configureTabElementFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the tab element factory.\n\n@param ContainerBuilder $container The container builder.\n\n@return void", "docstring_tokens": ["Configure", "the", "tab", "element", "factory", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/DependencyInjection/ContaoBootstrapTabExtension.php#L53-L67", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/models/Media.php", "func_name": "Media.beforeDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Before deletion, remove media file from source and also delete from relation table\n@inheritdoc", "docstring_tokens": ["Before", "deletion", "remove", "media", "file", "from", "source", "and", "also", "delete", "from", "relation", "table"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/models/Media.php#L108-L127", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/models/Media.php", "func_name": "Media.createTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create title for media", "docstring_tokens": ["Create", "title", "for", "media"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/models/Media.php#L165-L172", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/models/Media.php", "func_name": "Media.renderPdf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders PDF File\n@param array $data\n@return string", "docstring_tokens": ["Renders", "PDF", "File"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/models/Media.php#L219-L231", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/models/Media.php", "func_name": "Media.renderImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders all supported image files\n@param array $data\n@return bool|string", "docstring_tokens": ["Renders", "all", "supported", "image", "files"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/models/Media.php#L238-L277", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/ModelHydrator.php", "func_name": "ModelHydrator.hydrate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert data as array to entity", "docstring_tokens": ["convert", "data", "as", "array", "to", "entity"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/ModelHydrator.php#L54-L61", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/ModelHydrator.php", "func_name": "ModelHydrator.hydrateList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert API response to Collection containing entities", "docstring_tokens": ["convert", "API", "response", "to", "Collection", "containing", "entities"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/ModelHydrator.php#L66-L75", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/ModelHydrator.php", "func_name": "ModelHydrator.deserializeAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert list of data as array to Collection containing entities", "docstring_tokens": ["convert", "list", "of", "data", "as", "array", "to", "Collection", "containing", "entities"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/ModelHydrator.php#L80-L99", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/ModelHydrator.php", "func_name": "ModelHydrator.deserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert array to entity", "docstring_tokens": ["convert", "array", "to", "entity"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/ModelHydrator.php#L104-L111", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/ModelHydrator.php", "func_name": "ModelHydrator.guessCollectionClassname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "guess collection classname according to response data", "docstring_tokens": ["guess", "collection", "classname", "according", "to", "response", "data"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/ModelHydrator.php#L116-L129", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/sitemap/Sitemap.php", "func_name": "Sitemap.buildSitemap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build and cache a site map.\n@param bool $returnAsArray\n@return array|string\n@throws InvalidConfigException", "docstring_tokens": ["Build", "and", "cache", "a", "site", "map", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/sitemap/Sitemap.php#L53-L79", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/TabRegistry.php", "func_name": "TabRegistry.getNavigation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a navigation.\n\n@param string $elementId The element id.\n\n@return Navigation\n\n@throws \\Assert\\AssertionFailedException When an invalid element is given.", "docstring_tokens": ["Get", "a", "navigation", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/TabRegistry.php#L51-L62", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/TabRegistry.php", "func_name": "TabRegistry.getIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the iterator.\n\n@param string $elementId The element id.\n\n@return NavigationIterator\n\n@throws \\Assert\\AssertionFailedException When an invalid element is given.", "docstring_tokens": ["Get", "the", "iterator", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/TabRegistry.php#L73-L80", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "behaviors/NormalizeTags.php", "func_name": "NormalizeTags.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the user-entered tags.", "docstring_tokens": ["Normalizes", "the", "user", "-", "entered", "tags", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/behaviors/NormalizeTags.php#L39-L44", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Collection/Collection.php", "func_name": "Collection.getExtraProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the value of an extra property\n\n@return mixed", "docstring_tokens": ["return", "the", "value", "of", "an", "extra", "property"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Collection/Collection.php#L144-L149", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "helpers/KatoBase.php", "func_name": "KatoBase.genRandomString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates random string\ndefault lenght is 8", "docstring_tokens": ["Creates", "random", "string", "default", "lenght", "is", "8"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/helpers/KatoBase.php#L67-L77", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "helpers/KatoBase.php", "func_name": "KatoBase.limit_words", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to limit the words in a string\n\n@param string $string the given string\n@param int $word_limit the number of words to limit to\n@return string the limited string", "docstring_tokens": ["Helper", "function", "to", "limit", "the", "words", "in", "a", "string"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/helpers/KatoBase.php#L141-L145", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "helpers/KatoBase.php", "func_name": "KatoBase.get_files", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to recusively get all files in a directory\n\n@param string $directory start directory\n@param string $ext optional limit to file extensions\n@return array the matched files", "docstring_tokens": ["Helper", "function", "to", "recusively", "get", "all", "files", "in", "a", "directory"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/helpers/KatoBase.php#L154-L171", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "helpers/KatoBase.php", "func_name": "KatoBase.genShortDesc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strip tags and limit description\n@param $content\n@param string $tag\n@param int $wordLimit\n@return string", "docstring_tokens": ["Strip", "tags", "and", "limit", "description"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/helpers/KatoBase.php#L180-L189", "partition": "test"} +{"repo": "v-matsuk/time-overlap-calculator", "path": "src/TimeOverlapCalculator.php", "func_name": "TimeOverlapCalculator.isOverlap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given time slots overlap\n\n@param TimeSlotInterface $baseTimeSlot\n@param TimeSlotInterface $overlappingTimeSlot\n\n@return bool", "docstring_tokens": ["Check", "if", "given", "time", "slots", "overlap"], "sha": "c21c13cbae1aa4916b1474bab6c577f21ad28d56", "url": "https://github.com/v-matsuk/time-overlap-calculator/blob/c21c13cbae1aa4916b1474bab6c577f21ad28d56/src/TimeOverlapCalculator.php#L23-L27", "partition": "test"} +{"repo": "v-matsuk/time-overlap-calculator", "path": "src/TimeOverlapCalculator.php", "func_name": "TimeOverlapCalculator.getNonOverlappedTimeSlots", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an array of non overlapped time slots\n\n@param TimeSlotInterface $baseTimeSlot\n@param TimeSlotInterface[] $overlappingTimeSlots\n@param TimeSlotGeneratorInterface $timeSlotGenerator\n\n@return TimeSlotInterface[]", "docstring_tokens": ["Create", "an", "array", "of", "non", "overlapped", "time", "slots"], "sha": "c21c13cbae1aa4916b1474bab6c577f21ad28d56", "url": "https://github.com/v-matsuk/time-overlap-calculator/blob/c21c13cbae1aa4916b1474bab6c577f21ad28d56/src/TimeOverlapCalculator.php#L69-L91", "partition": "test"} +{"repo": "v-matsuk/time-overlap-calculator", "path": "src/TimeOverlapCalculator.php", "func_name": "TimeOverlapCalculator.mergeOverlappedTimeSlots", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge all overlapped time slots into single time slot\n\n@param TimeSlotGeneratorInterface $timeSlotGenerator\n@param TimeSlotInterface[] $timeSlots\n\n@return TimeSlotInterface[]", "docstring_tokens": ["Merge", "all", "overlapped", "time", "slots", "into", "single", "time", "slot"], "sha": "c21c13cbae1aa4916b1474bab6c577f21ad28d56", "url": "https://github.com/v-matsuk/time-overlap-calculator/blob/c21c13cbae1aa4916b1474bab6c577f21ad28d56/src/TimeOverlapCalculator.php#L101-L131", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/RestClient.php", "func_name": "RestClient.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a path\n\n@return array|ResponseInterface|null\n\n@throws RestException", "docstring_tokens": ["get", "a", "path"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/RestClient.php#L91-L117", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/RestClient.php", "func_name": "RestClient.mergeDefaultParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge default parameters.", "docstring_tokens": ["Merge", "default", "parameters", "."], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/RestClient.php#L211-L219", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/RestClient.php", "func_name": "RestClient.executeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes request.\n\n@return ResponseInterface|array\n\n@throws TransferException", "docstring_tokens": ["Executes", "request", "."], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/RestClient.php#L237-L294", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/Component/ContentElement/AbstractTabElement.php", "func_name": "AbstractTabElement.renderBackendView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the backend view.\n\n@param ContentModel|null $start Start element.\n@param NavigationIterator $iterator Iterator.\n\n@return string", "docstring_tokens": ["Render", "the", "backend", "view", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/Component/ContentElement/AbstractTabElement.php#L141-L158", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/Component/ContentElement/AbstractTabElement.php", "func_name": "AbstractTabElement.getIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the tab navigation iterator.\n\n@return NavigationIterator", "docstring_tokens": ["Get", "the", "tab", "navigation", "iterator", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/Component/ContentElement/AbstractTabElement.php#L175-L188", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/Component/ContentElement/AbstractTabElement.php", "func_name": "AbstractTabElement.getGridIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the grid iterator.\n\n@return GridIterator|null", "docstring_tokens": ["Get", "the", "grid", "iterator", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/Component/ContentElement/AbstractTabElement.php#L205-L220", "partition": "test"} +{"repo": "bupy7/yii2-bbcode", "path": "BBCodeBehavior.php", "func_name": "BBCodeBehavior.beforeSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parsing BB-codes before save of model.\n\n@param \\yii\\base\\Event $event", "docstring_tokens": ["Parsing", "BB", "-", "codes", "before", "save", "of", "model", "."], "sha": "fc2b30dabd6c544a2b4f6acf1c82b6e743ca4bd3", "url": "https://github.com/bupy7/yii2-bbcode/blob/fc2b30dabd6c544a2b4f6acf1c82b6e743ca4bd3/BBCodeBehavior.php#L186-L201", "partition": "test"} +{"repo": "bupy7/yii2-bbcode", "path": "BBCodeBehavior.php", "func_name": "BBCodeBehavior.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parsing of BB-codes.\n\n@param string $content Content for parsing.\n@return string", "docstring_tokens": ["Parsing", "of", "BB", "-", "codes", "."], "sha": "fc2b30dabd6c544a2b4f6acf1c82b6e743ca4bd3", "url": "https://github.com/bupy7/yii2-bbcode/blob/fc2b30dabd6c544a2b4f6acf1c82b6e743ca4bd3/BBCodeBehavior.php#L209-L260", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates an existing Media model.\nIf update is successful, the browser will be redirected to the 'view' page.\n@param string $id\n@return mixed", "docstring_tokens": ["Updates", "an", "existing", "Media", "model", ".", "If", "update", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "view", "page", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L98-L123", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.doMediaJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If content id and type provided then do join\nreturn boolean\n@param $result\n@return bool", "docstring_tokens": ["If", "content", "id", "and", "type", "provided", "then", "do", "join", "return", "boolean"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L131-L151", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionUpload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads the file and update database", "docstring_tokens": ["Uploads", "the", "file", "and", "update", "database"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L156-L187", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionUpdateData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update data information of media\n@param $id\n@throws NotFoundHttpException", "docstring_tokens": ["Update", "data", "information", "of", "media"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L273-L284", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionListMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns list of media in json format", "docstring_tokens": ["Returns", "list", "of", "media", "in", "json", "format"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L289-L316", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionRenderRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data about requested media and return as row\n@param $id\n@return string\n@throws NotFoundHttpException", "docstring_tokens": ["Get", "data", "about", "requested", "media", "and", "return", "as", "row"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L324-L335", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/media/controllers/DefaultController.php", "func_name": "DefaultController.actionDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an existing Media model.\nIf deletion is successful, the browser will be redirected to the 'index' page.\n@param integer $id\n@return mixed", "docstring_tokens": ["Deletes", "an", "existing", "Media", "model", ".", "If", "deletion", "is", "successful", "the", "browser", "will", "be", "redirected", "to", "the", "index", "page", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/media/controllers/DefaultController.php#L343-L354", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Mapping/ClassMetadata.php", "func_name": "ClassMetadata.setAttributeList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setter for attributeList\n\n@param iterable $attributeList", "docstring_tokens": ["Setter", "for", "attributeList"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Mapping/ClassMetadata.php#L137-L160", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Mapping/ClassMetadata.php", "func_name": "ClassMetadata.getDefaultSerializedModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return default serialize model with null value or empty array on relations\n\n@return array", "docstring_tokens": ["return", "default", "serialize", "model", "with", "null", "value", "or", "empty", "array", "on", "relations"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Mapping/ClassMetadata.php#L224-L244", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.createDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the directories for the files.\n\n@return void", "docstring_tokens": ["Create", "the", "directories", "for", "the", "files", "."], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L140-L185", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.exportViews", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export the views.\n\n@return void", "docstring_tokens": ["Export", "the", "views", "."], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L192-L206", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.exportControllers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export the controllers.\n\n@return void", "docstring_tokens": ["Export", "the", "controllers", "."], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L213-L226", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.exportRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Export the routes.\n\n@return void", "docstring_tokens": ["Export", "the", "routes", "."], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L233-L257", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.checkPackages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check all required packages\n\n@return bool", "docstring_tokens": ["Check", "all", "required", "packages"], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L279-L317", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.copyPlugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy jQuery plugins folder from AdminLTE package", "docstring_tokens": ["Copy", "jQuery", "plugins", "folder", "from", "AdminLTE", "package"], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L322-L328", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.copyAssetFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy Less and Js files", "docstring_tokens": ["Copy", "Less", "and", "Js", "files"], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L333-L344", "partition": "test"} +{"repo": "syahzul/admin-theme", "path": "src/Commands/AdminThemeCommand.php", "func_name": "AdminThemeCommand.copyLessFolders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy Less folders", "docstring_tokens": ["Copy", "Less", "folders"], "sha": "93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c", "url": "https://github.com/syahzul/admin-theme/blob/93d254a883220c9f4943ed2cc0eb8b3c8bab2e2c/src/Commands/AdminThemeCommand.php#L362-L373", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/setting/models/Setting.php", "func_name": "Setting.getByCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns settings grouped by categories\n@return array", "docstring_tokens": ["Returns", "settings", "grouped", "by", "categories"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/setting/models/Setting.php#L80-L96", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/Navigation.php", "func_name": "Navigation.fromSerialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create instance from a serialized definition\n\n@param string $definition Serialized definition.\n@param string $tabId Tab id as string, used as css id suffix.\n\n@return Navigation", "docstring_tokens": ["Create", "instance", "from", "a", "serialized", "definition"], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/Navigation.php#L42-L75", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/Item/NavItem.php", "func_name": "NavItem.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create nav item from an array definition.\n\n@param array $definition The array definition.\n\n@return NavItem", "docstring_tokens": ["Create", "nav", "item", "from", "an", "array", "definition", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/Item/NavItem.php#L76-L84", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "web/View.php", "func_name": "View.loadBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "finds and return content of requested block by name\n@param $name\n@param bool $isGlobal\n@return bool|string\n@throws BadRequestHttpException", "docstring_tokens": ["finds", "and", "return", "content", "of", "requested", "block", "by", "name"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/web/View.php#L46-L87", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/sitemap/widgets/SitemapWidget.php", "func_name": "SitemapWidget.getModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the module\n@param $m\n@return null|\\yii\\base\\Module", "docstring_tokens": ["Gets", "the", "module"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/sitemap/widgets/SitemapWidget.php#L18-L22", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Model/Serializer.php", "func_name": "Serializer.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "serialize entity for POST and PUT", "docstring_tokens": ["serialize", "entity", "for", "POST", "and", "PUT"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Model/Serializer.php#L60-L74", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Mapping.php", "func_name": "Mapping.getModelName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return a model class name for a given key", "docstring_tokens": ["return", "a", "model", "class", "name", "for", "a", "given", "key"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Mapping.php#L76-L84", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Mapping.php", "func_name": "Mapping.getClassMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "getClassMetadata for model name\n\n@throws MappingException", "docstring_tokens": ["getClassMetadata", "for", "model", "name"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Mapping.php#L136-L145", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/Mapping.php", "func_name": "Mapping.tryGetClassMetadataById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "getClassMetadata for id", "docstring_tokens": ["getClassMetadata", "for", "id"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/Mapping.php#L150-L161", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "widgets/PageTreeWidget.php", "func_name": "PageTreeWidget.renderTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns hierarchical data of pages\n@param int $parentId\n@return array", "docstring_tokens": ["Returns", "hierarchical", "data", "of", "pages"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/widgets/PageTreeWidget.php#L25-L39", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "widgets/PageTreeWidget.php", "func_name": "PageTreeWidget.getBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the given pages as a branch.\n@param $pages\n@return array", "docstring_tokens": ["Returns", "the", "given", "pages", "as", "a", "branch", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/widgets/PageTreeWidget.php#L46-L55", "partition": "test"} +{"repo": "mapado/rest-client-sdk", "path": "src/EntityRepository.php", "func_name": "EntityRepository.removeFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "remove from cache\n\n@return bool true if no cache or cache successfully cleared, false otherwise", "docstring_tokens": ["remove", "from", "cache"], "sha": "d218542fb28ae50d8e022e5fe6202e955e1d726b", "url": "https://github.com/mapado/rest-client-sdk/blob/d218542fb28ae50d8e022e5fe6202e955e1d726b/src/EntityRepository.php#L389-L402", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/models/Tag.php", "func_name": "Tag.listTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns array of tags by tag type\n@param null $tagType\n@param int $limit\n@return array", "docstring_tokens": ["Returns", "array", "of", "tags", "by", "tag", "type"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/models/Tag.php#L59-L78", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/models/Tag.php", "func_name": "Tag.findTagWeights", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns tag names and their corresponding weights.\nOnly the tags with the top weights will be returned.\n@param integer the maximum number of tags that should be returned\n@return array weights indexed by tag names.", "docstring_tokens": ["Returns", "tag", "names", "and", "their", "corresponding", "weights", ".", "Only", "the", "tags", "with", "the", "top", "weights", "will", "be", "returned", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/models/Tag.php#L86-L108", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/models/Tag.php", "func_name": "Tag.addTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update count of tags already exists\nif tag does not exists, insert it\n@param $tags\n@param $tagType", "docstring_tokens": ["Update", "count", "of", "tags", "already", "exists", "if", "tag", "does", "not", "exists", "insert", "it"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/models/Tag.php#L116-L136", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "modules/tag/models/Tag.php", "func_name": "Tag.removeTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrement frequency\nif less then or equal to zero then delete row\n@param $tags\n@param $tagType", "docstring_tokens": ["Decrement", "frequency", "if", "less", "then", "or", "equal", "to", "zero", "then", "delete", "row"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/modules/tag/models/Tag.php#L144-L163", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.getTabParentOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all tab parent options.\n\n@return array\n\n@SuppressWarnings(PHPMD.Superglobals)", "docstring_tokens": ["Get", "all", "tab", "parent", "options", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L84-L108", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.generateColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the columns.\n\n@param DataContainer $dataContainer Data container driver.\n\n@return void", "docstring_tokens": ["Generate", "the", "columns", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L136-L155", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.countRequiredSeparators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the required separator fields which should be created.\n\n@param mixed $definition The tab definitions.\n@param ContentModel $current The current content model.\n\n@return int", "docstring_tokens": ["Count", "the", "required", "separator", "fields", "which", "should", "be", "created", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L165-L187", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.createSeparators", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create separators.\n\n@param int $value Number of separators being created.\n@param ContentModel $current Current model.\n@param int $sorting Current sorting value.\n\n@return int", "docstring_tokens": ["Create", "separators", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L198-L206", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.createStopElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the stop element.\n\n@param ContentModel $current Model.\n@param int $sorting Last sorting value.\n\n@return Model", "docstring_tokens": ["Create", "the", "stop", "element", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L238-L243", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.createTabElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a tab element.\n\n@param ContentModel $current Current content model.\n@param string $type Type of the content model.\n@param int $sorting The sorting value.\n\n@return Model", "docstring_tokens": ["Create", "a", "tab", "element", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L254-L266", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/EventListener/Dca/ContentListener.php", "func_name": "ContentListener.getStopElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get related stop element.\n\n@param ContentModel $current Current element.\n\n@return ContentModel|Model", "docstring_tokens": ["Get", "related", "stop", "element", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/EventListener/Dca/ContentListener.php#L301-L317", "partition": "test"} +{"repo": "BugBuster1701/contao-be_user_online-bundle", "path": "src/Resources/contao/classes/DcaMemberOnlineIcon.php", "func_name": "DcaMemberOnlineIcon.addIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an image to each record\n@param array\n@param string\n@param DataContainer\n@param array\n@return string", "docstring_tokens": ["Add", "an", "image", "to", "each", "record"], "sha": "a176d2e8637a63c705be7f0150d16ac77c82dddc", "url": "https://github.com/BugBuster1701/contao-be_user_online-bundle/blob/a176d2e8637a63c705be7f0150d16ac77c82dddc/src/Resources/contao/classes/DcaMemberOnlineIcon.php#L38-L76", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "ActiveRecord.php", "func_name": "ActiveRecord.getSelectOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return basic select options for the record.\n@param string $key\n@param string $value\n@param array $where\n@return array", "docstring_tokens": ["Return", "basic", "select", "options", "for", "the", "record", "."], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/ActiveRecord.php#L90-L97", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "ActiveRecord.php", "func_name": "ActiveRecord.listStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns lists of status available\n@return array", "docstring_tokens": ["Returns", "lists", "of", "status", "available"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/ActiveRecord.php#L114-L134", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "ActiveRecord.php", "func_name": "ActiveRecord.listTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns types available\n@param $type\n@return array", "docstring_tokens": ["Returns", "types", "available"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/ActiveRecord.php#L161-L179", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "ActiveRecord.php", "func_name": "ActiveRecord.getTypeLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns type label\n@param $type\n@param $constId\n@return bool", "docstring_tokens": ["Returns", "type", "label"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/ActiveRecord.php#L187-L197", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "ActiveRecord.php", "func_name": "ActiveRecord.getListingOrderArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return array of listing order\n@return array", "docstring_tokens": ["return", "array", "of", "listing", "order"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/ActiveRecord.php#L203-L214", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "behaviors/FindReplace.php", "func_name": "FindReplace.findReplaceValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and replace text\nAccepts find as string or array", "docstring_tokens": ["Find", "and", "replace", "text", "Accepts", "find", "as", "string", "or", "array"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/behaviors/FindReplace.php#L41-L60", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/NavigationIterator.php", "func_name": "NavigationIterator.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the nex item.\n\n@return void", "docstring_tokens": ["Get", "the", "nex", "item", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/NavigationIterator.php#L105-L124", "partition": "test"} +{"repo": "contao-bootstrap/tab", "path": "src/View/Tab/NavigationIterator.php", "func_name": "NavigationIterator.currentTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the title of the current item.\n\n@return array", "docstring_tokens": ["Get", "the", "title", "of", "the", "current", "item", "."], "sha": "b8bdc78fc5a650ea6038e8141df71b5289c834fb", "url": "https://github.com/contao-bootstrap/tab/blob/b8bdc78fc5a650ea6038e8141df71b5289c834fb/src/View/Tab/NavigationIterator.php#L171-L184", "partition": "test"} +{"repo": "perminder-klair/kato-core", "path": "gii/generators/crud/Generator.php", "func_name": "Generator.generateActiveField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates code for active field\n@param string $attribute\n@return string", "docstring_tokens": ["Generates", "code", "for", "active", "field"], "sha": "168227027b857c90e8c5f24a2d591796b49ac9e7", "url": "https://github.com/perminder-klair/kato-core/blob/168227027b857c90e8c5f24a2d591796b49ac9e7/gii/generators/crud/Generator.php#L12-L66", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Factory.php", "func_name": "Factory.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a new resource.\n\n@param string $name\n@param mixed $attributes\n\n@return \\Orchestra\\Resources\\Router\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Register", "a", "new", "resource", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Factory.php#L52-L59", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Factory.php", "func_name": "Factory.of", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get resource by given name, or create a new one.\n\n@param string $name\n@param mixed $attributes\n\n@return \\Orchestra\\Resources\\Router", "docstring_tokens": ["Get", "resource", "by", "given", "name", "or", "create", "a", "new", "one", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Factory.php#L69-L76", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Factory.php", "func_name": "Factory.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a resource controller and action.\n\n@param string $name\n@param array $parameters\n\n@return mixed", "docstring_tokens": ["Call", "a", "resource", "controller", "and", "action", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Factory.php#L86-L105", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new dispatch.\n\n@param \\Orchestra\\Resources\\Router $driver\n@param string|null $name\n@param array $parameters\n\n@return mixed", "docstring_tokens": ["Create", "a", "new", "dispatch", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L57-L69", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.resolveDispatchDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve dispatcher dependencies.\n\n@param \\Orchestra\\Resources\\Router $driver\n@param string $name\n@param array $parameters\n\n@return \\Orchestra\\Resources\\Resolver", "docstring_tokens": ["Resolve", "dispatcher", "dependencies", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L80-L95", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.getNestedParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find nested parameters from route.\n\n@param string $name\n@param array $parameters\n\n@return array", "docstring_tokens": ["Find", "nested", "parameters", "from", "route", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L105-L127", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.findRoutableAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find route action and parameters content attributes from either\nrestful or resources routing.\n\n@param \\Orchestra\\Resources\\Resolver $resolver\n\n@return array\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Find", "route", "action", "and", "parameters", "content", "attributes", "from", "either", "restful", "or", "resources", "routing", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L139-L152", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.findRestfulRoutable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve action from restful controller.\n\n@param \\Orchestra\\Resources\\Resolver $resolver\n\n@return array", "docstring_tokens": ["Resolve", "action", "from", "restful", "controller", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L161-L170", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.findResourceRoutable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve action from resource controller.\n\n@param \\Orchestra\\Resources\\Resolver $resolver\n\n@return array", "docstring_tokens": ["Resolve", "action", "from", "resource", "controller", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L179-L198", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.getAlternativeResourceAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get action name.\n\n@param \\Orchestra\\Resources\\Resolver $resolver\n\n@return string", "docstring_tokens": ["Get", "action", "name", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L207-L223", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Dispatcher.php", "func_name": "Dispatcher.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch the resource.\n\n@param \\Orchestra\\Resources\\Router $driver\n@param string $name\n@param \\Orchestra\\Resources\\Resolver $resolver\n\n@return mixed", "docstring_tokens": ["Dispatch", "the", "resource", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Dispatcher.php#L234-L251", "partition": "test"} +{"repo": "magentix/SyliusPickupPlugin", "path": "src/Controller/PickupController.php", "func_name": "PickupController.listAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display Pickup List\n\n@param Request $request\n@param string $method\n@return Response|string", "docstring_tokens": ["Display", "Pickup", "List"], "sha": "c0be00759f20482253e17aaa60e0564842891546", "url": "https://github.com/magentix/SyliusPickupPlugin/blob/c0be00759f20482253e17aaa60e0564842891546/src/Controller/PickupController.php#L59-L108", "partition": "test"} +{"repo": "magentix/SyliusPickupPlugin", "path": "src/Controller/PickupController.php", "func_name": "PickupController.getCalculator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve Shipping Method Calculator\n\n@param string $shippingMethod\n@return CalculatorInterface|bool", "docstring_tokens": ["Retrieve", "Shipping", "Method", "Calculator"], "sha": "c0be00759f20482253e17aaa60e0564842891546", "url": "https://github.com/magentix/SyliusPickupPlugin/blob/c0be00759f20482253e17aaa60e0564842891546/src/Controller/PickupController.php#L116-L128", "partition": "test"} +{"repo": "magentix/SyliusPickupPlugin", "path": "src/Controller/PickupController.php", "func_name": "PickupController.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve Shipping Method\n\n@param string $shippingMethod\n@return ShippingMethod|bool", "docstring_tokens": ["Retrieve", "Shipping", "Method"], "sha": "c0be00759f20482253e17aaa60e0564842891546", "url": "https://github.com/magentix/SyliusPickupPlugin/blob/c0be00759f20482253e17aaa60e0564842891546/src/Controller/PickupController.php#L136-L146", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Router.php", "func_name": "Router.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map a child resource attributes.\n\n@param string $name\n@param string $uses\n\n@return $this\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Map", "a", "child", "resource", "attributes", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Router.php#L53-L64", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Router.php", "func_name": "Router.buildResourceSchema", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build resource schema.\n\n@param string $name\n@param mixed $attributes\n\n@return array", "docstring_tokens": ["Build", "resource", "schema", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Router.php#L152-L172", "partition": "test"} +{"repo": "magentix/SyliusPickupPlugin", "path": "src/EventListener/OrderInitializeCompleteListener.php", "func_name": "OrderInitializeCompleteListener.updateShippingAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update Shipping Address on cart summary\n\n@param ResourceControllerEvent $event\n@return void", "docstring_tokens": ["Update", "Shipping", "Address", "on", "cart", "summary"], "sha": "c0be00759f20482253e17aaa60e0564842891546", "url": "https://github.com/magentix/SyliusPickupPlugin/blob/c0be00759f20482253e17aaa60e0564842891546/src/EventListener/OrderInitializeCompleteListener.php#L24-L41", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Routing/ControllerDispatcher.php", "func_name": "ControllerDispatcher.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the given controller instance method.\n\n@param \\Orchestra\\Routing\\Controller $instance\n@param \\Illuminate\\Routing\\Route $route\n@param string $method\n\n@return mixed", "docstring_tokens": ["Call", "the", "given", "controller", "instance", "method", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Routing/ControllerDispatcher.php#L16-L25", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Response.php", "func_name": "Response.handleIlluminateResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle Illuminate\\Http\\Response content.\n\n@param \\Illuminate\\Http\\Response $content\n@param \\Closure $callback\n\n@return mixed\n\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", "docstring_tokens": ["Handle", "Illuminate", "\\", "Http", "\\", "Response", "content", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Response.php#L46-L60", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Response.php", "func_name": "Response.handleResponseCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle response callback.\n\n@param mixed $content\n@param \\Closure|null $callback\n\n@return mixed", "docstring_tokens": ["Handle", "response", "callback", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Response.php#L70-L83", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Response.php", "func_name": "Response.abort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle abort response.\n\n@param int $code\n@param string $message\n@param array $headers\n\n@return void\n\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\HttpException\n@throws \\Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException", "docstring_tokens": ["Handle", "abort", "response", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Response.php#L97-L104", "partition": "test"} +{"repo": "orchestral/resources", "path": "src/Response.php", "func_name": "Response.isNoneHtmlResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is response none html.\n\n@param \\Illuminate\\Http\\Response $content\n\n@return bool", "docstring_tokens": ["Is", "response", "none", "html", "."], "sha": "27498c7c5a7d1b509ab0666dd509aada98dc422f", "url": "https://github.com/orchestral/resources/blob/27498c7c5a7d1b509ab0666dd509aada98dc422f/src/Response.php#L125-L131", "partition": "test"} +{"repo": "ostark/yii2-artisan-bridge", "path": "src/base/Commands.php", "func_name": "Commands.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup for actions and options\n\n@deprecated 1.2.0 No longer recommended, use Bridge::registerGroup() instead\n\n@param string $prefix\n@param array $actions\n@param array $options", "docstring_tokens": ["Setup", "for", "actions", "and", "options"], "sha": "349432fe92669b5aa295fa50968e1a2b41376688", "url": "https://github.com/ostark/yii2-artisan-bridge/blob/349432fe92669b5aa295fa50968e1a2b41376688/src/base/Commands.php#L67-L79", "partition": "test"} +{"repo": "ostark/yii2-artisan-bridge", "path": "src/base/Commands.php", "func_name": "Commands.options", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get options from public Action properties", "docstring_tokens": ["Get", "options", "from", "public", "Action", "properties"], "sha": "349432fe92669b5aa295fa50968e1a2b41376688", "url": "https://github.com/ostark/yii2-artisan-bridge/blob/349432fe92669b5aa295fa50968e1a2b41376688/src/base/Commands.php#L110-L124", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr6MemoryCache.php", "func_name": "Psr6MemoryCache.deleteItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the item from the pool.\n\n@param string $key\nThe key to delete.\n\n@throws InvalidArgumentException\nIf the $key string is not a legal value a \\Psr\\Cache\\InvalidArgumentException\nMUST be thrown.\n\n@return bool\nTrue if the item was successfully removed. False if there was an error.", "docstring_tokens": ["Removes", "the", "item", "from", "the", "pool", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr6MemoryCache.php#L144-L149", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr6MemoryCache.php", "func_name": "Psr6MemoryCache.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persists a cache item immediately.\n\n@param \\Psr\\Cache\\CacheItemInterface $item\nThe cache item to save.\n\n@return bool\nTrue if the item was successfully persisted. False if there was an error.", "docstring_tokens": ["Persists", "a", "cache", "item", "immediately", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr6MemoryCache.php#L182-L198", "partition": "test"} +{"repo": "ostark/yii2-artisan-bridge", "path": "src/base/BlockOutputTrait.php", "func_name": "BlockOutputTrait.block", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats a message as a block of text.\n\n@param string|array $messages The message to write in the block\n@param string|null $type The block type (added in [] on first line)\n@param string|null $style The style to apply to the whole block\n@param string $prefix The prefix for the block\n@param bool $padding Whether to add vertical padding\n@param bool $escape Whether to escape the message", "docstring_tokens": ["Formats", "a", "message", "as", "a", "block", "of", "text", "."], "sha": "349432fe92669b5aa295fa50968e1a2b41376688", "url": "https://github.com/ostark/yii2-artisan-bridge/blob/349432fe92669b5aa295fa50968e1a2b41376688/src/base/BlockOutputTrait.php#L25-L28", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr16MemoryCache.php", "func_name": "Psr16MemoryCache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a value from the cache.\n\n@param string $key The unique key of this item in the cache.\n@param mixed $default Default value to return if the key does not exist.\n\n@return mixed The value of the item from the cache, or $default in case of cache miss.\n\n@throws \\Psr\\SimpleCache\\InvalidArgumentException\nMUST be thrown if the $key string is not a legal value.", "docstring_tokens": ["Fetches", "a", "value", "from", "the", "cache", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr16MemoryCache.php#L38-L53", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr16MemoryCache.php", "func_name": "Psr16MemoryCache.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persists data in the cache, uniquely referenced by a key with an optional expiration TTL time.\n\n@param string $key The key of the item to store.\n@param mixed $value The value of the item to store, must be serializable.\n@param null|int|\\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and\nthe driver supports TTL then the library may set a default value\nfor it or let the driver take care of that.\n\n@return bool True on success and false on failure.\n\n@throws \\Psr\\SimpleCache\\InvalidArgumentException\nMUST be thrown if the $key string is not a legal value.", "docstring_tokens": ["Persists", "data", "in", "the", "cache", "uniquely", "referenced", "by", "a", "key", "with", "an", "optional", "expiration", "TTL", "time", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr16MemoryCache.php#L69-L89", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr16MemoryCache.php", "func_name": "Psr16MemoryCache.setMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persists a set of key => value pairs in the cache, with an optional TTL.\n\n@param iterable $values A list of key => value pairs for a multiple-set operation.\n@param null|int|\\DateInterval $ttl Optional. The TTL value of this item. If no value is sent and\nthe driver supports TTL then the library may set a default value\nfor it or let the driver take care of that.\n\n@return bool True on success and false on failure.\n\n@throws \\Psr\\SimpleCache\\InvalidArgumentException\nMUST be thrown if $values is neither an array nor a Traversable,\nor if any of the $values are not a legal value.", "docstring_tokens": ["Persists", "a", "set", "of", "key", "=", ">", "value", "pairs", "in", "the", "cache", "with", "an", "optional", "TTL", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr16MemoryCache.php#L157-L172", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr16MemoryCache.php", "func_name": "Psr16MemoryCache.deleteMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes multiple cache items in a single operation.\n\n@param iterable $keys A list of string-based keys to be deleted.\n\n@return bool True if the items were successfully removed. False if there was an error.\n\n@throws \\Psr\\SimpleCache\\InvalidArgumentException\nMUST be thrown if $keys is neither an array nor a Traversable,\nor if any of the $keys are not a legal value.", "docstring_tokens": ["Deletes", "multiple", "cache", "items", "in", "a", "single", "operation", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr16MemoryCache.php#L185-L195", "partition": "test"} +{"repo": "sjinks/php-memory-cache", "path": "src/Psr16MemoryCache.php", "func_name": "Psr16MemoryCache.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether an item is present in the cache.\n\nNOTE: It is recommended that has() is only to be used for cache warming type purposes\nand not to be used within your live applications operations for get/set, as this method\nis subject to a race condition where your has() will return true and immediately after,\nanother script can remove it making the state of your app out of date.\n\n@param string $key The cache item key.\n\n@return bool\n\n@throws \\Psr\\SimpleCache\\InvalidArgumentException\nMUST be thrown if the $key string is not a legal value.", "docstring_tokens": ["Determines", "whether", "an", "item", "is", "present", "in", "the", "cache", "."], "sha": "e95b5c664b914af0f8977bcddd62c2ace27ead94", "url": "https://github.com/sjinks/php-memory-cache/blob/e95b5c664b914af0f8977bcddd62c2ace27ead94/src/Psr16MemoryCache.php#L212-L227", "partition": "test"} +{"repo": "ublaboo/controls", "path": "src/Controls/TextInputCustomLabel.php", "func_name": "TextInputCustomLabel.getLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates label's HTML element.\n@param string\n@return Html|string", "docstring_tokens": ["Generates", "label", "s", "HTML", "element", "."], "sha": "7d2816c4f733b727b6c2ec3343bba6c55c2862b1", "url": "https://github.com/ublaboo/controls/blob/7d2816c4f733b727b6c2ec3343bba6c55c2862b1/src/Controls/TextInputCustomLabel.php#L38-L48", "partition": "test"} +{"repo": "vergil-lai/node-categoires", "path": "src/NodeCategoryTrait.php", "func_name": "NodeCategoryTrait.fullPathName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all category name\n\n@param string $delimiter\n@return string", "docstring_tokens": ["Get", "all", "category", "name"], "sha": "0a1e85eaf1b62d27b1524bfd5145bdc64a03eb28", "url": "https://github.com/vergil-lai/node-categoires/blob/0a1e85eaf1b62d27b1524bfd5145bdc64a03eb28/src/NodeCategoryTrait.php#L61-L66", "partition": "test"} +{"repo": "vergil-lai/node-categoires", "path": "src/NodeCategoryTrait.php", "func_name": "NodeCategoryTrait.makeTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get tree structures\n@param \\Illuminate\\Database\\Eloquent\\Collection $collection\n@param callable $map\n@return array", "docstring_tokens": ["Get", "tree", "structures"], "sha": "0a1e85eaf1b62d27b1524bfd5145bdc64a03eb28", "url": "https://github.com/vergil-lai/node-categoires/blob/0a1e85eaf1b62d27b1524bfd5145bdc64a03eb28/src/NodeCategoryTrait.php#L84-L99", "partition": "test"} +{"repo": "ostark/yii2-artisan-bridge", "path": "src/OutputStyle.php", "func_name": "OutputStyle.type", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Emulate terminal typing\n\n@param string $command\n@param string $style\n@param int $speed\n@param string|null $prepend", "docstring_tokens": ["Emulate", "terminal", "typing"], "sha": "349432fe92669b5aa295fa50968e1a2b41376688", "url": "https://github.com/ostark/yii2-artisan-bridge/blob/349432fe92669b5aa295fa50968e1a2b41376688/src/OutputStyle.php#L18-L39", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Resources/SnsEndpoint.php", "func_name": "SnsEndpoint.setResourceMembers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply the commonly used REST path members to the class.\n\n@param string $resourcePath\n\n@return $this", "docstring_tokens": ["Apply", "the", "commonly", "used", "REST", "path", "members", "to", "the", "class", "."], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Resources/SnsEndpoint.php#L92-L111", "partition": "test"} +{"repo": "wonli/crossphp", "path": "src/Core/Loader.php", "func_name": "Loader.loadPSRClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PSR-4\n\n@param string $class\n@return bool|string\n@throws CoreException", "docstring_tokens": ["PSR", "-", "4"], "sha": "258b04ea2240351d33b49716a23391fafd2abf41", "url": "https://github.com/wonli/crossphp/blob/258b04ea2240351d33b49716a23391fafd2abf41/src/Core/Loader.php#L193-L208", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Services/Sns.php", "func_name": "Sns.setAccountId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the AWS account id.\n\n@param $config", "docstring_tokens": ["Sets", "the", "AWS", "account", "id", "."], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Services/Sns.php#L142-L149", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Services/Sns.php", "func_name": "Sns.translateException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translates AWS SNS Exceptions to DF Exceptions\nIf not an AWS SNS Exception, then null is returned.\n\n@param \\Exception $exception\n@param string|null $add_msg\n\n@return BadRequestException|InternalServerErrorException|NotFoundException|null", "docstring_tokens": ["Translates", "AWS", "SNS", "Exceptions", "to", "DF", "Exceptions", "If", "not", "an", "AWS", "SNS", "Exception", "then", "null", "is", "returned", "."], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Services/Sns.php#L545-L564", "partition": "test"} +{"repo": "kurlltd/silex-doctrine-migrations-provider", "path": "src/DoctrineMigrationsProvider.php", "func_name": "DoctrineMigrationsProvider.getConsole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the console application.\n\n@param Container $app\n@return Console|null", "docstring_tokens": ["Gets", "the", "console", "application", "."], "sha": "6b8f663a360713a4dacca8a65df650650d7bf070", "url": "https://github.com/kurlltd/silex-doctrine-migrations-provider/blob/6b8f663a360713a4dacca8a65df650650d7bf070/src/DoctrineMigrationsProvider.php#L171-L174", "partition": "test"} +{"repo": "paypronl/paypro-php-v1", "path": "lib/Client.php", "func_name": "Client.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the command. Connects with the PayPro API and returns the response.\n\nOn correct API calls it will return an array with all the fields.\n\n@throws Error\\Connection if the connection can not be established.\n@throws Error\\InvalidResponse if there is an error with the response.", "docstring_tokens": ["Executes", "the", "command", ".", "Connects", "with", "the", "PayPro", "API", "and", "returns", "the", "response", "."], "sha": "7a68e6488de6f3d406512a9972b98f9d28915b4c", "url": "https://github.com/paypronl/paypro-php-v1/blob/7a68e6488de6f3d406512a9972b98f9d28915b4c/lib/Client.php#L30-L66", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Enums/Enum.php", "func_name": "Enum.values", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the names and values of all the constants in the enum\n\n@return array", "docstring_tokens": ["Return", "the", "names", "and", "values", "of", "all", "the", "constants", "in", "the", "enum"], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Enums/Enum.php#L29-L39", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Components/S3FileSystem.php", "func_name": "S3FileSystem.listContainers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all containers, just names if noted\n\n@param bool $include_properties If true, additional properties are retrieved\n\n@throws \\Exception\n@return array", "docstring_tokens": ["List", "all", "containers", "just", "names", "if", "noted"], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Components/S3FileSystem.php#L93-L111", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Components/S3FileSystem.php", "func_name": "S3FileSystem.updateContainerProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a container with some properties\n\n@param string $container\n@param array $properties\n\n@throws DfException\n@return void", "docstring_tokens": ["Update", "a", "container", "with", "some", "properties"], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Components/S3FileSystem.php#L197-L207", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Components/S3FileSystem.php", "func_name": "S3FileSystem.blobExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a blob exists\n\n@param string $container Container name\n@param string $name Blob name\n\n@return boolean", "docstring_tokens": ["Check", "if", "a", "blob", "exists"], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Components/S3FileSystem.php#L237-L246", "partition": "test"} +{"repo": "controlabs/php-jwt-helper", "path": "src/Helper/JWT.php", "func_name": "JWT.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate JWT Token using private key\n\n@param string $iss Issuer\n@param string $aud Audition\n@param string $sub Subject\n@param string|null $expires Expiration constraint (example: + 10 days)\n@param array $claims Public claims (example: ['user_id' => 10])\n@return string Returns JWT token as string\n@throws Exception", "docstring_tokens": ["Generate", "JWT", "Token", "using", "private", "key"], "sha": "86b0773ceed64c048b968fc5bd927e61623833ff", "url": "https://github.com/controlabs/php-jwt-helper/blob/86b0773ceed64c048b968fc5bd927e61623833ff/src/Helper/JWT.php#L33-L46", "partition": "test"} +{"repo": "controlabs/php-jwt-helper", "path": "src/Helper/JWT.php", "func_name": "JWT.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode JWT Token using public key\n\n@param string $token JWT Token as string\n@param bool $ignoreExceptions If true will ignore any kind of exception and return null\n@return array|null Returns payload as array or null if exceptions are ignored\n@throws Exception", "docstring_tokens": ["Decode", "JWT", "Token", "using", "public", "key"], "sha": "86b0773ceed64c048b968fc5bd927e61623833ff", "url": "https://github.com/controlabs/php-jwt-helper/blob/86b0773ceed64c048b968fc5bd927e61623833ff/src/Helper/JWT.php#L56-L67", "partition": "test"} +{"repo": "controlabs/php-jwt-helper", "path": "src/Helper/JWT.php", "func_name": "JWT.payload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract payload of jwt token without validations\n\n@param string $token JWT Token as string\n@return array Returns payload as array\n@throws Exception", "docstring_tokens": ["Extract", "payload", "of", "jwt", "token", "without", "validations"], "sha": "86b0773ceed64c048b968fc5bd927e61623833ff", "url": "https://github.com/controlabs/php-jwt-helper/blob/86b0773ceed64c048b968fc5bd927e61623833ff/src/Helper/JWT.php#L76-L83", "partition": "test"} +{"repo": "controlabs/php-jwt-helper", "path": "src/Helper/JWT.php", "func_name": "JWT.segments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the number of segments to assert a valid token\n\n@param string $token\n@return array\n@throws Exception", "docstring_tokens": ["Verify", "the", "number", "of", "segments", "to", "assert", "a", "valid", "token"], "sha": "86b0773ceed64c048b968fc5bd927e61623833ff", "url": "https://github.com/controlabs/php-jwt-helper/blob/86b0773ceed64c048b968fc5bd927e61623833ff/src/Helper/JWT.php#L92-L101", "partition": "test"} +{"repo": "controlabs/php-jwt-helper", "path": "src/Helper/JWT.php", "func_name": "JWT.expires", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify expiration contraint and return the timestamp of expiration date.\nIf null will return null too and token will never expire\n\n@param DateTimeImmutable $now\n@param string|null $expires\n@return int|null", "docstring_tokens": ["Verify", "expiration", "contraint", "and", "return", "the", "timestamp", "of", "expiration", "date", ".", "If", "null", "will", "return", "null", "too", "and", "token", "will", "never", "expire"], "sha": "86b0773ceed64c048b968fc5bd927e61623833ff", "url": "https://github.com/controlabs/php-jwt-helper/blob/86b0773ceed64c048b968fc5bd927e61623833ff/src/Helper/JWT.php#L111-L114", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Database/Schema/RedshiftSchema.php", "func_name": "RedshiftSchema.createIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for creating a new index.\n\n@param string $name the name of the index. The name will be properly quoted by the method.\n@param string $table the table that the new index will be created for. The table name will be properly quoted\nby the method.\n@param string $columns the column(s) that should be included in the index. If there are multiple columns,\nplease separate them by commas. Each column name will be properly quoted by the method,\nunless a parenthesis is found in the name.\n@param boolean $unique whether to add UNIQUE constraint on the created index.\n@return string the SQL statement for creating a new index.\n@throws BadRequestException", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "creating", "a", "new", "index", "."], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Database/Schema/RedshiftSchema.php#L492-L517", "partition": "test"} +{"repo": "dreamfactorysoftware/df-aws", "path": "src/Database/Schema/RedshiftSchema.php", "func_name": "RedshiftSchema.extractDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the default value for the column.\nThe value is typecasted to correct PHP type.\n\n@param ColumnSchema $field\n@param mixed $defaultValue the default value obtained from metadata", "docstring_tokens": ["Extracts", "the", "default", "value", "for", "the", "column", ".", "The", "value", "is", "typecasted", "to", "correct", "PHP", "type", "."], "sha": "6f13ef0757d2228c2c5b59933b8fe520eb1d84bf", "url": "https://github.com/dreamfactorysoftware/df-aws/blob/6f13ef0757d2228c2c5b59933b8fe520eb1d84bf/src/Database/Schema/RedshiftSchema.php#L606-L622", "partition": "test"} +{"repo": "kharanenka/php-pagination", "path": "src/Kharanenka/Helper/PaginationHelper.php", "func_name": "PaginationHelper.addPrevButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add previous button\n@param string $sCode", "docstring_tokens": ["Add", "previous", "button"], "sha": "03b37e4461cf5edac10863b8dd15da82bb117b32", "url": "https://github.com/kharanenka/php-pagination/blob/03b37e4461cf5edac10863b8dd15da82bb117b32/src/Kharanenka/Helper/PaginationHelper.php#L237-L258", "partition": "test"} +{"repo": "kharanenka/php-pagination", "path": "src/Kharanenka/Helper/PaginationHelper.php", "func_name": "PaginationHelper.addNextButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add next button\n@param string $sCode", "docstring_tokens": ["Add", "next", "button"], "sha": "03b37e4461cf5edac10863b8dd15da82bb117b32", "url": "https://github.com/kharanenka/php-pagination/blob/03b37e4461cf5edac10863b8dd15da82bb117b32/src/Kharanenka/Helper/PaginationHelper.php#L264-L285", "partition": "test"} +{"repo": "kharanenka/php-pagination", "path": "src/Kharanenka/Helper/PaginationHelper.php", "func_name": "PaginationHelper.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get page button value\n@param string $sCode\n@return int|null", "docstring_tokens": ["Get", "page", "button", "value"], "sha": "03b37e4461cf5edac10863b8dd15da82bb117b32", "url": "https://github.com/kharanenka/php-pagination/blob/03b37e4461cf5edac10863b8dd15da82bb117b32/src/Kharanenka/Helper/PaginationHelper.php#L292-L324", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/GraphTraverser.php", "func_name": "GraphTraverser.reveal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method which reveals the true value of an object if it has a known\ninterface. Note this resolves also all Traversable instances to an array\n\n@param mixed $object\n@return mixed", "docstring_tokens": ["Method", "which", "reveals", "the", "true", "value", "of", "an", "object", "if", "it", "has", "a", "known", "interface", ".", "Note", "this", "resolves", "also", "all", "Traversable", "instances", "to", "an", "array"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/GraphTraverser.php#L124-L137", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/GraphTraverser.php", "func_name": "GraphTraverser.isObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a value is an object type\n\n@param mixed $value\n@return boolean", "docstring_tokens": ["Checks", "whether", "a", "value", "is", "an", "object", "type"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/GraphTraverser.php#L145-L148", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/GraphTraverser.php", "func_name": "GraphTraverser.isEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a value is empty\n\n@param mixed $value\n@return boolean", "docstring_tokens": ["Checks", "whether", "a", "value", "is", "empty"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/GraphTraverser.php#L167-L178", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Record/Transformer.php", "func_name": "Transformer.toRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms an arbitrary data structure into a record graph\n\n@param mixed $data\n@param \\PSX\\Record\\RecordInterface $root\n@return \\PSX\\Record\\RecordInterface", "docstring_tokens": ["Transforms", "an", "arbitrary", "data", "structure", "into", "a", "record", "graph"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Record/Transformer.php#L45-L52", "partition": "test"} +{"repo": "agmscode/omnipay-agms", "path": "src/Message/Response.php", "func_name": "Response.parseResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the transaction response\n\n@return array", "docstring_tokens": ["Parse", "the", "transaction", "response"], "sha": "0eb2cc41a3111b47ddae9238d069896c66ce5d50", "url": "https://github.com/agmscode/omnipay-agms/blob/0eb2cc41a3111b47ddae9238d069896c66ce5d50/src/Message/Response.php#L73-L84", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/DatagridRegistry.php", "func_name": "DatagridRegistry.getConfigurator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a DatagridConfigurator by name.\n\n@param string $name The name of the datagrid configurator\n\n@throws InvalidArgumentException if the configurator can not be retrieved\n\n@return DatagridConfiguratorInterface", "docstring_tokens": ["Returns", "a", "DatagridConfigurator", "by", "name", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/DatagridRegistry.php#L63-L85", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/DatagridRegistry.php", "func_name": "DatagridRegistry.hasConfigurator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the given DatagridConfigurator is supported.\n\n@param string $name The name of the datagrid configurator\n\n@return bool", "docstring_tokens": ["Returns", "whether", "the", "given", "DatagridConfigurator", "is", "supported", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/DatagridRegistry.php#L94-L105", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/WriterFactory.php", "func_name": "WriterFactory.getWriterClassNameByFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a writer class by the class short name\n\n@param string $format\n@return string|null", "docstring_tokens": ["Returns", "a", "writer", "class", "by", "the", "class", "short", "name"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/WriterFactory.php#L115-L128", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/WriterFactory.php", "func_name": "WriterFactory.getWriterFromContentNegotiation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the fitting writer according to the content negotiation. If no\nfitting writer could be found null gets returned\n\n@param \\PSX\\Http\\MediaType $contentType\n@param array $supportedWriter\n@return \\PSX\\Data\\WriterInterface", "docstring_tokens": ["Returns", "the", "fitting", "writer", "according", "to", "the", "content", "negotiation", ".", "If", "no", "fitting", "writer", "could", "be", "found", "null", "gets", "returned"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/WriterFactory.php#L150-L173", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php", "func_name": "DateTimeToLocalizedStringTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms a normalized date into a localized date string.\n\n@param \\DateTime $dateTime Normalized date\n\n@throws TransformationFailedException If the given value is not an instance\nof \\DateTime or if the date could not\nbe transformed\n\n@return string|array Localized date string/array", "docstring_tokens": ["Transforms", "a", "normalized", "date", "into", "a", "localized", "date", "string", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformer.php#L89-L113", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/DatagridView.php", "func_name": "DatagridView.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the datagrid view.", "docstring_tokens": ["Initialize", "the", "datagrid", "view", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/DatagridView.php#L57-L77", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Processor.php", "func_name": "Processor.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to read the provided payload with a fitting reader. The reader\ndepends on the content type of the payload or on the reader type if\nexplicit specified. Then we validate the data according to the provided\nschema\n\n@param string $schema\n@param \\PSX\\Data\\Payload $payload\n@param \\PSX\\Schema\\VisitorInterface $visitor\n@return mixed\n@throws \\PSX\\Data\\InvalidDataException\n@throws \\PSX\\Http\\Exception\\UnsupportedMediaTypeException", "docstring_tokens": ["Tries", "to", "read", "the", "provided", "payload", "with", "a", "fitting", "reader", ".", "The", "reader", "depends", "on", "the", "content", "type", "of", "the", "payload", "or", "on", "the", "reader", "type", "if", "explicit", "specified", ".", "Then", "we", "validate", "the", "data", "according", "to", "the", "provided", "schema"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Processor.php#L98-L112", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Processor.php", "func_name": "Processor.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the payload and returns the data in a normalized format\n\n@param \\PSX\\Data\\Payload $payload\n@return \\stdClass\n@throws StatusCode\\UnsupportedMediaTypeException", "docstring_tokens": ["Parses", "the", "payload", "and", "returns", "the", "data", "in", "a", "normalized", "format"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Processor.php#L121-L137", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Processor.php", "func_name": "Processor.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes the payload with a fitting writer and returns the result as\nstring. The writer depends on the content type of the payload or on the\nwriter type if explicit specified\n\n@param \\PSX\\Data\\Payload $payload\n@return string\n@throws \\PSX\\Data\\InvalidDataException\n@throws \\PSX\\Http\\Exception\\NotAcceptableException", "docstring_tokens": ["Writes", "the", "payload", "with", "a", "fitting", "writer", "and", "returns", "the", "result", "as", "string", ".", "The", "writer", "depends", "on", "the", "content", "type", "of", "the", "payload", "or", "on", "the", "writer", "type", "if", "explicit", "specified"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Processor.php#L149-L156", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Processor.php", "func_name": "Processor.getReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a fitting reader for the given content type or throws an\nunsupported media exception. It is also possible to explicit select a\nreader by providing the class name as reader type.\n\n@param string $contentType\n@param string $readerType\n@param array $supportedReader\n@return \\PSX\\Data\\ReaderInterface", "docstring_tokens": ["Returns", "a", "fitting", "reader", "for", "the", "given", "content", "type", "or", "throws", "an", "unsupported", "media", "exception", ".", "It", "is", "also", "possible", "to", "explicit", "select", "a", "reader", "by", "providing", "the", "class", "name", "as", "reader", "type", "."], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Processor.php#L179-L196", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Processor.php", "func_name": "Processor.getWriter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a fitting writer for the given content type or throws an not\nacceptable exception. It is also possible to explicit select a writer by\nproviding the class name as writer type.\n\n@param string $contentType\n@param string $writerType\n@param array $supportedWriter\n@return \\PSX\\Data\\WriterInterface", "docstring_tokens": ["Returns", "a", "fitting", "writer", "for", "the", "given", "content", "type", "or", "throws", "an", "not", "acceptable", "exception", ".", "It", "is", "also", "possible", "to", "explicit", "select", "a", "writer", "by", "providing", "the", "class", "name", "as", "writer", "type", "."], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Processor.php#L208-L225", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5._before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Before hook.\n\n@param \\Codeception\\TestCase $test\n@throws ModuleConfig", "docstring_tokens": ["Before", "hook", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L90-L97", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5._after", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After hook.\n\n@param \\Codeception\\TestCase $test", "docstring_tokens": ["After", "hook", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L104-L126", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5._afterStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "After step hook.\n\n@param \\Codeception\\Step $step", "docstring_tokens": ["After", "step", "hook", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L133-L138", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.initializeLaravel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the Laravel framework.\n\n@throws ModuleConfig", "docstring_tokens": ["Initialize", "the", "Laravel", "framework", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L155-L161", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.bootApplication", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the Laravel application object.\n\n@return \\Illuminate\\Foundation\\Application\n@throws \\Codeception\\Exception\\ModuleConfig", "docstring_tokens": ["Boot", "the", "Laravel", "application", "object", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L169-L189", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.amOnRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens web page using route name and parameters.\n\n```php\namOnRoute('posts.create');\n?>\n```\n\n@param $route\n@param array $params", "docstring_tokens": ["Opens", "web", "page", "using", "route", "name", "and", "parameters", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L213-L220", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.amOnAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens web page by action name\n\n```php\namOnAction('PostsController@index');\n?>\n```\n\n@param $action\n@param array $params", "docstring_tokens": ["Opens", "web", "page", "by", "action", "name"], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L234-L243", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.actionWithNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize an action to full namespaced action.\n\n@param string $action\n@return string", "docstring_tokens": ["Normalize", "an", "action", "to", "full", "namespaced", "action", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L251-L260", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.seeCurrentRouteIs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks that current url matches route\n\n```php\nseeCurrentRouteIs('posts.index');\n?>\n```\n@param $route\n@param array $params", "docstring_tokens": ["Checks", "that", "current", "url", "matches", "route"], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L289-L292", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.seeCurrentActionIs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks that current url matches action\n\n```php\nseeCurrentActionIs('PostsController@index');\n?>\n```\n\n@param $action\n@param array $params", "docstring_tokens": ["Checks", "that", "current", "url", "matches", "action"], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L306-L309", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.seeInSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the session has a given list of values.\n\n@param string|array $key\n@param mixed $value\n@return void", "docstring_tokens": ["Assert", "that", "the", "session", "has", "a", "given", "list", "of", "values", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L318-L330", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.seeFormHasErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that the form errors are bound to the View.\n\n@return bool", "docstring_tokens": ["Assert", "that", "the", "form", "errors", "are", "bound", "to", "the", "View", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L354-L358", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.seeFormErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert that specific form error message is set in the view.\n\nUseful for validation messages and generally messages array\ne.g.\nreturn `Redirect::to('register')->withErrors($validator);`\n\nExample of Usage\n\n``` php\nseeFormErrorMessage('username', 'Invalid Username');\n?>\n```\n@param string $key\n@param string $errorMessage", "docstring_tokens": ["Assert", "that", "specific", "form", "error", "message", "is", "set", "in", "the", "view", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L400-L405", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.amLoggedAs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the currently logged in user for the application.\nTakes either an object that implements the User interface or\nan array of credentials.\n\n@param \\Illuminate\\Contracts\\Auth\\User|array $user\n@param string $driver\n@return void", "docstring_tokens": ["Set", "the", "currently", "logged", "in", "user", "for", "the", "application", ".", "Takes", "either", "an", "object", "that", "implements", "the", "User", "interface", "or", "an", "array", "of", "credentials", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L416-L423", "partition": "test"} +{"repo": "janhenkgerritsen/codeception-laravel5", "path": "src/Codeception/Module/Laravel5.php", "func_name": "Laravel5.haveRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts record into the database.\n\n``` php\nhaveRecord('users', array('name' => 'Davert'));\n?>\n```\n\n@param $model\n@param array $attributes\n@return mixed", "docstring_tokens": ["Inserts", "record", "into", "the", "database", "."], "sha": "d8733d7e20c9ed0db3ce571e9741e6c77f61e776", "url": "https://github.com/janhenkgerritsen/codeception-laravel5/blob/d8733d7e20c9ed0db3ce571e9741e6c77f61e776/src/Codeception/Module/Laravel5.php#L490-L497", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php", "func_name": "NumberToLocalizedStringTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms a number type into localized number.\n\n@param int|float $value Number value\n\n@throws TransformationFailedException If the given value is not numeric\nor if the value can not be transformed\n\n@return string Localized value", "docstring_tokens": ["Transforms", "a", "number", "type", "into", "localized", "number", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php#L129-L150", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php", "func_name": "NumberToLocalizedStringTransformer.getNumberFormatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a preconfigured \\NumberFormatter instance.\n\n@param int $type\n\n@return \\NumberFormatter", "docstring_tokens": ["Returns", "a", "preconfigured", "\\", "NumberFormatter", "instance", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php#L159-L171", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Util/CurveArray.php", "func_name": "CurveArray.nest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a flat array into a nested object using a seperator\n\n@param array $data\n@param string $seperator\n@return \\stdClass", "docstring_tokens": ["Converts", "a", "flat", "array", "into", "a", "nested", "object", "using", "a", "seperator"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Util/CurveArray.php#L41-L69", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Util/CurveArray.php", "func_name": "CurveArray.flatten", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a nested array into a flat using a seperator. The prefix and\nresult parameter are used internally for performance reason and should\nnot be used\n\n@param array $data\n@param string $seperator\n@param string $prefix\n@param array $result\n@return array", "docstring_tokens": ["Converts", "a", "nested", "array", "into", "a", "flat", "using", "a", "seperator", ".", "The", "prefix", "and", "result", "parameter", "are", "used", "internally", "for", "performance", "reason", "and", "should", "not", "be", "used"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Util/CurveArray.php#L82-L103", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Util/CurveArray.php", "func_name": "CurveArray.objectify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces all associative arrays with stdClass in an arbitrary array\nstructure\n\n@param array $data\n@return \\stdClass|array", "docstring_tokens": ["Replaces", "all", "associative", "arrays", "with", "stdClass", "in", "an", "arbitrary", "array", "structure"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Util/CurveArray.php#L112-L129", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Column/ResolvedColumnType.php", "func_name": "ResolvedColumnType.createColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a new ColumnInterface instance.\n\n@param string $name\n@param array $options\n\n@return ColumnInterface", "docstring_tokens": ["Returns", "a", "new", "ColumnInterface", "instance", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Column/ResolvedColumnType.php#L141-L146", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Column/ResolvedColumnType.php", "func_name": "ResolvedColumnType.buildHeaderView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures a header view for the type hierarchy.\n\n@param HeaderView $view\n@param ColumnInterface $column\n@param array $options", "docstring_tokens": ["Configures", "a", "header", "view", "for", "the", "type", "hierarchy", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Column/ResolvedColumnType.php#L176-L187", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Column/ResolvedColumnType.php", "func_name": "ResolvedColumnType.buildCellView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures a cell view for the type hierarchy.\n\n@param CellView $view\n@param ColumnInterface $column\n@param array $options", "docstring_tokens": ["Configures", "a", "cell", "view", "for", "the", "type", "hierarchy", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Column/ResolvedColumnType.php#L196-L207", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Column/ResolvedColumnType.php", "func_name": "ResolvedColumnType.newColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Column instance.\n\nOverride this method if you want to customize the Column class.\n\n@param string $name The name of the column\n@param array $options The builder options\n\n@return ColumnInterface The new column instance", "docstring_tokens": ["Creates", "a", "new", "Column", "instance", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Column/ResolvedColumnType.php#L258-L272", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Column/ResolvedColumnType.php", "func_name": "ResolvedColumnType.isCompound", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether this type is a compound.\n\n@return bool", "docstring_tokens": ["Determines", "whether", "this", "type", "is", "a", "compound", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Column/ResolvedColumnType.php#L279-L292", "partition": "test"} +{"repo": "agmscode/omnipay-agms", "path": "src/Message/AbstractRequest.php", "func_name": "AbstractRequest.getBaseData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the gateway base data\n\n@return array", "docstring_tokens": ["Get", "the", "gateway", "base", "data"], "sha": "0eb2cc41a3111b47ddae9238d069896c66ce5d50", "url": "https://github.com/agmscode/omnipay-agms/blob/0eb2cc41a3111b47ddae9238d069896c66ce5d50/src/Message/AbstractRequest.php#L144-L158", "partition": "test"} +{"repo": "agmscode/omnipay-agms", "path": "src/Message/AbstractRequest.php", "func_name": "AbstractRequest.getShippingData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the shipping data\n\n@return array", "docstring_tokens": ["Get", "the", "shipping", "data"], "sha": "0eb2cc41a3111b47ddae9238d069896c66ce5d50", "url": "https://github.com/agmscode/omnipay-agms/blob/0eb2cc41a3111b47ddae9238d069896c66ce5d50/src/Message/AbstractRequest.php#L193-L228", "partition": "test"} +{"repo": "agmscode/omnipay-agms", "path": "src/Message/AbstractRequest.php", "func_name": "AbstractRequest.getInvoiceData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the invoice data\n\n@return array", "docstring_tokens": ["Get", "the", "invoice", "data"], "sha": "0eb2cc41a3111b47ddae9238d069896c66ce5d50", "url": "https://github.com/agmscode/omnipay-agms/blob/0eb2cc41a3111b47ddae9238d069896c66ce5d50/src/Message/AbstractRequest.php#L235-L243", "partition": "test"} +{"repo": "agmscode/omnipay-agms", "path": "src/Message/AbstractRequest.php", "func_name": "AbstractRequest.sendData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the request\n\n@return AbstractResponse", "docstring_tokens": ["Send", "the", "request"], "sha": "0eb2cc41a3111b47ddae9238d069896c66ce5d50", "url": "https://github.com/agmscode/omnipay-agms/blob/0eb2cc41a3111b47ddae9238d069896c66ce5d50/src/Message/AbstractRequest.php#L264-L275", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Util/StringUtil.php", "func_name": "StringUtil.trim", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the trimmed data.\n\n@param string $string\n\n@return string", "docstring_tokens": ["Returns", "the", "trimmed", "data", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Util/StringUtil.php#L36-L43", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Util/StringUtil.php", "func_name": "StringUtil.fqcnToBlockPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a fully-qualified class name to a block prefix.\n\n@param string $fqcn The fully-qualified class name\n\n@return string|null The block prefix or null if not a valid FQCN", "docstring_tokens": ["Converts", "a", "fully", "-", "qualified", "class", "name", "to", "a", "block", "prefix", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Util/StringUtil.php#L52-L60", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php", "func_name": "MoneyToLocalizedStringTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms a normalized format into a localized money string.\n\n@param string|int|float|array $value\n\n@throws TransformationFailedException If the given value is not numeric or\nif the value can not be transformed\n\n@return string Localized money string", "docstring_tokens": ["Transforms", "a", "normalized", "format", "into", "a", "localized", "money", "string", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Extension/Core/DataTransformer/MoneyToLocalizedStringTransformer.php#L69-L87", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Transformer/XmlArray.php", "func_name": "XmlArray.parseValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "In XML we have now information about the data type but in the jsonschema\nwe require a specific type. This method tries to guess the correct type\n\n@param string $value\n@return mixed", "docstring_tokens": ["In", "XML", "we", "have", "now", "information", "about", "the", "data", "type", "but", "in", "the", "jsonschema", "we", "require", "a", "specific", "type", ".", "This", "method", "tries", "to", "guess", "the", "correct", "type"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Transformer/XmlArray.php#L113-L124", "partition": "test"} +{"repo": "rollerworks-graveyard/datagrid", "path": "src/Util/CompoundColumnBuilder.php", "func_name": "CompoundColumnBuilder.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a column to the builder.\n\n@param string $name\n@param string $type\n@param array $options\n\n@return self", "docstring_tokens": ["Add", "a", "column", "to", "the", "builder", "."], "sha": "1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831", "url": "https://github.com/rollerworks-graveyard/datagrid/blob/1b65cf2cf1bb5d3f75c99a309b6cec79d12a9831/src/Util/CompoundColumnBuilder.php#L73-L81", "partition": "test"} +{"repo": "apioo/psx-data", "path": "src/Multipart/File.php", "func_name": "File.isValidUpload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the file upload is valid\n\n@return boolean", "docstring_tokens": ["Checks", "whether", "the", "file", "upload", "is", "valid"], "sha": "e9a5a345b99d766042ed81efd5a6bb9eb547f3ff", "url": "https://github.com/apioo/psx-data/blob/e9a5a345b99d766042ed81efd5a6bb9eb547f3ff/src/Multipart/File.php#L165-L206", "partition": "test"} +{"repo": "spiral/toolkit", "path": "source/Toolkit/AssetHelper.php", "func_name": "AssetHelper.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create filename query signature. Attention, this method work only for resources located in\npublic directory.\n\n@param string $filename\n@param string $basePath Application base path prefix.\n\n@return string", "docstring_tokens": ["Create", "filename", "query", "signature", ".", "Attention", "this", "method", "work", "only", "for", "resources", "located", "in", "public", "directory", "."], "sha": "0595c6f42a6c5bf43a5f010c5fdd71541a1f472b", "url": "https://github.com/spiral/toolkit/blob/0595c6f42a6c5bf43a5f010c5fdd71541a1f472b/source/Toolkit/AssetHelper.php#L22-L37", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/extensions/EditLockControllerExtension.php", "func_name": "EditLockControllerExtension.updateForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updtes the edit form based on whether it is being edited or not", "docstring_tokens": ["Updtes", "the", "edit", "form", "based", "on", "whether", "it", "is", "being", "edited", "or", "not"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/extensions/EditLockControllerExtension.php#L22-L73", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/extensions/EditLockControllerExtension.php", "func_name": "EditLockControllerExtension.updateEditForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extension hook for LeftAndMain subclasses", "docstring_tokens": ["Extension", "hook", "for", "LeftAndMain", "subclasses"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/extensions/EditLockControllerExtension.php#L79-L84", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/extensions/EditLockControllerExtension.php", "func_name": "EditLockControllerExtension.updateItemEditForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extension hook for GridFieldDetailForm_ItemRequest", "docstring_tokens": ["Extension", "hook", "for", "GridFieldDetailForm_ItemRequest"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/extensions/EditLockControllerExtension.php#L90-L95", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/extensions/EditLockControllerExtension.php", "func_name": "EditLockControllerExtension.lock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles ajax pings to create a RecordBeingEdited lock or update an existing one", "docstring_tokens": ["Handles", "ajax", "pings", "to", "create", "a", "RecordBeingEdited", "lock", "or", "update", "an", "existing", "one"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/extensions/EditLockControllerExtension.php#L101-L122", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pubcontrol.php", "func_name": "PubControl.apply_config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "a URI or a URI and JWT authentication information.", "docstring_tokens": ["a", "URI", "or", "a", "URI", "and", "JWT", "authentication", "information", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pubcontrol.php#L52-L64", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pubcontrol.php", "func_name": "PubControl.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "specified channel for all of the configured PubControlClient instances.", "docstring_tokens": ["specified", "channel", "for", "all", "of", "the", "configured", "PubControlClient", "instances", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pubcontrol.php#L89-L93", "partition": "test"} +{"repo": "yemenifree/laravel-validation", "path": "src/TranslateLoader.php", "func_name": "TranslateLoader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "load lang.\n\n@param $locale\n\n@return array", "docstring_tokens": ["load", "lang", "."], "sha": "a2b577c92047184987ead333523dd159bad9c3f7", "url": "https://github.com/yemenifree/laravel-validation/blob/a2b577c92047184987ead333523dd159bad9c3f7/src/TranslateLoader.php#L34-L47", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Client.php", "func_name": "Client.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send verification request\n\n@param RequestInterface $request\n@return ResponseInterface", "docstring_tokens": ["Send", "verification", "request"], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Client.php#L154-L165", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Http/Uri.php", "func_name": "Uri.buildFromParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply parse_url parts to a URI.\n\n@param $parts array of parse_url parts.", "docstring_tokens": ["Apply", "parse_url", "parts", "to", "a", "URI", "."], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Http/Uri.php#L223-L235", "partition": "test"} +{"repo": "l5starter/user-management", "path": "src/Http/Controllers/Admin/UserController.php", "func_name": "UserController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a newly created User in storage.\n\n@param CreateUserRequest $request\n\n@return Response", "docstring_tokens": ["Store", "a", "newly", "created", "User", "in", "storage", "."], "sha": "8dc5f60c76669bc7ae71d027785bbc880dc2effd", "url": "https://github.com/l5starter/user-management/blob/8dc5f60c76669bc7ae71d027785bbc880dc2effd/src/Http/Controllers/Admin/UserController.php#L52-L61", "partition": "test"} +{"repo": "l5starter/user-management", "path": "src/Http/Controllers/Admin/UserController.php", "func_name": "UserController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for editing the specified User.\n\n@param int $id\n\n@return Response", "docstring_tokens": ["Show", "the", "form", "for", "editing", "the", "specified", "User", "."], "sha": "8dc5f60c76669bc7ae71d027785bbc880dc2effd", "url": "https://github.com/l5starter/user-management/blob/8dc5f60c76669bc7ae71d027785bbc880dc2effd/src/Http/Controllers/Admin/UserController.php#L70-L81", "partition": "test"} +{"repo": "l5starter/user-management", "path": "src/Http/Controllers/Admin/UserController.php", "func_name": "UserController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the specified User in storage.\n\n@param int $id\n@param UpdateUserRequest $request\n\n@return Response", "docstring_tokens": ["Update", "the", "specified", "User", "in", "storage", "."], "sha": "8dc5f60c76669bc7ae71d027785bbc880dc2effd", "url": "https://github.com/l5starter/user-management/blob/8dc5f60c76669bc7ae71d027785bbc880dc2effd/src/Http/Controllers/Admin/UserController.php#L91-L106", "partition": "test"} +{"repo": "l5starter/user-management", "path": "src/Http/Controllers/Admin/UserController.php", "func_name": "UserController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the specified User from storage.\n\n@param int $id\n\n@return Response", "docstring_tokens": ["Remove", "the", "specified", "User", "from", "storage", "."], "sha": "8dc5f60c76669bc7ae71d027785bbc880dc2effd", "url": "https://github.com/l5starter/user-management/blob/8dc5f60c76669bc7ae71d027785bbc880dc2effd/src/Http/Controllers/Admin/UserController.php#L115-L130", "partition": "test"} +{"repo": "astterx/MpdfBundle", "path": "Service/MpdfService.php", "func_name": "MpdfService.createMpdfInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new mPDF instance.\n\n$mpdf = new mPDF(\n'', mode - default ''\n'', format - A4, for example, default ''\n0, font size - default 0\n'', default font family\n15, margin_left\n15, margin right\n16, margin top\n16, margin bottom\n9, margin header\n9, margin footer\n'L' L - landscape, P - portrait\n);\n\n\n@param string $format\n@param int $fontSize\n@param string $fontFamily\n@param int $marginLeft\n@param int $marginRight\n@param int $marginTop\n@param int $marginBottom\n@param int $marginHeader\n@param int $marginFooter\n@param string $orientation", "docstring_tokens": ["Create", "new", "mPDF", "instance", "."], "sha": "07ff15b5943536ce87179f347a2096c7da42d2d2", "url": "https://github.com/astterx/MpdfBundle/blob/07ff15b5943536ce87179f347a2096c7da42d2d2/Service/MpdfService.php#L41-L73", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Http/Request.php", "func_name": "Request.addHostHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build host.\n\n@param UriInterface $uri", "docstring_tokens": ["Build", "host", "."], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Http/Request.php#L60-L68", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Http/Client/Guzzle/RequestBuilder.php", "func_name": "RequestBuilder.buildGuzzleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build guzzle request based on Guzzle client version.\n\n@param RequestInterface $request\n@return mixed\n@throws RequestException", "docstring_tokens": ["Build", "guzzle", "request", "based", "on", "Guzzle", "client", "version", "."], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Http/Client/Guzzle/RequestBuilder.php#L50-L71", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Http/Client/Guzzle/RequestBuilder.php", "func_name": "RequestBuilder.executeCallableChain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute callable chain and return callable result.\n\n@return mixed", "docstring_tokens": ["Execute", "callable", "chain", "and", "return", "callable", "result", "."], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Http/Client/Guzzle/RequestBuilder.php#L92-L104", "partition": "test"} +{"repo": "DarioSwain/ReCaptchaLibrary", "path": "src/Http/Client/Guzzle/GuzzleClient.php", "func_name": "GuzzleClient.checkClassExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if class available\n\n@param string $className\n@param bool $throwException\n@throw BadMethodCallException\n@return bool", "docstring_tokens": ["Check", "if", "class", "available"], "sha": "269740064f65fb6a199ca96689d55626aa4d3df5", "url": "https://github.com/DarioSwain/ReCaptchaLibrary/blob/269740064f65fb6a199ca96689d55626aa4d3df5/src/Http/Client/Guzzle/GuzzleClient.php#L75-L88", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/threadsafeclient.php", "func_name": "ThreadSafeClient.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "is provided in the request queue.", "docstring_tokens": ["is", "provided", "in", "the", "request", "queue", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/threadsafeclient.php#L102-L132", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/threadsafeclient.php", "func_name": "ThreadSafeClient.ensure_thread", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "the consumer makes an asynchronous publish call.", "docstring_tokens": ["the", "consumer", "makes", "an", "asynchronous", "publish", "call", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/threadsafeclient.php#L138-L147", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/threadsafeclient.php", "func_name": "ThreadSafeClient.queue_req", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "the queue.", "docstring_tokens": ["the", "queue", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/threadsafeclient.php#L153-L159", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/threadsafeclient.php", "func_name": "ThreadSafeClient.pubbatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "request was successfully published.", "docstring_tokens": ["request", "was", "successfully", "published", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/threadsafeclient.php#L167-L195", "partition": "test"} +{"repo": "halfpastfouram/collection", "path": "src/Iterator/ArrayAccessIterator.php", "func_name": "ArrayAccessIterator.getKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns key by given cursor position.\n\n@param int $cursor The cursor position to check.\n\n@return mixed", "docstring_tokens": ["Returns", "key", "by", "given", "cursor", "position", "."], "sha": "83d373c049940bd00a9e30ecc3a3ba1f23c626aa", "url": "https://github.com/halfpastfouram/collection/blob/83d373c049940bd00a9e30ecc3a3ba1f23c626aa/src/Iterator/ArrayAccessIterator.php#L85-L93", "partition": "test"} +{"repo": "halfpastfouram/collection", "path": "src/Iterator/ArrayAccessIterator.php", "func_name": "ArrayAccessIterator.rewind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the internal cursor to the first value in the array of data.\n\n@return mixed", "docstring_tokens": ["Set", "the", "internal", "cursor", "to", "the", "first", "value", "in", "the", "array", "of", "data", "."], "sha": "83d373c049940bd00a9e30ecc3a3ba1f23c626aa", "url": "https://github.com/halfpastfouram/collection/blob/83d373c049940bd00a9e30ecc3a3ba1f23c626aa/src/Iterator/ArrayAccessIterator.php#L146-L154", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/item.php", "func_name": "Item.export", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "an error will be raised.", "docstring_tokens": ["an", "error", "will", "be", "raised", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/item.php#L40-L59", "partition": "test"} +{"repo": "ripaclub/imgman", "path": "library/Operation/Helper/Options/AbstractOptionTrait.php", "func_name": "AbstractOptionTrait.setFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set one or more configuration properties\n\n@param array|Traversable|AbstractOptions $options\n@throws InvalidArgumentException\n@return AbstractOptions Provides fluent interface", "docstring_tokens": ["Set", "one", "or", "more", "configuration", "properties"], "sha": "fee9d53d656e33b69df4b1a9f1c23f0b0844fd0f", "url": "https://github.com/ripaclub/imgman/blob/fee9d53d656e33b69df4b1a9f1c23f0b0844fd0f/library/Operation/Helper/Options/AbstractOptionTrait.php#L48-L70", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pccutilities.php", "func_name": "PccUtilities.pubcall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "header, and a list of items to publish.", "docstring_tokens": ["header", "and", "a", "list", "of", "items", "to", "publish", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pccutilities.php#L19-L29", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pccutilities.php", "func_name": "PccUtilities.make_http_request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "message with the specified URI, headers, and content.", "docstring_tokens": ["message", "with", "the", "specified", "URI", "headers", "and", "content", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pccutilities.php#L33-L48", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pubcontrolclient.php", "func_name": "PubControlClient.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "specified channel on the configured endpoint.", "docstring_tokens": ["specified", "channel", "on", "the", "configured", "endpoint", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pubcontrolclient.php#L84-L95", "partition": "test"} +{"repo": "robbieaverill/psr7-adapters", "path": "src/AbstractHttpAdapter.php", "func_name": "AbstractHttpAdapter.importHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PSR-7 interfaces support multiple headers per type, whereas SilverStripe classes do not.\n\nThis method will assign headers as a comma delimited string from the PSR-7 interface to the SilverStripe class\n\n@param MessageInterface $from\n@param HTTPRequest|HTTPResponse $to", "docstring_tokens": ["PSR", "-", "7", "interfaces", "support", "multiple", "headers", "per", "type", "whereas", "SilverStripe", "classes", "do", "not", "."], "sha": "52852e8732accfea1d77c83715139e59ec93827a", "url": "https://github.com/robbieaverill/psr7-adapters/blob/52852e8732accfea1d77c83715139e59ec93827a/src/AbstractHttpAdapter.php#L45-L52", "partition": "test"} +{"repo": "robbieaverill/psr7-adapters", "path": "src/AbstractHttpAdapter.php", "func_name": "AbstractHttpAdapter.getProtocolVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the protocol version - either from a previously set value, or from the server\n\n@return string E.g. \"1.1\"", "docstring_tokens": ["Get", "the", "protocol", "version", "-", "either", "from", "a", "previously", "set", "value", "or", "from", "the", "server"], "sha": "52852e8732accfea1d77c83715139e59ec93827a", "url": "https://github.com/robbieaverill/psr7-adapters/blob/52852e8732accfea1d77c83715139e59ec93827a/src/AbstractHttpAdapter.php#L59-L68", "partition": "test"} +{"repo": "yemenifree/laravel-validation", "path": "src/Traits/HasValidator.php", "func_name": "HasValidator.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "valid data.\n\n@param array $data\n@param array $rules\n@param array $messages\n@param array $aliases\n\n@return mixed|\\Rakit\\Validation\\Validation", "docstring_tokens": ["valid", "data", "."], "sha": "a2b577c92047184987ead333523dd159bad9c3f7", "url": "https://github.com/yemenifree/laravel-validation/blob/a2b577c92047184987ead333523dd159bad9c3f7/src/Traits/HasValidator.php#L41-L59", "partition": "test"} +{"repo": "yemenifree/laravel-validation", "path": "src/Traits/HasValidator.php", "func_name": "HasValidator.loadTranslate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "load translate.", "docstring_tokens": ["load", "translate", "."], "sha": "a2b577c92047184987ead333523dd159bad9c3f7", "url": "https://github.com/yemenifree/laravel-validation/blob/a2b577c92047184987ead333523dd159bad9c3f7/src/Traits/HasValidator.php#L64-L69", "partition": "test"} +{"repo": "yemenifree/laravel-validation", "path": "src/Traits/HasValidator.php", "func_name": "HasValidator.setValidatorLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set local of validation errors message.\n\n@param string $local\n@param null|string $path\n\n@return HasValidator", "docstring_tokens": ["set", "local", "of", "validation", "errors", "message", "."], "sha": "a2b577c92047184987ead333523dd159bad9c3f7", "url": "https://github.com/yemenifree/laravel-validation/blob/a2b577c92047184987ead333523dd159bad9c3f7/src/Traits/HasValidator.php#L103-L112", "partition": "test"} +{"repo": "yemenifree/laravel-validation", "path": "src/Traits/HasValidator.php", "func_name": "HasValidator.getValidErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get validation errors.\n\n@param bool $firstOfAll\n\n@return array|\\Rakit\\Validation\\ErrorBag", "docstring_tokens": ["Get", "validation", "errors", "."], "sha": "a2b577c92047184987ead333523dd159bad9c3f7", "url": "https://github.com/yemenifree/laravel-validation/blob/a2b577c92047184987ead333523dd159bad9c3f7/src/Traits/HasValidator.php#L149-L152", "partition": "test"} +{"repo": "fanout/php-pubcontrol", "path": "src/pcccbhandler.php", "func_name": "PubControlClientCallbackHandler.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "it with the specified num_calls and callback values.", "docstring_tokens": ["it", "with", "the", "specified", "num_calls", "and", "callback", "values", "."], "sha": "c5704cbab06bfaaf7395ce856d34d6af1ef54bb7", "url": "https://github.com/fanout/php-pubcontrol/blob/c5704cbab06bfaaf7395ce856d34d6af1ef54bb7/src/pcccbhandler.php#L43-L49", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/dataobjects/RecordBeingEdited.php", "func_name": "RecordBeingEdited.getLockedMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the edit lock warning message displayed to the user\n@return String", "docstring_tokens": ["Generates", "the", "edit", "lock", "warning", "message", "displayed", "to", "the", "user"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/dataobjects/RecordBeingEdited.php#L28-L49", "partition": "test"} +{"repo": "sheadawson/silverstripe-editlock", "path": "code/dataobjects/RecordBeingEdited.php", "func_name": "RecordBeingEdited.isEditingAnyway", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the current user can and has elected to edit the record anyway\n@return Boolaen", "docstring_tokens": ["Checks", "to", "see", "if", "the", "current", "user", "can", "and", "has", "elected", "to", "edit", "the", "record", "anyway"], "sha": "d9223fd5999b9ebc5582d7ee22f1674308358629", "url": "https://github.com/sheadawson/silverstripe-editlock/blob/d9223fd5999b9ebc5582d7ee22f1674308358629/code/dataobjects/RecordBeingEdited.php#L66-L78", "partition": "test"} +{"repo": "halfpastfouram/collection", "path": "src/Collection/ArrayAccess.php", "func_name": "ArrayAccess.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the given offset exists in the set of data.\n\n@param mixed $offset The offset to check.\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "given", "offset", "exists", "in", "the", "set", "of", "data", "."], "sha": "83d373c049940bd00a9e30ecc3a3ba1f23c626aa", "url": "https://github.com/halfpastfouram/collection/blob/83d373c049940bd00a9e30ecc3a3ba1f23c626aa/src/Collection/ArrayAccess.php#L21-L29", "partition": "test"} +{"repo": "halfpastfouram/collection", "path": "src/Collection/ArrayAccess.php", "func_name": "ArrayAccess.usort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provide a callback to use for sorting the data.\n\n@param \\Closure $callback The callback to be used.\n\n@return $this", "docstring_tokens": ["Provide", "a", "callback", "to", "use", "for", "sorting", "the", "data", "."], "sha": "83d373c049940bd00a9e30ecc3a3ba1f23c626aa", "url": "https://github.com/halfpastfouram/collection/blob/83d373c049940bd00a9e30ecc3a3ba1f23c626aa/src/Collection/ArrayAccess.php#L85-L91", "partition": "test"} +{"repo": "dakalab/birthday", "path": "src/Birthday/Birthday.php", "func_name": "Birthday.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the birthday\n\n@throws \\InvalidArgumentException\n@throws \\OutOfRangeException", "docstring_tokens": ["Parse", "the", "birthday"], "sha": "c2741c1761ef1d3c63b43e5e0814596a171903a9", "url": "https://github.com/dakalab/birthday/blob/c2741c1761ef1d3c63b43e5e0814596a171903a9/src/Birthday/Birthday.php#L40-L46", "partition": "test"} +{"repo": "dakalab/birthday", "path": "src/Birthday/Birthday.php", "func_name": "Birthday.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the birthday in given format\n\n@param string $format\n@return string", "docstring_tokens": ["Return", "the", "birthday", "in", "given", "format"], "sha": "c2741c1761ef1d3c63b43e5e0814596a171903a9", "url": "https://github.com/dakalab/birthday/blob/c2741c1761ef1d3c63b43e5e0814596a171903a9/src/Birthday/Birthday.php#L85-L92", "partition": "test"} +{"repo": "dakalab/birthday", "path": "src/Birthday/Birthday.php", "func_name": "Birthday.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate birthday, if it is valid then return the birth year, month and day\n\n@param string $birthday\n@throws \\InvalidArgumentException\n@throws \\OutOfRangeException\n@return array", "docstring_tokens": ["Validate", "birthday", "if", "it", "is", "valid", "then", "return", "the", "birth", "year", "month", "and", "day"], "sha": "c2741c1761ef1d3c63b43e5e0814596a171903a9", "url": "https://github.com/dakalab/birthday/blob/c2741c1761ef1d3c63b43e5e0814596a171903a9/src/Birthday/Birthday.php#L102-L120", "partition": "test"} +{"repo": "dakalab/birthday", "path": "src/Birthday/Birthday.php", "func_name": "Birthday.parseConstellation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse constellation by the given month and day\n\n@param int $month\n@param int $day\n@throws \\InvalidArgumentException\n@return string", "docstring_tokens": ["Parse", "constellation", "by", "the", "given", "month", "and", "day"], "sha": "c2741c1761ef1d3c63b43e5e0814596a171903a9", "url": "https://github.com/dakalab/birthday/blob/c2741c1761ef1d3c63b43e5e0814596a171903a9/src/Birthday/Birthday.php#L154-L183", "partition": "test"} +{"repo": "dakalab/birthday", "path": "src/Birthday/Birthday.php", "func_name": "Birthday.translate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate the constellation\n\n@param string $constellation\n@param string $lang\n@return string", "docstring_tokens": ["Translate", "the", "constellation"], "sha": "c2741c1761ef1d3c63b43e5e0814596a171903a9", "url": "https://github.com/dakalab/birthday/blob/c2741c1761ef1d3c63b43e5e0814596a171903a9/src/Birthday/Birthday.php#L208-L213", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Controllers/AuthorizationController.php", "func_name": "AuthorizationController.updateSucceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Response when ACL is updated.\n\n@return mixed", "docstring_tokens": ["Response", "when", "ACL", "is", "updated", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Controllers/AuthorizationController.php#L115-L121", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Controllers/AuthorizationController.php", "func_name": "AuthorizationController.syncSucceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Response when sync roles succeed.\n\n@param \\Illuminate\\Support\\Fluent $acl\n\n@return mixed", "docstring_tokens": ["Response", "when", "sync", "roles", "succeed", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Controllers/AuthorizationController.php#L130-L137", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Breadcrumb/Breadcrumb.php", "func_name": "Breadcrumb.onList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "on roles list", "docstring_tokens": ["on", "roles", "list"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Breadcrumb/Breadcrumb.php#L43-L51", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Breadcrumb/Breadcrumb.php", "func_name": "Breadcrumb.onRoleCreateOrEdit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "on create or edit role\n\n@param Model $model", "docstring_tokens": ["on", "create", "or", "edit", "role"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Breadcrumb/Breadcrumb.php#L58-L68", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Breadcrumb/Breadcrumb.php", "func_name": "Breadcrumb.onUserCreateOrEdit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "on user create or edit\n\n@param Model $model", "docstring_tokens": ["on", "user", "create", "or", "edit"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Breadcrumb/Breadcrumb.php#L102-L111", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Breadcrumb/Breadcrumb.php", "func_name": "Breadcrumb.onAreaCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "On area create", "docstring_tokens": ["On", "area", "create"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Breadcrumb/Breadcrumb.php#L130-L138", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Presenters/User.php", "func_name": "User.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Form View Generator for Antares\\Model\\User.\n\n@param User $model\n\n@return Builder", "docstring_tokens": ["Form", "View", "Generator", "for", "Antares", "\\", "Model", "\\", "User", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Presenters/User.php#L89-L151", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Handlers/GroupsBreadcrumbMenu.php", "func_name": "GroupsBreadcrumbMenu.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a handler.\n@return void", "docstring_tokens": ["Create", "a", "handler", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Handlers/GroupsBreadcrumbMenu.php#L58-L74", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.findOneByOrGetNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find one object by a set of criteria or create a new one.\n\n@param array $criteria\n\n@throws \\RuntimeException\n\n@return object", "docstring_tokens": ["Find", "one", "object", "by", "a", "set", "of", "criteria", "or", "create", "a", "new", "one", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L147-L156", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.getNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new managed object instance.\n\n@throws \\RuntimeException\n\n@return object", "docstring_tokens": ["Get", "a", "new", "managed", "object", "instance", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L165-L180", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.getObjectFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get object factory.\n\n@return callable", "docstring_tokens": ["Get", "object", "factory", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L187-L198", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.removeBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove object filtered by a set of criteria.\n\n@param array $criteria\n@param bool $flush", "docstring_tokens": ["Remove", "object", "filtered", "by", "a", "set", "of", "criteria", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L239-L242", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.removeOneBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove first object filtered by a set of criteria.\n\n@param array $criteria\n@param bool $flush", "docstring_tokens": ["Remove", "first", "object", "filtered", "by", "a", "set", "of", "criteria", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L250-L253", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove objects.\n\n@param object|iterable|string|int $objects\n@param bool $flush\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Remove", "objects", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L263-L270", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.refresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refresh objects.\n\n@param object|iterable $objects\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Refresh", "objects", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L279-L287", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.detach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detach objects.\n\n@param object|iterable $objects\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Detach", "objects", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L296-L304", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.getSupportedMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get supported magic method.\n\n@param string $method\n\n@throws \\BadMethodCallException\n\n@return string", "docstring_tokens": ["Get", "supported", "magic", "method", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L370-L383", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.callSupportedMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal method call.\n\n@param string $method\n@param string $fieldName\n@param array $arguments\n\n@throws \\BadMethodCallException\n\n@return mixed", "docstring_tokens": ["Internal", "method", "call", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L396-L417", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.runManagerAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run manager action.\n\n@param string $action\n@param object|iterable $objects\n@param bool $flush\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Run", "manager", "action", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L428-L457", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/RepositoryTrait.php", "func_name": "RepositoryTrait.flushObjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush managed objects.\n\n@param array $objects\n@param bool $flush", "docstring_tokens": ["Flush", "managed", "objects", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/RepositoryTrait.php#L465-L470", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection.php", "func_name": "Collection.prepareTagFromBits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare collection tag from bits of information.\n\n@param string $additional_identifier\n@param string $visitor_identifier\n@param string $hash\n@return string", "docstring_tokens": ["Prepare", "collection", "tag", "from", "bits", "of", "information", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection.php#L108-L111", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection.php", "func_name": "Collection.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set pagination configuration.\n\n@param int $current_page\n@param int $items_per_page\n@return $this", "docstring_tokens": ["Set", "pagination", "configuration", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection.php#L134-L147", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection.php", "func_name": "Collection.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set current page.\n\n@param int $value\n@return $this", "docstring_tokens": ["Set", "current", "page", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection.php#L180-L193", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/Controllers/PermissionController.php", "func_name": "PermissionController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the permission in storage.\n\n@param Request|PermissionRequest $request\n@param int $id\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Update", "the", "permission", "in", "storage", "."], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/Controllers/PermissionController.php#L100-L107", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/PaginatorTrait.php", "func_name": "PaginatorTrait.getPaginator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get configured paginator.\n\n@param AdapterInterface $adapter\n@param int $itemsPerPage\n\n@return Paginator", "docstring_tokens": ["Get", "configured", "paginator", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/PaginatorTrait.php#L32-L38", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/PaginatorTrait.php", "func_name": "PaginatorTrait.findPaginatedByOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return paginated elements filtered by criteria or throw an exception if none found.\n\n@param array $criteria\n@param array|null $orderBy\n@param int $itemsPerPage\n\n@throws FindException\n\n@return Paginator", "docstring_tokens": ["Return", "paginated", "elements", "filtered", "by", "criteria", "or", "throw", "an", "exception", "if", "none", "found", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/PaginatorTrait.php#L51-L60", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/AclServiceProvider.php", "func_name": "AclServiceProvider.bootExtensionComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot extension components.\n\n@return void", "docstring_tokens": ["Boot", "extension", "components", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/AclServiceProvider.php#L69-L77", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/AclServiceProvider.php", "func_name": "AclServiceProvider.bootMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "booting acl memory", "docstring_tokens": ["booting", "acl", "memory"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/AclServiceProvider.php#L108-L113", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/RoleManagerProvider.php", "func_name": "RoleManagerProvider._loadParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load Package Components\n\n@return void", "docstring_tokens": ["Load", "Package", "Components"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/RoleManagerProvider.php#L80-L86", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/RoleManagerProvider.php", "func_name": "RoleManagerProvider._extendedValidation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add new Validation Types\n\n@return void", "docstring_tokens": ["Add", "new", "Validation", "Types"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/RoleManagerProvider.php#L93-L127", "partition": "test"} +{"repo": "philipbrown/magniloquent", "path": "src/Magniloquent/Magniloquent/Magniloquent.php", "func_name": "Magniloquent.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare before the Model is actually saved\n\n@param array $new_attributes New attributes to fill onto the model before saving\n@param bool $forceSave Whether to validate or not. Defaults to validating before saving\n\n@return bool", "docstring_tokens": ["Prepare", "before", "the", "Model", "is", "actually", "saved"], "sha": "5900c271972b2886385b0d29eaacc2137a46659a", "url": "https://github.com/philipbrown/magniloquent/blob/5900c271972b2886385b0d29eaacc2137a46659a/src/Magniloquent/Magniloquent/Magniloquent.php#L130-L160", "partition": "test"} +{"repo": "philipbrown/magniloquent", "path": "src/Magniloquent/Magniloquent/Magniloquent.php", "func_name": "Magniloquent.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs validation on the model and return whether it\npassed or failed\n\n@return bool", "docstring_tokens": ["Performs", "validation", "on", "the", "model", "and", "return", "whether", "it", "passed", "or", "failed"], "sha": "5900c271972b2886385b0d29eaacc2137a46659a", "url": "https://github.com/philipbrown/magniloquent/blob/5900c271972b2886385b0d29eaacc2137a46659a/src/Magniloquent/Magniloquent/Magniloquent.php#L284-L313", "partition": "test"} +{"repo": "philipbrown/magniloquent", "path": "src/Magniloquent/Magniloquent/Magniloquent.php", "func_name": "Magniloquent.mergeRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merges saving validation rules in with create and update rules\nto allow rules to differ on create and update.\n\n@return array", "docstring_tokens": ["Merges", "saving", "validation", "rules", "in", "with", "create", "and", "update", "rules", "to", "allow", "rules", "to", "differ", "on", "create", "and", "update", "."], "sha": "5900c271972b2886385b0d29eaacc2137a46659a", "url": "https://github.com/philipbrown/magniloquent/blob/5900c271972b2886385b0d29eaacc2137a46659a/src/Magniloquent/Magniloquent/Magniloquent.php#L374-L393", "partition": "test"} +{"repo": "philipbrown/magniloquent", "path": "src/Magniloquent/Magniloquent/Magniloquent.php", "func_name": "Magniloquent.purgeUnneeded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Purges unneeded fields by getting rid of all attributes\nending in '_confirmation' or starting with '_'\n\n@return array", "docstring_tokens": ["Purges", "unneeded", "fields", "by", "getting", "rid", "of", "all", "attributes", "ending", "in", "_confirmation", "or", "starting", "with", "_"], "sha": "5900c271972b2886385b0d29eaacc2137a46659a", "url": "https://github.com/philipbrown/magniloquent/blob/5900c271972b2886385b0d29eaacc2137a46659a/src/Magniloquent/Magniloquent/Magniloquent.php#L401-L410", "partition": "test"} +{"repo": "philipbrown/magniloquent", "path": "src/Magniloquent/Magniloquent/Magniloquent.php", "func_name": "Magniloquent.autoHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto-hashes the password parameter if it exists\n\n@return array", "docstring_tokens": ["Auto", "-", "hashes", "the", "password", "parameter", "if", "it", "exists"], "sha": "5900c271972b2886385b0d29eaacc2137a46659a", "url": "https://github.com/philipbrown/magniloquent/blob/5900c271972b2886385b0d29eaacc2137a46659a/src/Magniloquent/Magniloquent/Magniloquent.php#L417-L431", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/FiltersTrait.php", "func_name": "FiltersTrait.disableFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable all filters.", "docstring_tokens": ["Disable", "all", "filters", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/FiltersTrait.php#L31-L36", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/FiltersTrait.php", "func_name": "FiltersTrait.disableFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable filter.\n\n@param string $filter", "docstring_tokens": ["Disable", "filter", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/FiltersTrait.php#L43-L52", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/FiltersTrait.php", "func_name": "FiltersTrait.restoreFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore all disabled filters.", "docstring_tokens": ["Restore", "all", "disabled", "filters", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/FiltersTrait.php#L57-L66", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/FiltersTrait.php", "func_name": "FiltersTrait.restoreFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore disabled filter.\n\n@param string $filter", "docstring_tokens": ["Restore", "disabled", "filter", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/FiltersTrait.php#L73-L83", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Datatables/Roles.php", "func_name": "Roles.getActionsColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "prepare datatable row actions\n\n@param mixed $roleId\n@param boolean $canEditRole\n@param boolean $canDeleteRole\n@return callable", "docstring_tokens": ["prepare", "datatable", "row", "actions"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Datatables/Roles.php#L89-L130", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/Models/Roles.php", "func_name": "Roles.assignToUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign Role to User\n\n@param User $user\n\n@return bool", "docstring_tokens": ["Assign", "Role", "to", "User"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/Models/Roles.php#L71-L78", "partition": "test"} +{"repo": "kayex/http-codes", "path": "src/HttpCodes.php", "func_name": "HttpCodes.isSuccessful", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a status code can be considered successful.\n\n@param $code\n@return bool", "docstring_tokens": ["Checks", "whether", "a", "status", "code", "can", "be", "considered", "successful", "."], "sha": "37ce15405c34098e69577caf506ba1da482f9f62", "url": "https://github.com/kayex/http-codes/blob/37ce15405c34098e69577caf506ba1da482f9f62/src/HttpCodes.php#L62-L76", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Page/PageIdentifiers.php", "func_name": "PageIdentifiers.getCurrentTemplateName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current controller template name.\n\n@return string", "docstring_tokens": ["Returns", "current", "controller", "template", "name", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Page/PageIdentifiers.php#L47-L55", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Presenters/Role.php", "func_name": "Role.form", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View form generator for Antares\\Model\\Role.\n\n@param \\Antares\\Model\\Role $model\n\n@return \\Antares\\Contracts\\Html\\Form\\Builder", "docstring_tokens": ["View", "form", "generator", "for", "Antares", "\\", "Model", "\\", "Role", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Presenters/Role.php#L94-L98", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Presenters/Role.php", "func_name": "Role.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "edit action presenter\n\n@return type", "docstring_tokens": ["edit", "action", "presenter"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Presenters/Role.php#L105-L117", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View create user page.\n\n@param \\Antares\\Contracts\\Foundation\\Listener\\Account\\UserCreator $listener\n\n@return mixed", "docstring_tokens": ["View", "create", "user", "page", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L68-L74", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View edit user page.\n\n@param \\Antares\\Contracts\\Foundation\\Listener\\Account\\UserUpdater $listener\n@param string|int $id\n\n@return mixed", "docstring_tokens": ["View", "edit", "user", "page", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L84-L105", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a user.\n\n@param \\Antares\\Contracts\\Foundation\\Listener\\Account\\UserCreator $listener\n@param array $input\n\n@return mixed", "docstring_tokens": ["Store", "a", "user", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L115-L135", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a user.\n\n@param \\Antares\\Contracts\\Foundation\\Listener\\Account\\UserUpdater $listener\n@param string|int $id\n@param array $input\n\n@return mixed", "docstring_tokens": ["Update", "a", "user", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L146-L161", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy a user.\n\n@param \\Antares\\Contracts\\Foundation\\Listener\\Account\\UserRemover $listener\n@param string|int $id\n\n@return mixed", "docstring_tokens": ["Destroy", "a", "user", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L171-L200", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/User.php", "func_name": "User.saving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the user.\n\n@param \\Antares\\Model\\User $user\n@param array $input\n@param string $type\n\n@return bool", "docstring_tokens": ["Save", "the", "user", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/User.php#L211-L239", "partition": "test"} +{"repo": "mrclay/elgg-url-sniffer", "path": "SitePath.php", "func_name": "SitePath.isWithinPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is this path within the given path?\n\nE.g. if the current path is \"blog/view/123\", this would return true for \"blog\",\nbut false for \"bl\" or \"blog/vi\".\n\n@param string $path Path to compare. E.g. \"blog/view\"\n\n@return bool", "docstring_tokens": ["Is", "this", "path", "within", "the", "given", "path?"], "sha": "0d139a73045ba1c001da134dbc9cf01ded1fc409", "url": "https://github.com/mrclay/elgg-url-sniffer/blob/0d139a73045ba1c001da134dbc9cf01ded1fc409/SitePath.php#L153-L164", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getRegisteredType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return registered type.\n\n@return string", "docstring_tokens": ["Return", "registered", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L40-L51", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getEtag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return collection etag.\n\n@param string $visitor_identifier\n@param bool $use_cache\n@return string", "docstring_tokens": ["Return", "collection", "etag", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L81-L90", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getTimestampField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return timestamp field name.\n\n@return string|bool", "docstring_tokens": ["Return", "timestamp", "field", "name", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L112-L127", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getTimestampHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return timestamp hash.\n\n@param string $timestamp_field\n@return string", "docstring_tokens": ["Return", "timestamp", "hash", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L135-L153", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the query and return DB result.\n\n@return ResultInterface|EntityInterface[]", "docstring_tokens": ["Run", "the", "query", "and", "return", "DB", "result", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L164-L191", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.executeIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return ID-s of matching records.\n\n@return array", "docstring_tokens": ["Return", "ID", "-", "s", "of", "matching", "records", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L203-L218", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return number of records that match conditions set by the collection.\n\n@return int", "docstring_tokens": ["Return", "number", "of", "records", "that", "match", "conditions", "set", "by", "the", "collection", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L263-L277", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getTableName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return model table name.\n\n@return mixed", "docstring_tokens": ["Return", "model", "table", "name", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L291-L298", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return order by.\n\n@return string|null", "docstring_tokens": ["Return", "order", "by", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L312-L319", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set how system should order records in this collection.\n\n@param string $value\n@return $this", "docstring_tokens": ["Set", "how", "system", "should", "order", "records", "in", "this", "collection", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L327-L336", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.getConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return conditions.\n\n@return string|null", "docstring_tokens": ["Return", "conditions", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L359-L377", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set collection conditions.\n\n@param string $pattern\n@param array $arguments\n@return $this", "docstring_tokens": ["Set", "collection", "conditions", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L386-L408", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Collection/Type.php", "func_name": "Type.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set join table name.\n\nIf $join_field is null, join field will be based on model name. There are two ways to specify it:\n\n1. As string, where value is for target field and it will map with ID column of the source table,\n2. As array, where first element is ID in the source table and second element is field in target table\n\n@param string $table_name\n@param array|string|null $join_field\n@return $this", "docstring_tokens": ["Set", "join", "table", "name", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Collection/Type.php#L443-L469", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Authorization.php", "func_name": "Authorization.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List ACL collection.\n\n@param object $listener\n@param string $metric\n\n@return mixed", "docstring_tokens": ["List", "ACL", "collection", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Authorization.php#L67-L90", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Authorization.php", "func_name": "Authorization.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update ACL metric.\n\n@param object $listener\n@param array $input\n\n@return mixed", "docstring_tokens": ["Update", "ACL", "metric", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Authorization.php#L100-L122", "partition": "test"} +{"repo": "wapmorgan/SystemDaemon", "path": "src/AbstractDaemon.php", "func_name": "AbstractDaemon.setLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets logger for daemon.\n@param integer $log", "docstring_tokens": ["Sets", "logger", "for", "daemon", "."], "sha": "3164e48cda97cbe75d3568d1f8be17217efcdfd7", "url": "https://github.com/wapmorgan/SystemDaemon/blob/3164e48cda97cbe75d3568d1f8be17217efcdfd7/src/AbstractDaemon.php#L124-L136", "partition": "test"} +{"repo": "wapmorgan/SystemDaemon", "path": "src/AbstractDaemon.php", "func_name": "AbstractDaemon.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts daemon.\n@return integer Process ID of daemon.", "docstring_tokens": ["Starts", "daemon", "."], "sha": "3164e48cda97cbe75d3568d1f8be17217efcdfd7", "url": "https://github.com/wapmorgan/SystemDaemon/blob/3164e48cda97cbe75d3568d1f8be17217efcdfd7/src/AbstractDaemon.php#L142-L161", "partition": "test"} +{"repo": "wapmorgan/SystemDaemon", "path": "src/AbstractDaemon.php", "func_name": "AbstractDaemon.stop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops daemon.\n@return null|boolean True if daemon is stopped. Null if it was not running.", "docstring_tokens": ["Stops", "daemon", "."], "sha": "3164e48cda97cbe75d3568d1f8be17217efcdfd7", "url": "https://github.com/wapmorgan/SystemDaemon/blob/3164e48cda97cbe75d3568d1f8be17217efcdfd7/src/AbstractDaemon.php#L207-L214", "partition": "test"} +{"repo": "wapmorgan/SystemDaemon", "path": "src/AbstractDaemon.php", "func_name": "AbstractDaemon.kill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kills daemon.\n@return null|boolean True if daemon is stopped. Null if it was not running.", "docstring_tokens": ["Kills", "daemon", "."], "sha": "3164e48cda97cbe75d3568d1f8be17217efcdfd7", "url": "https://github.com/wapmorgan/SystemDaemon/blob/3164e48cda97cbe75d3568d1f8be17217efcdfd7/src/AbstractDaemon.php#L220-L227", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set finder .\n\n@param string $pattern\n@param mixed ...$arguments\n@return $this", "docstring_tokens": ["Set", "finder", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L105-L120", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.getWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return where part of the query.", "docstring_tokens": ["Return", "where", "part", "of", "the", "query", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L125-L137", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return number of records that match the given criteria.\n\n@return int", "docstring_tokens": ["Return", "number", "of", "records", "that", "match", "the", "given", "criteria", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L211-L226", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.first", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return first record that matches the given criteria.\n\n@return object|null", "docstring_tokens": ["Return", "first", "record", "that", "matches", "the", "given", "criteria", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L243-L256", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.ids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array of ID-s that match the given criteria.\n\n@return int[]", "docstring_tokens": ["Return", "array", "of", "ID", "-", "s", "that", "match", "the", "given", "criteria", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L263-L268", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare SQL and load one or more records.\n\n@return mixed", "docstring_tokens": ["Prepare", "SQL", "and", "load", "one", "or", "more", "records", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L275-L292", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.loadByTypeField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if we should load by type field or by type class.\n\n@return bool", "docstring_tokens": ["Check", "if", "we", "should", "load", "by", "type", "field", "or", "by", "type", "class", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L308-L315", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Finder.php", "func_name": "Finder.getSelectFieldsSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct SELECT query for the given fields based on set criteria.\n\n@param string $escaped_field_names\n@return string", "docstring_tokens": ["Construct", "SELECT", "query", "for", "the", "given", "fields", "based", "on", "set", "criteria", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Finder.php#L343-L364", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Adapter/ModulesAdapter.php", "func_name": "ModulesAdapter.modules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "fetch modules list\n\n@return type", "docstring_tokens": ["fetch", "modules", "list"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Adapter/ModulesAdapter.php#L33-L65", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Adapter/ModulesAdapter.php", "func_name": "ModulesAdapter.smashResource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "find smashed resource\n\n@param String $name\n@param String $resource\n@param array $item\n@param String $controller\n@param array $return\n@return array", "docstring_tokens": ["find", "smashed", "resource"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Adapter/ModulesAdapter.php#L77-L86", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/RoleManager.php", "func_name": "RoleManager.defineAllPermissions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define all permission and make usable from laravel application\n\n@return bool", "docstring_tokens": ["Define", "all", "permission", "and", "make", "usable", "from", "laravel", "application"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/RoleManager.php#L28-L61", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/RoleManager.php", "func_name": "RoleManager.assignRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign Role to user\n\n@param int|User $user User Instance or user id\n@param int|string|Roles $role Role Instance, role name, or role id\n\n@return bool", "docstring_tokens": ["Assign", "Role", "to", "user"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/RoleManager.php#L71-L86", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/RoleManager.php", "func_name": "RoleManager.removeRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove Role from user\n\n@param int|User $user User Instance or user id\n@param int|string|Roles $role Role Instance, role name, or role id\n\n@return bool", "docstring_tokens": ["Remove", "Role", "from", "user"], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/RoleManager.php#L96-L112", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View create a role page.\n\n@param object $listener\n\n@return mixed", "docstring_tokens": ["View", "create", "a", "role", "page", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L83-L89", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View edit a role page.\n\n@param object $listener\n@param string|int $id\n\n@return mixed", "docstring_tokens": ["View", "edit", "a", "role", "page", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L99-L104", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a role.\n\n@param object $listener\n@param array $input\n\n@return mixed", "docstring_tokens": ["Store", "a", "role", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L114-L128", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a role.\n\n@param object $listener\n@param array $input\n@param int $id\n\n@return mixed", "docstring_tokens": ["Update", "a", "role", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L139-L160", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a role.\n\n@param object $listener\n@param string|int $id\n\n@return mixed", "docstring_tokens": ["Delete", "a", "role", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L170-L186", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.saving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the role.\n\n@param \\Antares\\Model\\Role $role\n@param array $input\n@param string $type\n\n@return bool", "docstring_tokens": ["Save", "the", "role", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L197-L222", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.import", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "import permissions when copy\n\n@param array $input\n@param Model $role", "docstring_tokens": ["import", "permissions", "when", "copy"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L230-L244", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Processor/Role.php", "func_name": "Role.acl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Acl rules form\n\n@param $id\n@return \\Illuminate\\Contracts\\View\\Factory|\\Illuminate\\View\\View", "docstring_tokens": ["Acl", "rules", "form"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Processor/Role.php#L265-L269", "partition": "test"} +{"repo": "adback-anti-adblock-solution/adback-sdk-php", "path": "src/Driver/SqlScriptCache.php", "func_name": "SqlScriptCache.clearAnalyticsData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear analytics data", "docstring_tokens": ["Clear", "analytics", "data"], "sha": "7cea1adcb875b41e52204e8ba6f8012ea8591969", "url": "https://github.com/adback-anti-adblock-solution/adback-sdk-php/blob/7cea1adcb875b41e52204e8ba6f8012ea8591969/src/Driver/SqlScriptCache.php#L309-L314", "partition": "test"} +{"repo": "adback-anti-adblock-solution/adback-sdk-php", "path": "src/Driver/SqlScriptCache.php", "func_name": "SqlScriptCache.clearMessageData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear message data", "docstring_tokens": ["Clear", "message", "data"], "sha": "7cea1adcb875b41e52204e8ba6f8012ea8591969", "url": "https://github.com/adback-anti-adblock-solution/adback-sdk-php/blob/7cea1adcb875b41e52204e8ba6f8012ea8591969/src/Driver/SqlScriptCache.php#L319-L324", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Handlers/ModulesPane.php", "func_name": "ModulesPane.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "make resource instance of left pane", "docstring_tokens": ["make", "resource", "instance", "of", "left", "pane"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Handlers/ModulesPane.php#L47-L65", "partition": "test"} +{"repo": "mamikon/role-manager", "path": "src/Controllers/RoleController.php", "func_name": "RoleController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for editing the specified resource.\n\n@param Roles $role\n\n@return \\Illuminate\\Http\\Response", "docstring_tokens": ["Show", "the", "form", "for", "editing", "the", "specified", "resource", "."], "sha": "0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42", "url": "https://github.com/mamikon/role-manager/blob/0dc1574fd7e046bd02295d76a1a50ce7dfd9cd42/src/Controllers/RoleController.php#L88-L98", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Datatables/Administrators.php", "func_name": "Administrators.scopeRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scopes roles by configuration\n\n@param \\Illuminate\\Database\\Query\\Builder $builder\n@return \\Illuminate\\Database\\Query\\Builder", "docstring_tokens": ["Scopes", "roles", "by", "configuration"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Datatables/Administrators.php#L168-L174", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Datatables/Administrators.php", "func_name": "Administrators.statuses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates select for statuses\n\n@return String", "docstring_tokens": ["Creates", "select", "for", "statuses"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Datatables/Administrators.php#L181-L194", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Datatables/Administrators.php", "func_name": "Administrators.getActionsColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get actions column for table builder.\n\n@return callable", "docstring_tokens": ["Get", "actions", "column", "for", "table", "builder", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Datatables/Administrators.php#L201-L235", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Datatables/Administrators.php", "func_name": "Administrators.userRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user roles column for table builder.\n\n@return callable", "docstring_tokens": ["Get", "user", "roles", "column", "for", "table", "builder", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Datatables/Administrators.php#L254-L268", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an instance.\n\n@param EntityInterface $instance\n@param array|null $attributes\n@param bool $save\n@return EntityInterface", "docstring_tokens": ["Update", "an", "instance", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L87-L102", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return producer for registered type.\n\n@param string $registered_type\n@return ProducerInterface", "docstring_tokens": ["Return", "producer", "for", "registered", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L145-L162", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.registerProducer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register producer instance for the given type.\n\n@param string $type\n@param ProducerInterface $producer", "docstring_tokens": ["Register", "producer", "instance", "for", "the", "given", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L178-L191", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.registerProducerByClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register producerby providing a producer class name.\n\n@param string $type\n@param string $producer_class", "docstring_tokens": ["Register", "producerby", "providing", "a", "producer", "class", "name", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L199-L210", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return object from object pool by the given type and ID; if object is not found, return NULL.\n\n@param string $type\n@param int $id\n@param bool $use_cache\n@return object\n@throws InvalidArgumentException", "docstring_tokens": ["Return", "object", "from", "object", "pool", "by", "the", "given", "type", "and", "ID", ";", "if", "object", "is", "not", "found", "return", "NULL", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L221-L255", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return object from object pool by the given type and ID; if object is not found, raise an exception.\n\n@param string $type\n@param int $id\n@param bool $use_cache\n@return object\n@throws ObjectNotFoundException\n@throws InvalidArgumentException", "docstring_tokens": ["Return", "object", "from", "object", "pool", "by", "the", "given", "type", "and", "ID", ";", "if", "object", "is", "not", "found", "raise", "an", "exception", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L267-L276", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add object to the object pool.\n\n@param string $registered_type\n@param int $id\n@param EntityInterface|null $value_to_store\n@return EntityInterface", "docstring_tokens": ["Add", "object", "to", "the", "object", "pool", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L318-L327", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.remember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add object to the pool.\n\n@param EntityInterface $object", "docstring_tokens": ["Add", "object", "to", "the", "pool", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L334-L341", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return number of records of the given type that match the given conditions.\n\n@param string $type\n@param array|string|null $conditions\n@return int", "docstring_tokens": ["Return", "number", "of", "records", "of", "the", "given", "type", "that", "match", "the", "given", "conditions", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L372-L381", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find records by type.\n\n@param string $type\n@return Finder", "docstring_tokens": ["Find", "records", "by", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L401-L415", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.getSelectOneByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return select by ID-s query for the given type.\n\n@param string $type\n@return string", "docstring_tokens": ["Return", "select", "by", "ID", "-", "s", "query", "for", "the", "given", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L514-L521", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.getEscapedTypeFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a list of escaped field names for the given type.\n\n@param string $type\n@return string", "docstring_tokens": ["Return", "a", "list", "of", "escaped", "field", "names", "for", "the", "given", "type", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L529-L546", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.getEscapedTypeOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return escaped list of fields that we can order by.\n\n@param string $type\n@return string", "docstring_tokens": ["Return", "escaped", "list", "of", "fields", "that", "we", "can", "order", "by", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L565-L578", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.getTraitNamesByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return trait names by object.\n\nNote: $type does not need to be directly registered, because we need to support subclasses, which call can have\ndifferent traits impelemnted!\n\n@param string $type\n@return array", "docstring_tokens": ["Return", "trait", "names", "by", "object", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L712-L721", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Pool.php", "func_name": "Pool.recursiveGetTraitNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively get trait names for the given class.\n\n@param ReflectionClass $class\n@param array $trait_names", "docstring_tokens": ["Recursively", "get", "trait", "names", "for", "the", "given", "class", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Pool.php#L729-L736", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Adapter/ControlsAdapter.php", "func_name": "ControlsAdapter.adaptee", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "adaptee controls on form instance\n\n@param FormFactory $form\n@param array $controls\n@param Fluent $model\n@return boolean", "docstring_tokens": ["adaptee", "controls", "on", "form", "instance"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Adapter/ControlsAdapter.php#L39-L67", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Adapter/ControlsAdapter.php", "func_name": "ControlsAdapter.checked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "verify whether checkbox should be checked\n\n@param array $control\n@param array $displayable\n@return string", "docstring_tokens": ["verify", "whether", "checkbox", "should", "be", "checked"], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Adapter/ControlsAdapter.php#L76-L87", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/ActivePageEntityPreparator.php", "func_name": "ActivePageEntityPreparator.prepareEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes OXID eShop page entity.\n\n@param array $parameters Plugin parameters.\n\n@return ActivePageEntityInterface", "docstring_tokens": ["Makes", "OXID", "eShop", "page", "entity", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/ActivePageEntityPreparator.php#L104-L119", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/ActivePageEntityPreparator.php", "func_name": "ActivePageEntityPreparator.setLoginsTracking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets login event for tracking.", "docstring_tokens": ["Sets", "login", "event", "for", "tracking", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/ActivePageEntityPreparator.php#L149-L157", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/ActivePageEntityPreparator.php", "func_name": "ActivePageEntityPreparator.setEmailTracking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets email for tracking.", "docstring_tokens": ["Sets", "email", "for", "tracking", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/ActivePageEntityPreparator.php#L162-L168", "partition": "test"} +{"repo": "mrclay/elgg-url-sniffer", "path": "SiteUrl.php", "func_name": "SiteUrl.getSitePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a site path object if the URL is within the Elgg site, or false if not.\n\n@param string $url URL, possibly within the site\n@param bool $match_scheme Require the URL scheme to match, e.g. http: won't match https:\n@return SitePath|bool", "docstring_tokens": ["Get", "a", "site", "path", "object", "if", "the", "URL", "is", "within", "the", "Elgg", "site", "or", "false", "if", "not", "."], "sha": "0d139a73045ba1c001da134dbc9cf01ded1fc409", "url": "https://github.com/mrclay/elgg-url-sniffer/blob/0d139a73045ba1c001da134dbc9cf01ded1fc409/SiteUrl.php#L37-L49", "partition": "test"} +{"repo": "mrclay/elgg-url-sniffer", "path": "SiteUrl.php", "func_name": "SiteUrl.analyzeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Analyze a URL.\n\n@param string $url URL\n@return array|false", "docstring_tokens": ["Analyze", "a", "URL", "."], "sha": "0d139a73045ba1c001da134dbc9cf01ded1fc409", "url": "https://github.com/mrclay/elgg-url-sniffer/blob/0d139a73045ba1c001da134dbc9cf01ded1fc409/SiteUrl.php#L57-L96", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Helper/CategoryPathBuilder.php", "func_name": "CategoryPathBuilder.getBasketProductCategoryPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds basket product category path.\n\n@param \\OxidEsales\\Eshop\\Application\\Model\\Article $product Article to build category id.\n\n@return string", "docstring_tokens": ["Builds", "basket", "product", "category", "path", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Helper/CategoryPathBuilder.php#L21-L46", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.areFieldValuesSame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return true if field values match.\n\n@param mixed $value_1\n@param mixed $value_2\n@return bool", "docstring_tokens": ["Return", "true", "if", "field", "values", "match", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L224-L231", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.loadFromRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load data from database row.\n\nIf $cache_row is set to true row data will be added to cache\n\n@param array $row\n@throws InvalidArgumentException", "docstring_tokens": ["Load", "data", "from", "database", "row", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L261-L296", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.copy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a copy of this object and optionally save it.\n\n@param bool $save\n@return object", "docstring_tokens": ["Create", "a", "copy", "of", "this", "object", "and", "optionally", "save", "it", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L392-L412", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.revertField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Revert field to old value.\n\n@param $field", "docstring_tokens": ["Revert", "field", "to", "old", "value", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L570-L579", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.getOldFieldValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all field value.\n\n@param string $field\n@return mixed", "docstring_tokens": ["Return", "all", "field", "value", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L686-L689", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set specific field value.\n\nSet value of the $field. This function will make sure that everything\nruns fine - modifications are saved, in case of primary key old value\nwill be remembered in case we need to update the row and so on\n\n@param string $field\n@param mixed $value\n@return $this\n@throws InvalidArgumentException", "docstring_tokens": ["Set", "specific", "field", "value", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L703-L751", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert record in the database.", "docstring_tokens": ["Insert", "record", "in", "the", "database", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L837-L847", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update database record.", "docstring_tokens": ["Update", "database", "record", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L852-L876", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Entity/Entity.php", "func_name": "Entity.refreshGeneratedFieldValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array with potentially refreshed values of generated fields.\n\n@param int $id\n@return array", "docstring_tokens": ["Return", "an", "array", "with", "potentially", "refreshed", "values", "of", "generated", "fields", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Entity/Entity.php#L884-L903", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Validator.php", "func_name": "Validator.compareValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate field value by comparing it to a reference value using a closure.\n\n@param string $field_name\n@param mixed $reference_value\n@param bool $allow_null\n@param callable $compare_with\n@param string $validation_failed_message\n@return bool", "docstring_tokens": ["Validate", "field", "value", "by", "comparing", "it", "to", "a", "reference", "value", "using", "a", "closure", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Validator.php#L163-L188", "partition": "test"} +{"repo": "acelaya/expressive-slim-router", "path": "src/Router/SlimRouter.php", "func_name": "SlimRouter.generateUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a URI from the named route.\n\nTakes the named route and any substitutions, and attempts to generate a\nURI from it. Additional router-dependent options may be passed.\n\nThe URI generated MUST NOT be escaped. If you wish to escape any part of\nthe URI, this should be performed afterwards; consider passing the URI\nto league/uri to encode it.\n\n@see https://github.com/auraphp/Aura.Router#generating-a-route-path\n@see http://framework.zend.com/manual/current/en/modules/zend.mvc.routing.html\n@param string $name\n@param array $substitutions\n@param array $options\n@return string\n@throws Exception\\RuntimeException if unable to generate the given URI.", "docstring_tokens": ["Generate", "a", "URI", "from", "the", "named", "route", "."], "sha": "0156b61d4adea81bf89bff910e114cdd3dc5fcf4", "url": "https://github.com/acelaya/expressive-slim-router/blob/0156b61d4adea81bf89bff910e114cdd3dc5fcf4/src/Router/SlimRouter.php#L102-L114", "partition": "test"} +{"repo": "antaresproject/acl", "path": "src/Http/Controllers/RolesController.php", "func_name": "RolesController.storeSucceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Response when storing user succeed.\n\n@param \\Antares\\Model\\Role $role\n\n@return mixed", "docstring_tokens": ["Response", "when", "storing", "user", "succeed", "."], "sha": "00b77857fd77990083fd0f177f9425f2e7915828", "url": "https://github.com/antaresproject/acl/blob/00b77857fd77990083fd0f177f9425f2e7915828/src/Http/Controllers/RolesController.php#L231-L235", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Exception/ValidationException.php", "func_name": "ValidationException.getFieldErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return field errors.\n\n@param string $field\n@return array", "docstring_tokens": ["Return", "field", "errors", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Exception/ValidationException.php#L127-L130", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Exception/ValidationException.php", "func_name": "ValidationException.hasError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a specific field has reported errors.\n\n@param string $field\n@return bool", "docstring_tokens": ["Check", "if", "a", "specific", "field", "has", "reported", "errors", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Exception/ValidationException.php#L148-L151", "partition": "test"} +{"repo": "activecollab/databaseobject", "path": "src/Exception/ValidationException.php", "func_name": "ValidationException.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add error to array.\n\n@param string $error\n@param string $field\n@return $this", "docstring_tokens": ["Add", "error", "to", "array", "."], "sha": "93ebbc26fdcd82e8effa15fea46432dafbfa5e83", "url": "https://github.com/activecollab/databaseobject/blob/93ebbc26fdcd82e8effa15fea46432dafbfa5e83/src/Exception/ValidationException.php#L160-L173", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/ProductPreparation/ProductTitlePreparator.php", "func_name": "ProductTitlePreparator.prepareProductTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns formatted product title.\n\n@param \\OxidEsales\\Eshop\\Application\\Model\\Article $product product which title must be prepared.\n\n@return string", "docstring_tokens": ["Returns", "formatted", "product", "title", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/ProductPreparation/ProductTitlePreparator.php#L21-L29", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Modifiers/EntityModifierByCurrentAction.php", "func_name": "EntityModifierByCurrentAction.modifyByContactController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets message if it was sent.", "docstring_tokens": ["Sets", "message", "if", "it", "was", "sent", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Modifiers/EntityModifierByCurrentAction.php#L206-L213", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Modifiers/EntityModifierByCurrentAction.php", "func_name": "EntityModifierByCurrentAction.modifyByNewsletterController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if newsletter have been subscribed.", "docstring_tokens": ["Sets", "if", "newsletter", "have", "been", "subscribed", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Modifiers/EntityModifierByCurrentAction.php#L218-L225", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Modifiers/EntityModifierByCurrentAction.php", "func_name": "EntityModifierByCurrentAction.modifyWithUserRegistrationAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets user registration action to an object.\n\n@param User $user", "docstring_tokens": ["Sets", "user", "registration", "action", "to", "an", "object", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Modifiers/EntityModifierByCurrentAction.php#L240-L257", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.disableEventSubscriber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable event subscriber.\n\n@param \\Doctrine\\Common\\EventSubscriber|string $subscriberClass", "docstring_tokens": ["Disable", "event", "subscriber", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L43-L60", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.restoreEventSubscribers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore disabled event subscribers.", "docstring_tokens": ["Restore", "disabled", "event", "subscribers", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L65-L74", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.disableEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable all listeners for an event.\n\n@param string $event", "docstring_tokens": ["Disable", "all", "listeners", "for", "an", "event", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L81-L94", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.disableEventListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable listener for an event.\n\n@param string $event\n@param string|EventSubscriber $subscriberClass\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Disable", "listener", "for", "an", "event", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L104-L122", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.restoreAllEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore all disabled listeners.", "docstring_tokens": ["Restore", "all", "disabled", "listeners", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L127-L139", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.restoreEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore disabled listeners for an event.\n\n@param string $event", "docstring_tokens": ["Restore", "disabled", "listeners", "for", "an", "event", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L146-L161", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.getSubscriberClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get subscriber class name.\n\n@param string|EventSubscriber $subscriberClass\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Get", "subscriber", "class", "name", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L172-L179", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.isEventSubscriber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is an event subscriber.\n\n@param $subscriberClass\n\n@return bool", "docstring_tokens": ["Is", "an", "event", "subscriber", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L188-L193", "partition": "test"} +{"repo": "juliangut/doctrine-base-repositories", "path": "src/EventsTrait.php", "func_name": "EventsTrait.getEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get event listeners.\n\n@param string|null $event\n\n@return EventSubscriber[]", "docstring_tokens": ["Get", "event", "listeners", "."], "sha": "3eb661fa8f1296512c2cbb683de7995724509cb7", "url": "https://github.com/juliangut/doctrine-base-repositories/blob/3eb661fa8f1296512c2cbb683de7995724509cb7/src/EventsTrait.php#L212-L217", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Helper/ActiveUserDataProvider.php", "func_name": "ActiveUserDataProvider.getActiveUserHashedId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hashes active user ID and returns it.\n\n@return null|string", "docstring_tokens": ["Hashes", "active", "user", "ID", "and", "returns", "it", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Helper/ActiveUserDataProvider.php#L32-L40", "partition": "test"} +{"repo": "OXID-eSales/econda-tracking-component", "path": "src/Adapter/Helper/ActiveUserDataProvider.php", "func_name": "ActiveUserDataProvider.getActiveUserHashedEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hashes active user email and returns it.\n\n@return null|string", "docstring_tokens": ["Hashes", "active", "user", "email", "and", "returns", "it", "."], "sha": "b1712dbdd5b43b6e84b663147d0cef912f593820", "url": "https://github.com/OXID-eSales/econda-tracking-component/blob/b1712dbdd5b43b6e84b663147d0cef912f593820/src/Adapter/Helper/ActiveUserDataProvider.php#L47-L55", "partition": "test"} +{"repo": "LinguaLeo/php-cache", "path": "src/LinguaLeo/Cache/Provider/CacheProvider.php", "func_name": "CacheProvider.generateCacheKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate cache key.\nOptionally you can pass a class name as the first parameter and if\nthis class will contain constant named \"VERSION\" than it will be mixed up\nwith the result key.\n@throws \\InvalidArgumentException\n@return string", "docstring_tokens": ["Generate", "cache", "key", ".", "Optionally", "you", "can", "pass", "a", "class", "name", "as", "the", "first", "parameter", "and", "if", "this", "class", "will", "contain", "constant", "named", "VERSION", "than", "it", "will", "be", "mixed", "up", "with", "the", "result", "key", "."], "sha": "c97faff9c6cd20a877e57c2ccb73696173a133d9", "url": "https://github.com/LinguaLeo/php-cache/blob/c97faff9c6cd20a877e57c2ccb73696173a133d9/src/LinguaLeo/Cache/Provider/CacheProvider.php#L60-L69", "partition": "test"} +{"repo": "LinguaLeo/php-cache", "path": "src/LinguaLeo/Cache/Provider/CacheProvider.php", "func_name": "CacheProvider.generateCacheKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate cache keys.\nThe last parameter must be an array\n@return array\n@throws \\InvalidArgumentException", "docstring_tokens": ["Generate", "cache", "keys", ".", "The", "last", "parameter", "must", "be", "an", "array"], "sha": "c97faff9c6cd20a877e57c2ccb73696173a133d9", "url": "https://github.com/LinguaLeo/php-cache/blob/c97faff9c6cd20a877e57c2ccb73696173a133d9/src/LinguaLeo/Cache/Provider/CacheProvider.php#L77-L93", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Http/GetRequest.php", "func_name": "GetRequest.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a get request and recieves results", "docstring_tokens": ["Sends", "a", "get", "request", "and", "recieves", "results"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Http/GetRequest.php#L22-L40", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if property exists\n\n@param string $key The index to fetch in dot notation\n@return boolean", "docstring_tokens": ["Check", "if", "property", "exists"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L40-L46", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a value\n\n@param string $key The index to fetch in dot notation\n@return mixed", "docstring_tokens": ["Get", "a", "value"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L54-L65", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Navigate through the item and get the value\n\n@param array $item\n@param array $index The index sequence we are navigating to\n@param array $ignore Don't raise an error if not exists\n@param object $err Error object [OUTPUT]\n@return mixed", "docstring_tokens": ["Navigate", "through", "the", "item", "and", "get", "the", "value"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L76-L97", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a value\n\n@param string $key The index to fetch in dot notation\n@param mixed $value\n@return object|array", "docstring_tokens": ["Set", "a", "value"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L107-L119", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a value, creating the structure if required\n\n@param string $key The index to fetch in dot notation\n@param mixed $value\n@return object|array", "docstring_tokens": ["Set", "a", "value", "creating", "the", "structure", "if", "required"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L128-L141", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Navigate through the item and set the value\n\n@param array $item\n@param array $index The index sequence we are navigating to\n@param mixed $value\n@param string|false $create Create structure if required: 'object', 'array' or false\n@param object $err Error object [OUTPUT]", "docstring_tokens": ["Navigate", "through", "the", "item", "and", "set", "the", "value"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L152-L190", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a particular value back from the config array\n\n@param string $key The index to fetch in dot notation\n@return object|array", "docstring_tokens": ["Get", "a", "particular", "value", "back", "from", "the", "config", "array"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L199-L210", "partition": "test"} +{"repo": "jasny/dotkey", "path": "src/DotKey.php", "func_name": "DotKey.removeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Navigate through the item and remove the value\n\n@param array $item\n@param array $index The index sequence we are navigating to\n@param object $err Error object [OUTPUT]\n@return mixed", "docstring_tokens": ["Navigate", "through", "the", "item", "and", "remove", "the", "value"], "sha": "2ad4ff1bb784460ff601f5d25e992b630768b17f", "url": "https://github.com/jasny/dotkey/blob/2ad4ff1bb784460ff601f5d25e992b630768b17f/src/DotKey.php#L220-L239", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Connector.php", "func_name": "Connector.setLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the logger functionality in Helper", "docstring_tokens": ["Creates", "the", "logger", "functionality", "in", "Helper"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Connector.php#L73-L80", "partition": "test"} +{"repo": "netcore/module-setting", "path": "Providers/SettingServiceProvider.php", "func_name": "SettingServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Boot the application events.\n\n@return void", "docstring_tokens": ["Boot", "the", "application", "events", "."], "sha": "79e133e9937025128e6091d9d3d26ef56a284814", "url": "https://github.com/netcore/module-setting/blob/79e133e9937025128e6091d9d3d26ef56a284814/Providers/SettingServiceProvider.php#L24-L31", "partition": "test"} +{"repo": "netcore/module-setting", "path": "Providers/SettingServiceProvider.php", "func_name": "SettingServiceProvider.setMailConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set mail config\n\n@return void", "docstring_tokens": ["Set", "mail", "config"], "sha": "79e133e9937025128e6091d9d3d26ef56a284814", "url": "https://github.com/netcore/module-setting/blob/79e133e9937025128e6091d9d3d26ef56a284814/Providers/SettingServiceProvider.php#L120-L132", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Api/Config/ParcelshopConfig.php", "func_name": "ParcelshopConfig.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the key is set, returns it if true\n\n@param $key\n@return $setFields", "docstring_tokens": ["Checks", "if", "the", "key", "is", "set", "returns", "it", "if", "true"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Api/Config/ParcelshopConfig.php#L21-L27", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Generator/Alice/ArrayFixtureGenerator.php", "func_name": "ArrayFixtureGenerator.convertValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a value to its php representation.\n\n@param mixed $value\n\n@return object|integer|double|string|null|boolean", "docstring_tokens": ["Converts", "a", "value", "to", "its", "php", "representation", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Generator/Alice/ArrayFixtureGenerator.php#L100-L116", "partition": "test"} +{"repo": "Napp/apicore", "path": "src/Controllers/ApiController.php", "func_name": "ApiController.getPageSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the page size for pagination\n\n@param Request $request\n@return int", "docstring_tokens": ["Get", "the", "page", "size", "for", "pagination"], "sha": "d4e3f3a58022c0a9e18369a152208b53b26d1fe3", "url": "https://github.com/Napp/apicore/blob/d4e3f3a58022c0a9e18369a152208b53b26d1fe3/src/Controllers/ApiController.php#L332-L341", "partition": "test"} +{"repo": "bradberger/silex-eloquent", "path": "src/BitolaCo/Silex/CapsuleServiceProvider.php", "func_name": "CapsuleServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the Capsule service.\n\n@param Application $app", "docstring_tokens": ["Register", "the", "Capsule", "service", "."], "sha": "f835d97109df64a7cae876376f3cbfb5f3fa1d65", "url": "https://github.com/bradberger/silex-eloquent/blob/f835d97109df64a7cae876376f3cbfb5f3fa1d65/src/BitolaCo/Silex/CapsuleServiceProvider.php#L19-L87", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Api/Config/Config.php", "func_name": "Config.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the user input data\n\n@return bool", "docstring_tokens": ["Validates", "the", "user", "input", "data"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Api/Config/Config.php#L49-L53", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.instance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get things started.\n\n@return void", "docstring_tokens": ["Get", "things", "started", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L60-L69", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hook into WordPress.\n\n@return void", "docstring_tokens": ["Hook", "into", "WordPress", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L76-L80", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.load_script", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load script to dismiss notices.\n\n@return void", "docstring_tokens": ["Load", "script", "to", "dismiss", "notices", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L87-L90", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display all the notices.\n\n@return void", "docstring_tokens": ["Display", "all", "the", "notices", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L97-L127", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.register_notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a notice.\n\n@param string $id\n@param string $type\n@param string $content\n@param array $args\n@return void", "docstring_tokens": ["Register", "a", "notice", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L178-L197", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.dismiss_notice_ajax", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dismiss a notice via ajax.\n\n@return void", "docstring_tokens": ["Dismiss", "a", "notice", "via", "ajax", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L204-L218", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.dismiss_notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dismiss notice into the database.\n\n@param string $id\n@return void", "docstring_tokens": ["Dismiss", "notice", "into", "the", "database", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L226-L232", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.dismiss_user", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dismiss notice for an user.\n\n@param string $id the notice id.\n@return void", "docstring_tokens": ["Dismiss", "notice", "for", "an", "user", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L240-L247", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.dismiss_global", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dismiss a global notice.\n\n@param string $id the id of the notice.\n@return void", "docstring_tokens": ["Dismiss", "a", "global", "notice", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L255-L262", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.restore_notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore a notice previously dismissed.\n\n@param string $id the id of the notice.\n@return void", "docstring_tokens": ["Restore", "a", "notice", "previously", "dismissed", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L270-L277", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.restore_user", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore a notice for the current user.\n\n@param string $id the id of the notice.\n@return void", "docstring_tokens": ["Restore", "a", "notice", "for", "the", "current", "user", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L285-L303", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.restore_global", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore a globally dismissed notice.\n\n@param string $id\n@return void", "docstring_tokens": ["Restore", "a", "globally", "dismissed", "notice", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L311-L330", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.dismissed_notices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of dismissed notices.\n\n@return array", "docstring_tokens": ["Get", "list", "of", "dismissed", "notices", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L337-L342", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.is_dismissed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a notice is dismissed.\n\n@param string $id\n@return boolean", "docstring_tokens": ["Check", "if", "a", "notice", "is", "dismissed", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L372-L378", "partition": "test"} +{"repo": "alessandrotesoro/wp-notices", "path": "wp-notices.php", "func_name": "WP_Notice.get_notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a registered notice.\n\n@param string $id the id of the notice.\n@return void", "docstring_tokens": ["Get", "a", "registered", "notice", "."], "sha": "e465904b48289bafbd01c9cffb2035b92d78bc1f", "url": "https://github.com/alessandrotesoro/wp-notices/blob/e465904b48289bafbd01c9cffb2035b92d78bc1f/wp-notices.php#L395-L401", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.refineItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refine a single item using the supplied callback.\n\n@param mixed $raw\n@return mixed", "docstring_tokens": ["Refine", "a", "single", "item", "using", "the", "supplied", "callback", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L70-L79", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.refineCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refine a collection of raw items.\n\n@param mixed $raw\n@param boolean $retainKey\n@return array", "docstring_tokens": ["Refine", "a", "collection", "of", "raw", "items", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L88-L102", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.includeAttachments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return any required attachments. Check if the attachment needs to\nbe filtered, if so they run the callback and then return the\nattachments.\n\n@param mixed $raw\n@return mixed", "docstring_tokens": ["Return", "any", "required", "attachments", ".", "Check", "if", "the", "attachment", "needs", "to", "be", "filtered", "if", "so", "they", "run", "the", "callback", "and", "then", "return", "the", "attachments", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L112-L134", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.getItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the items to be refined from the raw object.\n\n@param mixed $raw\n@param mixed $class\n@param string $attachment\n@return mixed", "docstring_tokens": ["Get", "the", "items", "to", "be", "refined", "from", "the", "raw", "object", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L144-L153", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.bring", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the attachments you want to bring with the refined items.\n\n@param string|array $attachments\n@return $this", "docstring_tokens": ["Set", "the", "attachments", "you", "want", "to", "bring", "with", "the", "refined", "items", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L181-L190", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.parseAttachments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the classes needed for each attachment.\n\n@param array $relations\n@return array", "docstring_tokens": ["Get", "the", "classes", "needed", "for", "each", "attachment", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L198-L221", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.attachItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the attachment method exists on the class being attached, if it\ndoes then run the method.\n\n@param string $attachment\n@return mixed\n@throws RefineryMethodNotFound", "docstring_tokens": ["Check", "the", "attachment", "method", "exists", "on", "the", "class", "being", "attached", "if", "it", "does", "then", "run", "the", "method", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L231-L240", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the class to be used for the attachment.\n\n@param string|callable $className\n@param callable|bool $callback\n@return array\n@throws AttachmentClassNotFound", "docstring_tokens": ["Set", "the", "class", "to", "be", "used", "for", "the", "attachment", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L250-L263", "partition": "test"} +{"repo": "michaeljennings/refinery", "path": "src/Refinery.php", "func_name": "Refinery.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge a set of data into another.\n\n@param mixed $original\n@param mixed $merge\n@return mixed", "docstring_tokens": ["Merge", "a", "set", "of", "data", "into", "another", "."], "sha": "6066674bf3be8b50b8accf41c52dcd1bc9963c6b", "url": "https://github.com/michaeljennings/refinery/blob/6066674bf3be8b50b8accf41c52dcd1bc9963c6b/src/Refinery.php#L342-L359", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Http/Request.php", "func_name": "Request.getResponseHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the headers from a response\n\n@return $headers", "docstring_tokens": ["Returns", "the", "headers", "from", "a", "response"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Http/Request.php#L47-L62", "partition": "test"} +{"repo": "delatbabel/omnipay-fatzebra", "path": "src/Message/RestResponse.php", "func_name": "RestResponse.getCardReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Card Reference\n\nThis is used after createCard or createCustomer to get the credit card token to be\nused in future transactions.\n\n@return string", "docstring_tokens": ["Get", "Card", "Reference"], "sha": "e78ac21ed624e23e69efb61dd50b62fbe407d51e", "url": "https://github.com/delatbabel/omnipay-fatzebra/blob/e78ac21ed624e23e69efb61dd50b62fbe407d51e/src/Message/RestResponse.php#L79-L87", "partition": "test"} +{"repo": "delatbabel/omnipay-fatzebra", "path": "src/Message/RestResponse.php", "func_name": "RestResponse.getCustomerReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Customer Reference\n\nThis is used after createCustomer to get the customer token to be\nused in future transactions.\n\n@return string", "docstring_tokens": ["Get", "Customer", "Reference"], "sha": "e78ac21ed624e23e69efb61dd50b62fbe407d51e", "url": "https://github.com/delatbabel/omnipay-fatzebra/blob/e78ac21ed624e23e69efb61dd50b62fbe407d51e/src/Message/RestResponse.php#L97-L105", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Util/ClassUtils.php", "func_name": "ClassUtils.getClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strip the namespace from a given class or object and get only the class name.\n\n@param mixed $class\n\n@throws \\InvalidArgumentException\n@return bool|string", "docstring_tokens": ["Strip", "the", "namespace", "from", "a", "given", "class", "or", "object", "and", "get", "only", "the", "class", "name", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Util/ClassUtils.php#L32-L46", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Util/ClassUtils.php", "func_name": "ClassUtils.getNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the namespace from a given class or object.\n\n@param mixed $class\n\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "the", "namespace", "from", "a", "given", "class", "or", "object", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Util/ClassUtils.php#L56-L66", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Generator/ClassFixtureGenerator.php", "func_name": "ClassFixtureGenerator.findAdderMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds an adder method for the given object.\nThanks to the alice library for this code snippet.\n\n@param mixed $obj\n@param string $key\n\n@return string|null", "docstring_tokens": ["Finds", "an", "adder", "method", "for", "the", "given", "object", ".", "Thanks", "to", "the", "alice", "library", "for", "this", "code", "snippet", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Generator/ClassFixtureGenerator.php#L199-L218", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Mapping/MongoDB/ClassMetadataProxy.php", "func_name": "ClassMetadataProxy.initMappings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the mappings from the class metadata.\nThe mapping will be split in field mappings and association mappings.\n\n@return ClassMetadataProxy", "docstring_tokens": ["Initialize", "the", "mappings", "from", "the", "class", "metadata", ".", "The", "mapping", "will", "be", "split", "in", "field", "mappings", "and", "association", "mappings", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Mapping/MongoDB/ClassMetadataProxy.php#L103-L120", "partition": "test"} +{"repo": "wuunder/connector-php", "path": "src/Wuunder/Util/Helper.php", "func_name": "Helper.setTranslationLang", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets data used for translations\n\n@param $lang", "docstring_tokens": ["Sets", "data", "used", "for", "translations"], "sha": "fbcf87b0519d4ab2de3d909a070aebfec51d92e4", "url": "https://github.com/wuunder/connector-php/blob/fbcf87b0519d4ab2de3d909a070aebfec51d92e4/src/Wuunder/Util/Helper.php#L57-L73", "partition": "test"} +{"repo": "Spea/fixture-dumper", "path": "src/Sp/FixtureDumper/Generator/AbstractGenerator.php", "func_name": "AbstractGenerator.readProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a property from an object.\n\n@param $object\n@param $property\n\n@return mixed\n@throws InvalidPropertyException", "docstring_tokens": ["Reads", "a", "property", "from", "an", "object", "."], "sha": "6c17842eb8fe09b6a9c168d5453435f1de714a01", "url": "https://github.com/Spea/fixture-dumper/blob/6c17842eb8fe09b6a9c168d5453435f1de714a01/src/Sp/FixtureDumper/Generator/AbstractGenerator.php#L363-L388", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/Admin/Controllers/EntityManagerController.php", "func_name": "EntityManagerController.defaultAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the first install screen.\n\n@Action\n@Logged\n\n@param string $selfedit If true, the name of the component must be a component from the Mouf framework itself (internal use only)", "docstring_tokens": ["Displays", "the", "first", "install", "screen", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/Admin/Controllers/EntityManagerController.php#L71-L110", "partition": "test"} +{"repo": "phpzm/model", "path": "src/Resource/ModelHook.php", "func_name": "ModelHook.before", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called before the operation be executed, the changes made in Record will be save\n@param string $action\n@param Record $record\n@param Record $previous\n@return bool\n@throws SimplesRunTimeError", "docstring_tokens": ["This", "method", "is", "called", "before", "the", "operation", "be", "executed", "the", "changes", "made", "in", "Record", "will", "be", "save"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/Resource/ModelHook.php#L77-L86", "partition": "test"} +{"repo": "phpzm/model", "path": "src/Resource/ModelHook.php", "func_name": "ModelHook.after", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggered after operation be executed, the changes made in Record has no effect in storage\n@param string $action\n@param Record $record\n@param mixed $extra\n@return bool|array\n@throws SimplesRunTimeError", "docstring_tokens": ["Triggered", "after", "operation", "be", "executed", "the", "changes", "made", "in", "Record", "has", "no", "effect", "in", "storage"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/Resource/ModelHook.php#L96-L114", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.extend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extend collection with entities from another one\n\n@param Collection $data\n@access public\n\n@return static", "docstring_tokens": ["Extend", "collection", "with", "entities", "from", "another", "one"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L42-L48", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append entities to collection\n\n@param Entity|Collection|Traversable|array $data entity or list of entities to append\n@access public\n\n@return static", "docstring_tokens": ["Append", "entities", "to", "collection"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L58-L71", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.prepend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepand entity to the begining of collection\n\n@param Entity $entity\n\n@return static", "docstring_tokens": ["Prepand", "entity", "to", "the", "begining", "of", "collection"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L80-L90", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns isset on entity property when collection has only one element\n\n@param string $name property name\n\n@throws LogicException when collection has more then one element\n\n@return mixed", "docstring_tokens": ["Returns", "isset", "on", "entity", "property", "when", "collection", "has", "only", "one", "element"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L138-L150", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.last", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns last entity from collection\n\n@return Entity", "docstring_tokens": ["Returns", "last", "entity", "from", "collection"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L168-L174", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.getElementMovedByOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns element moved by offset from the current key\n\n@param integer $offset offset\n\n@return Entity", "docstring_tokens": ["Returns", "element", "moved", "by", "offset", "from", "the", "current", "key"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L183-L197", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if collection has entity with field equals to given value\n\n@param string $field field\n@param mixed $value value\n\n@return bool", "docstring_tokens": ["Checks", "if", "collection", "has", "entity", "with", "field", "equals", "to", "given", "value"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L259-L262", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for an element with given property and value\n\n@param string $field name of property\n@param mixed $value value to compare\n@param bool $strict compare value and type of property\n\n@return integer|string|false", "docstring_tokens": ["Search", "for", "an", "element", "with", "given", "property", "and", "value"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L273-L283", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.shift", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shift an entity off the begining of collection\n\n@return Entity", "docstring_tokens": ["Shift", "an", "entity", "off", "the", "begining", "of", "collection"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L290-L296", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter collection from entities not matching criteria given in callback\n\n@param \\Closure $callback callback\n\n@return static", "docstring_tokens": ["Filter", "collection", "from", "entities", "not", "matching", "criteria", "given", "in", "callback"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L305-L315", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.getBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get collection of entities matching criteria given in callback\n\nUsage example:\n\n$colleciton->getBy(function($entity) {\nreturn $entity->name == 'John';\n});\n\n@param Closure $callback\n@return static", "docstring_tokens": ["Get", "collection", "of", "entities", "matching", "criteria", "given", "in", "callback"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L329-L339", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.chunk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits collection into chunks\n\n@param integer $size\n\n@return static", "docstring_tokens": ["Splits", "collection", "into", "chunks"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L362-L375", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.slice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract a slice of the collection\n\n@param integer $offset\n@param integer|null $length\n\n@return static", "docstring_tokens": ["Extract", "a", "slice", "of", "the", "collection"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L386-L401", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.split", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns collection of collections created by spliting first Collection to a parts\n\nExample:\n\nWhen collection has 10 element and we would like to split to 3 separate collections:\n\n$splitted = $collection->split(3);\n$splitted->count(); // = 3\n$splitted[0]->count(); // = 4\n$splitted[1]->count(); // = 4\n$splitted[3]->count(); // = 2\n\n@param integer $parts\n\n@return static", "docstring_tokens": ["Returns", "collection", "of", "collections", "created", "by", "spliting", "first", "Collection", "to", "a", "parts"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L420-L425", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.offsetUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unset values from an offset or offsets\n\n@param string|array $index Offsets to remove\n\n@return static", "docstring_tokens": ["Unset", "values", "from", "an", "offset", "or", "offsets"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L445-L452", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.distinctOn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Eliminates entities that contains the same value in given property\n\n@param string $propertyName Name of the property\n\n@return static", "docstring_tokens": ["Eliminates", "entities", "that", "contains", "the", "same", "value", "in", "given", "property"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L493-L506", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.reverse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an collection with elements in reverse order\n\n@return static", "docstring_tokens": ["Return", "an", "collection", "with", "elements", "in", "reverse", "order"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L513-L523", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.getAllValuesForProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return values from all entities from given property\n\n@param string $name name\n\n@return array", "docstring_tokens": ["Return", "values", "from", "all", "entities", "from", "given", "property"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L548-L565", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.bindCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind two collections\n\n@param Collection $collection collection\n@param array $compareKeys The name of the key to compare with from target Collection\n@param string $propertyName The nae of new property that will be created in source Collection\n\n@return static", "docstring_tokens": ["Bind", "two", "collections"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L576-L599", "partition": "test"} +{"repo": "clean/data", "path": "src/Collection.php", "func_name": "Collection.groupByField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Group entities inside collection to sepearate Collections\n\n@param string $name Property name to group by\n\n@return static", "docstring_tokens": ["Group", "entities", "inside", "collection", "to", "sepearate", "Collections"], "sha": "3f5d50bc2bda6d596dc970587da8d3e7a7997d59", "url": "https://github.com/clean/data/blob/3f5d50bc2bda6d596dc970587da8d3e7a7997d59/src/Collection.php#L608-L624", "partition": "test"} +{"repo": "mobileka/scope-applicator", "path": "src/Mobileka/ScopeApplicator/Configurator.php", "func_name": "Configurator.prepareScopes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse scope configuration passed as a second argument for applyScopes method\n\n@return array", "docstring_tokens": ["Parse", "scope", "configuration", "passed", "as", "a", "second", "argument", "for", "applyScopes", "method"], "sha": "3449f368e20a561914b11d9f18278f7c05875382", "url": "https://github.com/mobileka/scope-applicator/blob/3449f368e20a561914b11d9f18278f7c05875382/src/Mobileka/ScopeApplicator/Configurator.php#L41-L61", "partition": "test"} +{"repo": "mobileka/scope-applicator", "path": "src/Mobileka/ScopeApplicator/Configurator.php", "func_name": "Configurator.parseScopeArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse scope arguments from request parameters\n\n@param array $scope\n@return array", "docstring_tokens": ["Parse", "scope", "arguments", "from", "request", "parameters"], "sha": "3449f368e20a561914b11d9f18278f7c05875382", "url": "https://github.com/mobileka/scope-applicator/blob/3449f368e20a561914b11d9f18278f7c05875382/src/Mobileka/ScopeApplicator/Configurator.php#L69-L110", "partition": "test"} +{"repo": "mobileka/scope-applicator", "path": "src/Mobileka/ScopeApplicator/Configurator.php", "func_name": "Configurator.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Typecast a variable\n\n@param mixed $variable\n@param string|null $type\n@return mixed", "docstring_tokens": ["Typecast", "a", "variable"], "sha": "3449f368e20a561914b11d9f18278f7c05875382", "url": "https://github.com/mobileka/scope-applicator/blob/3449f368e20a561914b11d9f18278f7c05875382/src/Mobileka/ScopeApplicator/Configurator.php#L119-L133", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/Admin/DoctrineInstallUtils.php", "func_name": "DoctrineInstallUtils.registerAnnotationBasedEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a set of annotation-based entities.\n\n@param string $namespace\n@param string $directory Directory where the annotations are stored, relative to ROOT_PATH.", "docstring_tokens": ["Registers", "a", "set", "of", "annotation", "-", "based", "entities", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/Admin/DoctrineInstallUtils.php#L23-L28", "partition": "test"} +{"repo": "elnebuloso/flex-converter", "path": "src/elnebuloso/Flex/Converter/PathToNamespaceClassname.php", "func_name": "PathToNamespaceClassname.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert path to namespaced classname\n\n@param string $string\n@return string", "docstring_tokens": ["convert", "path", "to", "namespaced", "classname"], "sha": "668e88caad7befc1bc5e503e5fdfff2c7b04a46a", "url": "https://github.com/elnebuloso/flex-converter/blob/668e88caad7befc1bc5e503e5fdfff2c7b04a46a/src/elnebuloso/Flex/Converter/PathToNamespaceClassname.php#L17-L27", "partition": "test"} +{"repo": "rkit/settings-yii2", "path": "src/Settings.php", "func_name": "Settings.prepareDataForInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare data for insert\n\n@param array $data\n@return array", "docstring_tokens": ["Prepare", "data", "for", "insert"], "sha": "cb80a7a458293ff30ed5a7de05e651265b0e1a18", "url": "https://github.com/rkit/settings-yii2/blob/cb80a7a458293ff30ed5a7de05e651265b0e1a18/src/Settings.php#L150-L158", "partition": "test"} +{"repo": "rkit/settings-yii2", "path": "src/Settings.php", "func_name": "Settings.updateData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update data and cache\n\n@param array $data", "docstring_tokens": ["Update", "data", "and", "cache"], "sha": "cb80a7a458293ff30ed5a7de05e651265b0e1a18", "url": "https://github.com/rkit/settings-yii2/blob/cb80a7a458293ff30ed5a7de05e651265b0e1a18/src/Settings.php#L165-L175", "partition": "test"} +{"repo": "phpzm/model", "path": "src/Resource/ModelParser.php", "func_name": "ModelParser.parseFilterFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the filters of fields\n\n@param array $data\n@return array\n@throws Exception", "docstring_tokens": ["Parse", "the", "filters", "of", "fields"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/Resource/ModelParser.php#L28-L46", "partition": "test"} +{"repo": "phpzm/model", "path": "src/Resource/ModelParser.php", "func_name": "ModelParser.parseFilterValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the values of the fields\n\n@param array $filters\n@return array", "docstring_tokens": ["Parse", "the", "values", "of", "the", "fields"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/Resource/ModelParser.php#L72-L89", "partition": "test"} +{"repo": "elnebuloso/flex-converter", "path": "src/elnebuloso/Flex/Converter/ArrayToObject.php", "func_name": "ArrayToObject.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert array to object\n\n@param array $data\n@return stdClass", "docstring_tokens": ["convert", "array", "to", "object"], "sha": "668e88caad7befc1bc5e503e5fdfff2c7b04a46a", "url": "https://github.com/elnebuloso/flex-converter/blob/668e88caad7befc1bc5e503e5fdfff2c7b04a46a/src/elnebuloso/Flex/Converter/ArrayToObject.php#L19-L32", "partition": "test"} +{"repo": "thecodingmachine/html.widgets.menu", "path": "src/Mouf/Html/Widgets/Menu/MenuItem.php", "func_name": "MenuItem.getLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the label for the menu item.\n@return string", "docstring_tokens": ["Returns", "the", "label", "for", "the", "menu", "item", "."], "sha": "94b140d8dbfd1a071b5cd61ab361cd5948184642", "url": "https://github.com/thecodingmachine/html.widgets.menu/blob/94b140d8dbfd1a071b5cd61ab361cd5948184642/src/Mouf/Html/Widgets/Menu/MenuItem.php#L130-L136", "partition": "test"} +{"repo": "thecodingmachine/html.widgets.menu", "path": "src/Mouf/Html/Widgets/Menu/MenuItem.php", "func_name": "MenuItem.getAdditionalStyleByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the one of additionnal style\n@return array", "docstring_tokens": ["Returns", "the", "one", "of", "additionnal", "style"], "sha": "94b140d8dbfd1a071b5cd61ab361cd5948184642", "url": "https://github.com/thecodingmachine/html.widgets.menu/blob/94b140d8dbfd1a071b5cd61ab361cd5948184642/src/Mouf/Html/Widgets/Menu/MenuItem.php#L356-L369", "partition": "test"} +{"repo": "thecodingmachine/html.widgets.menu", "path": "src/Mouf/Html/Widgets/Menu/MenuItem.php", "func_name": "MenuItem.getAdditionalStylesByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of additionnal style\n@return array", "docstring_tokens": ["Returns", "the", "list", "of", "additionnal", "style"], "sha": "94b140d8dbfd1a071b5cd61ab361cd5948184642", "url": "https://github.com/thecodingmachine/html.widgets.menu/blob/94b140d8dbfd1a071b5cd61ab361cd5948184642/src/Mouf/Html/Widgets/Menu/MenuItem.php#L375-L385", "partition": "test"} +{"repo": "thecodingmachine/html.widgets.menu", "path": "src/Mouf/Html/Widgets/Menu/MenuItem.php", "func_name": "MenuItem.getLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the absolute URL, with parameters if required.\n@return string", "docstring_tokens": ["Returns", "the", "absolute", "URL", "with", "parameters", "if", "required", "."], "sha": "94b140d8dbfd1a071b5cd61ab361cd5948184642", "url": "https://github.com/thecodingmachine/html.widgets.menu/blob/94b140d8dbfd1a071b5cd61ab361cd5948184642/src/Mouf/Html/Widgets/Menu/MenuItem.php#L459-L489", "partition": "test"} +{"repo": "elnebuloso/flex-converter", "path": "src/elnebuloso/Flex/Converter/ObjectToArray.php", "func_name": "ObjectToArray.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert object to array\n\n@param mixed $data\n@return array", "docstring_tokens": ["convert", "object", "to", "array"], "sha": "668e88caad7befc1bc5e503e5fdfff2c7b04a46a", "url": "https://github.com/elnebuloso/flex-converter/blob/668e88caad7befc1bc5e503e5fdfff2c7b04a46a/src/elnebuloso/Flex/Converter/ObjectToArray.php#L17-L28", "partition": "test"} +{"repo": "phpzm/model", "path": "src/ModelAbstract.php", "func_name": "ModelAbstract.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the instance with reference properties\n@param string $collection\n@param string $primaryKey ('id')\n@param string $relationship ('')\n@return $this\n@throws SimplesRunTimeError", "docstring_tokens": ["Configure", "the", "instance", "with", "reference", "properties"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/ModelAbstract.php#L138-L167", "partition": "test"} +{"repo": "phpzm/model", "path": "src/ModelAbstract.php", "func_name": "ModelAbstract.connection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the connection name and choose a source to it\n@param $connection\n@return string\n@throws SimplesRunTimeError", "docstring_tokens": ["Parse", "the", "connection", "name", "and", "choose", "a", "source", "to", "it"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/ModelAbstract.php#L183-L192", "partition": "test"} +{"repo": "phpzm/model", "path": "src/ModelAbstract.php", "func_name": "ModelAbstract.import", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allow use this field like readonly in read filtering and getting it in record\n@param string $name\n@param string $relationship\n@param array $options\n@return Field\n@throws SimplesRunTimeError", "docstring_tokens": ["Allow", "use", "this", "field", "like", "readonly", "in", "read", "filtering", "and", "getting", "it", "in", "record"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/ModelAbstract.php#L230-L249", "partition": "test"} +{"repo": "elnebuloso/flex-converter", "path": "src/elnebuloso/Flex/Converter/NamespaceClassnameToPath.php", "func_name": "NamespaceClassnameToPath.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert namespaced classname to path\n\n@param string $string\n@return string", "docstring_tokens": ["convert", "namespaced", "classname", "to", "path"], "sha": "668e88caad7befc1bc5e503e5fdfff2c7b04a46a", "url": "https://github.com/elnebuloso/flex-converter/blob/668e88caad7befc1bc5e503e5fdfff2c7b04a46a/src/elnebuloso/Flex/Converter/NamespaceClassnameToPath.php#L17-L27", "partition": "test"} +{"repo": "shamiao/l4mysqlqueue", "path": "src/Shamiao/L4mysqlqueue/Queue/Jobs/MysqlJob.php", "func_name": "MysqlJob.fire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire the job.\n\n@return void", "docstring_tokens": ["Fire", "the", "job", "."], "sha": "743e14e9d4d805f198e9231aa5b1d14e0fad1661", "url": "https://github.com/shamiao/l4mysqlqueue/blob/743e14e9d4d805f198e9231aa5b1d14e0fad1661/src/Shamiao/L4mysqlqueue/Queue/Jobs/MysqlJob.php#L80-L103", "partition": "test"} +{"repo": "shamiao/l4mysqlqueue", "path": "src/Shamiao/L4mysqlqueue/Queue/Jobs/MysqlJob.php", "func_name": "MysqlJob.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the job from the queue.\n\n@return void", "docstring_tokens": ["Delete", "the", "job", "from", "the", "queue", "."], "sha": "743e14e9d4d805f198e9231aa5b1d14e0fad1661", "url": "https://github.com/shamiao/l4mysqlqueue/blob/743e14e9d4d805f198e9231aa5b1d14e0fad1661/src/Shamiao/L4mysqlqueue/Queue/Jobs/MysqlJob.php#L146-L152", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.getClassMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the ORM metadata descriptor for a class.\n\nThe class name must be the fully-qualified class name without a leading backslash\n(as it is returned by get_class($obj)) or an aliased class name.\n\nExamples:\nMyProject\\Domain\\User\nsales:PriceRequest\n\nInternal note: Performance-sensitive method.\n\n@param string $className\n\n@return \\Doctrine\\ORM\\Mapping\\ClassMetadata", "docstring_tokens": ["Returns", "the", "ORM", "metadata", "descriptor", "for", "a", "class", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L192-L202", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes all changes to objects that have been queued up to now to the database.\nThis effectively synchronizes the in-memory state of managed objects with the\ndatabase.\n\nIf an entity is explicitly passed to this method only this entity and\nthe cascade-persist semantics + scheduled inserts/removals are synchronized.\n\n@param null|object|array $entity\n\n@return void\n\n@throws \\Doctrine\\ORM\\OptimisticLockException If a version check on an entity that\nmakes use of optimistic locking fails.", "docstring_tokens": ["Flushes", "all", "changes", "to", "objects", "that", "have", "been", "queued", "up", "to", "now", "to", "the", "database", ".", "This", "effectively", "synchronizes", "the", "in", "-", "memory", "state", "of", "managed", "objects", "with", "the", "database", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L294-L304", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds an Entity by its identifier.\n\n@param string $entityName The class name of the entity to find.\n@param mixed $id The identity of the entity to find.\n@param integer|null $lockMode One of the \\Doctrine\\DBAL\\LockMode::* constants\nor NULL if no specific lock mode should be used\nduring the search.\n@param integer|null $lockVersion The version of the entity to find when using\noptimistic locking.\n\n@return object|null The entity instance or NULL if the entity can not be found.\n\n@throws OptimisticLockException\n@throws ORMInvalidArgumentException\n@throws TransactionRequiredException\n@throws ORMException", "docstring_tokens": ["Finds", "an", "Entity", "by", "its", "identifier", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L324-L334", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears the EntityManager. All entities that are currently managed\nby this EntityManager become detached.\n\n@param string|null $entityName if given, only entities of this type will get detached\n\n@return void", "docstring_tokens": ["Clears", "the", "EntityManager", ".", "All", "entities", "that", "are", "currently", "managed", "by", "this", "EntityManager", "become", "detached", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L374-L384", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an entity instance.\n\nA removed entity will be removed from the database at or before transaction commit\nor as a result of the flush operation.\n\n@param object $entity The entity instance to remove.\n\n@return void\n\n@throws ORMInvalidArgumentException", "docstring_tokens": ["Removes", "an", "entity", "instance", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L440-L450", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.refresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refreshes the persistent state of an entity from the database,\noverriding any local changes that have not yet been persisted.\n\n@param object $entity The entity to refresh.\n\n@return void\n\n@throws ORMInvalidArgumentException", "docstring_tokens": ["Refreshes", "the", "persistent", "state", "of", "an", "entity", "from", "the", "database", "overriding", "any", "local", "changes", "that", "have", "not", "yet", "been", "persisted", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L462-L472", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.getRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the repository for an entity class.\n\n@param string $entityName The name of the entity.\n\n@return \\Doctrine\\ORM\\EntityRepository The repository class.", "docstring_tokens": ["Gets", "the", "repository", "for", "an", "entity", "class", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L562-L572", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.contains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether an entity instance is managed in this EntityManager.\n\n@param object $entity\n\n@return boolean TRUE if this EntityManager currently manages the given entity, FALSE otherwise.", "docstring_tokens": ["Determines", "whether", "an", "entity", "instance", "is", "managed", "in", "this", "EntityManager", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L581-L591", "partition": "test"} +{"repo": "thecodingmachine/database.doctrine-orm-wrapper", "path": "src/ResetableEntityManager.php", "func_name": "ResetableEntityManager.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory method to create EntityManager instances.\n\n@param mixed $conn An array with the connection parameters or an existing Connection instance.\n@param Configuration $config The Configuration instance to use.\n@param EventManager $eventManager The EventManager instance to use.\n\n@return EntityManager The created EntityManager.\n\n@throws \\InvalidArgumentException\n@throws ORMException", "docstring_tokens": ["Factory", "method", "to", "create", "EntityManager", "instances", "."], "sha": "588424666367338157acd540df9009fcae4c292f", "url": "https://github.com/thecodingmachine/database.doctrine-orm-wrapper/blob/588424666367338157acd540df9009fcae4c292f/src/ResetableEntityManager.php#L712-L722", "partition": "test"} +{"repo": "invite-networks/cisco-wsapi", "path": "Server/WsapiServer.php", "func_name": "WsapiServer.processXcdr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Xcdr Soap Webservice method.", "docstring_tokens": ["Xcdr", "Soap", "Webservice", "method", "."], "sha": "a3177b8edb39b91ca093251f4c72c0ac2568a155", "url": "https://github.com/invite-networks/cisco-wsapi/blob/a3177b8edb39b91ca093251f4c72c0ac2568a155/Server/WsapiServer.php#L29-L62", "partition": "test"} +{"repo": "relaxedws/merge", "path": "src/ThreeWayMerge.php", "func_name": "ThreeWayMerge.performMerge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform merge on associative array\n\n@param array $ancestor\n@param array $local\n@param array $remote\n\n@return array", "docstring_tokens": ["Perform", "merge", "on", "associative", "array"], "sha": "014615c9b8cd6a0a289dc80e03b131e1784893e1", "url": "https://github.com/relaxedws/merge/blob/014615c9b8cd6a0a289dc80e03b131e1784893e1/src/ThreeWayMerge.php#L18-L52", "partition": "test"} +{"repo": "relaxedws/merge", "path": "src/ThreeWayMerge.php", "func_name": "ThreeWayMerge.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to perform merge. Do not call it directly.\n\n@param string $x\n@param string $y\n@param string $z\n@param mixed $key\n\n@return mixed\n@throws Exception", "docstring_tokens": ["Function", "to", "perform", "merge", ".", "Do", "not", "call", "it", "directly", "."], "sha": "014615c9b8cd6a0a289dc80e03b131e1784893e1", "url": "https://github.com/relaxedws/merge/blob/014615c9b8cd6a0a289dc80e03b131e1784893e1/src/ThreeWayMerge.php#L65-L129", "partition": "test"} +{"repo": "relaxedws/merge", "path": "src/ThreeWayMerge.php", "func_name": "ThreeWayMerge.linesAddedOrModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the addition of lines.\n\n@param array $ancestor\n@param array $local\n@param array $remote\n@param $count\n@param $count_remote\n@param $count_ancestor\n@param $count_local\n\n@return array\n@throws Exception", "docstring_tokens": ["Handles", "the", "addition", "of", "lines", "."], "sha": "014615c9b8cd6a0a289dc80e03b131e1784893e1", "url": "https://github.com/relaxedws/merge/blob/014615c9b8cd6a0a289dc80e03b131e1784893e1/src/ThreeWayMerge.php#L145-L188", "partition": "test"} +{"repo": "relaxedws/merge", "path": "src/ThreeWayMerge.php", "func_name": "ThreeWayMerge.linesRemovedOrModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles removal or modification of lines\n\n@param array $ancestor\n@param array $local\n@param array $remote\n@param int $count_ancestor\n@param int $count_local\n@param int $count_remote\n\n@return array\n@throws Exception\n@internal param int $count", "docstring_tokens": ["Handles", "removal", "or", "modification", "of", "lines"], "sha": "014615c9b8cd6a0a289dc80e03b131e1784893e1", "url": "https://github.com/relaxedws/merge/blob/014615c9b8cd6a0a289dc80e03b131e1784893e1/src/ThreeWayMerge.php#L205-L239", "partition": "test"} +{"repo": "invite-networks/cisco-wsapi", "path": "Request/XcdrRequest.php", "func_name": "XcdrRequest.NotifyXcdrRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse and save wsapi cdr record.", "docstring_tokens": ["Parse", "and", "save", "wsapi", "cdr", "record", "."], "sha": "a3177b8edb39b91ca093251f4c72c0ac2568a155", "url": "https://github.com/invite-networks/cisco-wsapi/blob/a3177b8edb39b91ca093251f4c72c0ac2568a155/Request/XcdrRequest.php#L93-L106", "partition": "test"} +{"repo": "ssnepenthe/metis", "path": "src/class-wordpress-provider.php", "func_name": "WordPress_Provider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a number of WordPress globals in the container.\n\n@param PimpleContainer $container The container instance.\n\n@return void", "docstring_tokens": ["Register", "a", "number", "of", "WordPress", "globals", "in", "the", "container", "."], "sha": "b4e497c3ccc3b16820684b26369ce9c900f5a497", "url": "https://github.com/ssnepenthe/metis/blob/b4e497c3ccc3b16820684b26369ce9c900f5a497/src/class-wordpress-provider.php#L24-L60", "partition": "test"} +{"repo": "ivoba/dotenv-service-provider", "path": "src/EnvProvider.php", "func_name": "EnvProvider.applyConfigs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "applies config options to expected vars\n\n@param Container $app\n@param $config", "docstring_tokens": ["applies", "config", "options", "to", "expected", "vars"], "sha": "31c607361ec40307c73957d8e732d06bbb5529cd", "url": "https://github.com/ivoba/dotenv-service-provider/blob/31c607361ec40307c73957d8e732d06bbb5529cd/src/EnvProvider.php#L65-L105", "partition": "test"} +{"repo": "ivoba/dotenv-service-provider", "path": "src/EnvProvider.php", "func_name": "EnvProvider.addEnvVarsToApp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "collect vars and sets them to the DIC\n\n@param Container $app", "docstring_tokens": ["collect", "vars", "and", "sets", "them", "to", "the", "DIC"], "sha": "31c607361ec40307c73957d8e732d06bbb5529cd", "url": "https://github.com/ivoba/dotenv-service-provider/blob/31c607361ec40307c73957d8e732d06bbb5529cd/src/EnvProvider.php#L112-L150", "partition": "test"} +{"repo": "shamiao/l4mysqlqueue", "path": "src/Shamiao/L4mysqlqueue/Queue/MysqlQueue.php", "func_name": "MysqlQueue.pop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pop the next job off of the queue.\n\n@param string $queue\n@return \\Illuminate\\Queue\\Jobs\\Job|null", "docstring_tokens": ["Pop", "the", "next", "job", "off", "of", "the", "queue", "."], "sha": "743e14e9d4d805f198e9231aa5b1d14e0fad1661", "url": "https://github.com/shamiao/l4mysqlqueue/blob/743e14e9d4d805f198e9231aa5b1d14e0fad1661/src/Shamiao/L4mysqlqueue/Queue/MysqlQueue.php#L100-L109", "partition": "test"} +{"repo": "shamiao/l4mysqlqueue", "path": "src/Shamiao/L4mysqlqueue/Queue/MysqlQueue.php", "func_name": "MysqlQueue.insertJobRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert a job record into database.\n\n@param string $payload Payload string.\n@param DateTime $time Exact firing time of the job.\n@param string $queue Queue name of the job.\n@return int ID of new record inserted.", "docstring_tokens": ["Insert", "a", "job", "record", "into", "database", "."], "sha": "743e14e9d4d805f198e9231aa5b1d14e0fad1661", "url": "https://github.com/shamiao/l4mysqlqueue/blob/743e14e9d4d805f198e9231aa5b1d14e0fad1661/src/Shamiao/L4mysqlqueue/Queue/MysqlQueue.php#L119-L132", "partition": "test"} +{"repo": "invite-networks/cisco-wsapi", "path": "Client/XcdrClient.php", "func_name": "XcdrClient.requestXcdrSetAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cisco IOS XCDRProvider Set Attribute Request", "docstring_tokens": ["Cisco", "IOS", "XCDRProvider", "Set", "Attribute", "Request"], "sha": "a3177b8edb39b91ca093251f4c72c0ac2568a155", "url": "https://github.com/invite-networks/cisco-wsapi/blob/a3177b8edb39b91ca093251f4c72c0ac2568a155/Client/XcdrClient.php#L196-L241", "partition": "test"} +{"repo": "elnebuloso/flex-converter", "path": "src/elnebuloso/Flex/Converter/StringToCamelCase.php", "func_name": "StringToCamelCase.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "convert string to camelcase\n\n@param string $string\n@param string $delimiter\n@return string", "docstring_tokens": ["convert", "string", "to", "camelcase"], "sha": "668e88caad7befc1bc5e503e5fdfff2c7b04a46a", "url": "https://github.com/elnebuloso/flex-converter/blob/668e88caad7befc1bc5e503e5fdfff2c7b04a46a/src/elnebuloso/Flex/Converter/StringToCamelCase.php#L18-L23", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method with the responsibility of create a record of model\n@param array|Record $record (null)\n@param string $alias ('create')\n@return Record\n@throws SimplesHookError\n@throws SimplesRecordReadonlyError\n@throws SimplesRunTimeError", "docstring_tokens": ["Method", "with", "the", "responsibility", "of", "create", "a", "record", "of", "model"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L50-L95", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read records with the filters informed\n@param array|Record $record (null)\n@param string $alias ('read')\n@param bool $trash (false)\n@param bool $clean (false)\n@return Collection\n@throws SimplesHookError\n@throws SimplesRunTimeError\n@throws Exception", "docstring_tokens": ["Read", "records", "with", "the", "filters", "informed"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L108-L159", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the record given\n@param array|Record $record (null)\n@param string $alias ('update')\n@param bool $trash (false)\n@return Record\n@throws SimplesActionError\n@throws SimplesHookError\n@throws SimplesResourceError\n@throws SimplesRunTimeError", "docstring_tokens": ["Update", "the", "record", "given"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L172-L224", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the given record of database\n@param array|Record $record (null)\n@param string $alias ('destroy')\n@return Record\n@throws SimplesActionError\n@throws SimplesHookError\n@throws SimplesResourceError\n@throws SimplesRunTimeError", "docstring_tokens": ["Remove", "the", "given", "record", "of", "database"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L236-L293", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.recycle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recycle a destroyed record\n@param array|Record $record (null)\n@return Record\n@throws SimplesActionError\n@throws SimplesHookError\n@throws SimplesResourceError\n@throws SimplesRunTimeError\n@throws SimplesValidationError", "docstring_tokens": ["Recycle", "a", "destroyed", "record"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L305-L320", "partition": "test"} +{"repo": "phpzm/model", "path": "src/DataMapper.php", "func_name": "DataMapper.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get total of records based on filters\n@param Record $record\n@return int\n@throws Exception\n@throws SimplesActionError\n@throws SimplesHookError\n@throws SimplesRunTimeError", "docstring_tokens": ["Get", "total", "of", "records", "based", "on", "filters"], "sha": "a5d99166162693499c776c5e33e3a705e1842b3d", "url": "https://github.com/phpzm/model/blob/a5d99166162693499c776c5e33e3a705e1842b3d/src/DataMapper.php#L331-L355", "partition": "test"} +{"repo": "ssnepenthe/metis", "path": "src/class-base-provider.php", "func_name": "Base_Provider.proxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a proxy object for a given container entry.\n\n@param Container $container Container instance.\n@param string $key Container key.\n\n@return Proxy", "docstring_tokens": ["Get", "a", "proxy", "object", "for", "a", "given", "container", "entry", "."], "sha": "b4e497c3ccc3b16820684b26369ce9c900f5a497", "url": "https://github.com/ssnepenthe/metis/blob/b4e497c3ccc3b16820684b26369ce9c900f5a497/src/class-base-provider.php#L32-L40", "partition": "test"} +{"repo": "chillerlan/php-log", "path": "src/Log.php", "func_name": "Log.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "closes all remaining logger instances\n\n@return \\chillerlan\\Logger\\Log", "docstring_tokens": ["closes", "all", "remaining", "logger", "instances"], "sha": "3e9e40fa7c4f8dcba4203a788c2ca838447a5d37", "url": "https://github.com/chillerlan/php-log/blob/3e9e40fa7c4f8dcba4203a788c2ca838447a5d37/src/Log.php#L38-L47", "partition": "test"} +{"repo": "potterywp/potter", "path": "src/Potter/PotterCore.php", "func_name": "PotterCore.loadWidgets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load and register widgets", "docstring_tokens": ["Load", "and", "register", "widgets"], "sha": "f11dcb2395655969e9387d3afa223d28187ca5fa", "url": "https://github.com/potterywp/potter/blob/f11dcb2395655969e9387d3afa223d28187ca5fa/src/Potter/PotterCore.php#L113-L129", "partition": "test"} +{"repo": "potterywp/potter", "path": "src/Potter/PotterCore.php", "func_name": "PotterCore.loadThemeOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load end register theme options", "docstring_tokens": ["Load", "end", "register", "theme", "options"], "sha": "f11dcb2395655969e9387d3afa223d28187ca5fa", "url": "https://github.com/potterywp/potter/blob/f11dcb2395655969e9387d3afa223d28187ca5fa/src/Potter/PotterCore.php#L134-L147", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "NadeoLive/AutoTweet/Plugin.php", "func_name": "Plugin.onXmlRpcEliteBeginTurn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Xml RPC events", "docstring_tokens": ["Xml", "RPC", "events"], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/NadeoLive/AutoTweet/Plugin.php#L83-L86", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/TaskBarIcon.php", "func_name": "TaskBarIcon.addChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a child element\n\n@param ElementInterface $child", "docstring_tokens": ["Add", "a", "child", "element"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/TaskBarIcon.php#L37-L44", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/PermissionController.php", "func_name": "PermissionController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a newly created Permission in storage.\n\n@param CreatePermissionRequest $request\n\n@return Response", "docstring_tokens": ["Store", "a", "newly", "created", "Permission", "in", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/PermissionController.php#L55-L70", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/PermissionController.php", "func_name": "PermissionController.edit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show the form for editing the specified Permission.\n\n@param int $id\n\n@return Response", "docstring_tokens": ["Show", "the", "form", "for", "editing", "the", "specified", "Permission", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/PermissionController.php#L79-L93", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/PermissionController.php", "func_name": "PermissionController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the specified Permission in storage.\n\n@param int $id\n@param UpdatePermissionRequest $request\n\n@return Response", "docstring_tokens": ["Update", "the", "specified", "Permission", "in", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/PermissionController.php#L103-L132", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/PermissionController.php", "func_name": "PermissionController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the specified Permission from storage.\n\n@param int $id\n\n@return Response", "docstring_tokens": ["Remove", "the", "specified", "Permission", "from", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/PermissionController.php#L141-L156", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php", "func_name": "AbstractTransport.setAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\AbstractAdapter object using this transport.\n\n@param \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\AbstractAdapter $adapter\n@return void", "docstring_tokens": ["Sets", "the", "\\", "ManiaLivePlugins", "\\", "Standard", "\\", "TeamSpeak", "\\", "TeamSpeak3", "\\", "Adapter", "\\", "AbstractAdapter", "object", "using", "this", "transport", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php#L189-L192", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php", "func_name": "AbstractTransport.getAdapterType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the adapter type.\n\n@return string", "docstring_tokens": ["Returns", "the", "adapter", "type", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php#L209-L219", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php", "func_name": "AbstractTransport.waitForReadyRead", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Blocks a stream until data is available for reading if the stream is connected\nin non-blocking mode.\n\n@param integer $time\n@return void", "docstring_tokens": ["Blocks", "a", "stream", "until", "data", "is", "available", "for", "reading", "if", "the", "stream", "is", "connected", "in", "non", "-", "blocking", "mode", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/AbstractTransport.php#L254-L269", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/SearchRepository.php", "func_name": "SearchRepository.getChannels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search channels.\n\n@param array $params\n\n@return ChannelList", "docstring_tokens": ["Search", "channels", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/SearchRepository.php#L23-L30", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/SearchRepository.php", "func_name": "SearchRepository.getGames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search games.\n\n@param array $params\n\n@return GameList", "docstring_tokens": ["Search", "games", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/SearchRepository.php#L39-L46", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as array.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "array", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L28-L37", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as object.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "object", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L47-L54", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as JSON.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "JSON", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L64-L69", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as string.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "string", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L79-L88", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asInteger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as integer.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "integer", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L98-L103", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asFloat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as float.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "float", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L113-L118", "partition": "test"} +{"repo": "Josantonius/php-validate", "path": "src/Validate.php", "func_name": "Validate.asBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parameter return as boolean.\n\n@param mixed $data \u2192 data to convert\n@param mixed $default \u2192 default value in error case\n\n@return mixed \u2192 value, null or customized return value", "docstring_tokens": ["Parameter", "return", "as", "boolean", "."], "sha": "666215c14bed457b1b6d5d1213efcec5cbd82fd5", "url": "https://github.com/Josantonius/php-validate/blob/666215c14bed457b1b6d5d1213efcec5cbd82fd5/src/Validate.php#L128-L133", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php", "func_name": "PHP5HydratorGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an hydrator class\n\n\n@return string", "docstring_tokens": ["Generates", "an", "hydrator", "class"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php#L41-L91", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php", "func_name": "PHP5HydratorGenerator.findAllInstanceProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all class properties recursively using class hierarchy without\nremoving name redefinitions\n\n@param \\ReflectionClass $class\n\n@return \\ReflectionProperty[]", "docstring_tokens": ["Find", "all", "class", "properties", "recursively", "using", "class", "hierarchy", "without", "removing", "name", "redefinitions"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php#L101-L116", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php", "func_name": "PHP5HydratorGenerator.createContructor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate code for the hydrator constructor\n\n@param string[][] $visiblePropertyMap\n@param string[] $hiddenPropertyMap\n\n@return string", "docstring_tokens": ["Generate", "code", "for", "the", "hydrator", "constructor"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php#L126-L156", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php", "func_name": "PHP5HydratorGenerator.createHydrateMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate code for the hydrate method\n\n@param string[][] $visiblePropertyMap\n@param string[] $hiddenPropertyMap\n\n@return string", "docstring_tokens": ["Generate", "code", "for", "the", "hydrate", "method"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/ClassGenerator/PHP5HydratorGenerator.php#L166-L187", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionFileWriter.php", "func_name": "ExtensionFileWriter.updateConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates differences between @vengor/composer/installed.json and ExtensionsManager::$extensionsStorage\nand writes new ExtensionsManager::$extensionsStorage\n@return bool Result, true if success", "docstring_tokens": ["Calculates", "differences", "between"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionFileWriter.php#L38-L59", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionFileWriter.php", "func_name": "ExtensionFileWriter.checkLocalStorage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks and creates if necessary and possible folder to store and local composer.json\n\n@param string $dir\n@param array $data\n@return bool|int\n@throws \\yii\\base\\Exception", "docstring_tokens": ["Checks", "and", "creates", "if", "necessary", "and", "possible", "folder", "to", "store", "and", "local", "composer", ".", "json"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionFileWriter.php#L96-L121", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/NavigationContainer.php", "func_name": "NavigationContainer.findOneByAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a single child by attribute\n\n@param string $attribute\n@param mixed $value\n@return Page|null", "docstring_tokens": ["Find", "a", "single", "child", "by", "attribute"], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/NavigationContainer.php#L120-L130", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/NavigationContainer.php", "func_name": "NavigationContainer.findByAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all children by attribute\n\n@param string $attribute\n@param mixed $value\n@return array", "docstring_tokens": ["Find", "all", "children", "by", "attribute"], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/NavigationContainer.php#L139-L151", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/NavigationContainer.php", "func_name": "NavigationContainer.findOneByOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a single child by option.\n\n@param string $option\n@param mixed $value\n@return Page|null", "docstring_tokens": ["Finds", "a", "single", "child", "by", "option", "."], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/NavigationContainer.php#L160-L170", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/NavigationContainer.php", "func_name": "NavigationContainer.findByOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds all children by option.\n\n@param string $option\n@param mixed $value\n@return array", "docstring_tokens": ["Finds", "all", "children", "by", "option", "."], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/NavigationContainer.php#L179-L190", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the specified binding into the container\n\n@param string $binding\n@return void", "docstring_tokens": ["Register", "the", "specified", "binding", "into", "the", "container"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/ServiceProvider.php#L18-L51", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.registerViewParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the view parser\n\n@return void", "docstring_tokens": ["Register", "the", "view", "parser"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/ServiceProvider.php#L58-L67", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/ServiceProvider.php", "func_name": "ServiceProvider.registerLauncher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the WxWidgets launcher\n\n@return void", "docstring_tokens": ["Register", "the", "WxWidgets", "launcher"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/ServiceProvider.php#L94-L101", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Driver/DatabaseDriver.php", "func_name": "DatabaseDriver.driver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Driver instance from the configuration.\n\n@param string $name\n@param array $data\n@return \\Rougin\\Describe\\Driver\\DriverInterface\n\n@throws \\Rougin\\Describe\\Exceptions\\DriverNotFoundException", "docstring_tokens": ["Returns", "the", "Driver", "instance", "from", "the", "configuration", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Driver/DatabaseDriver.php#L126-L147", "partition": "test"} +{"repo": "extendsframework/extends-validator", "path": "src/AbstractValidator.php", "func_name": "AbstractValidator.getInvalidResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create invalid result.\n\nWhen template can not be found, an exception will be thrown.\n\n@param string $code\n@param array $parameters\n@return ResultInterface\n@throws TemplateNotFound", "docstring_tokens": ["Create", "invalid", "result", "."], "sha": "1fb5b26d9f3fc8102d658a20d070fd0f72247a03", "url": "https://github.com/extendsframework/extends-validator/blob/1fb5b26d9f3fc8102d658a20d070fd0f72247a03/src/AbstractValidator.php#L34-L42", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Profiler.php", "func_name": "Profiler.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a timer.\n\n@param string $name\n@return void", "docstring_tokens": ["Starts", "a", "timer", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Profiler.php#L60-L70", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Signal.php", "func_name": "Signal.subscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subscribes to a signal and returns the signal handler.\n\n@param string $signal\n@param mixed $callback\n@return Signal\\Handler", "docstring_tokens": ["Subscribes", "to", "a", "signal", "and", "returns", "the", "signal", "handler", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Signal.php#L85-L100", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Signal.php", "func_name": "Signal.unsubscribe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unsubscribes from a signal.\n\n@param string $signal\n@param mixed $callback\n@return void", "docstring_tokens": ["Unsubscribes", "from", "a", "signal", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Signal.php#L109-L131", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/widgets/BaseActionsInfoWidget.php", "func_name": "BaseActionsInfoWidget.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get pretty value by type\n@param mixed $value\n@param string $type\n@return mixed", "docstring_tokens": ["Get", "pretty", "value", "by", "type"], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/widgets/BaseActionsInfoWidget.php#L74-L84", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Driver/MySQLDriver.php", "func_name": "MySQLDriver.keys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the key of a column.\n\n@param mixed $row\n@param \\Rougin\\Describe\\Column $column\n@return \\Rougin\\Describe\\Column", "docstring_tokens": ["Sets", "the", "key", "of", "a", "column", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Driver/MySQLDriver.php#L215-L235", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Driver/MySQLDriver.php", "func_name": "MySQLDriver.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of columns based on a query.\n\n@param string $table\n@param string $query\n@param array $columns\n@return \\Rougin\\Describe\\Column[]", "docstring_tokens": ["Returns", "the", "list", "of", "columns", "based", "on", "a", "query", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Driver/MySQLDriver.php#L245-L266", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Driver/MySQLDriver.php", "func_name": "MySQLDriver.properties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the properties of a column.\n\n@param mixed $row\n@param \\Rougin\\Describe\\Column $column\n@return \\Rougin\\Describe\\Column", "docstring_tokens": ["Sets", "the", "properties", "of", "a", "column", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Driver/MySQLDriver.php#L275-L284", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Driver/MySQLDriver.php", "func_name": "MySQLDriver.strip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strips the table schema from the table name.\n\n@param string $table\n@return string", "docstring_tokens": ["Strips", "the", "table", "schema", "from", "the", "table", "name", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Driver/MySQLDriver.php#L292-L299", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Selects a virtual server by ID to allow further interaction.\n\n@param integer $sid\n@param boolean $virtual\n@return void", "docstring_tokens": ["Selects", "a", "virtual", "server", "by", "ID", "to", "allow", "further", "interaction", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L130-L149", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverSelectByPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Selects a virtual server by UDP port to allow further interaction.\n\n@param integer $port\n@param boolean $virtual\n@return void", "docstring_tokens": ["Selects", "a", "virtual", "server", "by", "UDP", "port", "to", "allow", "further", "interaction", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L170-L189", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverGetPortById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the port of a virtual server matching the given ID.\n\n@param integer $sid\n@return integer", "docstring_tokens": ["Returns", "the", "port", "of", "a", "virtual", "server", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L222-L230", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverGetByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first TeamSpeak3_Node_Server object matching the given name.\n\n@param string $name\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Server", "docstring_tokens": ["Returns", "the", "first", "TeamSpeak3_Node_Server", "object", "matching", "the", "given", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L275-L283", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverGetByUid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first TeamSpeak3_Node_Server object matching the given unique identifier.\n\n@param string $uid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Server", "docstring_tokens": ["Returns", "the", "first", "TeamSpeak3_Node_Server", "object", "matching", "the", "given", "unique", "identifier", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L292-L300", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new virtual server using given properties and returns an assoc\narray containing the new ID and initial admin token.\n\n@param array $properties\n@return array", "docstring_tokens": ["Creates", "a", "new", "virtual", "server", "using", "given", "properties", "and", "returns", "an", "assoc", "array", "containing", "the", "new", "ID", "and", "initial", "admin", "token", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L343-L354", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the virtual server specified by ID.\n\n@param integer $sid\n@return void", "docstring_tokens": ["Deletes", "the", "virtual", "server", "specified", "by", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L362-L369", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the virtual server specified by ID.\n\n@param integer $sid\n@return void", "docstring_tokens": ["Starts", "the", "virtual", "server", "specified", "by", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L377-L388", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.serverStopProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops the entire TeamSpeak 3 Server instance by shutting down the process.\n\n@return void", "docstring_tokens": ["Stops", "the", "entire", "TeamSpeak", "3", "Server", "instance", "by", "shutting", "down", "the", "process", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L414-L419", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.permissionList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of permissions available on the server instance.\n\n@return array", "docstring_tokens": ["Returns", "a", "list", "of", "permissions", "available", "on", "the", "server", "instance", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L472-L480", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.permissionFind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the IDs of all clients, channels or groups using the permission with the\nspecified ID.\n\n@param integer $permid\n@return array", "docstring_tokens": ["Returns", "the", "IDs", "of", "all", "clients", "channels", "or", "groups", "using", "the", "permission", "with", "the", "specified", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L489-L494", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.permissionGetIdByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the ID of the permission matching the given name.\n\n@param string $name\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return integer", "docstring_tokens": ["Returns", "the", "ID", "of", "the", "permission", "matching", "the", "given", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L503-L511", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.permissionGetNameById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the name of the permission matching the given ID.\n\n@param integer $permid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Returns", "the", "name", "of", "the", "permission", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L520-L528", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.permissionGetCategoryById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the internal category of the permission matching the given ID.\n\nAll permission IDs are are 2 bytes wide. The first byte identifies the category while the second\nbyte is the permission count within that group.\n\n@param integer $permid\n@return integer", "docstring_tokens": ["Returns", "the", "internal", "category", "of", "the", "permission", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L539-L547", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.selfPermCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array containing the value of a specified permission for your own client.\n\n@param integer $permid\n@return array", "docstring_tokens": ["Returns", "an", "array", "containing", "the", "value", "of", "a", "specified", "permission", "for", "your", "own", "client", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L555-L560", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.logAdd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a custom entry into the server instance log.\n\n@param string $logmsg\n@param integer $loglevel\n@return void", "docstring_tokens": ["Writes", "a", "custom", "entry", "into", "the", "server", "instance", "log", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L606-L613", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticates with the TeamSpeak 3 Server instance using given ServerQuery login credentials.\n\n@param string $username\n@param string $password\n@return void", "docstring_tokens": ["Authenticates", "with", "the", "TeamSpeak", "3", "Server", "instance", "using", "given", "ServerQuery", "login", "credentials", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L622-L633", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.logout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deselects the active virtual server and logs out from the server instance.\n\n@return void", "docstring_tokens": ["Deselects", "the", "active", "virtual", "server", "and", "logs", "out", "from", "the", "server", "instance", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L640-L649", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Host.php", "func_name": "Host.whoamiSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a single value in the current ServerQuery connection info.\n\n@param string $ident\n@param mixed $value\n@return mixed", "docstring_tokens": ["Sets", "a", "single", "value", "in", "the", "current", "ServerQuery", "connection", "info", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Host.php#L690-L695", "partition": "test"} +{"repo": "extendsframework/extends-validator", "path": "src/Framework/ServiceLocator/Factory/Validator/ValidatorFactory.php", "func_name": "ValidatorFactory.getValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get validator for name.\n\n@param ServiceLocatorInterface $serviceLocator\n@param string $name\n@param array $options\n@return ValidatorInterface\n@throws ServiceLocatorException", "docstring_tokens": ["Get", "validator", "for", "name", "."], "sha": "1fb5b26d9f3fc8102d658a20d070fd0f72247a03", "url": "https://github.com/extendsframework/extends-validator/blob/1fb5b26d9f3fc8102d658a20d070fd0f72247a03/src/Framework/ServiceLocator/Factory/Validator/ValidatorFactory.php#L39-L42", "partition": "test"} +{"repo": "themichaelhall/page-fetcher", "path": "src/PageFetcher.php", "func_name": "PageFetcher.setCurlContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the CURL content from request.\n\n@param resource $curl The CURL instance.\n@param PageFetcherRequestInterface $request The request.", "docstring_tokens": ["Sets", "the", "CURL", "content", "from", "request", "."], "sha": "83d83af2b3f4e3bdce667bc744650280de115420", "url": "https://github.com/themichaelhall/page-fetcher/blob/83d83af2b3f4e3bdce667bc744650280de115420/src/PageFetcher.php#L90-L118", "partition": "test"} +{"repo": "themichaelhall/page-fetcher", "path": "src/PageFetcher.php", "func_name": "PageFetcher.parseResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the CURL result into a PageFetcherResponse.\n\n@param string $result The CURL result.\n\n@return PageFetcherResponseInterface The PageFetcherResponse.", "docstring_tokens": ["Parses", "the", "CURL", "result", "into", "a", "PageFetcherResponse", "."], "sha": "83d83af2b3f4e3bdce667bc744650280de115420", "url": "https://github.com/themichaelhall/page-fetcher/blob/83d83af2b3f4e3bdce667bc744650280de115420/src/PageFetcher.php#L127-L147", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/models/ExtensionsConfiguration.php", "func_name": "ExtensionsConfiguration.commonApplicationAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns array of module configuration that should be stored in application config.\nArray should be ready to merge in app config.\nUsed both for web and console.\n\n@return array", "docstring_tokens": ["Returns", "array", "of", "module", "configuration", "that", "should", "be", "stored", "in", "application", "config", ".", "Array", "should", "be", "ready", "to", "merge", "in", "app", "config", ".", "Used", "both", "for", "web", "and", "console", "."], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/models/ExtensionsConfiguration.php#L99-L126", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/Traits/Options.php", "func_name": "Options.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a option constant from its name\n\n@param string $option\n@return integer", "docstring_tokens": ["Get", "a", "option", "constant", "from", "its", "name"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/Traits/Options.php#L13-L18", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/Traits/Options.php", "func_name": "Options.buildOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the options constant using the bitwise operator\n\n@param array $defaults\n@return integer", "docstring_tokens": ["Build", "the", "options", "constant", "using", "the", "bitwise", "operator"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/Traits/Options.php#L36-L54", "partition": "test"} +{"repo": "garlsecurity/securepass-php", "path": "src/Securepass/Securepass.php", "func_name": "Securepass.user", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "User API callback\n\n@param string $type API call type\n@param string $config API parameters\n\n@return array|null Response array\n@throws InvalidArgumentException", "docstring_tokens": ["User", "API", "callback"], "sha": "c229efd74d4bbac269ef14b88778be26fb43894b", "url": "https://github.com/garlsecurity/securepass-php/blob/c229efd74d4bbac269ef14b88778be26fb43894b/src/Securepass/Securepass.php#L28-L50", "partition": "test"} +{"repo": "garlsecurity/securepass-php", "path": "src/Securepass/Securepass.php", "func_name": "Securepass.ping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ping Securepass API\n\n@return array|null Response array", "docstring_tokens": ["Ping", "Securepass", "API"], "sha": "c229efd74d4bbac269ef14b88778be26fb43894b", "url": "https://github.com/garlsecurity/securepass-php/blob/c229efd74d4bbac269ef14b88778be26fb43894b/src/Securepass/Securepass.php#L57-L62", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/BoxSizer.php", "func_name": "BoxSizer.setAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the an element attribute\n\n@param string $key\n@param mixed $value", "docstring_tokens": ["Set", "the", "an", "element", "attribute"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/BoxSizer.php#L39-L52", "partition": "test"} +{"repo": "votemike/money", "path": "src/Money.php", "func_name": "Money.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a rounded string with the currency symbol\n\n@param bool $displayCountryForUS Set to true if you would like 'US$' instead of just '$'\n@return string", "docstring_tokens": ["Returns", "a", "rounded", "string", "with", "the", "currency", "symbol"], "sha": "08b54be9427d534251064d040365ac56c4ac3f52", "url": "https://github.com/votemike/money/blob/08b54be9427d534251064d040365ac56c4ac3f52/src/Money.php#L74-L85", "partition": "test"} +{"repo": "votemike/money", "path": "src/Money.php", "func_name": "Money.formatForAccounting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a rounded number without currency\nIf the number is negative, the currency is within parentheses", "docstring_tokens": ["Returns", "a", "rounded", "number", "without", "currency", "If", "the", "number", "is", "negative", "the", "currency", "is", "within", "parentheses"], "sha": "08b54be9427d534251064d040365ac56c4ac3f52", "url": "https://github.com/votemike/money/blob/08b54be9427d534251064d040365ac56c4ac3f52/src/Money.php#L91-L100", "partition": "test"} +{"repo": "votemike/money", "path": "src/Money.php", "func_name": "Money.getRoundedAmount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the amount rounded to the correct number of decimal places for that currency", "docstring_tokens": ["Returns", "the", "amount", "rounded", "to", "the", "correct", "number", "of", "decimal", "places", "for", "that", "currency"], "sha": "08b54be9427d534251064d040365ac56c4ac3f52", "url": "https://github.com/votemike/money/blob/08b54be9427d534251064d040365ac56c4ac3f52/src/Money.php#L149-L163", "partition": "test"} +{"repo": "votemike/money", "path": "src/Money.php", "func_name": "Money.split", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass in an array of percentages to allocate Money in those amounts.\nFinal entry in array gets any remaining units.\nIf the percentages total less than 100, remaining money is allocated to an extra return value.\n\nBy default, the amounts are rounded to the correct number of decimal places for that currency. This can be disabled by passing false as the second argument.\n\n@param float[] $percentages An array of percentages that must total 100 or less\n@param bool $round\n@return Money[]", "docstring_tokens": ["Pass", "in", "an", "array", "of", "percentages", "to", "allocate", "Money", "in", "those", "amounts", ".", "Final", "entry", "in", "array", "gets", "any", "remaining", "units", ".", "If", "the", "percentages", "total", "less", "than", "100", "remaining", "money", "is", "allocated", "to", "an", "extra", "return", "value", "."], "sha": "08b54be9427d534251064d040365ac56c4ac3f52", "url": "https://github.com/votemike/money/blob/08b54be9427d534251064d040365ac56c4ac3f52/src/Money.php#L212-L250", "partition": "test"} +{"repo": "kiwi-suite/admin42", "path": "src/FormElements/Service/Factory.php", "func_name": "Factory.prepareAndInjectElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes a list of element specifications, creates the elements, and injects them into the provided fieldset\n\n@param array|Traversable|ArrayAccess $elements\n@param FieldsetInterface $fieldset\n@param string $method Method invoking this one (for exception messages)\n@return void", "docstring_tokens": ["Takes", "a", "list", "of", "element", "specifications", "creates", "the", "elements", "and", "injects", "them", "into", "the", "provided", "fieldset"], "sha": "c2b635eda83eb392a17223840b847c7bcc44f0cf", "url": "https://github.com/kiwi-suite/admin42/blob/c2b635eda83eb392a17223840b847c7bcc44f0cf/src/FormElements/Service/Factory.php#L143-L154", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/MeRepository.php", "func_name": "MeRepository.getMe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get authenticated user.\n\n@param string $accessToken\n\n@return Me", "docstring_tokens": ["Get", "authenticated", "user", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/MeRepository.php#L19-L28", "partition": "test"} +{"repo": "devbr/router", "path": "Router.php", "func_name": "Router.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make happen...", "docstring_tokens": ["Make", "happen", "..."], "sha": "d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42", "url": "https://github.com/devbr/router/blob/d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42/Router.php#L208-L263", "partition": "test"} +{"repo": "devbr/router", "path": "Router.php", "func_name": "Router.searchRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for valide router\n\n@params", "docstring_tokens": ["Search", "for", "valide", "router"], "sha": "d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42", "url": "https://github.com/devbr/router/blob/d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42/Router.php#L417-L433", "partition": "test"} +{"repo": "devbr/router", "path": "Router.php", "func_name": "Router.requestMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the request method used, taking overrides into account\n@return string The Request method to handle", "docstring_tokens": ["Get", "the", "request", "method", "used", "taking", "overrides", "into", "account"], "sha": "d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42", "url": "https://github.com/devbr/router/blob/d148dfb3d4fb74438fe7a35e99d692e3c6d2fd42/Router.php#L457-L475", "partition": "test"} +{"repo": "crwgregory/pagekit-logger", "path": "src/Utilities/LogTruck.php", "func_name": "LogTruck.getLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Abraham Lincoln lived in a log cabin\n@return array", "docstring_tokens": ["Abraham", "Lincoln", "lived", "in", "a", "log", "cabin"], "sha": "b1dab17b86bec43717a86710f10a84fb97236114", "url": "https://github.com/crwgregory/pagekit-logger/blob/b1dab17b86bec43717a86710f10a84fb97236114/src/Utilities/LogTruck.php#L35-L101", "partition": "test"} +{"repo": "crwgregory/pagekit-logger", "path": "src/Utilities/LogTruck.php", "func_name": "LogTruck.deathByCamels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Javascript formatted name from a database formatted one\nhello_world => helloWorld\n@param $string\n@return string", "docstring_tokens": ["Returns", "a", "Javascript", "formatted", "name", "from", "a", "database", "formatted", "one", "hello_world", "=", ">", "helloWorld"], "sha": "b1dab17b86bec43717a86710f10a84fb97236114", "url": "https://github.com/crwgregory/pagekit-logger/blob/b1dab17b86bec43717a86710f10a84fb97236114/src/Utilities/LogTruck.php#L127-L134", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.bytes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts bytes to a human readable value.\n\n@param integer $bytes\n@return string", "docstring_tokens": ["Converts", "bytes", "to", "a", "human", "readable", "value", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L42-L59", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.codec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given codec ID to a human readable name.\n\n@param integer $codec\n@return string", "docstring_tokens": ["Converts", "a", "given", "codec", "ID", "to", "a", "human", "readable", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L82-L94", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.groupType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given group type ID to a human readable name.\n\n@param integer $type\n@return string", "docstring_tokens": ["Converts", "a", "given", "group", "type", "ID", "to", "a", "human", "readable", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L102-L112", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.permissionType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given permission type ID to a human readable name.\n\n@param integer $type\n@return string", "docstring_tokens": ["Converts", "a", "given", "permission", "type", "ID", "to", "a", "human", "readable", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L120-L134", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.logLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a given log level ID to a human readable name and vice versa.\n\n@param mixed $level\n@return string", "docstring_tokens": ["Converts", "a", "given", "log", "level", "ID", "to", "a", "human", "readable", "name", "and", "vice", "versa", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L208-L240", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php", "func_name": "Convert.logEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a specified log entry string into an array containing the data.\n\n@param string $entry\n@return array", "docstring_tokens": ["Converts", "a", "specified", "log", "entry", "string", "into", "an", "array", "containing", "the", "data", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Convert.php#L248-L275", "partition": "test"} +{"repo": "sheadawson/silverstripe-timednotices", "path": "code/controller/TimedNoticeAdmin.php", "func_name": "TimedNoticeAdmin.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Custom filtering on \"Status\"\n\n@return Form", "docstring_tokens": ["Custom", "filtering", "on", "Status"], "sha": "a48dc275b7e836f6a36c07981929695fa76bfce8", "url": "https://github.com/sheadawson/silverstripe-timednotices/blob/a48dc275b7e836f6a36c07981929695fa76bfce8/code/controller/TimedNoticeAdmin.php#L88-L110", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/EntityTrait.php", "func_name": "EntityTrait.getTraits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all traits that uses for model\n@return mixed", "docstring_tokens": ["Get", "all", "traits", "that", "uses", "for", "model"], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/EntityTrait.php#L39-L52", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/EntityTrait.php", "func_name": "EntityTrait.callTraitMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a trait method and return a result or null in not exists.\nThis method builds a full method name, checks it and calls if exists.\n@param string $traitName\n@param string $methodName\n@return null|mixed", "docstring_tokens": ["Call", "a", "trait", "method", "and", "return", "a", "result", "or", "null", "in", "not", "exists", ".", "This", "method", "builds", "a", "full", "method", "name", "checks", "it", "and", "calls", "if", "exists", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/EntityTrait.php#L61-L66", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/EntityTrait.php", "func_name": "EntityTrait.callEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call trait event methods.\n@param string $eventName", "docstring_tokens": ["Call", "trait", "event", "methods", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/EntityTrait.php#L72-L80", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/EntityTrait.php", "func_name": "EntityTrait.attributeLabels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all attribute labels.\nThis method merges a model attributeLabels with attribute labels of all used traits.\n@return array", "docstring_tokens": ["Get", "all", "attribute", "labels", ".", "This", "method", "merges", "a", "model", "attributeLabels", "with", "attribute", "labels", "of", "all", "used", "traits", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/EntityTrait.php#L123-L139", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/EntityTrait.php", "func_name": "EntityTrait.attributeHints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all attribute hints.\nThis method merges a model attributeHints with attribute hints of all used traits.\n@return array", "docstring_tokens": ["Get", "all", "attribute", "hints", ".", "This", "method", "merges", "a", "model", "attributeHints", "with", "attribute", "hints", "of", "all", "used", "traits", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/EntityTrait.php#L146-L162", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php", "func_name": "Reply.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a multi-dimensional array containing the reply splitted in multiple rows and columns.\n\n@return array", "docstring_tokens": ["Returns", "a", "multi", "-", "dimensional", "array", "containing", "the", "reply", "splitted", "in", "multiple", "rows", "and", "columns", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php#L146-L169", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php", "func_name": "Reply.fetchError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a ServerQuery error and throws a TeamSpeak3_Adapter_ServerQuery_Exception object if\nthere's an error.\n\n@param string $err\n@throws Exception\n@return void", "docstring_tokens": ["Parses", "a", "ServerQuery", "error", "and", "throws", "a", "TeamSpeak3_Adapter_ServerQuery_Exception", "object", "if", "there", "s", "an", "error", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php#L272-L309", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php", "func_name": "Reply.fetchReply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a ServerQuery reply and creates a \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String object.\n\n@param string $rpl\n@return void", "docstring_tokens": ["Parses", "a", "ServerQuery", "reply", "and", "creates", "a", "\\", "ManiaLivePlugins", "\\", "Standard", "\\", "TeamSpeak", "\\", "TeamSpeak3", "\\", "Helper", "\\", "String", "object", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery/Reply.php#L317-L333", "partition": "test"} +{"repo": "kiwi-suite/admin42", "path": "src/Authentication/AuthenticationService.php", "func_name": "AuthenticationService.getIdentity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the authenticated identity or null if no identity is available\n\n@return User|null", "docstring_tokens": ["Returns", "the", "authenticated", "identity", "or", "null", "if", "no", "identity", "is", "available"], "sha": "c2b635eda83eb392a17223840b847c7bcc44f0cf", "url": "https://github.com/kiwi-suite/admin42/blob/c2b635eda83eb392a17223840b847c7bcc44f0cf/src/Authentication/AuthenticationService.php#L61-L91", "partition": "test"} +{"repo": "kiwi-suite/admin42", "path": "src/Authentication/AuthenticationService.php", "func_name": "AuthenticationService.hasIdentity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if and only if an identity is available\n\n@return bool", "docstring_tokens": ["Returns", "true", "if", "and", "only", "if", "an", "identity", "is", "available"], "sha": "c2b635eda83eb392a17223840b847c7bcc44f0cf", "url": "https://github.com/kiwi-suite/admin42/blob/c2b635eda83eb392a17223840b847c7bcc44f0cf/src/Authentication/AuthenticationService.php#L109-L117", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/SoftDeleteTrait.php", "func_name": "SoftDeleteTrait.restore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore a record after soft deleting.\n@return bool", "docstring_tokens": ["Restore", "a", "record", "after", "soft", "deleting", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/SoftDeleteTrait.php#L98-L106", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/UserRepository.php", "func_name": "UserRepository.getUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user.\n\n@param string $userId\n\n@return User", "docstring_tokens": ["Get", "user", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/UserRepository.php#L22-L28", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/UserRepository.php", "func_name": "UserRepository.getUserFollowedGames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user followed games.\n\n@param string $userId\n@param array $params\n\n@return GameList", "docstring_tokens": ["Get", "user", "followed", "games", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/UserRepository.php#L38-L50", "partition": "test"} +{"repo": "sheadawson/silverstripe-timednotices", "path": "code/model/TimedNotice.php", "func_name": "TimedNotice.get_notices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets any notices relevant to the present time, context and current users\n\n@param string $context (default: CMS)\n@return ArrayList", "docstring_tokens": ["Gets", "any", "notices", "relevant", "to", "the", "present", "time", "context", "and", "current", "users"], "sha": "a48dc275b7e836f6a36c07981929695fa76bfce8", "url": "https://github.com/sheadawson/silverstripe-timednotices/blob/a48dc275b7e836f6a36c07981929695fa76bfce8/code/model/TimedNotice.php#L233-L270", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/ChannelRepository.php", "func_name": "ChannelRepository.getChannel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get channel.\n\n@param string $channelId\n\n@return Channel", "docstring_tokens": ["Get", "channel", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/ChannelRepository.php#L21-L27", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/String.php", "func_name": "String.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escapes a string using the TeamSpeak 3 escape patterns.\n\n@return String", "docstring_tokens": ["Escapes", "a", "string", "using", "the", "TeamSpeak", "3", "escape", "patterns", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/String.php#L333-L341", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/String.php", "func_name": "String.unescape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unescapes a string using the TeamSpeak 3 escape patterns.\n\n@return String", "docstring_tokens": ["Unescapes", "a", "string", "using", "the", "TeamSpeak", "3", "escape", "patterns", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/String.php#L348-L353", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/TeamRepository.php", "func_name": "TeamRepository.getTeam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get team.\n\n@param string $teamId\n\n@return Team", "docstring_tokens": ["Get", "team", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/TeamRepository.php#L19-L25", "partition": "test"} +{"repo": "extendsframework/extends-validator", "path": "src/Result/Container/ContainerResult.php", "func_name": "ContainerResult.addResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add result to container.\n\n@param ResultInterface $result\n@param string|null $name\n@return ContainerResult", "docstring_tokens": ["Add", "result", "to", "container", "."], "sha": "1fb5b26d9f3fc8102d658a20d070fd0f72247a03", "url": "https://github.com/extendsframework/extends-validator/blob/1fb5b26d9f3fc8102d658a20d070fd0f72247a03/src/Result/Container/ContainerResult.php#L49-L60", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/StreamRepository.php", "func_name": "StreamRepository.getStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get stream.\n\n@param string $channelId\n\n@return Stream", "docstring_tokens": ["Get", "stream", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/StreamRepository.php#L21-L28", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/StreamRepository.php", "func_name": "StreamRepository.getStreams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get streams.\n\n@param array $params\n\n@return StreamList", "docstring_tokens": ["Get", "streams", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/StreamRepository.php#L37-L44", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/StreamRepository.php", "func_name": "StreamRepository.getFeaturedStreams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get featured streams.\n\n@param array $params\n\n@return StreamList", "docstring_tokens": ["Get", "featured", "streams", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/StreamRepository.php#L53-L60", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/StreamRepository.php", "func_name": "StreamRepository.getFollowedStreams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get authenticated user streams.\n\n@param string $accessToken\n@param array $params\n\n@return StreamList", "docstring_tokens": ["Get", "authenticated", "user", "streams", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/StreamRepository.php#L70-L80", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/StreamRepository.php", "func_name": "StreamRepository.getStreamsSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get streams summary.\n\n@param array $params\n\n@return Rank", "docstring_tokens": ["Get", "streams", "summary", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/StreamRepository.php#L89-L96", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Repository/GameRepository.php", "func_name": "GameRepository.getTop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get gameList games.\n\n@param array $params\n\n@return array", "docstring_tokens": ["Get", "gameList", "games", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Repository/GameRepository.php#L19-L26", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/TextBox.php", "func_name": "TextBox.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of the text box\n\n@return void", "docstring_tokens": ["Get", "the", "value", "of", "the", "text", "box"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/TextBox.php#L57-L64", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/TSDNS.php", "func_name": "TSDNS.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queries the TSDNS server for a specified virtual hostname and returns the result.\n\n@param string $tsdns\n@throws TSDNS\\Exception\n@return TeamSpeak3_Helper_String", "docstring_tokens": ["Queries", "the", "TSDNS", "server", "for", "a", "specified", "virtual", "hostname", "and", "returns", "the", "result", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/TSDNS.php#L82-L96", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ConfigurationUpdater.php", "func_name": "ConfigurationUpdater.getConfigurables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns configurables sections.\nLoads them from files if not loaded.\n@param bool $ignoreCache", "docstring_tokens": ["Returns", "configurables", "sections", ".", "Loads", "them", "from", "files", "if", "not", "loaded", "."], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ConfigurationUpdater.php#L65-L70", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Client.php", "func_name": "Client.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a text message to the client.\n\n@param string $msg\n@return void", "docstring_tokens": ["Sends", "a", "text", "message", "to", "the", "client", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Client.php#L109-L112", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Client.php", "func_name": "Client.kick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kicks the client from his currently joined channel or from the server.\n\n@param integer $reasonid\n@param string $reasonmsg\n@return void", "docstring_tokens": ["Kicks", "the", "client", "from", "his", "currently", "joined", "channel", "or", "from", "the", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Client.php#L133-L136", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Client.php", "func_name": "Client.avatarDownload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Downloads and returns the clients avatar file content.\n\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Downloads", "and", "returns", "the", "clients", "avatar", "file", "content", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Client.php#L288-L296", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/Traits/Events.php", "func_name": "Events.bindEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind this elements events to the wxPHP event handler\n\n@return void", "docstring_tokens": ["Bind", "this", "elements", "events", "to", "the", "wxPHP", "event", "handler"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/Traits/Events.php#L14-L28", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/Traits/Events.php", "func_name": "Events.connectEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connect the event to the top-level window\n\n@param integer $constant\n@param callable $callback\n@return void", "docstring_tokens": ["Connect", "the", "event", "to", "the", "top", "-", "level", "window"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/Traits/Events.php#L37-L49", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Uri.php", "func_name": "Uri.getQueryVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a single variable from the query string.\n\n@param string $key\n@param mixed $default\n@return mixed", "docstring_tokens": ["Returns", "a", "single", "variable", "from", "the", "query", "string", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Uri.php#L531-L556", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Helper/Uri.php", "func_name": "Uri.getBaseUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the applications base address.\n\n@return string", "docstring_tokens": ["Returns", "the", "applications", "base", "address", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Helper/Uri.php#L692-L697", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php", "func_name": "ServerQuery.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a prepared command to the server and returns the result.\n\n@param string $cmd\n@throws Exception\n@return ServerQuery\\Reply", "docstring_tokens": ["Sends", "a", "prepared", "command", "to", "the", "server", "and", "returns", "the", "result", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php#L113-L147", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php", "func_name": "ServerQuery.wait", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Waits for the server to send a notification message and returns the result.\n\n@throws Exception\n@return ServerQuery\\Event", "docstring_tokens": ["Waits", "for", "the", "server", "to", "send", "a", "notification", "message", "and", "returns", "the", "result", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php#L155-L167", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php", "func_name": "ServerQuery.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses given parameters and returns a prepared ServerQuery command.\n\n@param string $cmd\n@param array $params\n@return string", "docstring_tokens": ["Uses", "given", "parameters", "and", "returns", "a", "prepared", "ServerQuery", "command", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php#L186-L226", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php", "func_name": "ServerQuery.getHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Host object of the current connection.\n\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Node\\Host", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Host", "object", "of", "the", "current", "connection", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/ServerQuery.php#L263-L271", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/commands/ExtensionController.php", "func_name": "ExtensionController.actionList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists installed extensions\n@param bool $sort Sort extensions alphabetically\n@return int", "docstring_tokens": ["Lists", "installed", "extensions"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/commands/ExtensionController.php#L93-L119", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/commands/ExtensionController.php", "func_name": "ExtensionController.writeConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes updated extensions file", "docstring_tokens": ["Writes", "updated", "extensions", "file"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/commands/ExtensionController.php#L169-L190", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/MenuBar.php", "func_name": "MenuBar.setParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the parent element\n\n@param ElementInterface $parent", "docstring_tokens": ["Set", "the", "parent", "element"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/MenuBar.php#L30-L35", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Describe.php", "func_name": "Describe.columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of Column instances from a table.\n\n@param string $table\n@return \\Rougin\\Describe\\Column[]\n\n@throws \\Rougin\\Describe\\Exceptions\\TableNotFoundException", "docstring_tokens": ["Returns", "an", "array", "of", "Column", "instances", "from", "a", "table", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Describe.php#L40-L51", "partition": "test"} +{"repo": "fossar/guzzle-transcoder", "path": "src/GuzzleTranscoder.php", "func_name": "GuzzleTranscoder.createTranscoder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a transcoder instance.\n\n@return Transcoder", "docstring_tokens": ["Returns", "a", "transcoder", "instance", "."], "sha": "49cf238c371220e37b3d580655c22b0d1600529a", "url": "https://github.com/fossar/guzzle-transcoder/blob/49cf238c371220e37b3d580655c22b0d1600529a/src/GuzzleTranscoder.php#L43-L49", "partition": "test"} +{"repo": "fossar/guzzle-transcoder", "path": "src/GuzzleTranscoder.php", "func_name": "GuzzleTranscoder.getByCaseInsensitiveKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets array item by case-insensitive key.\n\n@param array $words\n@param $key\n\n@return ?mixed", "docstring_tokens": ["Gets", "array", "item", "by", "case", "-", "insensitive", "key", "."], "sha": "49cf238c371220e37b3d580655c22b0d1600529a", "url": "https://github.com/fossar/guzzle-transcoder/blob/49cf238c371220e37b3d580655c22b0d1600529a/src/GuzzleTranscoder.php#L205-L213", "partition": "test"} +{"repo": "fossar/guzzle-transcoder", "path": "src/GuzzleTranscoder.php", "func_name": "GuzzleTranscoder.setByCaseInsensitiveKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets array item by case-insensitive key.\n\n@param array $words\n@param string $key\n@param $newValue\n\n@return array", "docstring_tokens": ["Sets", "array", "item", "by", "case", "-", "insensitive", "key", "."], "sha": "49cf238c371220e37b3d580655c22b0d1600529a", "url": "https://github.com/fossar/guzzle-transcoder/blob/49cf238c371220e37b3d580655c22b0d1600529a/src/GuzzleTranscoder.php#L224-L236", "partition": "test"} +{"repo": "sheadawson/silverstripe-timednotices", "path": "code/controller/TimedNoticeController.php", "func_name": "TimedNoticeController.notices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets any notices relevant to the present time and current users\n\n@return JSON", "docstring_tokens": ["Gets", "any", "notices", "relevant", "to", "the", "present", "time", "and", "current", "users"], "sha": "a48dc275b7e836f6a36c07981929695fa76bfce8", "url": "https://github.com/sheadawson/silverstripe-timednotices/blob/a48dc275b7e836f6a36c07981929695fa76bfce8/code/controller/TimedNoticeController.php#L35-L51", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.actionIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows installed extensions", "docstring_tokens": ["Shows", "installed", "extensions"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L71-L89", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.doRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process API requests to github and packagist\n\n@param $url\n@param array $headers\n@return mixed", "docstring_tokens": ["Process", "API", "requests", "to", "github", "and", "packagist"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L135-L150", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.actionRunTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Common method to access from web via ajax requests. Builds a ReportingChain and immediately fires it.\n\n@return array\n@throws NotFoundHttpException\n@throws ServerErrorHttpException\n@throws InvalidParamException", "docstring_tokens": ["Common", "method", "to", "access", "from", "web", "via", "ajax", "requests", ".", "Builds", "a", "ReportingChain", "and", "immediately", "fires", "it", "."], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L259-L344", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.deactivate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds deactivation task into ReportingChain if Extension is active\n\n@param array $extension\n@param ReportingChain $chain", "docstring_tokens": ["Adds", "deactivation", "task", "into", "ReportingChain", "if", "Extension", "is", "active"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L352-L381", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.activate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds activation task into ReportingChain if Extension is not active\n\n@param array $extension\n@param ReportingChain $chain", "docstring_tokens": ["Adds", "activation", "task", "into", "ReportingChain", "if", "Extension", "is", "not", "active"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L389-L418", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.uninstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds uninstall task into ReportingChain\n\n@param $extension\n@param ReportingChain $chain", "docstring_tokens": ["Adds", "uninstall", "task", "into", "ReportingChain"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L426-L457", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/controllers/ExtensionsController.php", "func_name": "ExtensionsController.runTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs separated ReportingTask\n\n@param $command\n@param $groupName\n@return array\n@throws ServerErrorHttpException", "docstring_tokens": ["Runs", "separated", "ReportingTask"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/controllers/ExtensionsController.php#L471-L483", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channel.php", "func_name": "Channel.clientGetByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Client object matching the given name.\n\n@param integer $name\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return TeamSpeak3_Node_Client", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Client", "object", "matching", "the", "given", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channel.php#L158-L166", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channel.php", "func_name": "Channel.iconDownload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Downloads and returns the channels icon file content.\n\n@return TeamSpeak3_Helper_String", "docstring_tokens": ["Downloads", "and", "returns", "the", "channels", "icon", "file", "content", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channel.php#L401-L409", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channel.php", "func_name": "Channel.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a text message to all clients in the channel.\n\n@param string $msg\n@param string $cpw\n@return void", "docstring_tokens": ["Sends", "a", "text", "message", "to", "all", "clients", "in", "the", "channel", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channel.php#L432-L440", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channel.php", "func_name": "Channel.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes the channel.\n\n@param boolean $force\n@return void", "docstring_tokens": ["Deletes", "the", "channel", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channel.php#L448-L453", "partition": "test"} +{"repo": "quankim277/php-jwt", "path": "src/JWT.php", "func_name": "JWT.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts and signs a PHP object or array into a JWT string.\n\n@param object|array $payload PHP object or array\n@param string $key The secret key.\nIf the algorithm used is asymmetric, this is the private key\n@param string $alg The signing algorithm.\nSupported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'\n@param array $head An array with header elements to attach\n\n@return string A signed JWT\n\n@uses jsonEncode\n@uses urlsafeB64Encode", "docstring_tokens": ["Converts", "and", "signs", "a", "PHP", "object", "or", "array", "into", "a", "JWT", "string", "."], "sha": "d041e9693499f137472a338f436a8661cc618d13", "url": "https://github.com/quankim277/php-jwt/blob/d041e9693499f137472a338f436a8661cc618d13/src/JWT.php#L180-L198", "partition": "test"} +{"repo": "quankim277/php-jwt", "path": "src/JWT.php", "func_name": "JWT.sign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sign a string with a given key and algorithm.\n\n@param string $msg The message to sign\n@param string|resource $key The secret key\n@param string $alg The signing algorithm.\nSupported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'\n\n@return string An encrypted message\n\n@throws DomainException Unsupported algorithm was specified", "docstring_tokens": ["Sign", "a", "string", "with", "a", "given", "key", "and", "algorithm", "."], "sha": "d041e9693499f137472a338f436a8661cc618d13", "url": "https://github.com/quankim277/php-jwt/blob/d041e9693499f137472a338f436a8661cc618d13/src/JWT.php#L212-L230", "partition": "test"} +{"repo": "quankim277/php-jwt", "path": "src/JWT.php", "func_name": "JWT.jsonDecode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode a JSON string into a PHP object.\n\n@param string $input JSON string\n\n@return object Object representation of JSON string\n\n@throws DomainException Provided string was invalid JSON", "docstring_tokens": ["Decode", "a", "JSON", "string", "into", "a", "PHP", "object", "."], "sha": "d041e9693499f137472a338f436a8661cc618d13", "url": "https://github.com/quankim277/php-jwt/blob/d041e9693499f137472a338f436a8661cc618d13/src/JWT.php#L287-L311", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ApplicationConfigWriter.php", "func_name": "ApplicationConfigWriter.commit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes all configuration to application configuration file\n@return bool result, true if success", "docstring_tokens": ["Writes", "all", "configuration", "to", "application", "configuration", "file"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ApplicationConfigWriter.php#L60-L86", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/Bootstrap.php", "func_name": "Bootstrap.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap method to be called during application bootstrap stage.\n\n@param Application $app the application currently running", "docstring_tokens": ["Bootstrap", "method", "to", "be", "called", "during", "application", "bootstrap", "stage", "."], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/Bootstrap.php#L23-L64", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channelgroup.php", "func_name": "Channelgroup.copy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a copy of the channel group and returns the new groups ID.\n\n@param string $name\n@param integer $tcgid\n@param integer $type\n@return integer", "docstring_tokens": ["Creates", "a", "copy", "of", "the", "channel", "group", "and", "returns", "the", "new", "groups", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channelgroup.php#L91-L94", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Channelgroup.php", "func_name": "Channelgroup.message", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a text message to all clients residing in the channel group on the virtual server.\n\n@param string $msg\n@return void", "docstring_tokens": ["Sends", "a", "text", "message", "to", "all", "clients", "residing", "in", "the", "channel", "group", "on", "the", "virtual", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Channelgroup.php#L191-L205", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.formClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Form class name for this controller\n\nOverride this method if necessary\n\n@return string", "docstring_tokens": ["Get", "Form", "class", "name", "for", "this", "controller"], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L46-L57", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.getAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a Product entity\n\n@ApiDoc\n\n@View(serializerEnableMaxDepthChecks=true)\n\n@param int $id\n\n@return FOSView|object", "docstring_tokens": ["Get", "a", "Product", "entity"], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L71-L83", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.cgetAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all Product entities.\n\n@ApiDoc\n\n@View(serializerEnableMaxDepthChecks=true)\n\n@param ParamFetcherInterface $paramFetcher\n\n@return array|FOSView\n\n@QueryParam(name=\"offset\", requirements=\"\\d+\", nullable=true, description=\"Offset from which to start listing notes.\")\n@QueryParam(name=\"limit\", requirements=\"\\d+\", default=\"20\", description=\"How many notes to return.\")\n@QueryParam(name=\"order_by\", nullable=true, map=true, description=\"Order by fields. Must be an array ie. &order_by[name]=ASC&order_by[description]=DESC\")\n@QueryParam(name=\"filters\", nullable=true, map=true, description=\"Filter by fields. Must be an array ie. &filters[id]=3\")", "docstring_tokens": ["Get", "all", "Product", "entities", "."], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L101-L121", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.postAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Product entity.\n\n@ApiDoc\n\n@View(statusCode=201, serializerEnableMaxDepthChecks=true)\n\n@param Request $request\n\n@return object", "docstring_tokens": ["Create", "a", "Product", "entity", "."], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L135-L162", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.putAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a Product entity.\n\n@ApiDoc\n\n@View(serializerEnableMaxDepthChecks=true)\n\n@param Request $request\n@param int $id\n\n@return object", "docstring_tokens": ["Update", "a", "Product", "entity", "."], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L176-L202", "partition": "test"} +{"repo": "Qeti/Karika", "path": "src/Karika/CoreBundle/Controller/Api/ApiController.php", "func_name": "ApiController.deleteAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a Product entity.\n\n@ApiDoc\n\n@View(statusCode=204)\n\n@param Request $request\n@param int $id\n\n@return null|FOSView", "docstring_tokens": ["Delete", "a", "Product", "entity", "."], "sha": "74f47fd68fb91759c74c5c50cb9ab5ec3704a43e", "url": "https://github.com/Qeti/Karika/blob/74f47fd68fb91759c74c5c50cb9ab5ec3704a43e/src/Karika/CoreBundle/Controller/Api/ApiController.php#L233-L246", "partition": "test"} +{"repo": "schnittstabil/json-decode-file", "path": "src/JsonDecodeFile.php", "func_name": "JsonDecodeFile.readFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads entire file into a string.\n\n@param string $path the file path\n\n@return string the read data\n\n@throws ResourceException", "docstring_tokens": ["Reads", "entire", "file", "into", "a", "string", "."], "sha": "07c7ed2271bbe0924f8e440e713166f2601b4238", "url": "https://github.com/schnittstabil/json-decode-file/blob/07c7ed2271bbe0924f8e440e713166f2601b4238/src/JsonDecodeFile.php#L25-L49", "partition": "test"} +{"repo": "schnittstabil/json-decode-file", "path": "src/JsonDecodeFile.php", "func_name": "JsonDecodeFile.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts JSON encoded string into a PHP variable.\n\n@param string $json JSON string\n@param bool $assoc returned objects will be converted into associative arrays\n\n@return mixed the value encoded in json in appropriate PHP type\n\n@throws ParsingException\n\n@SuppressWarnings(PHPMD.BooleanArgumentFlag)", "docstring_tokens": ["Converts", "JSON", "encoded", "string", "into", "a", "PHP", "variable", "."], "sha": "07c7ed2271bbe0924f8e440e713166f2601b4238", "url": "https://github.com/schnittstabil/json-decode-file/blob/07c7ed2271bbe0924f8e440e713166f2601b4238/src/JsonDecodeFile.php#L63-L74", "partition": "test"} +{"repo": "schnittstabil/json-decode-file", "path": "src/JsonDecodeFile.php", "func_name": "JsonDecodeFile.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read and decode a JSON file.\n\n@see http://php.net/manual/en/function.json-decode.php json_decode documentation\n\n@param string $path the file path\n@param bool $assoc returned objects will be converted into associative arrays\n\n@return mixed the value encoded in json in appropriate PHP type\n\n@throws ResourceException\n@throws ParsingException\n\n@SuppressWarnings(PHPMD.BooleanArgumentFlag)\n@SuppressWarnings(PHPMD.StaticAccess)", "docstring_tokens": ["Read", "and", "decode", "a", "JSON", "file", "."], "sha": "07c7ed2271bbe0924f8e440e713166f2601b4238", "url": "https://github.com/schnittstabil/json-decode-file/blob/07c7ed2271bbe0924f8e440e713166f2601b4238/src/JsonDecodeFile.php#L92-L95", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/View/AbstractNavigationRenderer.php", "func_name": "AbstractNavigationRenderer.normalizeId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize an ID\n\n@param string $value\n@return string", "docstring_tokens": ["Normalize", "an", "ID"], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/View/AbstractNavigationRenderer.php#L88-L99", "partition": "test"} +{"repo": "dotkernel/dot-navigation", "path": "src/View/AbstractNavigationRenderer.php", "func_name": "AbstractNavigationRenderer.cleanAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans array of attributes based on valid input.\n\n@param array $input\n@param array $valid\n@return array", "docstring_tokens": ["Cleans", "array", "of", "attributes", "based", "on", "valid", "input", "."], "sha": "32b555fcdbc0c47f1285d1bbdb202f667b1efa47", "url": "https://github.com/dotkernel/dot-navigation/blob/32b555fcdbc0c47f1285d1bbdb202f667b1efa47/src/View/AbstractNavigationRenderer.php#L139-L148", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Element/Label.php", "func_name": "Label.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the label value\n\n@param string $value", "docstring_tokens": ["Set", "the", "label", "value"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Element/Label.php#L36-L43", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Collection.php", "func_name": "Collection.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an element to the collection\n\n@param ElementInterface $element", "docstring_tokens": ["Add", "an", "element", "to", "the", "collection"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Collection.php#L28-L46", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Collection.php", "func_name": "Collection.getTopLevelWindow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the top-level window element\n\n@return ElementInterface", "docstring_tokens": ["Get", "the", "top", "-", "level", "window", "element"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Collection.php#L53-L61", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Collection.php", "func_name": "Collection.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the element from the collection\n\n@return void", "docstring_tokens": ["Remove", "the", "element", "from", "the", "collection"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Collection.php#L68-L76", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Collection.php", "func_name": "Collection.getElementById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an element by its ID\n\n@param string|int $id\n@return ElementInterface", "docstring_tokens": ["Get", "an", "element", "by", "its", "ID"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Collection.php#L84-L94", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/models/BaseConfigurationModel.php", "func_name": "BaseConfigurationModel.loadState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads state from file\n@param string $statePath Path where model state files are stored.\n@return bool result", "docstring_tokens": ["Loads", "state", "from", "file"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/models/BaseConfigurationModel.php#L106-L117", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/models/BaseConfigurationModel.php", "func_name": "BaseConfigurationModel.saveState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves state to file\n@param string $statePath Path where model state files are stored.\n@return bool", "docstring_tokens": ["Saves", "state", "to", "file"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/models/BaseConfigurationModel.php#L132-L141", "partition": "test"} +{"repo": "rougin/describe", "path": "src/Column.php", "func_name": "Column.setDataType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the data type.\n\n@param string $type\n@return self", "docstring_tokens": ["Sets", "the", "data", "type", "."], "sha": "dc75ea87ca007e0d56d014699a98c85500adbfb1", "url": "https://github.com/rougin/describe/blob/dc75ea87ca007e0d56d014699a98c85500adbfb1/src/Column.php#L210-L221", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/Connection.php", "func_name": "Connection.onChannelCreated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "and no event is launched when needed join power is modified...", "docstring_tokens": ["and", "no", "event", "is", "launched", "when", "needed", "join", "power", "is", "modified", "..."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/Connection.php#L149-L155", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.getLocalizedVersionedDataField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetching localized data from defined field according to package current version\n@param $data\n@param $type\n@param string $field\n@return string", "docstring_tokens": ["Fetching", "localized", "data", "from", "defined", "field", "according", "to", "package", "current", "version"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L65-L79", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.getLocalizedDataField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetching localized data from defined field from for example installed.json file\ndata who has no 'versions' array inside\n@param $data\n@param $type\n@param string $field\n@return string", "docstring_tokens": ["Fetching", "localized", "data", "from", "defined", "field", "from", "for", "example", "installed", ".", "json", "file", "data", "who", "has", "no", "versions", "array", "inside"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L89-L101", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.getOtherPackageVersionedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetching data from defined field according to package current version\n@param $data\n@param $key\n@param bool $asArray\n@return array", "docstring_tokens": ["Fetching", "data", "from", "defined", "field", "according", "to", "package", "current", "version"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L110-L122", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.getOtherPackageData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetching data from defined field from for example installed.json file\ndata who has no 'versions' array inside\n@param $data\n@param $key\n@param bool $asArray\n@return array | string", "docstring_tokens": ["Fetching", "data", "from", "defined", "field", "from", "for", "example", "installed", ".", "json", "file", "data", "who", "has", "no", "versions", "array", "inside"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L132-L144", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.humanizeReadme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Humanizes github Readme.md file content\nWe adopt github retrieves Readme.md as json string where \"content\" field contains base64 encoded markdown\n@param $data\n@return string", "docstring_tokens": ["Humanizes", "github", "Readme", ".", "md", "file", "content", "We", "adopt", "github", "retrieves", "Readme", ".", "md", "as", "json", "string", "where", "content", "field", "contains", "base64", "encoded", "markdown"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L152-L162", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.prepareMigrationTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares migration command\n\n@param array $ext\n@param ReportingChain $chain\n@param string $way\n@param $group", "docstring_tokens": ["Prepares", "migration", "command"], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L206-L233", "partition": "test"} +{"repo": "DevGroup-ru/yii2-extensions-manager", "path": "src/helpers/ExtensionDataHelper.php", "func_name": "ExtensionDataHelper.buildTask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds ReportingTask and places it into certain group. Also if group is not exists yet, it will be created\nwith necessary parameters, such as group_notifications=0.\n\n@param array $command\n@param string $groupName\n@return ReportingTask", "docstring_tokens": ["Builds", "ReportingTask", "and", "places", "it", "into", "certain", "group", ".", "Also", "if", "group", "is", "not", "exists", "yet", "it", "will", "be", "created", "with", "necessary", "parameters", "such", "as", "group_notifications", "=", "0", "."], "sha": "25bce89ee085af217c07b779db9fbcd87172b75e", "url": "https://github.com/DevGroup-ru/yii2-extensions-manager/blob/25bce89ee085af217c07b779db9fbcd87172b75e/src/helpers/ExtensionDataHelper.php#L243-L268", "partition": "test"} +{"repo": "fastpress/framework", "path": "src/Routing/Router.php", "func_name": "Router.match", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match if URL matches a route definition.\n\n@param array $server\n@param array $post", "docstring_tokens": ["Match", "if", "URL", "matches", "a", "route", "definition", "."], "sha": "bc09390c16825b40f9a9dad7ea58b5f3e51b85c3", "url": "https://github.com/fastpress/framework/blob/bc09390c16825b40f9a9dad7ea58b5f3e51b85c3/src/Routing/Router.php#L119-L159", "partition": "test"} +{"repo": "fastpress/framework", "path": "src/Routing/Router.php", "func_name": "Router.parseRegexRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Regex parser for named routes.\n\n@param [type] $requestUri\n@param [type] $resource", "docstring_tokens": ["Regex", "parser", "for", "named", "routes", "."], "sha": "bc09390c16825b40f9a9dad7ea58b5f3e51b85c3", "url": "https://github.com/fastpress/framework/blob/bc09390c16825b40f9a9dad7ea58b5f3e51b85c3/src/Routing/Router.php#L182-L202", "partition": "test"} +{"repo": "extendsframework/extends-validator", "path": "src/Object/PropertiesValidator.php", "func_name": "PropertiesValidator.checkStrictness", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check strictness.\n\nIf in strict mode, check if there more than the allowed properties.\n\n@param ContainerResult $container\n@param mixed $object\n@return void\n@throws TemplateNotFound", "docstring_tokens": ["Check", "strictness", "."], "sha": "1fb5b26d9f3fc8102d658a20d070fd0f72247a03", "url": "https://github.com/extendsframework/extends-validator/blob/1fb5b26d9f3fc8102d658a20d070fd0f72247a03/src/Object/PropertiesValidator.php#L165-L178", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/AbstractAdapter.php", "func_name": "AbstractAdapter.getProfiler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the profiler timer used for this connection adapter.\n\n@return TeamSpeak3_Helper_Profiler_Timer", "docstring_tokens": ["Returns", "the", "profiler", "timer", "used", "for", "this", "connection", "adapter", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/AbstractAdapter.php#L107-L110", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/AbstractAdapter.php", "func_name": "AbstractAdapter.initTransport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the transport object object used for the connection adapter and passes a given set\nof options.\n\n@param array $options\n@param string $transport\n@throws Exception\n@return void", "docstring_tokens": ["Loads", "the", "transport", "object", "object", "used", "for", "the", "connection", "adapter", "and", "passes", "a", "given", "set", "of", "options", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/AbstractAdapter.php#L131-L139", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/BaseActionsInfoTrait.php", "func_name": "BaseActionsInfoTrait.getBlameableAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default attributes for Blameable behavior.\nIf you need to set a custom attributes, just add a `blameableAttributes` field to your model.\n@return array", "docstring_tokens": ["Get", "default", "attributes", "for", "Blameable", "behavior", ".", "If", "you", "need", "to", "set", "a", "custom", "attributes", "just", "add", "a", "blameableAttributes", "field", "to", "your", "model", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/BaseActionsInfoTrait.php#L63-L69", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/BaseActionsInfoTrait.php", "func_name": "BaseActionsInfoTrait.getTimestampAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default attributes for Timestamp behavior.\nIf you need to set a custom attributes, just add a `timestampAttributes` field to your model.\n@return array", "docstring_tokens": ["Get", "default", "attributes", "for", "Timestamp", "behavior", ".", "If", "you", "need", "to", "set", "a", "custom", "attributes", "just", "add", "a", "timestampAttributes", "field", "to", "your", "model", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/BaseActionsInfoTrait.php#L96-L102", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/BaseActionsInfoTrait.php", "func_name": "BaseActionsInfoTrait.evaluateAttributesInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Evaluates the attribute value and assigns it to the current attributes.\n@param Event $event", "docstring_tokens": ["Evaluates", "the", "attribute", "value", "and", "assigns", "it", "to", "the", "current", "attributes", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/BaseActionsInfoTrait.php#L174-L185", "partition": "test"} +{"repo": "DevGroup-ru/yii2-entity", "path": "src/traits/BaseActionsInfoTrait.php", "func_name": "BaseActionsInfoTrait.BaseActionsInfoTraitInit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init a trait.\nThere is an event attaching here.", "docstring_tokens": ["Init", "a", "trait", ".", "There", "is", "an", "event", "attaching", "here", "."], "sha": "c0aaafef8a4439407ea0a76b4280585e4af676bb", "url": "https://github.com/DevGroup-ru/yii2-entity/blob/c0aaafef8a4439407ea0a76b4280585e4af676bb/src/traits/BaseActionsInfoTrait.php#L191-L214", "partition": "test"} +{"repo": "bravecollective/php-api", "path": "classes/Brave/Auth/CoreAuthHandler.php", "func_name": "CoreAuthHandler.before_request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "before_request\nHook for PHP Requests\n\n@param $url\n@param $headers\n@param $data", "docstring_tokens": ["before_request", "Hook", "for", "PHP", "Requests"], "sha": "16d459bb3003ad6472a71052889125cf0e69dbb8", "url": "https://github.com/bravecollective/php-api/blob/16d459bb3003ad6472a71052889125cf0e69dbb8/classes/Brave/Auth/CoreAuthHandler.php#L61-L103", "partition": "test"} +{"repo": "bravecollective/php-api", "path": "classes/Brave/Auth/CoreAuthHandler.php", "func_name": "CoreAuthHandler.after_request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "after_request\nHook for PHP Requests\n\n@param \\Requests_Response $return\n\n@throws", "docstring_tokens": ["after_request", "Hook", "for", "PHP", "Requests"], "sha": "16d459bb3003ad6472a71052889125cf0e69dbb8", "url": "https://github.com/bravecollective/php-api/blob/16d459bb3003ad6472a71052889125cf0e69dbb8/classes/Brave/Auth/CoreAuthHandler.php#L113-L166", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/UDP.php", "func_name": "UDP.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads data from the stream.\n\n@param integer $length\n@throws Exception\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Reads", "data", "from", "the", "stream", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/UDP.php#L84-L99", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/UDP.php", "func_name": "UDP.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes data to the stream.\n\n@param string $data\n@return void", "docstring_tokens": ["Writes", "data", "to", "the", "stream", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/UDP.php#L107-L114", "partition": "test"} +{"repo": "skeeks-cms/cms-db-dumper", "path": "src/console/controllers/MysqlController.php", "func_name": "MysqlController.actionRestore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restore from the file dump\n@param null $fileName The path to the dump file", "docstring_tokens": ["Restore", "from", "the", "file", "dump"], "sha": "33027500b92f9d6e3d806ed1e5d79e81fb204f3e", "url": "https://github.com/skeeks-cms/cms-db-dumper/blob/33027500b92f9d6e3d806ed1e5d79e81fb204f3e/src/console/controllers/MysqlController.php#L27-L37", "partition": "test"} +{"repo": "skeeks-cms/cms-db-dumper", "path": "src/console/controllers/MysqlController.php", "func_name": "MysqlController.actionDump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creating a dump", "docstring_tokens": ["Creating", "a", "dump"], "sha": "33027500b92f9d6e3d806ed1e5d79e81fb204f3e", "url": "https://github.com/skeeks-cms/cms-db-dumper/blob/33027500b92f9d6e3d806ed1e5d79e81fb204f3e/src/console/controllers/MysqlController.php#L42-L57", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/Menubar/Menubar.php", "func_name": "Menubar.initMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "initializes the menu for a specific plugin", "docstring_tokens": ["initializes", "the", "menu", "for", "a", "specific", "plugin"], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/Menubar/Menubar.php#L81-L89", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/Menubar/Menubar.php", "func_name": "Menubar.addButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "adds button for the plugin.", "docstring_tokens": ["adds", "button", "for", "the", "plugin", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/Menubar/Menubar.php#L92-L101", "partition": "test"} +{"repo": "encorephp/wxwidgets", "path": "src/Command/Install.php", "func_name": "Install.fire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fire the install command\n\n@return void", "docstring_tokens": ["Fire", "the", "install", "command"], "sha": "01038c897b0ab3c95924f524a7c1093f5951d8f7", "url": "https://github.com/encorephp/wxwidgets/blob/01038c897b0ab3c95924f524a7c1093f5951d8f7/src/Command/Install.php#L18-L25", "partition": "test"} +{"repo": "votemike/dbhelper", "path": "src/Table.php", "func_name": "Table.populateColumnsWithLongestValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go through each column and find the largest value of that field", "docstring_tokens": ["Go", "through", "each", "column", "and", "find", "the", "largest", "value", "of", "that", "field"], "sha": "56ed17d70ec0c8db6412c39b9eb6036f07dac7f5", "url": "https://github.com/votemike/dbhelper/blob/56ed17d70ec0c8db6412c39b9eb6036f07dac7f5/src/Table.php#L42-L60", "partition": "test"} +{"repo": "votemike/dbhelper", "path": "src/Table.php", "func_name": "Table.populateNumericColumnsWithLongestValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go through each column and find the lowest value of that field", "docstring_tokens": ["Go", "through", "each", "column", "and", "find", "the", "lowest", "value", "of", "that", "field"], "sha": "56ed17d70ec0c8db6412c39b9eb6036f07dac7f5", "url": "https://github.com/votemike/dbhelper/blob/56ed17d70ec0c8db6412c39b9eb6036f07dac7f5/src/Table.php#L72-L87", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Util/JsonTransformer.php", "func_name": "JsonTransformer.transform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform Json to Associative Array.\n\n@param string $json\n\n@return array", "docstring_tokens": ["Transform", "Json", "to", "Associative", "Array", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Util/JsonTransformer.php#L19-L27", "partition": "test"} +{"repo": "palmasev/DoctrineORMServiceProvider", "path": "lib/Palma/Silex/Provider/DoctrineORMServiceProvider.php", "func_name": "DoctrineORMServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register ORM on Application\n\n@param Application $app", "docstring_tokens": ["Register", "ORM", "on", "Application"], "sha": "b2787b9ac1b6b591e7f1119e82f945a55e2f5f96", "url": "https://github.com/palmasev/DoctrineORMServiceProvider/blob/b2787b9ac1b6b591e7f1119e82f945a55e2f5f96/lib/Palma/Silex/Provider/DoctrineORMServiceProvider.php#L53-L98", "partition": "test"} +{"repo": "themichaelhall/page-fetcher", "path": "src/PageFetcherRequest.php", "func_name": "PageFetcherRequest.setFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a file to upload.\n\n@since 1.0.0\n\n@param string $name The name.\n@param FilePathInterface $filePath The file path.", "docstring_tokens": ["Sets", "a", "file", "to", "upload", "."], "sha": "83d83af2b3f4e3bdce667bc744650280de115420", "url": "https://github.com/themichaelhall/page-fetcher/blob/83d83af2b3f4e3bdce667bc744650280de115420/src/PageFetcherRequest.php#L132-L136", "partition": "test"} +{"repo": "themichaelhall/page-fetcher", "path": "src/PageFetcherRequest.php", "func_name": "PageFetcherRequest.setPostField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a post field.\n\n@since 1.0.0\n\n@param string $name The name.\n@param string $value The value.", "docstring_tokens": ["Sets", "a", "post", "field", "."], "sha": "83d83af2b3f4e3bdce667bc744650280de115420", "url": "https://github.com/themichaelhall/page-fetcher/blob/83d83af2b3f4e3bdce667bc744650280de115420/src/PageFetcherRequest.php#L146-L150", "partition": "test"} +{"repo": "themichaelhall/page-fetcher", "path": "src/PageFetcherRequest.php", "func_name": "PageFetcherRequest.setRawContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the raw content.\n\n@since 1.0.0\n\n@param string $rawContent The raw content.", "docstring_tokens": ["Sets", "the", "raw", "content", "."], "sha": "83d83af2b3f4e3bdce667bc744650280de115420", "url": "https://github.com/themichaelhall/page-fetcher/blob/83d83af2b3f4e3bdce667bc744650280de115420/src/PageFetcherRequest.php#L159-L164", "partition": "test"} +{"repo": "jonsa/pimple-ioc", "path": "src/ClassResolver.php", "func_name": "ClassResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiate a concrete instance of the given type.\n\n@param string $abstract\n@param array $parameters\n\n@return mixed", "docstring_tokens": ["Instantiate", "a", "concrete", "instance", "of", "the", "given", "type", "."], "sha": "5e882a54cda907d2b5a27eba2266c0df306e9641", "url": "https://github.com/jonsa/pimple-ioc/blob/5e882a54cda907d2b5a27eba2266c0df306e9641/src/ClassResolver.php#L53-L69", "partition": "test"} +{"repo": "jonsa/pimple-ioc", "path": "src/ClassResolver.php", "func_name": "ClassResolver.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind an abstract definition to a concrete implementation.\n\n@param string $abstract\n@param string|\\Closure $concrete\n@param bool $protect", "docstring_tokens": ["Bind", "an", "abstract", "definition", "to", "a", "concrete", "implementation", "."], "sha": "5e882a54cda907d2b5a27eba2266c0df306e9641", "url": "https://github.com/jonsa/pimple-ioc/blob/5e882a54cda907d2b5a27eba2266c0df306e9641/src/ClassResolver.php#L78-L85", "partition": "test"} +{"repo": "jonsa/pimple-ioc", "path": "src/ClassResolver.php", "func_name": "ClassResolver.getConcrete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the concrete type for a given abstract.\n\n@param string $abstract\n\n@return mixed $concrete", "docstring_tokens": ["Get", "the", "concrete", "type", "for", "a", "given", "abstract", "."], "sha": "5e882a54cda907d2b5a27eba2266c0df306e9641", "url": "https://github.com/jonsa/pimple-ioc/blob/5e882a54cda907d2b5a27eba2266c0df306e9641/src/ClassResolver.php#L94-L112", "partition": "test"} +{"repo": "jonsa/pimple-ioc", "path": "src/ClassResolver.php", "func_name": "ClassResolver.dispatchEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Relay events to all listeners.\n\n@param string $name\n@param Event $event", "docstring_tokens": ["Relay", "events", "to", "all", "listeners", "."], "sha": "5e882a54cda907d2b5a27eba2266c0df306e9641", "url": "https://github.com/jonsa/pimple-ioc/blob/5e882a54cda907d2b5a27eba2266c0df306e9641/src/ClassResolver.php#L303-L308", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelSpacerGetType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the possible type of a channel spacer.\n\n@param integer $cid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return integer", "docstring_tokens": ["Returns", "the", "possible", "type", "of", "a", "channel", "spacer", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L276-L305", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelSpacerGetAlign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the possible alignment of a channel spacer.\n\n@param integer $cid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return integer", "docstring_tokens": ["Returns", "the", "possible", "alignment", "of", "a", "channel", "spacer", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L314-L337", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelPermAssign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a set of specified permissions to a channel. Multiple permissions can be added by\nproviding the two parameters of each permission.\n\n@param integer $cid\n@param integer $permid\n@param integer $permvalue\n@return void", "docstring_tokens": ["Adds", "a", "set", "of", "specified", "permissions", "to", "a", "channel", ".", "Multiple", "permissions", "can", "be", "added", "by", "providing", "the", "two", "parameters", "of", "each", "permission", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L360-L365", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelPermRemove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a set of specified permissions from a channel. Multiple permissions can be removed at once.\n\n@param integer $cid\n@param integer $permid\n@return void", "docstring_tokens": ["Removes", "a", "set", "of", "specified", "permissions", "from", "a", "channel", ".", "Multiple", "permissions", "can", "be", "removed", "at", "once", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L374-L379", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelClientPermAssign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a set of specified permissions to a client in a specific channel. Multiple permissions can be added by\nproviding the two parameters of each permission.\n\n@param integer $cid\n@param integer $cldbid\n@param integer $permid\n@param integer $permvalue\n@return void", "docstring_tokens": ["Adds", "a", "set", "of", "specified", "permissions", "to", "a", "client", "in", "a", "specific", "channel", ".", "Multiple", "permissions", "can", "be", "added", "by", "providing", "the", "two", "parameters", "of", "each", "permission", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L404-L409", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelClientPermRemove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a set of specified permissions from a client in a specific channel. Multiple permissions can be removed at once.\n\n@param integer $cid\n@param integer $cldbid\n@param integer $permid\n@return void", "docstring_tokens": ["Removes", "a", "set", "of", "specified", "permissions", "from", "a", "client", "in", "a", "specific", "channel", ".", "Multiple", "permissions", "can", "be", "removed", "at", "once", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L419-L424", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelFileList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of files and directories stored in the specified channels file repository.\n\n@param integer $cid\n@param string $cpw\n@param string $path\n@param boolean $recursive\n@return array", "docstring_tokens": ["Returns", "a", "list", "of", "files", "and", "directories", "stored", "in", "the", "specified", "channels", "file", "repository", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L435-L462", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.clientGetById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Client object matching the given ID.\n\n@param integer $clid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Client", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Client", "object", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L698-L706", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.clientGetByUid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Client object matching the given unique identifier.\n\n@param string $uid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Client", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Client", "object", "matching", "the", "given", "unique", "identifier", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L732-L740", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.clientMove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves a client to another channel.\n\n@param integer $clid\n@param integer $cid\n@param string $cpw\n@return void", "docstring_tokens": ["Moves", "a", "client", "to", "another", "channel", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L786-L796", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.clientKick", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kicks one or more clients from their currently joined channel or from the server.\n\n@param integer $clid\n@param integer $reasonid\n@param string $reasonmsg\n@return void", "docstring_tokens": ["Kicks", "one", "or", "more", "clients", "from", "their", "currently", "joined", "channel", "or", "from", "the", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L806-L811", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.clientPermRemove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a set of specified permissions from a client. Multiple permissions can be removed at once.\n\n@param integer $cldbid\n@param integer $permid\n@return void", "docstring_tokens": ["Removes", "a", "set", "of", "specified", "permissions", "from", "a", "client", ".", "Multiple", "permissions", "can", "be", "removed", "at", "once", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L919-L924", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.serverGroupGetById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Servergroup object matching the given ID.\n\n@param integer $sgid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Servergroup", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Servergroup", "object", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1034-L1042", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.serverGroupGetByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Servergroup object matching the given name.\n\n@param string $name\n@param integer $type\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Servergroup", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Servergroup", "object", "matching", "the", "given", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1052-L1060", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.serverGroupPermAssign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a set of specified permissions to the server group specified. Multiple permissions\ncan be added by providing the four parameters of each permission in separate arrays.\n\n@param integer $sgid\n@param integer $permid\n@param integer $permvalue\n@param integer $permnegated\n@param integer $permskip\n@return void", "docstring_tokens": ["Adds", "a", "set", "of", "specified", "permissions", "to", "the", "server", "group", "specified", ".", "Multiple", "permissions", "can", "be", "added", "by", "providing", "the", "four", "parameters", "of", "each", "permission", "in", "separate", "arrays", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1085-L1090", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.serverGroupGetProfiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an ordered array of regular server groups available based on a pre-defined\nset of rules.\n\n@return array", "docstring_tokens": ["Returns", "an", "ordered", "array", "of", "regular", "server", "groups", "available", "based", "on", "a", "pre", "-", "defined", "set", "of", "rules", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1156-L1224", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelGroupGetById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Channelgroup object matching the given ID.\n\n@param integer $cgid\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Channelgroup", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Channelgroup", "object", "matching", "the", "given", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1350-L1358", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelGroupGetByName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the TeamSpeak3_Node_Channelgroup object matching the given name.\n\n@param string $name\n@param integer $type\n@throws \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Adapter\\ServerQuery\\Exception\n@return Channelgroup", "docstring_tokens": ["Returns", "the", "TeamSpeak3_Node_Channelgroup", "object", "matching", "the", "given", "name", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1368-L1376", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.channelGroupPermAssign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a set of specified permissions to the channel group specified. Multiple permissions\ncan be added by providing the two parameters of each permission in separate arrays.\n\n@param integer $cgid\n@param integer $permid\n@param integer $permvalue\n@return void", "docstring_tokens": ["Adds", "a", "set", "of", "specified", "permissions", "to", "the", "channel", "group", "specified", ".", "Multiple", "permissions", "can", "be", "added", "by", "providing", "the", "two", "parameters", "of", "each", "permission", "in", "separate", "arrays", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1399-L1404", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.permReset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restores the default permission settings on the virtual server and returns a new initial\nadministrator privilege key.\n\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Restores", "the", "default", "permission", "settings", "on", "the", "virtual", "server", "and", "returns", "a", "new", "initial", "administrator", "privilege", "key", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1447-L1454", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.iconUpload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uploads a given icon file content to the server and returns the ID of the icon.\n\n@param string $data\n@return integer", "docstring_tokens": ["Uploads", "a", "given", "icon", "file", "content", "to", "the", "server", "and", "returns", "the", "ID", "of", "the", "icon", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1607-L1618", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.snapshotCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns snapshot data for the selected virtual server.\n\n@param string $mode\n@return string", "docstring_tokens": ["Creates", "and", "returns", "snapshot", "data", "for", "the", "selected", "virtual", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L1703-L1721", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.logView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specified number of entries from the servers log.\n\n@param integer $limitcount\n@param string $comparator\n@param string $timestamp\n@return array", "docstring_tokens": ["Returns", "a", "specified", "number", "of", "entries", "from", "the", "servers", "log", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L2029-L2032", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.logAdd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes a custom entry into the virtual server log.\n\n@param string $logmsg\n@param integer $loglevel\n@return void", "docstring_tokens": ["Writes", "a", "custom", "entry", "into", "the", "virtual", "server", "log", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L2041-L2044", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.sortClientList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal callback funtion for sorting of client objects.\n\n@param Client $a\n@param Client $b\n@return integer", "docstring_tokens": ["Internal", "callback", "funtion", "for", "sorting", "of", "client", "objects", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L2159-L2188", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.sortGroupList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal callback funtion for sorting of group objects.\n\n@param AbstractNode $a\n@param AbstractNode $b\n@return integer", "docstring_tokens": ["Internal", "callback", "funtion", "for", "sorting", "of", "group", "objects", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L2197-L2221", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Server.php", "func_name": "Server.sortFileList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal callback funtion for sorting of file list items.\n\n@param array $a\n@param array $b\n@return integer", "docstring_tokens": ["Internal", "callback", "funtion", "for", "sorting", "of", "file", "list", "items", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Server.php#L2230-L2240", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/Servergroup.php", "func_name": "Servergroup.copy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a copy of the server group and returns the new groups ID.\n\n@param string $name\n@param integer $tsgid\n@param integer $type\n@return integer", "docstring_tokens": ["Creates", "a", "copy", "of", "the", "server", "group", "and", "returns", "the", "new", "groups", "ID", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/Servergroup.php#L91-L94", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php", "func_name": "AbstractNode.iconGetName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the internal path of the node icon.\n\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Returns", "the", "internal", "path", "of", "the", "node", "icon", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php#L137-L142", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php", "func_name": "AbstractNode.getClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a possible classname for the node which can be used as a HTML property.\n\n@return string", "docstring_tokens": ["Returns", "a", "possible", "classname", "for", "the", "node", "which", "can", "be", "used", "as", "a", "HTML", "property", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php#L149-L161", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php", "func_name": "AbstractNode.getViewer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the HTML code to display a TeamSpeak 3 viewer.\n\n@param ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Viewer\\ViewerInterface $viewer\n@return string", "docstring_tokens": ["Returns", "the", "HTML", "code", "to", "display", "a", "TeamSpeak", "3", "viewer", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php#L190-L211", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php", "func_name": "AbstractNode.filterList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters given node list array using specified filter rules.\n\n@param array $nodes\n@param array $rules\n@return array", "docstring_tokens": ["Filters", "given", "node", "list", "array", "using", "specified", "filter", "rules", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Node/AbstractNode.php#L220-L252", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/Factory/HydratorFactory.php", "func_name": "HydratorFactory.writeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write PHP file\n\n@param string $filename\n@param string $content", "docstring_tokens": ["Write", "PHP", "file"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/Factory/HydratorFactory.php#L64-L80", "partition": "test"} +{"repo": "makinacorpus/generated-hydrator", "path": "src/GeneratedHydrator/Factory/HydratorFactory.php", "func_name": "HydratorFactory.getHydratorClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the generated hydrator FQCN\n\n@return string", "docstring_tokens": ["Retrieves", "the", "generated", "hydrator", "FQCN"], "sha": "d6a9597548fd3137cebdfa7ae69e763bc5576654", "url": "https://github.com/makinacorpus/generated-hydrator/blob/d6a9597548fd3137cebdfa7ae69e763bc5576654/src/GeneratedHydrator/Factory/HydratorFactory.php#L87-L109", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php", "func_name": "TCP.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects to a remote server.\n\n@throws Exception\n@return void", "docstring_tokens": ["Connects", "to", "a", "remote", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php#L42-L61", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php", "func_name": "TCP.disconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disconnects from a remote server.\n\n@return void", "docstring_tokens": ["Disconnects", "from", "a", "remote", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php#L68-L76", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php", "func_name": "TCP.readLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a single line of data from the stream.\n\n@param string $token\n@throws Exception\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Reads", "a", "single", "line", "of", "data", "from", "the", "stream", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Transport/TCP.php#L109-L141", "partition": "test"} +{"repo": "kiwi-suite/admin42", "path": "src/Crud/Service/CrudOptionsFallbackAbstractFactory.php", "func_name": "CrudOptionsFallbackAbstractFactory.canCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Can the factory create an instance for the service?\n\n@param ContainerInterface $container\n@param string $requestedName\n@return bool", "docstring_tokens": ["Can", "the", "factory", "create", "an", "instance", "for", "the", "service?"], "sha": "c2b635eda83eb392a17223840b847c7bcc44f0cf", "url": "https://github.com/kiwi-suite/admin42/blob/c2b635eda83eb392a17223840b847c7bcc44f0cf/src/Crud/Service/CrudOptionsFallbackAbstractFactory.php#L50-L58", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/RoleController.php", "func_name": "RoleController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store a newly created Role in storage.\n\n@param CreateRoleRequest $request\n\n@return Response", "docstring_tokens": ["Store", "a", "newly", "created", "Role", "in", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/RoleController.php#L54-L69", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/RoleController.php", "func_name": "RoleController.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the specified Role in storage.\n\n@param int $id\n@param UpdateRoleRequest $request\n\n@return Response", "docstring_tokens": ["Update", "the", "specified", "Role", "in", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/RoleController.php#L102-L131", "partition": "test"} +{"repo": "l5starter/permission-manager", "path": "src/Http/Controllers/Admin/RoleController.php", "func_name": "RoleController.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the specified Role from storage.\n\n@param int $id\n\n@return Response", "docstring_tokens": ["Remove", "the", "specified", "Role", "from", "storage", "."], "sha": "9ef607b74a7b95a13164b8d501d7ef112b751f1d", "url": "https://github.com/l5starter/permission-manager/blob/9ef607b74a7b95a13164b8d501d7ef112b751f1d/src/Http/Controllers/Admin/RoleController.php#L140-L155", "partition": "test"} +{"repo": "shokohsc/TwitchApiBundle", "path": "Lib/Client.php", "func_name": "Client.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get resource.\n\n@param string $resource\n@param array $headers\n\n@return \\Guzzle\\Http\\Message\\Response", "docstring_tokens": ["Get", "resource", "."], "sha": "9ee6d2e1609d5dee4c083188a8ef5d916965eb64", "url": "https://github.com/shokohsc/TwitchApiBundle/blob/9ee6d2e1609d5dee4c083188a8ef5d916965eb64/Lib/Client.php#L151-L158", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php", "func_name": "Html.getCorpusClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string for the current corpus element which can be used as a HTML class\nproperty. If the current node is a channel spacer the class string will contain\nadditional class names to allow further customization of the content via CSS.\n\n@return string", "docstring_tokens": ["Returns", "a", "string", "for", "the", "current", "corpus", "element", "which", "can", "be", "used", "as", "a", "HTML", "class", "property", ".", "If", "the", "current", "node", "is", "a", "channel", "spacer", "the", "class", "string", "will", "contain", "additional", "class", "names", "to", "allow", "further", "customization", "of", "the", "content", "via", "CSS", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php#L226-L272", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php", "func_name": "Html.getCorpusIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a HTML img tag which can be used to display the status icon for a\nTeamSpeak_Node_Abstract object.\n\n@return string", "docstring_tokens": ["Returns", "a", "HTML", "img", "tag", "which", "can", "be", "used", "to", "display", "the", "status", "icon", "for", "a", "TeamSpeak_Node_Abstract", "object", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php#L306-L311", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php", "func_name": "Html.getCorpusName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string for the current corpus element which contains the display name\nfor the current TeamSpeak_Node_Abstract object.\n\n@return string", "docstring_tokens": ["Returns", "a", "string", "for", "the", "current", "corpus", "element", "which", "contains", "the", "display", "name", "for", "the", "current", "TeamSpeak_Node_Abstract", "object", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php#L319-L356", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php", "func_name": "Html.getSuffixFlag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a HTML img tag which can be used to display the country flag for a\nTeamSpeak_Node_Client object.\n\n@return string", "docstring_tokens": ["Returns", "a", "HTML", "img", "tag", "which", "can", "be", "used", "to", "display", "the", "country", "flag", "for", "a", "TeamSpeak_Node_Client", "object", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Viewer/Html.php#L617-L625", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php", "func_name": "FileTransfer.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a valid file transfer key to the server to initialize the file transfer.\n\n@param string $ftkey\n@throws FileTransfer\\Exception\n@return void", "docstring_tokens": ["Sends", "a", "valid", "file", "transfer", "key", "to", "the", "server", "to", "initialize", "the", "file", "transfer", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php#L73-L84", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php", "func_name": "FileTransfer.upload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the content of a file to the server.\n\n@param string $ftkey\n@param integer $seek\n@param string $data\n@throws FileTransfer\\Exception\n@return void", "docstring_tokens": ["Sends", "the", "content", "of", "a", "file", "to", "the", "server", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php#L95-L125", "partition": "test"} +{"repo": "maniaplanet/manialive-plugins", "path": "Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php", "func_name": "FileTransfer.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the content of a downloaded file as a \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String object.\n\n@param string $ftkey\n@param integer $size\n@param boolean $passthru\n@throws FileTransfer\\Exception\n@return \\ManiaLivePlugins\\Standard\\TeamSpeak\\TeamSpeak3\\Helper\\String", "docstring_tokens": ["Returns", "the", "content", "of", "a", "downloaded", "file", "as", "a", "\\", "ManiaLivePlugins", "\\", "Standard", "\\", "TeamSpeak", "\\", "TeamSpeak3", "\\", "Helper", "\\", "String", "object", "."], "sha": "f3f37da6836fe3d06fed32e75880caa6e9c0496b", "url": "https://github.com/maniaplanet/manialive-plugins/blob/f3f37da6836fe3d06fed32e75880caa6e9c0496b/Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php#L136-L173", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getSessionContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the SessionContext object\n\n@return \\Openbizx\\Web\\SessionContext the SessionContext object", "docstring_tokens": ["Get", "the", "SessionContext", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L203-L210", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getTypeManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the TypeManager object\n\n@return TypeManager the TypeManager object", "docstring_tokens": ["Get", "the", "TypeManager", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L219-L233", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getDBConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the database connection object\n\n@param string $dbName database name declared in config.xml\n@return \\Zend_Db_Adapter_Abstract", "docstring_tokens": ["Get", "the", "database", "connection", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L243-L293", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.removeDBConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove database connection by name\n@param string $dbName\n@return \\Zend_Db_Adapter_Abstract", "docstring_tokens": ["Remove", "database", "connection", "by", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L300-L307", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.processSecurityFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process Security Filters\n\n@return boolean true if success, and false if have error", "docstring_tokens": ["Process", "Security", "Filters"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L380-L395", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.dispatchRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatches client requests to proper objects, print the returned html text.\n\n@return string", "docstring_tokens": ["Dispatches", "client", "requests", "to", "proper", "objects", "print", "the", "returned", "html", "text", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L402-L413", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the parameter from the url\n\n@return array parameter array", "docstring_tokens": ["Get", "the", "parameter", "from", "the", "url"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L420-L433", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.renderView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a bizview\n\n@param string $webpageName name of bizview\n@param string $rule the search rule of a bizform who is not depent on (a subctrl of) another bizform\n@return void", "docstring_tokens": ["Render", "a", "bizview"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L464-L494", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.validateRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the request from client.\n\n@param object $obj the to be called object\n@param string $methodName the to be called method name\n@return boolean", "docstring_tokens": ["Validate", "the", "request", "from", "client", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L584-L592", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.dispatchView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch request to view", "docstring_tokens": ["Dispatch", "request", "to", "view"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L597-L608", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.redirectToDefaultModuleView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Goto default view of module\n\n@param string $pmodule\n@todo need to move to front controller", "docstring_tokens": ["Goto", "default", "view", "of", "module"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L637-L644", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.redirectToDefaultUserView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Goto default view of user\n\n@todo have options : redirect or renderDefaultView", "docstring_tokens": ["Goto", "default", "view", "of", "user"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L651-L659", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.initUserProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize User Profile\n\n@param string $username\n@return array Profile array\n@todo need to move, only used in profileService", "docstring_tokens": ["Initialize", "User", "Profile"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L756-L767", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getUserPreference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get user preference\n\n@param string $attribute key that representing attribute\n@return mixed", "docstring_tokens": ["Get", "user", "preference"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L796-L808", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getDefaultPerm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default user perm\n@param type $pgroup\n@return string", "docstring_tokens": ["Get", "default", "user", "perm"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L815-L846", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getCurrentViewName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current view name\n\n@return string current view name", "docstring_tokens": ["Get", "the", "current", "view", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L855-L861", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.setCurrentViewName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the current view name\n\n@param string $viewname new current view name", "docstring_tokens": ["Set", "the", "current", "view", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L868-L872", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getCurrentViewSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current view set\n\n@return string current view set", "docstring_tokens": ["Get", "the", "current", "view", "set"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L881-L887", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.setCurrentViewSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set current view set\n\n@param $viewSet", "docstring_tokens": ["Set", "current", "view", "set"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L894-L898", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.setBasePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the root directory of the application.\nThis method can only be invoked at the beginning of the constructor.\n\n@param string $path the root directory of the application.\n@throws InvalidParamException if the directory does not exist.", "docstring_tokens": ["Sets", "the", "root", "directory", "of", "the", "application", ".", "This", "method", "can", "only", "be", "invoked", "at", "the", "beginning", "of", "the", "constructor", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L944-L952", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Application.php", "func_name": "Application.getModulePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get module path of application.\n@return string", "docstring_tokens": ["Get", "module", "path", "of", "application", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Application.php#L1069-L1075", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Hasher.php", "func_name": "Hasher.hashSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vyhleda podle hashe\n@param Selection|QueryBuilder|DbalCollection $data\n@param string|array $columns\n@param string $hash\n@return Selection|QueryBuilder\n@throws InvalidArgumentException", "docstring_tokens": ["Vyhleda", "podle", "hashe"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Hasher.php#L49-L74", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Hasher.php", "func_name": "Hasher.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Zkontroluje zda je hash vytvoren z daneho retezce\n@param mixed $string\n@param string $hash\n@return bool", "docstring_tokens": ["Zkontroluje", "zda", "je", "hash", "vytvoren", "z", "daneho", "retezce"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Hasher.php#L82-L85", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/emailService.php", "func_name": "emailService.readMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read array meta-data, and store to meta-object\n\n@param array $xmlArr\n@return void", "docstring_tokens": ["Read", "array", "meta", "-", "data", "and", "store", "to", "meta", "-", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/emailService.php#L110-L119", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/emailService.php", "func_name": "emailService.useAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will set the Default Transport object for the mail object based on the supplied accountname\n\n@param string $accountName\n@return boolean TRUE/FALSE", "docstring_tokens": ["Will", "set", "the", "Default", "Transport", "object", "for", "the", "mail", "object", "based", "on", "the", "supplied", "accountname"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/emailService.php#L147-L171", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/emailService.php", "func_name": "emailService.sendEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A convenience function that will issue an email based on the parameter provided\nWill log email attempts but will NOT run the body through a template\n\n@param array $TOs\n@param array $CCs\n@param array $BCCs\n@param array $subject\n@param array $body\n@param array $attachments\n@param boolean $isHTML\n@return boolean $result - TRUE on success, FALSE on failure", "docstring_tokens": ["A", "convenience", "function", "that", "will", "issue", "an", "email", "based", "on", "the", "parameter", "provided", "Will", "log", "email", "attempts", "but", "will", "NOT", "run", "the", "body", "through", "a", "template"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/emailService.php#L186-L240", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/emailService.php", "func_name": "emailService.logEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log that an email attemp was made.\nWe assume it was successfull, since \\Zend_Mail throws an exception otherwise\n\n@param string $subject\n@param array $To\n@param array $CCs\n@param array $BCCs\n@return mixed boolean|string|void", "docstring_tokens": ["Log", "that", "an", "email", "attemp", "was", "made", ".", "We", "assume", "it", "was", "successfull", "since", "\\", "Zend_Mail", "throws", "an", "exception", "otherwise"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/emailService.php#L252-L323", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Tags.php", "func_name": "Tags.Info", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets infor about a particular tag\n@access public\n@param string $tag A tag name\n@param string $token An access token\n@return Response", "docstring_tokens": ["Gets", "infor", "about", "a", "particular", "tag"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Tags.php#L61-L67", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/ClassLoader.php", "func_name": "ClassLoader.getAutoloadLibFileWithPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get openbiz library php file path for autoload, remove metadata package searching\n\n@param string $className\n@return string php library file path", "docstring_tokens": ["Get", "openbiz", "library", "php", "file", "path", "for", "autoload", "remove", "metadata", "package", "searching"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/ClassLoader.php#L69-L93", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/ClassLoader.php", "func_name": "ClassLoader.loadMetadataClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load class of MetaObject\n\n@param type $className\n@param type $packageName\n@return boolean", "docstring_tokens": ["Load", "class", "of", "MetaObject"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/ClassLoader.php#L102-L117", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/ClassLoader.php", "func_name": "ClassLoader.getCoreLibFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get core path of class\n\n@param string $className class name\n@return string full file name of class", "docstring_tokens": ["Get", "core", "path", "of", "class"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/ClassLoader.php#L125-L152", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/ClassLoader.php", "func_name": "ClassLoader.findClassFileOnCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find class file location from cache dictionary.\n@param type $className\n@return string|null full path filename if found or null if not found", "docstring_tokens": ["Find", "class", "file", "location", "from", "cache", "dictionary", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/ClassLoader.php#L236-L244", "partition": "test"} +{"repo": "UWEnrollmentManagement/Person", "path": "src/Alumni.php", "func_name": "Alumni.fill", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an Alumni from a Person and a set of supplementary attributes.\n\n@param Person $person\n@param array $attrs\n@return Alumni", "docstring_tokens": ["Create", "an", "Alumni", "from", "a", "Person", "and", "a", "set", "of", "supplementary", "attributes", "."], "sha": "b4434410996f736171a56c077217e4948a682627", "url": "https://github.com/UWEnrollmentManagement/Person/blob/b4434410996f736171a56c077217e4948a682627/src/Alumni.php#L31-L39", "partition": "test"} +{"repo": "monolyth-php/croney", "path": "src/Scheduler.php", "func_name": "Scheduler.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a job to the schedule.\n\n@param string $name\n@param callable $job The job.", "docstring_tokens": ["Add", "a", "job", "to", "the", "schedule", "."], "sha": "008334d104d689e24af600b74151c9447a934438", "url": "https://github.com/monolyth-php/croney/blob/008334d104d689e24af600b74151c9447a934438/src/Scheduler.php#L46-L52", "partition": "test"} +{"repo": "monolyth-php/croney", "path": "src/Scheduler.php", "func_name": "Scheduler.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the schedule and run all jobs which are due.\n\n@return void", "docstring_tokens": ["Process", "the", "schedule", "and", "run", "all", "jobs", "which", "are", "due", "."], "sha": "008334d104d689e24af600b74151c9447a934438", "url": "https://github.com/monolyth-php/croney/blob/008334d104d689e24af600b74151c9447a934438/src/Scheduler.php#L59-L104", "partition": "test"} +{"repo": "monolyth-php/croney", "path": "src/Scheduler.php", "func_name": "Scheduler.at", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The job should run \"at\" the specified time.\n\n@param string $datestring A string parsable by `date` that should match\nthe current script runtime for the job to execute.\n@return void\n@throws Monolyth\\Croney\\NotDueException if the task isn't due yet.", "docstring_tokens": ["The", "job", "should", "run", "at", "the", "specified", "time", "."], "sha": "008334d104d689e24af600b74151c9447a934438", "url": "https://github.com/monolyth-php/croney/blob/008334d104d689e24af600b74151c9447a934438/src/Scheduler.php#L114-L124", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/ColumnListbox.php", "func_name": "ColumnListbox.renderLabel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "When render table, it return the table header; when render array, it return the display name\n\n@return string HTML text", "docstring_tokens": ["When", "render", "table", "it", "return", "the", "table", "header", ";", "when", "render", "array", "it", "return", "the", "display", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/ColumnListbox.php#L59-L83", "partition": "test"} +{"repo": "koolkode/expression", "path": "src/DefaultContext.php", "func_name": "DefaultContext.flattenPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flatten the given exploded path into a string representation.\n\n@param array $path\n@return string", "docstring_tokens": ["Flatten", "the", "given", "exploded", "path", "into", "a", "string", "representation", "."], "sha": "cd24262530d94b8584059c0c2a08a5a432acbbf2", "url": "https://github.com/koolkode/expression/blob/cd24262530d94b8584059c0c2a08a5a432acbbf2/src/DefaultContext.php#L405-L438", "partition": "test"} +{"repo": "BlessedAlliance/AimWorld", "path": "src/Module.php", "func_name": "Module.getConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return default configuration for zend-mvc applications.", "docstring_tokens": ["Return", "default", "configuration", "for", "zend", "-", "mvc", "applications", "."], "sha": "c2833bc4f11a031ff086df9e776be469bbe592f5", "url": "https://github.com/BlessedAlliance/AimWorld/blob/c2833bc4f11a031ff086df9e776be469bbe592f5/src/Module.php#L60-L74", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/WebRequest.php", "func_name": "WebRequest.Create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new cURL reuest and adds to the request queue for processing\n@param string $url The url in which to make the request\n@param string $method The method used to make the request [GET|POST|DELETE]\n@param array $parameters Array of key/value pairs to pass to the request\n@return mixed A WebRequestManager to manage the current request on success, Error on failure\n@access public", "docstring_tokens": ["Creates", "a", "new", "cURL", "reuest", "and", "adds", "to", "the", "request", "queue", "for", "processing"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/WebRequest.php#L179-L217", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/WebRequest.php", "func_name": "WebRequest.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs through the request queue and processes completed requests\n@access private", "docstring_tokens": ["Runs", "through", "the", "request", "queue", "and", "processes", "completed", "requests"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/WebRequest.php#L251-L258", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/chartService.php", "func_name": "chartService.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get plot data array\n\n@param BizObj $bizObj object reference of bizobj\n@param array $fields list of bizobj fields\n@param array $labelField label field of bizobj\n@return array reference of the array [field][index]", "docstring_tokens": ["Get", "plot", "data", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/chartService.php#L98-L115", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/chartService.php", "func_name": "chartService.renderXYPlot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw the XY type plot\n\n@param array $data plot data array reference\n@param array $xmlArr xml array reference\n@return object refernce XY plot object reference", "docstring_tokens": ["Draw", "the", "XY", "type", "plot"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/chartService.php#L230-L288", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/chartService.php", "func_name": "chartService._getMark", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the point make number\n\n@param string $mark point mark string\n@access private\n@return integer mark number", "docstring_tokens": ["Get", "the", "point", "make", "number"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/chartService.php#L407-L422", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/chartService.php", "func_name": "chartService._getFont", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the font number\n\n@param string $font font string\n@access private\n@return integer font number", "docstring_tokens": ["Get", "the", "font", "number"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/chartService.php#L431-L443", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instaphp.php", "func_name": "Instaphp.Instance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "I AM SINGLETON\nWe don't need to go instantiating all these objects more than once here\n@return Instaphp", "docstring_tokens": ["I", "AM", "SINGLETON", "We", "don", "t", "need", "to", "go", "instantiating", "all", "these", "objects", "more", "than", "once", "here"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instaphp.php#L126-L132", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Traits/Document/Attributable.php", "func_name": "Attributable.getAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get attribute by key\n\n@param string $group\n\n@return array", "docstring_tokens": ["Get", "attribute", "by", "key"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Traits/Document/Attributable.php#L66-L73", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Traits/Document/Attributable.php", "func_name": "Attributable.setAttributeInGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set attributes by group and key\n\n@param string $group\n@param string $key\n@param array $attributes\n\n@return self", "docstring_tokens": ["Set", "attributes", "by", "group", "and", "key"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Traits/Document/Attributable.php#L84-L89", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Traits/Document/Attributable.php", "func_name": "Attributable.getAttributeInGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get attribute by group and key. It will return null if doesn't exists\n\n@param array $group\n@param string $key\n\n@return string|null", "docstring_tokens": ["Get", "attribute", "by", "group", "and", "key", ".", "It", "will", "return", "null", "if", "doesn", "t", "exists"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Traits/Document/Attributable.php#L99-L106", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/Eloquent/ModelRepository.php", "func_name": "ModelRepository.findOrCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a model by its primary key. If not then ne instance is being created.\n\n@param int $id\n@param array $columns\n@return Model", "docstring_tokens": ["Find", "a", "model", "by", "its", "primary", "key", ".", "If", "not", "then", "ne", "instance", "is", "being", "created", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/Eloquent/ModelRepository.php#L42-L50", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/Eloquent/ModelRepository.php", "func_name": "ModelRepository.getModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get repository model's instance.\n\n@return Model\n\n@throws Exceptions\\NoModelSetException", "docstring_tokens": ["Get", "repository", "model", "s", "instance", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/Eloquent/ModelRepository.php#L129-L136", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.uniqueId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Unique ID if function is not string\n\n@param string $hookName determine the hook name\n@param callable $function function to call\n@param integer $priority the priority of hooks\n\n@access private\n@return string|bool", "docstring_tokens": ["Create", "Unique", "ID", "if", "function", "is", "not", "string"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L58-L97", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.callAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the 'all' hook, which will process the functions hooked into it.\n\nThe 'all' hook passes all of the arguments or parameters that were used for\nthe hook, which this function was called for.\n\nInherited docs from WordPress :\n-------------------------------\nThis function is used internally for apply_filters(), do_action(), and\ndo_action_ref_array() and is not meant to be used from outside those\nfunctions. This function does not check for the existence of the all hook, so\nit will fail unless the all hook exists prior to this function call.\n\n@access private\n@param array $args The collected parameters from the hook that was called.", "docstring_tokens": ["Call", "the", "all", "hook", "which", "will", "process", "the", "functions", "hooked", "into", "it", "."], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L115-L127", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.append", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Appending Hooks Function, if hooks existor just append the hooks\n\n@param string $hookName Hook Name\n@param Callable $callable Callable\n@param integer $priority priority\n@param integer $accepted_args num count of accepted args / parameter\n@param boolean $create true if want to create new if not exists\n\n@return boolean", "docstring_tokens": ["Appending", "Hooks", "Function", "if", "hooks", "existor", "just", "append", "the", "hooks"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L191-L197", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if hook name exists\n\n@param string $hookName Hook name\n@param string|mixed $function_to_check Specially Functions on Hook\n\n@return boolean|int", "docstring_tokens": ["Check", "if", "hook", "name", "exists"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L207-L246", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call hook from existing declared hook record\n\n@param string $hookName Hook Name\n@param string $arg the arguments for next parameter\n\n@return boolean", "docstring_tokens": ["Call", "hook", "from", "existing", "declared", "hook", "record"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L329-L389", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace Hooks Function, this will replace all existing hooks\n\n@param string $hookName Hook Name\n@param string $function_to_replace Function to replace\n@param Callable $callable Callable\n@param integer $priority priority\n@param integer $accepted_args num count of accepted args / parameter\n@param boolean $create true if want to create new if not exists\n\n@return boolean\n@throws \\Exception", "docstring_tokens": ["Replace", "Hooks", "Function", "this", "will", "replace", "all", "existing", "hooks"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L404-L428", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count all existences Hook\n\n@param string $hookName Hook name\n\n@return integer Hooks Count", "docstring_tokens": ["Count", "all", "existences", "Hook"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L499-L506", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.isDo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if hook has doing\n\n@param string $hookName Hook name\n\n@return boolean true if has doing", "docstring_tokens": ["Check", "if", "hook", "has", "doing"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L515-L523", "partition": "test"} +{"repo": "pentagonal/Hookable", "path": "src/Pentagonal/Hookable/Hookable.php", "func_name": "Hookable.isCalled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if action hook as execute\n\n@param string $hookName Hook Name\n\n@return integer Count of hook action if has did action", "docstring_tokens": ["Check", "if", "action", "hook", "as", "execute"], "sha": "fc5b6d334f26dc78c8890231093c3be36892a1a0", "url": "https://github.com/pentagonal/Hookable/blob/fc5b6d334f26dc78c8890231093c3be36892a1a0/src/Pentagonal/Hookable/Hookable.php#L532-L540", "partition": "test"} +{"repo": "ender9108/middle-earth-framework", "path": "src/Application/App.php", "func_name": "App.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add route on router.\n\n@param string $path\n@param null $middlewares\n@param string|null $method\n@param string|null $name\n\n@throws \\InvalidArgumentException\n\n@return Route", "docstring_tokens": ["Add", "route", "on", "router", "."], "sha": "878e94d6bb993fe03fe02b424a642ae27a11f2bb", "url": "https://github.com/ender9108/middle-earth-framework/blob/878e94d6bb993fe03fe02b424a642ae27a11f2bb/src/Application/App.php#L109-L150", "partition": "test"} +{"repo": "ender9108/middle-earth-framework", "path": "src/Application/App.php", "func_name": "App.pipe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add middleware on pipe.\n\n@param $path\n@param null $middlewares\n@param string|null $env\n\n@return App\n\n@internal param bool $first", "docstring_tokens": ["Add", "middleware", "on", "pipe", "."], "sha": "878e94d6bb993fe03fe02b424a642ae27a11f2bb", "url": "https://github.com/ender9108/middle-earth-framework/blob/878e94d6bb993fe03fe02b424a642ae27a11f2bb/src/Application/App.php#L204-L234", "partition": "test"} +{"repo": "ender9108/middle-earth-framework", "path": "src/Application/App.php", "func_name": "App.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start process dispatcher.\n\n@param null|ServerRequestInterface $request\n@param bool $returnResponse\n\n@return void|\\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Start", "process", "dispatcher", "."], "sha": "878e94d6bb993fe03fe02b424a642ae27a11f2bb", "url": "https://github.com/ender9108/middle-earth-framework/blob/878e94d6bb993fe03fe02b424a642ae27a11f2bb/src/Application/App.php#L244-L268", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Command/SignalExecutionCommand.php", "func_name": "SignalExecutionCommand.singalExecution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform logic to actually signal the execution.\n\n@param Node $node\n@param Execution $execution\n@param array $vars\n@param array $delegation", "docstring_tokens": ["Perform", "logic", "to", "actually", "signal", "the", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Command/SignalExecutionCommand.php#L121-L128", "partition": "test"} +{"repo": "SugiPHP/Container", "path": "src/Container.php", "func_name": "Container.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a parameter defined in an unique key ID.\nYou can set objects as a closures.\n\n@param string $id Key Name\n@param mixed $value Value or closure function\n\n@return void", "docstring_tokens": ["Sets", "a", "parameter", "defined", "in", "an", "unique", "key", "ID", ".", "You", "can", "set", "objects", "as", "a", "closures", "."], "sha": "612321c2a5121f5ecd38a00f74b871d00640ffc4", "url": "https://github.com/SugiPHP/Container/blob/612321c2a5121f5ecd38a00f74b871d00640ffc4/src/Container.php#L112-L121", "partition": "test"} +{"repo": "SugiPHP/Container", "path": "src/Container.php", "func_name": "Container.raw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a raw definition. Used when a closure is set and\nyou want to get the closure not the result of it.\n\n@param string $idOrClosure\n\n@return mixed Returns whatever it is stored in the key. NULL if\nnothing is stored.", "docstring_tokens": ["Returns", "a", "raw", "definition", ".", "Used", "when", "a", "closure", "is", "set", "and", "you", "want", "to", "get", "the", "closure", "not", "the", "result", "of", "it", "."], "sha": "612321c2a5121f5ecd38a00f74b871d00640ffc4", "url": "https://github.com/SugiPHP/Container/blob/612321c2a5121f5ecd38a00f74b871d00640ffc4/src/Container.php#L199-L212", "partition": "test"} +{"repo": "ivopetkov/encryption-bearframework-addon", "path": "classes/Encryption.php", "func_name": "Encryption.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts the value provided. The default key will be used if none specified.\n\n@param string $value\n@param string $key\n@return string", "docstring_tokens": ["Encrypts", "the", "value", "provided", ".", "The", "default", "key", "will", "be", "used", "if", "none", "specified", "."], "sha": "4d431d91d88a74a08c1b3f5fdb2a4813222778bf", "url": "https://github.com/ivopetkov/encryption-bearframework-addon/blob/4d431d91d88a74a08c1b3f5fdb2a4813222778bf/classes/Encryption.php#L47-L54", "partition": "test"} +{"repo": "ivopetkov/encryption-bearframework-addon", "path": "classes/Encryption.php", "func_name": "Encryption.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts the value provided. The default key will be used if none specified.\n\n@param string $value\n@param string $key\n@return string", "docstring_tokens": ["Decrypts", "the", "value", "provided", ".", "The", "default", "key", "will", "be", "used", "if", "none", "specified", "."], "sha": "4d431d91d88a74a08c1b3f5fdb2a4813222778bf", "url": "https://github.com/ivopetkov/encryption-bearframework-addon/blob/4d431d91d88a74a08c1b3f5fdb2a4813222778bf/classes/Encryption.php#L63-L75", "partition": "test"} +{"repo": "ivopetkov/encryption-bearframework-addon", "path": "classes/Encryption.php", "func_name": "Encryption.getDefaultKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the default key.", "docstring_tokens": ["Returns", "the", "default", "key", "."], "sha": "4d431d91d88a74a08c1b3f5fdb2a4813222778bf", "url": "https://github.com/ivopetkov/encryption-bearframework-addon/blob/4d431d91d88a74a08c1b3f5fdb2a4813222778bf/classes/Encryption.php#L80-L99", "partition": "test"} +{"repo": "Koudela/eArc-di", "path": "src/DependencyObject.php", "func_name": "DependencyObject.calculateArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the arguments for the enclosed object.\n\n@param array $config\n@return array", "docstring_tokens": ["Calculate", "the", "arguments", "for", "the", "enclosed", "object", "."], "sha": "68ad2b50494dd7d738170b99680e75499558222e", "url": "https://github.com/Koudela/eArc-di/blob/68ad2b50494dd7d738170b99680e75499558222e/src/DependencyObject.php#L73-L94", "partition": "test"} +{"repo": "virgiligarcia/NGB", "path": "src/NGB/Db/MySQLy/MySQL.php", "func_name": "MySQL.getStrType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Devuelve el tipo para el bind\n@param string $str\n@return string", "docstring_tokens": ["Devuelve", "el", "tipo", "para", "el", "bind"], "sha": "99f2db29fb042b887dd3795db076354b211a6796", "url": "https://github.com/virgiligarcia/NGB/blob/99f2db29fb042b887dd3795db076354b211a6796/src/NGB/Db/MySQLy/MySQL.php#L172-L181", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Route.php", "func_name": "Route.addApp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Link an app to this route.\n@param string $path The path to the app\n@param string $ext The file extension for this app\n@param string $module The module this app belongs to\n@return Route Provides fluent interface", "docstring_tokens": ["Link", "an", "app", "to", "this", "route", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Route.php#L66-L80", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Route.php", "func_name": "Route.getSubRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a sub route for the specified route part. If a\nchild node does not exist yet, it will be created.\n@param string $route_part The child route part\n@return Route The child node", "docstring_tokens": ["Get", "a", "sub", "route", "for", "the", "specified", "route", "part", ".", "If", "a", "child", "node", "does", "not", "exist", "yet", "it", "will", "be", "created", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Route.php#L88-L96", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Route.php", "func_name": "Route.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serialize the route.\n@return string data The serialized route", "docstring_tokens": ["Serialize", "the", "route", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Route.php#L161-L169", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Route.php", "func_name": "Route.unserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unserialize the route from serialized PHP data\n@param string $data The PHP Serialized data", "docstring_tokens": ["Unserialize", "the", "route", "from", "serialized", "PHP", "data"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Route.php#L175-L182", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getYearToActual", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati pocatecni rok - aktualni rok. V pripade, ze se shoduji pouze aktualni\n@param int $beginYear pocatecni rok\n@return string napr: 2012 - 2014 nebo pouze 2014", "docstring_tokens": ["Vrati", "pocatecni", "rok", "-", "aktualni", "rok", ".", "V", "pripade", "ze", "se", "shoduji", "pouze", "aktualni"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L138-L146", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getCurrentTimeStamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati aktualni cas na milivteriny\n@return string", "docstring_tokens": ["Vrati", "aktualni", "cas", "na", "milivteriny"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L152-L158", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati nazev dne\n@param int|DateTimeInterface $day\n@return string", "docstring_tokens": ["Vrati", "nazev", "dne"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L165-L174", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getShortDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati zkraceny nazev dne\n@param int|DateTimeInterface $day\n@return string", "docstring_tokens": ["Vrati", "zkraceny", "nazev", "dne"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L181-L190", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati nazev mesice\n@param int|DateTimeInterface $month\n@return string", "docstring_tokens": ["Vrati", "nazev", "mesice"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L197-L206", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getShortMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati zkraceny nazev mesice\n@param int|DateTimeInterface $month\n@return string", "docstring_tokens": ["Vrati", "zkraceny", "nazev", "mesice"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L213-L222", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.formatDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati lokalizovany format data\n@param DateTimeInterface|int $datetime\n@param string $format\n@return string|null", "docstring_tokens": ["Vrati", "lokalizovany", "format", "data"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L266-L276", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Date.php", "func_name": "Date.getDateTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lokalizovane datum s casem\n@param DateTimeInterface|int $datetime datum nebo timestamp\n@param bool $withSeconds\n@return null|string", "docstring_tokens": ["Lokalizovane", "datum", "s", "casem"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Date.php#L294-L297", "partition": "test"} +{"repo": "amcms/core", "path": "src/Application.php", "func_name": "Application.registerBaseServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register some \"internal\" services\n@return void", "docstring_tokens": ["Register", "some", "internal", "services"], "sha": "161eb48a78c2ed0f64866ca9c7ab0efac1091b8b", "url": "https://github.com/amcms/core/blob/161eb48a78c2ed0f64866ca9c7ab0efac1091b8b/src/Application.php#L22-L55", "partition": "test"} +{"repo": "togucms/AdminBundle", "path": "Controller/SectionTreeController.php", "func_name": "SectionTreeController.postSectiontreeAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Section record\n\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Create", "a", "new", "Section", "record"], "sha": "bb2eec8067eaaad91022d3ce5e93e5ee690624fa", "url": "https://github.com/togucms/AdminBundle/blob/bb2eec8067eaaad91022d3ce5e93e5ee690624fa/Controller/SectionTreeController.php#L116-L161", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Entity/SessionEntity.php", "func_name": "SessionEntity.setOwner", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the session owner\n\n@param string $type The type of the owner (e.g. user, app)\n@param string $id The identifier of the owner\n\n@return self", "docstring_tokens": ["Set", "the", "session", "owner"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Entity/SessionEntity.php#L250-L256", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingMinifyFilter.php", "func_name": "PleasingMinifyFilter.removeComments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes comments from a multi line string while preserving any comments that mention licenses, authors, copyrights\nor the source URL of the code. This ensures that minification does not break most open source licenses which\nrequire attribution.\n\n@param string $input\n@param bool $proxy\n\n@return string", "docstring_tokens": ["Removes", "comments", "from", "a", "multi", "line", "string", "while", "preserving", "any", "comments", "that", "mention", "licenses", "authors", "copyrights", "or", "the", "source", "URL", "of", "the", "code", ".", "This", "ensures", "that", "minification", "does", "not", "break", "most", "open", "source", "licenses", "which", "require", "attribution", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingMinifyFilter.php#L83-L119", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingMinifyFilter.php", "func_name": "PleasingMinifyFilter.minifyCSS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minify CSS by removing unneeded code.\n\nRegex references from:\nhttp://stackoverflow.com/questions/15195750/minify-compress-css-with-regex\nhttp://stackoverflow.com/questions/2167793/how-to-convert-all-color-code-xxyyzz-to-shorter-3-character-version-xyz-of-who\n\n@param string $input The string of CSS code to minify\n\n@return string The minified CSS code.", "docstring_tokens": ["Minify", "CSS", "by", "removing", "unneeded", "code", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingMinifyFilter.php#L160-L185", "partition": "test"} +{"repo": "amcms/core", "path": "src/View/TwigView.php", "func_name": "TwigView.setGlobal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds global variable to view\n@param string $name\n@param string $value\n@param array $options", "docstring_tokens": ["Adds", "global", "variable", "to", "view"], "sha": "161eb48a78c2ed0f64866ca9c7ab0efac1091b8b", "url": "https://github.com/amcms/core/blob/161eb48a78c2ed0f64866ca9c7ab0efac1091b8b/src/View/TwigView.php#L17-L23", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/StringUtils.php", "func_name": "StringUtils.quote", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encloses and input string with double quotes.\n@param string $val\n@param string $q\n@return string", "docstring_tokens": ["Encloses", "and", "input", "string", "with", "double", "quotes", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/StringUtils.php#L39-L50", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/StringUtils.php", "func_name": "StringUtils.explodeGeneric", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generic explode function.\n@param string $input\n@param array $delims Array containing delimiter characters.\n@return array", "docstring_tokens": ["Generic", "explode", "function", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/StringUtils.php#L58-L67", "partition": "test"} +{"repo": "inri13666/AkumaUserBundle", "path": "Entity/User.php", "func_name": "User.getRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass a string, get the desired Role object or null.\n\n@param string $role\n\n@return Role|null", "docstring_tokens": ["Pass", "a", "string", "get", "the", "desired", "Role", "object", "or", "null", "."], "sha": "b229d801f9dc47ab04e750fcecfa8f79deacf1af", "url": "https://github.com/inri13666/AkumaUserBundle/blob/b229d801f9dc47ab04e750fcecfa8f79deacf1af/Entity/User.php#L514-L522", "partition": "test"} +{"repo": "inri13666/AkumaUserBundle", "path": "Entity/User.php", "func_name": "User.addRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a Role OBJECT to the ArrayCollection. Can't type hint due to interface so throws Exception.\n\n@throws \\Exception\n\n@param Role $role\n\n@return \\FOS\\UserBundle\\Model\\UserInterface|void", "docstring_tokens": ["Adds", "a", "Role", "OBJECT", "to", "the", "ArrayCollection", ".", "Can", "t", "type", "hint", "due", "to", "interface", "so", "throws", "Exception", "."], "sha": "b229d801f9dc47ab04e750fcecfa8f79deacf1af", "url": "https://github.com/inri13666/AkumaUserBundle/blob/b229d801f9dc47ab04e750fcecfa8f79deacf1af/Entity/User.php#L543-L556", "partition": "test"} +{"repo": "inri13666/AkumaUserBundle", "path": "Entity/User.php", "func_name": "User.hasRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Never use this to check if this user has access to anything!\n\nUse the SecurityContext, or an implementation of AccessDecisionManager\ninstead, e.g.\n\n$securityContext->isGranted('ROLE_USER');\n\n@param string $role\n\n@return boolean", "docstring_tokens": ["Never", "use", "this", "to", "check", "if", "this", "user", "has", "access", "to", "anything!"], "sha": "b229d801f9dc47ab04e750fcecfa8f79deacf1af", "url": "https://github.com/inri13666/AkumaUserBundle/blob/b229d801f9dc47ab04e750fcecfa8f79deacf1af/Entity/User.php#L589-L599", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/ErrorHandler.php", "func_name": "ErrorHandler.errorHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "User error handler\n\n@param number $errNo error number\n@param string $errMsg error message\n@param string $fileName file name where the error occurred\n@param number $lineNum line number where the error occurred\n@param $vars (not yet implemented)\n@return void", "docstring_tokens": ["User", "error", "handler"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/ErrorHandler.php#L46-L73", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/ErrorHandler.php", "func_name": "ErrorHandler.exceptionHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "User exception handler\n\n@param object $exc hold error data\n@return void", "docstring_tokens": ["User", "exception", "handler"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/ErrorHandler.php#L81-L102", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/ErrorHandler.php", "func_name": "ErrorHandler._getOutputErrorMsg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get output error message\n\n@param number $errno error number\n@param string $errmsg error message\n@param string $filename file name where the error occurred\n@param number $linenum line number where the error occurred * @param $filename\n@param string $back_trace back trace message (print out call stack of the error)\n@return string error message in html", "docstring_tokens": ["Get", "output", "error", "message"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/ErrorHandler.php#L114-L132", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/ErrorHandler.php", "func_name": "ErrorHandler._errorBacktrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print out call stack of the error\n\n@param array $debug_array\n@return string", "docstring_tokens": ["Print", "out", "call", "stack", "of", "the", "error"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/ErrorHandler.php#L140-L202", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Check.php", "func_name": "Check.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the name of the check. When null or a non-string value is given a random name is set.\n\n@param string $name name of the check\n\n@return Check this instance for fluent API support", "docstring_tokens": ["Sets", "the", "name", "of", "the", "check", ".", "When", "null", "or", "a", "non", "-", "string", "value", "is", "given", "a", "random", "name", "is", "set", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Check.php#L84-L93", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Check.php", "func_name": "Check.addSetting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the given value under the given key to the settings\nof the result. The setting may have a group name to more\neasily separate them on export. If no group name is specified\nthe check's default setting group name is used as the default.\n\n@param string $name key for that setting\n@param mixed $value usually a string value\n@param string $group name of group this setting belongs to\n@param int $flag type of the setting (normal or sensitive)\n@param boolean $cachable whether that setting should also be stored in a cache. Default is false (NOT cached!).\n\n@return Check this instance for fluent API support\n\n@throws \\InvalidArgumentException if no valid setting key was given", "docstring_tokens": ["Adds", "the", "given", "value", "under", "the", "given", "key", "to", "the", "settings", "of", "the", "result", ".", "The", "setting", "may", "have", "a", "group", "name", "to", "more", "easily", "separate", "them", "on", "export", ".", "If", "no", "group", "name", "is", "specified", "the", "check", "s", "default", "setting", "group", "name", "is", "used", "as", "the", "default", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Check.php#L218-L233", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Check.php", "func_name": "Check.addCachableSetting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the given value under the given key to the settings\nof the result. The setting may have a group name to more\neasily separate them on export. If no group name is specified\nthe check's default setting group name is used as the default.\nThis setting may be written to a cache to be available on re-runs\nof the check.\n\n@param string $name key for that setting\n@param mixed $value usually a string value\n@param string $group name of group this setting belongs to\n@param int $flag type of the setting (ISetting::NORMAL by default)\n\n@return Check this instance for fluent API support\n\n@throws \\InvalidArgumentException if no valid setting key was given", "docstring_tokens": ["Adds", "the", "given", "value", "under", "the", "given", "key", "to", "the", "settings", "of", "the", "result", ".", "The", "setting", "may", "have", "a", "group", "name", "to", "more", "easily", "separate", "them", "on", "export", ".", "If", "no", "group", "name", "is", "specified", "the", "check", "s", "default", "setting", "group", "name", "is", "used", "as", "the", "default", ".", "This", "setting", "may", "be", "written", "to", "a", "cache", "to", "be", "available", "on", "re", "-", "runs", "of", "the", "check", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Check.php#L252-L257", "partition": "test"} +{"repo": "fastdlabs/container", "path": "src/Container.php", "func_name": "Container.offsetUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Offset to unset\n\n@link http://php.net/manual/en/arrayaccess.offsetunset.php\n@param mixed $offset

\nThe offset to unset.\n

\n@return void\n@since 5.0.0", "docstring_tokens": ["Offset", "to", "unset"], "sha": "b5d7bad79c2cb10c30a3594db3c7f2508d0c2b48", "url": "https://github.com/fastdlabs/container/blob/b5d7bad79c2cb10c30a3594db3c7f2508d0c2b48/src/Container.php#L193-L202", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.setSyncState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the current sync state.\n\n@param integer $state One of the Execution::SYNC_STATE_* constants.\n\n@throws \\InvalidArgumentException When an invalid sync state value has been given.", "docstring_tokens": ["Set", "the", "current", "sync", "state", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L240-L253", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.collectSyncData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compute current sync data from execution state.\n\n@return array", "docstring_tokens": ["Compute", "current", "sync", "data", "from", "execution", "state", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L280-L296", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.getExpressionContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an expression context bound to this execution.\n\n@return ExpressionContextInterface", "docstring_tokens": ["Create", "an", "expression", "context", "bound", "to", "this", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L333-L339", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.terminate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Terminate this path of execution, will also terminate all child executions.\n\n@param boolean $triggerExecution Trigger / signal parent execution after termination?", "docstring_tokens": ["Terminate", "this", "path", "of", "execution", "will", "also", "terminate", "all", "child", "executions", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L356-L382", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.registerChildExecution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the given child execution with the parent execution.\n\n@param Execution $execution\n@return Execution", "docstring_tokens": ["Register", "the", "given", "child", "execution", "with", "the", "parent", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L390-L401", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.childExecutionTerminated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is being used to notify a parent execution whenever a child execution has been terminated.\n\n@param Execution $execution\n@param boolean $triggerExecution Trigger / signal this execution?", "docstring_tokens": ["Is", "being", "used", "to", "notify", "a", "parent", "execution", "whenever", "a", "child", "execution", "has", "been", "terminated", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L409-L434", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.setScope", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle scope of the execution.\n\n@param boolean $scope", "docstring_tokens": ["Toggle", "scope", "of", "the", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L531-L540", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.createExecution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new child execution and register it with the process engine.\n\nCreated executions are unscoped by default.\n\n@param boolean $concurrent\n@return Execution", "docstring_tokens": ["Create", "a", "new", "child", "execution", "and", "register", "it", "with", "the", "process", "engine", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L560-L577", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.createNestedExecution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a nested execution as child execution.\n\n@param ProcessModel $model\n@param Node $startNode\n@param boolean $isScope\n@param boolean $isScopeRoot\n@return Execution", "docstring_tokens": ["Create", "a", "nested", "execution", "as", "child", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L588-L603", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.findChildExecutions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all child executions.\n\n@param Node $node Optional filter, return only executions that have arrived at the given node.\n@return array All matching child executions.", "docstring_tokens": ["Find", "all", "child", "executions", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L611-L620", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.computeVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch all variables visible to the execution.\n\n@return array", "docstring_tokens": ["Fetch", "all", "variables", "visible", "to", "the", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L731-L742", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.getVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of the given variable eighter from the current scope or inherited.\n\n@param string $name\n@param mixed $default\n@return mixed\n\n@throws \\OutOfBoundsException When the variable is not set and no default value is given.", "docstring_tokens": ["Get", "the", "value", "of", "the", "given", "variable", "eighter", "from", "the", "current", "scope", "or", "inherited", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L775-L788", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.getVariableLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of the given variable in the current scope.\n\n@param string $name\n@param mixed $default\n@return mixed\n\n@throws \\OutOfBoundsException When the variable is not set and no default value is given.", "docstring_tokens": ["Get", "the", "value", "of", "the", "given", "variable", "in", "the", "current", "scope", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L799-L812", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.setVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the given variable in the scope root, passing a value of null will remove the variable.\n\n@param string $name\n@param mixed $value", "docstring_tokens": ["Set", "the", "given", "variable", "in", "the", "scope", "root", "passing", "a", "value", "of", "null", "will", "remove", "the", "variable", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L820-L827", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.setVariableLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the given variable in the current scope, setting a variable to a value of null will\nremove the variable from the current scope.\n\n@param string $name\n@param mixed $value", "docstring_tokens": ["Set", "the", "given", "variable", "in", "the", "current", "scope", "setting", "a", "variable", "to", "a", "value", "of", "null", "will", "remove", "the", "variable", "from", "the", "current", "scope", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L836-L849", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.removeVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a variable, will remove the variable from all parent scopes up to the scope root.\n\n@param string $name", "docstring_tokens": ["Remove", "a", "variable", "will", "remove", "the", "variable", "from", "all", "parent", "scopes", "up", "to", "the", "scope", "root", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L856-L871", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.removeVariableLocal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the given variable from the current scope.\n\n@param string $name", "docstring_tokens": ["Remove", "the", "given", "variable", "from", "the", "current", "scope", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L878-L887", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register commands to execute the behavior of the given node.\n\n@param Node $node\n\n@throws \\RuntimeException When the execution has been terminated.", "docstring_tokens": ["Register", "commands", "to", "execute", "the", "behavior", "of", "the", "given", "node", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L972-L979", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.waitForSignal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Put the execution into a wait state.\n\n@throws \\RuntimeException When the execution has been terminated.", "docstring_tokens": ["Put", "the", "execution", "into", "a", "wait", "state", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L986-L1000", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.signal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Signal the execution in order to continue from a wait state.\n\n@param string $signal The name of the signal or null when no such name exists.\n@param array $variables Signal data.\n@param array $delegation Signal delegation data.\n\n@throws \\RuntimeException When the execution is terminated or not within a wait state.", "docstring_tokens": ["Signal", "the", "execution", "in", "order", "to", "continue", "from", "a", "wait", "state", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L1032-L1043", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.take", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take a transition from the given node.\n\n@param string $transition ID of the transition, ommitting it will assume a single outgoing transition.\n\n@throws \\RuntimeException When the execution has been terminated.", "docstring_tokens": ["Take", "a", "transition", "from", "the", "given", "node", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L1052-L1063", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Execution.php", "func_name": "Execution.introduceConcurrentRoot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Introduce a new concurrent root as parent of this execution.\n\n@param boolean $active\n@return Execution", "docstring_tokens": ["Introduce", "a", "new", "concurrent", "root", "as", "parent", "of", "this", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Execution.php#L1228-L1259", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Resource.php", "func_name": "Resource.loadMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load message from file\n\n@param string $messageFile\n@return mixed", "docstring_tokens": ["Load", "message", "from", "file"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Resource.php#L54-L85", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Resource.php", "func_name": "Resource.getMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get message from CONSTANT, translate and format it\n@param string $msgId ID if constant\n@param array $params parameter for format (use vsprintf)\n@return string", "docstring_tokens": ["Get", "message", "from", "CONSTANT", "translate", "and", "format", "it"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Resource.php#L93-L101", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Resource.php", "func_name": "Resource.getZendTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get \\Zend Template\n@return \\Zend_View zend view template object", "docstring_tokens": ["Get", "\\", "Zend", "Template"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Resource.php#L224-L245", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.readableDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given path and throws an exception\nif it is not a regular directory or readable.\n\n@param string $value value to check\n\n@return string path to valid directory\n\n@throws \\InvalidArgumentException in case of validation errors (empty value, irregular or non-readable directory)", "docstring_tokens": ["Validates", "the", "given", "path", "and", "throws", "an", "exception", "if", "it", "is", "not", "a", "regular", "directory", "or", "readable", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L21-L36", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.writableDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given path and throws an exception\nif it is not a regular directory or writable.\n\n@param string $value value to check\n\n@return string path to valid directory\n\n@throws \\InvalidArgumentException in case of validation errors (empty value, irregular or non-writable directory)", "docstring_tokens": ["Validates", "the", "given", "path", "and", "throws", "an", "exception", "if", "it", "is", "not", "a", "regular", "directory", "or", "writable", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L48-L63", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.writableFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given file path and throws an exception\nif it is not a regular file or writable.\n\n@param string $value value to check\n\n@return string path to valid file\n\n@throws \\InvalidArgumentException in case of validation errors (empty value or irregular or non-writable file)", "docstring_tokens": ["Validates", "the", "given", "file", "path", "and", "throws", "an", "exception", "if", "it", "is", "not", "a", "regular", "file", "or", "writable", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L75-L90", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.readableFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given file path and throws an exception\nif it is not a regular file or readable.\n\n@param string $value value to check\n\n@return string path to valid file\n\n@throws \\InvalidArgumentException in case of validation errors (empty value or irregular or non-readable file)", "docstring_tokens": ["Validates", "the", "given", "file", "path", "and", "throws", "an", "exception", "if", "it", "is", "not", "a", "regular", "file", "or", "readable", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L102-L117", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.validEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given value using the PHP filter_var\nwith FILTER_VALIDATE_EMAIL option.\n\n@param string $value value to check\n\n@return string email\n\n@throws \\InvalidArgumentException in case of validation errors (invalid or empty email)", "docstring_tokens": ["Validates", "the", "given", "value", "using", "the", "PHP", "filter_var", "with", "FILTER_VALIDATE_EMAIL", "option", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L198-L209", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.validIp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given value using the PHP filter_var with\nFILTER_VALIDATE_IP.\n\n@param string $value IP to validate\n\n@return string ipv4 or ipv6 (may still be in private or reserved range)\n\n@throws \\InvalidArgumentException in case of validation errors (invalid or empty ip)", "docstring_tokens": ["Validates", "the", "given", "value", "using", "the", "PHP", "filter_var", "with", "FILTER_VALIDATE_IP", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L221-L232", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.validIpv4", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given value using the PHP filter_var with\nFILTER_VALIDATE_IP and flag FILTER_FLAG_IPV4.\n\n@param string $value IP to validate\n\n@return string ipv4 (may still be in private or reserved range)\n\n@throws \\InvalidArgumentException in case of validation errors (invalid or empty ip)", "docstring_tokens": ["Validates", "the", "given", "value", "using", "the", "PHP", "filter_var", "with", "FILTER_VALIDATE_IP", "and", "flag", "FILTER_FLAG_IPV4", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L244-L255", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.validIpv4NotReserved", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given value using the PHP filter_var with\nFILTER_VALIDATE_IP and flag FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE.\n\n@param string $value IP to validate\n\n@return string ipv4 (may still be in private range)\n\n@throws \\InvalidArgumentException in case of validation errors (invalid or empty ip)", "docstring_tokens": ["Validates", "the", "given", "value", "using", "the", "PHP", "filter_var", "with", "FILTER_VALIDATE_IP", "and", "flag", "FILTER_FLAG_IPV4", "|", "FILTER_FLAG_NO_RES_RANGE", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L267-L280", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/Validator.php", "func_name": "Validator.validIpv6", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the given value using the PHP filter_var with\nFILTER_VALIDATE_IP and flag FILTER_FLAG_IPV6\n\n@param string $value IP to validate\n\n@return string ipv6 (may still be in private or reserved range)\n\n@throws \\InvalidArgumentException in case of validation errors (invalid or empty ip)", "docstring_tokens": ["Validates", "the", "given", "value", "using", "the", "PHP", "filter_var", "with", "FILTER_VALIDATE_IP", "and", "flag", "FILTER_FLAG_IPV6"], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/Validator.php#L292-L303", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/Controller/ContentElements/ContentElementController.php", "func_name": "ContentElementController.initializeView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialises a view.\n\n@param \\TYPO3\\CMS\\Extbase\\Mvc\\View\\ViewInterface $view The view", "docstring_tokens": ["Initialises", "a", "view", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/Controller/ContentElements/ContentElementController.php#L20-L25", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Support/PublicReflection.php", "func_name": "PublicReflection.hasAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the given attribute is in the list of public attributes.\n\n@param string $className\n@param string $name\n@return bool", "docstring_tokens": ["Checks", "to", "see", "if", "the", "given", "attribute", "is", "in", "the", "list", "of", "public", "attributes", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Support/PublicReflection.php#L47-L50", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Support/PublicReflection.php", "func_name": "PublicReflection.hasMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the given method is in the list of public class methods.\n\n@param string $className\n@param string $name\n@return bool", "docstring_tokens": ["Checks", "to", "see", "if", "the", "given", "method", "is", "in", "the", "list", "of", "public", "class", "methods", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Support/PublicReflection.php#L59-L62", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Support/PublicReflection.php", "func_name": "PublicReflection.getMethodParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of parameter names for the given method instance.\n\n@param $instance\n@param string $method\n@return array|bool", "docstring_tokens": ["Returns", "an", "array", "of", "parameter", "names", "for", "the", "given", "method", "instance", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Support/PublicReflection.php#L82-L101", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Support/PublicReflection.php", "func_name": "PublicReflection.getReflectionMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to find the correct reflection method.\n\n@throws \\ReflectionException\n\n@param object $object\n@param string $method\n@return bool|\\ReflectionMethod", "docstring_tokens": ["Tries", "to", "find", "the", "correct", "reflection", "method", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Support/PublicReflection.php#L112-L134", "partition": "test"} +{"repo": "voodoo-rocks/yii2-core", "path": "src/ArrayObject.php", "func_name": "ArrayObject.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts the object into an array.\n\n@param array $fields the fields that the output array should contain. Fields not specified\nin [[fields()]] will be ignored. If this parameter is empty, all fields as specified\nin\n[[fields()]] will be returned.\n@param array $expand the additional fields that the output array should contain.\nFields not specified in [[extraFields()]] will be ignored. If this parameter is empty,\nno extra fields will be returned.\n@param boolean $recursive whether to recursively return array representation of embedded objects.\n\n@return array the array representation of the object", "docstring_tokens": ["Converts", "the", "object", "into", "an", "array", "."], "sha": "eef5349407743e0e46b6987816450f7917827f18", "url": "https://github.com/voodoo-rocks/yii2-core/blob/eef5349407743e0e46b6987816450f7917827f18/src/ArrayObject.php#L202-L215", "partition": "test"} +{"repo": "Takeatea/texting", "path": "Provider/AllMySmsProvider.php", "func_name": "AllMySmsProvider.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will perform the message send. Will return anyhow an array with the response\n\n@param string $recipient\n@param string $message\n\n@return array", "docstring_tokens": ["Will", "perform", "the", "message", "send", ".", "Will", "return", "anyhow", "an", "array", "with", "the", "response"], "sha": "0019bc1271fc5e88ff625baaeffb1ca5b66093bc", "url": "https://github.com/Takeatea/texting/blob/0019bc1271fc5e88ff625baaeffb1ca5b66093bc/Provider/AllMySmsProvider.php#L54-L80", "partition": "test"} +{"repo": "codeinchq/error-renderer", "path": "src/ConsoleErrorRenderer.php", "func_name": "ConsoleErrorRenderer.getBlankLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a blank line.\n\n@param int $count Number of lines to be returned\n@return string", "docstring_tokens": ["Returns", "a", "blank", "line", "."], "sha": "c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4", "url": "https://github.com/codeinchq/error-renderer/blob/c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4/src/ConsoleErrorRenderer.php#L77-L84", "partition": "test"} +{"repo": "codeinchq/error-renderer", "path": "src/ConsoleErrorRenderer.php", "func_name": "ConsoleErrorRenderer.countTermCols", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of columns in the terminal windows.\n\n@return int", "docstring_tokens": ["Returns", "the", "number", "of", "columns", "in", "the", "terminal", "windows", "."], "sha": "c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4", "url": "https://github.com/codeinchq/error-renderer/blob/c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4/src/ConsoleErrorRenderer.php#L91-L99", "partition": "test"} +{"repo": "codeinchq/error-renderer", "path": "src/ConsoleErrorRenderer.php", "func_name": "ConsoleErrorRenderer.getErrorBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an error block.\n\n@param \\Throwable $exception\n@param int|null $linePadding\n@return string", "docstring_tokens": ["Returns", "an", "error", "block", "."], "sha": "c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4", "url": "https://github.com/codeinchq/error-renderer/blob/c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4/src/ConsoleErrorRenderer.php#L143-L165", "partition": "test"} +{"repo": "codeinchq/error-renderer", "path": "src/ConsoleErrorRenderer.php", "func_name": "ConsoleErrorRenderer.getLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds padding and line breaks to the content to make it fit inside the terminal windows with a\nproper word cesure.\n\n@param string $content\n@param int|null $styles Rendering style (see STYLE_XXX class constants)\n@param int|null $paddingLength\n@return string", "docstring_tokens": ["Adds", "padding", "and", "line", "breaks", "to", "the", "content", "to", "make", "it", "fit", "inside", "the", "terminal", "windows", "with", "a", "proper", "word", "cesure", "."], "sha": "c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4", "url": "https://github.com/codeinchq/error-renderer/blob/c1a7176c4f0241fe14d6ec40bfd4949ea6f2f7f4/src/ConsoleErrorRenderer.php#L176-L234", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Arrays.php", "func_name": "Arrays.slice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vlozi do pole na dane misto\n@param array $array\n@param int $position\n@param mixed $insert", "docstring_tokens": ["Vlozi", "do", "pole", "na", "dane", "misto"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Arrays.php#L31-L38", "partition": "test"} +{"repo": "amcms/core", "path": "src/Services/ValidatorService.php", "func_name": "ValidatorService.setRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create rules chain\n@param array $ruleAr string-based rules\n@return Respect\\Validation\\Validator", "docstring_tokens": ["Create", "rules", "chain"], "sha": "161eb48a78c2ed0f64866ca9c7ab0efac1091b8b", "url": "https://github.com/amcms/core/blob/161eb48a78c2ed0f64866ca9c7ab0efac1091b8b/src/Services/ValidatorService.php#L80-L106", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Grant/PasswordGrant.php", "func_name": "PasswordGrant.completeFlow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Complete the password grant\n\n@return array\n\n@throws", "docstring_tokens": ["Complete", "the", "password", "grant"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Grant/PasswordGrant.php#L84-L149", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/ObjectFactory.php", "func_name": "ObjectFactory.getObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a metadata based object instance.\nIt returns the instance the internal object map or create a new one and save it in the map.\n\n@param string $objectName name of object that want to get\n@return object", "docstring_tokens": ["Get", "a", "metadata", "based", "object", "instance", ".", "It", "returns", "the", "instance", "the", "internal", "object", "map", "or", "create", "a", "new", "one", "and", "save", "it", "in", "the", "map", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/ObjectFactory.php#L77-L96", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/ObjectFactory.php", "func_name": "ObjectFactory.createObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new metadata based object instance\n\n@param string $objName name of object will be create\n@param array $xmlArr propery array of object\n@return object", "docstring_tokens": ["Create", "a", "new", "metadata", "based", "object", "instance"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/ObjectFactory.php#L105-L109", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/ObjectFactory.php", "func_name": "ObjectFactory.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Prefix, location and extension of MetaObject\n\n@param string $prefix prefix of metaobject, like \"Contact\" for \"Contact.form.ContactForm\"\n@param string $path location of metaobject with $prefix\n@param array|string $ext array of string, collection of extension that support by prefix\n@return null\n@since OpenbizX CubiX", "docstring_tokens": ["Register", "Prefix", "location", "and", "extension", "of", "MetaObject"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/ObjectFactory.php#L279-L289", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Users.php", "func_name": "Users.Authenticate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the access token from an oAuth request\n@access public\n@param string $code The authorization code returned by the oAuth call\n@param string $scope The scope of the oAuth request\n@return Response", "docstring_tokens": ["Gets", "the", "access", "token", "from", "an", "oAuth", "request"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Users.php#L61-L73", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Users.php", "func_name": "Users.Feed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a users feed\n@access public\n@param string $token An access token\n@param Array $params An associative array of key/value pairs to pass to the API.\n@return Response", "docstring_tokens": ["Gets", "a", "users", "feed"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Users.php#L93-L99", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Users.php", "func_name": "Users.Liked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets media liked by the current user\n@access public\n@param Array $params An associative array of key/value pairs to pass to the API\n@return Response", "docstring_tokens": ["Gets", "media", "liked", "by", "the", "current", "user"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Users.php#L122-L127", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Users.php", "func_name": "Users.SetRelationship", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a relationship between a particular user and the currently authenticated user\n@access public\n@param int $user_id A user ID\n@param Array $token An associative array of key/value pairs to pass to the API\n@return Response", "docstring_tokens": ["Sets", "a", "relationship", "between", "a", "particular", "user", "and", "the", "currently", "authenticated", "user"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Users.php#L200-L204", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.setProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set object properties\n\n@Param Array $properties Properties to set\n@Return Void", "docstring_tokens": ["Set", "object", "properties"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L42-L49", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return all\n\n@param \t int\t $page\t\t\t\tWich page paging are at\n@param \t int\t $perPage\t\tThreads per page\n@return object Object of database rows", "docstring_tokens": ["Find", "and", "return", "all"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L58-L75", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.countAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count all rows in database table\n\n@return int $row->countRows Count of rows", "docstring_tokens": ["Count", "all", "rows", "in", "database", "table"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L82-L90", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return specific row\n\n@Param Int $id Row index\n@return this", "docstring_tokens": ["Find", "and", "return", "specific", "row"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L98-L105", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new row\n\n@Param Array $values Key/values to save\n@Return Boolean True/false If saving went okey", "docstring_tokens": ["Create", "new", "row"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L129-L143", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a select-query\n\n@Param String $columns Columns to select\n@Return Object $this", "docstring_tokens": ["Build", "a", "select", "-", "query"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L193-L198", "partition": "test"} +{"repo": "Chibi86/CDatabaseModel", "path": "src/MVC/CDatabaseModel.php", "func_name": "CDatabaseModel.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the query built\n\n@Param String $query Custom query\n@Return Object $this", "docstring_tokens": ["Execute", "the", "query", "built"], "sha": "5ac5f0bcd5df5885c714a7a27c3835cf9193094f", "url": "https://github.com/Chibi86/CDatabaseModel/blob/5ac5f0bcd5df5885c714a7a27c3835cf9193094f/src/MVC/CDatabaseModel.php#L254-L259", "partition": "test"} +{"repo": "spartan/common", "path": "src/Fluent.php", "func_name": "Fluent.canProceed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if it can proceed with callback\n\n@param mixed $name\n@param mixed $args\n\n@return bool|mixed", "docstring_tokens": ["Check", "if", "it", "can", "proceed", "with", "callback"], "sha": "f6d5d22e11634cb6d77e30a9f5177e020a95bcfb", "url": "https://github.com/spartan/common/blob/f6d5d22e11634cb6d77e30a9f5177e020a95bcfb/src/Fluent.php#L234-L241", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/ViewHelpers/SubheadlineLinkViewHelper.php", "func_name": "SubheadlineLinkViewHelper.createLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a link.\n\n@param string $content The content of the link\n@param string $href The optional href attribute of the link, defaults to `#`\n@param string $title The optional title attribute of the link\n@return \\TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\TagBuilder The link", "docstring_tokens": ["Creates", "a", "link", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/ViewHelpers/SubheadlineLinkViewHelper.php#L62-L78", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/PickerForm.php", "func_name": "PickerForm.pickToParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pick data to parent form\n\n@param $recId\n@return void\n@access remote", "docstring_tokens": ["Pick", "data", "to", "parent", "form"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/PickerForm.php#L94-L115", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/PickerForm.php", "func_name": "PickerForm._parsePickerMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse Picker Map into an array\n\n@param string $pickerMap pickerMap defined in metadata\n@return array picker map array", "docstring_tokens": ["Parse", "Picker", "Map", "into", "an", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/PickerForm.php#L321-L333", "partition": "test"} +{"repo": "edmondscommerce/typesafe-functions", "path": "src/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.convertArrayOfReflectionToSelf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Take an array of raw \\ReflectionClass objects and return an array of self\n\n@param array $reflectionClasses\n\n@return array|self[]\n@throws \\ReflectionException", "docstring_tokens": ["Take", "an", "array", "of", "raw", "\\", "ReflectionClass", "objects", "and", "return", "an", "array", "of", "self"], "sha": "bf7509889f2d50283c555f654590bc9ad913c44f", "url": "https://github.com/edmondscommerce/typesafe-functions/blob/bf7509889f2d50283c555f654590bc9ad913c44f/src/Reflection/ReflectionClass.php#L225-L233", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord._initSetup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do some initial setup work\n\n@return void", "docstring_tokens": ["Do", "some", "initial", "setup", "work"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L83-L110", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.getFieldByColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get fielf by column name\n\n@param string $column column name\n@param string $table table name\n@return BizField instant of {@link BizField}", "docstring_tokens": ["Get", "fielf", "by", "column", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L119-L126", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.getKeySearchRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get key search rule.\nThe key search rule is used to find a single record by given key values\n\n@param boolean $isUseOldValue true if old key value is used in the search rule\n@param boolean $isUseColumnName true if column name is used in the search rule, false if [field] is used\n@return string search rule", "docstring_tokens": ["Get", "key", "search", "rule", ".", "The", "key", "search", "rule", "is", "used", "to", "find", "a", "single", "record", "by", "given", "key", "values"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L186-L201", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.setRecordArr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set record array to internal data structure\n\n@param array $recArr record array\n@return void", "docstring_tokens": ["Set", "record", "array", "to", "internal", "data", "structure"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L209-L219", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.saveOldRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save old recrod,\nused in update record when old record value is needed in the action\n\n@param array $inputArr old record array\n@return avoid", "docstring_tokens": ["Save", "old", "recrod", "used", "in", "update", "record", "when", "old", "record", "value", "is", "needed", "in", "the", "action"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L261-L271", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.getRecordArr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get record array by converting input indexed-Value array to Field-Value pairs\n\n@param array $sqlArr column value pair array\n@return array record array", "docstring_tokens": ["Get", "record", "array", "by", "converting", "input", "indexed", "-", "Value", "array", "to", "Field", "-", "Value", "pairs"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L279-L295", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.convertSqlArrToRecArr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Conver sql array to record array\n\n@param array $sqlArr indexed-value pair array\n@return array field-value record array", "docstring_tokens": ["Conver", "sql", "array", "to", "record", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L303-L315", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord._setSqlRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set sql record array to internal data\n\n@param array $sqlArr indexed-value array from sql result\n@return avoid", "docstring_tokens": ["Set", "sql", "record", "array", "to", "internal", "data"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L323-L332", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.getJoinInputRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get join input record\n\n@param $join\n@return array", "docstring_tokens": ["Get", "join", "input", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L340-L358", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizRecord.php", "func_name": "BizRecord.getJoinSearchRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get join search rule\n\nNOTE: Added by Jixian on 2009-02-16 for implement onSaveDataObj\n\n@param TableJoin $tableJoin\n@param boolean $isUseOldValue\n@return string", "docstring_tokens": ["Get", "join", "search", "rule"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizRecord.php#L369-L376", "partition": "test"} +{"repo": "SetBased/php-abc-request-core", "path": "src/CoreRequest.php", "func_name": "CoreRequest.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the method of the current request.\n\n@return string\n\n@api\n@since 1.0.0", "docstring_tokens": ["Returns", "the", "method", "of", "the", "current", "request", "."], "sha": "01da718e9ad7681eaa12b33f065a3939e13a85a9", "url": "https://github.com/SetBased/php-abc-request-core/blob/01da718e9ad7681eaa12b33f065a3939e13a85a9/src/CoreRequest.php#L27-L40", "partition": "test"} +{"repo": "SetBased/php-abc-request-core", "path": "src/CoreRequest.php", "func_name": "CoreRequest.getRequestUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the requested relative URL after. It includes the query part if any.\n\n@return string\n\n@api\n@since 1.0.0", "docstring_tokens": ["Returns", "the", "requested", "relative", "URL", "after", ".", "It", "includes", "the", "query", "part", "if", "any", "."], "sha": "01da718e9ad7681eaa12b33f065a3939e13a85a9", "url": "https://github.com/SetBased/php-abc-request-core/blob/01da718e9ad7681eaa12b33f065a3939e13a85a9/src/CoreRequest.php#L65-L79", "partition": "test"} +{"repo": "crsoares/DoctrineModule", "path": "src/DoctrineModule/Service/AbstractFactory.php", "func_name": "AbstractFactory.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets options from configuration based on name.\n\n@param ServiceLocatorInterface $sl\n@param string $key\n@param null|string $name\n@return \\Zend\\Stdlib\\AbstractOptions\n@throws \\RuntimeException", "docstring_tokens": ["Gets", "options", "from", "configuration", "based", "on", "name", "."], "sha": "a99051dabbabfbc74a85de4fab4d269ce7833bb3", "url": "https://github.com/crsoares/DoctrineModule/blob/a99051dabbabfbc74a85de4fab4d269ce7833bb3/src/DoctrineModule/Service/AbstractFactory.php#L87-L113", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Container/Singleton.php", "func_name": "Singleton.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get or make the singleton instance.\n\n@return mixed", "docstring_tokens": ["Get", "or", "make", "the", "singleton", "instance", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Container/Singleton.php#L19-L26", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/AuthorizationServer.php", "func_name": "AuthorizationServer.issueAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Issue an access token\n\n@return array Authorise request parameters\n\n@throws", "docstring_tokens": ["Issue", "an", "access", "token"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/AuthorizationServer.php#L242-L256", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Export/Formatter/ShellSettingsWriter.php", "func_name": "ShellSettingsWriter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes all or specific groups of settings as a shell file and\nreturns a message with some information about that.\n\n@param IReport $report report to take results (and settings) from\n\n@return string messages for CLI output", "docstring_tokens": ["Writes", "all", "or", "specific", "groups", "of", "settings", "as", "a", "shell", "file", "and", "returns", "a", "message", "with", "some", "information", "about", "that", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Export/Formatter/ShellSettingsWriter.php#L33-L84", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Json/BaseJson.php", "func_name": "BaseJson.decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes the json contents readed from the given file, into an array\n\n@param string $file\n@return array", "docstring_tokens": ["Decodes", "the", "json", "contents", "readed", "from", "the", "given", "file", "into", "an", "array"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Json/BaseJson.php#L48-L58", "partition": "test"} +{"repo": "EXSyst/Security", "path": "TOTP/TOTPValidator.php", "func_name": "TOTPValidator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a totp corresponds to a key and a stamp.\n\n@param string $key\n@param int $totp\n\n@return bool Return true if the totp corresponds to the key and the stamp provided", "docstring_tokens": ["Check", "if", "a", "totp", "corresponds", "to", "a", "key", "and", "a", "stamp", "."], "sha": "e59126ce49e712221d2fe0d8a5afca14fb65febd", "url": "https://github.com/EXSyst/Security/blob/e59126ce49e712221d2fe0d8a5afca14fb65febd/TOTP/TOTPValidator.php#L59-L78", "partition": "test"} +{"repo": "yuncms/yii2-comment", "path": "backend/controllers/CommentController.php", "func_name": "CommentController.actionIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists all Comment models.\n@return mixed", "docstring_tokens": ["Lists", "all", "Comment", "models", "."], "sha": "0a3d59cdabca806f5014b68e1186c2bc214e6887", "url": "https://github.com/yuncms/yii2-comment/blob/0a3d59cdabca806f5014b68e1186c2bc214e6887/backend/controllers/CommentController.php#L39-L49", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/EditForm.php", "func_name": "EditForm._doUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do update record\n\n@param array $inputRecord\n@param array $currentRecord\n@return void", "docstring_tokens": ["Do", "update", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/EditForm.php#L109-L142", "partition": "test"} +{"repo": "amcms/core", "path": "src/Controllers/ModxController.php", "func_name": "ModxController.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Main entry point\n@return null|Response MODX parser result", "docstring_tokens": ["Main", "entry", "point"], "sha": "161eb48a78c2ed0f64866ca9c7ab0efac1091b8b", "url": "https://github.com/amcms/core/blob/161eb48a78c2ed0f64866ca9c7ab0efac1091b8b/src/Controllers/ModxController.php#L20-L36", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Exceptions/InvalidArgumentException.php", "func_name": "InvalidArgumentException.implode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A natural language version of implode.\n\n@param array $list\n@param string $conjunction\n@return mixed|string", "docstring_tokens": ["A", "natural", "language", "version", "of", "implode", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Exceptions/InvalidArgumentException.php#L39-L47", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/excelService.php", "func_name": "excelService.renderCSV", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the excel output with CSV format\n\n@param string $objName object name which is the bizform name\n@return void", "docstring_tokens": ["Render", "the", "excel", "output", "with", "CSV", "format"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/excelService.php#L52-L58", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/excelService.php", "func_name": "excelService.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render excel data\n\n@param string $objName object form name\n@param string $separator sparator between column\n@param string $ext file extension\n@return void", "docstring_tokens": ["Render", "excel", "data"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/excelService.php#L183-L211", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/excelService.php", "func_name": "excelService.getDataTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get raw data to display in the spreadsheet. header and data table\n\n@param string $objName\n@return array", "docstring_tokens": ["Get", "raw", "data", "to", "display", "in", "the", "spreadsheet", ".", "header", "and", "data", "table"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/excelService.php#L227-L251", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.loadStatefullVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get session variables data of this object\n\n@param \\Openbizx\\Web\\SessionContext $sessionContext\n@return void", "docstring_tokens": ["Get", "session", "variables", "data", "of", "this", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L78-L87", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get object property\n\n@param string $propertyName\n@return BizField|string|mixed", "docstring_tokens": ["Get", "object", "property"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L156-L174", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.getActiveRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the active record\n\n@todo throw Openbizx\\Data\\Exception\n@return array - record array", "docstring_tokens": ["Get", "the", "active", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L219-L236", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.setActiveRecordId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the active record according to the record id\n@param mixed $recordId record id\n@return void", "docstring_tokens": ["Set", "the", "active", "record", "according", "to", "the", "record", "id"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L248-L254", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches SQL result rows as a sequential array according the query rules set before.\n\n@return DataSet array of records", "docstring_tokens": ["Fetches", "SQL", "result", "rows", "as", "a", "sequential", "array", "according", "the", "query", "rules", "set", "before", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L261-L275", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.directFetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches SQL result rows as a sequential array without using query rules set before.\n\n@param string $searchRule the search rule string\n@param int $count number of records to return\n@param int $offset the starting point of the return records\n@return DataSet set of records", "docstring_tokens": ["Fetches", "SQL", "result", "rows", "as", "a", "sequential", "array", "without", "using", "query", "rules", "set", "before", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L285-L326", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.fetchRecords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run query and get the query results without affecting DataObject internal state\nby default it gets number of records starting from the first row.\nif pageNum > 0, it gets number of records starting from the first row of the page\n\n@param $searchRule search rule applied on the query\n@param $resultRecord returned result record array\n@param $recNum number of records to be returned. if -1, all query results returned\n@param $clearSearchRule indicates if search rule need to be cleared before query\n@param $noAssociation indicates if current association condition is not used in query\n@return boolean - if return false, the caller can call GetErrorMessage to get the error.\n\n@todo Why use parameter as result, fetch word mean the function return value by return keyword.\nNeed to change parameter and result methodology.", "docstring_tokens": ["Run", "query", "and", "get", "the", "query", "results", "without", "affecting", "DataObject", "internal", "state", "by", "default", "it", "gets", "number", "of", "records", "starting", "from", "the", "first", "row", ".", "if", "pageNum", ">", "0", "it", "gets", "number", "of", "records", "starting", "from", "the", "first", "row", "of", "the", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L387-L419", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the number of record according to the search results set before.\nIt ignores limit setting\n\n@return int number of records", "docstring_tokens": ["Count", "the", "number", "of", "record", "according", "to", "the", "search", "results", "set", "before", ".", "It", "ignores", "limit", "setting"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L447-L458", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite._run_search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run query with current search rule and returns PDO statement\n\n@param array $limit - if limit is not null, do the limit search\n@return PDOStatement", "docstring_tokens": ["Run", "query", "with", "current", "search", "rule", "and", "returns", "PDO", "statement"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L466-L505", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite._getNumberRecords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the number of records according the Select SQL\n\n@param object $db database connection\n@param string $sql SQL string\n@return int number of records", "docstring_tokens": ["Get", "the", "number", "of", "records", "according", "the", "Select", "SQL"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L514-L567", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Lite.php", "func_name": "BizDataObj_Lite._fetch_record", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get record from result setand move the cursor to next row\n\n@return array record array", "docstring_tokens": ["Get", "record", "from", "result", "setand", "move", "the", "cursor", "to", "next", "row"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Lite.php#L574-L589", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/InputElement.php", "func_name": "InputElement.addSCKeyScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add sort-cut key scripts\n\n@return string", "docstring_tokens": ["Add", "sort", "-", "cut", "key", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/InputElement.php#L125-L147", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Application.php", "func_name": "Application.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a config key\n\n@param string $key\n@param mixed $default\n@return mixed", "docstring_tokens": ["Get", "a", "config", "key"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Application.php#L34-L37", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Application.php", "func_name": "Application.bootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the application\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "application"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Application.php#L44-L50", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/authService.php", "func_name": "authService.authDBUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticate User that stored in database\n\n@param string $userName\n@param string $password\n@return boolean", "docstring_tokens": ["Authenticate", "User", "that", "stored", "in", "database"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/authService.php#L121-L136", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.setRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the request property\n\n@param string|null $request The name of file as user sees it, only matter for file\ndownload.\n\n@psalm-suppress RedundantConditionGivenDocblockType\n\n@return void", "docstring_tokens": ["Set", "the", "request", "property"], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L322-L340", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.setMaxAge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the maxage property\n\n@param int|string|\\DateInterval $maxage The maximum age the client should cache the\nfile.\n\n@psalm-suppress RedundantConditionGivenDocblockType\n\n@return void", "docstring_tokens": ["Sets", "the", "maxage", "property"], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L353-L390", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.mimeTypoFix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fixes common programmer typos and less than precise mime types from fileinfo.so.\n\n@param string $input The MIME type to be checked and possibly fixed.\n\n@return string Either the input MIME type or a correction of it.", "docstring_tokens": ["Fixes", "common", "programmer", "typos", "and", "less", "than", "precise", "mime", "types", "from", "fileinfo", ".", "so", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L400-L491", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.validMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the MIME type the file will be served with. Does not compensate for all errors in\ndeclared MIME types but will compensate for some.\n\n@param null|string $input A MIME type.\n\n@psalm-suppress RedundantConditionGivenDocblockType\n\n@return void", "docstring_tokens": ["Sets", "the", "MIME", "type", "the", "file", "will", "be", "served", "with", ".", "Does", "not", "compensate", "for", "all", "errors", "in", "declared", "MIME", "types", "but", "will", "compensate", "for", "some", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L504-L566", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.textCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempts to detect if serving a text file.\n\n@return void", "docstring_tokens": ["Attempts", "to", "detect", "if", "serving", "a", "text", "file", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L574-L592", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.checkFullFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Are we serving the full file or just part of it?\n\n@return void", "docstring_tokens": ["Are", "we", "serving", "the", "full", "file", "or", "just", "part", "of", "it?"], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L624-L662", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.setFileProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets class properties needed to generate a unique Etag and to serve the file.\n\n@return void", "docstring_tokens": ["Sets", "class", "properties", "needed", "to", "generate", "a", "unique", "Etag", "and", "to", "serve", "the", "file", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L670-L725", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.cacheCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the browser cached version okay?\n\n@return void", "docstring_tokens": ["Is", "the", "browser", "cached", "version", "okay?"], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L733-L749", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.readFromFilesystem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the file or portion of binary file from the filesystem and sends it to the\nclient.\n\n@return void", "docstring_tokens": ["Reads", "the", "file", "or", "portion", "of", "binary", "file", "from", "the", "filesystem", "and", "sends", "it", "to", "the", "client", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L758-L780", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.sendContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send headers and then the file, for binary file.\n\n@return bool True on success, False on failure.", "docstring_tokens": ["Send", "headers", "and", "then", "the", "file", "for", "binary", "file", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L788-L845", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.cleanSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans up line breaks and attempts to convert files to UTF8.\n\nBy default this is turned off, extend class to use.\n\n@param string $content The text to be cleaned and converted.\n\n@return string The cleaned content.", "docstring_tokens": ["Cleans", "up", "line", "breaks", "and", "attempts", "to", "convert", "files", "to", "UTF8", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L859-L891", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.jsminify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minify JavaScript. By default turned off, extend class to enable.\n\n@param string $content The content to be minified.\n\n@return string The minified content.", "docstring_tokens": ["Minify", "JavaScript", ".", "By", "default", "turned", "off", "extend", "class", "to", "enable", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L901-L905", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.cssminify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Minify CSS. By default turned off, extend class to enable.\n\n@author Manas Tungare https://github.com/manastungare\n@author Brenton String https://gist.github.com/brentonstrine\n\n@link https://gist.github.com/brentonstrine/5f56a24c7d34bb2d4655\n\n@param string $content The content to be minified.\n\n@return string The minified content.", "docstring_tokens": ["Minify", "CSS", ".", "By", "default", "turned", "off", "extend", "class", "to", "enable", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L920-L935", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.textwordwrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Word Wrap text files. Turned off by default, extend class to use.\n\n@param string $content The content to be word wrapped.\n\n@return string The word wrapped content.", "docstring_tokens": ["Word", "Wrap", "text", "files", ".", "Turned", "off", "by", "default", "extend", "class", "to", "use", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L993-L1024", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.getTextContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads text file from filesystem and sends to browser.\n\n@return bool True on success, False on failure.", "docstring_tokens": ["Reads", "text", "file", "from", "filesystem", "and", "sends", "to", "browser", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L1032-L1077", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.serveText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serves text content.\n\n@return bool True on success, False on failure.", "docstring_tokens": ["Serves", "text", "content", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L1085-L1124", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.setAllowOrigin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the access-control-allow-origin header.\n\n@param string $origin The origin to allow.\n\n@return void", "docstring_tokens": ["Set", "the", "access", "-", "control", "-", "allow", "-", "origin", "header", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L1136-L1144", "partition": "test"} +{"repo": "AliceWonderMiscreations/FileWrapper", "path": "lib/FileWrapper.php", "func_name": "FileWrapper.sendfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Serve the file.\n\n@return bool True on success, False on failure.", "docstring_tokens": ["Serve", "the", "file", "."], "sha": "3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5", "url": "https://github.com/AliceWonderMiscreations/FileWrapper/blob/3f9fb52d31764ed0ebbc5d2e850fbef9ef205fd5/lib/FileWrapper.php#L1152-L1174", "partition": "test"} +{"repo": "Takeatea/texting", "path": "Manager/AbstractTextingManager.php", "func_name": "AbstractTextingManager.registerProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will register the provider to be used later on.\n\n@param TextingProviderInterface $provider", "docstring_tokens": ["Will", "register", "the", "provider", "to", "be", "used", "later", "on", "."], "sha": "0019bc1271fc5e88ff625baaeffb1ca5b66093bc", "url": "https://github.com/Takeatea/texting/blob/0019bc1271fc5e88ff625baaeffb1ca5b66093bc/Manager/AbstractTextingManager.php#L25-L32", "partition": "test"} +{"repo": "interactive-solutions/zf-bernard", "path": "src/Normalizer/ExplicitNormalizer.php", "func_name": "ExplicitNormalizer.denormalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Denormalizes data back into an object of the given class.\n\n@param mixed $data data to restore\n@param string $class the expected class to instantiate\n@param string $format format the given data was extracted from\n@param array $context options available to the denormalizer\n\n@return object", "docstring_tokens": ["Denormalizes", "data", "back", "into", "an", "object", "of", "the", "given", "class", "."], "sha": "b240d24b6f72c54fc6e66e798f54cca62f84ef91", "url": "https://github.com/interactive-solutions/zf-bernard/blob/b240d24b6f72c54fc6e66e798f54cca62f84ef91/src/Normalizer/ExplicitNormalizer.php#L30-L42", "partition": "test"} +{"repo": "interactive-solutions/zf-bernard", "path": "src/Normalizer/ExplicitNormalizer.php", "func_name": "ExplicitNormalizer.supportsDenormalization", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the given class is supported for denormalization by this normalizer.\n\n@param mixed $data Data to denormalize from\n@param string $type The class to which the data should be denormalized\n@param string $format The format being deserialized from\n\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "given", "class", "is", "supported", "for", "denormalization", "by", "this", "normalizer", "."], "sha": "b240d24b6f72c54fc6e66e798f54cca62f84ef91", "url": "https://github.com/interactive-solutions/zf-bernard/blob/b240d24b6f72c54fc6e66e798f54cca62f84ef91/src/Normalizer/ExplicitNormalizer.php#L53-L56", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/RulesValidator.php", "func_name": "RulesValidator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates data.\n\n@param array $data\n@param Validation\\CustomAttributes|Validation\\Messages|Validation\\Rules|Validation\\Validating $rules\n@param string $type\n@throws ValidationException", "docstring_tokens": ["Validates", "data", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/RulesValidator.php#L31-L57", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/RulesValidator.php", "func_name": "RulesValidator.validateModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates model's data.\n\n@param Model $model\n@param Validation\\Rules|Eloquent\\ModelAccess $rules\n@param string $type", "docstring_tokens": ["Validates", "model", "s", "data", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/RulesValidator.php#L66-L74", "partition": "test"} +{"repo": "vainproject/vain-menu", "path": "src/Menu/Traits/MenuItemTrait.php", "func_name": "MenuItemTrait.getActionAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Localized string which represents the\ntype of the menu item.\n\n@param $value\n\n@return string", "docstring_tokens": ["Localized", "string", "which", "represents", "the", "type", "of", "the", "menu", "item", "."], "sha": "ab7622faf76ef5660cbd3feced8c0894fface9bd", "url": "https://github.com/vainproject/vain-menu/blob/ab7622faf76ef5660cbd3feced8c0894fface9bd/src/Menu/Traits/MenuItemTrait.php#L59-L71", "partition": "test"} +{"repo": "vainproject/vain-menu", "path": "src/Menu/Traits/MenuItemTrait.php", "func_name": "MenuItemTrait.getUrlAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the targeting url based upon the given\ntype if the current item.\n\n@param $value\n\n@return string", "docstring_tokens": ["Builds", "the", "targeting", "url", "based", "upon", "the", "given", "type", "if", "the", "current", "item", "."], "sha": "ab7622faf76ef5660cbd3feced8c0894fface9bd", "url": "https://github.com/vainproject/vain-menu/blob/ab7622faf76ef5660cbd3feced8c0894fface9bd/src/Menu/Traits/MenuItemTrait.php#L81-L97", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.goNext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go to next wizard page\n\n@param boolean $commit true if need to commit current form data\n@return void\n@access remote", "docstring_tokens": ["Go", "to", "next", "wizard", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L85-L116", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.skip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Skip current wizard page\n\n@return void\n@access remote", "docstring_tokens": ["Skip", "current", "wizard", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L124-L137", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.goBack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go to previous wizard page\n\n@return void\n@access remote", "docstring_tokens": ["Go", "to", "previous", "wizard", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L145-L164", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.doFinish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finish the wizard process\n\n@return void\n@access remote", "docstring_tokens": ["Finish", "the", "wizard", "process"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L172-L200", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.cancel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean up the sessions of view and all forms\n\n@return void", "docstring_tokens": ["Clean", "up", "the", "sessions", "of", "view", "and", "all", "forms"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L266-L271", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyFormWizard.php", "func_name": "EasyFormWizard.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render this form\n\n@return @return string - HTML text of this form's read mode", "docstring_tokens": ["Render", "this", "form"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyFormWizard.php#L278-L284", "partition": "test"} +{"repo": "EXSyst/Security", "path": "TOTP/TOTPKeyGenerator.php", "func_name": "TOTPKeyGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a TOTP key.\n\n@param int|null $length Key length (default 16)\n\n@return string TOTP key", "docstring_tokens": ["Generates", "a", "TOTP", "key", "."], "sha": "e59126ce49e712221d2fe0d8a5afca14fb65febd", "url": "https://github.com/EXSyst/Security/blob/e59126ce49e712221d2fe0d8a5afca14fb65febd/TOTP/TOTPKeyGenerator.php#L28-L40", "partition": "test"} +{"repo": "koolkode/expression", "path": "src/ExpressionUtil.php", "func_name": "ExpressionUtil.isEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a return value is empty. A value is considered empty if it cannot be accessed or\nif it is countable and count is 0 or if PHP's empty-operator returns true when the\nvallue is passed.\n\n@param callable $callback Callback being used to compute the value.\n@param Context $context Expression context to be passed to the callback.\n@return bool Returns true if the computed value is empty.", "docstring_tokens": ["Check", "if", "a", "return", "value", "is", "empty", ".", "A", "value", "is", "considered", "empty", "if", "it", "cannot", "be", "accessed", "or", "if", "it", "is", "countable", "and", "count", "is", "0", "or", "if", "PHP", "s", "empty", "-", "operator", "returns", "true", "when", "the", "vallue", "is", "passed", "."], "sha": "cd24262530d94b8584059c0c2a08a5a432acbbf2", "url": "https://github.com/koolkode/expression/blob/cd24262530d94b8584059c0c2a08a5a432acbbf2/src/ExpressionUtil.php#L32-L47", "partition": "test"} +{"repo": "koolkode/expression", "path": "src/ExpressionUtil.php", "func_name": "ExpressionUtil.ternaryShortcut", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Evaluate the given ternary shortcut, callback a is evaluated, returns result of a if it is\nnot empty, otherwise returns result of b.\n\n@param callable $a Value to be empty-checked.\n@param callable $b Value to be used in case a evaluates to empty.\n@param Context $context\n@return mixed ternary shortcut value.", "docstring_tokens": ["Evaluate", "the", "given", "ternary", "shortcut", "callback", "a", "is", "evaluated", "returns", "result", "of", "a", "if", "it", "is", "not", "empty", "otherwise", "returns", "result", "of", "b", "."], "sha": "cd24262530d94b8584059c0c2a08a5a432acbbf2", "url": "https://github.com/koolkode/expression/blob/cd24262530d94b8584059c0c2a08a5a432acbbf2/src/ExpressionUtil.php#L58-L77", "partition": "test"} +{"repo": "koolkode/expression", "path": "src/ExpressionUtil.php", "func_name": "ExpressionUtil.contains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the given value is contained within the given container. Supported container\ntypes are arrays and traversable objects.\n\n@param mixed $container The container to be checked.\n@param mixed $val The value to be checked for.\n@return boolean Returns true if the container contains the given value.", "docstring_tokens": ["Check", "if", "the", "given", "value", "is", "contained", "within", "the", "given", "container", ".", "Supported", "container", "types", "are", "arrays", "and", "traversable", "objects", "."], "sha": "cd24262530d94b8584059c0c2a08a5a432acbbf2", "url": "https://github.com/koolkode/expression/blob/cd24262530d94b8584059c0c2a08a5a432acbbf2/src/ExpressionUtil.php#L87-L102", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/MetaIterator.php", "func_name": "MetaIterator.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge to another MetaIterator object\n\n@param MetaIterator $anotherMIObj another MetaIterator object\n@return void", "docstring_tokens": ["Merge", "to", "another", "MetaIterator", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/MetaIterator.php#L112-L128", "partition": "test"} +{"repo": "ender9108/middle-earth-framework", "path": "src/Application/AppFactory.php", "func_name": "AppFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build App object and load config.\n\n@param string|ContainerInterface|null $containerConfig\n@param RouterInterface|null $router\n@param DispatcherInterface|null $dispatcher\n@param null|ResponseInterface $defaultResponse\n\n@throws \\EnderLab\\MiddleEarth\\Router\\RouterException\n@throws \\Psr\\Container\\ContainerExceptionInterface\n@throws \\Psr\\Container\\NotFoundExceptionInterface\n@throws \\Exception\n\n@return App", "docstring_tokens": ["Build", "App", "object", "and", "load", "config", "."], "sha": "878e94d6bb993fe03fe02b424a642ae27a11f2bb", "url": "https://github.com/ender9108/middle-earth-framework/blob/878e94d6bb993fe03fe02b424a642ae27a11f2bb/src/Application/AppFactory.php#L33-L66", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Notify Helper Create a generic event and dispatch the event\n\n@todo move to WobbleCodeNotificationBundle\n\n@param string $key Event key name\n@param array $arguments Arguments with Organization included\n\n@example of arguments\n\n$arguments = [\n'notifyLanguage' => 'es',\n'notifyUserTrigger' => $user,\n'notifyUsers' => [],\n'notifyExternal' => 'notify@email.com',\n'data' => [\n'invitation' => $invitation\n]\n];\n\n@return GenericEvent Dispatched event", "docstring_tokens": ["Notify", "Helper", "Create", "a", "generic", "event", "and", "dispatch", "the", "event"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L243-L253", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.countByGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count items by group\n\n@param mixed $collection\n@param mixed $fieldGroup\n@param mixed $match\n\n@return array Multidimensional array with key => count per group", "docstring_tokens": ["Count", "items", "by", "group"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L386-L394", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.aggregateGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Aggregate with custom group\n\n@param mixed $collection\n@param mixed $fieldGroup\n@param mixed $match\n\n@return array Multidimensional array with key => sum per item", "docstring_tokens": ["Aggregate", "with", "custom", "group"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L405-L444", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a document with support for conditions\n\n@param array $filters List or conditional selectors http://bit.ly/1efirww\n\n@example filters\n\n[\n[\n'field' => 'id',\n'selector' => 'equals',\n'value' => 12\n],\n\u2026\n]\n\n@return MongoCursor", "docstring_tokens": ["Find", "a", "document", "with", "support", "for", "conditions"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L464-L475", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.getMongoIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array of MongoIds of this objects\n\n@param array $objects\n\n@return array MongoIds array", "docstring_tokens": ["Get", "array", "of", "MongoIds", "of", "this", "objects"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L522-L531", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Manager/GenericDocumentManager.php", "func_name": "GenericDocumentManager.normalizeDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize date from ISO8601, if is string it returns a DateTime object\n\n@param {DateTime|string|bool} $date\n\n@return {DateTime|bool} Return DateTime or false for Invalid Dates", "docstring_tokens": ["Normalize", "date", "from", "ISO8601", "if", "is", "string", "it", "returns", "a", "DateTime", "object"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Manager/GenericDocumentManager.php#L569-L577", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/WebPage.php", "func_name": "WebPage.isInFormRefLibs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the Form is in the lib\n\n@param string $formName form name\n@return bool inside or not", "docstring_tokens": ["Check", "the", "Form", "is", "in", "the", "lib"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/WebPage.php#L139-L154", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/WebPage.php", "func_name": "WebPage.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render this WebPage.\n\n@return mixed either print html content, or return html content\n@example ../../../example/ViewObject.php", "docstring_tokens": ["Render", "this", "WebPage", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/WebPage.php#L237-L247", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/WebPage.php", "func_name": "WebPage.getCurrentPageUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current page URL\n\n@return string page URL", "docstring_tokens": ["Get", "current", "page", "URL"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/WebPage.php#L292-L305", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/WebPage.php", "func_name": "WebPage.initAllForms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize all form objects.\n\n@return void", "docstring_tokens": ["Initialize", "all", "form", "objects", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/WebPage.php#L322-L332", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/PhpSettingCheck.php", "func_name": "PhpSettingCheck.compareIntegers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares the given values according to the comparison operator the second\nvalue might have and returns whether the evaluation is true.\n\n@param string $value integer value that is set in php.ini (e.g. \"8M\")\n@param string $setting_value comparison value as string (e.g. \">=8M\")\n\n@return bool true if comparison is okay; false otherwise.", "docstring_tokens": ["Compares", "the", "given", "values", "according", "to", "the", "comparison", "operator", "the", "second", "value", "might", "have", "and", "returns", "whether", "the", "evaluation", "is", "true", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/PhpSettingCheck.php#L219-L249", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/PhpSettingCheck.php", "func_name": "PhpSettingCheck.getIntegerValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the integer value of the given value.\n\n@param mixed $value string to interpret (e.g. \">=2.75M\")\n\n@return int integer value as PHP interprets it on ini settings", "docstring_tokens": ["Returns", "the", "integer", "value", "of", "the", "given", "value", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/PhpSettingCheck.php#L293-L328", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.findSourceFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all .php source files in the specified path or any subdirectory,\nand return them in an array.\n\n@return array The list of .php files.", "docstring_tokens": ["Find", "all", ".", "php", "source", "files", "in", "the", "specified", "path", "or", "any", "subdirectory", "and", "return", "them", "in", "an", "array", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L75-L99", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.registerNS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a namespace with the autoloader.\n\n@param $ns string The namespace to register\n@param $path string The path where to find classes in this namespace\n@param $standard mixed Autoloader::PSR4 or Autoloader::PSR0. PSR4 is\nused by default. You may also provide a callback\nfunction here that will be used as the loader for\nthis namespace, rather than the provided PSR-0\nand PSR-4 loaders.", "docstring_tokens": ["Register", "a", "namespace", "with", "the", "autoloader", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L208-L246", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.buildCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build or rebuild the class cache. This will scan all defined PSR4 paths for .php files,\ndeduce the resulting classname from the path and add the path to the cache.\n\nThis works only when solely PSR4 namespaces are defined. There is\nambiguity in the file path -> class name for PSR0-based namespaces as\ndirectory separators can be converted to either namespace separators or\nunderscores. To avoid this ambiguity, a exception is thrown when PSR0 namespaces\nhave been registered.\n\nIf any of the paths contain files that are not PSR4 compatible, errors may occur,\nbecause the files are not actually loaded to check if they contain the correct class.\nWhen two or more files map to the same class name, a LogicException is thrown.\n\nWhen authorative mode is enabled, after running buildCache the class loader will only\nload classes that were found by buildCache.", "docstring_tokens": ["Build", "or", "rebuild", "the", "class", "cache", ".", "This", "will", "scan", "all", "defined", "PSR4", "paths", "for", ".", "php", "files", "deduce", "the", "resulting", "classname", "from", "the", "path", "and", "add", "the", "path", "to", "the", "cache", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L266-L319", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.findComposerAutoloader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the class name of the Composer autoloader. The name starts\nwith ComposerAutoloader and has a random suffix. Therefore, the list\nof class names is obtained and all class names are compared with this pattern.", "docstring_tokens": ["Find", "the", "class", "name", "of", "the", "Composer", "autoloader", ".", "The", "name", "starts", "with", "ComposerAutoloader", "and", "has", "a", "random", "suffix", ".", "Therefore", "the", "list", "of", "class", "names", "is", "obtained", "and", "all", "class", "names", "are", "compared", "with", "this", "pattern", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L416-L428", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.findComposerAutoloaderVendorDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the Composer vendor directory, using the Composer autoloader class\nname provided.\n\n@param string $composer_loader_class The fully qualified class name of the Composer autoloader\n@return string The vendor dir used by composer", "docstring_tokens": ["Get", "the", "Composer", "vendor", "directory", "using", "the", "Composer", "autoloader", "class", "name", "provided", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L437-L444", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Autoloader.php", "func_name": "Autoloader.getClassLoaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of class loaders that may be able to load the specified\nclass or namespace. The resulting list is ordered so that the most\nspecific class loader comes first and the most generic comes last.\n\n@param string $class The fully qualified class (or namespace) to be loaded\n@return array A list of loaders, each containing keys:\n- 'path' where the classes are stored\n- 'std' either Autoloader::PSR0, Autoloader::PSR4 or a callable to be used\ndelegate the autoload task to\n- 'ns' the namespace this loader provides", "docstring_tokens": ["Get", "a", "list", "of", "class", "loaders", "that", "may", "be", "able", "to", "load", "the", "specified", "class", "or", "namespace", ".", "The", "resulting", "list", "is", "ordered", "so", "that", "the", "most", "specific", "class", "loader", "comes", "first", "and", "the", "most", "generic", "comes", "last", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Autoloader.php#L490-L510", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasAttrWithMiddleware.php", "func_name": "HasAttrWithMiddleware.getMiddlewareOrFallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the value of the given attribute through middleware or locally as a fallback.\n\n@param string $name\n@param $middleMan\n@param mixed $result\n@return mixed|null", "docstring_tokens": ["Gets", "the", "value", "of", "the", "given", "attribute", "through", "middleware", "or", "locally", "as", "a", "fallback", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasAttrWithMiddleware.php#L26-L39", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasAttrWithMiddleware.php", "func_name": "HasAttrWithMiddleware.setMiddlewareOrFallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the value of the given attribute through middleware or locally as a fallback.\n\n@param string $name\n@param mixed $value\n@param $middleMan\n@param mixed $result\n@return mixed", "docstring_tokens": ["Sets", "the", "value", "of", "the", "given", "attribute", "through", "middleware", "or", "locally", "as", "a", "fallback", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasAttrWithMiddleware.php#L50-L63", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.withStringLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new Printable with the given string limit.\n\n@param int $strlim\n@return \\Quanta\\Printable", "docstring_tokens": ["Return", "a", "new", "Printable", "with", "the", "given", "string", "limit", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L57-L60", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.withArrayLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new Printable with the given array limit.\n\n@param int $arrlim\n@return \\Quanta\\Printable", "docstring_tokens": ["Return", "a", "new", "Printable", "with", "the", "given", "array", "limit", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L68-L71", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.string", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a formatted string from the given string.\n\nPrepend the string with an ellipsis when it is longer than the limit.\n\n@param string $value\n@return string", "docstring_tokens": ["Return", "a", "formatted", "string", "from", "the", "given", "string", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L154-L163", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a formatted string from the given array.\n\n@param array $value\n@return string", "docstring_tokens": ["Return", "a", "formatted", "string", "from", "the", "given", "array", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L171-L193", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.arrayPair", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a formatted string for the given key => value pair.\n\n@param int|string $key\n@param mixed $val\n@return string", "docstring_tokens": ["Return", "a", "formatted", "string", "for", "the", "given", "key", "=", ">", "value", "pair", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L202-L209", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.arrayValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a formatted strinf for the given array value.\n\n@param mixed $val\n@return string", "docstring_tokens": ["Return", "a", "formatted", "strinf", "for", "the", "given", "array", "value", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L217-L222", "partition": "test"} +{"repo": "quantaphp/printable", "path": "src/Printable.php", "func_name": "Printable.object", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a formatted string from the given object.\n\n@param object $value\n@return string", "docstring_tokens": ["Return", "a", "formatted", "string", "from", "the", "given", "object", "."], "sha": "4799d0c475468d90aa724b8ece057cc7ee0ff326", "url": "https://github.com/quantaphp/printable/blob/4799d0c475468d90aa724b8ece057cc7ee0ff326/src/Printable.php#L230-L241", "partition": "test"} +{"repo": "interactive-solutions/zf-bernard", "path": "src/Events/NewrelicBackgroundTransaction.php", "func_name": "NewrelicBackgroundTransaction.reject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reject is called when a task throws an exception\n\n@param RejectEnvelopeEvent $event", "docstring_tokens": ["Reject", "is", "called", "when", "a", "task", "throws", "an", "exception"], "sha": "b240d24b6f72c54fc6e66e798f54cca62f84ef91", "url": "https://github.com/interactive-solutions/zf-bernard/blob/b240d24b6f72c54fc6e66e798f54cca62f84ef91/src/Events/NewrelicBackgroundTransaction.php#L48-L56", "partition": "test"} +{"repo": "Askedio/Laravelcp", "path": "src/Providers/LaravelcpServiceProvider.php", "func_name": "LaravelcpServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register routes, translations, views and publishers.\n\n@return void", "docstring_tokens": ["Register", "routes", "translations", "views", "and", "publishers", "."], "sha": "4f9a5181209243269944b75228a1a18fb0364493", "url": "https://github.com/Askedio/Laravelcp/blob/4f9a5181209243269944b75228a1a18fb0364493/src/Providers/LaravelcpServiceProvider.php#L34-L89", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/ViewRenderer.php", "func_name": "ViewRenderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render view object\n\n@param WebPage $webpage\n@return string result of rendering process", "docstring_tokens": ["Render", "view", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/ViewRenderer.php#L40-L60", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/ViewRenderer.php", "func_name": "ViewRenderer.renderSmarty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render smarty template for view object\n\n@param WebPage $webpage\n@param string $tplFile\n@return string result of rendering process", "docstring_tokens": ["Render", "smarty", "template", "for", "view", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/ViewRenderer.php#L186-L209", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/ViewRenderer.php", "func_name": "ViewRenderer.renderPHP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render PHP template for view object\n\n@param EasyForm $formObj\n@param string $tplFile\n@return string result of rendering process", "docstring_tokens": ["Render", "PHP", "template", "for", "view", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/ViewRenderer.php#L228-L247", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/ViewRenderer.php", "func_name": "ViewRenderer.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set headers of view\n\n@param WebPage $viewObj\n@return void", "docstring_tokens": ["Set", "headers", "of", "view"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/ViewRenderer.php#L255-L264", "partition": "test"} +{"repo": "kreta-plugins/Comment", "path": "src/Kreta/Component/Comment/Factory/CommentFactory.php", "func_name": "CommentFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an instance of comment.\n\n@param \\Kreta\\Component\\Issue\\Model\\Interfaces\\IssueInterface $issue The issue\n@param \\Kreta\\Component\\User\\Model\\Interfaces\\UserInterface $user The user\n\n@return \\Kreta\\Component\\Comment\\Model\\Interfaces\\CommentInterface", "docstring_tokens": ["Creates", "an", "instance", "of", "comment", "."], "sha": "4ee2f2fa75f2075b09303ab3d657d6fc56aeb50b", "url": "https://github.com/kreta-plugins/Comment/blob/4ee2f2fa75f2075b09303ab3d657d6fc56aeb50b/src/Kreta/Component/Comment/Factory/CommentFactory.php#L51-L58", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Router.php", "func_name": "Router.listDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find files and directories in a directory. The contents are filtered on\n.php files and files.\n\n@param $dir string The directory to list\n@param $recursive boolean Whether to also scan subdirectories\n@return array The contents of the directory.", "docstring_tokens": ["Find", "files", "and", "directories", "in", "a", "directory", ".", "The", "contents", "are", "filtered", "on", ".", "php", "files", "and", "files", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Router.php#L95-L133", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Router.php", "func_name": "Router.sortModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the modules, check if anything has changed", "docstring_tokens": ["Sort", "the", "modules", "check", "if", "anything", "has", "changed"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Router.php#L138-L147", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Router.php", "func_name": "Router.getRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all routes available from all modules. If the routes have already been\ndetermined, they will be used. Clear the cache to redo this.\n\n@return array The available routes and the associated controller", "docstring_tokens": ["Get", "all", "routes", "available", "from", "all", "modules", ".", "If", "the", "routes", "have", "already", "been", "determined", "they", "will", "be", "used", ".", "Clear", "the", "cache", "to", "redo", "this", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Router.php#L155-L229", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/HTMLMenus.php", "func_name": "HTMLMenus.renderMenuItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render menu items\n\n@param array $menuItemArray menu item array\n@return string html content of the menu items", "docstring_tokens": ["Render", "menu", "items"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/HTMLMenus.php#L86-L97", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/HTMLMenus.php", "func_name": "HTMLMenus.renderSingleMenuItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render single menu item\n\n@param array $menuItem menu item metadata xml array\n@return string html content of each menu item", "docstring_tokens": ["Render", "single", "menu", "item"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/HTMLMenus.php#L105-L144", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/TempFile.php", "func_name": "TempFile.writeCsv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Zapise jako csv radek\n@param array $data\n@return self", "docstring_tokens": ["Zapise", "jako", "csv", "radek"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/TempFile.php#L121-L125", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.configure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define options supported by this command and set name, description and help texts.", "docstring_tokens": ["Define", "options", "supported", "by", "this", "command", "and", "set", "name", "description", "and", "help", "texts", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L51-L101", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.readConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads configuration via default or given config file handler", "docstring_tokens": ["Reads", "configuration", "via", "default", "or", "given", "config", "file", "handler"], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L123-L131", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.runChecks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs all checks and collects results in a report.", "docstring_tokens": ["Runs", "all", "checks", "and", "collects", "results", "in", "a", "report", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L136-L156", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.runExport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the export with the collected report from the checks.", "docstring_tokens": ["Runs", "the", "export", "with", "the", "collected", "report", "from", "the", "checks", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L161-L176", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.writeCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the cachable settings from the run checks to a cache file for later reuse.\n\n@todo should cache only be written if all checks succeeded?\n\n@param boolean $run_was_successful whether or not the checks ran successfully", "docstring_tokens": ["Write", "the", "cachable", "settings", "from", "the", "run", "checks", "to", "a", "cache", "file", "for", "later", "reuse", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L185-L225", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.getLoadedCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a cache instance and tries to load it according to command line argument or config.\n\nThe cache is used in the runner to allow checks to access old values that may already have\nbeen configured and thus improve their flow and e.g. not ask values again or just confirm them.\n\n@return IReadOnlyCache cache instance", "docstring_tokens": ["Creates", "a", "cache", "instance", "and", "tries", "to", "load", "it", "according", "to", "command", "line", "argument", "or", "config", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L235-L276", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/CheckCommand.php", "func_name": "CheckCommand.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the command just after the input has been validated.\n\n@param InputInterface $input An InputInterface instance\n@param OutputInterface $output An OutputInterface instance", "docstring_tokens": ["Initializes", "the", "command", "just", "after", "the", "input", "has", "been", "validated", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/CheckCommand.php#L333-L369", "partition": "test"} +{"repo": "Raphhh/trex-cli", "path": "src/Executor.php", "func_name": "Executor.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "reads the result of a command.\n\n@param string $command\n@param string $eol\n@return string", "docstring_tokens": ["reads", "the", "result", "of", "a", "command", "."], "sha": "fbb057e855e008cd9ba87c6768411ecb464a6918", "url": "https://github.com/Raphhh/trex-cli/blob/fbb057e855e008cd9ba87c6768411ecb464a6918/src/Executor.php#L20-L24", "partition": "test"} +{"repo": "Raphhh/trex-cli", "path": "src/Executor.php", "func_name": "Executor.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Links the command with the current STD streams.\n\n@param string $command\n@param array $streams\n@param array $pipes\n@param string $cwd\n@param array $env\n@param array $options\n@return int", "docstring_tokens": ["Links", "the", "command", "with", "the", "current", "STD", "streams", "."], "sha": "fbb057e855e008cd9ba87c6768411ecb464a6918", "url": "https://github.com/Raphhh/trex-cli/blob/fbb057e855e008cd9ba87c6768411ecb464a6918/src/Executor.php#L37-L50", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/ChainsResults.php", "func_name": "ChainsResults.valueIsChainable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Whether or not the given value is a chainable object.\n\n@param mixed $value\n@return bool", "docstring_tokens": ["Whether", "or", "not", "the", "given", "value", "is", "a", "chainable", "object", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/ChainsResults.php#L74-L87", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/InputForm.php", "func_name": "InputForm.validateForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate input on EasyForm level\ndefault form validation do nothing.\ndevelopers need to override this method to implement their logic\n\n@return boolean", "docstring_tokens": ["Validate", "input", "on", "EasyForm", "level", "default", "form", "validation", "do", "nothing", ".", "developers", "need", "to", "override", "this", "method", "to", "implement", "their", "logic"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/InputForm.php#L86-L131", "partition": "test"} +{"repo": "intpro/quickstart", "path": "src/Laravel/Specification/GroupSpecificationEq.php", "func_name": "GroupSpecificationEq.isSatisfiedBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if given item meets all criteria\n\n@param GroupItem $item\n\n@return bool", "docstring_tokens": ["Checks", "if", "given", "item", "meets", "all", "criteria"], "sha": "6b7318650a10d6488ee220b4d5e697f3581eaeb0", "url": "https://github.com/intpro/quickstart/blob/6b7318650a10d6488ee220b4d5e697f3581eaeb0/src/Laravel/Specification/GroupSpecificationEq.php#L25-L34", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Grant/ClientCredentialsGrant.php", "func_name": "ClientCredentialsGrant.completeFlow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Complete the client credentials grant\n\n@return array\n\n@throws", "docstring_tokens": ["Complete", "the", "client", "credentials", "grant"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Grant/ClientCredentialsGrant.php#L55-L90", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.getSqlValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get string used in sql - with single quote, or without single quote in case of number\n\n@param mixed $input the value to add quote. If null, use the current field value\n@return string string used in sql", "docstring_tokens": ["Get", "string", "used", "in", "sql", "-", "with", "single", "quote", "or", "without", "single", "quote", "in", "case", "of", "number"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L202-L219", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of the field.\n\n@param boolean $formatted true if want to get the formatted value\n@return mixed string or number depending on the field type", "docstring_tokens": ["Get", "the", "value", "of", "the", "field", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L269-L289", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.saveOldValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the old value to an internal variable\n\n@param mixed $value\n@return void", "docstring_tokens": ["Save", "the", "old", "value", "to", "an", "internal", "variable"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L308-L315", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.getDefaultValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default value of the field\n\n@return string the default value of the field", "docstring_tokens": ["Get", "default", "value", "of", "the", "field"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L322-L328", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.getValueOnCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value when a new record is created\n\n@return mixed the value of the field", "docstring_tokens": ["Get", "the", "value", "when", "a", "new", "record", "is", "created"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L335-L341", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.getValueOnUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value when a record is updated\n\n@return mixed the value of the field", "docstring_tokens": ["Get", "the", "value", "when", "a", "record", "is", "updated"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L348-L353", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.checkRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the field is a required field\n\n@return boolean true if the field is a required field", "docstring_tokens": ["Check", "if", "the", "field", "is", "a", "required", "field"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L370-L382", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.checkValueType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check value type\n\n@param mixed $value\n@return mixed|boolean", "docstring_tokens": ["Check", "value", "type"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L390-L427", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizField.php", "func_name": "BizField.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the field has valid value\n\n@return boolean true if validation is good", "docstring_tokens": ["Check", "if", "the", "field", "has", "valid", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizField.php#L434-L440", "partition": "test"} +{"repo": "R3VoLuT1OneR/twig-themes", "path": "lib/Twig/Loader/Themes.php", "func_name": "Twig_Loader_Themes.findFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find resource file path.\n\n@param string $name\n@param bool $relative\n\n@return string", "docstring_tokens": ["Find", "resource", "file", "path", "."], "sha": "ab9e0644551ac134dd1e3b61b07d53ae9306a7f1", "url": "https://github.com/R3VoLuT1OneR/twig-themes/blob/ab9e0644551ac134dd1e3b61b07d53ae9306a7f1/lib/Twig/Loader/Themes.php#L158-L168", "partition": "test"} +{"repo": "R3VoLuT1OneR/twig-themes", "path": "lib/Twig/Loader/Themes.php", "func_name": "Twig_Loader_Themes.prepareName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepend theme namespace if namespace not set.\n\n@param string $name\n@return string", "docstring_tokens": ["Prepend", "theme", "namespace", "if", "namespace", "not", "set", "."], "sha": "ab9e0644551ac134dd1e3b61b07d53ae9306a7f1", "url": "https://github.com/R3VoLuT1OneR/twig-themes/blob/ab9e0644551ac134dd1e3b61b07d53ae9306a7f1/lib/Twig/Loader/Themes.php#L176-L184", "partition": "test"} +{"repo": "R3VoLuT1OneR/twig-themes", "path": "lib/Twig/Loader/Themes.php", "func_name": "Twig_Loader_Themes.useTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set loader theme.\n\n@param $theme\n@throws Twig_Error_Loader", "docstring_tokens": ["Set", "loader", "theme", "."], "sha": "ab9e0644551ac134dd1e3b61b07d53ae9306a7f1", "url": "https://github.com/R3VoLuT1OneR/twig-themes/blob/ab9e0644551ac134dd1e3b61b07d53ae9306a7f1/lib/Twig/Loader/Themes.php#L192-L199", "partition": "test"} +{"repo": "R3VoLuT1OneR/twig-themes", "path": "lib/Twig/Loader/Themes.php", "func_name": "Twig_Loader_Themes.registerTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register theme for future using.\n\n@param string $themeNamespace Full theme namespace\n@param bool $autoUse Use this theme by default\n\n@return $this", "docstring_tokens": ["Register", "theme", "for", "future", "using", "."], "sha": "ab9e0644551ac134dd1e3b61b07d53ae9306a7f1", "url": "https://github.com/R3VoLuT1OneR/twig-themes/blob/ab9e0644551ac134dd1e3b61b07d53ae9306a7f1/lib/Twig/Loader/Themes.php#L219-L235", "partition": "test"} +{"repo": "R3VoLuT1OneR/twig-themes", "path": "lib/Twig/Loader/Themes.php", "func_name": "Twig_Loader_Themes.addTheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add theme paths to loader.\n\n@param string $basePath Base theme path\n@param string $themeName Theme name\n@param string $parentNamespace Paths would be inherited from this theme\n@param bool $isContainer Is theme only container\n\n@return array (new theme base path, new theme namespace)\n@throws Twig_Error_Loader", "docstring_tokens": ["Add", "theme", "paths", "to", "loader", "."], "sha": "ab9e0644551ac134dd1e3b61b07d53ae9306a7f1", "url": "https://github.com/R3VoLuT1OneR/twig-themes/blob/ab9e0644551ac134dd1e3b61b07d53ae9306a7f1/lib/Twig/Loader/Themes.php#L248-L324", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/ArrayUtils.php", "func_name": "ArrayUtils.key2offset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the array offset corresponding to an array key.\n@param Array &$arr\n@param strin|int $key\n@return int", "docstring_tokens": ["Return", "the", "array", "offset", "corresponding", "to", "an", "array", "key", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/ArrayUtils.php#L18-L21", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/ArrayUtils.php", "func_name": "ArrayUtils.offset2key", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the array key corresponding to a given array offset.\n@param Array &$arr\n@param int $offset\n@return string|int", "docstring_tokens": ["Returns", "the", "array", "key", "corresponding", "to", "a", "given", "array", "offset", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/ArrayUtils.php#L29-L33", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/ArrayUtils.php", "func_name": "ArrayUtils.stDeviation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the standard deviation of numeric array values.\n@param array $arr\n@return float|null", "docstring_tokens": ["Returns", "the", "standard", "deviation", "of", "numeric", "array", "values", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/ArrayUtils.php#L69-L80", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.setMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply middleware to this route\n\n@param string|array $middleware\n@return Route", "docstring_tokens": ["Apply", "middleware", "to", "this", "route"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L184-L193", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.getAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route action.\n\n@return string|callable", "docstring_tokens": ["Get", "route", "action", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L263-L271", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.getPathParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the path parameters for the given URI.\n\nMakes a key => value pair of path part names and their value.\n\nEg.\n\nThe route \"books/{id}\" with an actual URI of \"books/1234\"\nwill return:\n\n[\n\"id\" => \"1234\",\n]\n\nThese named path params are used during Dependency Injection resolution\nin the Kernel to pass off to the matched method parameter.\n\n@param string $path\n@return array", "docstring_tokens": ["Extract", "the", "path", "parameters", "for", "the", "given", "URI", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L333-L350", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.matchScheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the given scheme match this route's scheme?\n\n@param string $scheme\n@return bool", "docstring_tokens": ["Does", "the", "given", "scheme", "match", "this", "route", "s", "scheme?"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L364-L371", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.matchHostname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the given hostname match the route's hostname?\n\n@param string $hostnames\n@return bool", "docstring_tokens": ["Does", "the", "given", "hostname", "match", "the", "route", "s", "hostname?"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L380-L387", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Route.php", "func_name": "Route.matchUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the given URI match the route's URI?\n\n@param string $uri\n@return bool", "docstring_tokens": ["Does", "the", "given", "URI", "match", "the", "route", "s", "URI?"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Route.php#L406-L410", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataTree.php", "func_name": "BizDataTree.fetchTree", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch records in tree structure\n\n@return ", "docstring_tokens": ["Fetch", "records", "in", "tree", "structure"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataTree.php#L52-L76", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataTree.php", "func_name": "BizDataTree.fetchNodePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch node path\n\n@param string $nodeSearchRule\n@param array $pathArray\n@return ", "docstring_tokens": ["Fetch", "node", "path"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataTree.php#L85-L97", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataTree.php", "func_name": "BizDataTree._getChildrenNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List all children records of a given record\n\n@return void", "docstring_tokens": ["List", "all", "children", "records", "of", "a", "given", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataTree.php#L104-L130", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Report.php", "func_name": "Report.getSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of ISetting instances that match the given criterias\nfrom the successful results of this report.\n\n@param mixed $groups string or array of group names settings should match, the default null matches always\n@param integer $flag type of settings to get\n\n@return array of ISetting instances", "docstring_tokens": ["Returns", "an", "array", "of", "ISetting", "instances", "that", "match", "the", "given", "criterias", "from", "the", "successful", "results", "of", "this", "report", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Report.php#L85-L96", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/HTMLPreview.php", "func_name": "HTMLPreview.getLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get link of LabelText\n\n@return string", "docstring_tokens": ["Get", "link", "of", "LabelText"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/HTMLPreview.php#L82-L88", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/HTMLPreview.php", "func_name": "HTMLPreview.getText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get text of label\n\n@return string", "docstring_tokens": ["Get", "text", "of", "label"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/HTMLPreview.php#L95-L101", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/NewForm.php", "func_name": "NewForm.getNewRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new record\n\n@return array", "docstring_tokens": ["Get", "new", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/NewForm.php#L114-L134", "partition": "test"} +{"repo": "SugiPHP/Auth", "path": "HOTPSecret.php", "func_name": "HOTPSecret.setSecret", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a secret token.\n\n@param string $secret The secret token in format specified in the second parameter\n@param [type] $format (optional) The format of the secret token - defaults to raw format", "docstring_tokens": ["Sets", "a", "secret", "token", "."], "sha": "94a6b42ea8f84321959daf07d619690aee1011ef", "url": "https://github.com/SugiPHP/Auth/blob/94a6b42ea8f84321959daf07d619690aee1011ef/HOTPSecret.php#L42-L51", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Number.php", "func_name": "Number.getBinary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati cislo v binarni velikosti\n@param float|int $number\n@return int", "docstring_tokens": ["Vrati", "cislo", "v", "binarni", "velikosti"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Number.php#L20-L35", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Number.php", "func_name": "Number.getNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati zformatovane cislo\n@param float $number\n@param int $decimal\n@return string", "docstring_tokens": ["Vrati", "zformatovane", "cislo"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Number.php#L43-L59", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.addTableColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a join table and cloumn in the sql statement\n\n@param string $join table join name\n@param string $column column name\n@return void", "docstring_tokens": ["Add", "a", "join", "table", "and", "cloumn", "in", "the", "sql", "statement"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L104-L112", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.addSqlExpression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add SQL expression in the sql statement\nsqlExpr has format of \"...join1.column1, ... join2.column2...\". Replace join with alias\n\n@param string $sqlExpr sql expression\n@param string $alias sql alias\n@return void", "docstring_tokens": ["Add", "SQL", "expression", "in", "the", "sql", "statement", "sqlExpr", "has", "format", "of", "...", "join1", ".", "column1", "...", "join2", ".", "column2", "...", ".", "Replace", "join", "with", "alias"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L122-L130", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.resetSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset SQL to be empty\n\n@return avoid", "docstring_tokens": ["Reset", "SQL", "to", "be", "empty"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L165-L170", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.addOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add order by clause\n\n@param string $orderBy SQL ORDER BY clause\n@return void", "docstring_tokens": ["Add", "order", "by", "clause"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L198-L210", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.addOtherSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add other SQL clause\n\n@param string $otherSQL additional SQL statment\n@return void", "docstring_tokens": ["Add", "other", "SQL", "clause"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L218-L230", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.addAssociation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add association in the SQL\n\n@param array $assoc additional SQL statment\n@return void", "docstring_tokens": ["Add", "association", "in", "the", "SQL"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L238-L295", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataSql.php", "func_name": "BizDataSql.getSqlStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the SQL statement\n\n@return string SQL statement", "docstring_tokens": ["Get", "the", "SQL", "statement"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataSql.php#L302-L326", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/DataSet.php", "func_name": "DataSet.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get item value of array\n\n@param mixed $key\n@return mixed", "docstring_tokens": ["Get", "item", "value", "of", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/DataSet.php#L66-L73", "partition": "test"} +{"repo": "crsoares/DoctrineModule", "path": "src/DoctrineModule/Controller/CliController.php", "func_name": "CliController.cliAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Index action - runs the console application", "docstring_tokens": ["Index", "action", "-", "runs", "the", "console", "application"], "sha": "a99051dabbabfbc74a85de4fab4d269ce7833bb3", "url": "https://github.com/crsoares/DoctrineModule/blob/a99051dabbabfbc74a85de4fab4d269ce7833bb3/src/DoctrineModule/Controller/CliController.php#L50-L60", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Helpers/TemplateHelper.php", "func_name": "TemplateHelper.getDefaultTemplateLocations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of default template location\n@return array", "docstring_tokens": ["Get", "list", "of", "default", "template", "location"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Helpers/TemplateHelper.php#L183-L192", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/LabelList.php", "func_name": "LabelList.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render, draw the element to show description\n\n@return string HTML text", "docstring_tokens": ["Render", "draw", "the", "element", "to", "show", "description"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/LabelList.php#L65-L108", "partition": "test"} +{"repo": "GetOlympus/olympus-font-field", "path": "src/Font/Font.php", "func_name": "Font.getFontGoogle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all available Google fonts.\n\n@param string $api_key\n@return array $fonts", "docstring_tokens": ["Return", "all", "available", "Google", "fonts", "."], "sha": "fa6d2da07e3266c5eb8a7865421d468224d2635e", "url": "https://github.com/GetOlympus/olympus-font-field/blob/fa6d2da07e3266c5eb8a7865421d468224d2635e/src/Font/Font.php#L77-L150", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Settings/Setting.php", "func_name": "Setting.matchesGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether this setting's group matches the given groups.\n\n@param mixed $groups string or array with group names, default null matches always\n\n@return boolean true when this setting's group matches the given groups", "docstring_tokens": ["Determines", "whether", "this", "setting", "s", "group", "matches", "the", "given", "groups", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Settings/Setting.php#L114-L122", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.validateInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate user input data and trigger error message and adjust BizField if invalid.\n\n@return boolean\n@todo: throw Openbizx\\Data\\Exception", "docstring_tokens": ["Validate", "user", "input", "data", "and", "trigger", "error", "message", "and", "adjust", "BizField", "if", "invalid", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L56-L101", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.validateUniqueness", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate uniqueness\nUniqueness = \"fld1,fld2;fld3,fld4;...\"\n\n@return boolean", "docstring_tokens": ["Validate", "uniqueness", "Uniqueness", "=", "fld1", "fld2", ";", "fld3", "fld4", ";", "..."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L109-L145", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.canUpdateRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the current record can be updated\n\n@return boolean", "docstring_tokens": ["Check", "if", "the", "current", "record", "can", "be", "updated"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L152-L168", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.canDeleteRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the current record can be deleted\n\n@return boolean", "docstring_tokens": ["Check", "if", "the", "current", "record", "can", "be", "deleted"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L184-L199", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.updateRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update record using given input record array\n\n@param array $recArr - associated array whose keys are field names of this BizDataObj\n@param array $oldRecord - associated array who is the old record field name / value pairs\n@return boolean - if return false, the caller can call GetErrorMessage to get the error.", "docstring_tokens": ["Update", "record", "using", "given", "input", "record", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L221-L280", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.newRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an empty new record\n\n@return array - empty record array with default values", "docstring_tokens": ["Create", "an", "empty", "new", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L379-L394", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.generateId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Id according to the IdGeneration attribute\n\n@param boolean $isBeforeInsert\n@param string $tableName\n@param string $idCloumnName\n@return long|string|boolean", "docstring_tokens": ["Generate", "Id", "according", "to", "the", "IdGeneration", "attribute"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L404-L435", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.insertRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert record using given input record array\n\n@param array $recArr - associated array whose keys are field names of this BizDataObj\n@return boolean - if return false, the caller can call getErrorMessage to get the error.", "docstring_tokens": ["Insert", "record", "using", "given", "input", "record", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L443-L491", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.deleteRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete current record or delete the given input record\n\n@param array $recArr - associated array whose keys are field names of this BizDataObj\n@return boolean - if return false, the caller can call GetErrorMessage to get the error.", "docstring_tokens": ["Delete", "current", "record", "or", "delete", "the", "given", "input", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L510-L556", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.getOnAuditFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get auditable fields\n\n@return array list of {@link BizField} objects who are auditable", "docstring_tokens": ["Get", "auditable", "fields"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L711-L719", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj._runDOTrigger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run DataObject trigger\n\n@param string $triggerType type of the trigger", "docstring_tokens": ["Run", "DataObject", "trigger"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L726-L742", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.getJoinFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all fields that belong to the same join of the input field\n\n@param BizDataObj $joinDataObj the join data object\n@return array joined fields array", "docstring_tokens": ["Get", "all", "fields", "that", "belong", "to", "the", "same", "join", "of", "the", "input", "field"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L750-L782", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj.joinRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pick the joined object's current record to the current record\n\n@param BizDataObj $joinDataObj\n@param string $joinName name of join (optional)\n@return array return a modified record with joined record data", "docstring_tokens": ["Pick", "the", "joined", "object", "s", "current", "record", "to", "the", "current", "record"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L791-L823", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj.php", "func_name": "BizDataObj._isNeedGenerateId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is need to generate Id?\n\n@param array $recArr array of record\n@return boolean", "docstring_tokens": ["Is", "need", "to", "generate", "Id?"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj.php#L874-L882", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Runner/Runner.php", "func_name": "Runner.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the checks that are defined in the config\nand generate a report to consume by others.", "docstring_tokens": ["Execute", "the", "checks", "that", "are", "defined", "in", "the", "config", "and", "generate", "a", "report", "to", "consume", "by", "others", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Runner/Runner.php#L58-L107", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Runner/Runner.php", "func_name": "Runner.initReport", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the internal report instance being used to collect the results of the checks.\n\n@return IReport report instance", "docstring_tokens": ["Initializes", "the", "internal", "report", "instance", "being", "used", "to", "collect", "the", "results", "of", "the", "checks", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Runner/Runner.php#L145-L160", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Kernel/HttpKernel.php", "func_name": "HttpKernel.resolveRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve to a Route instance or throw exception\n\n@param Request $request\n@throws NotFoundHttpException\n@throws MethodNotAllowedHttpException\n@return Route", "docstring_tokens": ["Resolve", "to", "a", "Route", "instance", "or", "throw", "exception"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Kernel/HttpKernel.php#L47-L61", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Kernel/HttpKernel.php", "func_name": "HttpKernel.resolveActionParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the action parameters for dependency injection.\n\n@param Request $request\n@param callable $target\n@return array", "docstring_tokens": ["Resolve", "the", "action", "parameters", "for", "dependency", "injection", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Kernel/HttpKernel.php#L123-L162", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/ReadOnlyCache.php", "func_name": "ReadOnlyCache.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether a cached value for a setting from the loaded cache exists, that matches the given criterias.\n\n@param string $name key of wanted setting\n@param mixed $groups group name of setting, default is null and matches always\n@param integer $flag setting type to match, default is null and matches always\n\n@return boolean true if value for that setting is in cache; false otherwise", "docstring_tokens": ["Returns", "whether", "a", "cached", "value", "for", "a", "setting", "from", "the", "loaded", "cache", "exists", "that", "matches", "the", "given", "criterias", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/ReadOnlyCache.php#L46-L55", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/ReadOnlyCache.php", "func_name": "ReadOnlyCache.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first setting from the loaded cache that matches the given criterias.\n\n@param string $name key of wanted setting\n@param mixed $groups group name of setting, default is null and matches always\n@param integer $flag setting type to match, default is null and matches always\n\n@return ISetting|null matching setting", "docstring_tokens": ["Returns", "the", "first", "setting", "from", "the", "loaded", "cache", "that", "matches", "the", "given", "criterias", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/ReadOnlyCache.php#L66-L77", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/ReadOnlyCache.php", "func_name": "ReadOnlyCache.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of settings matching the given criterias.\n\n@param mixed $groups name of a group or array of group names or null for all settings regardless of group\n@param type $flag only return settings that match the given flag value\n\n@return array of setting instances matching the specification\n\n@throws \\InvalidArgumentException if $groups is neither null nor a string or an array", "docstring_tokens": ["Returns", "an", "array", "of", "settings", "matching", "the", "given", "criterias", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/ReadOnlyCache.php#L89-L110", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/ReadOnlyCache.php", "func_name": "ReadOnlyCache.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the settings from the configured or default location.\n\n@return boolean true, if reading from cache succeeded; false otherwise.\n\n@throws \\InvalidArgumentException on invalid or broken cache file", "docstring_tokens": ["Loads", "the", "settings", "from", "the", "configured", "or", "default", "location", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/ReadOnlyCache.php#L119-L160", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/ReadOnlyCache.php", "func_name": "ReadOnlyCache.setLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the given location as the cache location to use.\n\n@param string $location cache file path\n\n@return ReadOnlyCache this instance for fluent API support\n\n@throws \\InvalidArgumentException if location is not readable", "docstring_tokens": ["Sets", "the", "given", "location", "as", "the", "cache", "location", "to", "use", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/ReadOnlyCache.php#L171-L180", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds individual CSS rules and evaluates them for needed prefixes, then replaces the rules with the prefixed rule\nas needed.\n\n@param string $content The CSS, without prefixes.\n\n@return string The CSS with prefixes.", "docstring_tokens": ["Finds", "individual", "CSS", "rules", "and", "evaluates", "them", "for", "needed", "prefixes", "then", "replaces", "the", "rules", "with", "the", "prefixed", "rule", "as", "needed", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L137-L185", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixAlignItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Properly prefixes the 'align-items' property.\n\n@param string $value The value of the property.\n@param null $extra !important or null\n\n@return array The prefixed rules to replace the 'align-items' rule.", "docstring_tokens": ["Properly", "prefixes", "the", "align", "-", "items", "property", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L233-L258", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixAlignContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Properly prefixes the 'align-content' property.\n\n@param string $value The value of the property.\n@param null $extra !important or null\n\n@return array The prefixed rules to replace the 'align-content' rule.", "docstring_tokens": ["Properly", "prefixes", "the", "align", "-", "content", "property", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L268-L299", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixAlignSelf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Properly prefixes the 'align-self' property.\n\n@param string $value The value of the property.\n@param null $extra !important or null\n\n@return array The prefixed rules to replace the 'align-self' rule.", "docstring_tokens": ["Properly", "prefixes", "the", "align", "-", "self", "property", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L309-L334", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixFlex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Properly prefixes the 'flex' property & value.\n\n@param string $value The value of the property.\n@param null $extra !important or null\n\n@return array The prefixed rules to replace the 'flex' rule.", "docstring_tokens": ["Properly", "prefixes", "the", "flex", "property", "&", "value", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L344-L363", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.prefixJustifyContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Properly prefixes the 'justify-content' property.\n\n@param string $value The value of the property.\n@param null $extra !important or null\n\n@return array The prefixed rules to replace the 'justify-content' rule.", "docstring_tokens": ["Properly", "prefixes", "the", "justify", "-", "content", "property", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L373-L402", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/PleasingPrefixFilter.php", "func_name": "PleasingPrefixFilter.getPrefixRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Interpets the given parameters into a set of CSS rules to insert in replacement of the rule being evaluated.\n\nThe number of properties and values given will be matched up to the other. For instance, if one property\nis given, it will be duplicated to match the count of the number of values given and vice versa.\n\n@param array|string $prop The property or properties to use with the rules.\n@param array|string|float $val The value or values to use with the rules.\n@param string $extra Any extra additions to the rules, such as !important\n\n@return array The CSS rules to insert", "docstring_tokens": ["Interpets", "the", "given", "parameters", "into", "a", "set", "of", "CSS", "rules", "to", "insert", "in", "replacement", "of", "the", "rule", "being", "evaluated", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/PleasingPrefixFilter.php#L418-L449", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/Media.php", "func_name": "Media.Comment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a comment to a particular media\n@access public\n@param int $media_id A media ID\n@param string $comment The text of the comment\n@param string $token An access token\n@return Response", "docstring_tokens": ["Adds", "a", "comment", "to", "a", "particular", "media"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/Media.php#L127-L131", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Instagram/InstagramBase.php", "func_name": "InstagramBase.Delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A convenience method for making DELETE requests via the request object\n@access protected\n@param string $url A url in which to make a DELETE request\n@param Array $params An associative array of key/value pairs to pass to the API\n@return Response", "docstring_tokens": ["A", "convenience", "method", "for", "making", "DELETE", "requests", "via", "the", "request", "object"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Instagram/InstagramBase.php#L145-L154", "partition": "test"} +{"repo": "BureauPieper/storee-php-client", "path": "src/Client/Result/ContentResult.php", "func_name": "ContentResult.getFilteredMedia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter media by types\n\n@param array $filters image|video|document|audio|other(binary attachments)", "docstring_tokens": ["Filter", "media", "by", "types"], "sha": "6416ff001694d3c0b9a010f4ca262c57e6ed102d", "url": "https://github.com/BureauPieper/storee-php-client/blob/6416ff001694d3c0b9a010f4ca262c57e6ed102d/src/Client/Result/ContentResult.php#L103-L124", "partition": "test"} +{"repo": "BureauPieper/storee-php-client", "path": "src/Client/Result/ContentResult.php", "func_name": "ContentResult.getPreferredImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If there is a preferred image this one will be returned. If not, the first one of the\ncollection will be returned.\n\nIf an $orientation is passed, @getPreferredImageByOrientation will be called as a fallback, this will allow\nalot less boilerplate code in sitations where you might want the user' favourite image as the highest priority,\nbut the best fitting alternative to a certain orientation, if not.\n\nF.e.: A large header image:\n\ngetPreferredImage('1080p', 'landscape') Get the user-preferred image, and return the url to the source\nof the '1080' format. Or give me the image that best fits the\n'landscape' aspect. And if there is no image found at all, give me\na placeholder if possible.\n\nNB: Falls back to placeholders\n\n@param null $aspect Return the src string instead of the medium array\n@param string|null $orientation portrait|landscape|null\n\n@return null|string|array", "docstring_tokens": ["If", "there", "is", "a", "preferred", "image", "this", "one", "will", "be", "returned", ".", "If", "not", "the", "first", "one", "of", "the", "collection", "will", "be", "returned", "."], "sha": "6416ff001694d3c0b9a010f4ca262c57e6ed102d", "url": "https://github.com/BureauPieper/storee-php-client/blob/6416ff001694d3c0b9a010f4ca262c57e6ed102d/src/Client/Result/ContentResult.php#L157-L184", "partition": "test"} +{"repo": "BureauPieper/storee-php-client", "path": "src/Client/Result/ContentResult.php", "func_name": "ContentResult.getPlaceholder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Multiple placeholders can be set for a specific content-type, keep in mind that one will be\nset for this session. Server-side relating a specific random placeholder as a preferred one is a WIP.", "docstring_tokens": ["Multiple", "placeholders", "can", "be", "set", "for", "a", "specific", "content", "-", "type", "keep", "in", "mind", "that", "one", "will", "be", "set", "for", "this", "session", ".", "Server", "-", "side", "relating", "a", "specific", "random", "placeholder", "as", "a", "preferred", "one", "is", "a", "WIP", "."], "sha": "6416ff001694d3c0b9a010f4ca262c57e6ed102d", "url": "https://github.com/BureauPieper/storee-php-client/blob/6416ff001694d3c0b9a010f4ca262c57e6ed102d/src/Client/Result/ContentResult.php#L234-L243", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/CssRule.php", "func_name": "CssRule.fromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a CssRule object from an existing CSS string.\n\n@param string $string\n\n@return null|CssRule", "docstring_tokens": ["Create", "a", "CssRule", "object", "from", "an", "existing", "CSS", "string", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/CssRule.php#L53-L83", "partition": "test"} +{"repo": "jonesiscoding/pleasing-filters", "path": "src/CssRule.php", "func_name": "CssRule.getOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The properly formatted CSS rule.\n@return string", "docstring_tokens": ["The", "properly", "formatted", "CSS", "rule", "."], "sha": "39a364006d0561399ee1e13b0c6ed17de58fdd9b", "url": "https://github.com/jonesiscoding/pleasing-filters/blob/39a364006d0561399ee1e13b0c6ed17de58fdd9b/src/CssRule.php#L109-L112", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Bootstrap/Laravel/Eloquent/EloquentReflection.php", "func_name": "EloquentReflection.getEloquentReflectionMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks Eloquent-specific method resolution methods.\n\n@throws \\ReflectionException\n\n@param $object\n@param $method\n@return bool|\\ReflectionMethod", "docstring_tokens": ["Checks", "Eloquent", "-", "specific", "method", "resolution", "methods", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Bootstrap/Laravel/Eloquent/EloquentReflection.php#L28-L54", "partition": "test"} +{"repo": "ekyna/SitemapBundle", "path": "Controller/SitemapController.php", "func_name": "SitemapController.indexAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the sitemaps index.\n\n@param Request $request\n@return Response", "docstring_tokens": ["Renders", "the", "sitemaps", "index", "."], "sha": "0ccfc88b5c0faaeeb22118cad2d5b30cad8d31f5", "url": "https://github.com/ekyna/SitemapBundle/blob/0ccfc88b5c0faaeeb22118cad2d5b30cad8d31f5/Controller/SitemapController.php#L23-L56", "partition": "test"} +{"repo": "ekyna/SitemapBundle", "path": "Controller/SitemapController.php", "func_name": "SitemapController.sitemapAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the sitemap.\n\n@param Request $request\n@return Response", "docstring_tokens": ["Renders", "the", "sitemap", "."], "sha": "0ccfc88b5c0faaeeb22118cad2d5b30cad8d31f5", "url": "https://github.com/ekyna/SitemapBundle/blob/0ccfc88b5c0faaeeb22118cad2d5b30cad8d31f5/Controller/SitemapController.php#L64-L95", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Helpers/XMLParser.php", "func_name": "XMLParser.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Then, coerce that into a simple nested array.", "docstring_tokens": ["Then", "coerce", "that", "into", "a", "simple", "nested", "array", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Helpers/XMLParser.php#L84-L99", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/ResourceServer.php", "func_name": "ResourceServer.isValidRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the access token is valid or not\n\n@param bool $headerOnly Limit Access Token to Authorization header\n@param \\OAuth2\\Server\\Entity\\AccessTokenEntity|null $accessToken Access Token\n\n@throws \\OAuth2\\Server\\Exception\\AccessDeniedException\n@throws \\OAuth2\\Server\\Exception\\InvalidRequestException\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "access", "token", "is", "valid", "or", "not"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/ResourceServer.php#L121-L142", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/ResourceServer.php", "func_name": "ResourceServer.determineAccessToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads in the access token from the headers\n\n@param bool $headerOnly Limit Access Token to Authorization header\n\n@throws \\OAuth2\\Server\\Exception\\InvalidRequestException Thrown if there is no access token presented\n\n@return string", "docstring_tokens": ["Reads", "in", "the", "access", "token", "from", "the", "headers"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/ResourceServer.php#L153-L176", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/CallsMiddleware.php", "func_name": "CallsMiddleware.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the method call to each item.\n\n@param string $method\n@param array $arguments\n@param string $result\n@param bool $catchHalt\n@return mixed", "docstring_tokens": ["Sends", "the", "method", "call", "to", "each", "item", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/CallsMiddleware.php#L42-L80", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/CallsMiddleware.php", "func_name": "CallsMiddleware.callContextChanged", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compares the type against the before and after results to determine if a call from the \"methods\"\ntype changed the context before the next middleware class could access it.\n\n@param string $type\n@param mixed $before\n@param mixed $after\n@return bool", "docstring_tokens": ["Compares", "the", "type", "against", "the", "before", "and", "after", "results", "to", "determine", "if", "a", "call", "from", "the", "methods", "type", "changed", "the", "context", "before", "the", "next", "middleware", "class", "could", "access", "it", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/CallsMiddleware.php#L91-L97", "partition": "test"} +{"repo": "koolkode/process", "path": "src/AbstractEngine.php", "func_name": "AbstractEngine.storeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queues a command according to it's priority.\n\n@param CommandInterface $command\n@return CommandInterface", "docstring_tokens": ["Queues", "a", "command", "according", "to", "it", "s", "priority", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/AbstractEngine.php#L239-L254", "partition": "test"} +{"repo": "koolkode/process", "path": "src/AbstractEngine.php", "func_name": "AbstractEngine.performExecution", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Triggers the given callback, can be extended in order to wrap interceptors around execution of commands.\n\nBe sure to call the parent method when you override this method!\n\nKeep in mind that nested executions are allowed and need to be dealt with when implementing\nfeatures such as transaction handling.\n\n@param callable $callback This callback triggers the actual execution of commands!\n@return mixed Result of an execution, not relevant when only pushing commands.", "docstring_tokens": ["Triggers", "the", "given", "callback", "can", "be", "extended", "in", "order", "to", "wrap", "interceptors", "around", "execution", "of", "commands", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/AbstractEngine.php#L267-L293", "partition": "test"} +{"repo": "amcms/core", "path": "src/Services/GlobalPhsService.php", "func_name": "GlobalPhsService.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get global placeholder\n\n@param string $ph\n@return mixed|null", "docstring_tokens": ["Get", "global", "placeholder"], "sha": "161eb48a78c2ed0f64866ca9c7ab0efac1091b8b", "url": "https://github.com/amcms/core/blob/161eb48a78c2ed0f64866ca9c7ab0efac1091b8b/src/Services/GlobalPhsService.php#L42-L49", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/PharCompiler.php", "func_name": "PharCompiler.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a PHP archive file with all files necessary to\nrun Environaut standalone.\n\n@param string $phar_path full path to the php archive file to create", "docstring_tokens": ["Creates", "a", "PHP", "archive", "file", "with", "all", "files", "necessary", "to", "run", "Environaut", "standalone", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/PharCompiler.php#L19-L84", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Router.php", "func_name": "Router.getPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a regex pattern by name\n\n@param string $name\n@return string|null", "docstring_tokens": ["Get", "a", "regex", "pattern", "by", "name"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Router.php#L83-L90", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/Router.php", "func_name": "Router.mergeGroupConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge parent route Group configs in with child group.\n\n@param array $groupConfig\n@return array", "docstring_tokens": ["Merge", "parent", "route", "Group", "configs", "in", "with", "child", "group", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/Router.php#L188-L208", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizDataObj_Assoc.php", "func_name": "BizDataObj_Assoc.removeRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a record from current record set of current association relationship\n\n@param BizDataObj $dataObj - the instance of BizDataObj\n@param array $recArr - the record array to be removed from the data object\n@param boolean &$isParentObjUpdated - flag that indicates if the parent form needs to be updated\n@return boolean", "docstring_tokens": ["Remove", "a", "record", "from", "current", "record", "set", "of", "current", "association", "relationship"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizDataObj_Assoc.php#L194-L212", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizDataObj_Assoc.php", "func_name": "BizDataObj_Assoc._removeRecordMtoM", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove record many to many\n\n@param BizDataObj $dataObj\n@param array $recArr\n@return boolean", "docstring_tokens": ["Remove", "record", "many", "to", "many"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizDataObj_Assoc.php#L221-L241", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizDataObj_Assoc.php", "func_name": "BizDataObj_Assoc._removeRecordMto1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove record many to one\n\n@global BizSystem $g_BizSystem\n@param BizDataObj $dataObj\n@param array $recArr\n@return boolean", "docstring_tokens": ["Remove", "record", "many", "to", "one"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizDataObj_Assoc.php#L278-L292", "partition": "test"} +{"repo": "ddvphp/ddv-util", "path": "src/DdvUtil/Laravel/Model.php", "func_name": "Model.relationsToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the model's relationships in array form.\n\n@return array", "docstring_tokens": ["Get", "the", "model", "s", "relationships", "in", "array", "form", "."], "sha": "6d6532b8769f94eb657b9579d8476f6639a34c54", "url": "https://github.com/ddvphp/ddv-util/blob/6d6532b8769f94eb657b9579d8476f6639a34c54/src/DdvUtil/Laravel/Model.php#L22-L31", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/MetaObject.php", "func_name": "MetaObject.readMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read meta data\n\n@param array $xmlArr\n@return void", "docstring_tokens": ["Read", "meta", "data"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/MetaObject.php#L76-L93", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/MetaObject.php", "func_name": "MetaObject.readMetaCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read metadata collection\n\n@param array $xmlArr\n@param array $metaList\n@return void", "docstring_tokens": ["Read", "metadata", "collection"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/MetaObject.php#L107-L118", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/MetaObject.php", "func_name": "MetaObject.prefixPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Prefix Package\n\n@param string $name\n@return string *\n@todo NOTE: this is helper method, need to refactor", "docstring_tokens": ["Set", "Prefix", "Package"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/MetaObject.php#L127-L134", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Object/MetaObject.php", "func_name": "MetaObject.allowAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check is allow access?\n\n@global BizSystem $g_BizSystem\n@param $access\n@return ", "docstring_tokens": ["Check", "is", "allow", "access?"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Object/MetaObject.php#L160-L172", "partition": "test"} +{"repo": "interactive-solutions/zf-bernard", "path": "src/Factory/Driver/PhpRedisDriverFactory.php", "func_name": "PhpRedisDriverFactory.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the object\n\n@param ServiceLocatorInterface|ContainerInterface $container\n\n@return PhpRedisDriver", "docstring_tokens": ["Build", "the", "object"], "sha": "b240d24b6f72c54fc6e66e798f54cca62f84ef91", "url": "https://github.com/interactive-solutions/zf-bernard/blob/b240d24b6f72c54fc6e66e798f54cca62f84ef91/src/Factory/Driver/PhpRedisDriverFactory.php#L41-L50", "partition": "test"} +{"repo": "arseniew/silex-idiorm-provider", "path": "src/Arseniew/Silex/Application/IdiormTrait.php", "func_name": "IdiormTrait.getModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns configured Idiorm instance\n\n@param string $table table Name\n@param string $connection Connection name\n\n@return \\ORM Idiorm instance", "docstring_tokens": ["Returns", "configured", "Idiorm", "instance"], "sha": "0589388a8126f3bb733a1609d8df7104e7b2052e", "url": "https://github.com/arseniew/silex-idiorm-provider/blob/0589388a8126f3bb733a1609d8df7104e7b2052e/src/Arseniew/Silex/Application/IdiormTrait.php#L21-L28", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.addResolverType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a resolver type\n@param string $type The resolver type to add\n@param string $path The sub-path this resolver looks in in each module\n@param string $extension The required extension on resolved elements. If absent from a reference,\nit will be appended\n@param SubResolver $instance A way to pass in a SubResolver instance. When null, a new one will be\ninstantiated. Cannot be used in combination with $extension\n@return Resolver Provides fluent interface", "docstring_tokens": ["Add", "a", "resolver", "type"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L71-L98", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.getResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a resolver instance\n@param string $type The resolver type to return\n@return Resolver The resolver instance\n@throws InvalidArgumentException When the resolver type is unknown", "docstring_tokens": ["Return", "a", "resolver", "instance"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L106-L111", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.setResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace a resolver with a custom instance\n@param string $type The resolver to replace\n@param SubResolver $resolver The SubResolver instance\n@return Resolver Provides fluent interface", "docstring_tokens": ["Replace", "a", "resolver", "with", "a", "custom", "instance"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L119-L129", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a reference of a specific type\n@param string $type The reference type\n@param string $reference What to resolve\n@return string The resolved element", "docstring_tokens": ["Resolve", "a", "reference", "of", "a", "specific", "type"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L149-L155", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.setAuthorative", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the authorativeness of the resolvers\n@param bool $authorative Whether the resolvers are authorative or not: whether\nthey trust cached resolve failures or not.\nThis improves performance in production but can be inconvenient\nin development.", "docstring_tokens": ["Set", "the", "authorativeness", "of", "the", "resolvers"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L164-L171", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.registerModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a module\n\n@param string $module The name of the module\n@param string $path The path where the module stores its data\n@param int $precedence Determines the order in which the paths are\nsearched. Used for templates and assets, to\nmake it possible to reliably override others.\n@return Resolver Provides fluent interface", "docstring_tokens": ["Register", "a", "module"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L191-L216", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.sortModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort the modules on precedence", "docstring_tokens": ["Sort", "the", "modules", "on", "precedence"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L221-L229", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.setPrecedence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the precedence for a module on all resolvers.\n@param string $module The name of the module.\n@param int $precedence The precedence value, used to order the modules.\nLower values come first.\n@return Resolver Provides fluent interface", "docstring_tokens": ["Set", "the", "precedence", "for", "a", "module", "on", "all", "resolvers", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L253-L271", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.autoConfigureFromComposer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Discover the module configuration based on the Composer configuration\n\n@param string $vendor_dir The Composer vendor path - e.g. MyProject/vendor\n@return Resolver Provides fluent interface", "docstring_tokens": ["Discover", "the", "module", "configuration", "based", "on", "the", "Composer", "configuration"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L279-L311", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/Resolver.php", "func_name": "Resolver.findModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find modules in the specified path\n\n@param string $path string Where to look for the modules\n@param string $module_name_prefix The prefix for the generated module names\n@param int $depth The depth at which to look for modules", "docstring_tokens": ["Find", "modules", "in", "the", "specified", "path"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/Resolver.php#L320-L351", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Panel.php", "func_name": "Panel.getByField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get element by field,\n\n@param $fieldName\n@todo change name to getElementByField() or Add new wrapping method\n@return Element", "docstring_tokens": ["Get", "element", "by", "field"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Panel.php#L171-L180", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Bootstrap/Laravel/ServiceProvider.php", "func_name": "ServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register services to the application container.", "docstring_tokens": ["Register", "services", "to", "the", "application", "container", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Bootstrap/Laravel/ServiceProvider.php#L64-L80", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.formattedStringToValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert Formatted String To Value\n\n@param string $type - field type\n@param string $format - type format\n@param string $formattedString - formatted string\n@return mixed", "docstring_tokens": ["Convert", "Formatted", "String", "To", "Value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L64-L79", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToFormattedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert Value To Formatted String\n\n@param string $type - field type\n@param string $format - type format\n@param string $value - value\n@return string - formatted string", "docstring_tokens": ["Convert", "Value", "To", "Formatted", "String"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L89-L101", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format value to number\n\n@param string $format - type format\n@param string $value - value\n@return string formatted number", "docstring_tokens": ["Format", "value", "to", "number"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L110-L125", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.numberToValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unformat a number to value\n\n@param string $format - type format\n@param string $formattedValue - formatted string\n@return mixed", "docstring_tokens": ["Unformat", "a", "number", "to", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L134-L151", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format value to date\n\n@param string $format - type format\n@param string $value - value\n@return string - Empty string or formatted Time/Date", "docstring_tokens": ["Format", "value", "to", "date"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L187-L204", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.dateToValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unformat a date to value\n\n@param string $format - type format\n@param string $formattedValue - formatted string\n@return mixed $stdFormat - ISO format YYYY-MM-DD", "docstring_tokens": ["Unformat", "a", "date", "to", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L213-L220", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToDatetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format value to date time\n\n@param string $fmt - type format\n@param string $value - value\n@return string - formatted string", "docstring_tokens": ["Format", "value", "to", "date", "time"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L229-L239", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.datetimeToValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unformat a datetime to value\n\n@param string $format - type format\n@param string $formattedValue - formatted string\n@return mix $stdFormat - ISO format YYYY-MM-DD HH:MM:SS", "docstring_tokens": ["Unformat", "a", "datetime", "to", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L248-L255", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToCurrency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format value to currency\n\n@param string $format - type format\n@param string $value - value\n@return string - formatted string", "docstring_tokens": ["Format", "value", "to", "currency"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L264-L274", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.currencyToValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unformat a currency to value\n\n@param string $format - type format\n@param string $formattedValue - formatted string value\n@return mixed - value", "docstring_tokens": ["Unformat", "a", "currency", "to", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L283-L291", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.valueToPhone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format value to phone number\n\n@param string $fmt - type format\n@param string $value - value\n@return string - formatted string", "docstring_tokens": ["Format", "value", "to", "phone", "number"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L300-L324", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager.convertDatetimeFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a formatted datetime to another format\n\n@param $oldFormattedValue - old formated value\n@param $oldFormat - old format of value\n@param $newFormat - new format of value\n@return string new formatted datetime value", "docstring_tokens": ["Convert", "a", "formatted", "datetime", "to", "another", "format"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L349-L356", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Core/TypeManager.php", "func_name": "TypeManager._parseDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse formatted date to time value\n\n@param string $fmt type - format\n@param string $fmtValue - formatted string\n@return int $timestamp - vallue of time", "docstring_tokens": ["Parse", "formatted", "date", "to", "time", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Core/TypeManager.php#L365-L422", "partition": "test"} +{"repo": "zeageorge/database", "path": "src/Database/Database.php", "func_name": "Database.renderDsnForMySQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a DSN for MySQL\n@return string", "docstring_tokens": ["Render", "a", "DSN", "for", "MySQL"], "sha": "6fcad7792f4878d943940055e73b97e1b0b7bfcc", "url": "https://github.com/zeageorge/database/blob/6fcad7792f4878d943940055e73b97e1b0b7bfcc/src/Database/Database.php#L537-L553", "partition": "test"} +{"repo": "zeageorge/database", "path": "src/Database/Database.php", "func_name": "Database.renderDsnForPgsql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a DSN for PostGreSQL\n@return string", "docstring_tokens": ["Render", "a", "DSN", "for", "PostGreSQL"], "sha": "6fcad7792f4878d943940055e73b97e1b0b7bfcc", "url": "https://github.com/zeageorge/database/blob/6fcad7792f4878d943940055e73b97e1b0b7bfcc/src/Database/Database.php#L559-L571", "partition": "test"} +{"repo": "zeageorge/database", "path": "src/Database/Database.php", "func_name": "Database.renderDsnParts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flattens Map of DSN Parts using a Delimiter.\n@param array $map DSN Parts Map\n@param string $delimiter Delimiter between DSN Parts\n@return string", "docstring_tokens": ["Flattens", "Map", "of", "DSN", "Parts", "using", "a", "Delimiter", "."], "sha": "6fcad7792f4878d943940055e73b97e1b0b7bfcc", "url": "https://github.com/zeageorge/database/blob/6fcad7792f4878d943940055e73b97e1b0b7bfcc/src/Database/Database.php#L588-L599", "partition": "test"} +{"repo": "zeageorge/database", "path": "src/Database/Database.php", "func_name": "Database.public__insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "insert one record into a table\n\n@param string $table_name A name of table to insert into\n@param array $data_to_insert An associative array:\n[\n'tableColumnName1' => 'value',\n'tableColumnName2' => 'value',\n'tableColumnNameN' => 'value',\n]\n@return integer Returns the id of the inserted row", "docstring_tokens": ["insert", "one", "record", "into", "a", "table"], "sha": "6fcad7792f4878d943940055e73b97e1b0b7bfcc", "url": "https://github.com/zeageorge/database/blob/6fcad7792f4878d943940055e73b97e1b0b7bfcc/src/Database/Database.php#L659-L673", "partition": "test"} +{"repo": "zeageorge/database", "path": "src/Database/Database.php", "func_name": "Database.public__insertMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "insert multiple records into a table\n\n@param string $table_name A name of table to insert into\n@param array $data_to_insert An associative array:\n[\n'field_names' => ['', '', '', '', '', ],\n'values' => [\n['', '', '', '', '', ],\n['', '', '', '', '', ],\n['', '', '', '', '', ],\n['', '', '', '', '', ],\n],\n]\n@return boolean Returns TRUE on success or FALSE on failure\n@see http://stackoverflow.com/questions/1176352/pdo-prepared-inserts-multiple-rows-in-single-query\n@see http://stackoverflow.com/questions/19680494/insert-multiple-rows-with-pdo-prepared-statements\n@see http://stackoverflow.com/questions/10060721/pdo-mysql-insert-multiple-rows-in-one-query\n@see http://dev.mysql.com/doc/refman/5.7/en/load-data.html", "docstring_tokens": ["insert", "multiple", "records", "into", "a", "table"], "sha": "6fcad7792f4878d943940055e73b97e1b0b7bfcc", "url": "https://github.com/zeageorge/database/blob/6fcad7792f4878d943940055e73b97e1b0b7bfcc/src/Database/Database.php#L695-L738", "partition": "test"} +{"repo": "lHersey/AsphyoPHP", "path": "src/Request/Request.php", "func_name": "Request.request_path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the default request query without base\n\n@return string", "docstring_tokens": ["Get", "the", "default", "request", "query", "without", "base"], "sha": "c6436b0c138ce99c2b913823e360694273c309c1", "url": "https://github.com/lHersey/AsphyoPHP/blob/c6436b0c138ce99c2b913823e360694273c309c1/src/Request/Request.php#L88-L102", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Container/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an instance from the container\n\n@param string $id\n@return mixed", "docstring_tokens": ["Get", "an", "instance", "from", "the", "container"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Container/Container.php#L83-L96", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Helpers/QueryStringParam.php", "func_name": "QueryStringParam.formatQueryString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format query string\n\n@param string $field\n@param string $opr operator\n@param mixed $value\n@return string", "docstring_tokens": ["Format", "query", "string"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Helpers/QueryStringParam.php#L53-L61", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Helpers/QueryStringParam.php", "func_name": "QueryStringParam.formatQueryValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format query value\n\n@param mixed $value\n@return string the query string", "docstring_tokens": ["Format", "query", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Helpers/QueryStringParam.php#L69-L77", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Helpers/QueryStringParam.php", "func_name": "QueryStringParam.setBindValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set bind value\n\n@param array $params\n@return void", "docstring_tokens": ["Set", "bind", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Helpers/QueryStringParam.php#L85-L91", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/profileService.php", "func_name": "profileService.getDBProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Database profile\n\n@todo not finish\n@param $userId\n@param $password", "docstring_tokens": ["Get", "Database", "profile"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/profileService.php#L92-L112", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Export/Formatter/PlainTextSettingsWriter.php", "func_name": "PlainTextSettingsWriter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes all or specific groups of settings as a plain text file and\nreturns a message with some information about that.\n\n@param IReport $report report to take results (and settings) from\n\n@return string messages for CLI output", "docstring_tokens": ["Writes", "all", "or", "specific", "groups", "of", "settings", "as", "a", "plain", "text", "file", "and", "returns", "a", "message", "with", "some", "information", "about", "that", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Export/Formatter/PlainTextSettingsWriter.php#L19-L52", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/validateService.php", "func_name": "validateService.strongPassword", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strong Password checks if the string is \"strong\", i.e. the password must be at least 8 characters\nand must contain at least one lower case letter, one upper case letter and one digit\n\n@param mixed $value\n@return boolean Valid?", "docstring_tokens": ["Strong", "Password", "checks", "if", "the", "string", "is", "strong", "i", ".", "e", ".", "the", "password", "must", "be", "at", "least", "8", "characters", "and", "must", "contain", "at", "least", "one", "lower", "case", "letter", "one", "upper", "case", "letter", "and", "one", "digit"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/validateService.php#L172-L182", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/validateService.php", "func_name": "validateService.email", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Built-in \\Zend email check\n\n@param string $email\n@return boolean Valid?", "docstring_tokens": ["Built", "-", "in", "\\", "Zend", "email", "check"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/validateService.php#L231-L251", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/validateService.php", "func_name": "validateService.date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Built-in \\Zend date check using YYYY-MM-DD\n\n@param string in date format $date\n@return boolean Valid?", "docstring_tokens": ["Built", "-", "in", "\\", "Zend", "date", "check", "using", "YYYY", "-", "MM", "-", "DD"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/validateService.php#L259-L269", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/validateService.php", "func_name": "validateService.getErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error message\n\n@param string $validator\n@param string $fieldName\n@return string", "docstring_tokens": ["Get", "error", "message"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/validateService.php#L368-L408", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/Adapter.php", "func_name": "Adapter.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adapter constructor.\n\n@param array $input\n@param array|Model $fillable\n@param array $defaults\n@return Adapter", "docstring_tokens": ["Adapter", "constructor", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/Adapter.php#L42-L59", "partition": "test"} +{"repo": "virgiligarcia/NGB", "path": "src/NGB/Db/MySQLy/Model.php", "func_name": "Model.agregar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "cuando una tabla hereda de otra sobreescribir esta funcion\n\nhace un new y un insert retornando el Objeto\n\n@return self\n@throws \\Exception", "docstring_tokens": ["cuando", "una", "tabla", "hereda", "de", "otra", "sobreescribir", "esta", "funcion"], "sha": "99f2db29fb042b887dd3795db076354b211a6796", "url": "https://github.com/virgiligarcia/NGB/blob/99f2db29fb042b887dd3795db076354b211a6796/src/NGB/Db/MySQLy/Model.php#L137-L147", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/genIdService.php", "func_name": "genIdService.getNewID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new Id\n\n@param string $idGeneration\n@param \\Zend_Db_Adapter_Abstract $conn database connection\n@param string $dbType database type\n@param string $table table name\n@param string $column column name\n@return mixed", "docstring_tokens": ["Get", "new", "Id"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/genIdService.php#L50-L87", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/genIdService.php", "func_name": "genIdService.getNewSYSID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new SYSID from the id_table. You can get SYSID for a table with prefix and base converting\n\n@param \\Zend_Db_Adapter_Abstract $conn database connection\n@param string $tableName table name\n@param boolean $includePrefix\n@param integer $base to encode\n@return string", "docstring_tokens": ["Get", "a", "new", "SYSID", "from", "the", "id_table", ".", "You", "can", "get", "SYSID", "for", "a", "table", "with", "prefix", "and", "base", "converting"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/genIdService.php#L98-L152", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/genIdService.php", "func_name": "genIdService.getNewGUID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new GUID\nID is generated before executing insert sql\n\n@param \\Zend_Db_Adapter_Abstract $conn database connection\n@param string $dbType database type\n@param string $table table name\n@param string $column column name\n@return mixed new Id", "docstring_tokens": ["Get", "new", "GUID", "ID", "is", "generated", "before", "executing", "insert", "sql"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/genIdService.php#L228-L244", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/genIdService.php", "func_name": "genIdService._getIdWithSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get ID with SQL\n\n@param \\Zend_Db_Adapter_Abstract $conn\n@param string $sql\n@return mixed", "docstring_tokens": ["Get", "ID", "with", "SQL"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/genIdService.php#L264-L283", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/GetsAttributes.php", "func_name": "GetsAttributes.getVisibleAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the visibility of the given attribute before returning its value.\n\n@param string $name\n@param null $default\n@return mixed", "docstring_tokens": ["Checks", "the", "visibility", "of", "the", "given", "attribute", "before", "returning", "its", "value", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/GetsAttributes.php#L41-L55", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/logService.php", "func_name": "logService.setFormatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the formatter based on the type of format selected in app.inc\n\n@return void", "docstring_tokens": ["Set", "the", "formatter", "based", "on", "the", "type", "of", "format", "selected", "in", "app", ".", "inc"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/logService.php#L260-L278", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/logService.php", "func_name": "logService.prepFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Either open a new file with the correct string or remove a previous closing string\n\n@return void", "docstring_tokens": ["Either", "open", "a", "new", "file", "with", "the", "correct", "string", "or", "remove", "a", "previous", "closing", "string"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/logService.php#L306-L328", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/logService.php", "func_name": "logService.closeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close a file with the correct string depending on the configured format\n\n@return void", "docstring_tokens": ["Close", "a", "file", "with", "the", "correct", "string", "depending", "on", "the", "configured", "format"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/logService.php#L335-L354", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/logService.php", "func_name": "logService._getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get path based on config options\n\n@global BizSystem $g_BizSystem\n@param string $fileName\n@return string log_path - The path where a log entry should be written", "docstring_tokens": ["Get", "path", "based", "on", "config", "options"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/logService.php#L363-L398", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Export/Export.php", "func_name": "Export.getFormatterByExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific formatter instance depending on the file\nextension of the given export file location.\n\n@param string $location\n\n@return IReportFormatter\n\n@throws \\InvalidArgumentException in case of unsupported file extensions", "docstring_tokens": ["Returns", "a", "specific", "formatter", "instance", "depending", "on", "the", "file", "extension", "of", "the", "given", "export", "file", "location", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Export/Export.php#L104-L129", "partition": "test"} +{"repo": "wobblecode/WobbleCodeManagerBundle", "path": "Controller/DefaultController.php", "func_name": "DefaultController.getManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the generic manager for this Controller\n\n@return DocumentManager", "docstring_tokens": ["Get", "the", "generic", "manager", "for", "this", "Controller"], "sha": "a1c76e80c627d6276e93cd3c1332c160f4d80f02", "url": "https://github.com/wobblecode/WobbleCodeManagerBundle/blob/a1c76e80c627d6276e93cd3c1332c160f4d80f02/Controller/DefaultController.php#L19-L29", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/pdfService.php", "func_name": "pdfService.renderView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the pdf output\n\n@global BizSystem $g_BizSystem\n@param string $viewName name of view object\n@return void", "docstring_tokens": ["Render", "the", "pdf", "output"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/pdfService.php#L45-L61", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/pdfService.php", "func_name": "pdfService.output", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save PDF to file and inform download link to client\n\n@param DOMPDF $domPdf", "docstring_tokens": ["Save", "PDF", "to", "file", "and", "inform", "download", "link", "to", "client"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/pdfService.php#L69-L89", "partition": "test"} +{"repo": "mvqn/rest", "path": "src/MVQN/REST/RestClient.php", "func_name": "RestClient.setBaseUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets or sets the base URL to be used with all REST calls.\n\n@param string $url The base URL for which to prefix all REST calls.\n@return string Returns the base URL that is currently set.\n@throws \\Exception Throws an exception if the base URL is not set and none has been provided.", "docstring_tokens": ["Gets", "or", "sets", "the", "base", "URL", "to", "be", "used", "with", "all", "REST", "calls", "."], "sha": "2949215a972151fce5c0c03b292f6342b6754a14", "url": "https://github.com/mvqn/rest/blob/2949215a972151fce5c0c03b292f6342b6754a14/src/MVQN/REST/RestClient.php#L46-L66", "partition": "test"} +{"repo": "mvqn/rest", "path": "src/MVQN/REST/RestClient.php", "func_name": "RestClient.curl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a cURL session with the necessary options, headers and endpoint to communicate with the UCRM Server.\n\n@param string $endpoint The endpoint at which to make the request.\n@return resource Returns a cURL session.", "docstring_tokens": ["Creates", "a", "cURL", "session", "with", "the", "necessary", "options", "headers", "and", "endpoint", "to", "communicate", "with", "the", "UCRM", "Server", "."], "sha": "2949215a972151fce5c0c03b292f6342b6754a14", "url": "https://github.com/mvqn/rest/blob/2949215a972151fce5c0c03b292f6342b6754a14/src/MVQN/REST/RestClient.php#L227-L262", "partition": "test"} +{"repo": "mvqn/rest", "path": "src/MVQN/REST/RestClient.php", "func_name": "RestClient.getMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends multiple HTTP GET Request to the specified endpoints of the base URL.\n\n@param array $endpoints An array of endpoints to use for the multiple requests.\n@return array Returns an associative array of the JSON results.\n@throws \\Exception Throws an exception if there were errors during the REST request/response phase.", "docstring_tokens": ["Sends", "multiple", "HTTP", "GET", "Request", "to", "the", "specified", "endpoints", "of", "the", "base", "URL", "."], "sha": "2949215a972151fce5c0c03b292f6342b6754a14", "url": "https://github.com/mvqn/rest/blob/2949215a972151fce5c0c03b292f6342b6754a14/src/MVQN/REST/RestClient.php#L345-L390", "partition": "test"} +{"repo": "mvqn/rest", "path": "src/MVQN/REST/RestClient.php", "func_name": "RestClient.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a HTTP POST Requests to the specified endpoint of the base URL.\n\n@param string $endpoint The endpoint at which to make the request.\n@param array $data A JSON encoded string of data to provide to the endpoint.\n@return array Returns an associative array of the JSON result.\n@throws \\Exception Throws an exception if there were errors during the REST request/response phase.", "docstring_tokens": ["Sends", "a", "HTTP", "POST", "Requests", "to", "the", "specified", "endpoint", "of", "the", "base", "URL", "."], "sha": "2949215a972151fce5c0c03b292f6342b6754a14", "url": "https://github.com/mvqn/rest/blob/2949215a972151fce5c0c03b292f6342b6754a14/src/MVQN/REST/RestClient.php#L402-L429", "partition": "test"} +{"repo": "mvqn/rest", "path": "src/MVQN/REST/RestClient.php", "func_name": "RestClient.postMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends multiple HTTP POST Requests to the specified endpoints of the base URL.\n\n@param array $endpoints An array of endpoints to use for the multiple requests.\n@param array[] $data An array of associative arrays of data to provide to the endpoints and converted to JSON.\n@return array Returns an associative array of the JSON results.\n@throws \\Exception Throws an exception if there were errors during the REST request/response phase.", "docstring_tokens": ["Sends", "multiple", "HTTP", "POST", "Requests", "to", "the", "specified", "endpoints", "of", "the", "base", "URL", "."], "sha": "2949215a972151fce5c0c03b292f6342b6754a14", "url": "https://github.com/mvqn/rest/blob/2949215a972151fce5c0c03b292f6342b6754a14/src/MVQN/REST/RestClient.php#L439-L494", "partition": "test"} +{"repo": "Tree6bee/queue", "path": "src/Queue.php", "func_name": "Queue.push", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push a new job onto the queue.\n\n@param Job $job\n\n@return mixed", "docstring_tokens": ["Push", "a", "new", "job", "onto", "the", "queue", "."], "sha": "121df5d1bbfd34c07de2d2937ab8792e83998b01", "url": "https://github.com/Tree6bee/queue/blob/121df5d1bbfd34c07de2d2937ab8792e83998b01/src/Queue.php#L33-L40", "partition": "test"} +{"repo": "Tree6bee/queue", "path": "src/Queue.php", "func_name": "Queue.createPayload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a payload string from the given job and data.\n\n@param Job $job\n@return string\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Create", "a", "payload", "string", "from", "the", "given", "job", "and", "data", "."], "sha": "121df5d1bbfd34c07de2d2937ab8792e83998b01", "url": "https://github.com/Tree6bee/queue/blob/121df5d1bbfd34c07de2d2937ab8792e83998b01/src/Queue.php#L88-L100", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/Utility/ContentElementUtility.php", "func_name": "ContentElementUtility.contentElementIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a content element identifier from an content element key.\n\n@param string $contentElementKey The content element key\n@return string The content element identifier", "docstring_tokens": ["Gets", "a", "content", "element", "identifier", "from", "an", "content", "element", "key", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/Utility/ContentElementUtility.php#L16-L33", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/Utility/ContentElementUtility.php", "func_name": "ContentElementUtility.contentElementSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a content element signature from an extension and content element identifier.\n\n@param string $extensionIdentifier The extension identifier\n@param string $contentElementIdentifier The content element identifier\n@return string The content element signature", "docstring_tokens": ["Gets", "a", "content", "element", "signature", "from", "an", "extension", "and", "content", "element", "identifier", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/Utility/ContentElementUtility.php#L52-L56", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/Utility/ContentElementUtility.php", "func_name": "ContentElementUtility.getContentElementSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias for the `contentElementSignature` function.\n\n@param string $extensionIdentifier The extension identifier\n@param string $contentElementIdentifier The content element identifier\n@return string The content element signature", "docstring_tokens": ["Alias", "for", "the", "contentElementSignature", "function", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/Utility/ContentElementUtility.php#L65-L67", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/ColumnImage.php", "func_name": "ColumnImage.getTitle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get image title\n\n@return string", "docstring_tokens": ["Get", "image", "title"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/ColumnImage.php#L85-L92", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/ListForm.php", "func_name": "ListForm.removeRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the record out of the associate relationship\n\n@return void", "docstring_tokens": ["Remove", "the", "record", "out", "of", "the", "associate", "relationship"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/ListForm.php#L266-L286", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/ListForm.php", "func_name": "ListForm.sortRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort Record, for list form\n\n@param string $sortCol column name to sort\n@param string $order 'dec' (decending) or 'asc' (ascending)\n@access remote\n@return void", "docstring_tokens": ["Sort", "Record", "for", "list", "form"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/ListForm.php#L324-L344", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/ViewHelpers/ViewColumnViewHelper.php", "func_name": "ViewColumnViewHelper.filterViewChildrenByViewColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the view children by a view column.\n\n@param array $viewChildren The view children\n@param int $viewColumn The UID of the view column\n@return array The filtered view children", "docstring_tokens": ["Filters", "the", "view", "children", "by", "a", "view", "column", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/ViewHelpers/ViewColumnViewHelper.php#L58-L70", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/ViewHelpers/ViewColumnViewHelper.php", "func_name": "ViewColumnViewHelper.filterViewChildrenBySysLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the view children by the current system language.\n\n@param array $viewChildren The view children\n@return array The filtered view children", "docstring_tokens": ["Filters", "the", "view", "children", "by", "the", "current", "system", "language", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/ViewHelpers/ViewColumnViewHelper.php#L78-L92", "partition": "test"} +{"repo": "sviframework/orm", "path": "Manager.php", "func_name": "Manager.setFieldValueByDbKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets class field value by DB field name\n\n@param Entity $entity\n@param $dbFieldName\n@param $value\n@throws \\Exception", "docstring_tokens": ["Sets", "class", "field", "value", "by", "DB", "field", "name"], "sha": "aa6c4e94f15efb760f32587a4861fb87bf35b6c4", "url": "https://github.com/sviframework/orm/blob/aa6c4e94f15efb760f32587a4861fb87bf35b6c4/Manager.php#L255-L275", "partition": "test"} +{"repo": "sviframework/orm", "path": "Manager.php", "func_name": "Manager.getDataArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns array which used for update or insert SQL operations\n\n@param Entity $entity\n@param bool $onlyChanged\n@param bool $updateLoadedData\n@return array", "docstring_tokens": ["Returns", "array", "which", "used", "for", "update", "or", "insert", "SQL", "operations"], "sha": "aa6c4e94f15efb760f32587a4861fb87bf35b6c4", "url": "https://github.com/sviframework/orm/blob/aa6c4e94f15efb760f32587a4861fb87bf35b6c4/Manager.php#L317-L354", "partition": "test"} +{"repo": "sviframework/orm", "path": "Manager.php", "func_name": "Manager.fillByData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fills class fields by SQL returned data\n\n@param array $data\n@param Entity|null $entity\n@return Entity", "docstring_tokens": ["Fills", "class", "fields", "by", "SQL", "returned", "data"], "sha": "aa6c4e94f15efb760f32587a4861fb87bf35b6c4", "url": "https://github.com/sviframework/orm/blob/aa6c4e94f15efb760f32587a4861fb87bf35b6c4/Manager.php#L378-L390", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.extractZip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rozbaleni adresare ZIP\n@param string $archive\n@param string $dir\n@param bool $remove\n@throws IOException", "docstring_tokens": ["Rozbaleni", "adresare", "ZIP"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L64-L79", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.addToZip", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prida source do zipu\n@param string $sourcePath\n@param ZipArchive $zipFile", "docstring_tokens": ["Prida", "source", "do", "zipu"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L108-L133", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.extractGZ", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rozbaleni adresare GZ\n@param string $archive\n@param string $sufix\n@throws IOException", "docstring_tokens": ["Rozbaleni", "adresare", "GZ"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L141-L165", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.readLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cteni ze souboru po radcich\n@param string $file\n@param callable $callable function($buffer, $line) $line -> cislo radku, pokud metoda vrati false, ukonci se cyklus\n@param int|null $length\n@throws IOException", "docstring_tokens": ["Cteni", "ze", "souboru", "po", "radcich"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L174-L200", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati velikost souboru nebo slozky\n@param string $path\n@return float", "docstring_tokens": ["Vrati", "velikost", "souboru", "nebo", "slozky"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L207-L218", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/File.php", "func_name": "File.getClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati nazvy trid v souboru\n@param string $file\n@return string[]", "docstring_tokens": ["Vrati", "nazvy", "trid", "v", "souboru"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/File.php#L225-L238", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/IndexedRouter.php", "func_name": "IndexedRouter.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a route\n\n@param array $methods\n@param string $uri\n@param string|callable $target\n@return Route", "docstring_tokens": ["Add", "a", "route"], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/IndexedRouter.php#L50-L59", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/IndexedRouter.php", "func_name": "IndexedRouter.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a request into its route.\n\n@param Request $request\n@return Route|null", "docstring_tokens": ["Resolve", "a", "request", "into", "its", "route", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/IndexedRouter.php#L67-L81", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Config.php", "func_name": "Config.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the flattened key into the actual value.\n\n@param string $key\n@throws \\Exception\n@return mixed", "docstring_tokens": ["Resolve", "the", "flattened", "key", "into", "the", "actual", "value", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Config.php#L22-L45", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Config.php", "func_name": "Config.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "See if config has given key.\n\n@param string $key\n@return boolean", "docstring_tokens": ["See", "if", "config", "has", "given", "key", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Config.php#L53-L65", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Config.php", "func_name": "Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lazy load configuration files.\n\n@TODO How do we fallback to a default value?\n\n@param string $key\n@param mixed|null $default\n@return mixed", "docstring_tokens": ["Lazy", "load", "configuration", "files", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Config.php#L76-L86", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Config.php", "func_name": "Config.loadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a file and assign it to the key.\n\n@param string $key\n@param string $file\n@return void", "docstring_tokens": ["Load", "a", "file", "and", "assign", "it", "to", "the", "key", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Config.php#L127-L137", "partition": "test"} +{"repo": "GetOlympus/olympus-background-field", "path": "src/Background/Background.php", "func_name": "Background.getBackgroundDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all available background details.\n\n@return array $array Contains all background details\n\n@since 0.0.1", "docstring_tokens": ["Return", "all", "available", "background", "details", "."], "sha": "130d555dd1393bb91e84008fe27f171696146595", "url": "https://github.com/GetOlympus/olympus-background-field/blob/130d555dd1393bb91e84008fe27f171696146595/src/Background/Background.php#L92-L127", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens a connection to the Twitter Streaming API.", "docstring_tokens": ["Opens", "a", "connection", "to", "the", "Twitter", "Streaming", "API", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L69-L102", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.checkResponseStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the HTTP response code recieved from the server.\n\n@param string $response\n@throws Exception\\ConnectionException If the response code different than 200.", "docstring_tokens": ["Checks", "the", "HTTP", "response", "code", "recieved", "from", "the", "server", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L110-L117", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.handleMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the message from twitter.\n\n@param string $messageJson", "docstring_tokens": ["Handles", "the", "message", "from", "twitter", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L154-L158", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.isMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the received json is a message from twitter.\n\n@param string $status\n@return bool", "docstring_tokens": ["Determines", "if", "the", "received", "json", "is", "a", "message", "from", "twitter", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L166-L174", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.readNextChunkSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the size of the next chunk from the stream.\n\n@return int\n@throws Exception\\ConnectionClosedException", "docstring_tokens": ["Reads", "the", "size", "of", "the", "next", "chunk", "from", "the", "stream", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L205-L218", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Stream.php", "func_name": "Stream.readStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects to the Twitter API and starts reading the stream.\n\nWhen it recieves a new status it will be passed on to the @link self::enqueueStatus() method.\n\n@return \\Generator", "docstring_tokens": ["Connects", "to", "the", "Twitter", "API", "and", "starts", "reading", "the", "stream", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Stream.php#L227-L254", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property of element\n\n@param string $propertyName\n@return mixed", "docstring_tokens": ["Get", "property", "of", "element"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L219-L225", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getDefaultValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default value\n\n@return mixed", "docstring_tokens": ["Get", "default", "value"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L246-L274", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getHidden", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get hidden status\n\n@return mixed", "docstring_tokens": ["Get", "hidden", "status"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L297-L302", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get text of element\n\n@return string", "docstring_tokens": ["Get", "text", "of", "element"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L354-L360", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getSCKeyFuncMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get shortcut key function map\n\n@return array", "docstring_tokens": ["Get", "shortcut", "key", "function", "map"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L378-L398", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getContextMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get context menu\n\n@return array", "docstring_tokens": ["Get", "context", "menu"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L405-L424", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get function of element in JavaScript format\n\n@return string", "docstring_tokens": ["Get", "function", "of", "element", "in", "JavaScript", "format"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L431-L445", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getRedirectPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get redirect page\n\n@param string $eventHandlerName event handler name\n@return string", "docstring_tokens": ["Get", "redirect", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L489-L496", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "Element.getFunctionType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get function type\n\n@param string $eventHandlerName event handler name\n@return string function type in string format", "docstring_tokens": ["Get", "function", "type"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L518-L523", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "EventHandler.setFormName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set form name that contain element and EventHandler\n\n@param string $formName\n@param string $elemName\n@return void", "docstring_tokens": ["Set", "form", "name", "that", "contain", "element", "and", "EventHandler"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L698-L713", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "EventHandler.adjustFormName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adjust form name\n\n@param string $formName\n@return void", "docstring_tokens": ["Adjust", "form", "name"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L721-L738", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "EventHandler.getFormedFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get formed function\n\n@return string", "docstring_tokens": ["Get", "formed", "function"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L745-L780", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/Element.php", "func_name": "EventHandler.parseFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parse function string and get functionName and functionParams", "docstring_tokens": ["parse", "function", "string", "and", "get", "functionName", "and", "functionParams"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/Element.php#L814-L825", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Caller.php", "func_name": "Caller.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the given method on the given middleware.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException\n\n@param string|mixed $method or first argument in callable functions\n@param array $arguments\n@return mixed", "docstring_tokens": ["Calls", "the", "given", "method", "on", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Caller.php#L102-L131", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Caller.php", "func_name": "Caller.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears the results for a new call.\n\n@return $this;", "docstring_tokens": ["Clears", "the", "results", "for", "a", "new", "call", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Caller.php#L150-L156", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Caller.php", "func_name": "Caller.halt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The method that will trigger the event and exception, if set, for halted calls.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException\n\n@param \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException|null $exception\n@return $this", "docstring_tokens": ["The", "method", "that", "will", "trigger", "the", "event", "and", "exception", "if", "set", "for", "halted", "calls", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Caller.php#L166-L182", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Caller.php", "func_name": "Caller.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets the entire object.\n\n@return $this", "docstring_tokens": ["Resets", "the", "entire", "object", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Caller.php#L217-L224", "partition": "test"} +{"repo": "codenamephp/phing", "path": "src/main/php/de/codenamephp/phing/ObjectCreator.php", "func_name": "ObjectCreator.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the object for the child element\n\n@param string $elementName the name of the element that has been requested\n@param Project $project The project the element is in\n@return object Returns the nested element", "docstring_tokens": ["Creates", "the", "object", "for", "the", "child", "element"], "sha": "6d9b1c4a4fca76d98cc1a1bb06f95252cf89ef79", "url": "https://github.com/codenamephp/phing/blob/6d9b1c4a4fca76d98cc1a1bb06f95252cf89ef79/src/main/php/de/codenamephp/phing/ObjectCreator.php#L101-L111", "partition": "test"} +{"repo": "SugiPHP/Auth", "path": "HOTP.php", "func_name": "HOTP.counterToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert an integer counter into a string of 8 bytes.\n\n@param integer $counter The counter value\n@return string Returns an 8-byte binary string", "docstring_tokens": ["Convert", "an", "integer", "counter", "into", "a", "string", "of", "8", "bytes", "."], "sha": "94a6b42ea8f84321959daf07d619690aee1011ef", "url": "https://github.com/SugiPHP/Auth/blob/94a6b42ea8f84321959daf07d619690aee1011ef/HOTP.php#L82-L91", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Request.php", "func_name": "Request.Get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a GET request\n@param string $url A URL in which to make a GET request\n@param Array $params An associative array of key/value pairs to pass to said URL\n@return Request", "docstring_tokens": ["Makes", "a", "GET", "request"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Request.php#L89-L104", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Request.php", "func_name": "Request.Post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a POST request\n@param string $url A URL in which to make a POST request\n@param Array $params An associative array of key/value pairs to pass to said URL\n@return Request", "docstring_tokens": ["Makes", "a", "POST", "request"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Request.php#L112-L122", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Request.php", "func_name": "Request.GetResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a request\n@param string $url A URL in which to make a GET request\n@param Array $params An associative array of key/value pairs to pass to said URL\n@access private\n@return Response", "docstring_tokens": ["Makes", "a", "request"], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Request.php#L160-L180", "partition": "test"} +{"repo": "splicebison/Instaphp", "path": "Instaphp/Request.php", "func_name": "Request.WillFollowRedirects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether or not curl will follow redirects over SSL\nSee the constructor for details, but there are cases in which\nif curl can't verify the certificate of an SSL request, AND\nPHP is in safe_mode OR there are open_basedir restrictions, it will\nnot follow a redirect. There's a fix for this that involves\nparsing all the response headers from a request and detecting\na Location header, but that's kind of a hack as it bypasses the\nwhole point of SSL. This method left for posterity. Or something...\n\n@return boolean\n@access private", "docstring_tokens": ["Determines", "whether", "or", "not", "curl", "will", "follow", "redirects", "over", "SSL", "See", "the", "constructor", "for", "details", "but", "there", "are", "cases", "in", "which", "if", "curl", "can", "t", "verify", "the", "certificate", "of", "an", "SSL", "request", "AND", "PHP", "is", "in", "safe_mode", "OR", "there", "are", "open_basedir", "restrictions", "it", "will", "not", "follow", "a", "redirect", ".", "There", "s", "a", "fix", "for", "this", "that", "involves", "parsing", "all", "the", "response", "headers", "from", "a", "request", "and", "detecting", "a", "Location", "header", "but", "that", "s", "kind", "of", "a", "hack", "as", "it", "bypasses", "the", "whole", "point", "of", "SSL", ".", "This", "method", "left", "for", "posterity", ".", "Or", "something", "..."], "sha": "e986184f7a9f8f52ce4dde32a868525c9a9ef0e5", "url": "https://github.com/splicebison/Instaphp/blob/e986184f7a9f8f52ce4dde32a868525c9a9ef0e5/Instaphp/Request.php#L205-L213", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/securityService.php", "func_name": "securityRule_Abstract.checkEffectiveTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check Effective Time\n\n@return boolean", "docstring_tokens": ["Check", "Effective", "Time"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/securityService.php#L263-L294", "partition": "test"} +{"repo": "virgiligarcia/NGB", "path": "src/NGB/Util/String.php", "func_name": "String.parseStr", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It parses URL encoded data, detects encoding, converts coding to internal encoding and set values to the array\n\n@param array|string $mixed\n@return array|string", "docstring_tokens": ["It", "parses", "URL", "encoded", "data", "detects", "encoding", "converts", "coding", "to", "internal", "encoding", "and", "set", "values", "to", "the", "array"], "sha": "99f2db29fb042b887dd3795db076354b211a6796", "url": "https://github.com/virgiligarcia/NGB/blob/99f2db29fb042b887dd3795db076354b211a6796/src/NGB/Util/String.php#L30-L32", "partition": "test"} +{"repo": "virgiligarcia/NGB", "path": "src/NGB/Util/String.php", "func_name": "String.parse_str", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Se usa cuando llegan objetos de Ajax\n@param string $str\n@return Ambigous ", "docstring_tokens": ["Se", "usa", "cuando", "llegan", "objetos", "de", "Ajax"], "sha": "99f2db29fb042b887dd3795db076354b211a6796", "url": "https://github.com/virgiligarcia/NGB/blob/99f2db29fb042b887dd3795db076354b211a6796/src/NGB/Util/String.php#L39-L47", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/FormRenderer.php", "func_name": "FormRenderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render form object\n\n@param EasyForm $formObj\n@return string result of rendering process", "docstring_tokens": ["Render", "form", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/FormRenderer.php#L40-L59", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/FormRenderer.php", "func_name": "FormRenderer.renderSmarty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render smarty template for form object\n\n@param EasyForm $formObj\n@param string $tplFile\n@return string result of rendering process", "docstring_tokens": ["Render", "smarty", "template", "for", "form", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/FormRenderer.php#L121-L132", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/FormRenderer.php", "func_name": "FormRenderer.renderPHP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render PHP template for form object\n\n@param EasyForm $formObj\n@param string $tplFile\n@return string result of rendering process", "docstring_tokens": ["Render", "PHP", "template", "for", "form", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/FormRenderer.php#L141-L164", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/CrudController.php", "func_name": "CrudController.view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View an entity\n@param Request $request\n@return Response", "docstring_tokens": ["View", "an", "entity"], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/CrudController.php#L90-L98", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/CrudController.php", "func_name": "CrudController.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new entity\n@return Response", "docstring_tokens": ["Create", "a", "new", "entity"], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/CrudController.php#L104-L126", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/CrudController.php", "func_name": "CrudController.callEntityMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call a static method on the entity.\n@param Request $request\n@param $method\n@return mixed", "docstring_tokens": ["Call", "a", "static", "method", "on", "the", "entity", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/CrudController.php#L221-L229", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Controller.php", "func_name": "Controller.middleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use an a particular middleware once at this spot using the given identifiers.\n\n@param string $key\n@param string|null $group\n@return mixed", "docstring_tokens": ["Use", "an", "a", "particular", "middleware", "once", "at", "this", "spot", "using", "the", "given", "identifiers", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Controller.php#L44-L47", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Application.php", "func_name": "Application.getDefaultCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes all necessary commands", "docstring_tokens": ["Initializes", "all", "necessary", "commands"], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Application.php#L47-L55", "partition": "test"} +{"repo": "inri13666/AkumaUserBundle", "path": "Doctrine/UserManager.php", "func_name": "UserManager.updateUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates a user.\n\n@param UserInterface $user\n@param Boolean $andFlush Whether to flush the changes (default true)", "docstring_tokens": ["Updates", "a", "user", "."], "sha": "b229d801f9dc47ab04e750fcecfa8f79deacf1af", "url": "https://github.com/inri13666/AkumaUserBundle/blob/b229d801f9dc47ab04e750fcecfa8f79deacf1af/Doctrine/UserManager.php#L26-L54", "partition": "test"} +{"repo": "t3v/t3v_content", "path": "Classes/Service/ExtensionService.php", "func_name": "ExtensionService.getSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the settings from `plugin.tx_t3vcontent.settings`.\n\n@return array The settings", "docstring_tokens": ["Gets", "the", "settings", "from", "plugin", ".", "tx_t3vcontent", ".", "settings", "."], "sha": "2d8676477ac67c11183604a4ca89c62d64b85909", "url": "https://github.com/t3v/t3v_content/blob/2d8676477ac67c11183604a4ca89c62d64b85909/Classes/Service/ExtensionService.php#L65-L70", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.getGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queries GWS to generate a Group, given an identifier. Identifier may be group id, or group regid\n\n@return Group", "docstring_tokens": ["Queries", "GWS", "to", "generate", "a", "Group", "given", "an", "identifier", ".", "Identifier", "may", "be", "group", "id", "or", "group", "regid"], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L497-L514", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.getDirectMembership", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queries GWS to for direct members of the group. Members are added to the object.\n@return void", "docstring_tokens": ["Queries", "GWS", "to", "for", "direct", "members", "of", "the", "group", ".", "Members", "are", "added", "to", "the", "object", "."], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L596-L610", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.getEffectiveMembership", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Queries GWS to for effective members of the group. Members are added to the object.\n@return void", "docstring_tokens": ["Queries", "GWS", "to", "for", "effective", "members", "of", "the", "group", ".", "Members", "are", "added", "to", "the", "object", "."], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L616-L634", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.parseMembership", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parses Membership data and saves it to the Group object\n\n@param string $data\n@return void", "docstring_tokens": ["parses", "Membership", "data", "and", "saves", "it", "to", "the", "Group", "object"], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L809-L818", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.parseHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parses History data and saves it to the Group object\n\n@param string $data\n@return void", "docstring_tokens": ["parses", "History", "data", "and", "saves", "it", "to", "the", "Group", "object"], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L826-L839", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.parseAffiliate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses out affiliate information from the GWS XHTML. Successful queries will also be added to the Group object.\n\n@param string $data\n@return array affiliate information", "docstring_tokens": ["Parses", "out", "affiliate", "information", "from", "the", "GWS", "XHTML", ".", "Successful", "queries", "will", "also", "be", "added", "to", "the", "Group", "object", "."], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L863-L885", "partition": "test"} +{"repo": "UWEnrollmentManagement/Group", "path": "src/Group.php", "func_name": "Group.parseSearch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses out group information from a search.\n\n@param string $data\n@return array group information", "docstring_tokens": ["Parses", "out", "group", "information", "from", "a", "search", "."], "sha": "a6274e46ef230a487c7a5810eb506b09c6c3baf1", "url": "https://github.com/UWEnrollmentManagement/Group/blob/a6274e46ef230a487c7a5810eb506b09c6c3baf1/src/Group.php#L893-L905", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/BaseForm.php", "func_name": "BaseForm.getWebpageObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get view object\n\n@global BizSystem $g_BizSystem\n@return WebPage", "docstring_tokens": ["Get", "view", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/BaseForm.php#L299-L307", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/BaseForm.php", "func_name": "BaseForm.getElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an element object\n\n@param string $elementName - name of the control\n@return Element", "docstring_tokens": ["Get", "an", "element", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/BaseForm.php#L326-L344", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/BaseForm.php", "func_name": "BaseForm.getErrorElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error elements\n\n@param array $fields\n@return array", "docstring_tokens": ["Get", "error", "elements"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/BaseForm.php#L352-L360", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/BaseForm.php", "func_name": "BaseForm.rerenderSubForms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rerender sub forms who has dependecy on this form.\nThis method is called when parent form's change affect the sub forms\n\n@return void", "docstring_tokens": ["Rerender", "sub", "forms", "who", "has", "dependecy", "on", "this", "form", ".", "This", "method", "is", "called", "when", "parent", "form", "s", "change", "affect", "the", "sub", "forms"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/BaseForm.php#L453-L464", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Json/Bundle/Bundle.php", "func_name": "Bundle.setClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the bundle class\n\n@param string $class\n@return \\RedKiteLabs\\RedKiteCms\\BootstrapBundle\\Core\\Json\\Bundle\\Bundle\n@throws InvalidJsonParameterException", "docstring_tokens": ["Sets", "the", "bundle", "class"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Json/Bundle/Bundle.php#L59-L69", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/Dictionary.php", "func_name": "Dictionary.getTranslationKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get translation key.\n\n@param string|int $key\n@return string", "docstring_tokens": ["Get", "translation", "key", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/Dictionary.php#L34-L37", "partition": "test"} +{"repo": "FelipeeDev/laravel-utilities", "path": "src/Dictionary.php", "func_name": "Dictionary.lists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get full list of dictionary with translated words from dictionary.\n\n@return array", "docstring_tokens": ["Get", "full", "list", "of", "dictionary", "with", "translated", "words", "from", "dictionary", "."], "sha": "4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0", "url": "https://github.com/FelipeeDev/laravel-utilities/blob/4daed3200ecad73ab7809f8c5ffbeb3ce991a2f0/src/Dictionary.php#L65-L73", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/cacheService.php", "func_name": "cacheService.loadConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load cache configuratoon\n\n@param array $configs\n@param array $options\n@return void", "docstring_tokens": ["Load", "cache", "configuratoon"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/cacheService.php#L112-L126", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/cacheService.php", "func_name": "cacheService.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a cache\n\n@param string $id cache id to remove\n@return boolean true if ok", "docstring_tokens": ["Remove", "a", "cache"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/cacheService.php#L218-L225", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/cacheService.php", "func_name": "cacheService.getIds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a list of all caches\n\n@return array ids", "docstring_tokens": ["get", "a", "list", "of", "all", "caches"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/cacheService.php#L232-L239", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/cacheService.php", "func_name": "cacheService.cleanAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "clean all cache\n\n@return boolean true if ok", "docstring_tokens": ["clean", "all", "cache"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/cacheService.php#L246-L253", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/cacheService.php", "func_name": "cacheService._makeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make directory recursively\n\n@param string $pathName The directory path.\n@param int $mode

\nThe mode is 0777 by default, which means the widest possible\naccess. For more information on modes, read the details\non the chmod page.\n@return bool Returns true on success or false on failure.\n@todo need move to utility class or helper?", "docstring_tokens": ["Make", "directory", "recursively"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/cacheService.php#L280-L284", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/ConfigHandler.php", "func_name": "ConfigHandler.readLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a config file from the given location and returns it's\ndata as an associative array.\n\n@param mixed $location location of config file (as a string with a file or directory path)\n\n@return array config data\n\n@throws \\InvalidArgumentException on errors like missing config file", "docstring_tokens": ["Reads", "a", "config", "file", "from", "the", "given", "location", "and", "returns", "it", "s", "data", "as", "an", "associative", "array", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/ConfigHandler.php#L39-L76", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/ConfigHandler.php", "func_name": "ConfigHandler.getReaderByExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific reader instance depending on the file\nextension of the given config file location.\n\n@param string $location\n\n@return IConfigReader\n\n@throws \\InvalidArgumentException in case of unsupported file extensions", "docstring_tokens": ["Returns", "a", "specific", "reader", "instance", "depending", "on", "the", "file", "extension", "of", "the", "given", "config", "file", "location", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/ConfigHandler.php#L88-L113", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/RouteBranch.php", "func_name": "RouteBranch.addBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a branch dangling from this branch.\n\n@param string $key\n@param RouteBranch $routeBranch\n@return RouteBranch", "docstring_tokens": ["Add", "a", "branch", "dangling", "from", "this", "branch", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/RouteBranch.php#L58-L66", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/RouteBranch.php", "func_name": "RouteBranch.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add route to this leaf.\n\n@param Route $route\n@return void", "docstring_tokens": ["Add", "route", "to", "this", "leaf", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/RouteBranch.php#L74-L84", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/RouteBranch.php", "func_name": "RouteBranch.findBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the matching branch for the given URI path part.\n\n@param string $part\n@return RouteBranch|null", "docstring_tokens": ["Find", "the", "matching", "branch", "for", "the", "given", "URI", "path", "part", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/RouteBranch.php#L92-L107", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Router/RouteBranch.php", "func_name": "RouteBranch.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the next branch or create a new one.\n\n@param string $uriPart\n@return RouteBranch", "docstring_tokens": ["Get", "the", "next", "branch", "or", "create", "a", "new", "one", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Router/RouteBranch.php#L115-L125", "partition": "test"} +{"repo": "kreta-plugins/Comment", "path": "src/Kreta/Component/Comment/Repository/CommentRepository.php", "func_name": "CommentRepository.findByIssue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds all the comments of issue given ordering by createdAt.\nThe result can be more strict adding user and createAt criteria.\nCan do limit and offset.\n\n@param \\Kreta\\Component\\Issue\\Model\\Interfaces\\IssueInterface $issue The issue\n@param \\DateTime $createdAt The created at\n@param string $writtenBy The email of user\n@param int $limit The limit\n@param int $offset The offset\n\n@return \\Kreta\\Component\\Comment\\Model\\Interfaces\\CommentInterface[]", "docstring_tokens": ["Finds", "all", "the", "comments", "of", "issue", "given", "ordering", "by", "createdAt", ".", "The", "result", "can", "be", "more", "strict", "adding", "user", "and", "createAt", "criteria", ".", "Can", "do", "limit", "and", "offset", "."], "sha": "4ee2f2fa75f2075b09303ab3d657d6fc56aeb50b", "url": "https://github.com/kreta-plugins/Comment/blob/4ee2f2fa75f2075b09303ab3d657d6fc56aeb50b/src/Kreta/Component/Comment/Repository/CommentRepository.php#L40-L65", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Wordpress contents already registered.\n\n@param string $type Wordpress content type to return\n@param boolean $multiple Define if there is multiselect or not\n@param array $options Define options if needed\n@param integer $post_id Define the post ID for meta boxes\n@param string $value Define the value of each select options\n@return array $wpcontents Array of Wordpress content type registered", "docstring_tokens": ["Get", "Wordpress", "contents", "already", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L98-L150", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Categories registered.\n\n@uses get_categories()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Categories", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L161-L199", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPMenus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Menus registered.\n\n@uses wp_get_nav_menus()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Menus", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L254-L287", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Pages registered.\n\n@uses get_pages()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Pages", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L298-L330", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPPosts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Posts registered.\n\n@uses wp_get_recent_posts()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Posts", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L341-L374", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPPosttypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Post Types registered.\n\n@uses get_post_types()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Post", "Types", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L385-L410", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Tags registered.\n\n@uses get_the_tags()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Tags", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L421-L446", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPTaxonomies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Taxonomies registered.\n\n@uses get_taxonomies()\n@uses get_taxonomy()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Taxonomies", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L458-L485", "partition": "test"} +{"repo": "GetOlympus/olympus-wordpress-field", "path": "src/Wordpress/Wordpress.php", "func_name": "Wordpress.getWPTerms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get WordPress Terms registered.\n\n@uses get_terms()\n\n@param array $options Define options if needed\n@param string $value Define the value of each select options\n@return array $wpcontents Array of WordPress items", "docstring_tokens": ["Get", "WordPress", "Terms", "registered", "."], "sha": "b4c97d17b7044e10c9de7cfb673b2c820a4a17fa", "url": "https://github.com/GetOlympus/olympus-wordpress-field/blob/b4c97d17b7044e10c9de7cfb673b2c820a4a17fa/src/Wordpress/Wordpress.php#L496-L523", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.addToSearchPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a module to the search path of the SubResolver.\n\n@param string $name The name of the module. Just for logging purposes.\n@param string $path The path of the module.\n@param int $precedence The order in which the modules are searched.\nLower means searched earlier.\n@return SubResolver Provides fluent interface", "docstring_tokens": ["Add", "a", "module", "to", "the", "search", "path", "of", "the", "SubResolver", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L124-L133", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.setPrecedence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the precedence value of a module\n@param string $name The name of the module\n@param int $precedence The precedence value to set\n@return SubResolver Provides fluent interface", "docstring_tokens": ["Set", "the", "precedence", "value", "of", "a", "module"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L153-L164", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.getPrecedence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the precedence value of a module\n@param string $name The name of the module\n@return int The precedence value", "docstring_tokens": ["Get", "the", "precedence", "value", "of", "a", "module"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L171-L177", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.clearCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear the cached resolved files\n@return SubResolver Provides fluent interface", "docstring_tokens": ["Clear", "the", "cached", "resolved", "files"], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L207-L212", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.getCachedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtain the cached data. The cache is cleared when the sort order does not match\nthe cache.\n\n@return The cached data", "docstring_tokens": ["Obtain", "the", "cached", "data", ".", "The", "cache", "is", "cleared", "when", "the", "sort", "order", "does", "not", "match", "the", "cache", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L220-L233", "partition": "test"} +{"repo": "Wedeto/Resolve", "path": "src/SubResolver.php", "func_name": "SubResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper method that searches the core and modules for a specific type of file.\nThe files are evaluated in alphabetical order, and core always comes first.\n\n@param $type string The type to find, template or asset\n@param $file string The file to locate\n@return string A matching file. Null is returned if nothing was found.", "docstring_tokens": ["Helper", "method", "that", "searches", "the", "core", "and", "modules", "for", "a", "specific", "type", "of", "file", ".", "The", "files", "are", "evaluated", "in", "alphabetical", "order", "and", "core", "always", "comes", "first", "."], "sha": "328a27fa13df1a71f4eb46f16fa179b6283f7f03", "url": "https://github.com/Wedeto/Resolve/blob/328a27fa13df1a71f4eb46f16fa179b6283f7f03/src/SubResolver.php#L243-L313", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/UrlManager.php", "func_name": "UrlManager.parserRequestUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parser Uri request\n@param Request $request", "docstring_tokens": ["Parser", "Uri", "request"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/UrlManager.php#L52-L80", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyViewWizard.php", "func_name": "WebPageWizard.saveStatefullVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save Session data of this object\n\n@param \\Openbizx\\Web\\SessionContext $sessionContext\n@return void", "docstring_tokens": ["Save", "Session", "data", "of", "this", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyViewWizard.php#L59-L68", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyViewWizard.php", "func_name": "WebPageWizard.getCurrentStep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current step\n\n@return number", "docstring_tokens": ["Get", "current", "step"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyViewWizard.php#L120-L148", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyViewWizard.php", "func_name": "WebPageWizard.getFormInputs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get form inputs\n\n@param string $formName\n@return array", "docstring_tokens": ["Get", "form", "inputs"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyViewWizard.php#L190-L195", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyViewWizard.php", "func_name": "WebPageWizard.cancel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cancel, clean up the sessions of view and all forms\n\n@return void", "docstring_tokens": ["Cancel", "clean", "up", "the", "sessions", "of", "view", "and", "all", "forms"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyViewWizard.php#L249-L260", "partition": "test"} +{"repo": "doctrineum/doctrineum-scalar", "path": "Doctrineum/Scalar/ScalarEnumType.php", "func_name": "ScalarEnumType.registerSubTypeEnum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "You can register a class just once.\n\n@param string $subTypeEnumClass\n@param string $subTypeEnumValueRegexp\n@return bool\n@throws \\Doctrineum\\Scalar\\Exceptions\\SubTypeEnumIsAlreadyRegistered\n@throws \\Doctrineum\\Scalar\\Exceptions\\SubTypeEnumClassNotFound\n@throws \\Doctrineum\\Scalar\\Exceptions\\SubTypeEnumHasToBeEnum\n@throws \\Doctrineum\\Scalar\\Exceptions\\InvalidRegexpFormat", "docstring_tokens": ["You", "can", "register", "a", "class", "just", "once", "."], "sha": "08a4a5f5c45c3c018d642a5990317415bbefb858", "url": "https://github.com/doctrineum/doctrineum-scalar/blob/08a4a5f5c45c3c018d642a5990317415bbefb858/Doctrineum/Scalar/ScalarEnumType.php#L36-L44", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Middleware/AbstractMiddleware.php", "func_name": "AbstractMiddleware.getInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get input value from a specific container.\n@param Request $request\n@param string $in\n@param string $name\n@return mixed", "docstring_tokens": ["Get", "input", "value", "from", "a", "specific", "container", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Middleware/AbstractMiddleware.php#L20-L38", "partition": "test"} +{"repo": "misterpaladin/cleaner", "path": "src/Cleaner/Commands/Cleaner.php", "func_name": "Cleaner.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete file or directory at given path\n\n@param array $file [Config item]\n@param int $expires [Expiration in seconds]\n@return void", "docstring_tokens": ["Delete", "file", "or", "directory", "at", "given", "path"], "sha": "5e8560559d7519106e48e112bb910c08859f455d", "url": "https://github.com/misterpaladin/cleaner/blob/5e8560559d7519106e48e112bb910c08859f455d/src/Cleaner/Commands/Cleaner.php#L69-L92", "partition": "test"} +{"repo": "misterpaladin/cleaner", "path": "src/Cleaner/Commands/Cleaner.php", "func_name": "Cleaner.convertToSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert config to seconds\n\n@param array $expires [Config item expires value]\n@return int", "docstring_tokens": ["Convert", "config", "to", "seconds"], "sha": "5e8560559d7519106e48e112bb910c08859f455d", "url": "https://github.com/misterpaladin/cleaner/blob/5e8560559d7519106e48e112bb910c08859f455d/src/Cleaner/Commands/Cleaner.php#L100-L133", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Strings.php", "func_name": "Strings.getKeyWords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati klicova slova z textu\n@param string $text\n@param int $maxLen\n@return string", "docstring_tokens": ["Vrati", "klicova", "slova", "z", "textu"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Strings.php#L21-L43", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Strings.php", "func_name": "Strings.findEmails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati email z textu\n@param string $text\n@return string[]", "docstring_tokens": ["Vrati", "email", "z", "textu"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Strings.php#L50-L55", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Strings.php", "func_name": "Strings.containsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vrati retezec, ktery se v textu vyskytuje\n@param string $haystack\n@param string[] $needle\n@return string|null", "docstring_tokens": ["Vrati", "retezec", "ktery", "se", "v", "textu", "vyskytuje"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Strings.php#L76-L84", "partition": "test"} +{"repo": "gwsn/http-request", "path": "src/BaseProxyConnector.php", "func_name": "BaseProxyConnector.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect the API call to the micro service\n\n@param Request $request\n@param string $endpoint\n@param string $path\n@param string $responseType\n\n@return mixed\n@throws \\Exception", "docstring_tokens": ["Redirect", "the", "API", "call", "to", "the", "micro", "service"], "sha": "7d2d07812c220244f845f9e288d0b7470dc4e4c5", "url": "https://github.com/gwsn/http-request/blob/7d2d07812c220244f845f9e288d0b7470dc4e4c5/src/BaseProxyConnector.php#L123-L169", "partition": "test"} +{"repo": "koolkode/async-database", "path": "src/Migration/MigrationManager.php", "func_name": "MigrationManager.migrateUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all up-migrations loaded from the given config.\n\nDB will be flushed if a migration must be applied, will simply flush all data if no migration is needed.\n\n@param MigrationConfig $config All configured migrations to be applied.\n@param bool $flushDatabase Flush database before any migration is applied?", "docstring_tokens": ["Execute", "all", "up", "-", "migrations", "loaded", "from", "the", "given", "config", "."], "sha": "6da00a9f22603baaf2795dd8c88afa3d76274ce3", "url": "https://github.com/koolkode/async-database/blob/6da00a9f22603baaf2795dd8c88afa3d76274ce3/src/Migration/MigrationManager.php#L56-L119", "partition": "test"} +{"repo": "koolkode/async-database", "path": "src/Migration/MigrationManager.php", "func_name": "MigrationManager.migrateDirectoryUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all up-migrations found in the given directory.\n\nDB will be flushed if a migration must be applied, will simply flush all data if no migration is needed.\n\n@param string $dir Directory where migration PHP-files are placed.\n@param boolean $flushDatabase Flush database before any migration is applied?", "docstring_tokens": ["Execute", "all", "up", "-", "migrations", "found", "in", "the", "given", "directory", "."], "sha": "6da00a9f22603baaf2795dd8c88afa3d76274ce3", "url": "https://github.com/koolkode/async-database/blob/6da00a9f22603baaf2795dd8c88afa3d76274ce3/src/Migration/MigrationManager.php#L129-L135", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Entity/AbstractTokenEntity.php", "func_name": "AbstractTokenEntity.setId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set token ID\n\n@param string $id Token ID\n\n@return self", "docstring_tokens": ["Set", "token", "ID"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Entity/AbstractTokenEntity.php#L128-L137", "partition": "test"} +{"repo": "Tree6bee/queue", "path": "src/Worker.php", "func_name": "Worker.daemon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Listen to the given queue in a loop.\n\n@param int $sleep \u6ca1\u6709\u65b0\u7684\u6709\u6548\u4efb\u52a1\u4ea7\u751f\u65f6\u7684\u4f11\u7720\u65f6\u95f4 (\u5355\u4f4d: \u79d2)\n@param int $memoryLimit worker \u5185\u5b58\u9650\u5236 (\u5355\u4f4d: mb)", "docstring_tokens": ["Listen", "to", "the", "given", "queue", "in", "a", "loop", "."], "sha": "121df5d1bbfd34c07de2d2937ab8792e83998b01", "url": "https://github.com/Tree6bee/queue/blob/121df5d1bbfd34c07de2d2937ab8792e83998b01/src/Worker.php#L37-L51", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Parameters.php", "func_name": "Parameters.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the key exists or not.\n\n@param string $key name of key to check\n\n@return bool true, if key exists; false otherwise", "docstring_tokens": ["Returns", "whether", "the", "key", "exists", "or", "not", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Parameters.php#L64-L71", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Oauth.php", "func_name": "Oauth.getOauthRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the HTTP request string.\n\n@param array $params\n@param $httpMethod\n@param $baseUrl\n@param $endPoint\n@return string", "docstring_tokens": ["Generates", "the", "HTTP", "request", "string", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Oauth.php#L85-L112", "partition": "test"} +{"repo": "ktamashun/Callisto", "path": "src/Oauth.php", "func_name": "Oauth.getOauthSignature", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an OAuth signature.\n\n@param array $params\n@param $httpMethod\n@param $url\n@return string", "docstring_tokens": ["Generates", "an", "OAuth", "signature", "."], "sha": "f52e56ad03a87f06ecb79516f9ca7cdb14471b2f", "url": "https://github.com/ktamashun/Callisto/blob/f52e56ad03a87f06ecb79516f9ca7cdb14471b2f/src/Oauth.php#L122-L140", "partition": "test"} +{"repo": "koolkode/process", "path": "src/ProcessBuilder.php", "func_name": "ProcessBuilder.node", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new node to the process.\n\n@param string $id Unique ID of the node.\n@return Node Created node instance.", "docstring_tokens": ["Add", "a", "new", "node", "to", "the", "process", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/ProcessBuilder.php#L53-L60", "partition": "test"} +{"repo": "koolkode/process", "path": "src/ProcessBuilder.php", "func_name": "ProcessBuilder.transition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new transition between 2 nodes to the process.\n\n@param string $id Unique ID of the transition.\n@param string $from ID of the start node.\n@param string $to ID of the end node.\n@return Transition Created transition instance.", "docstring_tokens": ["Add", "a", "new", "transition", "between", "2", "nodes", "to", "the", "process", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/ProcessBuilder.php#L90-L100", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.addSetting", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the given setting to the internal lists of settings.\n\n@param ISetting $setting setting to add to internal lists of settings\n@param bool $cachable whether or not the setting may be put into a cache for reuse on re-execution of the check\n\n@return Result this instance for fluent API support", "docstring_tokens": ["Adds", "the", "given", "setting", "to", "the", "internal", "lists", "of", "settings", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L83-L92", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.addSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the given setting to the internal list of settings.\n\n@param array $settings array with ISetting implementing instances to add\n@param bool $cachable whether or not the setting may be put into a cache for reuse on re-execution of the check\n\n@return Result this instance for fluent API support", "docstring_tokens": ["Adds", "the", "given", "setting", "to", "the", "internal", "list", "of", "settings", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L102-L111", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the internal list of settings emitted by the processed check.\n\n@param string $groups group names of settings to return\n@param integer $flag flag value the settings should belong to\n\n@return array of ISetting implementing instances matching the arguments", "docstring_tokens": ["Returns", "the", "internal", "list", "of", "settings", "emitted", "by", "the", "processed", "check", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L145-L148", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getCachableSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the internal list of cachable settings emitted by the processed check.\n\n@param string $groups group names of settings to return\n@param integer $flag flag value the settings should belong to\n\n@return array of ISetting implementing instances matching the arguments", "docstring_tokens": ["Returns", "the", "internal", "list", "of", "cachable", "settings", "emitted", "by", "the", "processed", "check", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L158-L161", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getSettingsAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all settings or the settings of the specified groups as an array.\n\n@param string $groups group names of settings to return\n@param integer $flag flag value the settings should belong to\n\n@return array all settings (for the specified groups); empty array if groups don't exist.", "docstring_tokens": ["Return", "all", "settings", "or", "the", "settings", "of", "the", "specified", "groups", "as", "an", "array", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L171-L174", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getCachableSettingsAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all cachable settings or the cachable settings of the specified groups as an array.\n\n@param string $groups group names of cachable settings to return\n@param integer $flag flag value the settings should belong to\n\n@return array all cachable settings (for the specified groups); empty array if groups don't exist.", "docstring_tokens": ["Return", "all", "cachable", "settings", "or", "the", "cachable", "settings", "of", "the", "specified", "groups", "as", "an", "array", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L184-L187", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getFiltered", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all settings from the given array that match the groups and flag.\n\n@param array $all_settings array of ISetting implementing classes\n@param string $groups group names of settings to return\n@param integer $flag flag value the settings should belong to\n\n@return array of entries from all_settings that match the given groups and flag", "docstring_tokens": ["Returns", "all", "settings", "from", "the", "given", "array", "that", "match", "the", "groups", "and", "flag", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L246-L257", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Report/Results/Result.php", "func_name": "Result.getFilteredAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all or just the matching settings of the given groups as an associative array.\n\n@param array $all_settings array of ISetting implementing setting instances\n@param string $group name of group to filter given settings for\n@param integer $flag flag value the setting must be matching\n\n@return array with associative arrays (for each setting)", "docstring_tokens": ["Returns", "all", "or", "just", "the", "matching", "settings", "of", "the", "given", "groups", "as", "an", "associative", "array", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Report/Results/Result.php#L268-L279", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/HTMLTree.php", "func_name": "HTMLTree.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render HTML Tree\n\n@return string html content of the tree", "docstring_tokens": ["Render", "HTML", "Tree"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/HTMLTree.php#L65-L78", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/HTMLTree.php", "func_name": "HTMLTree.renderNodeItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the html tree\n\n@return string html content of the tree", "docstring_tokens": ["Render", "the", "html", "tree"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/HTMLTree.php#L85-L100", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/HTMLTree.php", "func_name": "HTMLTree.renderSingleNodeItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render single node item\n\n@param array $nodeItem\n@return ", "docstring_tokens": ["Render", "single", "node", "item"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/HTMLTree.php#L108-L139", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Autoloader/BundlesAutoloader.php", "func_name": "BundlesAutoloader.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the process", "docstring_tokens": ["Runs", "the", "process"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Autoloader/BundlesAutoloader.php#L114-L125", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Autoloader/BundlesAutoloader.php", "func_name": "BundlesAutoloader.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the bundles for the given environment\n\n@param string $environment", "docstring_tokens": ["Registers", "the", "bundles", "for", "the", "given", "environment"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Autoloader/BundlesAutoloader.php#L184-L207", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Autoloader/BundlesAutoloader.php", "func_name": "BundlesAutoloader.install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates the bundles that must be autoconfigured, parsing the autoload_namespaces.php file\ngenerated by composer", "docstring_tokens": ["Instantiates", "the", "bundles", "that", "must", "be", "autoconfigured", "parsing", "the", "autoload_namespaces", ".", "php", "file", "generated", "by", "composer"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Autoloader/BundlesAutoloader.php#L213-L220", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/Command.php", "func_name": "Command.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles the default options all commands have in common.\n\n@param \\Symfony\\Component\\Console\\Input\\InputInterface $input\n@param \\Symfony\\Component\\Console\\Output\\OutputInterface $output\n\n@throws \\InvalidArgumentException in case of configuration errors", "docstring_tokens": ["Handles", "the", "default", "options", "all", "commands", "have", "in", "common", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/Command.php#L62-L110", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Command/Command.php", "func_name": "Command.autoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autoloads the given class if it exists.\n\n@param string $class class name like 'Foo\\Bar\\Baz'\n\n@throws \\InvalidArgumentException in case of errors (file", "docstring_tokens": ["Autoloads", "the", "given", "class", "if", "it", "exists", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Command/Command.php#L119-L145", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Support/Helpers.php", "func_name": "Helpers.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the given collection.\n\nAsserts file existence because it should never be the case that they don't\nexist on production.\n\n@param $id\n@return bool", "docstring_tokens": ["Load", "the", "given", "collection", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Support/Helpers.php#L31-L45", "partition": "test"} +{"repo": "corpsee/nameless-source", "path": "src/Core/Controller.php", "func_name": "Controller.forward", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal redirect without creating an instance of kernel\n\n@param string $route\n@param array $attributes\n@param array $query\n\n@return Response", "docstring_tokens": ["Internal", "redirect", "without", "creating", "an", "instance", "of", "kernel"], "sha": "bb080d78e5796124f8178cd181437279b70d2f26", "url": "https://github.com/corpsee/nameless-source/blob/bb080d78e5796124f8178cd181437279b70d2f26/src/Core/Controller.php#L78-L81", "partition": "test"} +{"repo": "xZ1mEFx/yii2-adminlte", "path": "widgets/ActiveField.php", "func_name": "ActiveField.glyphIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Working only with inputs where type is text or password\n\nYou must set field first\n\n@param $glyphIcon string Icon name\n@return $this\n@throws InternalErrorException", "docstring_tokens": ["Working", "only", "with", "inputs", "where", "type", "is", "text", "or", "password"], "sha": "f47e8a7c976dc2dcc6ea7e2de648ab385ed9c3b3", "url": "https://github.com/xZ1mEFx/yii2-adminlte/blob/f47e8a7c976dc2dcc6ea7e2de648ab385ed9c3b3/widgets/ActiveField.php#L117-L131", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.setQueryParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set query parameter for parameter binding in the query\n\n@param array {fieldname:value} list\n@return void", "docstring_tokens": ["Set", "query", "parameter", "for", "parameter", "binding", "in", "the", "query"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L433-L437", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.setLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set limit of the query.\n\n@param int $count the number of records to return\n@param int $offset the starting position of the result records\n@return void", "docstring_tokens": ["Set", "limit", "of", "the", "query", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L475-L485", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.getDBConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get database connection\n\n@return \\Zend_Db_Adapter_Abstract", "docstring_tokens": ["Get", "database", "connection"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L492-L512", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the property of the object. Used in expression language\n\n@param string $propertyName name of the property\n@return BizField|string property value", "docstring_tokens": ["Get", "the", "property", "of", "the", "object", ".", "Used", "in", "expression", "language"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L520-L540", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.getRefObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the object instance defined in the object reference\n\n@param string $objName the object name list in the ObjectReference part\n@return BizDataObj object instance", "docstring_tokens": ["Get", "the", "object", "instance", "defined", "in", "the", "object", "reference"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L559-L572", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/BizDataObj_Abstract.php", "func_name": "BizDataObj_Abstract.setAssociation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the association of the object\n\n@param ObjReference $objRef\n@param BizDataObj $asscObj\n@return void", "docstring_tokens": ["Set", "the", "association", "of", "the", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/BizDataObj_Abstract.php#L591-L609", "partition": "test"} +{"repo": "chrisguitarguy/Annotation", "path": "src/DefaultReader.php", "func_name": "DefaultReader.fromDocblock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use the parser to parse a docblock into annotations and create annotation\nobjects.\n\n@since 0.1\n@access protected\n@param string $docblock The docblock to parse.\n@param array $context This is the place from where the docblock came\nThis particular reader uses the keys `class`, `method`, `property`,\nand `function`. One or more of them will be present. Each would\nwould be the appropriate Reflection(Class|Method|Property|Function)\nobject. The array is converted into an AnnotationContextInterface\nimplentation here, and, in this reader, passed as the second\nargument to the constructor.\n@return object[]", "docstring_tokens": ["Use", "the", "parser", "to", "parse", "a", "docblock", "into", "annotations", "and", "create", "annotation", "objects", "."], "sha": "ba81072b6b269eaf9ba408c28238fdb69952cd8a", "url": "https://github.com/chrisguitarguy/Annotation/blob/ba81072b6b269eaf9ba408c28238fdb69952cd8a/src/DefaultReader.php#L248-L263", "partition": "test"} +{"repo": "koolkode/async-database", "path": "src/Sqlite/SqliteConnection.php", "func_name": "SqliteConnection.fromMemory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an in-memory Sqlite database, very fast but not durable!\n\n@param string $prefix DB schema object prefix to be used.", "docstring_tokens": ["Create", "an", "in", "-", "memory", "Sqlite", "database", "very", "fast", "but", "not", "durable!"], "sha": "6da00a9f22603baaf2795dd8c88afa3d76274ce3", "url": "https://github.com/koolkode/async-database/blob/6da00a9f22603baaf2795dd8c88afa3d76274ce3/src/Sqlite/SqliteConnection.php#L48-L56", "partition": "test"} +{"repo": "koolkode/async-database", "path": "src/Sqlite/SqliteConnection.php", "func_name": "SqliteConnection.fromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Sqlite DB using the given file to store data.\n\n@param string $file Absolute path of the DB file.\n@param string $prefix DB schema object prefix to be used.", "docstring_tokens": ["Create", "a", "Sqlite", "DB", "using", "the", "given", "file", "to", "store", "data", "."], "sha": "6da00a9f22603baaf2795dd8c88afa3d76274ce3", "url": "https://github.com/koolkode/async-database/blob/6da00a9f22603baaf2795dd8c88afa3d76274ce3/src/Sqlite/SqliteConnection.php#L64-L72", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aModel.php", "func_name": "aModel.getField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retorna o objeto \"iField\" referente ao campo\nde nome indicado.\n\n@param string $f\nNome do campo que ser\u00e1 retornado.\n\n@return ?iField", "docstring_tokens": ["Retorna", "o", "objeto", "iField", "referente", "ao", "campo", "de", "nome", "indicado", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aModel.php#L205-L212", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aModel.php", "func_name": "aModel.hasField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Identifica se o campo com o nome indicado\nexiste neste modelo de dados.\n\n@param string $f\nNome do campo que ser\u00e1 verificado.\n\n@return bool", "docstring_tokens": ["Identifica", "se", "o", "campo", "com", "o", "nome", "indicado", "existe", "neste", "modelo", "de", "dados", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aModel.php#L225-L228", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aModel.php", "func_name": "aModel.getFieldNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retorna um array contendo o nome de cada um dos campos existentes\nneste modelo de dados.\n\n@return array", "docstring_tokens": ["Retorna", "um", "array", "contendo", "o", "nome", "de", "cada", "um", "dos", "campos", "existentes", "neste", "modelo", "de", "dados", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aModel.php#L251-L258", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aModel.php", "func_name": "aModel.getInitialDataModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retorna um array associativo contendo todos os campos definidos\npara o modelo atual e seus respectivos valores iniciais.\n\n@return array", "docstring_tokens": ["Retorna", "um", "array", "associativo", "contendo", "todos", "os", "campos", "definidos", "para", "o", "modelo", "atual", "e", "seus", "respectivos", "valores", "iniciais", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aModel.php#L268-L275", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/ChildCrudController.php", "func_name": "ChildCrudController.authorizeIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if user is authorized to watch an index of the entities.\n@param Request $request", "docstring_tokens": ["Checks", "if", "user", "is", "authorized", "to", "watch", "an", "index", "of", "the", "entities", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/ChildCrudController.php#L84-L87", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/ChildCrudController.php", "func_name": "ChildCrudController.authorizeCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if user is authorized to create an entity.\n@param Request $request", "docstring_tokens": ["Checks", "if", "user", "is", "authorized", "to", "create", "an", "entity", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/ChildCrudController.php#L93-L96", "partition": "test"} +{"repo": "webdevvie/nestis", "path": "Nestis.php", "func_name": "Nestis.getNestedItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a nested value from an object\n\n@param string $pattern\n@param mixed $object\n@param mixed $default\n@return mixed|null", "docstring_tokens": ["Gets", "a", "nested", "value", "from", "an", "object"], "sha": "53d70ecd3703d4a1afef4ea60a652df2096125ec", "url": "https://github.com/webdevvie/nestis/blob/53d70ecd3703d4a1afef4ea60a652df2096125ec/Nestis.php#L34-L92", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/UserAgent.php", "func_name": "UserAgent.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "put your code here", "docstring_tokens": ["put", "your", "code", "here"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/UserAgent.php#L27-L58", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Config.php", "func_name": "Config.getExportImplementor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defaults to \"Environaut\\Export\\Export\".\n\n@return string (namespaced) class name to use for exporting a report", "docstring_tokens": ["Defaults", "to", "Environaut", "\\", "Export", "\\", "Export", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Config.php#L41-L45", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Config.php", "func_name": "Config.getReportImplementor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defaults to \"Environaut\\Report\\Report\".\n\n@return string (namespaced) class name to use for a report", "docstring_tokens": ["Defaults", "to", "Environaut", "\\", "Report", "\\", "Report", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Config.php#L52-L56", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Config.php", "func_name": "Config.getRunnerImplementor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defaults to \"Environaut\\Runner\\Runner\".\n\n@return string (namespaced) class name to use for running checks read from the config", "docstring_tokens": ["Defaults", "to", "Environaut", "\\", "Runner", "\\", "Runner", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Config.php#L63-L67", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Config.php", "func_name": "Config.getCacheImplementor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defaults to \"Environaut\\Cache\\Cache\".\n\n@return string (namespaced) class name to use for writing cachable settings after report generation", "docstring_tokens": ["Defaults", "to", "Environaut", "\\", "Cache", "\\", "Cache", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Config.php#L85-L89", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizDataObj_SQLHelper.php", "func_name": "BizDataObj_SQLHelper.buildUpdateSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build update sql\nUPDATE table SET col1=val1, col2=val2 ...\nWHERE idcol1='id1' AND idcol2='id2'\n\n@param BizDataObj $dataObj\n@return mixed\n@todo consider the record data on main table as well as join table, this function can return a sql array.", "docstring_tokens": ["Build", "update", "sql", "UPDATE", "table", "SET", "col1", "=", "val1", "col2", "=", "val2", "...", "WHERE", "idcol1", "=", "id1", "AND", "idcol2", "=", "id2"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizDataObj_SQLHelper.php#L197-L264", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Data/Tools/BizDataObj_SQLHelper.php", "func_name": "BizDataObj_SQLHelper.buildDeleteSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build delete-sql DELETE FROM table WHERE idcol1='id1' AND idcol2='id2'\n\n@param BizDataObj $dataObj\n@return string SQL statement", "docstring_tokens": ["Build", "delete", "-", "sql", "DELETE", "FROM", "table", "WHERE", "idcol1", "=", "id1", "AND", "idcol2", "=", "id2"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Data/Tools/BizDataObj_SQLHelper.php#L297-L315", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/EditCombobox.php", "func_name": "EditCombobox.getStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get style of element\n\n@return string style of Element", "docstring_tokens": ["Get", "style", "of", "element"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/EditCombobox.php#L54-L76", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomElement.php", "func_name": "DomElement.getChildNodes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a \\DOMNodeList of all child elements of the element.\n\n@return \\DOMNodeList of all child elements", "docstring_tokens": ["Returns", "a", "\\", "DOMNodeList", "of", "all", "child", "elements", "of", "the", "element", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomElement.php#L64-L73", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomElement.php", "func_name": "DomElement.getAttributeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value of the given attribute or returns the given\ndefault value if the attribute is missing.\n\n@param string $name name of attribute\n@param mixed $default_value value to return if attribute is missing\n\n@return mixed string value of attribute or default_value if attribute is not found or empty", "docstring_tokens": ["Returns", "the", "value", "of", "the", "given", "attribute", "or", "returns", "the", "given", "default", "value", "if", "the", "attribute", "is", "missing", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomElement.php#L84-L93", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomElement.php", "func_name": "DomElement.getAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all attributes including their values for the element.\n\n@return array of attributes (name => value pairs)", "docstring_tokens": ["Returns", "all", "attributes", "including", "their", "values", "for", "the", "element", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomElement.php#L100-L109", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomElement.php", "func_name": "DomElement.getChild", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns first child of the element with the given name.\n\n@param string $name name of element to get\n\n@return \\DOMNode first child node with the given name", "docstring_tokens": ["Returns", "first", "child", "of", "the", "element", "with", "the", "given", "name", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomElement.php#L160-L171", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomElement.php", "func_name": "DomElement.getLiteralValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Depending on the values of the 'literalize' and 'space' attributes of the element\nthe transformed or literal value of the value is returned\n\n@param \\DOMNode $element element to get a value for\n\n@return mixed literalized and/or whitespace preserved value or null if value is empty", "docstring_tokens": ["Depending", "on", "the", "values", "of", "the", "literalize", "and", "space", "attributes", "of", "the", "element", "the", "transformed", "or", "literal", "value", "of", "the", "value", "is", "returned"], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomElement.php#L325-L347", "partition": "test"} +{"repo": "vainproject/vain-menu", "path": "src/Menu/Listeners/MenuComposer.php", "func_name": "MenuComposer.cacheIfConfigured", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "uses the cache if it was configured or calculates\nthe plain output every request otherwise.\n\n@param $closure\n\n@return array", "docstring_tokens": ["uses", "the", "cache", "if", "it", "was", "configured", "or", "calculates", "the", "plain", "output", "every", "request", "otherwise", "."], "sha": "ab7622faf76ef5660cbd3feced8c0894fface9bd", "url": "https://github.com/vainproject/vain-menu/blob/ab7622faf76ef5660cbd3feced8c0894fface9bd/src/Menu/Listeners/MenuComposer.php#L61-L73", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Middleware.php", "func_name": "Middleware.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the arguments passed to the middleware and return the new response.\nBy default, this will automatically try to call a class method that corresponds\nto the method named give to the object.\n\n@param array $arguments\n@return null", "docstring_tokens": ["Handle", "the", "arguments", "passed", "to", "the", "middleware", "and", "return", "the", "new", "response", ".", "By", "default", "this", "will", "automatically", "try", "to", "call", "a", "class", "method", "that", "corresponds", "to", "the", "method", "named", "give", "to", "the", "object", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Middleware.php#L102-L110", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Middleware.php", "func_name": "Middleware.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the given method and determines if it passed the black and white lists and can be called.\n\n@param string $method\n@return bool", "docstring_tokens": ["Checks", "the", "given", "method", "and", "determines", "if", "it", "passed", "the", "black", "and", "white", "lists", "and", "can", "be", "called", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Middleware.php#L118-L124", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Middleware.php", "func_name": "Middleware.isGetter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a getter request.\n\n@return bool", "docstring_tokens": ["Is", "a", "getter", "request", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Middleware.php#L165-L169", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Middleware.php", "func_name": "Middleware.isSetter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is a setter request.\n\n@return bool", "docstring_tokens": ["Is", "a", "setter", "request", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Middleware.php#L176-L180", "partition": "test"} +{"repo": "gwsn/http-request", "path": "src/BaseConnector.php", "func_name": "BaseConnector.prepareCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the Guzzle Client\n\n@param Client|null $client", "docstring_tokens": ["Prepare", "the", "Guzzle", "Client"], "sha": "7d2d07812c220244f845f9e288d0b7470dc4e4c5", "url": "https://github.com/gwsn/http-request/blob/7d2d07812c220244f845f9e288d0b7470dc4e4c5/src/BaseConnector.php#L240-L260", "partition": "test"} +{"repo": "gwsn/http-request", "path": "src/BaseConnector.php", "func_name": "BaseConnector.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the response body from the response and try to parse it to array or object.\n\n@param string $type\n\n@return null|string|BaseResponseInterface", "docstring_tokens": ["Get", "the", "response", "body", "from", "the", "response", "and", "try", "to", "parse", "it", "to", "array", "or", "object", "."], "sha": "7d2d07812c220244f845f9e288d0b7470dc4e4c5", "url": "https://github.com/gwsn/http-request/blob/7d2d07812c220244f845f9e288d0b7470dc4e4c5/src/BaseConnector.php#L373-L415", "partition": "test"} +{"repo": "gwsn/http-request", "path": "src/BaseConnector.php", "func_name": "BaseConnector.getResponseJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decode the JSON String\n\n@param string $body JSON encoded string\n\n@return string", "docstring_tokens": ["Decode", "the", "JSON", "String"], "sha": "7d2d07812c220244f845f9e288d0b7470dc4e4c5", "url": "https://github.com/gwsn/http-request/blob/7d2d07812c220244f845f9e288d0b7470dc4e4c5/src/BaseConnector.php#L424-L431", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.saveObjVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set single session variable of a stateful object\n\n@param string $objName - object name\n@param string $varName - vaiable name\n@param mixed $value - reference of the value (in/out)\n@param boolean $stateful - is stateful?\n@return void", "docstring_tokens": ["Set", "single", "session", "variable", "of", "a", "stateful", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L188-L198", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.loadObjVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get single session variable of a stateful object\n\n@param string $objName - object name\n@param string $varName - vaiable name\n@param mixed $value - reference of the value (in/out)\n@param boolean $stateful - is stateful?\n@return void", "docstring_tokens": ["Get", "single", "session", "variable", "of", "a", "stateful", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L228-L251", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.saveSessionObjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save session variables of all stateful objects into sessionid_obj file\n\n@return void", "docstring_tokens": ["Save", "session", "variables", "of", "all", "stateful", "objects", "into", "sessionid_obj", "file"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L258-L282", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.clearSessionObjects", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear session variables of all stateful objects\n\n@param boolean $keepObjects\n@return void", "docstring_tokens": ["Clear", "session", "variables", "of", "all", "stateful", "objects"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L310-L323", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.saveJSONArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save a JSON array in session\n\n@param string $jsonValue\n@param string $jsonName\n@return void", "docstring_tokens": ["Save", "a", "JSON", "array", "in", "session"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L332-L343", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/SessionContext.php", "func_name": "SessionContext.setViewHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set view history data of given bizform into session file\n\n@param string $formName - name of bizform\n@param array $historyInfo - view history data represented by an associated array\n@return void", "docstring_tokens": ["Set", "view", "history", "data", "of", "given", "bizform", "into", "session", "file"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/SessionContext.php#L365-L374", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/Timer.php", "func_name": "Timer.tic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts timer.\n@param int $flag self::RESET_COUNTER|self::KEEP_COUNTER\n@return void", "docstring_tokens": ["Starts", "timer", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/Timer.php#L96-L102", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/Timer.php", "func_name": "Timer.toc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops timer and displays elapsed time.\n@param string $message is an optional user message.\n@return void", "docstring_tokens": ["Stops", "timer", "and", "displays", "elapsed", "time", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/Timer.php#L109-L118", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/Timer.php", "func_name": "Timer.tac", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Keeps lap time.\n@param int $flag Takes values self::ADD_LAP|self::RESET_LAP\n@return void", "docstring_tokens": ["Keeps", "lap", "time", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/Timer.php#L125-L136", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/Timer.php", "func_name": "Timer.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resets timer.\n@return void", "docstring_tokens": ["Resets", "timer", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/Timer.php#L151-L158", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Checks/ExecutableCheck.php", "func_name": "ExecutableCheck.validExecutable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the given input value leads to an executable that\nmatches the configured version_mask parameter.\n\n@param string $value path to an executable\n\n@return string absolute path to executable\n\n@throws \\InvalidArgumentException in case of non-existing executable at the given path or version mismatch", "docstring_tokens": ["Checks", "whether", "the", "given", "input", "value", "leads", "to", "an", "executable", "that", "matches", "the", "configured", "version_mask", "parameter", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Checks/ExecutableCheck.php#L143-L172", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/FormHelper.php", "func_name": "FormHelper.getRedirectPage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return redirect page and target array\n\n@return array {redirectPage, $target}", "docstring_tokens": ["return", "redirect", "page", "and", "target", "array"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/FormHelper.php#L92-L109", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/View/FormHelper.php", "func_name": "FormHelper.processDataException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the exception from DataObj method,\nreport the error as an alert window\n\n@param int $errCode\n@return string", "docstring_tokens": ["Handle", "the", "exception", "from", "DataObj", "method", "report", "the", "error", "as", "an", "alert", "window"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/View/FormHelper.php#L167-L175", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/DynaView.php", "func_name": "DynaView.processURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process URL to get the form param and add the form in the FormRefs\n\n@return void", "docstring_tokens": ["Process", "URL", "to", "get", "the", "form", "param", "and", "add", "the", "form", "in", "the", "FormRefs"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/DynaView.php#L49-L99", "partition": "test"} +{"repo": "simphotonics/utils", "path": "src/WebUtils.php", "func_name": "WebUtils.baseURI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns 'baseURI'.\n@method baseURI\n@return string baseUri\nExamples:\nhttp:://google.com/ => google\n/index.php => index\nuser/logout/ => logout\nuser/post/?msg='...'=> post", "docstring_tokens": ["Returns", "baseURI", "."], "sha": "4e4ec3b4ddd9a0c603d71fd60d17c826cf537539", "url": "https://github.com/simphotonics/utils/blob/4e4ec3b4ddd9a0c603d71fd60d17c826cf537539/src/WebUtils.php#L21-L30", "partition": "test"} +{"repo": "crsoares/DoctrineModule", "path": "src/DoctrineModule/Authentication/Adapter/ObjectRepository.php", "func_name": "ObjectRepository.validateIdentity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method attempts to validate that the record in the resultset is indeed a\nrecord that matched the identity provided to this adapter.\n\n@param object $identity\n@throws Exception\\UnexpectedValueException\n@return AuthenticationResult", "docstring_tokens": ["This", "method", "attempts", "to", "validate", "that", "the", "record", "in", "the", "resultset", "is", "indeed", "a", "record", "that", "matched", "the", "identity", "provided", "to", "this", "adapter", "."], "sha": "a99051dabbabfbc74a85de4fab4d269ce7833bb3", "url": "https://github.com/crsoares/DoctrineModule/blob/a99051dabbabfbc74a85de4fab4d269ce7833bb3/src/DoctrineModule/Authentication/Adapter/ObjectRepository.php#L157-L198", "partition": "test"} +{"repo": "crsoares/DoctrineModule", "path": "src/DoctrineModule/Authentication/Adapter/ObjectRepository.php", "func_name": "ObjectRepository.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method abstracts the steps involved with making sure that this adapter was\nindeed setup properly with all required pieces of information.\n\n@throws Exception\\RuntimeException - in the event that setup was not done properly", "docstring_tokens": ["This", "method", "abstracts", "the", "steps", "involved", "with", "making", "sure", "that", "this", "adapter", "was", "indeed", "setup", "properly", "with", "all", "required", "pieces", "of", "information", "."], "sha": "a99051dabbabfbc74a85de4fab4d269ce7833bb3", "url": "https://github.com/crsoares/DoctrineModule/blob/a99051dabbabfbc74a85de4fab4d269ce7833bb3/src/DoctrineModule/Authentication/Adapter/ObjectRepository.php#L206-L227", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/SetsAttributes.php", "func_name": "SetsAttributes.setVisibleAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the visibility of the given attribute before setting it to the given value.\n\n@param string $name\n@param $value\n@return $this", "docstring_tokens": ["Checks", "the", "visibility", "of", "the", "given", "attribute", "before", "setting", "it", "to", "the", "given", "value", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/SetsAttributes.php#L42-L56", "partition": "test"} +{"repo": "ddvphp/ddv-util", "path": "src/DdvUtil/Laravel/EloquentBuilder.php", "func_name": "EloquentBuilder.firstHumpArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the model instance to an array.\n\n@return array", "docstring_tokens": ["Convert", "the", "model", "instance", "to", "an", "array", "."], "sha": "6d6532b8769f94eb657b9579d8476f6639a34c54", "url": "https://github.com/ddvphp/ddv-util/blob/6d6532b8769f94eb657b9579d8476f6639a34c54/src/DdvUtil/Laravel/EloquentBuilder.php#L44-L50", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/Element/OptionElement.php", "func_name": "OptionElement.getFromList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get from list\n\n@param array $list\n@return void", "docstring_tokens": ["Get", "from", "list"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/Element/OptionElement.php#L102-L121", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Export/Formatter/ConsoleMessageFormatter.php", "func_name": "ConsoleMessageFormatter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a formatted string consisting of all\nmessages from the results of the given report.\n\n@param IReport $report report to take results (and messages) from\n\n@return string messages formatted with the configured format", "docstring_tokens": ["Returns", "a", "formatted", "string", "consisting", "of", "all", "messages", "from", "the", "results", "of", "the", "given", "report", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Export/Formatter/ConsoleMessageFormatter.php#L29-L81", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.callMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call middleware pieces.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException if requested\n\n@param mixed $middleware\n@param string $method\n@param array $arguments\n@param $response\n@param string $key\n@return mixed", "docstring_tokens": ["Call", "middleware", "pieces", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L118-L132", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.callProxyGetters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the registered middleware getters.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException if requested\n\n@param string $name\n@param mixed $result\n@return bool", "docstring_tokens": ["Call", "the", "registered", "middleware", "getters", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L143-L154", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.callProxyMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the request to the method MiddleMans and returns the final response.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException if requested\n\n@param string $name\n@param array $arguments\n@param mixed $result\n@return mixed", "docstring_tokens": ["Sends", "the", "request", "to", "the", "method", "MiddleMans", "and", "returns", "the", "final", "response", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L166-L176", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.callProxySetters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the request to the setter MiddleMans and returns the final response.\n\n@throws \\MichaelRShelton\\MiddleMan\\Exceptions\\HaltPropagationException if requested\n\n@param string $name\n@param $value\n@param mixed $result\n@return array|null", "docstring_tokens": ["Sends", "the", "request", "to", "the", "setter", "MiddleMans", "and", "returns", "the", "final", "response", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L188-L201", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.catchHaltedMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Getter and setting for the exception catching property.\n\n@param bool $setting\n@return $this|bool", "docstring_tokens": ["Getter", "and", "setting", "for", "the", "exception", "catching", "property", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L209-L216", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.clearMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears the given middleware group or all if none given.\n\n@param string|null $group\n@return $this", "docstring_tokens": ["Clears", "the", "given", "middleware", "group", "or", "all", "if", "none", "given", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L224-L232", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.disableMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable the given middleware.\n\n@param string $key\n@param string|null $group\n@return $this", "docstring_tokens": ["Disable", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L241-L248", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.enableMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enable the given middleware.\n\n@param string $key\n@param string|null $group\n@return $this", "docstring_tokens": ["Enable", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L257-L264", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.getMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the middleware by key and group with a variable fallback.\n\n@param string $key\n@param string|null $group\n@param mixed $default\n@return mixed", "docstring_tokens": ["Retrieves", "the", "middleware", "by", "key", "and", "group", "with", "a", "variable", "fallback", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L274-L277", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.getMiddlewareGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Looks for the given group id in the middle collection, creating a new instance if it doesn't exist.\n\n@param string $id\n@return \\MichaelRShelton\\MiddleMan\\Concerns\\Group", "docstring_tokens": ["Looks", "for", "the", "given", "group", "id", "in", "the", "middle", "collection", "creating", "a", "new", "instance", "if", "it", "doesn", "t", "exist", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L285-L291", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.groupMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the default group setting.\n\n@param string|null $name\n@param \\Closure|null $closure\n@return string|$this", "docstring_tokens": ["Define", "the", "default", "group", "setting", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L310-L323", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.hasMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the instance has a given middleware.\n\n@param string $key\n@param string|null $group\n@return bool", "docstring_tokens": ["Determine", "if", "the", "instance", "has", "a", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L332-L335", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.isMiddlewareDisabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the disabled status of the given middleware.\n\n@param string $key\n@param string|null $group\n@return bool", "docstring_tokens": ["Checks", "the", "disabled", "status", "of", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L344-L348", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.isMiddlewareEnabled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the enabled status of the given middleware.\n\n@param string $key\n@param string|null $group\n@return bool", "docstring_tokens": ["Checks", "the", "enabled", "status", "of", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L357-L361", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.middleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the defined middleware and include it here if it exists.\n\n@param string|null $key\n@param string $group\n@return mixed", "docstring_tokens": ["Resolve", "the", "defined", "middleware", "and", "include", "it", "here", "if", "it", "exists", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L380-L387", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.middlewareCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the collection calls.\n\n@param string $id\n@param array $middleware\n@return \\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareCollection", "docstring_tokens": ["Get", "the", "collection", "calls", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L408-L415", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.prependMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new middleware to beginning of the stack if it does not already exist.\n\n@param mixed $middleware\n@param string $key\n@param string|null $group\n@return $this", "docstring_tokens": ["Add", "a", "new", "middleware", "to", "beginning", "of", "the", "stack", "if", "it", "does", "not", "already", "exist", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L446-L451", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.pushMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new middleware to end of the stack if it does not already exist.\n\n@param mixed $middleware\n@param string $key\n@param string|null $group\n@return $this", "docstring_tokens": ["Add", "a", "new", "middleware", "to", "end", "of", "the", "stack", "if", "it", "does", "not", "already", "exist", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L497-L502", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.setMiddlewareContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the context for the middleware.\n\n@param $context\n@param \\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareCollection|null $group\n@return $this", "docstring_tokens": ["Sets", "the", "context", "for", "the", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L511-L526", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Concerns/HasMiddleware.php", "func_name": "HasMiddleware.thenCallMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the given middleware and returns the result as if part of the middleware chains.\n\nThe helper function will check for an app container, which can assist in injecting dependencies.\n\n@param mixed $middleware\n@return \\MichaelRShelton\\MiddleMan\\Controller|mixed", "docstring_tokens": ["Calls", "the", "given", "middleware", "and", "returns", "the", "result", "as", "if", "part", "of", "the", "middleware", "chains", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Concerns/HasMiddleware.php#L548-L556", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Cache/Cache.php", "func_name": "Cache.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes the current set of ISetting instances to the cache file location.\n\n@return boolean true when cache file writing succeeded\n\n@throws \\Exception if content could not be encoded", "docstring_tokens": ["Writes", "the", "current", "set", "of", "ISetting", "instances", "to", "the", "cache", "file", "location", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Cache/Cache.php#L48-L86", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/TabView.php", "func_name": "TabView._getForms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get forms or the form to hide or show.\nWhen It has one form It hasn't the ATTRIBUTES property\n\n@param array $forms\n@return array", "docstring_tokens": ["Get", "forms", "or", "the", "form", "to", "hide", "or", "show", ".", "When", "It", "has", "one", "form", "It", "hasn", "t", "the", "ATTRIBUTES", "property"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/TabView.php#L35-L48", "partition": "test"} +{"repo": "redkite-labs/BootstrapBundle", "path": "Core/Json/JsonAutoloader.php", "func_name": "JsonAutoloader.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the json file and sets up the object", "docstring_tokens": ["Parses", "the", "json", "file", "and", "sets", "up", "the", "object"], "sha": "2ee55c9575c45bbd52cff8e3020483dc94a8f4b3", "url": "https://github.com/redkite-labs/BootstrapBundle/blob/2ee55c9575c45bbd52cff8e3020483dc94a8f4b3/Core/Json/JsonAutoloader.php#L90-L122", "partition": "test"} +{"repo": "koolkode/process", "path": "src/Command/TakeTransitionCommand.php", "func_name": "TakeTransitionCommand.findTransition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the outgoing transition to be taken by the given execution.\n\n@param Execution $execution\n@throws \\RuntimeException\n@return Transition", "docstring_tokens": ["Find", "the", "outgoing", "transition", "to", "be", "taken", "by", "the", "given", "execution", "."], "sha": "f9500482103360c1cbe6a12fe8aa03c25e6aad6a", "url": "https://github.com/koolkode/process/blob/f9500482103360c1cbe6a12fe8aa03c25e6aad6a/src/Command/TakeTransitionCommand.php#L142-L168", "partition": "test"} +{"repo": "kernel64/JQueryAjaxBundle", "path": "Twig/JqueryAjaxExtension.php", "func_name": "JqueryAjaxExtension.remoteCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Js function to send ajax request.\n\n@param array $options", "docstring_tokens": ["Generate", "Js", "function", "to", "send", "ajax", "request", "."], "sha": "ae2a161eb4528a4a4f7bfb8417f693fd880d1da7", "url": "https://github.com/kernel64/JQueryAjaxBundle/blob/ae2a161eb4528a4a4f7bfb8417f693fd880d1da7/Twig/JqueryAjaxExtension.php#L38-L71", "partition": "test"} +{"repo": "kernel64/JQueryAjaxBundle", "path": "Twig/JqueryAjaxExtension.php", "func_name": "JqueryAjaxExtension.submitCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate Js function to send ajax form data.\n\n@param array $options", "docstring_tokens": ["Generate", "Js", "function", "to", "send", "ajax", "form", "data", "."], "sha": "ae2a161eb4528a4a4f7bfb8417f693fd880d1da7", "url": "https://github.com/kernel64/JQueryAjaxBundle/blob/ae2a161eb4528a4a4f7bfb8417f693fd880d1da7/Twig/JqueryAjaxExtension.php#L78-L106", "partition": "test"} +{"repo": "kernel64/JQueryAjaxBundle", "path": "Twig/JqueryAjaxExtension.php", "func_name": "JqueryAjaxExtension.linkTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate link tag with js function to send ajax request\n\n@param array $options", "docstring_tokens": ["Generate", "link", "tag", "with", "js", "function", "to", "send", "ajax", "request"], "sha": "ae2a161eb4528a4a4f7bfb8417f693fd880d1da7", "url": "https://github.com/kernel64/JQueryAjaxBundle/blob/ae2a161eb4528a4a4f7bfb8417f693fd880d1da7/Twig/JqueryAjaxExtension.php#L113-L137", "partition": "test"} +{"repo": "kernel64/JQueryAjaxBundle", "path": "Twig/JqueryAjaxExtension.php", "func_name": "JqueryAjaxExtension.submitTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate submit button tag with js function to send ajax form\n\n@param array $options", "docstring_tokens": ["Generate", "submit", "button", "tag", "with", "js", "function", "to", "send", "ajax", "form"], "sha": "ae2a161eb4528a4a4f7bfb8417f693fd880d1da7", "url": "https://github.com/kernel64/JQueryAjaxBundle/blob/ae2a161eb4528a4a4f7bfb8417f693fd880d1da7/Twig/JqueryAjaxExtension.php#L144-L167", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.castKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The key should be a native string, so it will cast what it can with a fallback.\nThe goal of this is to normalize associative keys and allowing the developer to\ndecide if they want to included non-associative keys.\n\n@param mixed $key\n@param string $default\n@return string", "docstring_tokens": ["The", "key", "should", "be", "a", "native", "string", "so", "it", "will", "cast", "what", "it", "can", "with", "a", "fallback", ".", "The", "goal", "of", "this", "is", "to", "normalize", "associative", "keys", "and", "allowing", "the", "developer", "to", "decide", "if", "they", "want", "to", "included", "non", "-", "associative", "keys", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L29-L32", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.isAbstract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the given middleware value is a string that can be instantiated.\nNote that it does not check an application container.\n\n@param mixed $middleware\n@return bool", "docstring_tokens": ["Determines", "if", "the", "given", "middleware", "value", "is", "a", "string", "that", "can", "be", "instantiated", ".", "Note", "that", "it", "does", "not", "check", "an", "application", "container", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L41-L46", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.isCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks to see if the given value has a lot of middleware or just one.\n\n@param $middleware\n@return bool", "docstring_tokens": ["Checks", "to", "see", "if", "the", "given", "value", "has", "a", "lot", "of", "middleware", "or", "just", "one", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L54-L58", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the given middleware.\n\n@param mixed $middleware\n@param mixed $key\n@return bool|\\Closure|\\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareInterface|\\MichaelRShelton\\MiddleMan\\Contracts|MiddlewareCollection", "docstring_tokens": ["Resolve", "the", "given", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L67-L74", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolveOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve the given middleware or throw an exception if the argument isn't valid.\n\n@throws \\InvalidArgumentException\n\n@param mixed $middleware\n@param mixed $key\n@return bool|\\Closure|\\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareInterface|\\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareCollection", "docstring_tokens": ["Resolve", "the", "given", "middleware", "or", "throw", "an", "exception", "if", "the", "argument", "isn", "t", "valid", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L85-L92", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolveMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a group of middleware.\n\n@param mixed $group\n@param string $id\n@return \\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareCollection", "docstring_tokens": ["Resolve", "a", "group", "of", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L111-L121", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolveManyOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a group of middleware or throw an exception if one is not valid.\n\n@throws \\InvalidArgumentException\n\n@param mixed $group\n@param string $id\n@return \\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareCollection", "docstring_tokens": ["Resolve", "a", "group", "of", "middleware", "or", "throw", "an", "exception", "if", "one", "is", "not", "valid", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L132-L142", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolveOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a single middleware.\n\n@param mixed $middleware\n@param null $key\n@return bool|\\Closure|\\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareInterface", "docstring_tokens": ["Resolve", "a", "single", "middleware", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L151-L174", "partition": "test"} +{"repo": "MichaelRShelton/middleman", "path": "src/Resolver.php", "func_name": "Resolver.resolveOneOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a single middleware or throw an exception if it fails.\n\n@throws \\InvalidArgumentException\n\n@param mixed $middleware\n@param mixed $key\n@return bool|\\Closure|\\MichaelRShelton\\MiddleMan\\Interfaces\\MiddlewareInterface", "docstring_tokens": ["Resolve", "a", "single", "middleware", "or", "throw", "an", "exception", "if", "it", "fails", "."], "sha": "b67140be2f39a32a27f5a0a9b2498ab3444835ba", "url": "https://github.com/MichaelRShelton/middleman/blob/b67140be2f39a32a27f5a0a9b2498ab3444835ba/src/Resolver.php#L185-L198", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/reportService.php", "func_name": "reportService.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the report output\n\n@param string $objName object name which is the bizform name\n@return void", "docstring_tokens": ["render", "the", "report", "output"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/reportService.php#L67-L142", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/reportService.php", "func_name": "reportService.getUniqueString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get unique string by time and MD5\n\n@return string", "docstring_tokens": ["Get", "unique", "string", "by", "time", "and", "MD5"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/reportService.php#L169-L176", "partition": "test"} +{"repo": "Askedio/Laravelcp", "path": "src/Traits/HasRoleAndPermission.php", "func_name": "HasRoleAndPermission.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the user has a role or roles.\n\n@param int|string|array $role\n@param bool $all\n@return bool", "docstring_tokens": ["Check", "if", "the", "user", "has", "a", "role", "or", "roles", "."], "sha": "4f9a5181209243269944b75228a1a18fb0364493", "url": "https://github.com/Askedio/Laravelcp/blob/4f9a5181209243269944b75228a1a18fb0364493/src/Traits/HasRoleAndPermission.php#L140-L147", "partition": "test"} +{"repo": "Askedio/Laravelcp", "path": "src/Traits/HasRoleAndPermission.php", "func_name": "HasRoleAndPermission.hasRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the user has role.\n\n@param int|string $role\n@return bool", "docstring_tokens": ["Check", "if", "the", "user", "has", "role", "."], "sha": "4f9a5181209243269944b75228a1a18fb0364493", "url": "https://github.com/Askedio/Laravelcp/blob/4f9a5181209243269944b75228a1a18fb0364493/src/Traits/HasRoleAndPermission.php#L189-L194", "partition": "test"} +{"repo": "kitpages/KitpagesUtilBundle", "path": "Service/Hash.php", "func_name": "Hash.getHash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return a hash for a list of params\n@param mixed variable length param list", "docstring_tokens": ["return", "a", "hash", "for", "a", "list", "of", "params"], "sha": "7f42662505e355449d15fea386b4d5cf7424ea4f", "url": "https://github.com/kitpages/KitpagesUtilBundle/blob/7f42662505e355449d15fea386b4d5cf7424ea4f/Service/Hash.php#L32-L38", "partition": "test"} +{"repo": "FlexyProject/Curl", "path": "Client.php", "func_name": "Client.getInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get information regarding a specific transfer\n@param null|int $opt\n@return array|string", "docstring_tokens": ["Get", "information", "regarding", "a", "specific", "transfer"], "sha": "b6b42508488c69243ec24e81c2460283118745df", "url": "https://github.com/FlexyProject/Curl/blob/b6b42508488c69243ec24e81c2460283118745df/Client.php#L135-L141", "partition": "test"} +{"repo": "FlexyProject/Curl", "path": "Client.php", "func_name": "Client.perform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform a cURL session\n@return Client", "docstring_tokens": ["Perform", "a", "cURL", "session"], "sha": "b6b42508488c69243ec24e81c2460283118745df", "url": "https://github.com/FlexyProject/Curl/blob/b6b42508488c69243ec24e81c2460283118745df/Client.php#L166-L193", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/accessService.php", "func_name": "accessService.allowViewAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allow view access\n\n@param string $viewName\n@param $role\n@return boolean", "docstring_tokens": ["Allow", "view", "access"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/accessService.php#L78-L94", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/accessService.php", "func_name": "accessService.getMatchView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get match view\n\n@param string $viewName\n@return WebPage|null", "docstring_tokens": ["Get", "match", "view"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/accessService.php#L102-L117", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Export/Formatter/PhpSettingsWriter.php", "func_name": "PhpSettingsWriter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes all or specific groups of settings as a PHP file and\nreturns a message with some information about that.\n\n@param IReport $report report to take results (and settings) from\n\n@return string messages for CLI output", "docstring_tokens": ["Writes", "all", "or", "specific", "groups", "of", "settings", "as", "a", "PHP", "file", "and", "returns", "a", "message", "with", "some", "information", "about", "that", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Export/Formatter/PhpSettingsWriter.php#L21-L72", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.loadXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads XML from a string and registers the Environaut configuration\nnamespace if the XML document is an Environaut configuration file.\n\n@param string $source xml string to load\n@param int $options libXml flags to use for loading (like LIBXML_NOCDATA etc.)\n\n@return bool true on success; false on error\n\n@throws \\DOMException in case of errors loading the document from the given string", "docstring_tokens": ["Loads", "XML", "from", "a", "string", "and", "registers", "the", "Environaut", "configuration", "namespace", "if", "the", "XML", "document", "is", "an", "Environaut", "configuration", "file", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L101-L116", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.schemaValidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the current document according to the given schema file.\n\n@param string $filename path to the schema file\n\n@return bool true on success\n\n@throws \\DomException in case of validation errors or non-readable file", "docstring_tokens": ["Validates", "the", "current", "document", "according", "to", "the", "given", "schema", "file", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L127-L144", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.schemaValidateSource", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the current document according to the given schema file content.\n\n@param string $source content of a schema file\n\n@return bool true on success\n\n@throws \\DomException in case of validation errors or empty schema", "docstring_tokens": ["Validates", "the", "current", "document", "according", "to", "the", "given", "schema", "file", "content", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L155-L172", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.xinclude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Substitutes XIncludes present in the current document.\n\n@param int $options libXml flags to use for loading (like LIBXML_NOCDATA etc.)\n\n@return int number of XIncludes or false if no xincludes were found\n\n@throws \\DOMException in case of errors xincluding content", "docstring_tokens": ["Substitutes", "XIncludes", "present", "in", "the", "current", "document", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L183-L196", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.getElementValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the nodeValue of the child element with the given name.\n\n@param string $element_name name of child element\n@param \\DomElement $reference_element reference element for child node iteration, default to documentElement\n\n@return mixed nodeValue or null if Environaut element with that name does not exist\n\n@throws \\InvalidArgumentException if name is empty", "docstring_tokens": ["Returns", "the", "nodeValue", "of", "the", "child", "element", "with", "the", "given", "name", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L218-L241", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.getElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the DomElement with the given name.\n\n@param string $name of the element to get\n\n@return DomElement of that name or null if does not exist in the Environaut namespace", "docstring_tokens": ["Returns", "the", "DomElement", "with", "the", "given", "name", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L250-L264", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.setDefaultNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the default namespace that should be used when accessing elements via\nconvenience methods and bind it to the internal xpath instance.\n\n@param string $prefix default prefix to use\n@param string $uri namespace URI", "docstring_tokens": ["Set", "the", "default", "namespace", "that", "should", "be", "used", "when", "accessing", "elements", "via", "convenience", "methods", "and", "bind", "it", "to", "the", "internal", "xpath", "instance", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L273-L279", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.registerEnvironautNamespace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the default Environaut namespace on the internal xpath\ninstance of the given DomDocument instance.\n\n@param DOMDocument $doc document instance", "docstring_tokens": ["Registers", "the", "default", "Environaut", "namespace", "on", "the", "internal", "xpath", "instance", "of", "the", "given", "DomDocument", "instance", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L317-L320", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.isEnvironautConfigurationDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the given document instance is an Environaut configuration file.\n\n@param DOMDocument $doc document to check\n\n@return bool true if it's an Environaut document; false otherwise", "docstring_tokens": ["Returns", "whether", "the", "given", "document", "instance", "is", "an", "Environaut", "configuration", "file", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L329-L336", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.refreshXpath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Re-instantiates the internal xpath instance and then\nregisters the Environaut config namespace if necessary.", "docstring_tokens": ["Re", "-", "instantiates", "the", "internal", "xpath", "instance", "and", "then", "registers", "the", "Environaut", "config", "namespace", "if", "necessary", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L342-L351", "partition": "test"} +{"repo": "graste/environaut", "path": "src/Environaut/Config/Reader/Dom/DomDocument.php", "func_name": "DomDocument.parseError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the given libXml error as a multiline string.\n\n@param \\LibXMLError $error error to get as formatted string\n\n@return string formatted error message", "docstring_tokens": ["Formats", "the", "given", "libXml", "error", "as", "a", "multiline", "string", "."], "sha": "e40b498c31214fdbdd529f334f6ce5e6138bb5fb", "url": "https://github.com/graste/environaut/blob/e40b498c31214fdbdd529f334f6ce5e6138bb5fb/src/Environaut/Config/Reader/Dom/DomDocument.php#L417-L442", "partition": "test"} +{"repo": "koolkode/expression", "path": "src/Resolver/ExpressionResolverCache.php", "func_name": "ExpressionResolverCache.getResolvers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a sorted array of resolvers applicable to the input element.\n\n@param mixed $subject\n@return array", "docstring_tokens": ["Get", "a", "sorted", "array", "of", "resolvers", "applicable", "to", "the", "input", "element", "."], "sha": "cd24262530d94b8584059c0c2a08a5a432acbbf2", "url": "https://github.com/koolkode/expression/blob/cd24262530d94b8584059c0c2a08a5a432acbbf2/src/Resolver/ExpressionResolverCache.php#L96-L113", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Grant/AuthCodeGrant.php", "func_name": "AuthCodeGrant.checkAuthorizeParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check authorize parameters\n\n@return array Authorize request parameters\n\n@throws", "docstring_tokens": ["Check", "authorize", "parameters"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Grant/AuthCodeGrant.php#L76-L127", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Grant/AuthCodeGrant.php", "func_name": "AuthCodeGrant.newAuthorizeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a new authorize request\n\n@param string $type The session owner's type\n@param string $typeId The session owner's ID\n@param array $authParams The authorize request $_GET parameters\n\n@return string An authorisation code", "docstring_tokens": ["Parse", "a", "new", "authorize", "request"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Grant/AuthCodeGrant.php#L138-L161", "partition": "test"} +{"repo": "MichaelJ2324/oauth2-server", "path": "src/Grant/AuthCodeGrant.php", "func_name": "AuthCodeGrant.completeFlow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Complete the auth code grant\n\n@return array\n\n@throws", "docstring_tokens": ["Complete", "the", "auth", "code", "grant"], "sha": "6ecd30cd31b8ab61b1a26bc97f077e91260ff186", "url": "https://github.com/MichaelJ2324/oauth2-server/blob/6ecd30cd31b8ab61b1a26bc97f077e91260ff186/src/Grant/AuthCodeGrant.php#L170-L236", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.printOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print output.\n\n@return void", "docstring_tokens": ["Print", "output", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L115-L126", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.getFormInputs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get form all inputs or one input if controlName is given\n\n@param string $controlName\n@param boolean $toString - Convert array oriented form controls to string?\n@return array|string", "docstring_tokens": ["Get", "form", "all", "inputs", "or", "one", "input", "if", "controlName", "is", "given"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L178-L211", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.redrawForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace the form content with the provided html text,\nencoded html string returns to browser,\nit'll be processed by client javascript.\n\n@param string $formName - name of the html form on client\n@param string $sHTML - html text to redraw the form\n@return void", "docstring_tokens": ["Replace", "the", "form", "content", "with", "the", "provided", "html", "text", "encoded", "html", "string", "returns", "to", "browser", "it", "ll", "be", "processed", "by", "client", "javascript", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L245-L252", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.showClientAlert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show popup an alert window on the client browser.\nEncoded html string returns to browser, it'll be processed by client javascript.\n\n@param string $alertText\n@return void", "docstring_tokens": ["Show", "popup", "an", "alert", "window", "on", "the", "client", "browser", ".", "Encoded", "html", "string", "returns", "to", "browser", "it", "ll", "be", "processed", "by", "client", "javascript", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L261-L267", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.showErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show error message.\n\nIf its a remote call, it uses javascript\nIf it is not a remote call, it outputs to the page's html\n\n@todo Hard code for error form : \"common.form.ErrorPopupForm\"\nchange to flexible ErrorPopupForm, save in Class variable and maybe also in configuration\n\n@param char $errMsg\n@return void", "docstring_tokens": ["Show", "error", "message", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L282-L297", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.closePopup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Close popup window\n\n@return void", "docstring_tokens": ["Close", "popup", "window"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L358-L364", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.runClientScript", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run client script\n\n@param string $scriptStr\n@return void", "docstring_tokens": ["Run", "client", "script"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L400-L407", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.redirectView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect page to the given view.\nEncoded html string returns to browser, it'll be processed by client javascript.\n\n@param string $view full name of view (with package)\n@param string $rule\n@return void", "docstring_tokens": ["Redirect", "page", "to", "the", "given", "view", ".", "Encoded", "html", "string", "returns", "to", "browser", "it", "ll", "be", "processed", "by", "client", "javascript", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L482-L493", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.appendScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append more scripts - js include, js code\n\n@param mixed $scriptKey\n@param string $scripts\n@param boolean $isFile\n@return void", "docstring_tokens": ["Append", "more", "scripts", "-", "js", "include", "js", "code"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L503-L516", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.getAppendedScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get append scripts\n\n@return string", "docstring_tokens": ["Get", "append", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L523-L549", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.appendStyles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append more styles - include and sections\n\n@param $scriptKey\n@param string $styles\n@param boolean $isFile\n@return void", "docstring_tokens": ["Append", "more", "styles", "-", "include", "and", "sections"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L559-L573", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.getAppendedStyles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get appended styles\n\n@return string", "docstring_tokens": ["Get", "appended", "styles"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L580-L613", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.includeBaseClientScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include base client library scripts\n\n@return void", "docstring_tokens": ["Include", "base", "client", "library", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L620-L653", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.includeRTEScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include RTE scripts\n\n@return void", "docstring_tokens": ["Include", "RTE", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L700-L708", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.includeCKEditorScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include CKEditor scripts\n\n@return void", "docstring_tokens": ["Include", "CKEditor", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L715-L724", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.includePropWindowScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include PropWindow scripts\n\n@return void", "docstring_tokens": ["Include", "PropWindow", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L731-L739", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Web/ClientProxy.php", "func_name": "ClientProxy.includeValidatorScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Include validator scripts\n\n@return void", "docstring_tokens": ["Include", "validator", "scripts"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Web/ClientProxy.php#L746-L753", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/doTriggerService.php", "func_name": "doTriggerService.executeAllActions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute all action\n\n@param DOTrigger $doTrigger\n@param BizDataObj $dataObj\n@return void", "docstring_tokens": ["Execute", "all", "action"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/doTriggerService.php#L118-L126", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/doTriggerService.php", "func_name": "doTriggerService._composeActionMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compose action message\n\n@param TriggerAction $triggerAction\n@param string $methodName\n@param array $argList\n@return void", "docstring_tokens": ["Compose", "action", "message"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/doTriggerService.php#L193-L200", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Service/doTriggerService.php", "func_name": "doTriggerService._makeArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make array from string with semi colon delimited\n\n@param string $string string with \";\" (semi colon) delimited\n@return array", "docstring_tokens": ["Make", "array", "from", "string", "with", "semi", "colon", "delimited"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Service/doTriggerService.php#L303-L312", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.processFormObjError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process error of form object\n\n@param array $errors\n@return string - HTML text of this form's read mode", "docstring_tokens": ["Process", "error", "of", "form", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L571-L576", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.setSubForms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the sub forms of this form. This form is parent of other forms\n\n@param string $subForms - sub controls string with format: ctrl1;ctrl2...\n@return void", "docstring_tokens": ["Set", "the", "sub", "forms", "of", "this", "form", ".", "This", "form", "is", "parent", "of", "other", "forms"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L601-L613", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.loadPicker", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Popup a selection EasyForm in a dynamically generated WebPage\n\n@param string $viewName\n@param string $formName\n@param string $elementName\n@return void\n@access remote", "docstring_tokens": ["Popup", "a", "selection", "EasyForm", "in", "a", "dynamically", "generated", "WebPage"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L757-L773", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.setRequestParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set request parameters\n\n@param array $paramFields\n@return void", "docstring_tokens": ["Set", "request", "parameters"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L814-L833", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.fetchDataSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch record set\n\n@return array array of record", "docstring_tokens": ["Fetch", "record", "set"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L890-L955", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.getElementID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get element Id\n\n@return mixed", "docstring_tokens": ["Get", "element", "Id"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L1386-L1394", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.autoSuggest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate list for AutoSuggest element\nAlso supports elements that have hidden values\n\n@param string $input - the search string used to filter the list\n@todo rename to createAutoSuggestList or createAutoSuggest(v2.5?)\n@return void", "docstring_tokens": ["Generate", "list", "for", "AutoSuggest", "element", "Also", "supports", "elements", "that", "have", "hidden", "values"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L1633-L1688", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.renderContextMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render context menu code\n\n@return string html code for context menu", "docstring_tokens": ["Render", "context", "menu", "code"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L1890-L1932", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.renderHTML", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render html content of this form\n\n@return string - HTML text of this form's read mode", "docstring_tokens": ["Render", "html", "content", "of", "this", "form"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L1979-L2016", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.getEventLogMsg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get event log message\n\n@return mixed string or null", "docstring_tokens": ["Get", "event", "log", "message"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L2023-L2032", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.getOnEventElements", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get on event elements\n\n@return array element list", "docstring_tokens": ["Get", "on", "event", "elements"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L2039-L2047", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.runEventLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run event log\n\n@return void", "docstring_tokens": ["Run", "event", "log"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L2054-L2063", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.getInvokingElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the element that issues the call.\n\n@return array element object and event handler name", "docstring_tokens": ["Get", "the", "element", "that", "issues", "the", "call", "."], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L2132-L2145", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Easy/EasyForm.php", "func_name": "EasyForm.setClientScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set client scripts, auto add javascripts code to the page\n\n@return void", "docstring_tokens": ["Set", "client", "scripts", "auto", "add", "javascripts", "code", "to", "the", "page"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Easy/EasyForm.php#L2256-L2266", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Middleware/MiddlewareManager.php", "func_name": "MiddlewareManager.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a layer by its classname.\n\n@param string $middlewareClass", "docstring_tokens": ["Remove", "a", "layer", "by", "its", "classname", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Middleware/MiddlewareManager.php#L51-L58", "partition": "test"} +{"repo": "nimbly/Limber", "path": "src/Middleware/MiddlewareManager.php", "func_name": "MiddlewareManager.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the middleware stack.\n\n@param Request $request\n@param callable $kernel\n@return Response", "docstring_tokens": ["Run", "the", "middleware", "stack", "."], "sha": "f5d4656e5b6ae8da479456f3e642e38d841d7b94", "url": "https://github.com/nimbly/Limber/blob/f5d4656e5b6ae8da479456f3e642e38d841d7b94/src/Middleware/MiddlewareManager.php#L67-L80", "partition": "test"} +{"repo": "nattreid/utils", "path": "src/Range.php", "func_name": "Range.createFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vytvori objekt z retezce intervalu\n@param string $interval\n@return self", "docstring_tokens": ["Vytvori", "objekt", "z", "retezce", "intervalu"], "sha": "117d6d67f49de52091ae05cd38e142ef6e92ea01", "url": "https://github.com/nattreid/utils/blob/117d6d67f49de52091ae05cd38e142ef6e92ea01/src/Range.php#L64-L72", "partition": "test"} +{"repo": "EXSyst/Security", "path": "TOTP/TOTPGenerator.php", "func_name": "TOTPGenerator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a TOTP code.\n\n@param int $stamp Unit time\n@param string $key TOTP key\n\n@return string TOTP corresponding to the key and stamp provided", "docstring_tokens": ["Generates", "a", "TOTP", "code", "."], "sha": "e59126ce49e712221d2fe0d8a5afca14fb65febd", "url": "https://github.com/EXSyst/Security/blob/e59126ce49e712221d2fe0d8a5afca14fb65febd/TOTP/TOTPGenerator.php#L53-L64", "partition": "test"} +{"repo": "EXSyst/Security", "path": "TOTP/TOTPGenerator.php", "func_name": "TOTPGenerator.base32_decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes a base 32 string.\n\n@param mixed Base 32 string to decode\n\n@return string Base 32 string decoded", "docstring_tokens": ["Decodes", "a", "base", "32", "string", "."], "sha": "e59126ce49e712221d2fe0d8a5afca14fb65febd", "url": "https://github.com/EXSyst/Security/blob/e59126ce49e712221d2fe0d8a5afca14fb65febd/TOTP/TOTPGenerator.php#L73-L98", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.listAllIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an iterator with the files and directories in the current directory.\n\n@param bool $recursive = false\n@param bool $showHidden = false\n@return \\ArrayIterator|\\FilesystemIterator|\\RecursiveIteratorIterator an iterator with the files and directories in the current directory.", "docstring_tokens": ["Returns", "an", "iterator", "with", "the", "files", "and", "directories", "in", "the", "current", "directory", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L184-L201", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.listAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the files and directories in the current directory.\n\n@param bool $recursive = false\n@param bool $showHidden = false\n@return string[] an array with the files and directories in the current directory.", "docstring_tokens": ["Returns", "an", "array", "with", "the", "files", "and", "directories", "in", "the", "current", "directory", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L210-L219", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.listDirectories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the directories in the current directory.\n\n@param bool $recursive = false\n@param bool $showHidden = false\n@return string[] an array with the directories in the current directory.", "docstring_tokens": ["Returns", "an", "array", "with", "the", "directories", "in", "the", "current", "directory", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L228-L239", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.listFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with the files in the current directory.\n\n@param bool $recursive = false\n@param bool $showHidden = false\n@return string[] an array with the files in the current directory.", "docstring_tokens": ["Returns", "an", "array", "with", "the", "files", "in", "the", "current", "directory", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L248-L259", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.makeFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the file has been created.\n\n@param bool $override = false\n@return bool true if the file has been created.", "docstring_tokens": ["Returns", "true", "if", "the", "file", "has", "been", "created", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L267-L274", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.makeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the directory has been created.\n\n@param bool $recursive = false\n@param int $permissions = 0755\n@return bool true if the directory has been created.", "docstring_tokens": ["Returns", "true", "if", "the", "directory", "has", "been", "created", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L283-L294", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the file is succesfully moved.\n\n@param string $path\n@param bool $override = false\n@return bool true if the file is succesfully moved.", "docstring_tokens": ["Returns", "true", "if", "the", "file", "is", "succesfully", "moved", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L303-L318", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the file is succesfully renamed.\n\n@param string $file\n@param bool $override = false\n@return bool true if the file is succesfully renamed.", "docstring_tokens": ["Returns", "true", "if", "the", "file", "is", "succesfully", "renamed", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L327-L330", "partition": "test"} +{"repo": "miBadger/miBadger.File", "path": "src/File.php", "func_name": "File.removeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the directory is succesfully removed.\n\n@param bool $recursive = false\n@return bool true if the directory is succesfully removed.", "docstring_tokens": ["Returns", "true", "if", "the", "directory", "is", "succesfully", "removed", "."], "sha": "5b681fe3345ab68f0bda151e5f85a33f8bbca24e", "url": "https://github.com/miBadger/miBadger.File/blob/5b681fe3345ab68f0bda151e5f85a33f8bbca24e/src/File.php#L338-L349", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aField.php", "func_name": "aField.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define o nome do campo.\n\nComo regra, um nome de um campo apenas pode aceitar\ncaracteres \"a-zA-Z0-9_\".\n\n@param ?string $n\nNome do campo.\n\n@throws \\InvalidArgumentException\nCaso o nome indicado seja inv\u00e1lido.", "docstring_tokens": ["Define", "o", "nome", "do", "campo", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aField.php#L203-L217", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aField.php", "func_name": "aField.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define o nome completo da classe que determina o\ntipo deste campo.\n\nA classe informada deve implementar a interface\n\"AeonDigital\\SimpleTypes\\Interfaces\\iSimpleType\".\n\n@param ?string $t\nNome completo da classe a ser usada.\n\n@return void\n\n@throws \\InvalidArgumentException\nCaso a classe indicada n\u00e3o seja v\u00e1lida.", "docstring_tokens": ["Define", "o", "nome", "completo", "da", "classe", "que", "determina", "o", "tipo", "deste", "campo", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aField.php#L286-L309", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aField.php", "func_name": "aField.setInputFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A classe informada deve implementar a interface\n\"AeonDigital\\DataFormat\\Interfaces\\iFormat\".\n\nTamb\u00e9m deve ser aceito passar um array com as configura\u00e7\u00f5es de\nformata\u00e7\u00e3o. Neste caso as seguintes posi\u00e7\u00f5es devem ser usadas:\n\n$arr = [\nstring \"name\"\nNome deste tipo de transforma\u00e7\u00e3o.\n\nint \"length\"\nTamanho m\u00e1ximo que uma string pode ter para ser aceita por este formato.\n\ncallable \"check\"\nFun\u00e7\u00e3o que valida a string para o tipo de formata\u00e7\u00e3o a ser definida.\n\ncallable \"removeFormat\"\nFun\u00e7\u00e3o que remove a formata\u00e7\u00e3o padr\u00e3o.\n\ncallable \"format\"\nFun\u00e7\u00e3o que efetivamente formata a string para seu formato final.\n\ncallable \"storageFormat\"\nFun\u00e7\u00e3o que converte o valor para seu formato de armazenamento.\n];\n\n@param ?array|?string $if\nNome completo da classe a ser usada.\n\n@return void\n\n@throws \\InvalidArgumentException\nCaso a classe indicada n\u00e3o seja v\u00e1lida.", "docstring_tokens": ["A", "classe", "informada", "deve", "implementar", "a", "interface", "AeonDigital", "\\", "DataFormat", "\\", "Interfaces", "\\", "iFormat", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aField.php#L367-L444", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aField.php", "func_name": "aField.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define um novo valor para este campo.\n\n- Campos Simples\nPara que o campo assuma o novo valor ele precisa ser\ncompat\u00edvel com o \"type\" definido. Caso contr\u00e1rio o campo\nficar\u00e1 com o valor \"null\".\n\n-- Valores esperados\nnull, Bool, Int, Float, RealNumber, DateTime, String\n\n\n- Campos \"reference\"\nCampos deste tipo apenas aceitar\u00e3o valores capazes de preencher os\ncampos do modelo de dados ao qual eles se referenciam.\nIndependente de tornar o modelo de dados v\u00e1lido ou n\u00e3o, os valores\nser\u00e3o definidos exceto se o valor passado for incompat\u00edvel com o\nmodelo de dados configurado.\n\n-- Valores esperados\nnull, iterable, Array, iModel,\n\n\n- Campos \"collection\"\nUma cole\u00e7\u00e3o de dados sempre ser\u00e1 definida como o valor de\num campo que aceite este tipo de valor.\nOs membros da cole\u00e7\u00e3o ser\u00e3o convertidos para o tipo \"type\"\ndefinido. Membros que n\u00e3o possam ser convertidos ser\u00e3o substituidos\npor \"null\" e a cole\u00e7\u00e3o ser\u00e1 inv\u00e1lida at\u00e9 que estes membros sejam\nremovidos ou substitu\u00eddos.\n\nCole\u00e7\u00f5es do tipo \"reference\" apenas ser\u00e3o redefinidos se TODOS seus\nitens forem capazes de tornarem-se objetos \"iModel\" do tipo definido\npara este campo.\n\n-- Valores esperados\nnull, Array\n\n\n- Estado e valida\u00e7\u00e3o\n-- Independente de o valor vir a ser efetivamente definido para o campo\no estado da valida\u00e7\u00e3o pode ser verificado usando \"getLastValidateState\".\n\n-- Uma vez que o valor seja definido o campo passa a assumir o estado herdado\nda valida\u00e7\u00e3o e poder\u00e1 ser verificado em \"getState\".\n\n\n- undefined\nEste valor NUNCA ser\u00e1 aceito por nenhum tipo de campo e em\nqualquer circunst\u00e2ncia.\n\n\n@param mixed $v\nValor a ser definido para o campo.\n\n@return bool\nRetornar\u00e1 \"true\" se o valor tornou o campo v\u00e1lido\nou \"false\" caso agora ele esteja inv\u00e1lido.\nTamb\u00e9m retornar\u00e1 \"false\" caso o valor seja totalmente\nincompat\u00edvel com o campo.", "docstring_tokens": ["Define", "um", "novo", "valor", "para", "este", "campo", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aField.php#L1773-L1789", "partition": "test"} +{"repo": "AeonDigital/PHP-DataModel", "path": "src/Abstracts/aField.php", "func_name": "aField.getStorageValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retorna o valor atual deste campo em seu formato de armazenamento.\n\n- Campos Simples\nO valor retornado estar\u00e1 sempre no mesmo \"type\" que aquele que o\ncampo est\u00e1 configurado para assumir. Qualquer regra para REMO\u00c7\u00c3O de formata\u00e7\u00e3o\nser\u00e1 aplicada caso exista.\n\n\n- Campos \"reference\"\nEstes campos apenas s\u00e3o capazes de retornar valores \"undefined\", \"null\" ou\narrays associativos representando o respectivo modelo de dados que ele\nest\u00e1 configurado para receber.\n\n\n- Campos \"collection\"\nO valor retornado ser\u00e1 SEMPRE um array contendo os itens atualmente\ndefinidos. Estes itens ser\u00e3o retornados conforme as regras definidas\nacima para \"campos simples\".\n\nCole\u00e7\u00f5es do tipo \"reference\" apenas retornar\u00e3o um array de arrays associativos\nrepresentando a cole\u00e7\u00e3o de modelos de dados que o campo est\u00e1 apto a utilizar.\n\n\n-- undefined\nO valor \"null\" deve ser retornado no lugar de \"undefined\" para campos simples\ne \"reference\".\n\n-- []\nCampos do tipo \"collection\" em seu estado inicial retornars\u00e3o sempre um\narray vazio.\nCole\u00e7\u00f5es que possuam valores inv\u00e1lidos entre seus membros tamb\u00e9m retornar\u00e3o\num array vazio.\n\n\n@return mixed", "docstring_tokens": ["Retorna", "o", "valor", "atual", "deste", "campo", "em", "seu", "formato", "de", "armazenamento", "."], "sha": "57d546000b5628667f16eb7d3e55ac38ac67c61e", "url": "https://github.com/AeonDigital/PHP-DataModel/blob/57d546000b5628667f16eb7d3e55ac38ac67c61e/src/Abstracts/aField.php#L1863-L1874", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Database/Model.php", "func_name": "Model.saveTheChildren", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save all related entities.\n@throws PropertySetterException", "docstring_tokens": ["Save", "all", "related", "entities", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Database/Model.php#L42-L108", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Database/Model.php", "func_name": "Model.addChildrenToEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add children to a related entity.\n@param $name\n@param array $childEntities\n@param array $setterParameters", "docstring_tokens": ["Add", "children", "to", "a", "related", "entity", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Database/Model.php#L116-L127", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/ResourceController.php", "func_name": "ResourceController.getModels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "From a query builder, filter models based on input and processor and return the resulting\nmodels.\nSince order is important, the returned Collection will be a plain laravel collection!\n@param $queryBuilder\n@param Context $context\n@param ResourceDefinition|string|null $resourceDefinition\n@param int|null $records\n@return Model[]", "docstring_tokens": ["From", "a", "query", "builder", "filter", "models", "based", "on", "input", "and", "processor", "and", "return", "the", "resulting", "models", ".", "Since", "order", "is", "important", "the", "returned", "Collection", "will", "be", "a", "plain", "laravel", "collection!"], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/ResourceController.php#L62-L68", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/ResourceController.php", "func_name": "ResourceController.outputList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output a resource or a collection of resources\n\n@param $models\n@param array $parameters\n@param null $resourceDefinition\n@return \\Illuminate\\Http\\JsonResponse", "docstring_tokens": ["Output", "a", "resource", "or", "a", "collection", "of", "resources"], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/ResourceController.php#L345-L349", "partition": "test"} +{"repo": "CatLabInteractive/charon-laravel", "path": "src/Controllers/ResourceController.php", "func_name": "ResourceController.resourceToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert collections or resources to arrays.\n@param $data\n@return array|mixed", "docstring_tokens": ["Convert", "collections", "or", "resources", "to", "arrays", "."], "sha": "097e37803b5a0b2536544a0b32377996eec296f8", "url": "https://github.com/CatLabInteractive/charon-laravel/blob/097e37803b5a0b2536544a0b32377996eec296f8/src/Controllers/ResourceController.php#L458-L472", "partition": "test"} +{"repo": "nails/driver-captcha-recaptcha", "path": "src/ReCaptcha.php", "func_name": "ReCaptcha.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the form markup for the captcha\n@return string", "docstring_tokens": ["Returns", "the", "form", "markup", "for", "the", "captcha"], "sha": "5e266a2542385c7bf317d45bd23e8a7fe4b3686a", "url": "https://github.com/nails/driver-captcha-recaptcha/blob/5e266a2542385c7bf317d45bd23e8a7fe4b3686a/src/ReCaptcha.php#L15-L30", "partition": "test"} +{"repo": "nails/driver-captcha-recaptcha", "path": "src/ReCaptcha.php", "func_name": "ReCaptcha.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verifies a user's captcha entry from POST Data\n@return boolean", "docstring_tokens": ["Verifies", "a", "user", "s", "captcha", "entry", "from", "POST", "Data"], "sha": "5e266a2542385c7bf317d45bd23e8a7fe4b3686a", "url": "https://github.com/nails/driver-captcha-recaptcha/blob/5e266a2542385c7bf317d45bd23e8a7fe4b3686a/src/ReCaptcha.php#L38-L79", "partition": "test"} +{"repo": "openbizx/openbizx", "path": "src/Openbiz.php", "func_name": "Openbizx.getService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the service object\n\n@param string $service service name\n@return object the service object", "docstring_tokens": ["Get", "the", "service", "object"], "sha": "573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc", "url": "https://github.com/openbizx/openbizx/blob/573dcaf9664e16b1f6f17091e4623cd9f2eb4bdc/src/Openbiz.php#L49-L57", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the Exception to the end user, if the Exception is an instance of\nBaseSerializerException call our custom renderer else, call the parent\nrender method\n\n@return void", "docstring_tokens": ["render", "the", "Exception", "to", "the", "end", "user", "if", "the", "Exception", "is", "an", "instance", "of", "BaseSerializerException", "call", "our", "custom", "renderer", "else", "call", "the", "parent", "render", "method"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L28-L41", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderHttpException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render exceptions of type HttpException\n\n@param HttpException $error the HttpException error to render\n@return void", "docstring_tokens": ["render", "exceptions", "of", "type", "HttpException"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L49-L59", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderCakeException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render exceptions of type CakeException\n\n@param CakeException $error the CakeException error to render\n@return void", "docstring_tokens": ["render", "exceptions", "of", "type", "CakeException"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L67-L77", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderSerializerException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render exceptions of type BaseSerializerException\n\n@param BaseSerializerException $error the BaseSerializerException error to render\n@return void", "docstring_tokens": ["render", "exceptions", "of", "type", "BaseSerializerException"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L85-L95", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderValidationSerializerException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render exceptions of type ValidationBaseSerializerException\n\n@param ValidationBaseSerializerException $error the ValidationBaseSerializerException error to render\n@return void", "docstring_tokens": ["render", "exceptions", "of", "type", "ValidationBaseSerializerException"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L103-L113", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderHttpAsJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the HttpException for a JSON request\n\n@param HttpException $error an instance of HttpException\n@return void", "docstring_tokens": ["render", "the", "HttpException", "for", "a", "JSON", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L121-L138", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderHttpAsJsonApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the HttpException for a JSON API request\n\n@param HttpException $error an instance of HttpException\n@return void", "docstring_tokens": ["render", "the", "HttpException", "for", "a", "JSON", "API", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L146-L173", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderCakeAsJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the CakeException for a JSON request\n\n@param CakeException $error an instance of CakeException\n@return void", "docstring_tokens": ["render", "the", "CakeException", "for", "a", "JSON", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L203-L221", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderCakeAsJsonApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the CakeException for a JSON API request\n\n@param CakeException $error an instance of CakeException\n@return void", "docstring_tokens": ["render", "the", "CakeException", "for", "a", "JSON", "API", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L229-L256", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.defaultSerializerRender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the BaseSerializerException in the general case\n\n@param BaseSerializerException $error an instance of BaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "BaseSerializerException", "in", "the", "general", "case"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L287-L310", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderSerializerAsJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the BaseSerializerException for a JSON request\n\n@param BaseSerializerException $error an instance of BaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "BaseSerializerException", "for", "a", "JSON", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L318-L345", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderSerializerAsJsonApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the BaseSerializerException for a JSON API request\n\n@param BaseSerializerException $error an instance of BaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "BaseSerializerException", "for", "a", "JSON", "API", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L353-L382", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.defaultValidationSerializerRender", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the ValidationBaseSerializerException in the general case\n\n@param ValidationBaseSerializerException $error an instance of ValidationBaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "ValidationBaseSerializerException", "in", "the", "general", "case"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L390-L409", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderValidationSerializerAsJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the ValidationBaseSerializerException for a JSON request\n\n@param ValidationBaseSerializerException $error an instance of ValidationBaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "ValidationBaseSerializerException", "for", "a", "JSON", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L417-L435", "partition": "test"} +{"repo": "loadsys/CakePHP-Serializers-Errors", "path": "Lib/Error/SerializerExceptionRenderer.php", "func_name": "SerializerExceptionRenderer.renderValidationSerializerAsJsonApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "render the ValidationBaseSerializerException for a JSON API request\n\n@param ValidationBaseSerializerException $error an instance of ValidationBaseSerializerException\n@return void", "docstring_tokens": ["render", "the", "ValidationBaseSerializerException", "for", "a", "JSON", "API", "request"], "sha": "6215a3422c299829d411668ed13893a23914bd66", "url": "https://github.com/loadsys/CakePHP-Serializers-Errors/blob/6215a3422c299829d411668ed13893a23914bd66/Lib/Error/SerializerExceptionRenderer.php#L443-L473", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/SessionManager.php", "func_name": "SessionManager.openSessionByID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Opens an existing session.\n\nOpens and returns the data for an existing session, if and only if the\nclient sent a valid existing session ID. Otherwise returns null.\n\n@param array $cookieData\n@param null $userProfile\n@return Session|null", "docstring_tokens": ["Opens", "an", "existing", "session", "."], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/SessionManager.php#L95-L108", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/SessionManager.php", "func_name": "SessionManager.createSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new session or open existing session.\n\nOpens and returns the data for an existing session, if and only if the\nclient sent a valid existing session ID. Otherwise creates a new session.\n\n@param array $cookieData\n@param $userProfile\n@return Session", "docstring_tokens": ["Create", "a", "new", "session", "or", "open", "existing", "session", "."], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/SessionManager.php#L120-L135", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Layout/Title.php", "func_name": "Title.prepareText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the text, if the text has no length, return false to indicate something went wrong\n@param $text\n@return bool", "docstring_tokens": ["Prepare", "the", "text", "if", "the", "text", "has", "no", "length", "return", "false", "to", "indicate", "something", "went", "wrong"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Layout/Title.php#L90-L110", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Layout/Title.php", "func_name": "Title.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display one Title\n\n@param string $text - the text of the title\n@return $this", "docstring_tokens": ["Display", "one", "Title"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Layout/Title.php#L118-L179", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Layout/Title.php", "func_name": "Title.displayEmptyLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to output a number of lines that have the full width\n@param $lines", "docstring_tokens": ["Helper", "function", "to", "output", "a", "number", "of", "lines", "that", "have", "the", "full", "width"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Layout/Title.php#L185-L197", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Providers/ConsoleProvider.php", "func_name": "ConsoleProvider.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "ConsoleProvider constructor.\n@param Application $cli\n@param array $commands", "docstring_tokens": ["ConsoleProvider", "constructor", "."], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Providers/ConsoleProvider.php#L42-L46", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "EventListener/KernelSubscriber.php", "func_name": "KernelSubscriber.onKernelResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "On kernel response.\n\n@param FilterResponseEvent $event", "docstring_tokens": ["On", "kernel", "response", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/EventListener/KernelSubscriber.php#L54-L76", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Providers/DebugBarProvider.php", "func_name": "DebugBarProvider.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "DebugBarProvider constructor.\n@param StandardDebugBar $debugBar", "docstring_tokens": ["DebugBarProvider", "constructor", "."], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Providers/DebugBarProvider.php#L30-L33", "partition": "test"} +{"repo": "delboy1978uk/session", "path": "src/SessionManager.php", "func_name": "SessionManager.sessionStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a secure session\n@param $name\n@param int $lifetime\n@param string $path\n@param null $domain\n@param null $secure", "docstring_tokens": ["Creates", "a", "secure", "session"], "sha": "fe33ea2ba6892ebac8d15c7af71383a54a129f38", "url": "https://github.com/delboy1978uk/session/blob/fe33ea2ba6892ebac8d15c7af71383a54a129f38/src/SessionManager.php#L16-L54", "partition": "test"} +{"repo": "delboy1978uk/session", "path": "src/SessionManager.php", "func_name": "SessionManager.preventHijacking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks session IP and user agent are still the same\n@return bool", "docstring_tokens": ["Checks", "session", "IP", "and", "user", "agent", "are", "still", "the", "same"], "sha": "fe33ea2ba6892ebac8d15c7af71383a54a129f38", "url": "https://github.com/delboy1978uk/session/blob/fe33ea2ba6892ebac8d15c7af71383a54a129f38/src/SessionManager.php#L66-L78", "partition": "test"} +{"repo": "delboy1978uk/session", "path": "src/SessionManager.php", "func_name": "SessionManager.regenerateSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a fresh session Id to make it harder to hack\nIf the site is very slow in parts increase the expiry time\n10 seconds is a good default which allows ajax calls to work\nwithout losing the session", "docstring_tokens": ["Creates", "a", "fresh", "session", "Id", "to", "make", "it", "harder", "to", "hack", "If", "the", "site", "is", "very", "slow", "in", "parts", "increase", "the", "expiry", "time", "10", "seconds", "is", "a", "good", "default", "which", "allows", "ajax", "calls", "to", "work", "without", "losing", "the", "session"], "sha": "fe33ea2ba6892ebac8d15c7af71383a54a129f38", "url": "https://github.com/delboy1978uk/session/blob/fe33ea2ba6892ebac8d15c7af71383a54a129f38/src/SessionManager.php#L86-L111", "partition": "test"} +{"repo": "delboy1978uk/session", "path": "src/SessionManager.php", "func_name": "SessionManager.validateSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether the session has expired or not\n@return bool", "docstring_tokens": ["Checks", "whether", "the", "session", "has", "expired", "or", "not"], "sha": "fe33ea2ba6892ebac8d15c7af71383a54a129f38", "url": "https://github.com/delboy1978uk/session/blob/fe33ea2ba6892ebac8d15c7af71383a54a129f38/src/SessionManager.php#L117-L128", "partition": "test"} +{"repo": "alcalyn/neural-network", "path": "src/Network.php", "func_name": "Network.linkLayers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Link layers together.", "docstring_tokens": ["Link", "layers", "together", "."], "sha": "5a6c10066e8be7c9a8c21072cee879cc005f5dee", "url": "https://github.com/alcalyn/neural-network/blob/5a6c10066e8be7c9a8c21072cee879cc005f5dee/src/Network.php#L123-L128", "partition": "test"} +{"repo": "Schlaefer/phileMarkdownEditor", "path": "Classes/Request.php", "func_name": "Request._paramBackbone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract request param from backbone model request\n\n@param string $key\n@return string|null", "docstring_tokens": ["Extract", "request", "param", "from", "backbone", "model", "request"], "sha": "af395c5ee7d17103bab7339516a4a5565db6b7d4", "url": "https://github.com/Schlaefer/phileMarkdownEditor/blob/af395c5ee7d17103bab7339516a4a5565db6b7d4/Classes/Request.php#L44-L53", "partition": "test"} +{"repo": "pickles2/px-fw-2.x", "path": "px-files/_sys/php/commands/publish.php", "func_name": "publish.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Before content function\n@param object $px Pickles\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\n@param object $json \u30d7\u30e9\u30b0\u30a4\u30f3\u8a2d\u5b9a\n```\n{\n\"paths_ignore\": [\n// \u30d1\u30d6\u30ea\u30c3\u30b7\u30e5\u5bfe\u8c61\u304b\u3089\u5e38\u306b\u9664\u5916\u3059\u308b\u30d1\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u3002\n// (\u3053\u3053\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u30d1\u30b9\u306f\u3001\u52d5\u7684\u306a\u30d7\u30ec\u30d3\u30e5\u30fc\u306f\u53ef\u80fd)\n\"/sample_pages/no_publish/*\"\n]\n}\n```", "docstring_tokens": ["Before", "content", "function"], "sha": "e055d2709276ea02b48d9cda16c6e51402ad70fc", "url": "https://github.com/pickles2/px-fw-2.x/blob/e055d2709276ea02b48d9cda16c6e51402ad70fc/px-files/_sys/php/commands/publish.php#L68-L82", "partition": "test"} +{"repo": "pickles2/px-fw-2.x", "path": "px-files/_sys/php/commands/publish.php", "func_name": "publish.cli_header", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "print CLI header", "docstring_tokens": ["print", "CLI", "header"], "sha": "e055d2709276ea02b48d9cda16c6e51402ad70fc", "url": "https://github.com/pickles2/px-fw-2.x/blob/e055d2709276ea02b48d9cda16c6e51402ad70fc/px-files/_sys/php/commands/publish.php#L159-L174", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/TokenParser/ExampleTokenParser.php", "func_name": "ExampleTokenParser.parseRawBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse raw template body.\n\n@param int $startLine\n\n@return string", "docstring_tokens": ["Parse", "raw", "template", "body", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/TokenParser/ExampleTokenParser.php#L45-L68", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/TokenParser/ExampleTokenParser.php", "func_name": "ExampleTokenParser.removeExtraIndentation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove extra indentation from a string.\n\n@param string $string\n\n@return string", "docstring_tokens": ["Remove", "extra", "indentation", "from", "a", "string", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/TokenParser/ExampleTokenParser.php#L77-L107", "partition": "test"} +{"repo": "ManoManoTech/correlation-ids-httplug", "path": "src/CorrelationIdHTTPlug.php", "func_name": "CorrelationIdHTTPlug.handleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle the request and return the response coming from the next callable.\n\n@see http://docs.php-http.org/en/latest/plugins/build-your-own.html\n\n@param callable $next Next middleware in the chain, the request is passed as the first argument\n@param callable $first First middleware in the chain, used to to restart a request\n\n@return Promise resolves a PSR-7 Response or fails with an Http\\Client\\Exception (The same as HttpAsyncClient)", "docstring_tokens": ["Handle", "the", "request", "and", "return", "the", "response", "coming", "from", "the", "next", "callable", "."], "sha": "06c7f53eb1fc1cded156364deece92ed1e3701b0", "url": "https://github.com/ManoManoTech/correlation-ids-httplug/blob/06c7f53eb1fc1cded156364deece92ed1e3701b0/src/CorrelationIdHTTPlug.php#L39-L51", "partition": "test"} +{"repo": "mingalevme/phputils-url", "path": "src/Url.php", "func_name": "Url.parseQueryStringFromUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse URL and return query string as assoc array\n\n@param string $url\n@return array", "docstring_tokens": ["Parse", "URL", "and", "return", "query", "string", "as", "assoc", "array"], "sha": "553ca45914b8e62b671dc1f014ce20e8b877154c", "url": "https://github.com/mingalevme/phputils-url/blob/553ca45914b8e62b671dc1f014ce20e8b877154c/src/Url.php#L153-L158", "partition": "test"} +{"repo": "pickles2/px-fw-2.x", "path": "px-files/themes/pickles2/php/theme.php", "func_name": "theme.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "bind content to theme\n@param object $px $px object\n@return string HTML Source code", "docstring_tokens": ["bind", "content", "to", "theme"], "sha": "e055d2709276ea02b48d9cda16c6e51402ad70fc", "url": "https://github.com/pickles2/px-fw-2.x/blob/e055d2709276ea02b48d9cda16c6e51402ad70fc/px-files/themes/pickles2/php/theme.php#L61-L67", "partition": "test"} +{"repo": "fracture/routing", "path": "src/Fracture/Routing/Route.php", "func_name": "Route.getMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Method attempts to apply the generated regexp to the URI\nand, if successful, returns a list of parsed parameters.\n\n@param string $uri\n\n@return array|false", "docstring_tokens": ["Method", "attempts", "to", "apply", "the", "generated", "regexp", "to", "the", "URI", "and", "if", "successful", "returns", "a", "list", "of", "parsed", "parameters", "."], "sha": "c6cb29a166bbce98f39de76477b50cc78b3dc35e", "url": "https://github.com/fracture/routing/blob/c6cb29a166bbce98f39de76477b50cc78b3dc35e/src/Fracture/Routing/Route.php#L31-L43", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Markup/Justification.php", "func_name": "Justification.getJustificationConstant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to take a value and turn it into a justification constant\n\n@param string | int $value - if a string, it can be \"left\", \"RIGHT\", etc..., if an int, just needs to be a constant\n@return int - the constant it represents or LEFT if it is garbage", "docstring_tokens": ["Function", "to", "take", "a", "value", "and", "turn", "it", "into", "a", "justification", "constant"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Markup/Justification.php#L57-L102", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/Crawler.php", "func_name": "Crawler.listLocalFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the local pdf files stored in Docs Home\n@return array Array containing the pdf files entries. Each entry is an associative array\nof type ('path'=>docs home folder, 'fileName'=>nameOfFile.pdf)", "docstring_tokens": ["List", "the", "local", "pdf", "files", "stored", "in", "Docs", "Home"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/Crawler.php#L77-L86", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/Crawler.php", "func_name": "Crawler.extractDocumentsLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the main page html to extract the links to pdf documents\n@param $html html content of the main page\n@return array Array containing all the pdf documents links", "docstring_tokens": ["Parses", "the", "main", "page", "html", "to", "extract", "the", "links", "to", "pdf", "documents"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/Crawler.php#L114-L128", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/Crawler.php", "func_name": "Crawler.excludeLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Evaluates if a link to a pdf document is not a valid domains document pdf and should be excluded\n@param $href Link to the pdf document\n@return bool Evaluation result", "docstring_tokens": ["Evaluates", "if", "a", "link", "to", "a", "pdf", "document", "is", "not", "a", "valid", "domains", "document", "pdf", "and", "should", "be", "excluded"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/Crawler.php#L135-L146", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/Crawler.php", "func_name": "Crawler.saveFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates a hash for the file and stores the content in docs home folder\n@param $filename\n@param $content\n@param $hash", "docstring_tokens": ["Calculates", "a", "hash", "for", "the", "file", "and", "stores", "the", "content", "in", "docs", "home", "folder"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/Crawler.php#L186-L189", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/Crawler.php", "func_name": "Crawler.existePdf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a file exists in docs home folder\n@param $filename\n@param $hash\n@return bool", "docstring_tokens": ["Checks", "if", "a", "file", "exists", "in", "docs", "home", "folder"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/Crawler.php#L197-L200", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Lists/OrderedList.php", "func_name": "OrderedList.getNextOrderedNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This returns the correct number for a list item depending on the current nesting level\n@return string", "docstring_tokens": ["This", "returns", "the", "correct", "number", "for", "a", "list", "item", "depending", "on", "the", "current", "nesting", "level"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Lists/OrderedList.php#L19-L52", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Lists/OrderedList.php", "func_name": "OrderedList.end", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "End the current ordered or unordered list", "docstring_tokens": ["End", "the", "current", "ordered", "or", "unordered", "list"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Lists/OrderedList.php#L73-L87", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Layout/Paragraph.php", "func_name": "Paragraph.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display one paragraph, which will be word-wrapped according\nto the left margin and width specified in the HTML object.\n\nAdditionally, any markup will trigger styles. If the markup\nisn't closed, it will continue across multiple paragraphs.\n@param $text\n@return $this", "docstring_tokens": ["Display", "one", "paragraph", "which", "will", "be", "word", "-", "wrapped", "according", "to", "the", "left", "margin", "and", "width", "specified", "in", "the", "HTML", "object", "."], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Layout/Paragraph.php#L106-L166", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Layout/Paragraph.php", "func_name": "Paragraph.nl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new line with the styling of the paragraph\n@param int $count", "docstring_tokens": ["Create", "a", "new", "line", "with", "the", "styling", "of", "the", "paragraph"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Layout/Paragraph.php#L172-L184", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Prediction/Linear/LinearRegression.php", "func_name": "LinearRegression.fit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trains the dataSet following the Linear Regression Algorithm\n@param DataSet $dataSet\n@param float $learningRate\n@return AlgorithmsInterface\n@throws WrongUsageException", "docstring_tokens": ["Trains", "the", "dataSet", "following", "the", "Linear", "Regression", "Algorithm"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Prediction/Linear/LinearRegression.php#L33-L60", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Prediction/Linear/LinearRegression.php", "func_name": "LinearRegression.predict", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a linear prediction of input based on coefficients\n@param DataSet $dataSet\n@throws WrongUsageException", "docstring_tokens": ["Makes", "a", "linear", "prediction", "of", "input", "based", "on", "coefficients"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Prediction/Linear/LinearRegression.php#L83-L106", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Log/PDOHandler.php", "func_name": "PDOHandler.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes this handler by creating the table if it not exists", "docstring_tokens": ["Initializes", "this", "handler", "by", "creating", "the", "table", "if", "it", "not", "exists"], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Log/PDOHandler.php#L66-L110", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Log/PDOHandler.php", "func_name": "PDOHandler.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes the record down to the log of the implementing handler\n\n@param $record[]\n@return void", "docstring_tokens": ["Writes", "the", "record", "down", "to", "the", "log", "of", "the", "implementing", "handler"], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Log/PDOHandler.php#L117-L136", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Lists/BulletedList.php", "func_name": "BulletedList.drawListItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to draw one list item\n\n@param string $bullet - the bullet plus any white space to the right\n@param string $text", "docstring_tokens": ["Helper", "function", "to", "draw", "one", "list", "item"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Lists/BulletedList.php#L79-L102", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Lists/BulletedList.php", "func_name": "BulletedList.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start an ordered list\n@param $text String | null - text to show on the very first line, will not work for anything nested\n@return $this", "docstring_tokens": ["Start", "an", "ordered", "list"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Lists/BulletedList.php#L113-L129", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Providers/CacheProvider.php", "func_name": "CacheProvider.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "CacheProvider constructor.\n@param array $config\n@param $use\n@throws \\Exception", "docstring_tokens": ["CacheProvider", "constructor", "."], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Providers/CacheProvider.php#L38-L43", "partition": "test"} +{"repo": "4devs/Photatoes", "path": "src/ImageSize.php", "func_name": "ImageSize.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get name allowed return\n\n@param string $name\n@return string|null", "docstring_tokens": ["get", "name", "allowed", "return"], "sha": "328d647d1d8501262b66ab4b2271e9032917b77c", "url": "https://github.com/4devs/Photatoes/blob/328d647d1d8501262b66ab4b2271e9032917b77c/src/ImageSize.php#L84-L89", "partition": "test"} +{"repo": "dionsnoeijen/sexy-field-form", "path": "src/SectionField/Form/Form.php", "func_name": "Form.buildFormForSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method generates a form based on the section config.\nThe for handle contains the section handle, or the FQCN of the section entity.\nBy pasing along SectionFormOptions this method can determine of the form\nis meanth to update or create new data.\n\n@param string $forHandle\n@param RequestStack $requestStack\n@param SectionFormOptions|null $sectionFormOptions\n@param bool $csrfProtection\n@return FormInterface", "docstring_tokens": ["This", "method", "generates", "a", "form", "based", "on", "the", "section", "config", ".", "The", "for", "handle", "contains", "the", "section", "handle", "or", "the", "FQCN", "of", "the", "section", "entity", ".", "By", "pasing", "along", "SectionFormOptions", "this", "method", "can", "determine", "of", "the", "form", "is", "meanth", "to", "update", "or", "create", "new", "data", "."], "sha": "61c7b911951fd286474625bed35a21ebbd6b0ca4", "url": "https://github.com/dionsnoeijen/sexy-field-form/blob/61c7b911951fd286474625bed35a21ebbd6b0ca4/src/SectionField/Form/Form.php#L76-L154", "partition": "test"} +{"repo": "dionsnoeijen/sexy-field-form", "path": "src/SectionField/Form/Form.php", "func_name": "Form.getFormFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If you use SexyField with symfony you might want to inject the formFactory from the framework\nIf you use it stand-alone this will build a form factory right here.\n@return FormFactory", "docstring_tokens": ["If", "you", "use", "SexyField", "with", "symfony", "you", "might", "want", "to", "inject", "the", "formFactory", "from", "the", "framework", "If", "you", "use", "it", "stand", "-", "alone", "this", "will", "build", "a", "form", "factory", "right", "here", "."], "sha": "61c7b911951fd286474625bed35a21ebbd6b0ca4", "url": "https://github.com/dionsnoeijen/sexy-field-form/blob/61c7b911951fd286474625bed35a21ebbd6b0ca4/src/SectionField/Form/Form.php#L175-L195", "partition": "test"} +{"repo": "mbezhanov/silex-alice-data-fixtures", "path": "src/FixturesLoader.php", "func_name": "FixturesLoader.loadFromIterator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load fixtures from YML files contained in iterator.\n\n@param \\Iterator $iterator Iterator over files from which fixtures should be loaded.", "docstring_tokens": ["Load", "fixtures", "from", "YML", "files", "contained", "in", "iterator", "."], "sha": "ae4280bb7c27d117484c5781e096bbfa44402b63", "url": "https://github.com/mbezhanov/silex-alice-data-fixtures/blob/ae4280bb7c27d117484c5781e096bbfa44402b63/src/FixturesLoader.php#L59-L67", "partition": "test"} +{"repo": "arnegroskurth/Url", "path": "src/Url.php", "func_name": "Url.resolveRelativeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build absolute url of given path in given context\n\n@param string $url\n\n@return Url", "docstring_tokens": ["Build", "absolute", "url", "of", "given", "path", "in", "given", "context"], "sha": "c663aae575635bf7a022f35c6e1c475fad9416bc", "url": "https://github.com/arnegroskurth/Url/blob/c663aae575635bf7a022f35c6e1c475fad9416bc/src/Url.php#L473-L513", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Respond to the install command.\n\n@param InstalledRepositoryInterface $repo\n@param PackageInterface $package", "docstring_tokens": ["Respond", "to", "the", "install", "command", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L47-L60", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.composerPluginInstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Move files out of the vendor directory and into the project directory that are in the plugin's install directory.\n@param $strPackageName", "docstring_tokens": ["Move", "files", "out", "of", "the", "vendor", "directory", "and", "into", "the", "project", "directory", "that", "are", "in", "the", "plugin", "s", "install", "directory", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L66-L77", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.composerFrameworkInstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "First time installation of framework. For first-time installation, we create the project directory and modify\nthe configuration file.\n\n@param $strPackageName", "docstring_tokens": ["First", "time", "installation", "of", "framework", ".", "For", "first", "-", "time", "installation", "we", "create", "the", "project", "directory", "and", "modify", "the", "configuration", "file", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L89-L125", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Respond to an update command.\n\n@param InstalledRepositoryInterface $repo\n@param PackageInterface $initial\n@param PackageInterface $target", "docstring_tokens": ["Respond", "to", "an", "update", "command", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L135-L147", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.composerFrameworkUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a package. In particular, new install files will be moved to the correct location.\n\n@param $package", "docstring_tokens": ["Update", "a", "package", ".", "In", "particular", "new", "install", "files", "will", "be", "moved", "to", "the", "correct", "location", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L166-L176", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.uninstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uninstalls a plugin if requested.\n\n@param InstalledRepositoryInterface $repo\n@param PackageInterface $package", "docstring_tokens": ["Uninstalls", "a", "plugin", "if", "requested", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L184-L191", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.composerPluginUninstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the given plugin.\n\n@param PackageInterface $package", "docstring_tokens": ["Delete", "the", "given", "plugin", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L199-L208", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.remove_matching_dir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the files in the destination directory whose names match the files in the source directory.\n\n@param string $src\tSource directory\n@param string $dst\tDestination directory", "docstring_tokens": ["Remove", "the", "files", "in", "the", "destination", "directory", "whose", "names", "match", "the", "files", "in", "the", "source", "directory", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L247-L264", "partition": "test"} +{"repo": "qcubed/composer", "path": "Installer.php", "func_name": "Installer.remove_dir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a directory and all of its contents.\n\n@param string $dst Directory to delete", "docstring_tokens": ["Delete", "a", "directory", "and", "all", "of", "its", "contents", "."], "sha": "0c6dfd90d3051d1b885702ab91f91fe4b5d7826f", "url": "https://github.com/qcubed/composer/blob/0c6dfd90d3051d1b885702ab91f91fe4b5d7826f/Installer.php#L271-L287", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Column.php", "func_name": "Column.setColors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the colors of a column\n\n@param null | int | string | ColorInterface $textColor - any valid setting for the Color constructor\n@param null | int | string | ColorInterface $fillColor\n@return $this", "docstring_tokens": ["Set", "the", "colors", "of", "a", "column"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Column.php#L311-L342", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Column.php", "func_name": "Column.getTextArea", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the text area by taking the width and subtracting any padding\n@return int", "docstring_tokens": ["Calculate", "the", "text", "area", "by", "taking", "the", "width", "and", "subtracting", "any", "padding"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Column.php#L369-L389", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Column.php", "func_name": "Column.calculateWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the data through and make the width as wide as the widest text\n\n@param array $data\n@param Definition $markupDefinition", "docstring_tokens": ["Run", "the", "data", "through", "and", "make", "the", "width", "as", "wide", "as", "the", "widest", "text"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Column.php#L403-L466", "partition": "test"} +{"repo": "kharanenka/laravel-scope-date", "path": "src/Kharanenka/Scope/DateField.php", "func_name": "DateField.scopeGetByDateValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get by date\n@param \\Illuminate\\Database\\Eloquent\\Builder|\\October\\Rain\\Database\\Builder $obQuery\n@param string $sDate\n@param string $sField\n@param string $sCondition\n@return \\Illuminate\\Database\\Eloquent\\Builder|\\October\\Rain\\Database\\Builder;", "docstring_tokens": ["Get", "by", "date"], "sha": "63f2a458ee7daa40323a5c17af870b5db0765ce1", "url": "https://github.com/kharanenka/laravel-scope-date/blob/63f2a458ee7daa40323a5c17af870b5db0765ce1/src/Kharanenka/Scope/DateField.php#L22-L30", "partition": "test"} +{"repo": "kharanenka/laravel-scope-date", "path": "src/Kharanenka/Scope/DateField.php", "func_name": "DateField.getDateValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get date value\n@param string $sFieldName\n@param string $sFormat\n@return null|string", "docstring_tokens": ["Get", "date", "value"], "sha": "63f2a458ee7daa40323a5c17af870b5db0765ce1", "url": "https://github.com/kharanenka/laravel-scope-date/blob/63f2a458ee7daa40323a5c17af870b5db0765ce1/src/Kharanenka/Scope/DateField.php#L38-L51", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Models/PolyfillTrait.php", "func_name": "PolyfillTrait.castAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cast an attribute to a native PHP type.\n\n@param string $key\n@param mixed $value\n@return mixed", "docstring_tokens": ["Cast", "an", "attribute", "to", "a", "native", "PHP", "type", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Models/PolyfillTrait.php#L59-L69", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Models/PolyfillTrait.php", "func_name": "PolyfillTrait.attributesToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the model's attributes to an array.\n\n@return array", "docstring_tokens": ["Convert", "the", "model", "s", "attributes", "to", "an", "array", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Models/PolyfillTrait.php#L76-L89", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Tools/TreeCollection.php", "func_name": "TreeCollection.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the item at a given offset.\n\n@param mixed $key\n@param mixed $value\n@return void", "docstring_tokens": ["Set", "the", "item", "at", "a", "given", "offset", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Tools/TreeCollection.php#L66-L75", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Menu/ContainerProvider.php", "func_name": "ContainerProvider.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a menu by its name.\n\n@param string $name\n@param array $options\n\n@return ItemInterface\n\n@throws \\InvalidArgumentException if the menu does not exists", "docstring_tokens": ["Retrieves", "a", "menu", "by", "its", "name", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Menu/ContainerProvider.php#L70-L89", "partition": "test"} +{"repo": "keltanas/yandex-metrika-bundle", "path": "src/keltanas/Bundle/YandexMetrikaBundle/EventListener/AddTrackingListener.php", "func_name": "AddTrackingListener.onKernelResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store value to cookie\n@param FilterResponseEvent $event", "docstring_tokens": ["Store", "value", "to", "cookie"], "sha": "cad5caf88fccb7b4a8aa185c3c0f24b96485873f", "url": "https://github.com/keltanas/yandex-metrika-bundle/blob/cad5caf88fccb7b4a8aa185c3c0f24b96485873f/src/keltanas/Bundle/YandexMetrikaBundle/EventListener/AddTrackingListener.php#L36-L64", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoader.php", "func_name": "YamlDefinitionLoader.getDefinitions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the definition to register in the container.\n\n@return DefinitionInterface[]", "docstring_tokens": ["Returns", "the", "definition", "to", "register", "in", "the", "container", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoader.php#L35-L64", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoader.php", "func_name": "YamlDefinitionLoader.parseImports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses all imports.\n\n@param array $content\n@param $content\n\n@return DefinitionInterface[]", "docstring_tokens": ["Parses", "all", "imports", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoader.php#L74-L108", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoader.php", "func_name": "YamlDefinitionLoader.parseDefinitions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses definitions.\n\n@param array $content\n\n@return DefinitionInterface[]", "docstring_tokens": ["Parses", "definitions", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoader.php#L117-L134", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoader.php", "func_name": "YamlDefinitionLoader.loadFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads a YAML file.\n\n@param string $file\n\n@return array The file content\n\n@throws InvalidArgumentException when the given file is not a local file or when it does not exist", "docstring_tokens": ["Loads", "a", "YAML", "file", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoader.php#L293-L312", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoader.php", "func_name": "YamlDefinitionLoader.resolveServices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves services.\n\n@param string|array $value\n\n@return array|string|Reference", "docstring_tokens": ["Resolves", "services", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoader.php#L356-L379", "partition": "test"} +{"repo": "jetfirephp/framework", "path": "src/Providers/AutoloadProvider.php", "func_name": "AutoloadProvider.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "AutoloadProvider constructor.\n@param Autoload $loader\n@param array $loads", "docstring_tokens": ["AutoloadProvider", "constructor", "."], "sha": "47aaa1370fce0aa8108e960ab3fff189e8dba597", "url": "https://github.com/jetfirephp/framework/blob/47aaa1370fce0aa8108e960ab3fff189e8dba597/src/Providers/AutoloadProvider.php#L24-L33", "partition": "test"} +{"repo": "jaeger-app/encrypt", "path": "src/Encrypt.php", "func_name": "Encrypt.getApi", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an instance of the Crypto library\n\n@return Crypt_AES", "docstring_tokens": ["Returns", "an", "instance", "of", "the", "Crypto", "library"], "sha": "a80d9e5961f6b177f5beb09937bea06e1585d98c", "url": "https://github.com/jaeger-app/encrypt/blob/a80d9e5961f6b177f5beb09937bea06e1585d98c/src/Encrypt.php#L93-L101", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Utils.php", "func_name": "Utils.humanize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Humanize the size bu add a Prefix\n\n@param integer $bytes\n@param integer $base\n\n@return string Readable size", "docstring_tokens": ["Humanize", "the", "size", "bu", "add", "a", "Prefix"], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Utils.php#L41-L49", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Lists/UnorderedList.php", "func_name": "UnorderedList.setBullet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the bullet string for lists\n\n@param $str\n@return $this", "docstring_tokens": ["Set", "the", "bullet", "string", "for", "lists"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Lists/UnorderedList.php#L33-L49", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.setColumnDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the column definition for one column\n\n@param int $columnIndex\n@param Column $column", "docstring_tokens": ["Set", "the", "column", "definition", "for", "one", "column"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L84-L93", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.calcTotalWidth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Simply add up all the column widths\n@return int", "docstring_tokens": ["Simply", "add", "up", "all", "the", "column", "widths"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L101-L116", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.hasHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Whether there is at least one header defined in the column definitions\n@return bool", "docstring_tokens": ["Whether", "there", "is", "at", "least", "one", "header", "defined", "in", "the", "column", "definitions"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L122-L137", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.getHeaderText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of the header text found in the header definitions\n@return string[]", "docstring_tokens": ["Return", "an", "array", "of", "the", "header", "text", "found", "in", "the", "header", "definitions"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L143-L168", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.dataCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to ensure the data is correct\n\n@param array $data\n@return bool", "docstring_tokens": ["Helper", "function", "to", "ensure", "the", "data", "is", "correct"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L241-L285", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.calculateWidths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate the width of any automatically calculated widths\n@param $data", "docstring_tokens": ["Calculate", "the", "width", "of", "any", "automatically", "calculated", "widths"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L292-L311", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/Table.php", "func_name": "Table.draw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw the grid of data\n@param $data", "docstring_tokens": ["Draw", "the", "grid", "of", "data"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/Table.php#L318-L352", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/File/FileDriver.php", "func_name": "FileDriver.createSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new session.\n@param SessionManager $sessionManager\n@param null $userProfile\n@throws AsmException\n@return string The newly created session ID.", "docstring_tokens": ["Create", "a", "new", "session", "."], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/File/FileDriver.php#L129-L160", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/File/FileDriver.php", "func_name": "FileDriver.createNewSessionFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new file safely.\n\n@return array\n@throws AsmException", "docstring_tokens": ["Create", "a", "new", "file", "safely", "."], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/File/FileDriver.php#L168-L187", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/File/FileDriver.php", "func_name": "FileDriver.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the data for the sessionID atomically.\n\n@param $sessionId\n@param $data\n@param $existingProfiles\n@param FileInfo $fileInfo\n@return resource\n@throws AsmException\n@throws FailedToAcquireLockException", "docstring_tokens": ["Saves", "the", "data", "for", "the", "sessionID", "atomically", "."], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/File/FileDriver.php#L224-L267", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/File/FileDriver.php", "func_name": "FileDriver.acquireLock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Acquire a lock for the session\n@param $fileHandle\n@param $filename\n@param $lockTimeMS\n@param $acquireTimeoutMS\n@return bool\n@throws FailedToAcquireLockException", "docstring_tokens": ["Acquire", "a", "lock", "for", "the", "session"], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/File/FileDriver.php#L415-L465", "partition": "test"} +{"repo": "dionsnoeijen/sexy-field-form", "path": "src/Twig/SectionFormTwigExtension.php", "func_name": "SectionFormTwigExtension.sectionForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method returns a form to be rendered with Twig.\nIt will return a view, validate and save the form data.\n\n@param string $forHandle\n@param array $sectionFormOptions\n@return FormView", "docstring_tokens": ["This", "method", "returns", "a", "form", "to", "be", "rendered", "with", "Twig", ".", "It", "will", "return", "a", "view", "validate", "and", "save", "the", "form", "data", "."], "sha": "61c7b911951fd286474625bed35a21ebbd6b0ca4", "url": "https://github.com/dionsnoeijen/sexy-field-form/blob/61c7b911951fd286474625bed35a21ebbd6b0ca4/src/Twig/SectionFormTwigExtension.php#L69-L99", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionProperty.php", "func_name": "ReflectionProperty.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs a new ReflectionProperty object from property and class name.\nIf object already exists in cache it will taken from there instead of creating\nnew object\n\n@param string|object $class\n@param string $property\n@return ReflectionProperty", "docstring_tokens": ["Constructs", "a", "new", "ReflectionProperty", "object", "from", "property", "and", "class", "name", ".", "If", "object", "already", "exists", "in", "cache", "it", "will", "taken", "from", "there", "instead", "of", "creating", "new", "object"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionProperty.php#L43-L69", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/CommandProvider.php", "func_name": "CommandProvider.getFacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the facts generated from the command.\nIf as_json is true, the command must produce valid json.", "docstring_tokens": ["Return", "the", "facts", "generated", "from", "the", "command", ".", "If", "as_json", "is", "true", "the", "command", "must", "produce", "valid", "json", "."], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/CommandProvider.php#L37-L54", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/CommandProvider.php", "func_name": "CommandProvider.parseFacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse flat results in the form\nfact1=value1\nfact2=value2", "docstring_tokens": ["Parse", "flat", "results", "in", "the", "form", "fact1", "=", "value1", "fact2", "=", "value2"], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/CommandProvider.php#L76-L88", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.findById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return first object by its tableIdColumn and use\nits data to populate this instance.\n\n@param integer $id to find or use $this->{$this->tableIdColumn}\nas default.\n\n@return this", "docstring_tokens": ["Find", "and", "return", "first", "object", "by", "its", "tableIdColumn", "and", "use", "its", "data", "to", "populate", "this", "instance", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L110-L114", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.findWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return first object found by search criteria and use\nits data to populate this instance.\n\nThe search criteria `$where` of can be set up like this:\n`id = ?`\n`id1 = ? and id2 = ?`\n\nThe `$value` can be a single value or an array of values.\n\n@param string $where to use in where statement.\n@param mixed $value to use in where statement.\n\n@return this", "docstring_tokens": ["Find", "and", "return", "first", "object", "found", "by", "search", "criteria", "and", "use", "its", "data", "to", "populate", "this", "instance", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L133-L143", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return all.\n\n@return array of object of this class", "docstring_tokens": ["Find", "and", "return", "all", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L152-L160", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.findAllWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find and return all matching the search criteria.\n\nThe search criteria `$where` of can be set up like this:\n`id = ?`\n`id IN [?, ?]`\n\nThe `$value` can be a single value or an array of values.\n\n@param string $where to use in where statement.\n@param mixed $value to use in where statement.\n\n@return array of object of this class", "docstring_tokens": ["Find", "and", "return", "all", "matching", "the", "search", "criteria", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L178-L188", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new row.\n\n@return void", "docstring_tokens": ["Create", "new", "row", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L235-L248", "partition": "test"} +{"repo": "canax/database-active-record", "path": "src/DatabaseActiveRecord/ActiveRecordModel.php", "func_name": "ActiveRecordModel.updateWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update row using a custom where-statement.\n\nThe criteria `$where` of can be set up like this:\n`id = ?`\n`id1 = ? AND id2 = ?`\n`id IN (?, ?)`\n\nThe `$value` can be a single value or an array of values.\n\n@param string $where to use in where statement.\n@param mixed $value to use in where statement.\n\n@return void", "docstring_tokens": ["Update", "row", "using", "a", "custom", "where", "-", "statement", "."], "sha": "e4636dd3b4792c5e37c04190bcc466867da00ece", "url": "https://github.com/canax/database-active-record/blob/e4636dd3b4792c5e37c04190bcc466867da00ece/src/DatabaseActiveRecord/ActiveRecordModel.php#L289-L304", "partition": "test"} +{"repo": "fracture/routing", "path": "src/Fracture/Routing/Pattern.php", "func_name": "Pattern.parseNotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns route notation in a regular expression", "docstring_tokens": ["Turns", "route", "notation", "in", "a", "regular", "expression"], "sha": "c6cb29a166bbce98f39de76477b50cc78b3dc35e", "url": "https://github.com/fracture/routing/blob/c6cb29a166bbce98f39de76477b50cc78b3dc35e/src/Fracture/Routing/Pattern.php#L77-L85", "partition": "test"} +{"repo": "fracture/routing", "path": "src/Fracture/Routing/Pattern.php", "func_name": "Pattern.applyConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts custom patterns in the existing regular expression", "docstring_tokens": ["Inserts", "custom", "patterns", "in", "the", "existing", "regular", "expression"], "sha": "c6cb29a166bbce98f39de76477b50cc78b3dc35e", "url": "https://github.com/fracture/routing/blob/c6cb29a166bbce98f39de76477b50cc78b3dc35e/src/Fracture/Routing/Pattern.php#L91-L101", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Formulas/Mean.php", "func_name": "Mean.calculate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "calculate the mean of the dataSet\n@return FormulasInterface\n@throws WrongUsageException", "docstring_tokens": ["calculate", "the", "mean", "of", "the", "dataSet"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Formulas/Mean.php#L15-L36", "partition": "test"} +{"repo": "ManoManoTech/correlation-ids-httplug", "path": "src/HttpClientFactory.php", "func_name": "HttpClientFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the HTTP client to talk to the API.", "docstring_tokens": ["Build", "the", "HTTP", "client", "to", "talk", "to", "the", "API", "."], "sha": "06c7f53eb1fc1cded156364deece92ed1e3701b0", "url": "https://github.com/ManoManoTech/correlation-ids-httplug/blob/06c7f53eb1fc1cded156364deece92ed1e3701b0/src/HttpClientFactory.php#L32-L35", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Http/Response/BinaryFileResponse.php", "func_name": "BinaryFileResponse.setFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the file to stream.\n\n@param \\SplFileInfo|string $file The file to stream\n@param string $contentDisposition\n@param bool $autoEtag\n@param bool $autoLastModified\n\n@return BinaryFileResponse\n\n@throws FileException", "docstring_tokens": ["Sets", "the", "file", "to", "stream", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Http/Response/BinaryFileResponse.php#L34-L68", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/Loader/RemoteLoader.php", "func_name": "RemoteLoader.addTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a remote template.\n\n@param string $name\n@param string $url\n@param int $ttl\n@param array $blocks\n@param array $metadata", "docstring_tokens": ["Add", "a", "remote", "template", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/Loader/RemoteLoader.php#L32-L42", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/Loader/RemoteLoader.php", "func_name": "RemoteLoader.checkCacheFileTtl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check cache file TTL.\n\n@param string $name", "docstring_tokens": ["Check", "cache", "file", "TTL", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/Loader/RemoteLoader.php#L113-L124", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/Loader/RemoteLoader.php", "func_name": "RemoteLoader.placeholdersToBlocks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert placeholders to blocks in the source.\n\n@param array $blocks\n@param string $source\n\n@return string", "docstring_tokens": ["Convert", "placeholders", "to", "blocks", "in", "the", "source", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/Loader/RemoteLoader.php#L148-L176", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Twig/Loader/RemoteLoader.php", "func_name": "RemoteLoader.getMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get template metadata array.\n\n@param string $name template name\n\n@return string", "docstring_tokens": ["Get", "template", "metadata", "array", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Twig/Loader/RemoteLoader.php#L209-L216", "partition": "test"} +{"repo": "thecodingmachine/yaml-definition-loader", "path": "src/YamlDefinitionLoaderFactory.php", "func_name": "YamlDefinitionLoaderFactory.buildDefinitionProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a definition provider.\n\n@param Discovery $discovery\n\n@return DefinitionProviderInterface", "docstring_tokens": ["Creates", "a", "definition", "provider", "."], "sha": "9b05f3206dba554fdea5dbd362c54d331af67b2c", "url": "https://github.com/thecodingmachine/yaml-definition-loader/blob/9b05f3206dba554fdea5dbd362c54d331af67b2c/src/YamlDefinitionLoaderFactory.php#L25-L39", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Formulas/FormulasResults.php", "func_name": "FormulasResults.of", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a specific result by key\n@param string $formulaName\n@return mixed\n@throws CalculusResultNotFound", "docstring_tokens": ["Returns", "a", "specific", "result", "by", "key"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Formulas/FormulasResults.php#L36-L43", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Formulas/FormulasResults.php", "func_name": "FormulasResults.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the results of a given formula to keep in the history\n@param FormulasInterface $formula\n@return FormulasResults", "docstring_tokens": ["Save", "the", "results", "of", "a", "given", "formula", "to", "keep", "in", "the", "history"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Formulas/FormulasResults.php#L50-L60", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Menu/Helper.php", "func_name": "Helper.addHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a menu header.\n\n@param ItemInterface $item\n@param $text\n\n@return ItemInterface", "docstring_tokens": ["Adds", "a", "menu", "header", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Menu/Helper.php#L52-L57", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Menu/Helper.php", "func_name": "Helper.setDropdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a drop down menu item from item.\n\n@param ItemInterface $dropDownItem", "docstring_tokens": ["Creates", "a", "drop", "down", "menu", "item", "from", "item", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Menu/Helper.php#L64-L75", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Menu/Helper.php", "func_name": "Helper.isUserGranted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the attributes are granted against the current authentication token and optionally supplied object.\n\n@param mixed $attributes\n@param mixed $subject\n\n@return bool", "docstring_tokens": ["Checks", "if", "the", "attributes", "are", "granted", "against", "the", "current", "authentication", "token", "and", "optionally", "supplied", "object", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Menu/Helper.php#L170-L173", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Http/ResponseFactory.php", "func_name": "ResponseFactory.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new file download response.\n\n@param \\SplFileInfo|string $file\n@param string $name\n@param array $headers\n@param string|null $disposition\n@return \\Symfony\\Component\\HttpFoundation\\BinaryFileResponse", "docstring_tokens": ["Create", "a", "new", "file", "download", "response", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Http/ResponseFactory.php#L34-L51", "partition": "test"} +{"repo": "4devs/Photatoes", "path": "src/Adapter/YandexAdapter.php", "func_name": "YandexAdapter.getUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Api Url\n\n@param string $type album|photo|albumPhotos|albums or base path\n@param string $key\n\n@return string", "docstring_tokens": ["get", "Api", "Url"], "sha": "328d647d1d8501262b66ab4b2271e9032917b77c", "url": "https://github.com/4devs/Photatoes/blob/328d647d1d8501262b66ab4b2271e9032917b77c/src/Adapter/YandexAdapter.php#L246-L272", "partition": "test"} +{"repo": "4devs/Photatoes", "path": "src/Adapter/YandexAdapter.php", "func_name": "YandexAdapter.setListCover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set Cover List\n\n@param array $listCover\n@param Gallery $album", "docstring_tokens": ["set", "Cover", "List"], "sha": "328d647d1d8501262b66ab4b2271e9032917b77c", "url": "https://github.com/4devs/Photatoes/blob/328d647d1d8501262b66ab4b2271e9032917b77c/src/Adapter/YandexAdapter.php#L280-L285", "partition": "test"} +{"repo": "4devs/Photatoes", "path": "src/Adapter/YandexAdapter.php", "func_name": "YandexAdapter.getDataByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Data By Type\n\n@param string $key\n@param string $type\n\n@return array", "docstring_tokens": ["get", "Data", "By", "Type"], "sha": "328d647d1d8501262b66ab4b2271e9032917b77c", "url": "https://github.com/4devs/Photatoes/blob/328d647d1d8501262b66ab4b2271e9032917b77c/src/Adapter/YandexAdapter.php#L295-L300", "partition": "test"} +{"repo": "4devs/Photatoes", "path": "src/Adapter/YandexAdapter.php", "func_name": "YandexAdapter.getData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get Data By Url\n\n@param string $url\n\n@return array", "docstring_tokens": ["get", "Data", "By", "Url"], "sha": "328d647d1d8501262b66ab4b2271e9032917b77c", "url": "https://github.com/4devs/Photatoes/blob/328d647d1d8501262b66ab4b2271e9032917b77c/src/Adapter/YandexAdapter.php#L309-L325", "partition": "test"} +{"repo": "foothing/laravel-repository-controller", "path": "src/Controllers/RouteInstaller.php", "func_name": "RouteInstaller.install", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Install route patterns.\n\n@param null $baseUri", "docstring_tokens": ["Install", "route", "patterns", "."], "sha": "4a078330f475880b58e5385a19bdab26b0685de8", "url": "https://github.com/foothing/laravel-repository-controller/blob/4a078330f475880b58e5385a19bdab26b0685de8/src/Controllers/RouteInstaller.php#L10-L20", "partition": "test"} +{"repo": "pangodream/Dominia", "path": "src/Dominia/DocParser.php", "func_name": "DocParser.isValidDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a date string is valid\n@param $date\n@return bool", "docstring_tokens": ["Checks", "if", "a", "date", "string", "is", "valid"], "sha": "3983d5e540b7e30fb98810ced1c18273022375be", "url": "https://github.com/pangodream/Dominia/blob/3983d5e540b7e30fb98810ced1c18273022375be/src/Dominia/DocParser.php#L64-L70", "partition": "test"} +{"repo": "pickles2/px-fw-2.x", "path": "px-files/_sys/php/pxcmd.php", "func_name": "pxcmd.wrap_gui_frame", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "wrap GUI frame\n\n@param string $content \u30b3\u30f3\u30c6\u30f3\u30c4\u9818\u57df\u306eHTML\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\n@return string HTML\u5168\u4f53\u306eHTML\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9", "docstring_tokens": ["wrap", "GUI", "frame"], "sha": "e055d2709276ea02b48d9cda16c6e51402ad70fc", "url": "https://github.com/pickles2/px-fw-2.x/blob/e055d2709276ea02b48d9cda16c6e51402ad70fc/px-files/_sys/php/pxcmd.php#L121-L208", "partition": "test"} +{"repo": "fly-studio/laravel-addons-core", "path": "src/Console/Kernel.php", "func_name": "Kernel.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run an Artisan console command by name.\n\n@param string $command\n@param array $parameters\n@return int", "docstring_tokens": ["Run", "an", "Artisan", "console", "command", "by", "name", "."], "sha": "2ce72b209fa544a27b107d72f88c4ea6fbd6fc29", "url": "https://github.com/fly-studio/laravel-addons-core/blob/2ce72b209fa544a27b107d72f88c4ea6fbd6fc29/src/Console/Kernel.php#L15-L24", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionMethod.php", "func_name": "ReflectionMethod.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs a new ReflectionMethod object from method and class name.\nIf object already exists in cache it will taken from there instead of creating\nnew object\n\n@param string|object $class\n@param string $property\n@return ReflectionMethod", "docstring_tokens": ["Constructs", "a", "new", "ReflectionMethod", "object", "from", "method", "and", "class", "name", ".", "If", "object", "already", "exists", "in", "cache", "it", "will", "taken", "from", "there", "instead", "of", "creating", "new", "object"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionMethod.php#L43-L69", "partition": "test"} +{"repo": "Danack/AdvancedSessionManagement", "path": "lib/ASM/Redis/RedisDriver.php", "func_name": "RedisDriver.createSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new session\n@return RedisSession\n@param SessionManager $sessionManager\n@param null $userProfile\n@throws AsmException", "docstring_tokens": ["Create", "a", "new", "session"], "sha": "c4e8c1b34f83044cd26972f9642090d097fb5c1c", "url": "https://github.com/Danack/AdvancedSessionManagement/blob/c4e8c1b34f83044cd26972f9642090d097fb5c1c/lib/ASM/Redis/RedisDriver.php#L230-L277", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Agent.php", "func_name": "Agent.sendEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send an entity.\nTry put first if 404 create it with POST.\n\n@param string $entity_name Entity name in CamelCase\n@param array $data Entity data to send.\n@param string $key_id Key of data to use as an id for the request.", "docstring_tokens": ["Send", "an", "entity", ".", "Try", "put", "first", "if", "404", "create", "it", "with", "POST", "."], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Agent.php#L161-L182", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/ProviderFacter.php", "func_name": "ProviderFacter.registerProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the files in the providers dir to create new objects.", "docstring_tokens": ["List", "the", "files", "in", "the", "providers", "dir", "to", "create", "new", "objects", "."], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/ProviderFacter.php#L61-L72", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/ProviderFacter.php", "func_name": "ProviderFacter.registerProviderFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiate a provider from a file", "docstring_tokens": ["Instantiate", "a", "provider", "from", "a", "file"], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/ProviderFacter.php#L86-L90", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/ProviderFacter.php", "func_name": "ProviderFacter.getFacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch the facts from the providers", "docstring_tokens": ["Fetch", "the", "facts", "from", "the", "providers"], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/ProviderFacter.php#L103-L110", "partition": "test"} +{"repo": "inetprocess/libinventoryclient", "path": "src/Facter/ProviderFacter.php", "func_name": "ProviderFacter.populateFacts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill from facts from providers for caching.", "docstring_tokens": ["Fill", "from", "facts", "from", "providers", "for", "caching", "."], "sha": "73664b695c386eac152b13e78beb0beed1d8c708", "url": "https://github.com/inetprocess/libinventoryclient/blob/73664b695c386eac152b13e78beb0beed1d8c708/src/Facter/ProviderFacter.php#L115-L121", "partition": "test"} +{"repo": "DDDominio/event-sourcing", "path": "src/EventSourcing/Common/EventSourcedAggregateRoot.php", "func_name": "EventSourcedAggregateRoot.record", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record a Domain Event\n\n@param mixed $domainEvent", "docstring_tokens": ["Record", "a", "Domain", "Event"], "sha": "4cdbfd590858d0d7a8fbc706ed3271f56c0a81b6", "url": "https://github.com/DDDominio/event-sourcing/blob/4cdbfd590858d0d7a8fbc706ed3271f56c0a81b6/src/EventSourcing/Common/EventSourcedAggregateRoot.php#L33-L37", "partition": "test"} +{"repo": "DDDominio/event-sourcing", "path": "src/EventSourcing/Common/EventSourcedAggregateRoot.php", "func_name": "EventSourcedAggregateRoot.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply a Domain Event to the aggregate\n\n@param mixed $domainEvent", "docstring_tokens": ["Apply", "a", "Domain", "Event", "to", "the", "aggregate"], "sha": "4cdbfd590858d0d7a8fbc706ed3271f56c0a81b6", "url": "https://github.com/DDDominio/event-sourcing/blob/4cdbfd590858d0d7a8fbc706ed3271f56c0a81b6/src/EventSourcing/Common/EventSourcedAggregateRoot.php#L51-L60", "partition": "test"} +{"repo": "pickles2/px-fw-2.x", "path": "px-files/_sys/php/px.php", "func_name": "px.fnc_call_plugin_funcs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "call plugin functions\n\n@param mixed $func_list List of plugins function\n@return bool \u6210\u529f\u6642 `true`\u3001\u5931\u6557\u6642 `false`", "docstring_tokens": ["call", "plugin", "functions"], "sha": "e055d2709276ea02b48d9cda16c6e51402ad70fc", "url": "https://github.com/pickles2/px-fw-2.x/blob/e055d2709276ea02b48d9cda16c6e51402ad70fc/px-files/_sys/php/px.php#L368-L421", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Widgets/Tables/BarTable.php", "func_name": "BarTable.draw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Draw the table of data\n@param $data", "docstring_tokens": ["Draw", "the", "table", "of", "data"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Widgets/Tables/BarTable.php#L129-L201", "partition": "test"} +{"repo": "Zeeml/Algorithms", "path": "src/Calculator.php", "func_name": "Calculator.calculate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts a new calculus using the formula sent.\nIt resets the calculus by emptying the history of calls\n\n@param FormulasInterface $formula\n@return Calculator", "docstring_tokens": ["Starts", "a", "new", "calculus", "using", "the", "formula", "sent", ".", "It", "resets", "the", "calculus", "by", "emptying", "the", "history", "of", "calls"], "sha": "8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88", "url": "https://github.com/Zeeml/Algorithms/blob/8b000dac8d2ecbf8b1d8eb5819dfa1c54d50fc88/src/Calculator.php#L57-L67", "partition": "test"} +{"repo": "imatic/view-bundle", "path": "Templating/Helper/Layout/LayoutHelper.php", "func_name": "LayoutHelper.hasLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "See if the layout should be enabled.\n\n@return bool", "docstring_tokens": ["See", "if", "the", "layout", "should", "be", "enabled", "."], "sha": "dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254", "url": "https://github.com/imatic/view-bundle/blob/dd7896fbd9b07bfb3f7a75c7dc0d7dccf2cbf254/Templating/Helper/Layout/LayoutHelper.php#L30-L47", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize a style to the state of a terminal\n\n@param TerminalStateInterface $state\n@return $this", "docstring_tokens": ["Initialize", "a", "style", "to", "the", "state", "of", "a", "terminal"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L90-L132", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.overrideMembersTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Override a style, if anything is set to null, then don't change the value of the recipient object\n\n@param StyleInterface $style\n@return $this", "docstring_tokens": ["Override", "a", "style", "if", "anything", "is", "set", "to", "null", "then", "don", "t", "change", "the", "value", "of", "the", "recipient", "object"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L205-L255", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.clearStyling", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear out all formatting\n\n@return $this", "docstring_tokens": ["Clear", "out", "all", "formatting"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L263-L273", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.setTextColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the text color\n\n@param Color | string | int | array $color\n- Color - a Color object\n- String - a W3C color index name \"darkblue\"\n- integer - a number between 0-255 for the XTerm escape code\n- array - RGB values in the format [R,G,B]\n@return $this", "docstring_tokens": ["Set", "the", "text", "color"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L415-L440", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.setFillColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the fill color\n\n@param Color | string | int | array $color\n- Color - a Color object\n- string - a W3C color index name \"darkblue\"\n- integer - a number between 0-255 for the XTerm escape code\n- array - RGB values in the format [R,G,B]\n@return $this", "docstring_tokens": ["Set", "the", "fill", "color"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L515-L539", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.setColors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set both text and fill colors\n\n@param Color | string | int | array $textColor\n@param Color | string | int | array $fillColor\n- String - a W3C color index name \"darkblue\"\n- integer - a number between 0-255 for the XTerm escape code\n- array - RGB values in the format [R,G,B]\n@return $this", "docstring_tokens": ["Set", "both", "text", "and", "fill", "colors"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L612-L623", "partition": "test"} +{"repo": "1HappyPlace/clio", "path": "src/Clio/Styling/Style.php", "func_name": "Style.reverseColors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Switch the text and fill colors\n\n@return $this", "docstring_tokens": ["Switch", "the", "text", "and", "fill", "colors"], "sha": "6d6fcdd73a24bdf295c1c0def423cef734fc8860", "url": "https://github.com/1HappyPlace/clio/blob/6d6fcdd73a24bdf295c1c0def423cef734fc8860/src/Clio/Styling/Style.php#L631-L639", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionFunction.php", "func_name": "ReflectionFunction.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs a new ReflectionFunction object from function name and store it in cache.\nIf object already exists in cache it will taken from there instead of creating\nnew object\n\n@param string $class\n@return ReflectionFunction", "docstring_tokens": ["Constructs", "a", "new", "ReflectionFunction", "object", "from", "function", "name", "and", "store", "it", "in", "cache", ".", "If", "object", "already", "exists", "in", "cache", "it", "will", "taken", "from", "there", "instead", "of", "creating", "new", "object"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionFunction.php#L41-L47", "partition": "test"} +{"repo": "autobahn-cloud/bedrock-autoloader", "path": "bedrock-autoloader.php", "func_name": "Autoloader.loadPlugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run some checks then autoload our plugins.", "docstring_tokens": ["Run", "some", "checks", "then", "autoload", "our", "plugins", "."], "sha": "d46170f298d822fadcaf1b8652e35c4d1624526b", "url": "https://github.com/autobahn-cloud/bedrock-autoloader/blob/d46170f298d822fadcaf1b8652e35c4d1624526b/bedrock-autoloader.php#L69-L80", "partition": "test"} +{"repo": "autobahn-cloud/bedrock-autoloader", "path": "bedrock-autoloader.php", "func_name": "Autoloader.showInAdmin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter show_advanced_plugins to display the autoloaded plugins.\n@param $bool bool Whether to show the advanced plugins for the specified plugin type.\n@param $type string The plugin type, i.e., `mustuse` or `dropins`\n@return bool We return `false` to prevent WordPress from overriding our work\n{@internal We add the plugin details ourselves, so we return false to disable the filter.}", "docstring_tokens": ["Filter", "show_advanced_plugins", "to", "display", "the", "autoloaded", "plugins", "."], "sha": "d46170f298d822fadcaf1b8652e35c4d1624526b", "url": "https://github.com/autobahn-cloud/bedrock-autoloader/blob/d46170f298d822fadcaf1b8652e35c4d1624526b/bedrock-autoloader.php#L89-L107", "partition": "test"} +{"repo": "autobahn-cloud/bedrock-autoloader", "path": "bedrock-autoloader.php", "func_name": "Autoloader.checkCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This sets the cache or calls for an update", "docstring_tokens": ["This", "sets", "the", "cache", "or", "calls", "for", "an", "update"], "sha": "d46170f298d822fadcaf1b8652e35c4d1624526b", "url": "https://github.com/autobahn-cloud/bedrock-autoloader/blob/d46170f298d822fadcaf1b8652e35c4d1624526b/bedrock-autoloader.php#L112-L122", "partition": "test"} +{"repo": "autobahn-cloud/bedrock-autoloader", "path": "bedrock-autoloader.php", "func_name": "Autoloader.updateCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the plugins and mu-plugins from the mu-plugin path and remove duplicates.\nCheck cache against current plugins for newly activated plugins.\nAfter that, we can update the cache.", "docstring_tokens": ["Get", "the", "plugins", "and", "mu", "-", "plugins", "from", "the", "mu", "-", "plugin", "path", "and", "remove", "duplicates", ".", "Check", "cache", "against", "current", "plugins", "for", "newly", "activated", "plugins", ".", "After", "that", "we", "can", "update", "the", "cache", "."], "sha": "d46170f298d822fadcaf1b8652e35c4d1624526b", "url": "https://github.com/autobahn-cloud/bedrock-autoloader/blob/d46170f298d822fadcaf1b8652e35c4d1624526b/bedrock-autoloader.php#L129-L141", "partition": "test"} +{"repo": "autobahn-cloud/bedrock-autoloader", "path": "bedrock-autoloader.php", "func_name": "Autoloader.pluginHooks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This accounts for the plugin hooks that would run if the plugins were\nloaded as usual. Plugins are removed by deletion, so there's no way\nto deactivate or uninstall.", "docstring_tokens": ["This", "accounts", "for", "the", "plugin", "hooks", "that", "would", "run", "if", "the", "plugins", "were", "loaded", "as", "usual", ".", "Plugins", "are", "removed", "by", "deletion", "so", "there", "s", "no", "way", "to", "deactivate", "or", "uninstall", "."], "sha": "d46170f298d822fadcaf1b8652e35c4d1624526b", "url": "https://github.com/autobahn-cloud/bedrock-autoloader/blob/d46170f298d822fadcaf1b8652e35c4d1624526b/bedrock-autoloader.php#L148-L159", "partition": "test"} +{"repo": "karlomikus/multilog", "path": "src/Multilog/Multilog.php", "func_name": "Multilog.channel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get monolog instance for a specific channel\n\n@param string $name Channel name\n@return \\Monolog\\Logger|null", "docstring_tokens": ["Get", "monolog", "instance", "for", "a", "specific", "channel"], "sha": "1313906112f514143fbf11caa9f9267a5ecb74a9", "url": "https://github.com/karlomikus/multilog/blob/1313906112f514143fbf11caa9f9267a5ecb74a9/src/Multilog/Multilog.php#L41-L48", "partition": "test"} +{"repo": "karlomikus/multilog", "path": "src/Multilog/Multilog.php", "func_name": "Multilog.initLoggers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read config array and initialize\nall loggers\n\n@param array $loggers\n@return void", "docstring_tokens": ["Read", "config", "array", "and", "initialize", "all", "loggers"], "sha": "1313906112f514143fbf11caa9f9267a5ecb74a9", "url": "https://github.com/karlomikus/multilog/blob/1313906112f514143fbf11caa9f9267a5ecb74a9/src/Multilog/Multilog.php#L68-L73", "partition": "test"} +{"repo": "karlomikus/multilog", "path": "src/Multilog/Multilog.php", "func_name": "Multilog.createLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new logger instance with given\nconfiguration and store it in array\nwith channel name\n\n@param string $channel Channel name\n@param array $config Channel configuration\n@return void", "docstring_tokens": ["Create", "new", "logger", "instance", "with", "given", "configuration", "and", "store", "it", "in", "array", "with", "channel", "name"], "sha": "1313906112f514143fbf11caa9f9267a5ecb74a9", "url": "https://github.com/karlomikus/multilog/blob/1313906112f514143fbf11caa9f9267a5ecb74a9/src/Multilog/Multilog.php#L84-L108", "partition": "test"} +{"repo": "CampaignChain/location-ezplatform", "path": "Controller/REST/LocationController.php", "func_name": "LocationController.getObjectsAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of eZ Platform content object Locations.\n\nExample Request\n===============\n\nGET /api/{version}/p/campaignchain/location-ezplatform/objects\n\nExample Response\n================\n{\n\"response\": [\n{\n\"id\": 108,\n\"identifier\": \"62\",\n\"name\": \"eZ Publish Tutorials\",\n\"status\": \"unpublished\",\n\"createdDate\": \"2015-12-01T09:37:39+0000\",\n\"operationId\": \"92\",\n\"channelId\": \"8\"\n}\n]\n}\n\n@ApiDoc(\nsection=\"Packages: eZ Platform\"\n)", "docstring_tokens": ["Get", "a", "list", "of", "eZ", "Platform", "content", "object", "Locations", "."], "sha": "3f225f856e3589b437922f5573ca569b892f8985", "url": "https://github.com/CampaignChain/location-ezplatform/blob/3f225f856e3589b437922f5573ca569b892f8985/Controller/REST/LocationController.php#L67-L81", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs a new ReflectionClass object from class name and store it in cache.\nIf object already exists in cache it will taken from there instead of creating\nnew object\n\n@param string|object $class\n@return ReflectionClass", "docstring_tokens": ["Constructs", "a", "new", "ReflectionClass", "object", "from", "class", "name", "and", "store", "it", "in", "cache", ".", "If", "object", "already", "exists", "in", "cache", "it", "will", "taken", "from", "there", "instead", "of", "creating", "new", "object"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionClass.php#L41-L49", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getInterfaces", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get interfaces ReflectionObjects implemented by class\n\n@return array", "docstring_tokens": ["Get", "interfaces", "ReflectionObjects", "implemented", "by", "class"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionClass.php#L56-L63", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getParentClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parent ReflectionClass object\n\n@return ReflectionClass|false", "docstring_tokens": ["Get", "parent", "ReflectionClass", "object"], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionClass.php#L70-L77", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class ReflectionMethods objects array list.\n\n@return array", "docstring_tokens": ["Get", "class", "ReflectionMethods", "objects", "array", "list", "."], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionClass.php#L104-L114", "partition": "test"} +{"repo": "fsi-open/reflection", "path": "lib/FSi/Component/Reflection/ReflectionClass.php", "func_name": "ReflectionClass.getProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class ReflectionProperty objects array list.\n\n@return array", "docstring_tokens": ["Get", "class", "ReflectionProperty", "objects", "array", "list", "."], "sha": "8adeddd83add02942d40824ac99b554fa669e8e3", "url": "https://github.com/fsi-open/reflection/blob/8adeddd83add02942d40824ac99b554fa669e8e3/lib/FSi/Component/Reflection/ReflectionClass.php#L132-L142", "partition": "test"} +{"repo": "wplibs/http", "path": "src/Request.php", "func_name": "Request.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "What type of request is this?\n\n@param string $type admin, ajax, cron or frontend.\n@return bool", "docstring_tokens": ["What", "type", "of", "request", "is", "this?"], "sha": "fb001eb3b2071adff21cd47d1cf5c4ee2aa3c18f", "url": "https://github.com/wplibs/http/blob/fb001eb3b2071adff21cd47d1cf5c4ee2aa3c18f/src/Request.php#L135-L146", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/StyleAggregate.php", "func_name": "StyleAggregate.addStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a style sheet.", "docstring_tokens": ["Adds", "a", "style", "sheet", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/StyleAggregate.php#L21-L28", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/StyleAggregate.php", "func_name": "StyleAggregate.getAggregateStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an aggregated style sheet.", "docstring_tokens": ["Gets", "an", "aggregated", "style", "sheet", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/StyleAggregate.php#L33-L40", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/StyleAggregate.php", "func_name": "StyleAggregate.rewritePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rewrites the paths of referenced resources.", "docstring_tokens": ["Rewrites", "the", "paths", "of", "referenced", "resources", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/StyleAggregate.php#L45-L56", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/StyleAggregate.php", "func_name": "StyleAggregate.wrapMediaRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wraps resource content in media rules where appropriate.", "docstring_tokens": ["Wraps", "resource", "content", "in", "media", "rules", "where", "appropriate", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/StyleAggregate.php#L61-L70", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/StyleAggregate.php", "func_name": "StyleAggregate.moveImportsToStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves import rules to the start of the style sheet.", "docstring_tokens": ["Moves", "import", "rules", "to", "the", "start", "of", "the", "style", "sheet", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/StyleAggregate.php#L87-L97", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInFiles.php", "func_name": "SessionArchiveInFiles.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data from archive\n@param string $id Session id\n@param bool $remove Flag to remove data\n@return ExtendedPromiseInterface with data array", "docstring_tokens": ["Get", "data", "from", "archive"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInFiles.php#L36-L74", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInFiles.php", "func_name": "SessionArchiveInFiles.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove from archive\n@param string $id Session id\n@return ExtendedPromiseInterface which resolved when process complete", "docstring_tokens": ["Remove", "from", "archive"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInFiles.php#L128-L136", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInFiles.php", "func_name": "SessionArchiveInFiles.getArchivePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get archive path\n@return ExtendedPromiseInterface with string", "docstring_tokens": ["Get", "archive", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInFiles.php#L184-L208", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInFiles.php", "func_name": "SessionArchiveInFiles.getArchiveFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get session archive file path\n@param string $id Session id\n@param bool $existCheck\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "session", "archive", "file", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInFiles.php#L216-L235", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ArrayHelper.php", "func_name": "ArrayHelper.cleanupMergedValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleanup merged array values from instances of IgnoreArrayValue, ReplaceArrayValue, UnsetArrayValue\n@param array $array\n@return array\n@internal", "docstring_tokens": ["Cleanup", "merged", "array", "values", "from", "instances", "of", "IgnoreArrayValue", "ReplaceArrayValue", "UnsetArrayValue"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ArrayHelper.php#L178-L193", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ArrayHelper.php", "func_name": "ArrayHelper.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters array according to rules specified.\n\nFor example:\n\n```php\n$array = [\n'A' => [1, 2],\n'B' => [\n'C' => 1,\n'D' => 2,\n],\n'E' => 1,\n];\n\n$result = \\Reaction\\Helpers\\ArrayHelper::filter($array, ['A']);\n// $result will be:\n// [\n// 'A' => [1, 2],\n// ]\n\n$result = \\Reaction\\Helpers\\ArrayHelper::filter($array, ['A', 'B.C']);\n// $result will be:\n// [\n// 'A' => [1, 2],\n// 'B' => ['C' => 1],\n// ]\n\n$result = \\Reaction\\Helpers\\ArrayHelper::filter($array, ['B', '!B.C']);\n// $result will be:\n// [\n// 'B' => ['D' => 2],\n// ]\n```\n\n@param array $array Source array\n@param array $filters Rules that define array keys which should be left or removed from results.\nEach rule is:\n- `var` - `$array['var']` will be left in result.\n- `var.key` = only `$array['var']['key'] will be left in result.\n- `!var.key` = `$array['var']['key'] will be removed from result.\n@return array Filtered array", "docstring_tokens": ["Filters", "array", "according", "to", "rules", "specified", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ArrayHelper.php#L968-L985", "partition": "test"} +{"repo": "thinframe/foundation", "path": "spec/ThinFrame/Foundation/Helper/SystemSpec.php", "func_name": "SystemSpec.it_should_return_terminal_screen_size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It should return an array with terminal screen sizes", "docstring_tokens": ["It", "should", "return", "an", "array", "with", "terminal", "screen", "sizes"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/spec/ThinFrame/Foundation/Helper/SystemSpec.php#L24-L30", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.style", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a style tag.\n@param string $content the style content\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated style tag\n@see Html::style()", "docstring_tokens": ["Generates", "a", "style", "tag", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L125-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.script", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a script tag.\n@param string $content the script content\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated script tag\n@see Html::script()", "docstring_tokens": ["Generates", "a", "script", "tag", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L141-L144", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.mailto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a mailto hyperlink.\n@param string $text link body. It will NOT be HTML-encoded. Therefore you can pass in HTML code\nsuch as an image tag. If this is coming from end users, you should consider [[encode()]]\nit to prevent XSS attacks.\n@param string $email email address. If this is null, the first parameter (link body) will be treated\nas the email address and used.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated mailto link\n@see Html::mailto()", "docstring_tokens": ["Generates", "a", "mailto", "hyperlink", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L292-L297", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.staticControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders Bootstrap static form control.\n\nBy default value will be HTML-encoded using [[encode()]], you may control this behavior\nvia 'encode' option.\n@param string $value static control value.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. There are also a special options:\n\n- encode: boolean, whether value should be HTML-encoded or not.\n\n@return string generated HTML\n@see http://getbootstrap.com/css/#forms-controls-static\n@see Html::staticControl()", "docstring_tokens": ["Renders", "Bootstrap", "static", "form", "control", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L1368-L1372", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.activeStaticControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a Bootstrap static form control for the given model attribute.\n@param \\Reaction\\Base\\Model $model the model object.\n@param string $attribute the attribute name or expression. See [[getAttributeName()]] for the format\nabout attribute expression.\n@param array $options the tag options in terms of name-value pairs. See [[staticControl()]] for details.\n@return string generated HTML\n@see staticControl()\n@see Html::activeStaticControl()", "docstring_tokens": ["Generates", "a", "Bootstrap", "static", "form", "control", "for", "the", "given", "model", "attribute", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L1384-L1390", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/HtmlHelper.php", "func_name": "HtmlHelper.addCssStyle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the specified CSS style to the HTML options.\n\nIf the options already contain a `style` element, the new style will be merged\nwith the existing one. If a CSS property exists in both the new and the old styles,\nthe old one may be overwritten if `$overwrite` is true.\n\nFor example,\n\n```php\nHtml::addCssStyle($options, 'width: 100px; height: 200px');\n```\n\n@param array $options the HTML options to be modified.\n@param string|array $style the new style string (e.g. `'width: 100px; height: 200px'`) or\narray (e.g. `['width' => '100px', 'height' => '200px']`).\n@param bool $overwrite whether to overwrite existing CSS properties if the new style\ncontain them too.\n@see removeCssStyle()\n@see cssStyleFromArray()\n@see cssStyleToArray()\n@see Html::addCssStyle()", "docstring_tokens": ["Adds", "the", "specified", "CSS", "style", "to", "the", "HTML", "options", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/HtmlHelper.php#L1506-L1509", "partition": "test"} +{"repo": "mvalim/package-utils", "path": "src/Publisher.php", "func_name": "Publisher.makeDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create destination path if it does not exist\n\n@return $this", "docstring_tokens": ["Create", "destination", "path", "if", "it", "does", "not", "exist"], "sha": "d065feeee2730bbefc91172003c322a937f5ce88", "url": "https://github.com/mvalim/package-utils/blob/d065feeee2730bbefc91172003c322a937f5ce88/src/Publisher.php#L83-L93", "partition": "test"} +{"repo": "mvalim/package-utils", "path": "src/Publisher.php", "func_name": "Publisher.filesToPublish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define what files needs to be published\n\n@param string $path\n@return self", "docstring_tokens": ["Define", "what", "files", "needs", "to", "be", "published"], "sha": "d065feeee2730bbefc91172003c322a937f5ce88", "url": "https://github.com/mvalim/package-utils/blob/d065feeee2730bbefc91172003c322a937f5ce88/src/Publisher.php#L101-L117", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the application component.\n@throws InvalidConfigException", "docstring_tokens": ["Initializes", "the", "application", "component", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L166-L179", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.login", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs in a user.\n\nAfter logging in a user:\n- the user's identity information is obtainable from the [[identity]] property\n\nIf [[enableSession]] is `true`:\n- the identity information will be stored in session and be available in the next requests\n- in case of `$duration == 0`: as long as the session remains active or till the user closes the browser\n- in case of `$duration > 0`: as long as the session remains active or as long as the cookie\nremains valid by it's `$duration` in seconds when [[enableAutoLogin]] is set `true`.\n\nIf [[enableSession]] is `false`:\n- the `$duration` parameter will be ignored\n\n@param IdentityInterface $identity the user identity (which should already be authenticated)\n@param int $duration number of seconds that the user can remain in logged-in status, defaults to `0`\n@return ExtendedPromiseInterface with bool whether the user is logged in", "docstring_tokens": ["Logs", "in", "a", "user", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L291-L314", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.regenerateCsrfToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Regenerates CSRF token", "docstring_tokens": ["Regenerates", "CSRF", "token"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L319-L325", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.loginByCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs in a user by cookie.\n\nThis method attempts to log in a user using the ID and authKey information\nprovided by the [[identityCookie|identity cookie]].\n@return ExtendedPromiseInterface", "docstring_tokens": ["Logs", "in", "a", "user", "by", "cookie", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L358-L378", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.getReturnUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the URL that the browser should be redirected to after successful login.\n\nThis method reads the return URL from the session. It is usually used by the login action which\nmay call this method to redirect the browser to where it goes after successful authentication.\n\n@param string|array $defaultUrl the default return URL in case it was not set previously.\nIf this is null and the return URL was not set previously, [[Application::homeUrl]] will be redirected to.\nPlease refer to [[setReturnUrl()]] on accepted format of the URL.\n@return string the URL that the user should be redirected to after login.\n@see loginRequired()", "docstring_tokens": ["Returns", "the", "URL", "that", "the", "browser", "should", "be", "redirected", "to", "after", "successful", "login", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L450-L462", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.loginRequired", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the user browser to the login page.\n\nBefore the redirection, the current URL (if it's not an AJAX url) will be kept as [[returnUrl]] so that\nthe user browser may be redirected back to the current page after successful login.\n\nMake sure you set [[loginUrl]] so that the user browser can be redirected to the specified login URL after\ncalling this method.\n\nNote that when [[loginUrl]] is set, calling this method will NOT terminate the application execution.\n\n@param bool $checkAjax whether to check if the request is an AJAX request. When this is true and the request\nis an AJAX request, the current URL (for AJAX request) will NOT be set as the return URL.\n@param bool $checkAcceptHeader whether to check if the request accepts HTML responses. Defaults to `true`. When this is true and\nthe request does not accept HTML responses the current URL will not be SET as the return URL. Also instead of\nredirecting the user an ForbiddenHttpException is thrown. This parameter is available since version 2.0.8.\n@return ResponseBuilderInterface the redirection response if [[loginUrl]] is set\n@throws ForbiddenException the \"Access Denied\" HTTP exception if [[loginUrl]] is not set or a redirect is\nnot applicable.", "docstring_tokens": ["Redirects", "the", "user", "browser", "to", "the", "login", "page", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L500-L518", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.renewIdentityCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renews the identity cookie.\nThis method will set the expiration time of the identity cookie to be the current time\nplus the originally specified cookie duration.", "docstring_tokens": ["Renews", "the", "identity", "cookie", ".", "This", "method", "will", "set", "the", "expiration", "time", "of", "the", "identity", "cookie", "to", "be", "the", "current", "time", "plus", "the", "originally", "specified", "cookie", "duration", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L583-L598", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.renewAuthStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the authentication status using the information from session and cookie.\n\nThis method will try to determine the user identity using the [[idParam]] session variable.\n\nIf [[authTimeout]] is set, this method will refresh the timer.\n\nIf the user identity cannot be determined by session, this method will try to [[loginByCookie()|login by cookie]]\nif [[enableAutoLogin]] is true.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Updates", "the", "authentication", "status", "using", "the", "information", "from", "session", "and", "cookie", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L731-L771", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/User.php", "func_name": "User.can", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the user can perform the operation as specified by the given permission.\n\nNote that you must configure \"authManager\" application component in order to use this method.\nOtherwise it will always return false.\n\n@param string $permissionName the name of the permission (e.g. \"edit post\") that needs access check.\n@param array $params name-value pairs that would be passed to the rules associated\nwith the roles and permissions assigned to the user.\n@param bool $allowCaching whether to allow caching the result of access check.\nWhen this parameter is true (default), if the access check of an operation was performed\nbefore, its result will be directly returned when calling this method to check the same\noperation. If this parameter is false, this method will always call\n[[\\Reaction\\Rbac\\CheckAccessInterface::checkAccess()]] to obtain the up-to-date access result. Note that this\ncaching is effective only within the same request and only works when `$params = []`.\n@return ExtendedPromiseInterface with bool whether the user can perform the operation as specified by the given permission.", "docstring_tokens": ["Checks", "if", "the", "user", "can", "perform", "the", "operation", "as", "specified", "by", "the", "given", "permission", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/User.php#L790-L818", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Day.php", "func_name": "Day.getDaysOfWeek", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the days of week.\n\n@return integer[]", "docstring_tokens": ["Get", "the", "days", "of", "week", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Day.php#L17-L28", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Request/File.php", "func_name": "File.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save file to directory\n\n@param string $dir\n@param string $filename\n\n@return bool", "docstring_tokens": ["Save", "file", "to", "directory"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Request/File.php#L60-L69", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes this query using the bound parameters and their types.\n\nUses {@see Connection::executeQuery} for select statements and {@see Connection::executeUpdate}\nfor insert, update and delete statements.\n\n@return \\Doctrine\\DBAL\\Driver\\Statement|int", "docstring_tokens": ["Executes", "this", "query", "using", "the", "bound", "parameters", "and", "their", "types", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L203-L210", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns the query being built into a bulk delete query that ranges over\na certain table.\n\n\n$qb = $conn->createQueryBuilder()\n->delete('users', 'u')\n->where('u.id = :user_id');\n->setParameter(':user_id', 1);\n\n\n@param string $delete The table whose rows are subject to the deletion.\n@param string $alias The table alias used in the constructed query.\n\n@return \\Doctrine\\DBAL\\Query\\QueryBuilder This QueryBuilder instance.", "docstring_tokens": ["Turns", "the", "query", "being", "built", "into", "a", "bulk", "delete", "query", "that", "ranges", "over", "a", "certain", "table", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L522-L534", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns the query being built into an insert query that inserts into\na certain table\n\n\n$qb = $conn->createQueryBuilder()\n->insert('users')\n->values(\narray(\n'name' => '?',\n'password' => '?'\n)\n);\n\n\n@param string $insert The table into which the rows should be inserted.\n\n@return QueryBuilder This QueryBuilder instance.", "docstring_tokens": ["Turns", "the", "query", "being", "built", "into", "an", "insert", "query", "that", "inserts", "into", "a", "certain", "table"], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L585-L596", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.innerJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and adds a join to the query.\n\n\n$qb = $conn->createQueryBuilder()\n->select('u.name')\n->from('users', 'u')\n->innerJoin('u', 'phonenumbers', 'p', 'p.is_primary = 1');\n\n\n@param string $fromAlias The alias that points to a from clause.\n@param string $join The table name to join.\n@param string $alias The alias of the join table.\n@param string $condition The condition for the join.\n\n@return \\Doctrine\\DBAL\\Query\\QueryBuilder This QueryBuilder instance.", "docstring_tokens": ["Creates", "and", "adds", "a", "join", "to", "the", "query", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L660-L670", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies one or more restrictions to the query result.\nReplaces any previously specified restrictions, if any.\n\n\n$qb = $conn->createQueryBuilder()\n->select('u.name')\n->from('users', 'u')\n->where('u.id = ?');\n\n// You can optionally programatically build and/or expressions\n$qb = $conn->createQueryBuilder();\n\n$or = $qb->expr()->orx();\n$or->add($qb->expr()->eq('u.id', 1));\n$or->add($qb->expr()->eq('u.id', 2));\n\n$qb->update('users', 'u')\n->set('u.password', md5('password'))\n->where($or);\n\n\n@param mixed $predicates The restriction predicates.\n\n@return \\Doctrine\\DBAL\\Query\\QueryBuilder This QueryBuilder instance.", "docstring_tokens": ["Specifies", "one", "or", "more", "restrictions", "to", "the", "query", "result", ".", "Replaces", "any", "previously", "specified", "restrictions", "if", "any", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L776-L783", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.having", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies a restriction over the groups of the query.\nReplaces any previous having restrictions, if any.\n\n@param mixed $having The restriction over the groups.\n\n@return \\Doctrine\\DBAL\\Query\\QueryBuilder This QueryBuilder instance.", "docstring_tokens": ["Specifies", "a", "restriction", "over", "the", "groups", "of", "the", "query", ".", "Replaces", "any", "previous", "having", "restrictions", "if", "any", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L962-L969", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.getSQLForDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts this instance into a DELETE string in SQL.\n\n@return string", "docstring_tokens": ["Converts", "this", "instance", "into", "a", "DELETE", "string", "in", "SQL", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L1211-L1217", "partition": "test"} +{"repo": "findsomething/framework", "path": "src/Dao/QueryBuilder.php", "func_name": "QueryBuilder.createPositionalParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new positional parameter and bind the given value to it.\n\nAttention: If you are using positional parameters with the query builder you have\nto be very careful to bind all parameters in the order they appear in the SQL\nstatement , otherwise they get bound in the wrong order which can lead to serious\nbugs in your code.\n\nExample:\n\n$qb = $conn->createQueryBuilder();\n$qb->select('u.*')\n->from('users', 'u')\n->where('u.username = ' . $qb->createPositionalParameter('Foo', PDO::PARAM_STR))\n->orWhere('u.username = ' . $qb->createPositionalParameter('Bar', PDO::PARAM_STR))\n\n\n@param mixed $value\n@param integer $type\n\n@return string", "docstring_tokens": ["Creates", "a", "new", "positional", "parameter", "and", "bind", "the", "given", "value", "to", "it", "."], "sha": "6c3f24dff912d75e304eb28c4e74b64bde7f358a", "url": "https://github.com/findsomething/framework/blob/6c3f24dff912d75e304eb28c4e74b64bde7f358a/src/Dao/QueryBuilder.php#L1292-L1298", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/Providers/LoggerServiceProvider.php", "func_name": "LoggerServiceProvider.bindLoggerInterface", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind the logger interface.\n\n@param Application $app The application\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Bind", "the", "logger", "interface", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/Providers/LoggerServiceProvider.php#L74-L90", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/Providers/LoggerServiceProvider.php", "func_name": "LoggerServiceProvider.bindLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind the logger.\n\n@param Application $app The application\n\n@return void", "docstring_tokens": ["Bind", "the", "logger", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/Providers/LoggerServiceProvider.php#L99-L107", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.setStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set status code\n@param int $code\n@return ResponseBuilderInterface", "docstring_tokens": ["Set", "status", "code"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L107-L111", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.getFormattedBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Response body with formatting\n@return array|null|StreamInterface|string\n@throws InvalidConfigException", "docstring_tokens": ["Get", "Response", "body", "with", "formatting"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L163-L194", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirects the browser to the specified URL.\n\nThis method adds a \"Location\" header to the current response. Note that it does not send out\nthe header until [[send()]] is called. In a controller action you may use this method as follows:\n\n```php\nreturn $app->response->redirect($url);\n```\n\nIn AJAX mode, this normally will not work as expected unless there are some\nclient-side JavaScript code handling the redirection. To help achieve this goal,\nthis method will send out a \"X-Redirect\" header instead of \"Location\".\n\nIf you use the \"yii\" JavaScript module, it will handle the AJAX redirection as\ndescribed above. Otherwise, you should write the following JavaScript code to\nhandle the redirection:\n\n```javascript\n$document.ajaxComplete(function (event, xhr, settings) {\nvar url = xhr && xhr.getResponseHeader('X-Redirect');\nif (url) {\nwindow.location = url;\n}\n});\n```\n\n@param string|array $url the URL to be redirected to. This can be in one of the following formats:\n\n- a string representing a URL (e.g. \"http://example.com\")\n- a string representing a URL alias (e.g. \"@example.com\")\n- an array in the format of `[$route, ...name-value pairs...]` (e.g. `['site/index', 'ref' => 1]`).\nNote that the route is with respect to the whole application, instead of relative to a controller or module.\n[[Url::to()]] will be used to convert the array into a URL.\n\nAny relative URL that starts with a single forward slash \"/\" will be converted\ninto an absolute one by prepending it with the host info of the current request.\n\n@param int $statusCode the HTTP status code. Defaults to 302.\nSee \nfor details about HTTP status code\n@param bool $checkAjax whether to specially handle AJAX (and PJAX) requests. Defaults to true,\nmeaning if the current request is an AJAX or PJAX request, then calling this method will cause the browser\nto redirect to the given URL. If this is false, a `Location` header will be sent, which when received as\nan AJAX response, may NOT cause browser redirection.\nTakes effect only when request header `X-Ie-Redirect-Compatibility` is absent.\n@return ResponseBuilderInterface", "docstring_tokens": ["Redirects", "the", "browser", "to", "the", "specified", "URL", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L300-L329", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.createEmptyResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Response instance\n@return Response", "docstring_tokens": ["Create", "Response", "instance"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L365-L383", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.getHeadersPrepared", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get prepared headers array\n@return array\n@throws InvalidConfigException", "docstring_tokens": ["Get", "prepared", "headers", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L390-L408", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.getCookiesPrepared", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cookies prepared for 'Set-Cookie' header\n@return string[]\n@throws InvalidConfigException", "docstring_tokens": ["Get", "cookies", "prepared", "for", "Set", "-", "Cookie", "header"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L415-L434", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ResponseBuilder.php", "func_name": "ResponseBuilder.defaultFormatters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default formatters\n@return array the formatters that are supported by default", "docstring_tokens": ["Get", "default", "formatters"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ResponseBuilder.php#L444-L461", "partition": "test"} +{"repo": "fkooman/php-lib-rest-plugin-authentication-basic", "path": "src/fkooman/Rest/Plugin/Authentication/Basic/BasicAuthentication.php", "func_name": "BasicAuthentication.extractAuthUserPass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the authUser and authPass from the BASE64 encoded string.\n\n@param string $encodedString the BASE64 encoded colon separated\nauthUser and authPass\n\n@return mixed array containing authUser and authPass or false if\nthe decoding fails", "docstring_tokens": ["Extract", "the", "authUser", "and", "authPass", "from", "the", "BASE64", "encoded", "string", "."], "sha": "26c261b649cedff48e5b96951cc4c4014b33977f", "url": "https://github.com/fkooman/php-lib-rest-plugin-authentication-basic/blob/26c261b649cedff48e5b96951cc4c4014b33977f/src/fkooman/Rest/Plugin/Authentication/Basic/BasicAuthentication.php#L126-L145", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.scenarios", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of scenarios and the corresponding active attributes.\n\nAn active attribute is one that is subject to validation in the current scenario.\nThe returned array should be in the following format:\n\n```php\n[\n'scenario1' => ['attribute11', 'attribute12', ...],\n'scenario2' => ['attribute21', 'attribute22', ...],\n...\n]\n```\n\nBy default, an active attribute is considered safe and can be massively assigned.\nIf an attribute should NOT be massively assigned (thus considered unsafe),\nplease prefix the attribute with an exclamation character (e.g. `'!rank'`).\n\nThe default implementation of this method will return all scenarios found in the [[rules()]]\ndeclaration. A special scenario named [[SCENARIO_DEFAULT]] will contain all attributes\nfound in the [[rules()]]. Each scenario will be associated with the attributes that\nare being validated by the validation rules that apply to the scenario.\n\n@return array a list of scenarios and the corresponding active attributes.", "docstring_tokens": ["Returns", "a", "list", "of", "scenarios", "and", "the", "corresponding", "active", "attributes", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L192-L206", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.fillScenariosAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill scenarios with attributes\n@param array $scenarios\n@throws InvalidConfigException", "docstring_tokens": ["Fill", "scenarios", "with", "attributes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L230-L255", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.formName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the form name that this model class should use.\n\nThe form name is mainly used by [[\\Reaction\\Widgets\\ActiveForm]] to determine how to name\nthe input fields for the attributes in a model. If the form name is \"A\" and an attribute\nname is \"b\", then the corresponding input name would be \"A[b]\". If the form name is\nan empty string, then the input name would be \"b\".\n\nThe purpose of the above naming schema is that for forms which contain multiple different models,\nthe attributes of each model are grouped in sub-arrays of the POST-data and it is easier to\ndifferentiate between them.\n\nBy default, this method returns the model class name (without the namespace part)\nas the form name. You may override it when the model is used in different forms.\n\n@return string the form name of this model class.\n@see load()\n@throws InvalidConfigException when form is defined with anonymous class and `formName()` method is\nnot overridden.", "docstring_tokens": ["Returns", "the", "form", "name", "that", "this", "model", "class", "should", "use", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L277-L289", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.attributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the list of attribute names.\nBy default, this method returns all public non-static properties of the class.\nYou may override this method to change the default behavior.\n@return array list of attribute names.", "docstring_tokens": ["Returns", "the", "list", "of", "attribute", "names", ".", "By", "default", "this", "method", "returns", "all", "public", "non", "-", "static", "properties", "of", "the", "class", ".", "You", "may", "override", "this", "method", "to", "change", "the", "default", "behavior", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L297-L313", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs the data validation.\n\nThis method executes the validation rules applicable to the current [[scenario]].\nThe following criteria are used to determine whether a rule is currently applicable:\n\n- the rule must be associated with the attributes relevant to the current scenario;\n- the rules must be effective for the current scenario.\n\nThis method will call [[beforeValidate()]] and [[afterValidate()]] before and\nafter the actual validation, respectively. If [[beforeValidate()]] returns false,\nthe validation will be cancelled and [[afterValidate()]] will not be called.\n\nErrors found during the validation can be retrieved via [[getErrors()]],\n[[getFirstErrors()]] and [[getFirstError()]].\n\n@param string[]|string $attributeNames attribute name or list of attribute names that should be validated.\nIf this parameter is empty, it means any attribute listed in the applicable\nvalidation rules should be validated.\n@param bool $clearErrors whether to call [[clearErrors()]] before performing validation\n@return ExtendedPromiseInterface with bool whether the validation is successful without any error.\n@throws InvalidArgumentException if the current scenario is unknown.", "docstring_tokens": ["Performs", "the", "data", "validation", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L378-L410", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.validateMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates multiple models.\nThis method will validate every model. The models being validated may\nbe of the same or different types.\n@param array $models the models to be validated\n@param array $attributeNames list of attribute names that should be validated.\nIf this parameter is empty, it means any attribute listed in the applicable\nvalidation rules should be validated.\n@return ExtendedPromiseInterface with bool whether all models are valid. RejectedPromise will be returned if one\nor multiple models have validation error.", "docstring_tokens": ["Validates", "multiple", "models", ".", "This", "method", "will", "validate", "every", "model", ".", "The", "models", "being", "validated", "may", "be", "of", "the", "same", "or", "different", "types", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L965-L976", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Model.php", "func_name": "Model.t", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translates a message to the specified language.\nOr returns a TranslationPromise for further translation\n\n@param string $category Message category\n@param string $message Message for translation\n@param array $params Parameters array\n@param string $language Language translate to\n@return string|Reaction\\I18n\\TranslationPromise", "docstring_tokens": ["Translates", "a", "message", "to", "the", "specified", "language", ".", "Or", "returns", "a", "TranslationPromise", "for", "further", "translation"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Model.php#L1108-L1116", "partition": "test"} +{"repo": "m8rge/AlternativeMail", "path": "AlternativeMail.php", "func_name": "AlternativeMail.addAttachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Autodetect mime type relies on php fileinfo extension\n@param string $file\n@param string $forceFileName\n@param string $forceMimeType\n@return $this", "docstring_tokens": ["Autodetect", "mime", "type", "relies", "on", "php", "fileinfo", "extension"], "sha": "9041da9c2c02e24c3c68c4c86944ac202bba948d", "url": "https://github.com/m8rge/AlternativeMail/blob/9041da9c2c02e24c3c68c4c86944ac202bba948d/AlternativeMail.php#L82-L91", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Guzzle/GuzzleRequest.php", "func_name": "GuzzleRequest.addPlugin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds normalized plugins to the Http client.\n\n@param \\RestGalleries\\Http\\Plugins\\RequestPluginAdapter $plugin", "docstring_tokens": ["Adds", "normalized", "plugins", "to", "the", "Http", "client", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Guzzle/GuzzleRequest.php#L45-L51", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Guzzle/GuzzleRequest.php", "func_name": "GuzzleRequest.sendRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the request options, creates the request, sends it and returns new response object.\n\n@param string $method\n@param string $endPoint\n@return \\RestGalleries\\Http\\Guzzle\\GuzzleResponse", "docstring_tokens": ["Gets", "the", "request", "options", "creates", "the", "request", "sends", "it", "and", "returns", "new", "response", "object", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Guzzle/GuzzleRequest.php#L60-L74", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Loader.php", "func_name": "Loader.loadClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Class autoloader to scan bundles directory\n\n@param string $classname The name of the class to load\n@param null/string $type The namespace type (Controller for example)\n@param bool $silent Exit silently if not found (default is false)\n@return bool/string TRUE if the classfile had been found\n@throws \\CarteBlanche\\Exception\\ErrorException if the class can't be found & $silent is false", "docstring_tokens": ["Class", "autoloader", "to", "scan", "bundles", "directory"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Loader.php#L53-L99", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php", "func_name": "NativeListenerAnnotations.getListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the events.\n\n@param string[] $classes The classes\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Events\\Listener[]", "docstring_tokens": ["Get", "the", "events", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php#L38-L56", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php", "func_name": "NativeListenerAnnotations.setListenerProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the properties for a listener annotation.\n\n@param Listener $listener\n\n@throws \\ReflectionException\n\n@return void", "docstring_tokens": ["Set", "the", "properties", "for", "a", "listener", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php#L67-L86", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php", "func_name": "NativeListenerAnnotations.getListenerFromAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a listener from a listener annotation.\n\n@param Listener $listener The listener annotation\n\n@return \\Valkyrja\\Events\\Listener", "docstring_tokens": ["Get", "a", "listener", "from", "a", "listener", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/Annotations/NativeListenerAnnotations.php#L95-L113", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/CompressAbstract.php", "func_name": "Zend_Filter_Compress_CompressAbstract.getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns one or all set options\n\n@param string $option (Optional) Option to return\n@return mixed", "docstring_tokens": ["Returns", "one", "or", "all", "set", "options"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/CompressAbstract.php#L58-L69", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/CompressAbstract.php", "func_name": "Zend_Filter_Compress_CompressAbstract.setOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets all or one option\n\n@param array $options\n@return Zend_Filter_Compress_Bz2", "docstring_tokens": ["Sets", "all", "or", "one", "option"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/CompressAbstract.php#L77-L87", "partition": "test"} +{"repo": "delatbabel/keylists", "path": "src/Services/KeylistsService.php", "func_name": "KeylistsService.getKeyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches a single keyvalue by key type and key value\n\n@param string $keyType\n@param string $keyValue\n@return Fluent", "docstring_tokens": ["Fetches", "a", "single", "keyvalue", "by", "key", "type", "and", "key", "value"], "sha": "9d045385cfb7ab7b7f6e99b79d65e57fe84429e7", "url": "https://github.com/delatbabel/keylists/blob/9d045385cfb7ab7b7f6e99b79d65e57fe84429e7/src/Services/KeylistsService.php#L36-L43", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Behaviour/Fillable.php", "func_name": "Fillable.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fills the entity from and array.\n\n@param array $input\n@return void\n@throws MassAssignmentException if the input tries to assign an not-fillable field.", "docstring_tokens": ["Fills", "the", "entity", "from", "and", "array", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Behaviour/Fillable.php#L16-L26", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/BaseServiceProvider.php", "func_name": "BaseServiceProvider.loadEntitiesFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a directory of Doctrine entities.\n\n@param string $directory\n@return void", "docstring_tokens": ["Register", "a", "directory", "of", "Doctrine", "entities", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/BaseServiceProvider.php#L16-L20", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/BaseServiceProvider.php", "func_name": "BaseServiceProvider.extendEntityManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify the entity manager\n\n@param callable $closure", "docstring_tokens": ["Modify", "the", "entity", "manager"], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/BaseServiceProvider.php#L27-L34", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Prophet/Prophet.php", "func_name": "Prophet.checkPredictions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check all prophecies for predictions\n\n@throws AggregateException", "docstring_tokens": ["Check", "all", "prophecies", "for", "predictions"], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Prophet/Prophet.php#L38-L56", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Xml.php", "func_name": "Zend_Config_Xml._processExtends", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to process each element in the section and handle\nthe \"extends\" inheritance attribute.\n\n@param SimpleXMLElement $element XML Element to process\n@param string $section Section to process\n@param array $config Configuration which was parsed yet\n@throws Zend_Config_Exception When $section cannot be found\n@return array", "docstring_tokens": ["Helper", "function", "to", "process", "each", "element", "in", "the", "section", "and", "handle", "the", "extends", "inheritance", "attribute", "."], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Xml.php#L158-L180", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.verifyClassMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the class and method of a dispatch.\n\n@param Dispatch $dispatch The dispatch\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n\n@return void", "docstring_tokens": ["Verify", "the", "class", "and", "method", "of", "a", "dispatch", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L65-L85", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.verifyClassProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the class and property of a dispatch.\n\n@param Dispatch $dispatch The dispatch\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Verify", "the", "class", "and", "property", "of", "a", "dispatch", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L96-L116", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.verifyFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the function of a dispatch.\n\n@param Dispatch $dispatch The dispatch\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n\n@return void", "docstring_tokens": ["Verify", "the", "function", "of", "a", "dispatch", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L127-L141", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.verifyClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the closure of a dispatch.\n\n@param Dispatch $dispatch The dispatch\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n\n@return void", "docstring_tokens": ["Verify", "the", "closure", "of", "a", "dispatch", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L152-L168", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.verifyDispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify the dispatch's dispatch capabilities.\n\n@param Dispatch $dispatch The dispatch\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Verify", "the", "dispatch", "s", "dispatch", "capabilities", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L183-L205", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.getDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a dispatch's dependencies.\n\n@param Dispatch $dispatch The dispatch\n\n@return array", "docstring_tokens": ["Get", "a", "dispatch", "s", "dependencies", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L214-L242", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.getArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a dispatch's arguments.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return array", "docstring_tokens": ["Get", "a", "dispatch", "s", "arguments", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L252-L290", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchClassMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a class method.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "class", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L300-L334", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchClassProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a class property.\n\n@param Dispatch $dispatch The dispatch\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "class", "property", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L343-L368", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a class.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "class", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L378-L409", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a function.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "function", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L419-L439", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a closure.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "closure", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L449-L469", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Dispatcher/NativeDispatcher.php", "func_name": "NativeDispatcher.dispatchCallable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a callable.\n\n@param Dispatch $dispatch The dispatch\n@param array $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "callable", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Dispatcher/NativeDispatcher.php#L479-L500", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Input/NativeInput.php", "func_name": "NativeInput.getStringArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the arguments as a string.\n\n@return string", "docstring_tokens": ["Get", "the", "arguments", "as", "a", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Input/NativeInput.php#L119-L131", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Input/NativeInput.php", "func_name": "NativeInput.getRequestArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the arguments from the request.\n\n@return array", "docstring_tokens": ["Get", "the", "arguments", "from", "the", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Input/NativeInput.php#L138-L150", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Input/NativeInput.php", "func_name": "NativeInput.parseRequestArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse request arguments to split by options and arguments.\n\n@return void", "docstring_tokens": ["Parse", "request", "arguments", "to", "split", "by", "options", "and", "arguments", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Input/NativeInput.php#L157-L193", "partition": "test"} +{"repo": "DripsPHP/Routing", "path": "src/Router.php", "func_name": "Router.link", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generiert einen Link zu einer bestimmten Route.\n\n@param $name Name der Route oder URL\n\n@return string", "docstring_tokens": ["Generiert", "einen", "Link", "zu", "einer", "bestimmten", "Route", "."], "sha": "ffdd1505ba6be46e7166c8af003d16ff1316f253", "url": "https://github.com/DripsPHP/Routing/blob/ffdd1505ba6be46e7166c8af003d16ff1316f253/src/Router.php#L439-L452", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/MessageTrait.php", "func_name": "MessageTrait.withProtocolVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified HTTP protocol version.\n\nThe version string MUST contain only the HTTP version number (e.g.,\n\"1.1\", \"1.0\").\n\nThis method MUST be implemented in such a way as to retain the\nimmutability of the message, and MUST return an instance that has the\nnew protocol version.\n\n@param string $version HTTP protocol version\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidProtocolVersion\n\n@return static", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "HTTP", "protocol", "version", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/MessageTrait.php#L80-L87", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/MessageTrait.php", "func_name": "MessageTrait.assertHeaderValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter header values.\n\n@param string[] ...$values Header values\n\n@throws \\InvalidArgumentException\n\n@return string[]", "docstring_tokens": ["Filter", "header", "values", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/MessageTrait.php#L387-L394", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/MessageTrait.php", "func_name": "MessageTrait.injectHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inject a header in a headers array.\n\n@param string $header The header to set\n@param string $value The value to set\n@param array $headers [optional] The headers\n@param bool $override [optional] Whether to override any existing value\n\n@return array", "docstring_tokens": ["Inject", "a", "header", "in", "a", "headers", "array", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/MessageTrait.php#L406-L434", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.now", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns current time formatted in ISO-8601 at UTC timezone\n\n@return string", "docstring_tokens": ["Returns", "current", "time", "formatted", "in", "ISO", "-", "8601", "at", "UTC", "timezone"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L91-L96", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.checkAndUpdateFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks cookie array for correctness, possibly updating its 'domain', 'path' and 'expires' fields\n\nThe checks are as follows:\n- cookie array should contain 'name' and 'value' fields;\n- name and value should not contain disallowed symbols;\n- 'expires' should be either empty parseable by DateTime;\n- 'domain' and 'path' should be either not empty or an URL where\ncookie was set should be provided.\n- if $setter is provided, then document at that URL should be allowed\nto set a cookie for that 'domain'. If $setter is not provided,\nthen no domain checks will be made.\n\n'expires' field will be converted to ISO8601 format from COOKIE format,\n'domain' and 'path' will be set from setter URL if empty.\n\n@param array $cookie cookie data, as returned by\n{@link HTTP_Request2_Response::getCookies()}\n@param Net_URL2 $setter URL of the document that sent Set-Cookie header\n\n@return array Updated cookie array\n@throws HTTP_Request2_LogicException\n@throws HTTP_Request2_MessageException", "docstring_tokens": ["Checks", "cookie", "array", "for", "correctness", "possibly", "updating", "its", "domain", "path", "and", "expires", "fields"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L122-L188", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.store", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores a cookie in the jar\n\n@param array $cookie cookie data, as returned by\n{@link HTTP_Request2_Response::getCookies()}\n@param Net_URL2 $setter URL of the document that sent Set-Cookie header\n\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Stores", "a", "cookie", "in", "the", "jar"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L199-L217", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.addCookiesFromResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds cookies set in HTTP response to the jar\n\n@param HTTP_Request2_Response $response HTTP response message\n@param Net_URL2 $setter original request URL, needed for\nsetting default domain/path", "docstring_tokens": ["Adds", "cookies", "set", "in", "HTTP", "response", "to", "the", "jar"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L226-L231", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.getMatching", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all cookies matching a given request URL\n\nThe following checks are made:\n- cookie domain should match request host\n- cookie path should be a prefix for request path\n- 'secure' cookies will only be sent for HTTPS requests\n\n@param Net_URL2 $url Request url\n@param bool $asString Whether to return cookies as string for \"Cookie: \" header\n\n@return array|string Matching cookies", "docstring_tokens": ["Returns", "all", "cookies", "matching", "a", "given", "request", "URL"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L246-L279", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all cookies stored in a jar\n\n@return array", "docstring_tokens": ["Returns", "all", "cookies", "stored", "in", "a", "jar"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L286-L297", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.serialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns string representation of object\n\n@return string\n\n@see Serializable::serialize()", "docstring_tokens": ["Returns", "string", "representation", "of", "object"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L342-L357", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.unserialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Constructs the object from serialized string\n\n@param string $serialized string representation\n\n@see Serializable::unserialize()", "docstring_tokens": ["Constructs", "the", "object", "from", "serialized", "string"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L366-L384", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/CookieJar.php", "func_name": "HTTP_Request2_CookieJar.domainMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether a cookie domain matches a request host.\n\nThe method is used by {@link store()} to check for whether a document\nat given URL can set a cookie with a given domain attribute and by\n{@link getMatching()} to find cookies matching the request URL.\n\n@param string $requestHost request host\n@param string $cookieDomain cookie domain\n\n@return bool match success", "docstring_tokens": ["Checks", "whether", "a", "cookie", "domain", "matches", "a", "request", "host", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/CookieJar.php#L398-L417", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command.php", "func_name": "PEAR_Command.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the right object for executing a command.\n\n@param string $command The name of the command\n@param object $config Instance of PEAR_Config object\n\n@return object the command object or a PEAR error\n\n@access public\n@static", "docstring_tokens": ["Get", "the", "right", "object", "for", "executing", "a", "command", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command.php#L116-L139", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command.php", "func_name": "PEAR_Command.getGetoptArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles arguments for getopt.\n\n@param string $command command to get optstring for\n@param string $short_args (reference) short getopt format\n@param array $long_args (reference) long getopt format\n\n@return void\n\n@access public\n@static", "docstring_tokens": ["Compiles", "arguments", "for", "getopt", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command.php#L354-L367", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command.php", "func_name": "PEAR_Command.getHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get help for command.\n\n@param string $command Name of the command to return help for\n\n@access public\n@static", "docstring_tokens": ["Get", "help", "for", "command", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command.php#L401-L412", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Frontend.php", "func_name": "PEAR_Frontend.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the frontend object\n@return PEAR_Frontend_CLI|PEAR_Frontend_Web|PEAR_Frontend_Gtk\n@static", "docstring_tokens": ["Retrieve", "the", "frontend", "object"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Frontend.php#L53-L65", "partition": "test"} +{"repo": "gries/number-system", "path": "src/ExpressionConverter.php", "func_name": "ExpressionConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert expression from one NumberSystem to another\n\n@param Expression $expression\n@param NumberSystem $targetSystem\n\n@return Expression", "docstring_tokens": ["Convert", "expression", "from", "one", "NumberSystem", "to", "another"], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/ExpressionConverter.php#L27-L41", "partition": "test"} +{"repo": "gries/number-system", "path": "src/ExpressionConverter.php", "func_name": "ExpressionConverter.parseExpressionPart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the part of an expression.\n\n@param $part\n\n@return Number", "docstring_tokens": ["Parse", "the", "part", "of", "an", "expression", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/ExpressionConverter.php#L50-L60", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Ini.php", "func_name": "Zend_Config_Ini._processKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assign the key's value to the property list. Handles the\nnest separator for sub-properties.\n\n@param array $config\n@param string $key\n@param string $value\n@throws Zend_Config_Exception\n@return array", "docstring_tokens": ["Assign", "the", "key", "s", "value", "to", "the", "property", "list", ".", "Handles", "the", "nest", "separator", "for", "sub", "-", "properties", "."], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Ini.php#L271-L302", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/StringTrim.php", "func_name": "Zend_Filter_StringTrim._unicodeTrim", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unicode aware trim method\nFixes a PHP problem\n\n@param string $value\n@param string $charlist\n@return string", "docstring_tokens": ["Unicode", "aware", "trim", "method", "Fixes", "a", "PHP", "problem"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/StringTrim.php#L112-L122", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/StringToUpper.php", "func_name": "Zend_Filter_StringToUpper.setEncoding", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the input encoding for the given string\n\n@param string $encoding\n@return Zend_Filter_StringToUpper Provides a fluent interface\n@throws Zend_Filter_Exception", "docstring_tokens": ["Set", "the", "input", "encoding", "for", "the", "given", "string"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/StringToUpper.php#L85-L102", "partition": "test"} +{"repo": "Dhii/iterator-base", "path": "src/CreateIteratorExceptionCapableTrait.php", "func_name": "CreateIteratorExceptionCapableTrait._createIteratorException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new iterator exception instance.\n\n@since [*next-version*]\n\n@param string|Stringable|null $message The error message, if any.\n@param int|null $code The error code, if any.\n@param RootException|null $previous The previous exception for chaining, if any.\n@param IteratorInterface $iterator The iterator instance that erred.\n\n@return IteratorException The created exception instance.", "docstring_tokens": ["Creates", "a", "new", "iterator", "exception", "instance", "."], "sha": "093438953cb2c83309b412f9fe09211fb1d0abed", "url": "https://github.com/Dhii/iterator-base/blob/093438953cb2c83309b412f9fe09211fb1d0abed/src/CreateIteratorExceptionCapableTrait.php#L28-L35", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/I18N.php", "func_name": "I18N.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the component by configuring the default message categories.", "docstring_tokens": ["Initializes", "the", "component", "by", "configuring", "the", "default", "message", "categories", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/I18N.php#L94-L116", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/I18N.php", "func_name": "I18N.initUrlLanguagePrefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fill url language prefixes", "docstring_tokens": ["Fill", "url", "language", "prefixes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/I18N.php#L121-L134", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/I18N.php", "func_name": "I18N.getMessageFormatter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the message formatter instance.\n@return MessageFormatter the message formatter to be used to format message via ICU message format.", "docstring_tokens": ["Returns", "the", "message", "formatter", "instance", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/I18N.php#L204-L213", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Transaction.php", "func_name": "Transaction.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start a new transaction\n\n@throws Exception\\TransactionException\n@return Transaction", "docstring_tokens": ["Start", "a", "new", "transaction"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Transaction.php#L52-L64", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Provider/Lastfm.php", "func_name": "Lastfm.getApiRequestUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the url for the API request\n\n@param \\Phergie\\Irc\\Plugin\\React\\Command\\CommandEvent $event\n@return string", "docstring_tokens": ["Get", "the", "url", "for", "the", "API", "request"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Provider/Lastfm.php#L71-L74", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Provider/Lastfm.php", "func_name": "Lastfm.getApiRequestParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a querystring parameters array\n\n@param \\Phergie\\Irc\\Plugin\\React\\Command\\CommandEvent $event\n@return array", "docstring_tokens": ["Returns", "a", "querystring", "parameters", "array"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Provider/Lastfm.php#L82-L94", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Provider/Lastfm.php", "func_name": "Lastfm.getSuccessLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of lines to send back to IRC when the http request is successful\n\n@param \\Phergie\\Irc\\Plugin\\React\\Command\\CommandEvent $event\n@param string $apiResponse\n@return array", "docstring_tokens": ["Returns", "an", "array", "of", "lines", "to", "send", "back", "to", "IRC", "when", "the", "http", "request", "is", "successful"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Provider/Lastfm.php#L103-L113", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Provider/Lastfm.php", "func_name": "Lastfm.getSuccessMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a message generated from the api request to use in the final response\n\n@param object $response\n@return string", "docstring_tokens": ["Returns", "a", "message", "generated", "from", "the", "api", "request", "to", "use", "in", "the", "final", "response"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Provider/Lastfm.php#L121-L136", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/BudgetMapper.php", "func_name": "BudgetMapper.findAllByAccountId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get budgets by account id.\n\n@param int $accountId\n@return Budget[]", "docstring_tokens": ["Get", "budgets", "by", "account", "id", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/BudgetMapper.php#L90-L106", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/I18nContext.php", "func_name": "I18nContext.getCurrentLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current language.\n\nIf no language has been set or detected, this will attempt to detect\nthe user's preferred language by examining the current request, session\nand HTTP headers.\n\nThe key 'uselang' is checked in the HTTP request and PHP session. If\nnot set in either, the Accept-Language header from the request is\nparsed to determine potential langauges to select. In all cases, the\ncurrent list of known localizations is consulted and if no match is\nfound, the configured system wide default language is used as\na fallback.\n\n@return string", "docstring_tokens": ["Get", "current", "language", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/I18nContext.php#L143-L165", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/I18nContext.php", "func_name": "I18nContext.parseAcceptLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the Accept-Language header present in the request and return an\nordered list of languages preferred by the user-agent.\n\n@return array List of preferred languages", "docstring_tokens": ["Parse", "the", "Accept", "-", "Language", "header", "present", "in", "the", "request", "and", "return", "an", "ordered", "list", "of", "languages", "preferred", "by", "the", "user", "-", "agent", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/I18nContext.php#L184-L215", "partition": "test"} +{"repo": "php-packages/container", "path": "src/PhpPackages/Container/Container.php", "func_name": "Container.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Binds given value into the container.\n\n@param string $binding\n@param string|object $value\n@return void", "docstring_tokens": ["Binds", "given", "value", "into", "the", "container", "."], "sha": "28fde0549e902a439bb337478f6b9535a043a6ce", "url": "https://github.com/php-packages/container/blob/28fde0549e902a439bb337478f6b9535a043a6ce/src/PhpPackages/Container/Container.php#L22-L31", "partition": "test"} +{"repo": "php-packages/container", "path": "src/PhpPackages/Container/Container.php", "func_name": "Container.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves the given class' dependencies.\n\n@param string|mixed $class\n@param array $dependencies\n@throws Exceptions\\ClassDoesNotExistException\n@throws Exceptions\\ClassIsNotInstantiableException\n@throws Exceptions\\ResolutionException\n@return mixed", "docstring_tokens": ["Resolves", "the", "given", "class", "dependencies", "."], "sha": "28fde0549e902a439bb337478f6b9535a043a6ce", "url": "https://github.com/php-packages/container/blob/28fde0549e902a439bb337478f6b9535a043a6ce/src/PhpPackages/Container/Container.php#L43-L79", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Url.php", "func_name": "Url.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the URL passed in is valid\n\n@throws InvalidArgumentException If the value is not a valid URL\n\n@param string $url The value to validate\n\n@return void", "docstring_tokens": ["Ensures", "the", "URL", "passed", "in", "is", "valid"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Url.php#L34-L38", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/ViewableWrapper.php", "func_name": "ViewableWrapper.isLiveVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is this variable live in published mode?\n@param string $field\n@return bool", "docstring_tokens": ["Is", "this", "variable", "live", "in", "published", "mode?"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/ViewableWrapper.php#L83-L86", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/ViewableWrapper.php", "func_name": "ViewableWrapper.obj", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If we're publishing, returns proper php", "docstring_tokens": ["If", "we", "re", "publishing", "returns", "proper", "php"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/ViewableWrapper.php#L92-L139", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/ViewableWrapper.php", "func_name": "ViewableWrapper.wrapObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "if an object isn't already wrapped in Silverstripe's stuff,\nwrap it appropriately either in a viewableWrapper or dataobject set", "docstring_tokens": ["if", "an", "object", "isn", "t", "already", "wrapped", "in", "Silverstripe", "s", "stuff", "wrap", "it", "appropriately", "either", "in", "a", "viewableWrapper", "or", "dataobject", "set"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/ViewableWrapper.php#L146-L173", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/ViewableWrapper.php", "func_name": "ViewableWrapper.AsDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns the given field as a casted date object", "docstring_tokens": ["returns", "the", "given", "field", "as", "a", "casted", "date", "object"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/ViewableWrapper.php#L179-L183", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.makeSessionIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes a session identifier based on the session id.\n\n@param string $sessionId The session id.\n@return string The session identifier.", "docstring_tokens": ["Makes", "a", "session", "identifier", "based", "on", "the", "session", "id", "."], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L59-L62", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.encryptSessionData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypts the session data.\n\n@param string $sessionId The session id.\n@param string $sessionData The session data.\n@return string The encrypted session data.", "docstring_tokens": ["Encrypts", "the", "session", "data", "."], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L71-L85", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.decryptSessionData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypts the session data.\n\n@throws UnableToDecryptException\n@param string $sessionId The session id.\n@param string $sessionData The encrypted session data.\n@return string The decrypted session data.", "docstring_tokens": ["Decrypts", "the", "session", "data", "."], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L95-L120", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.getEncryptionKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates the key to be used in the session encryption.\n\n@param string $sessionId Id of the session\n@return string Encryption key", "docstring_tokens": ["Calculates", "the", "key", "to", "be", "used", "in", "the", "session", "encryption", "."], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L128-L131", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.setEncryptionAlgorithm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the encryption algorithm\n\nTo get a list of valid algorithms, see openssl_get_cipher_methods(true)\n\n@throws UnableToEncryptException\n@param string $algorithm For a list of valid algorithm, see openssl_get_cipher_methods(true).\n@return void", "docstring_tokens": ["Sets", "the", "encryption", "algorithm"], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L142-L153", "partition": "test"} +{"repo": "phpsess/openssl-encryption", "path": "src/OpenSSLEncryption.php", "func_name": "OpenSSLEncryption.setHashAlgorithm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the hashing algorithm\n\nTo get a list of valid algorithms, see openssl_get_md_methods(true)\n\n@throws UnableToHashException\n@param string $algorithm For a list of valid algorithms, see openssl_get_md_methods(true).\n@return void", "docstring_tokens": ["Sets", "the", "hashing", "algorithm"], "sha": "a11b355d78cf4f1ffa665472945fad41e22198bb", "url": "https://github.com/phpsess/openssl-encryption/blob/a11b355d78cf4f1ffa665472945fad41e22198bb/src/OpenSSLEncryption.php#L164-L175", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/QueryBuilder.php", "func_name": "QueryBuilder.prepareUpdateSets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepares a `SET` parts for an `UPDATE` SQL statement.\n@param string $table the table to be updated.\n@param array $columns the column data (name => value) to be updated.\n@param array $params the binding parameters that will be modified by this method\nso that they can be bound to the DB command later.\n@return array an array `SET` parts for an `UPDATE` SQL statement (the first array element) and params (the second array element).", "docstring_tokens": ["Prepares", "a", "SET", "parts", "for", "an", "UPDATE", "SQL", "statement", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/QueryBuilder.php#L682-L699", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jSoapRequest.class.php", "func_name": "jSoapRequest.initService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Paramameters initalisation prior to request handling", "docstring_tokens": ["Paramameters", "initalisation", "prior", "to", "request", "handling"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jSoapRequest.class.php#L32-L46", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jSoapRequest.class.php", "func_name": "jSoapRequest.getParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the value of a request parameter. If not defined, gets its default value.\n@param string $name the name of the request parameter\n@param mixed $defaultValue the default returned value if the parameter doesn't exists\n@param boolean $useDefaultIfEmpty true: says to return the default value if the parameter value is \"\"\n@return mixed the request parameter value", "docstring_tokens": ["Gets", "the", "value", "of", "a", "request", "parameter", ".", "If", "not", "defined", "gets", "its", "default", "value", "."], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jSoapRequest.class.php#L66-L89", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/ExistValidator.php", "func_name": "ExistValidator.checkTargetRelationExistence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates existence of the current attribute based on relation name\n@param \\Reaction\\Db\\Orm\\ActiveRecord $model the data model to be validated\n@param string $attribute the name of the attribute to be validated.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Validates", "existence", "of", "the", "current", "attribute", "based", "on", "relation", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/ExistValidator.php#L112-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/ExistValidator.php", "func_name": "ExistValidator.checkTargetAttributeExistence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates existence of the current attribute based on targetAttribute\n@param \\Reaction\\Base\\Model $model the data model to be validated\n@param string $attribute the name of the attribute to be validated.", "docstring_tokens": ["Validates", "existence", "of", "the", "current", "attribute", "based", "on", "targetAttribute"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/ExistValidator.php#L135-L162", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/ExistValidator.php", "func_name": "ExistValidator.valueExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether value exists in target table\n\n@param QueryInterface $query\n@param mixed $value the value want to be checked\n@return ExtendedPromiseInterface", "docstring_tokens": ["Check", "whether", "value", "exists", "in", "target", "table"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/ExistValidator.php#L242-L251", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/AbstractMySqlDao.php", "func_name": "AbstractMySqlDao.getClause", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get clause to MySql syntaxe\n\n@param TableInterface $table table\n@return string clause to MySql syntaxe", "docstring_tokens": ["Get", "clause", "to", "MySql", "syntaxe"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/AbstractMySqlDao.php#L91-L115", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Renderer.php", "func_name": "Renderer.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders and returns the modal response.\n\n@param Modal $modal\n@param string $template\n@return Response", "docstring_tokens": ["Renders", "and", "returns", "the", "modal", "response", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Renderer.php#L50-L67", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/FileHelper.php", "func_name": "FileHelper.localize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the localized version of a specified file.\n\nThe searching is based on the specified language code. In particular,\na file with the same name will be looked for under the subdirectory\nwhose name is the same as the language code. For example, given the file \"path/to/view.php\"\nand language code \"zh-CN\", the localized file will be looked for as\n\"path/to/zh-CN/view.php\". If the file is not found, it will try a fallback with just a language code that is\n\"zh\" i.e. \"path/to/zh/view.php\". If it is not found as well the original file will be returned.\n\nIf the target and the source language codes are the same,\nthe original file will be returned.\n\n@param string $file the original file\n@param string $language the target language that the file should be localized to.\nIf not set, the value of [[\\yii\\base\\Application::language]] will be used.\n@param string $sourceLanguage the language that the original file is in.\nIf not set, the value of [[\\yii\\base\\Application::sourceLanguage]] will be used.\n@return string the matching localized file, or the original file if the localized version is not found.\nIf the target and the source language codes are the same, the original file will be returned.\n@see \\Reaction\\Helpers\\FileHelper::localize()", "docstring_tokens": ["Returns", "the", "localized", "version", "of", "a", "specified", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/FileHelper.php#L57-L60", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Stream.php", "func_name": "Stream.detach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Separates any underlying resources from the stream.\nAfter the stream has been detached, the stream is in an unusable state.\n\n@return resource|null Underlying PHP stream, if any", "docstring_tokens": ["Separates", "any", "underlying", "resources", "from", "the", "stream", ".", "After", "the", "stream", "has", "been", "detached", "the", "stream", "is", "in", "an", "unusable", "state", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Stream.php#L82-L89", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Stream.php", "func_name": "Stream.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read data from the stream.\n\n@param int $length Read up to $length bytes from the object and return\nthem. Fewer than $length bytes may be returned if underlying stream\ncall returns fewer bytes.\n@return string Returns the data read from the stream, or an empty string\nif no bytes are available.\n@throws \\RuntimeException if an error occurs.", "docstring_tokens": ["Read", "data", "from", "the", "stream", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Stream.php#L242-L254", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.factory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Request instance.\n\n@param array $query The GET parameters\n@param array $request The POST parameters\n@param array $attributes The request attributes (parameters\nparsed from the PATH_INFO, ...)\n@param array $cookies The COOKIE parameters\n@param array $files The FILES parameters\n@param array $server The SERVER parameters\n@param string|resource $content The raw body data\n\n@return \\Valkyrja\\Http\\Request", "docstring_tokens": ["Create", "a", "new", "Request", "instance", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L205-L223", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.createFromGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new request with values from PHP super globals.\n\n@return \\Valkyrja\\Http\\Request", "docstring_tokens": ["Creates", "a", "new", "request", "with", "values", "from", "PHP", "super", "globals", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L230-L262", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.setServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the SERVER parameters.\n\n@param array $server\n\n@return \\Valkyrja\\Http\\Request", "docstring_tokens": ["Set", "the", "SERVER", "parameters", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L595-L603", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the headers parameters.\n\n@param array $headers\n\n@return \\Valkyrja\\Http\\Request", "docstring_tokens": ["Set", "the", "headers", "parameters", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L626-L633", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the path being requested relative to the executed script.\n\n@return string", "docstring_tokens": ["Returns", "the", "path", "being", "requested", "relative", "to", "the", "executed", "script", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L799-L806", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getPathOnly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the path being requested with no query string.\n\n@return string", "docstring_tokens": ["Returns", "the", "path", "being", "requested", "with", "no", "query", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L813-L824", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getHttpHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the HTTP host being requested.\n\nThe port name will be appended to the host if it's non-standard.\n\n@return string", "docstring_tokens": ["Returns", "the", "HTTP", "host", "being", "requested", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L901-L914", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.setMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the request method.\n\n@param string $method\n\n@return \\Valkyrja\\Http\\Request", "docstring_tokens": ["Sets", "the", "request", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L980-L986", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the request \"intended\" method.\n\n@return string The request method\n\n@see getRealMethod()", "docstring_tokens": ["Gets", "the", "request", "intended", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L995-L1020", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the mime type associated with the format.\n\n@param string $format The format\n\n@return string", "docstring_tokens": ["Gets", "the", "mime", "type", "associated", "with", "the", "format", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L1043-L1048", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the format associated with the mime type.\n\n@param string $mimeType The associated mime type\n\n@return string", "docstring_tokens": ["Gets", "the", "format", "associated", "with", "the", "mime", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L1069-L1095", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRequest.php", "func_name": "NativeRequest.getRequestFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the request format.\n\n@param string $default The default format\n\n@return string", "docstring_tokens": ["Gets", "the", "request", "format", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRequest.php#L1104-L1111", "partition": "test"} +{"repo": "opsbears/piccolo-web-processor-controller-view-templating", "path": "src/TemplateViewProcessor.php", "func_name": "TemplateViewProcessor.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the template.\n\n@param string $controller\n@param string $method\n@param array $parameters\n\n@return string\n\n@throws TemplateNotFoundException", "docstring_tokens": ["Render", "the", "template", "."], "sha": "d33d28f37214b2f7be2b5057a596aa20244aeced", "url": "https://github.com/opsbears/piccolo-web-processor-controller-view-templating/blob/d33d28f37214b2f7be2b5057a596aa20244aeced/src/TemplateViewProcessor.php#L40-L62", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.initHttp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize with React HTTP and Socket servers\nUsed in web application", "docstring_tokens": ["Initialize", "with", "React", "HTTP", "and", "Socket", "servers", "Used", "in", "web", "application"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L97-L106", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.addMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add middleware to application\n@param callable|array $middleware", "docstring_tokens": ["Add", "middleware", "to", "application"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L136-L142", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.createRequestApplication", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create RequestApplicationInterface instance from react request\n@param ServerRequestInterface $request\n@return RequestApplicationInterface", "docstring_tokens": ["Create", "RequestApplicationInterface", "instance", "from", "react", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L161-L167", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.setAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a path alias.\n\nA path alias is a short name representing a long path (a file path, a URL, etc.)\nFor example, we use '@reaction' as the alias of the path to the Reaction framework directory.\n\nA path alias must start with the character '@' so that it can be easily differentiated\nfrom non-alias paths.\n\nNote that this method does not check if the given path exists or not. All it does is\nto associate the alias with the path.\n\nAny trailing '/' and '\\' characters in the given path will be trimmed.\n\nSee the [guide article on aliases](guide:concept-aliases) for more information.\n\n@param string $alias the alias name (e.g. \"@yii\"). It must start with a '@' character.\nIt may contain the forward slash '/' which serves as boundary character when performing\nalias translation by [[getAlias()]].\n@param string $path the path corresponding to the alias. If this is null, the alias will\nbe removed. Trailing '/' and '\\' characters will be trimmed. This can be\n\n- a directory or a file path (e.g. `/tmp`, `/tmp/main.txt`)\n- a URL (e.g. `http://www.example.com`)\n- a path alias (e.g. `@root/config`). In this case, the path alias will be converted into the\nactual path first by calling [[getAlias()]].\n\n@see getAlias()", "docstring_tokens": ["Registers", "a", "path", "alias", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L290-L325", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.setAliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set aliases from config\n@param array $aliases", "docstring_tokens": ["Set", "aliases", "from", "config"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L331-L336", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationAbstract.php", "func_name": "StaticApplicationAbstract.getErrorLogLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error log level by error code\n@param int $code\n@return array|mixed", "docstring_tokens": ["Get", "error", "log", "level", "by", "error", "code"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationAbstract.php#L438-L455", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.generate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the data to be used for the actual reflection.\n\nIf the class has already been reflected in the same configuration,\nit will be fetched from the local cache.\n\n@static\n\n@param string $originalClassName Name of the class to be reflected.\n@param array|null $methods (Optional) List of methods to be exposed.\n@param array|null $properties (Optional) List of properties to be exposed.\n@param string $proxyClassName (Optional) Name to be used for the reflected class.\n@param bool $callAutoload (Optional) Switch to run the autoloader.\n\n@return array The data to be used for the actual reflection.", "docstring_tokens": ["Gets", "the", "data", "to", "be", "used", "for", "the", "actual", "reflection", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L151-L185", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.getMethodCallParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the arguments the proxied method expectes.\n\n@param \\ReflectionMethod $method\n\n@return array List of parameters to be passed to the proxied method.", "docstring_tokens": ["Gets", "the", "arguments", "the", "proxied", "method", "expectes", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L194-L202", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.generateProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the data to be used for the actual reflection.\n\n@static\n\n@param string $originalClassName Name of the class to be reflected.\n@param array|null $methods (Optional) List of methods to be exposed.\n@param array|null $properties (Optional) List of properties to be exposed.\n@param string $proxyClassName (Optional) Name to be used for the reflected class.\n@param bool $callAutoload (Optional) Switch to run the autoloader.\n\n@return array The data to be used for the actual reflection.\n@throws \\lapistano\\ProxyObject\\GeneratorException", "docstring_tokens": ["Generates", "the", "data", "to", "be", "used", "for", "the", "actual", "reflection", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L218-L268", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.getProxiedProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate string representing the set of properties to be reflected.\n\n@param string $fullClassName\n@param \\ReflectionClass $class\n@param array $properties\n\n@return string\n@throws \\lapistano\\ProxyObject\\GeneratorException", "docstring_tokens": ["Generate", "string", "representing", "the", "set", "of", "properties", "to", "be", "reflected", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L280-L310", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.getProxiedMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate string representing the set of methods to be reflected.\n\n@param array $fullClassName\n@param \\ReflectionClass $class\n@param array $methods\n\n@return array Information about the method to be proxied.\n\n@throws GeneratorException", "docstring_tokens": ["Generate", "string", "representing", "the", "set", "of", "methods", "to", "be", "reflected", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L371-L418", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.generateProxyClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a unique name to be used to identify the created proxyclass.\n\n@param string $originalClassName Name of the class to be reflected.\n@param string $proxyClassName Name to be used for the reflected class.\n\n@return array Information of the class to be reflected.", "docstring_tokens": ["Generates", "a", "unique", "name", "to", "be", "used", "to", "identify", "the", "created", "proxyclass", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L428-L455", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.getArgumentDeclaration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds prefix for global namespace to the type hint of each parameter of the method.\n\nThis method is only necessary 'cause PHPUnit is currently not able to detect the usage of\nnamespaces. Thus it does not add the '\\' to a type hint.\n\n@param \\ReflectionMethod $method\n\n@return string", "docstring_tokens": ["Adds", "prefix", "for", "global", "namespace", "to", "the", "type", "hint", "of", "each", "parameter", "of", "the", "method", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L499-L515", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.canProxyMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given method may be proxied.\n\nSince it is not possible to reflect a\n- constructor\n- final method\n- static method\nthose will cause this method to return false.\nAlso methods registered in the blacklist will cause this\nmethod to return false.\n\n@param \\ReflectionMethod $method Name of the method to be reflected.\n\n@return boolean True, if the given method may be reflected, else false.", "docstring_tokens": ["Determine", "if", "the", "given", "method", "may", "be", "proxied", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L532-L542", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.canProxyMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters the list of ReflectionMethods down to those actually proxyable.\n\nProxyable methods are those which are NOT:\n- constructor\n- final method\n- static method\n- members of the self::blacklist\n\n@param array $methods\n\n@return \\ReflectionMethod[]", "docstring_tokens": ["Filters", "the", "list", "of", "ReflectionMethods", "down", "to", "those", "actually", "proxyable", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L557-L568", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.traverseStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Walks recursivly throught an array and concatinates the found info to a string.\n\n@param \\RecursiveIterator $iterator\n\n@return string", "docstring_tokens": ["Walks", "recursivly", "throught", "an", "array", "and", "concatinates", "the", "found", "info", "to", "a", "string", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L611-L634", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/Generator.php", "func_name": "Generator.getMethodParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the parameters of a function or method.\n\n@param \\ReflectionFunction|\\ReflectionMethod $method\n@param boolean $forCall\n@return string\n@since Method available since Release 3.2.0", "docstring_tokens": ["Returns", "the", "parameters", "of", "a", "function", "or", "method", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/Generator.php#L645-L704", "partition": "test"} +{"repo": "codenamephp/build", "path": "src/main/php/de/codenamephp/build/task/CreatePackagistHook.php", "func_name": "CreatePackagistHook.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticates via the client with github api token and then creates the webhook using the hooks model and the packagist username and api token\n\n@param string $repoName the name of the repository the hook will be created in", "docstring_tokens": ["Authenticates", "via", "the", "client", "with", "github", "api", "token", "and", "then", "creates", "the", "webhook", "using", "the", "hooks", "model", "and", "the", "packagist", "username", "and", "api", "token"], "sha": "ebc4292dd918b90339e007eaa858442ca74a0874", "url": "https://github.com/codenamephp/build/blob/ebc4292dd918b90339e007eaa858442ca74a0874/src/main/php/de/codenamephp/build/task/CreatePackagistHook.php#L181-L190", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/DbMessageSource.php", "func_name": "DbMessageSource.loadMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the message translation for the specified language and category.\nIf translation for specific locale code such as `en-US` isn't found it\ntries more generic `en`.\n\n@param string $category the message category\n@param string $language the target language\n@return ExtendedPromiseInterface array the loaded messages. The keys are original messages, and the values\nare translated messages.", "docstring_tokens": ["Loads", "the", "message", "translation", "for", "the", "specified", "language", "and", "category", ".", "If", "translation", "for", "specific", "locale", "code", "such", "as", "en", "-", "US", "isn", "t", "found", "it", "tries", "more", "generic", "en", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/DbMessageSource.php#L112-L137", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the application.\n\n@param array $config [optional] The config to use\n@param bool $force [optional] Whether to force a setup\n\n@throws \\Valkyrja\\Exceptions\\InvalidContainerImplementation\n@throws \\Valkyrja\\Exceptions\\InvalidDispatcherImplementation\n@throws \\Valkyrja\\Exceptions\\InvalidEventsImplementation\n\n@return void", "docstring_tokens": ["Setup", "the", "application", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L136-L168", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.bootstrapConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the config.\n\n@param array $config [optional] The config\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "config", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L177-L205", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.bootstrapCore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap core functionality.\n\n@throws \\Valkyrja\\Exceptions\\InvalidContainerImplementation\n@throws \\Valkyrja\\Exceptions\\InvalidDispatcherImplementation\n@throws \\Valkyrja\\Exceptions\\InvalidEventsImplementation\n\n@return void", "docstring_tokens": ["Bootstrap", "core", "functionality", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L230-L271", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.bootstrapContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bootstrap the container.\n\n@return void", "docstring_tokens": ["Bootstrap", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L278-L292", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.env", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an environment variable.\n\n@param string $variable [optional] The variable to get\n@param string $default [optional] The default value to return\n\n@return mixed|\\Valkyrja\\Env\\Env||config|Env", "docstring_tokens": ["Get", "an", "environment", "variable", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L339-L358", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.setEnv", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the environment variables class.\n\n@param string $env [optional] The env file to use\n\n@return void", "docstring_tokens": ["Set", "the", "environment", "variables", "class", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L377-L381", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the config.\n\n@param string $key [optional] The key to get\n@param string $default [optional] The default value if the key is not\nfound\n\n@return mixed", "docstring_tokens": ["Get", "the", "config", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L392-L422", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.abort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Abort the application due to error.\n\n@param int $statusCode The status code to use\n@param string $message [optional] The Exception message to throw\n@param array $headers [optional] The headers to send\n@param int $code [optional] The Exception code\n@param Response $response [optional] The Response to send\n\n@throws \\Valkyrja\\Http\\Exceptions\\HttpException\n\n@return void", "docstring_tokens": ["Abort", "the", "application", "due", "to", "error", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L530-L538", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.redirectTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect to a given uri, and abort the application.\n\n@param string $uri [optional] The URI to redirect to\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@throws \\Valkyrja\\Http\\Exceptions\\HttpRedirectException\n\n@return void", "docstring_tokens": ["Redirect", "to", "a", "given", "uri", "and", "abort", "the", "application", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L551-L554", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.response", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new response from the application.\n\n@param string $content [optional] The content to set\n@param int $statusCode [optional] The status code to set\n@param array $headers [optional] The headers to set\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Return", "a", "new", "response", "from", "the", "application", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L707-L717", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.redirectRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new redirect response from the application for a given route.\n\n@param string $route The route to match\n@param array $parameters [optional] Any parameters to set for dynamic\nroutes\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Http\\Exceptions\\InvalidStatusCodeException\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Return", "a", "new", "redirect", "response", "from", "the", "application", "for", "a", "given", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L783-L793", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Valkyrja.php", "func_name": "Valkyrja.view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to get a new view.\n\n@param string $template [optional] The template to use\n@param array $variables [optional] The variables to use\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Helper", "function", "to", "get", "a", "new", "view", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Valkyrja.php#L823-L833", "partition": "test"} +{"repo": "TeamIgnite/Framework", "path": "src/Framework/Config.php", "func_name": "Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a configuration item.\n\n@param $key\n\n@return mixed", "docstring_tokens": ["Get", "a", "configuration", "item", "."], "sha": "61befa7a3a19d6161028516e571b0f0e97c47575", "url": "https://github.com/TeamIgnite/Framework/blob/61befa7a3a19d6161028516e571b0f0e97c47575/src/Framework/Config.php#L58-L64", "partition": "test"} +{"repo": "psiphp/description", "path": "src/Schema/Schema.php", "func_name": "Schema.validateKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that a given key is valid.\n\nThis is called when the user attempts to access a descriptor.", "docstring_tokens": ["Ensure", "that", "a", "given", "key", "is", "valid", "."], "sha": "92356f4355ee55c134a342143abc7d4958fd61aa", "url": "https://github.com/psiphp/description/blob/92356f4355ee55c134a342143abc7d4958fd61aa/src/Schema/Schema.php#L29-L38", "partition": "test"} +{"repo": "psiphp/description", "path": "src/Schema/Schema.php", "func_name": "Schema.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the descriptor key AND ensures that the given\ndescriptor is of the correct type according to the schema.\n\nThis is called when a descriptor is set on the description.", "docstring_tokens": ["Validate", "the", "descriptor", "key", "AND", "ensures", "that", "the", "given", "descriptor", "is", "of", "the", "correct", "type", "according", "to", "the", "schema", "."], "sha": "92356f4355ee55c134a342143abc7d4958fd61aa", "url": "https://github.com/psiphp/description/blob/92356f4355ee55c134a342143abc7d4958fd61aa/src/Schema/Schema.php#L46-L59", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Behaviour/CacheInvalidator.php", "func_name": "CacheInvalidator.getCacheInvalidationSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the cache invalidation settings.\n\n@return array", "docstring_tokens": ["Returns", "the", "cache", "invalidation", "settings", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Behaviour/CacheInvalidator.php#L18-L23", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Behaviour/CacheInvalidator.php", "func_name": "CacheInvalidator.setCacheInvalidationSettings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the cache invalidation settings.\n\n@param array|string $settings\n@return $this", "docstring_tokens": ["Sets", "the", "cache", "invalidation", "settings", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Behaviour/CacheInvalidator.php#L40-L43", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Logger.php", "func_name": "Logger.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the configuration infos\n\n@param array $user_options\n@param string $logname\n\n@return void", "docstring_tokens": ["Load", "the", "configuration", "infos"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Logger.php#L39-L50", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Logger.php", "func_name": "Logger.getFilePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the log file path\n\n@param int $level The level of the current log info (default is 100)\n\n@return string The absolute path of the logfile to write in", "docstring_tokens": ["Get", "the", "log", "file", "path"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Logger.php#L60-L67", "partition": "test"} +{"repo": "uthando-cms/uthando-user", "path": "src/UthandoUser/Crypt/Password/Password.php", "func_name": "Password.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify if a password is correct against a hash value.\n\n@param string $password\n@param string $hash\n@return bool|array", "docstring_tokens": ["Verify", "if", "a", "password", "is", "correct", "against", "a", "hash", "value", "."], "sha": "bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15", "url": "https://github.com/uthando-cms/uthando-user/blob/bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15/src/UthandoUser/Crypt/Password/Password.php#L88-L101", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/RealPath.php", "func_name": "Zend_Filter_RealPath.setExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets if the path has to exist\nTRUE when the path must exist\nFALSE when not existing paths can be given\n\n@param boolean|Zend_Config $exists Path must exist\n@return Zend_Filter_RealPath", "docstring_tokens": ["Sets", "if", "the", "path", "has", "to", "exist", "TRUE", "when", "the", "path", "must", "exist", "FALSE", "when", "not", "existing", "paths", "can", "be", "given"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/RealPath.php#L67-L81", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Progress.php", "func_name": "Progress.renderProgress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the progress.\n@return string the rendering result.\n@throws InvalidConfigException if the \"percent\" option is not set in a stacked progress bar.", "docstring_tokens": ["Renders", "the", "progress", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Progress.php#L128-L145", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Progress.php", "func_name": "Progress.renderBar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a bar\n@param array $config the bar config (percentage, striped, animated)\n@param string $label, optional, the label to display at the bar\n@param array $options the HTML attributes of the bar\n@return string the rendering result.", "docstring_tokens": ["Generates", "a", "bar"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Progress.php#L153-L182", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jSoapCoordinator.class.php", "func_name": "jSoapCoordinator.processSoap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Intercept the soapServer method call in order to handle the call thrue the process method\nReturn php variables, the soap server will transform it in a soap response", "docstring_tokens": ["Intercept", "the", "soapServer", "method", "call", "in", "order", "to", "handle", "the", "call", "thrue", "the", "process", "method", "Return", "php", "variables", "the", "soap", "server", "will", "transform", "it", "in", "a", "soap", "response"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jSoapCoordinator.class.php#L37-L43", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jSoapCoordinator.class.php", "func_name": "jSoapCoordinator.getSoapServer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init and return the soap server\nUse wsdl mode or not depending of the wsdl object param\n@param jWsdl $wsdl\n@return SoapServer", "docstring_tokens": ["Init", "and", "return", "the", "soap", "server", "Use", "wsdl", "mode", "or", "not", "depending", "of", "the", "wsdl", "object", "param"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jSoapCoordinator.class.php#L51-L61", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Listener/TaggedEntityListener.php", "func_name": "TaggedEntityListener.onFlush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "On flush event handler.\n\n@param OnFlushEventArgs $eventArgs", "docstring_tokens": ["On", "flush", "event", "handler", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Listener/TaggedEntityListener.php#L48-L77", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Listener/TaggedEntityListener.php", "func_name": "TaggedEntityListener.postFlush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Post flush event handler.", "docstring_tokens": ["Post", "flush", "event", "handler", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Listener/TaggedEntityListener.php#L82-L89", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Listener/TaggedEntityListener.php", "func_name": "TaggedEntityListener.invalidateEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invalidates the entity http cache.\n\n@param object $entity", "docstring_tokens": ["Invalidates", "the", "entity", "http", "cache", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Listener/TaggedEntityListener.php#L96-L107", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Listener/TaggedEntityListener.php", "func_name": "TaggedEntityListener.addTagToInvalidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds tag to invalidate.\n\n@param string $tag", "docstring_tokens": ["Adds", "tag", "to", "invalidate", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Listener/TaggedEntityListener.php#L114-L119", "partition": "test"} +{"repo": "sasedev/commons-shared-bundle", "path": "src/Sasedev/Commons/SharedBundle/Model/BaseUser.php", "func_name": "BaseUser.choiceSexe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Choice Form sexe\n\n@return multitype:string", "docstring_tokens": ["Choice", "Form", "sexe"], "sha": "c9fe125df0345b6f448342750effa5f166831d5f", "url": "https://github.com/sasedev/commons-shared-bundle/blob/c9fe125df0345b6f448342750effa5f166831d5f/src/Sasedev/Commons/SharedBundle/Model/BaseUser.php#L637-L641", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Callback.php", "func_name": "Zend_Filter_Callback.setCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new callback for this filter\n\n@param unknown_type $callback\n@return unknown", "docstring_tokens": ["Sets", "a", "new", "callback", "for", "this", "filter"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Callback.php#L95-L105", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Callback.php", "func_name": "Zend_Filter_Callback.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the filter per callback\n\n@param mixed $value Options for the set callback\n@return mixed Result from the filter which was callbacked", "docstring_tokens": ["Calls", "the", "filter", "per", "callback"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Callback.php#L135-L150", "partition": "test"} +{"repo": "joegreen88/zf1-component-cache", "path": "src/Zend/Cache/Backend/WinCache.php", "func_name": "Zend_Cache_Backend_WinCache.getFillingPercentage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the filling percentage of the backend storage\n\n@throws Zend_Cache_Exception\n@return int integer between 0 and 100", "docstring_tokens": ["Return", "the", "filling", "percentage", "of", "the", "backend", "storage"], "sha": "f464720c61b7ba6af6835d0b375c87f9efdee06e", "url": "https://github.com/joegreen88/zf1-component-cache/blob/f464720c61b7ba6af6835d0b375c87f9efdee06e/src/Zend/Cache/Backend/WinCache.php#L184-L196", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/SeobilityBehavior.php", "func_name": "SeobilityBehavior.getAllSeobility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all SEO data for model\n@param bool $force if `true`, force get with overwrite current SEO data\n@return array", "docstring_tokens": ["Get", "all", "SEO", "data", "for", "model"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/SeobilityBehavior.php#L48-L52", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/SeobilityBehavior.php", "func_name": "SeobilityBehavior.setSeobility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set SEO data\n@param string[] $values setting values\n@param int $condition SEO data condition for select. Condition =0 for default SEO data", "docstring_tokens": ["Set", "SEO", "data"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/SeobilityBehavior.php#L59-L66", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/SeobilityBehavior.php", "func_name": "SeobilityBehavior.getSeobility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get SEO data\n@param int $condition SEO data condition for get. Default SEO data have condition=0\n@param bool $defaultIfNotFound flag that get default SEO data if not found by condition\n@param int $defaultCondition default SEO data condition for get.\nIf can't get SEO data with this condition will be return empty SEO data\n@return \\string[]", "docstring_tokens": ["Get", "SEO", "data"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/SeobilityBehavior.php#L107-L117", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Converter/ToBool.php", "func_name": "ToBool.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a value into boolean.\n\nStrings like '1', 'true', 'on', 'yes' or 'y' will converted into boolean true\n\n@return boolean", "docstring_tokens": ["Converts", "a", "value", "into", "boolean", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Converter/ToBool.php#L21-L40", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Circle.php", "func_name": "Circle.getOrdinateByAbscissa", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ordinate of a point of the circle by its abscissa\n\ny = sqrt( r^2 - (x - Ox)^2 ) + Oy\n\n@param float $x\n@return float", "docstring_tokens": ["Get", "the", "ordinate", "of", "a", "point", "of", "the", "circle", "by", "its", "abscissa"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Circle.php#L231-L235", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Circle.php", "func_name": "Circle.getAbscissaByOrdinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the abscissa of a point of the circle by its ordinate\n\nx = sqrt( r^2 - (y - Oy)^2 ) + Ox\n\n@param float $y\n@return float", "docstring_tokens": ["Get", "the", "abscissa", "of", "a", "point", "of", "the", "circle", "by", "its", "ordinate"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Circle.php#L245-L249", "partition": "test"} +{"repo": "openwebpresence/owp-framework", "path": "src/OwpPostmark.inc.php", "func_name": "OwpPostmark.attachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add Attachment Method\n\n@method mixed attachment($name, $content, $content_type) Add Attachment Method\n@access public\n@param $name\n@param $content\n@param $content_type\n@return $this", "docstring_tokens": ["Add", "Attachment", "Method"], "sha": "935d555ad835e46301a2a982860c73d5fda4b9fb", "url": "https://github.com/openwebpresence/owp-framework/blob/935d555ad835e46301a2a982860c73d5fda4b9fb/src/OwpPostmark.inc.php#L207-L222", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart.encode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes and returns the email. Also stores\nit in the encoded member variable\n\n@param string $boundary Pre-defined boundary string\n\n@return An associative array containing two elements,\nbody and headers. The headers element is itself\nan indexed array. On error returns PEAR error object.\n@access public", "docstring_tokens": ["Encodes", "and", "returns", "the", "email", ".", "Also", "stores", "it", "in", "the", "encoded", "member", "variable"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L303-L353", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart.encodeToFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes and saves the email into file. File must exist.\nData will be appended to the file.\n\n@param string $filename Output file location\n@param string $boundary Pre-defined boundary string\n@param boolean $skip_head True if you don't want to save headers\n\n@return array An associative array containing message headers\nor PEAR error object\n@access public\n@since 1.6.0", "docstring_tokens": ["Encodes", "and", "saves", "the", "email", "into", "file", ".", "File", "must", "exist", ".", "Data", "will", "be", "appended", "to", "the", "file", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L368-L394", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart._encodePartToFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes given email part into file\n\n@param string $fh Output file handle\n@param string $boundary Pre-defined boundary string\n@param boolean $skip_head True if you don't want to save headers\n\n@return array True on sucess or PEAR error object\n@access private", "docstring_tokens": ["Encodes", "given", "email", "part", "into", "file"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L406-L449", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a subpart to current mime part and returns\na reference to it\n\n@param string $body The body of the subpart, if any.\n@param array $params The parameters for the subpart, same\nas the $params argument for constructor.\n\n@return Mail_mimePart A reference to the part you just added. In PHP4, it is\ncrucial if using multipart/* in your subparts that\nyou use =& in your script when calling this function,\notherwise you will not be able to add further subparts.\n@access public", "docstring_tokens": ["Adds", "a", "subpart", "to", "current", "mime", "part", "and", "returns", "a", "reference", "to", "it"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L465-L469", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart._quotedPrintableEncode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes data to quoted-printable standard.\n\n@param string $input The data to encode\n@param int $line_max Optional max line length. Should\nnot be more than 76 chars\n\n@return string Encoded data\n\n@access private", "docstring_tokens": ["Encodes", "data", "to", "quoted", "-", "printable", "standard", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L588-L648", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart._buildHeaderParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes the parameter of a header.\n\n@param string $name The name of the header-parameter\n@param string $value The value of the paramter\n@param string $charset The characterset of $value\n@param string $language The language used in $value\n@param string $encoding Parameter encoding. If not set, parameter value\nis encoded according to RFC2231\n@param int $maxLength The maximum length of a line. Defauls to 75\n\n@return string\n\n@access private", "docstring_tokens": ["Encodes", "the", "parameter", "of", "a", "header", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L665-L725", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart._buildRFC2047Param", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes header parameter as per RFC2047 if needed\n\n@param string $name The parameter name\n@param string $value The parameter value\n@param string $charset The parameter charset\n@param string $encoding Encoding type (quoted-printable or base64)\n@param int $maxLength Encoded parameter max length. Default: 76\n\n@return string Parameter line\n@access private", "docstring_tokens": ["Encodes", "header", "parameter", "as", "per", "RFC2047", "if", "needed"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L739-L795", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart._explodeQuotedString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Explode quoted string\n\n@param string $delimiter Delimiter expression string for preg_match()\n@param string $string Input string\n\n@return array String tokens array\n@access private", "docstring_tokens": ["Explode", "quoted", "string"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L949-L967", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart.encodeHeaderValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes a header value as per RFC2047\n\n@param string $value The header data to encode\n@param string $charset Character set name\n@param string $encoding Encoding name (base64 or quoted-printable)\n@param int $prefix_len Prefix length. Default: 0\n@param string $eol End-of-line sequence. Default: \"\\r\\n\"\n\n@return string Encoded header data\n@access public\n@since 1.6.1", "docstring_tokens": ["Encodes", "a", "header", "value", "as", "per", "RFC2047"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L982-L1071", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mimePart.php", "func_name": "Mail_mimePart.encodeMB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes the given string using base64 or quoted-printable.\nThis method makes sure that encoded-word represents an integral\nnumber of characters as per RFC2047.\n\n@param string $str String to encode\n@param string $charset Character set name\n@param string $encoding Encoding name (base64 or quoted-printable)\n@param int $prefix_len Prefix length. Default: 0\n@param string $eol End-of-line sequence. Default: \"\\r\\n\"\n\n@return string Encoded string\n@access public\n@since 1.8.0", "docstring_tokens": ["Encodes", "the", "given", "string", "using", "base64", "or", "quoted", "-", "printable", ".", "This", "method", "makes", "sure", "that", "encoded", "-", "word", "represents", "an", "integral", "number", "of", "characters", "as", "per", "RFC2047", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mimePart.php#L1112-L1199", "partition": "test"} +{"repo": "hamjoint/mustard-messaging", "path": "src/lib/Http/Controllers/AdminController.php", "func_name": "AdminController.getMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the admin messages view.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Return", "the", "admin", "messages", "view", "."], "sha": "1f778fe675fe53244e4ec0b03575dd3beebfd88b", "url": "https://github.com/hamjoint/mustard-messaging/blob/1f778fe675fe53244e4ec0b03575dd3beebfd88b/src/lib/Http/Controllers/AdminController.php#L35-L49", "partition": "test"} +{"repo": "szonov/text-source", "path": "src/FilePointer.php", "func_name": "FilePointer.getLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get one line\n\n@return bool|string", "docstring_tokens": ["Get", "one", "line"], "sha": "d6d45262584b65adaed4a23378e7dc75210777a1", "url": "https://github.com/szonov/text-source/blob/d6d45262584b65adaed4a23378e7dc75210777a1/src/FilePointer.php#L55-L58", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Dropdown.php", "func_name": "Dropdown.renderItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders menu items.\n@param array $items the menu items to be rendered\n@param array $options the container HTML attributes\n@return string the rendering result.\n@throws InvalidConfigException if the label option is not specified in one of the items.", "docstring_tokens": ["Renders", "menu", "items", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Dropdown.php#L87-L123", "partition": "test"} +{"repo": "stonedz/pff2-annotations", "path": "src/Pff2Annotations.php", "func_name": "Pff2Annotations.doBefore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes actions before the Controller\n\n@return mixed", "docstring_tokens": ["Executes", "actions", "before", "the", "Controller"], "sha": "0765d8c68f4f3da92d38f1cdef3d29843cf3b1bb", "url": "https://github.com/stonedz/pff2-annotations/blob/0765d8c68f4f3da92d38f1cdef3d29843cf3b1bb/src/Pff2Annotations.php#L40-L44", "partition": "test"} +{"repo": "joegreen88/zf1-component-cache", "path": "src/Zend/Cache/Core.php", "func_name": "Zend_Cache_Core.setOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Public frontend to set an option\n\nThere is an additional validation (relatively to the protected _setOption method)\n\n@param string $name Name of the option\n@param mixed $value Value of the option\n@throws Zend_Cache_Exception\n@return void", "docstring_tokens": ["Public", "frontend", "to", "set", "an", "option"], "sha": "f464720c61b7ba6af6835d0b375c87f9efdee06e", "url": "https://github.com/joegreen88/zf1-component-cache/blob/f464720c61b7ba6af6835d0b375c87f9efdee06e/src/Zend/Cache/Core.php#L211-L227", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/Inflector.php", "func_name": "Inflector.slug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string with all spaces converted to given replacement,\nnon word characters removed and the rest of characters transliterated.\n\nIf intl extension isn't available uses fallback that converts latin characters only\nand removes the rest. You may customize characters map via $transliteration property\nof the helper.\n\n@param string $string An arbitrary string to convert\n@param string $replacement The replacement to use for spaces\n@param bool $lowercase whether to return the string in lowercase or not. Defaults to `true`.\n@return string The converted string.\n@see \\Reaction\\Helpers\\Inflector::slug()", "docstring_tokens": ["Returns", "a", "string", "with", "all", "spaces", "converted", "to", "given", "replacement", "non", "word", "characters", "removed", "and", "the", "rest", "of", "characters", "transliterated", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/Inflector.php#L173-L176", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/Inflector.php", "func_name": "Inflector.sentence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a list of words into a sentence.\n\nSpecial treatment is done for the last few words. For example,\n\n```php\n$words = ['Spain', 'France'];\necho Inflector::sentence($words);\n// output: Spain and France\n\n$words = ['Spain', 'France', 'Italy'];\necho Inflector::sentence($words);\n// output: Spain, France and Italy\n\n$words = ['Spain', 'France', 'Italy'];\necho Inflector::sentence($words, ' & ');\n// output: Spain, France & Italy\n```\n\n@param array $words the words to be converted into an string\n@param string $twoWordsConnector the string connecting words when there are only two\n@param string $lastWordConnector the string connecting the last two words. If this is null, it will\ntake the value of `$twoWordsConnector`.\n@param string $connector the string connecting words other than those connected by\n$lastWordConnector and $twoWordsConnector\n@return string the generated sentence\n@see \\Reaction\\Helpers\\Inflector::sentence()", "docstring_tokens": ["Converts", "a", "list", "of", "words", "into", "a", "sentence", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/Inflector.php#L256-L259", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/Flickr/Gallery.php", "func_name": "Gallery.extractGalleryArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts the data for the object gallery from the array data given, normalizes them and returns them.\n\n@param object $data\n@return array|null", "docstring_tokens": ["Extracts", "the", "data", "for", "the", "object", "gallery", "from", "the", "array", "data", "given", "normalizes", "them", "and", "returns", "them", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/Flickr/Gallery.php#L106-L132", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Adapter/AbstractAdapter.php", "func_name": "AbstractAdapter.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates whether the session is valid.\n\n@param mixed $session\n\n@return bool", "docstring_tokens": ["Indicates", "whether", "the", "session", "is", "valid", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Adapter/AbstractAdapter.php#L111-L114", "partition": "test"} +{"repo": "versatilelibs/laravel-html", "path": "src/Bootstrap/Bootstrap.php", "func_name": "Bootstrap.getFieldError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the first error for a given field, using the provided\nformat, defaulting to the normal Bootstrap 3 format.\n\n@param string $field\n@param string $format\n@return mixed", "docstring_tokens": ["Get", "the", "first", "error", "for", "a", "given", "field", "using", "the", "provided", "format", "defaulting", "to", "the", "normal", "Bootstrap", "3", "format", "."], "sha": "e48dd224aa198cec50a74a8415a48cf138a936af", "url": "https://github.com/versatilelibs/laravel-html/blob/e48dd224aa198cec50a74a8415a48cf138a936af/src/Bootstrap/Bootstrap.php#L1052-L1071", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/Cookie.php", "func_name": "Cookie.setSameSite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set whether the cookie will be available for cross-site requests.\n\n@param string $sameSite\n\n@throws \\Valkyrja\\Http\\Exceptions\\InvalidSameSiteTypeException\n\n@return \\Valkyrja\\HttpMessage\\Cookie", "docstring_tokens": ["Set", "whether", "the", "cookie", "will", "be", "available", "for", "cross", "-", "site", "requests", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/Cookie.php#L411-L422", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Archive/Archive.php", "func_name": "Archive.cleanAndAddHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean Crowdin translations and add a header", "docstring_tokens": ["Clean", "Crowdin", "translations", "and", "add", "a", "header"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Archive/Archive.php#L184-L199", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ClassFinderHelper.php", "func_name": "ClassFinderHelper.findClassesPsr4", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find class names inside given namespace\n@param string|array $namespace\n@param bool $recursively Search recursively is namespace directory\n@param bool $withoutAutoload Do not check class names through 'class_exist(name, true)'\n@return array", "docstring_tokens": ["Find", "class", "names", "inside", "given", "namespace"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ClassFinderHelper.php#L23-L70", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ClassFinderHelper.php", "func_name": "ClassFinderHelper.getNamespacePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get namespace directory path\n@param string $namespace\n@param bool $first\n@return array|mixed|null|string", "docstring_tokens": ["Get", "namespace", "directory", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ClassFinderHelper.php#L78-L107", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ClassFinderHelper.php", "func_name": "ClassFinderHelper.getNamespacePaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get possible namespace paths\n@param string $namespace\n@return array|mixed", "docstring_tokens": ["Get", "possible", "namespace", "paths"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ClassFinderHelper.php#L114-L146", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ClassFinderHelper.php", "func_name": "ClassFinderHelper.getNamespacePrefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Explode namespace to possible prefixes\n@param string $namespace\n@return array", "docstring_tokens": ["Explode", "namespace", "to", "possible", "prefixes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ClassFinderHelper.php#L153-L167", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ClassFinderHelper.php", "func_name": "ClassFinderHelper.getLoaderPrefixes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get prefixes from loader\n@return array", "docstring_tokens": ["Get", "prefixes", "from", "loader"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ClassFinderHelper.php#L173-L188", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.updateSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the key in the session.\nThe filters are merged with the defaults as well as the data for\nthis \"filter\" in the session.", "docstring_tokens": ["Sets", "the", "key", "in", "the", "session", ".", "The", "filters", "are", "merged", "with", "the", "defaults", "as", "well", "as", "the", "data", "for", "this", "filter", "in", "the", "session", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L131-L148", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.mergeSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merges the passed array with the session data and updates the session.\n\n@param array $newValues The values in the session to replace.", "docstring_tokens": ["Merges", "the", "passed", "array", "with", "the", "session", "data", "and", "updates", "the", "session", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L155-L162", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.getSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all or a single key from the session.\n\n@param string $key The session key to retrieve or null for the entire session.\n\n@return mixed|null", "docstring_tokens": ["Gets", "all", "or", "a", "single", "key", "from", "the", "session", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L171-L183", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.pageFromQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current page from the query.\nIf the page is not set, it will return page 1.\n\n@return int", "docstring_tokens": ["Returns", "the", "current", "page", "from", "the", "query", ".", "If", "the", "page", "is", "not", "set", "it", "will", "return", "page", "1", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L191-L200", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the query string based on the filters and page in the session.\n\n@return string", "docstring_tokens": ["Returns", "the", "query", "string", "based", "on", "the", "filters", "and", "page", "in", "the", "session", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L207-L215", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.getFiltersAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the filters from the session as an array,\npossibly multi dimensional.\nIt will try to\n\n@return array", "docstring_tokens": ["Retrieves", "the", "filters", "from", "the", "session", "as", "an", "array", "possibly", "multi", "dimensional", ".", "It", "will", "try", "to"], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L224-L249", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.createForm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the filter form and pulls the filter values from request.\n\n@param array $formOptions Options to pass to the form.\n@return \\Symfony\\Component\\Form\\FormInterface", "docstring_tokens": ["Creates", "the", "filter", "form", "and", "pulls", "the", "filter", "values", "from", "request", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L270-L284", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.storeResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stores the full list of record IDs in the session.\n\n@param \\Doctrine\\ORM\\QueryBuilder $idOnlyQb The query builder\n\n@return void", "docstring_tokens": ["Stores", "the", "full", "list", "of", "record", "IDs", "in", "the", "session", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L293-L300", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.getPagination", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the configured KNP Paginator instance.\n\n@param \\Doctrine\\ORM\\Query $query The query\n\n@return \\Knp\\Component\\Pager\\Pagination\\PaginationInterface", "docstring_tokens": ["Returns", "the", "configured", "KNP", "Paginator", "instance", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L309-L318", "partition": "test"} +{"repo": "xmmedia/XMFilterBundle", "path": "Component/FilterComponent.php", "func_name": "FilterComponent.prevNext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the previous and next IDs in the record list.\nReturns an array with the first key as the previous\nand second key as the next system ID.\nEither key can be NULL if there is no previous or next.\n\n@param int $currentRecordId The current record ID\n\n@return array", "docstring_tokens": ["Finds", "the", "previous", "and", "next", "IDs", "in", "the", "record", "list", ".", "Returns", "an", "array", "with", "the", "first", "key", "as", "the", "previous", "and", "second", "key", "as", "the", "next", "system", "ID", ".", "Either", "key", "can", "be", "NULL", "if", "there", "is", "no", "previous", "or", "next", "."], "sha": "7be3f2c72c31ed881dad8b04d8edd36122163553", "url": "https://github.com/xmmedia/XMFilterBundle/blob/7be3f2c72c31ed881dad8b04d8edd36122163553/Component/FilterComponent.php#L330-L346", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Module.php", "func_name": "Module.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all support data in an array.\n\n@return array", "docstring_tokens": ["Gets", "all", "support", "data", "in", "an", "array", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Module.php#L122-L133", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Module.php", "func_name": "Module.addField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Put a field object in the collection.\n\n@param array $args\n@param string $type\n\n@throws InvalidFieldParametersException\n\n@return Field", "docstring_tokens": ["Put", "a", "field", "object", "in", "the", "collection", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Module.php#L145-L152", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Doctrine/DBAL/Tools/Console/Command/AbstractDBALCommand.php", "func_name": "AbstractDBALCommand.processOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Processes input options, sets connection without database selected.\nIf default connection change overrides existing connection helper.\n@param InputInterface $input Console input instance\n@throws \\Doctrine\\DBAL\\DBALException\n@return void", "docstring_tokens": ["Processes", "input", "options", "sets", "connection", "without", "database", "selected", ".", "If", "default", "connection", "change", "overrides", "existing", "connection", "helper", "."], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Doctrine/DBAL/Tools/Console/Command/AbstractDBALCommand.php#L66-L91", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Doctrine/DBAL/Tools/Console/Command/AbstractDBALCommand.php", "func_name": "AbstractDBALCommand.getConnectionParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets connection params\n@param string|null $connectionName Connection name like 'default'\n@return array", "docstring_tokens": ["Gets", "connection", "params"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Doctrine/DBAL/Tools/Console/Command/AbstractDBALCommand.php#L98-L103", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/DatabaseAdapter/SqliteAdapter.php", "func_name": "SqliteAdapter.isInstalled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the database installed\n\n@return bool", "docstring_tokens": ["Is", "the", "database", "installed"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/DatabaseAdapter/SqliteAdapter.php#L85-L89", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Sql/Select.php", "func_name": "Select.getSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an sql string accordingly to the internat database adapter\n\n@throws Exception\\InvalidUsageException\n@return string", "docstring_tokens": ["Return", "an", "sql", "string", "accordingly", "to", "the", "internat", "database", "adapter"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Sql/Select.php#L149-L157", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Sql/Select.php", "func_name": "Select.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the query and return a Zend\\Db\\Resultset\\ResultSet object\n\n@throws Exception\\InvalidUsageException\n@return \\Zend\\Db\\ResultSet\\ResultSet", "docstring_tokens": ["Execute", "the", "query", "and", "return", "a", "Zend", "\\", "Db", "\\", "Resultset", "\\", "ResultSet", "object"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Sql/Select.php#L165-L180", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.getRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a repository instance.\n\n@param string $entity\n\n@return Repository", "docstring_tokens": ["Get", "a", "repository", "instance", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L121-L131", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a model for creation on transaction commit.\n\n@param \\Valkyrja\\ORM\\Entity $entity\n\n@return void", "docstring_tokens": ["Set", "a", "model", "for", "creation", "on", "transaction", "commit", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L152-L157", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a model for saving on transaction commit.\n\n@param Entity $entity\n\n@return void", "docstring_tokens": ["Set", "a", "model", "for", "saving", "on", "transaction", "commit", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L166-L171", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a model previously set for creation or save.\n\n@param \\Valkyrja\\ORM\\Entity $entity The entity instance to remove.\n\n@return bool", "docstring_tokens": ["Remove", "a", "model", "previously", "set", "for", "creation", "or", "save", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L180-L203", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.commit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Commit all items in the transaction.\n\n@throws InvalidArgumentException\n@throws InvalidEntityException\n\n@return bool", "docstring_tokens": ["Commit", "all", "items", "in", "the", "transaction", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L213-L232", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.getStore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a pdo store by name.\n\n@param string|null $name\n\n@throws InvalidArgumentException\n\n@return PDO", "docstring_tokens": ["Get", "a", "pdo", "store", "by", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L255-L266", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.getStoreConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the store config.\n\n@param string|null $name\n\n@throws InvalidArgumentException\n\n@return array", "docstring_tokens": ["Get", "the", "store", "config", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L277-L286", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/NativeEntityManager.php", "func_name": "NativeEntityManager.getStoreFromConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the store from the config.\n\n@param array $config\n\n@return PDO", "docstring_tokens": ["Get", "the", "store", "from", "the", "config", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/NativeEntityManager.php#L295-L309", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Password.php", "func_name": "Password.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the password is valid\n\n@throws InvalidArgumentException If the password is not valid\n\n@param string $password The password to validate\n\n@return void", "docstring_tokens": ["Ensures", "the", "password", "is", "valid"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Password.php#L37-L45", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Request/Accept.php", "func_name": "Accept.from", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse from strings\n\n@param string $accept\n@param string $acceptLanguage\n@param string $acceptEncoding\n@param string $acceptCharset\n\n@return static", "docstring_tokens": ["Parse", "from", "strings"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Request/Accept.php#L104-L112", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Request/Accept.php", "func_name": "Accept.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accept string parsing\n\n@param string $string\n@param string $separator\n@return array", "docstring_tokens": ["Accept", "string", "parsing"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Request/Accept.php#L122-L146", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Request/Accept.php", "func_name": "Accept.compare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare for negociation\n\n@param string $needle\n@param array $haystack\n@return bool", "docstring_tokens": ["Compare", "for", "negociation"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Request/Accept.php#L156-L164", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Earth.php", "func_name": "Earth.earthRadius", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the radius of the Earth at a specific latitude.\n\n@param float $latitude\nThe latitude at which to get the radius of the Earth.\n\n@return float\nThe radius of the Earth at this latitude in meters.", "docstring_tokens": ["Get", "the", "radius", "of", "the", "Earth", "at", "a", "specific", "latitude", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Earth.php#L42-L49", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Earth.php", "func_name": "Earth.convertDecToDMS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a coordinate into Degree Minute Second format.\n\n@param float $coordinate\nThe coordinate in decimal format to convert.\n\n@return array\nAn array with the keys degrees, minutes, and seconds", "docstring_tokens": ["Convert", "a", "coordinate", "into", "Degree", "Minute", "Second", "format", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Earth.php#L60-L76", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Earth.php", "func_name": "Earth.convertDMStoDec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert Degrees Minutes Seconds to Decimal for a coordinate.\n\n@param int $degrees\n@param int $minutes\n@param float $seconds\n\n@return float\nThe coordinate in decimal format.", "docstring_tokens": ["Convert", "Degrees", "Minutes", "Seconds", "to", "Decimal", "for", "a", "coordinate", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Earth.php#L88-L94", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Exception/ErrorException.php", "func_name": "ErrorException.productionRendering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render of a production error\n\n@return string", "docstring_tokens": ["Render", "of", "a", "production", "error"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Exception/ErrorException.php#L90-L95", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Exception/ErrorException.php", "func_name": "ErrorException.debugRendering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render of a debug error\n\n@return string", "docstring_tokens": ["Render", "of", "a", "debug", "error"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Exception/ErrorException.php#L102-L107", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Exception/ErrorException.php", "func_name": "ErrorException.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log the exception in `history.log`\n\n@return void", "docstring_tokens": ["Log", "the", "exception", "in", "history", ".", "log"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Exception/ErrorException.php#L114-L120", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/MessageController.php", "func_name": "MessageController.actionConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a configuration file for the \"extract\" command using command line options specified.\n\nThe generated configuration file contains parameters required\nfor source code messages extraction.\nYou may use this configuration file with the \"extract\" command.\n\n@param RequestApplicationInterface $app\n@param string $filePath output file name or alias.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Creates", "a", "configuration", "file", "for", "the", "extract", "command", "using", "command", "line", "options", "specified", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/MessageController.php#L216-L256", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/MessageController.php", "func_name": "MessageController.actionConfigTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a configuration file template for the \"extract\" command.\n\nThe created configuration file contains detailed instructions on\nhow to customize it to fit for your needs. After customization,\nyou may use this configuration file with the \"extract\" command.\n\n@param RequestApplicationInterface $app\n@param string $filePath output file name or alias.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Creates", "a", "configuration", "file", "template", "for", "the", "extract", "command", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/MessageController.php#L269-L287", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/MessageController.php", "func_name": "MessageController.saveMessagesToPHP", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes messages into PHP files.\n\n@param array $messages\n@param string $dirName name of the directory to write to\n@param bool $overwrite if existing file should be overwritten without backup\n@param bool $removeUnused if obsolete translations should be removed\n@param bool $sort if translations should be sorted\n@param bool $markUnused if obsolete translations should be marked\n@return ExtendedPromiseInterface", "docstring_tokens": ["Writes", "messages", "into", "PHP", "files", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/MessageController.php#L672-L687", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/MessageController.php", "func_name": "MessageController.saveMessagesToPOT", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes messages into POT file.\n\n@param array $messages\n@param string $dirName name of the directory to write to\n@param string $catalog message catalog\n@return ExtendedPromiseInterface", "docstring_tokens": ["Writes", "messages", "into", "POT", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/MessageController.php#L885-L917", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/TimeBuilder.php", "func_name": "TimeBuilder.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Time from an array.\n\n@param array $data The data.\n@return Time", "docstring_tokens": ["Create", "a", "new", "Time", "from", "an", "array", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/TimeBuilder.php#L18-L29", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/TimeBuilder.php", "func_name": "TimeBuilder.fromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new time from a string.\n\n@param string $time The time as a string.\n@return Time\n@throws \\InvalidArgumentException If the passed time is invalid.", "docstring_tokens": ["Create", "a", "new", "time", "from", "a", "string", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/TimeBuilder.php#L38-L56", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/TimeBuilder.php", "func_name": "TimeBuilder.fromDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new time from a date.\n\n@param \\DateTime $date The date.\n@return Time", "docstring_tokens": ["Create", "a", "new", "time", "from", "a", "date", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/TimeBuilder.php#L64-L67", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/TimeBuilder.php", "func_name": "TimeBuilder.fromSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new time from seconds.\n\n@param integer $seconds The seconds.\n@return Time", "docstring_tokens": ["Create", "a", "new", "time", "from", "seconds", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/TimeBuilder.php#L75-L88", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Cache/TagManager.php", "func_name": "TagManager.invalidateTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invalidates tags.\n\n@param mixed $tags", "docstring_tokens": ["Invalidates", "tags", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Cache/TagManager.php#L62-L75", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Cache/TagManager.php", "func_name": "TagManager.flush", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flushes the tag manager.", "docstring_tokens": ["Flushes", "the", "tag", "manager", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Cache/TagManager.php#L100-L111", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Cache/TagManager.php", "func_name": "TagManager.encodeTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes the tags.\n\n@param mixed $tags\n@return array", "docstring_tokens": ["Encodes", "the", "tags", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Cache/TagManager.php#L128-L143", "partition": "test"} +{"repo": "mvalim/package-utils", "path": "src/Publishers/Config.php", "func_name": "Config.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the resources if needed\n\n@return String", "docstring_tokens": ["Register", "the", "resources", "if", "needed"], "sha": "d065feeee2730bbefc91172003c322a937f5ce88", "url": "https://github.com/mvalim/package-utils/blob/d065feeee2730bbefc91172003c322a937f5ce88/src/Publishers/Config.php#L27-L49", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Cookies.php", "func_name": "Cookies.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array with all cookies.\n\n@param bool $asString [optional] Get the cookies as a string?\n\n@return \\Valkyrja\\Http\\Cookie[]", "docstring_tokens": ["Returns", "an", "array", "with", "all", "cookies", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Cookies.php#L39-L59", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Cookies.php", "func_name": "Cookies.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a response cookie.\n\n@param Cookie $cookie The cookie object\n\n@return \\Valkyrja\\Http\\Cookies", "docstring_tokens": ["Set", "a", "response", "cookie", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Cookies.php#L68-L73", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Cookies.php", "func_name": "Cookies.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a cookie from the array, but does not unset it in the browser.\n\n@param string $name Cookie name\n@param string $path [optional] Cookie path\n@param string $domain [optional] Cookie domain\n\n@return \\Valkyrja\\Http\\Cookies", "docstring_tokens": ["Removes", "a", "cookie", "from", "the", "array", "but", "does", "not", "unset", "it", "in", "the", "browser", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Cookies.php#L84-L99", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Frontend/CLI.php", "func_name": "PEAR_Frontend_CLI.confirmDialog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ask for user input, confirm the answers and continue until the user is satisfied\n@param array an array of arrays, format array('name' => 'paramname', 'prompt' =>\n'text to display', 'type' => 'string'[, default => 'default value'])\n@return array", "docstring_tokens": ["Ask", "for", "user", "input", "confirm", "the", "answers", "and", "continue", "until", "the", "user", "is", "satisfied"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Frontend/CLI.php#L256-L282", "partition": "test"} +{"repo": "FlexPress/component-post-type", "path": "src/FlexPress/Components/PostType/AbstractPostType.php", "func_name": "AbstractPostType.getLabels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the labels used in the args\n\n@return array\n@author Tim Perry", "docstring_tokens": ["Gets", "the", "labels", "used", "in", "the", "args"], "sha": "de568992941d63b79b3757ee2e7174a8b7a8592d", "url": "https://github.com/FlexPress/component-post-type/blob/de568992941d63b79b3757ee2e7174a8b7a8592d/src/FlexPress/Components/PostType/AbstractPostType.php#L61-L81", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubControllerHooks.php", "func_name": "LivePubControllerHooks.WrappedSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns a viewable wrapper around the session", "docstring_tokens": ["returns", "a", "viewable", "wrapper", "around", "the", "session"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubControllerHooks.php#L43-L49", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTablePrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the primary key for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return Constraint|null table primary key, `null` if the table has no primary key.", "docstring_tokens": ["Obtains", "the", "primary", "key", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L94-L97", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTableForeignKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the foreign keys information for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return ForeignKeyConstraint[] table foreign keys.", "docstring_tokens": ["Obtains", "the", "foreign", "keys", "information", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L118-L121", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTableIndexes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the indexes information for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return IndexConstraint[] table indexes.", "docstring_tokens": ["Obtains", "the", "indexes", "information", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L142-L145", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTableUniques", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the unique constraints information for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return Constraint[] table unique constraints.", "docstring_tokens": ["Obtains", "the", "unique", "constraints", "information", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L166-L169", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTableChecks", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the check constraints information for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return CheckConstraint[] table check constraints.", "docstring_tokens": ["Obtains", "the", "check", "constraints", "information", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L190-L193", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Constraints/ConstraintFinderTrait.php", "func_name": "ConstraintFinderTrait.getTableDefaultValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtains the default value constraints information for the named table.\n@param string $name table name. The table name may contain schema name if any. Do not quote the table name.\n@param bool $refresh whether to reload the information even if it is found in the cache.\n@return DefaultValueConstraint[] table default value constraints.", "docstring_tokens": ["Obtains", "the", "default", "value", "constraints", "information", "for", "the", "named", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Constraints/ConstraintFinderTrait.php#L214-L217", "partition": "test"} +{"repo": "amulen/settings-bundle", "path": "src/Amulen/SettingsBundle/Model/Repository/ParameterRepository.php", "func_name": "ParameterRepository.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a setting value.\n\n@param $key string\n@return string|null", "docstring_tokens": ["Get", "a", "setting", "value", "."], "sha": "658e3f3e2e071cfcdd8b8e725326a916caf36c6c", "url": "https://github.com/amulen/settings-bundle/blob/658e3f3e2e071cfcdd8b8e725326a916caf36c6c/src/Amulen/SettingsBundle/Model/Repository/ParameterRepository.php#L35-L38", "partition": "test"} +{"repo": "SmarchSoftware/omac", "path": "src/OmacTrait.php", "func_name": "OmacTrait.checkAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Will check user access depending on the driver being used.\nDefaults to using laravel Auth Guard driver\n\n@param [string] $permission\tNecessary permission to check\n@param [mixed] $arguments\tAdditional arguments to pass\n@return [boolean]", "docstring_tokens": ["Will", "check", "user", "access", "depending", "on", "the", "driver", "being", "used", ".", "Defaults", "to", "using", "laravel", "Auth", "Guard", "driver"], "sha": "d853b2f9adfbfa176324048e662da20d921cd1df", "url": "https://github.com/SmarchSoftware/omac/blob/d853b2f9adfbfa176324048e662da20d921cd1df/src/OmacTrait.php#L24-L31", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.distinct", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Toggle the DISTINCT flag in a SELECT query.\n\n@param bool $enable\n@return self", "docstring_tokens": ["Toggle", "the", "DISTINCT", "flag", "in", "a", "SELECT", "query", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L53-L59", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the columns for the SELECT query.\n\n@param string $column\n@return self", "docstring_tokens": ["Set", "the", "columns", "for", "the", "SELECT", "query", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L67-L73", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L96-L102", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.innerJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a INNER JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "INNER", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L111-L117", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.leftJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a LEFT JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "LEFT", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L126-L132", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.leftOuterJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a LEFT OUTER JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "LEFT", "OUTER", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L141-L147", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.rightJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a RIGHT JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "RIGHT", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L156-L162", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.outerJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a OUTER JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "OUTER", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L171-L177", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.fullOuterJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup a FULL OUTER JOIN table.\n\n@param string $table\n@param array $on\n@return self", "docstring_tokens": ["Setup", "a", "FULL", "OUTER", "JOIN", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L186-L192", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.groupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set grouping fields to the query.\n\n@param string $field\n@return self", "docstring_tokens": ["Set", "grouping", "fields", "to", "the", "query", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L200-L206", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.andHaving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add AND conditions for groups in HAVING clauses.\n\nNOTE: Placeholders in HAVING clauses don't work with SQLite, according to\nthe PHP bug referenced in the @see tag below.\n\n@param array $conditions\n@return self\n@see https://bugs.php.net/bug.php?id=60281", "docstring_tokens": ["Add", "AND", "conditions", "for", "groups", "in", "HAVING", "clauses", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L236-L246", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.orHaving", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add OR conditions for groups in HAVING clauses.\n\nNOTE: Placeholders in HAVING clauses don't work with SQLite, according to\nthe PHP bug referenced in the @see tag below.\n\n@param array $conditions\n@return self\n@see https://bugs.php.net/bug.php?id=60281", "docstring_tokens": ["Add", "OR", "conditions", "for", "groups", "in", "HAVING", "clauses", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L258-L268", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.orderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup fields for the ORDER BY clause.\n\n@param string $field\n@return self", "docstring_tokens": ["Setup", "fields", "for", "the", "ORDER", "BY", "clause", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L276-L282", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a LIMIT and optional OFFSET.\n\n@param int $limit\n@param int|null $offset\n@return self", "docstring_tokens": ["Set", "a", "LIMIT", "and", "optional", "OFFSET", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L291-L301", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.offset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an OFFSET to the LIMIT clause.\n\n@param int $offset\n@return self", "docstring_tokens": ["Set", "an", "OFFSET", "to", "the", "LIMIT", "clause", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L309-L315", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/SelectQuery.php", "func_name": "SelectQuery.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the SELECT query.\n\n@return null", "docstring_tokens": ["Build", "the", "SELECT", "query", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/SelectQuery.php#L322-L394", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Twig/UiExtension.php", "func_name": "UiExtension.renderLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the link.\n\n@param $href\n@param string $label\n@param array $options\n@param array $attributes\n@return string", "docstring_tokens": ["Renders", "the", "link", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Twig/UiExtension.php#L134-L140", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Twig/UiExtension.php", "func_name": "UiExtension.renderButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the button.\n\n@param string $label\n@param array $options\n@param array $attributes\n@return string\n@throws \\InvalidArgumentException", "docstring_tokens": ["Renders", "the", "button", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Twig/UiExtension.php#L151-L188", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Twig/UiExtension.php", "func_name": "UiExtension.renderLocaleSwitcher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the locale switcher.\n\n@param array $attributes\n@return string", "docstring_tokens": ["Renders", "the", "locale", "switcher", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Twig/UiExtension.php#L209-L225", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Line.php", "func_name": "Line.__equationToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write an algebraic function of the line\n\ny = (a * x) + b\n\n@return string", "docstring_tokens": ["Write", "an", "algebraic", "function", "of", "the", "line"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Line.php#L92-L106", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Line.php", "func_name": "Line.getOrdinateByAbscissa", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ordinate of a point of the line by its abscissa\n\n@param float $x\n@return float", "docstring_tokens": ["Get", "the", "ordinate", "of", "a", "point", "of", "the", "line", "by", "its", "abscissa"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Line.php#L262-L268", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Line.php", "func_name": "Line.getAbscissaByOrdinate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the abscissa of a point of the line by its ordinate\n\n@param float $y\n@return float", "docstring_tokens": ["Get", "the", "abscissa", "of", "a", "point", "of", "the", "line", "by", "its", "ordinate"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Line.php#L276-L282", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.findOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a record by primary key, throw a NotFoundException if record does not exists\n\n@param integer|string|array $id\n\n@throws Exception\\NotFoundException\n@throws Exception\\InvalidArgumentException when the id is not valid\n@throws Exception\\PrimaryKeyNotFoundException\n\n@return Record", "docstring_tokens": ["Find", "a", "record", "by", "primary", "key", "throw", "a", "NotFoundException", "if", "record", "does", "not", "exists"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L146-L153", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.findOneByOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a record by unique key and trhow an exception id record cannot be found\n\n@param Where|\\Closure|string|array|Predicate\\PredicateInterface $predicate\n@param string $combination One of the OP_* constants from Predicate\\PredicateSet\n\n@throws Exception\\NotFoundException when the record is not found\n@throws Exception\\ColumnNotFoundException when a column in the predicate does not exists\n@throws Exception\\MultipleMatchesException when more than one record match the predicate\n@throws Exception\\InvalidArgumentException when the predicate is not correct / invalid column\n\n@return Record", "docstring_tokens": ["Find", "a", "record", "by", "unique", "key", "and", "trhow", "an", "exception", "id", "record", "cannot", "be", "found"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L229-L236", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if a record exists\n\n@param integer|string|array $id\n\n@throws Exception\\InvalidArgumentException when the id is invalid\n@throws Exception\\PrimaryKeyNotFoundException\n\n@return boolean", "docstring_tokens": ["Test", "if", "a", "record", "exists"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L284-L292", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.existsBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if a record exists by a predicate\n\n@param Where|\\Closure|string|array|Predicate\\PredicateInterface $predicate\n@param string $combination One of the OP_* constants from Predicate\\PredicateSet\n\n@throws Exception\\InvalidArgumentException when the predicate is not correct\n\n@return boolean", "docstring_tokens": ["Test", "if", "a", "record", "exists", "by", "a", "predicate"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L304-L316", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.deleteBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a record by predicate\n\n@param Where|\\Closure|string|array|Predicate\\PredicateInterface $predicate\n@param string $combination One of the OP_* constants from Predicate\\PredicateSet\n\n@return integer the number of affected rows (can be be influenced by triggers or cascade)", "docstring_tokens": ["Delete", "a", "record", "by", "predicate"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L359-L367", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.deleteOrFail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a record or throw an Exception\n\n@param integer|string|array $id primary key value\n\n@throws Exception\\InvalidArgumentException if $id is not valid\n@throws Exception\\NotFoundException if record does not exists\n\n@return Table", "docstring_tokens": ["Delete", "a", "record", "or", "throw", "an", "Exception"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L379-L386", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update data into table\n\n@param array|ArrayObject $data\n@param Where|\\Closure|string|array|Predicate\\PredicateInterface $predicate\n@param string $combination One of the OP_* constants from Predicate\\PredicateSet\n@param boolean $validate_datatypes ensure all datatype are compatible with column definition\n\n@throws Exception\\InvalidArgumentException\n@throws Exception\\ColumnNotFoundException when $data contains columns that does not exists in table\n@throws Exception\\ForeignKeyException when insertion failed because of an invalid foreign key\n@throws Exception\\DuplicateEntryException when insertion failed because of an invalid foreign key\n@throws Exception\\NotNullException when insertion failed because a column cannot be null\n@throws Exception\\RuntimeException when insertion failed for another reason\n\n@return int number of affected rows", "docstring_tokens": ["Update", "data", "into", "table"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L406-L431", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert data into table\n\n@param array|ArrayObject $data\n@param boolean $validate_datatypes ensure data are compatible with database columns datatypes\n\n@throws Exception\\InvalidArgumentException when data is not an array or an ArrayObject\n@throws Exception\\ColumnNotFoundException when $data contains columns that does not exists in table\n@throws Exception\\ForeignKeyException when insertion failed because of an invalid foreign key\n@throws Exception\\DuplicateEntryException when insertion failed because of an invalid foreign key\n@throws Exception\\NotNullException when insertion failed because a column cannot be null\n@throws Exception\\RuntimeException when insertion failed for another reason\n\n@return Record", "docstring_tokens": ["Insert", "data", "into", "table"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L448-L498", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.relation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return table relation reader\n\n@return Table\\Relation", "docstring_tokens": ["Return", "table", "relation", "reader"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L706-L712", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.getPrimaryKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return table primary keys\n\n@throws Exception\\PrimaryKeyNotFoundException when no pk\n@throws Exception\\RuntimeException when it cannot determine primary key on table\n\n\n@return array", "docstring_tokens": ["Return", "table", "primary", "keys"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L723-L737", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.getPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return primary key, if multiple primary keys found will\nthrow an exception\n\n@throws Exception\\PrimaryKeyNotFoundException when no pk found\n@throws Exception\\MultiplePrimaryKeysFoundException when multiple primary keys found\n@throws Exception\\RuntimeException when it cannot determine primary key on table\n\n@return int|string", "docstring_tokens": ["Return", "primary", "key", "if", "multiple", "primary", "keys", "found", "will", "throw", "an", "exception"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L749-L759", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.getColumnsInformation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return list of table columns\n\n@throws Soluble\\Db\\Metadata\\Exception\\InvalidArgumentException\n@throws Soluble\\Db\\Metadata\\Exception\\ErrorException\n@throws Soluble\\Db\\Metadata\\Exception\\ExceptionInterface\n@throws Soluble\\Db\\Metadata\\Exception\\TableNotFoundException\n\n@return array", "docstring_tokens": ["Return", "list", "of", "table", "columns"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L771-L779", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.executeStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a statement\n\n@todo move to driver if not will only support MySQL\n\n@throws Exception\\ForeignKeyException when insertion failed because of an invalid foreign key\n@throws Exception\\DuplicateEntryException when insertion failed because of an invalid foreign key\n@throws Exception\\NotNullException when insertion failed because a column cannot be null\n@throws Exception\\RuntimeException when insertion failed for another reason\n\n@param string|PreparableSqlInterface $sqlObject\n@return \\Zend\\Db\\Adapter\\Driver\\ResultInterface", "docstring_tokens": ["Execute", "a", "statement"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L825-L874", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.getPrimaryKeyPredicate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return primary key predicate\n\n@param integer|string|array $id\n\n@throws Exception\\InvalidArgumentException\n@throws Exception\\PrimaryKeyNotFoundException\n@return array predicate", "docstring_tokens": ["Return", "primary", "key", "predicate"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L885-L915", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table.php", "func_name": "Table.checkDataColumns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if all columns exists in table\n\n@param array $data\n@throws Exception\\ColumnNotFoundException", "docstring_tokens": ["Check", "if", "all", "columns", "exists", "in", "table"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table.php#L923-L930", "partition": "test"} +{"repo": "coderbyheart/MailChimpBundle", "path": "MailChimp/Api.php", "func_name": "Api.parseAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the content as array.\n\n@param string $content\n\n@return array", "docstring_tokens": ["Parses", "the", "content", "as", "array", "."], "sha": "0d1224b75bd1fb59cb803695f48e390c1d6df5c0", "url": "https://github.com/coderbyheart/MailChimpBundle/blob/0d1224b75bd1fb59cb803695f48e390c1d6df5c0/MailChimp/Api.php#L112-L121", "partition": "test"} +{"repo": "coderbyheart/MailChimpBundle", "path": "MailChimp/Api.php", "func_name": "Api.parseAsObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the content as objects.\n\n@param string $content\n\n@return array", "docstring_tokens": ["Parses", "the", "content", "as", "objects", "."], "sha": "0d1224b75bd1fb59cb803695f48e390c1d6df5c0", "url": "https://github.com/coderbyheart/MailChimpBundle/blob/0d1224b75bd1fb59cb803695f48e390c1d6df5c0/MailChimp/Api.php#L130-L139", "partition": "test"} +{"repo": "coderbyheart/MailChimpBundle", "path": "MailChimp/Api.php", "func_name": "Api.setReturnType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the return type of responses.\n\n@param string $returnType\n\n@return self\n@throws InvalidArgumentException", "docstring_tokens": ["Sets", "the", "return", "type", "of", "responses", "."], "sha": "0d1224b75bd1fb59cb803695f48e390c1d6df5c0", "url": "https://github.com/coderbyheart/MailChimpBundle/blob/0d1224b75bd1fb59cb803695f48e390c1d6df5c0/MailChimp/Api.php#L193-L202", "partition": "test"} +{"repo": "mrgrain/jumpstart-battery", "path": "src/Loader.php", "func_name": "Loader.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the filters and actions with WordPress.\n\n@since 1.0.0", "docstring_tokens": ["Register", "the", "filters", "and", "actions", "with", "WordPress", "."], "sha": "81f1ca9bf21621928d26d286946d3f4cb726cffb", "url": "https://github.com/mrgrain/jumpstart-battery/blob/81f1ca9bf21621928d26d286946d3f4cb726cffb/src/Loader.php#L213-L226", "partition": "test"} +{"repo": "mrgrain/jumpstart-battery", "path": "src/Loader.php", "func_name": "Loader.enqueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a callable to enqueue resources.\n\n@since 1.0.0\n@access protected\n@param $type\n@return callable", "docstring_tokens": ["Create", "a", "callable", "to", "enqueue", "resources", "."], "sha": "81f1ca9bf21621928d26d286946d3f4cb726cffb", "url": "https://github.com/mrgrain/jumpstart-battery/blob/81f1ca9bf21621928d26d286946d3f4cb726cffb/src/Loader.php#L236-L250", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.is", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the type.\n\n@param string $type\n\n@return static", "docstring_tokens": ["Define", "the", "type", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L46-L55", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.named", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the name.\n\n@param string $name\n\n@return static", "docstring_tokens": ["Define", "the", "name", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L64-L73", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the position.\n\n@param string $position\n\n@return static", "docstring_tokens": ["Define", "the", "position", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L82-L91", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.deal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the damage.\n\n@param int $damage\n\n@return static", "docstring_tokens": ["Define", "the", "damage", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L100-L109", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.aim", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the hit level.\n\n@param string $hitLevel\n\n@return static", "docstring_tokens": ["Define", "the", "hit", "level", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L118-L127", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.withMeterGain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the meter gain.\n\n@param int $value\n\n@return static", "docstring_tokens": ["Define", "the", "meter", "gain", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L136-L145", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.withInputs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the inputs.\n\n@param string $inputs\n\n@return static", "docstring_tokens": ["Define", "the", "inputs", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L154-L163", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.addCancel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a cancel ability.\n\n@param MoveInterface $move\n\n@return static", "docstring_tokens": ["Add", "a", "cancel", "ability", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L172-L185", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.startIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the frames required to start.\n\n@param int $frames\n\n@return static", "docstring_tokens": ["Define", "the", "frames", "required", "to", "start", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L194-L202", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.activeDuring", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the frames displaying the move.\n\n@param int $frames\n\n@return static", "docstring_tokens": ["Define", "the", "frames", "displaying", "the", "move", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L211-L219", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.recoverIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the frames required to recover.\n\n@param int $frames\n\n@return static", "docstring_tokens": ["Define", "the", "frames", "required", "to", "recover", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L228-L236", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.advantageOnHit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the difference of frame with the target gets hit to get back to the neutral state.\n\n@param int $frames\n\n@return static", "docstring_tokens": ["Define", "the", "difference", "of", "frame", "with", "the", "target", "gets", "hit", "to", "get", "back", "to", "the", "neutral", "state", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L245-L253", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.advantageOnGuard", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the difference of frame with the target on guard to get back to the neutral state.\n\n@param int $frames\n\n@return static", "docstring_tokens": ["Define", "the", "difference", "of", "frame", "with", "the", "target", "on", "guard", "to", "get", "back", "to", "the", "neutral", "state", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L262-L270", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/MoveBuilder.php", "func_name": "MoveBuilder.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the desired move.\n\n@return MoveInterface", "docstring_tokens": ["Build", "the", "desired", "move", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/MoveBuilder.php#L277-L296", "partition": "test"} +{"repo": "gordonbanderson/silverstripe-notifier", "path": "src/Notify.php", "func_name": "Notify.sendSlackMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Note to self - Slack Webhook URLs have a default channel, but can be configured to send to any\nBackTrace class has an error generator\n\nUse $client->to($channel)->send($message);\n\n@param $message\n@param $channel", "docstring_tokens": ["Note", "to", "self", "-", "Slack", "Webhook", "URLs", "have", "a", "default", "channel", "but", "can", "be", "configured", "to", "send", "to", "any", "BackTrace", "class", "has", "an", "error", "generator"], "sha": "707b5620452ce171955c3b7d08e68af1ac4f5cbd", "url": "https://github.com/gordonbanderson/silverstripe-notifier/blob/707b5620452ce171955c3b7d08e68af1ac4f5cbd/src/Notify.php#L136-L183", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathGenerator.php", "func_name": "NativePathGenerator.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse segments, data, and params into a path.\n\n@param array $segments The segments\n@param array $data [optional] The data\n@param array $params [optional] The params\n\n@throws \\InvalidArgumentException\n\n@return string", "docstring_tokens": ["Parse", "segments", "data", "and", "params", "into", "a", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathGenerator.php#L38-L78", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathGenerator.php", "func_name": "NativePathGenerator.parseData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse data for replacements.\n\n@param array $segments The segments\n@param array $data The data\n@param array $params The params\n@param array $replace The replace array\n@param array $replacements The replacements array\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Parse", "data", "for", "replacements", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathGenerator.php#L93-L140", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathGenerator.php", "func_name": "NativePathGenerator.validateDatum", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a datum.\n\n@param string $key The key\n@param mixed $datum The datum\n@param string $regex The regex\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Validate", "a", "datum", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathGenerator.php#L153-L169", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathGenerator.php", "func_name": "NativePathGenerator.findParamSegment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a segment with a param key.\n\n@param array $segments\n@param string $param\n\n@return string", "docstring_tokens": ["Find", "a", "segment", "with", "a", "param", "key", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathGenerator.php#L179-L190", "partition": "test"} +{"repo": "evervasquez/waygenerator-modificado", "path": "src/Way/Generators/Commands/ResourceGeneratorCommand.php", "func_name": "ResourceGeneratorCommand.callRepository", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call Repository generator if user confirms\n\n@param $resource", "docstring_tokens": ["Call", "Repository", "generator", "if", "user", "confirms"], "sha": "106325112bf12e69ae7612d97f0175b4f2787a34", "url": "https://github.com/evervasquez/waygenerator-modificado/blob/106325112bf12e69ae7612d97f0175b4f2787a34/src/Way/Generators/Commands/ResourceGeneratorCommand.php#L124-L132", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/ClassName.php", "func_name": "ClassName.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the name passed in belongs to a valid class\n\n@throws InvalidArgumentException If the value is not a valid class\n\n@param string $name The value to validate\n\n@return void", "docstring_tokens": ["Ensures", "the", "name", "passed", "in", "belongs", "to", "a", "valid", "class"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/ClassName.php#L37-L43", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/ImageModel.php", "func_name": "ImageModel.isImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns TRUE if the object is an image", "docstring_tokens": ["Returns", "TRUE", "if", "the", "object", "is", "an", "image"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/ImageModel.php#L94-L100", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/ImageModel.php", "func_name": "ImageModel.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Must return the counting of all model objects", "docstring_tokens": ["Must", "return", "the", "counting", "of", "all", "model", "objects"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/ImageModel.php#L229-L235", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Web/RequestHelper.php", "func_name": "RequestHelper.getConsolePathInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get console path info\n@return string", "docstring_tokens": ["Get", "console", "path", "info"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Web/RequestHelper.php#L114-L120", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Web/RequestHelper.php", "func_name": "RequestHelper.getConsoleRouteAndParamsRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves the current request into a route and the associated parameters.\n@return array the first element is the route, and the second is the associated parameters.\n@throws Exception", "docstring_tokens": ["Resolves", "the", "current", "request", "into", "a", "route", "and", "the", "associated", "parameters", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Web/RequestHelper.php#L156-L202", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Uri.php", "func_name": "Uri.withScheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified scheme.\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified scheme.\nImplementations MUST support the schemes \"http\" and \"https\" case\ninsensitively, and MAY accommodate other schemes if required.\nAn empty scheme is equivalent to removing the scheme.\n\n@param string $scheme The scheme to use with the new instance.\n@return UriInterface A new instance with the specified scheme.\n@throws \\InvalidArgumentException for invalid or unsupported schemes.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "scheme", ".", "This", "method", "MUST", "retain", "the", "state", "of", "the", "current", "instance", "and", "return", "an", "instance", "that", "contains", "the", "specified", "scheme", ".", "Implementations", "MUST", "support", "the", "schemes", "http", "and", "https", "case", "insensitively", "and", "MAY", "accommodate", "other", "schemes", "if", "required", ".", "An", "empty", "scheme", "is", "equivalent", "to", "removing", "the", "scheme", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Uri.php#L295-L305", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Uri.php", "func_name": "Uri.withUserInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified user information.\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified user information.\nPassword is optional, but the user information MUST include the\nuser; an empty string for the user is equivalent to removing user\ninformation.\n\n@param string $user The user name to use for authority.\n@param null|string $password The password associated with $user.\n@return UriInterface A new instance with the specified user information.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "user", "information", ".", "This", "method", "MUST", "retain", "the", "state", "of", "the", "current", "instance", "and", "return", "an", "instance", "that", "contains", "the", "specified", "user", "information", ".", "Password", "is", "optional", "but", "the", "user", "information", "MUST", "include", "the", "user", ";", "an", "empty", "string", "for", "the", "user", "is", "equivalent", "to", "removing", "user", "information", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Uri.php#L319-L326", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Uri.php", "func_name": "Uri.withHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified host.\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified host.\nAn empty host value is equivalent to removing the host.\n\n@param string $host The hostname to use with the new instance.\n@return static A new instance with the specified host.\n@throws \\InvalidArgumentException for invalid hostnames.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "host", ".", "This", "method", "MUST", "retain", "the", "state", "of", "the", "current", "instance", "and", "return", "an", "instance", "that", "contains", "the", "specified", "host", ".", "An", "empty", "host", "value", "is", "equivalent", "to", "removing", "the", "host", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Uri.php#L338-L349", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Uri.php", "func_name": "Uri.withPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified port.\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified port.\nImplementations MUST raise an exception for ports outside the\nestablished TCP and UDP port ranges.\nA null value provided for the port is equivalent to removing the port\ninformation.\n\n@param null|int $port The port to use with the new instance; a null value\nremoves the port information.\n@return UriInterface A new instance with the specified port.\n@throws \\InvalidArgumentException for invalid ports.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "port", ".", "This", "method", "MUST", "retain", "the", "state", "of", "the", "current", "instance", "and", "return", "an", "instance", "that", "contains", "the", "specified", "port", ".", "Implementations", "MUST", "raise", "an", "exception", "for", "ports", "outside", "the", "established", "TCP", "and", "UDP", "port", "ranges", ".", "A", "null", "value", "provided", "for", "the", "port", "is", "equivalent", "to", "removing", "the", "port", "information", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Uri.php#L365-L377", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2._queryArrayByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a single query key=value pair into an existing php array\n\n@param string $key query-key\n@param string $value query-value\n@param array $array of existing query variables (if any)\n\n@return mixed", "docstring_tokens": ["Parse", "a", "single", "query", "key", "=", "value", "pair", "into", "an", "existing", "php", "array"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L510-L542", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2._queryArrayByBrackets", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a key-buffer to place value in array\n\n@param string $buffer to consume all keys from\n@param string $value to be set/add\n@param array $array to traverse and set/add value in\n\n@throws Exception\n@return array", "docstring_tokens": ["Parse", "a", "key", "-", "buffer", "to", "place", "value", "in", "array"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L554-L606", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.setQueryVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the query string to the specified variable in the query string.\n\n@param array $array (name => value) array\n\n@return $this", "docstring_tokens": ["Sets", "the", "query", "string", "to", "the", "specified", "variable", "in", "the", "query", "string", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L633-L644", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.setQueryVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the specified variable in the query string.\n\n@param string $name variable name\n@param mixed $value variable value\n\n@return $this", "docstring_tokens": ["Sets", "the", "specified", "variable", "in", "the", "query", "string", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L654-L660", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.getURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string representation of this URL.\n\n@return string", "docstring_tokens": ["Returns", "a", "string", "representation", "of", "this", "URL", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L681-L701", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.normalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes the URL\n\nSee RFC 3986, Section 6. Normalization and Comparison\n\n@link https://tools.ietf.org/html/rfc3986#section-6\n\n@return void", "docstring_tokens": ["Normalizes", "the", "URL"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L756-L802", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an Net_URL2 instance representing an absolute URL relative to\nthis URL.\n\n@param Net_URL2|string $reference relative URL\n\n@throws Exception\n@return $this", "docstring_tokens": ["Returns", "an", "Net_URL2", "instance", "representing", "an", "absolute", "URL", "relative", "to", "this", "URL", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L837-L902", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2._isFragmentOnly", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "URL is fragment-only\n\n@SuppressWarnings(PHPMD.UnusedPrivateMethod)\n@return bool", "docstring_tokens": ["URL", "is", "fragment", "-", "only"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L910-L921", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.getCanonical", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Net_URL2 instance representing the canonical URL of the\ncurrently executing PHP script.\n\n@throws Exception\n@return string", "docstring_tokens": ["Returns", "a", "Net_URL2", "instance", "representing", "the", "canonical", "URL", "of", "the", "currently", "executing", "PHP", "script", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L1007-L1025", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.getRequested", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a Net_URL2 instance representing the URL used to retrieve the\ncurrent request.\n\n@throws Exception\n@return $this", "docstring_tokens": ["Returns", "a", "Net_URL2", "instance", "representing", "the", "URL", "used", "to", "retrieve", "the", "current", "request", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L1044-L1057", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value of the specified option.\n\n@param string $optionName The name of the option to retrieve\n\n@return mixed", "docstring_tokens": ["Returns", "the", "value", "of", "the", "specified", "option", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L1066-L1070", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.buildQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A simple version of http_build_query in userland. The encoded string is\npercentage encoded according to RFC 3986.\n\n@param array $data An array, which has to be converted into\nQUERY_STRING. Anything is possible.\n@param string $separator Separator {@link self::OPTION_SEPARATOR_OUTPUT}\n@param string $key For stacked values (arrays in an array).\n\n@return string", "docstring_tokens": ["A", "simple", "version", "of", "http_build_query", "in", "userland", ".", "The", "encoded", "string", "is", "percentage", "encoded", "according", "to", "RFC", "3986", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L1083-L1104", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Net/URL2.php", "func_name": "Net_URL2.parseUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method uses a regex to parse the url into the designated parts.\n\n@param string $url URL\n\n@return void\n@uses self::$_scheme, self::setAuthority(), self::$_path, self::$_query,\nself::$_fragment\n@see __construct", "docstring_tokens": ["This", "method", "uses", "a", "regex", "to", "parse", "the", "url", "into", "the", "designated", "parts", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Net/URL2.php#L1116-L1135", "partition": "test"} +{"repo": "helionogueir/shell", "path": "core/output/Trace.class.php", "func_name": "Trace.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- Print display trace data in shell\n@param string $text Text show in display\n@param int $tab Nivel tab\n@return null", "docstring_tokens": ["-", "Print", "display", "trace", "data", "in", "shell"], "sha": "208d38d0d1ba046aedb7ca6608c66f8f4d2994b2", "url": "https://github.com/helionogueir/shell/blob/208d38d0d1ba046aedb7ca6608c66f8f4d2994b2/core/output/Trace.class.php#L26-L33", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/TranslationPromise.php", "func_name": "TranslationPromise.translate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Translate message to given language.\nOr suggest language by backtrace\n@param string|null $language\n@return string", "docstring_tokens": ["Translate", "message", "to", "given", "language", ".", "Or", "suggest", "language", "by", "backtrace"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/TranslationPromise.php#L34-L42", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/TranslationPromise.php", "func_name": "TranslationPromise.suggestLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dirty method to suggest translation language", "docstring_tokens": ["Dirty", "method", "to", "suggest", "translation", "language"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/TranslationPromise.php#L60-L76", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/StatedClass/Automated/AutomatedTrait.php", "func_name": "AutomatedTrait.getNewStateList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of all new states.\n\n@return string[]", "docstring_tokens": ["Get", "the", "list", "of", "all", "new", "states", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/StatedClass/Automated/AutomatedTrait.php#L48-L62", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/StatedClass/Automated/AutomatedTrait.php", "func_name": "AutomatedTrait.filterStatesNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To remove canonical states name in the list to avoid error.\n\n@param array $newStateList\n\n@return AutomatedInterface", "docstring_tokens": ["To", "remove", "canonical", "states", "name", "in", "the", "list", "to", "avoid", "error", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/StatedClass/Automated/AutomatedTrait.php#L71-L78", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/StatedClass/Automated/AutomatedTrait.php", "func_name": "AutomatedTrait.switchToNewStates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To enable and disable states according validations rules.\n\n@param string[] $newStateList\n\n@return AutomatedInterface", "docstring_tokens": ["To", "enable", "and", "disable", "states", "according", "validations", "rules", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/StatedClass/Automated/AutomatedTrait.php#L87-L106", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/BudgetCategoryMapper.php", "func_name": "BudgetCategoryMapper.findAllByBudgetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all categories by id.\n\n@param int $budgetId\n@return BudgetCategory[]", "docstring_tokens": ["Get", "all", "categories", "by", "id", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/BudgetCategoryMapper.php#L21-L34", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/SecurityController.php", "func_name": "SecurityController.actionLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the login page.\n\n@return string|Response", "docstring_tokens": ["Displays", "the", "login", "page", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/SecurityController.php#L120-L140", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/SecurityController.php", "func_name": "SecurityController.actionLogout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the user out and then redirects to the homepage.\n\n@return Response", "docstring_tokens": ["Logs", "the", "user", "out", "and", "then", "redirects", "to", "the", "homepage", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/SecurityController.php#L147-L153", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/SecurityController.php", "func_name": "SecurityController.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to connect social account to user.\n\n@param ClientInterface $client", "docstring_tokens": ["Tries", "to", "connect", "social", "account", "to", "user", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/SecurityController.php#L201-L209", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.getParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get build parameter value\n\n@param string $name Parameter name\n\n@return mixed Parameter value\n@access public\n@since 1.6.0", "docstring_tokens": ["Get", "build", "parameter", "value"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L216-L219", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.setHTMLBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a html part to the mail.\n\n@param string $data Either a string or the file name with the\ncontents\n@param bool $isfile A flag that determines whether $data is a\nfilename, or a string(false, default)\n\n@return bool True on success\n@access public", "docstring_tokens": ["Adds", "a", "html", "part", "to", "the", "mail", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L284-L297", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.addHTMLImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an image to the list of embedded images.\n\n@param string $file The image file name OR image data itself\n@param string $c_type The content type\n@param string $name The filename of the image.\nOnly used if $file is the image data.\n@param bool $isfile Whether $file is a filename or not.\nDefaults to true\n@param string $content_id Desired Content-ID of MIME part\nDefaults to generated unique ID\n\n@return bool True on success\n@access public", "docstring_tokens": ["Adds", "an", "image", "to", "the", "list", "of", "embedded", "images", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L326-L363", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.addAttachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a file to the list of attachments.\n\n@param string $file The file name of the file to attach\nor the file contents itself\n@param string $c_type The content type\n@param string $name The filename of the attachment\nOnly use if $file is the contents\n@param bool $isfile Whether $file is a filename or not. Defaults to true\n@param string $encoding The type of encoding to use. Defaults to base64.\nPossible values: 7bit, 8bit, base64 or quoted-printable.\n@param string $disposition The content-disposition of this file\nDefaults to attachment.\nPossible values: attachment, inline.\n@param string $charset The character set of attachment's content.\n@param string $language The language of the attachment\n@param string $location The RFC 2557.4 location of the attachment\n@param string $n_encoding Encoding of the attachment's name in Content-Type\nBy default filenames are encoded using RFC2231 method\nHere you can set RFC2047 encoding (quoted-printable\nor base64) instead\n@param string $f_encoding Encoding of the attachment's filename\nin Content-Disposition header.\n@param string $description Content-Description header\n@param string $h_charset The character set of the headers e.g. filename\nIf not specified, $charset will be used\n@param array $add_headers Additional part headers. Array keys can be in form\nof :\n\n@return mixed True on success or PEAR_Error object\n@access public", "docstring_tokens": ["Adds", "a", "file", "to", "the", "list", "of", "attachments", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L397-L454", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime._file2str", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the contents of the given file name as string\n\n@param string $file_name Path of file to process\n\n@return string Contents of $file_name\n@access private", "docstring_tokens": ["Get", "the", "contents", "of", "the", "given", "file", "name", "as", "string"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L464-L487", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a text subpart to the mimePart object and\nreturns it during the build process.\n\n@param mixed &$obj The object to add the part to, or\nnull if a new object is to be created.\n@param string $text The text to add.\n\n@return object The text mimePart object\n@access private", "docstring_tokens": ["Adds", "a", "text", "subpart", "to", "the", "mimePart", "object", "and", "returns", "it", "during", "the", "build", "process", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L500-L514", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a html subpart to the mimePart object and\nreturns it during the build process.\n\n@param mixed &$obj The object to add the part to, or\nnull if a new object is to be created.\n\n@return object The html mimePart object\n@access private", "docstring_tokens": ["Adds", "a", "html", "subpart", "to", "the", "mimePart", "object", "and", "returns", "it", "during", "the", "build", "process", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L526-L540", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an html image subpart to a mimePart object\nand returns it during the build process.\n\n@param object &$obj The mimePart to add the image to\n@param array $value The image information\n\n@return object The image mimePart object\n@access private", "docstring_tokens": ["Adds", "an", "html", "image", "subpart", "to", "a", "mimePart", "object", "and", "returns", "it", "during", "the", "build", "process", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L620-L639", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an attachment subpart to a mimePart object\nand returns it during the build process.\n\n@param object &$obj The mimePart to add the image to\n@param array $value The attachment information\n\n@return object The image mimePart object\n@access private", "docstring_tokens": ["Adds", "an", "attachment", "subpart", "to", "a", "mimePart", "object", "and", "returns", "it", "during", "the", "build", "process", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L651-L690", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime._encodeHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encodes headers as per RFC2047\n\n@param array $input The header data to encode\n@param array $params Extra build parameters\n\n@return array Encoded data\n@access private", "docstring_tokens": ["Encodes", "headers", "as", "per", "RFC2047"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L1276-L1300", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Mail/mime.php", "func_name": "Mail_mime._checkParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate and set build parameters\n\n@return void\n@access private", "docstring_tokens": ["Validate", "and", "set", "build", "parameters"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Mail/mime.php#L1431-L1461", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Validator.php", "func_name": "Validator.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks a value and sets error message\n@param mixed $value Value to check\n@return boolean True if value is valid and False otherwise", "docstring_tokens": ["Checks", "a", "value", "and", "sets", "error", "message"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Validator.php#L46-L55", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/PhpManager.php", "func_name": "PhpManager.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the application component.\nThis method overrides parent implementation by loading the authorization data\nfrom PHP script.", "docstring_tokens": ["Initializes", "the", "application", "component", ".", "This", "method", "overrides", "parent", "implementation", "by", "loading", "the", "authorization", "data", "from", "PHP", "script", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/PhpManager.php#L82-L89", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/PhpManager.php", "func_name": "PhpManager.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads authorization data from persistent storage.", "docstring_tokens": ["Loads", "authorization", "data", "from", "persistent", "storage", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/PhpManager.php#L729-L778", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/PhpManager.php", "func_name": "PhpManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves authorization data into persistent storage.\n@return ExtendedPromiseInterface when finished", "docstring_tokens": ["Saves", "authorization", "data", "into", "persistent", "storage", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/PhpManager.php#L784-L792", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/PhpManager.php", "func_name": "PhpManager.saveToFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the authorization data to a PHP script file.\n\n@param array $data the authorization data\n@param string $filePath the file path.\n@see loadFromFile()\n@return ExtendedPromiseInterface", "docstring_tokens": ["Saves", "the", "authorization", "data", "to", "a", "PHP", "script", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/PhpManager.php#L818-L827", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeJsonResponse.php", "func_name": "NativeJsonResponse.createJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new json response.\n\n@param string $content [optional] The response content, see setContent()\n@param int $status [optional] The response status code\n@param array $headers [optional] An array of response headers\n@param array $data [optional] An array of data\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Http\\JsonResponse", "docstring_tokens": ["Create", "a", "new", "json", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeJsonResponse.php#L90-L97", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeJsonResponse.php", "func_name": "NativeJsonResponse.setCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the JSONP callback.\n\n@param string $callback [optional] The JSONP callback or null to use none\n\n@throws \\InvalidArgumentException When the callback name is not valid\n\n@return \\Valkyrja\\Http\\JsonResponse", "docstring_tokens": ["Sets", "the", "JSONP", "callback", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeJsonResponse.php#L108-L127", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeJsonResponse.php", "func_name": "NativeJsonResponse.setEncodingOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets options used while encoding data to JSON.\n\n@param int $encodingOptions The encoding options to set\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Http\\JsonResponse", "docstring_tokens": ["Sets", "options", "used", "while", "encoding", "data", "to", "JSON", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeJsonResponse.php#L184-L189", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Error/Controller/Error.php", "func_name": "Error.getLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Main layout template\n\n@param TemplateInterface $template\n@return Template", "docstring_tokens": ["Get", "Main", "layout", "template"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Error/Controller/Error.php#L101-L108", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Category.php", "func_name": "Category.getWordsAsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get words as string.\n\n@return string", "docstring_tokens": ["Get", "words", "as", "string", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Category.php#L100-L108", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Adapter/TableGateaway.php", "func_name": "TableGateaway.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a record.\n\n@param mixed $sessionEntity\n@param array $data\n\n@return mixed", "docstring_tokens": ["Update", "a", "record", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Adapter/TableGateaway.php#L83-L92", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Adapter/TableGateaway.php", "func_name": "TableGateaway.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a record.\n\n@param mixed $sessionEntity\n\n@return mixed", "docstring_tokens": ["Delete", "a", "record", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Adapter/TableGateaway.php#L149-L157", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigPmTrait.php", "func_name": "ConfigPmTrait.configurePMOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure PM options\n@param Command $command", "docstring_tokens": ["Configure", "PM", "options"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigPmTrait.php#L25-L47", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigPmTrait.php", "func_name": "ConfigPmTrait.loadPmConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load config file content\n@param InputInterface $input\n@param OutputInterface $output\n@return array|mixed\n@throws \\Exception", "docstring_tokens": ["Load", "config", "file", "content"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigPmTrait.php#L87-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigPmTrait.php", "func_name": "ConfigPmTrait.getIniMemoryLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get memory_limit directive in bytes\n@return int", "docstring_tokens": ["Get", "memory_limit", "directive", "in", "bytes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigPmTrait.php#L165-L176", "partition": "test"} +{"repo": "RhubarbPHP/Module.Leaf.Crud", "path": "src/Leaves/ModelBoundLeaf.php", "func_name": "ModelBoundLeaf.onModelCreated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides an opportunity for extending classes to modify the model in some way when they themselves are not\ndirectly responsible for the model creation.", "docstring_tokens": ["Provides", "an", "opportunity", "for", "extending", "classes", "to", "modify", "the", "model", "in", "some", "way", "when", "they", "themselves", "are", "not", "directly", "responsible", "for", "the", "model", "creation", "."], "sha": "f33470101614c54110fe13116d4dee2035c209ff", "url": "https://github.com/RhubarbPHP/Module.Leaf.Crud/blob/f33470101614c54110fe13116d4dee2035c209ff/src/Leaves/ModelBoundLeaf.php#L79-L156", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Abstracts/AbstractTool.php", "func_name": "AbstractTool.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The final rendering of the tool\n\n@return string\n@throws \\CarteBlanche\\Exception\\RuntimeException if the rendering is empty", "docstring_tokens": ["The", "final", "rendering", "of", "the", "tool"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Abstracts/AbstractTool.php#L90-L104", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.addPlugin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a plugin to the application\n@param \\Oito\\Micro\\IPlugin $plugin Plugin instance\n@param boolean $autoExecute Auto execute the plugin after adding it?\n@return \\Oito\\Micro\\Application", "docstring_tokens": ["Add", "a", "plugin", "to", "the", "application"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L80-L93", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.config", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a config value\n@param string $key Config key (you can use level1.level2.level3.level4)\n@return mixed", "docstring_tokens": ["Get", "a", "config", "value"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L100-L111", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a route URL\n@param string $name Route name\n@param array $params Route params\n@return string", "docstring_tokens": ["Generate", "a", "route", "URL"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L187-L190", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a GET route\n@param string $route Route path\n@param callable|\\Closure $callable Route callable\n@param string $name Route name\n@param array $events Events to be executed before and/or after this route\n@return \\Oito\\Micro\\Application", "docstring_tokens": ["Create", "a", "GET", "route"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L200-L208", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a HTML response\n@param mixed $content Content to be sent\n@param int $status HTTP response code\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Create", "a", "HTML", "response"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L288-L293", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Application.php", "func_name": "Application.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a REDIRECT response\n@param string $url URL to redirect\n@param int $status HTTP response code\n@return \\Symfony\\Component\\HttpFoundation\\RedirectResponse", "docstring_tokens": ["Create", "a", "REDIRECT", "response"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Application.php#L367-L371", "partition": "test"} +{"repo": "Dhii/iterator-base", "path": "src/PathSegmentsAwareTrait.php", "func_name": "PathSegmentsAwareTrait._setPathSegments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the path segments.\n\n@since [*next-version*]\n\n@param string[]|Stringable[]|Traversable|stdClass $segments A list of path segments.", "docstring_tokens": ["Sets", "the", "path", "segments", "."], "sha": "093438953cb2c83309b412f9fe09211fb1d0abed", "url": "https://github.com/Dhii/iterator-base/blob/093438953cb2c83309b412f9fe09211fb1d0abed/src/PathSegmentsAwareTrait.php#L29-L41", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/ProxyBuilder.php", "func_name": "ProxyBuilder.getProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a proxy object using a fluent interface.\n\n@return object Instance of the proxied class exposing the configured attributes and methods.", "docstring_tokens": ["Creates", "a", "proxy", "object", "using", "a", "fluent", "interface", "."], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/ProxyBuilder.php#L96-L126", "partition": "test"} +{"repo": "lapistano/proxy-object", "path": "src/lapistano/ProxyObject/ProxyBuilder.php", "func_name": "ProxyBuilder.getInstanceOf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Provides an instance of the given class without invoking it's constructor\n\n@param string $classname\n\n@return object", "docstring_tokens": ["Provides", "an", "instance", "of", "the", "given", "class", "without", "invoking", "it", "s", "constructor"], "sha": "d7184a479f502d5a0f96d0bae73566dbb498da8f", "url": "https://github.com/lapistano/proxy-object/blob/d7184a479f502d5a0f96d0bae73566dbb498da8f/src/lapistano/ProxyObject/ProxyBuilder.php#L215-L232", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves all entities.\n\n@param QueryParameters $queryParameters extra query parameters\n@return mixed", "docstring_tokens": ["Retrieves", "all", "entities", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L60-L65", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves certain columns of entities.\n\n@param array $fields\n@param QueryParameters $queryParameters an optional array of query scopes\n@return mixed", "docstring_tokens": ["Retrieves", "certain", "columns", "of", "entities", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L74-L87", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves all entities, by page.\n\n@param int $perPage items per page\n@param QueryParameters $queryParameters an optional array of query scopes\n@param int $currentPage current page that overrides the pagination service\n@return mixed", "docstring_tokens": ["Retrieves", "all", "entities", "by", "page", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L119-L132", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a single entity.\n\n@param integer $id\n@param QueryParameters $queryParameters an optional array of query scopes\n@return object\n@throws NoResultException if no result was found", "docstring_tokens": ["Retrieves", "a", "single", "entity", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L159-L172", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.persist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persists an entity.\n\n@param object $entity\n@param boolean $flush\n@return void", "docstring_tokens": ["Persists", "an", "entity", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L190-L195", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an entity.\n\n@param object $entity\n@param boolean $flush\n@return void", "docstring_tokens": ["Deletes", "an", "entity", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L213-L218", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves the number of records in the table.\n\n@param QueryParameters $queryParameters\n@return integer", "docstring_tokens": ["Retrieves", "the", "number", "of", "records", "in", "the", "table", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L226-L231", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.createSelectQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new QueryBuilder instance that is pre-populated for this entity name.\n\n@param string $alias\n@param string $indexBy The index for the form.\n\n@return QueryBuilder", "docstring_tokens": ["Creates", "a", "new", "QueryBuilder", "instance", "that", "is", "pre", "-", "populated", "for", "this", "entity", "name", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L253-L258", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.applyScopesToQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new QueryBuilder instance that is pre-populated for this entity name.\nApplies scopes to the query builder as well.\n\n@param array $scopes\n@param QueryBuilder $qb\n@throws InvalidArgumentException if the scope was not found\n@return QueryBuilder", "docstring_tokens": ["Creates", "a", "new", "QueryBuilder", "instance", "that", "is", "pre", "-", "populated", "for", "this", "entity", "name", ".", "Applies", "scopes", "to", "the", "query", "builder", "as", "well", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L285-L295", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.applyOrderByToQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Applies the order by request to the query builder.\n\n@param \\Doctrine\\ORM\\QueryBuilder $queryBuilder\n@param array $orderBy\n@param string $alias\n@return \\Doctrine\\ORM\\QueryBuilder", "docstring_tokens": ["Applies", "the", "order", "by", "request", "to", "the", "query", "builder", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L305-L308", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.makeNoResultException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a NoResultException from a QueryBuilder\n\n@param \\Exception $e\n@param \\Doctrine\\ORM\\QueryBuilder $qb\n@return \\Oxygen\\Data\\Exception\\NoResultException", "docstring_tokens": ["Creates", "a", "NoResultException", "from", "a", "QueryBuilder"], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L317-L319", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Repository.php", "func_name": "Repository.replaceQueryParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces placeholders within a given query with the actual values.\nUsed for debugging.\n\n@param $query\n@param $parameters\n@return string", "docstring_tokens": ["Replaces", "placeholders", "within", "a", "given", "query", "with", "the", "actual", "values", ".", "Used", "for", "debugging", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Repository.php#L328-L335", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client.php", "func_name": "Client.addMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a method instance\n\n@param RPC\\Method $method\n@return self The current Process instance", "docstring_tokens": ["Adds", "a", "method", "instance"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client.php#L114-L118", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client.php", "func_name": "Client.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the method with the given name\n\n@param string $name\n@return RPC\\Method", "docstring_tokens": ["Returns", "the", "method", "with", "the", "given", "name"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client.php#L176-L187", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client.php", "func_name": "Client.shutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Stops the main loop and exits the work function\n\n@param string $message optional\n@param boolean", "docstring_tokens": ["Stops", "the", "main", "loop", "and", "exits", "the", "work", "function"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client.php#L238-L251", "partition": "test"} +{"repo": "zodream/http", "path": "src/Header.php", "func_name": "Header.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds new headers the current HTTP headers set.\n\n@param array $headers An array of HTTP headers\n@return $this", "docstring_tokens": ["Adds", "new", "headers", "the", "current", "HTTP", "headers", "set", "."], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Header.php#L170-L175", "partition": "test"} +{"repo": "zodream/http", "path": "src/Header.php", "func_name": "Header.setLink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "HTTP2 server push\n@param $url\n@param $as\n@param null $type\n@param bool $crossorigin\n@param bool $nopush\n@return Header", "docstring_tokens": ["HTTP2", "server", "push"], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Header.php#L432-L448", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/ApiGallery.php", "func_name": "ApiGallery.newRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Object builder to create and use the Http request client.\nIn this case, is set up as default Guzzle Http client.\n\n@param \\RestGalleries\\Http\\RequestAdapter $request\n@return \\RestGalleries\\Http\\RequestAdapter", "docstring_tokens": ["Object", "builder", "to", "create", "and", "use", "the", "Http", "request", "client", ".", "In", "this", "case", "is", "set", "up", "as", "default", "Guzzle", "Http", "client", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/ApiGallery.php#L98-L112", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/ApiGallery.php", "func_name": "ApiGallery.newPhoto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Object builder to create and use the Photo model of a specific service.\n\n@param \\RestGalleries\\Interfaces\\PhotoAdapter $photo\n@return \\RestGalleries\\Interfaces\\PhotoAdapter", "docstring_tokens": ["Object", "builder", "to", "create", "and", "use", "the", "Photo", "model", "of", "a", "specific", "service", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/ApiGallery.php#L120-L133", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/Query/Expr.php", "func_name": "Expr.range", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an instance of range, with the given argument.\n\n@param mixed $val Valued to be inspected by range values.\n@param int $x Starting range value to be used.\n@param int $y End point value to be used.\n\n@return DoctrineExpr\\Andx", "docstring_tokens": ["Creates", "an", "instance", "of", "range", "with", "the", "given", "argument", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/Query/Expr.php#L38-L41", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start new or resume existing session\n\n@link http://www.php.net/manual/en/function.session-start.php", "docstring_tokens": ["Start", "new", "or", "resume", "existing", "session"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L94-L129", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_regenerate_id", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the current session id with a newly generated one\n\n@link http://www.php.net/manual/en/function.session-regenerate-id.php\n\n@param boolean $delete_old_session (optional) Whether to delete the old associated session file or not.\n@return boolean", "docstring_tokens": ["Update", "the", "current", "session", "id", "with", "a", "newly", "generated", "one"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L139-L152", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_write_close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write session data and end session\n\n@link http://www.php.net/manual/en/function.session-write-close.php", "docstring_tokens": ["Write", "session", "data", "and", "end", "session"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L173-L184", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_unset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Free all session variables\n\n@link http://www.php.net/manual/en/function.session-unset.php", "docstring_tokens": ["Free", "all", "session", "variables"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L191-L198", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroys all data registered to a session\n\n@link http://www.php.net/manual/en/function.session-destroy.php\n\n@return boolean", "docstring_tokens": ["Destroys", "all", "data", "registered", "to", "a", "session"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L220-L227", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_decode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes session data from a session encoded string\n\n@link http://www.php.net/manual/en/function.session-decode.php\n@todo implement standard PHP session serailization\n\n@param string $data The encoded data to be stored.\n@return boolean", "docstring_tokens": ["Decodes", "session", "data", "from", "a", "session", "encoded", "string"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L251-L259", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Session.php", "func_name": "Session.session_cache_expire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return current cache expire\n\n@todo review if this is working.\n@link http://www.php.net/manual/en/function.session-cache-expire.php\n\n@param string $new_cache_expire (optional) If new_cache_expire is given, the current cache expire is replaced with new_cache_expire.\n@return string Returns the current setting of session.cache_expire. The value returned should be read in minutes, defaults to 180.", "docstring_tokens": ["Return", "current", "cache", "expire"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Session.php#L328-L334", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/StaticInstanceTrait.php", "func_name": "StaticInstanceTrait.instance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns static class instance, which can be used to obtain meta information.\n@param bool $refresh whether to re-create static instance even, if it is already cached.\n@return static class instance.", "docstring_tokens": ["Returns", "static", "class", "instance", "which", "can", "be", "used", "to", "obtain", "meta", "information", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/StaticInstanceTrait.php#L23-L30", "partition": "test"} +{"repo": "pacificnm/pacificnm-controller", "path": "src/Form/Form.php", "func_name": "Form.getModuleOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "gets module options for select\n\n@return NULL[]", "docstring_tokens": ["gets", "module", "options", "for", "select"], "sha": "d8d1e7177bd6e2fec8e0325b26bb3bb255b97562", "url": "https://github.com/pacificnm/pacificnm-controller/blob/d8d1e7177bd6e2fec8e0325b26bb3bb255b97562/src/Form/Form.php#L106-L119", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the matrix size\n\n@param string $which\n@return int|array", "docstring_tokens": ["Get", "the", "matrix", "size"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L199-L206", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.setWalkFlag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the object's walk flag\n\n@param int $flag\n@param bool $auto_rewind\n@return $this", "docstring_tokens": ["Define", "the", "object", "s", "walk", "flag"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L215-L222", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.setArrayFlag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the object's array access flag\n\n@param int $flag\n@param bool $auto_rewind\n@return $this", "docstring_tokens": ["Define", "the", "object", "s", "array", "access", "flag"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L241-L248", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the matrix contents\n\n@param array $data\n@return void\n@throws InvalidArgumentException if `$data` is not a 2D array", "docstring_tokens": ["Set", "the", "matrix", "contents"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L289-L316", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cell value by index according to matrix's flags\n\n@param string|int $index\n@return mixed|null\n@throws OutOfRangeException if the index is out of range\n@throws InvalidArgumentException if the argument is malformed\n@see self::getX()\n@see self::getY()\n@see self::getXY()\n@see self::getInt()", "docstring_tokens": ["Get", "a", "cell", "value", "by", "index", "according", "to", "matrix", "s", "flags"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L342-L362", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a value by index according to matrix's flags\n\n@param string|int $index\n@param mixed $value\n@return $this\n@throws OutOfRangeException if the index is out of range\n@throws InvalidArgumentException if the argument is malformed\n@see self::setX()\n@see self::setY()\n@see self::setXY()\n@see self::setInt()", "docstring_tokens": ["Set", "a", "value", "by", "index", "according", "to", "matrix", "s", "flags"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L459-L479", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.rewind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rewind a matrix according to its flag value\n\n@return $this\n@see self::rewindX()\n@see self::rewindY()\n@see self::rewindXY()", "docstring_tokens": ["Rewind", "a", "matrix", "according", "to", "its", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L575-L584", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.previous", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go to previous index according to matrix's flag value\n\n@return $this\n@see self::previousX()\n@see self::previousY()\n@see self::previousXY()", "docstring_tokens": ["Go", "to", "previous", "index", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L628-L637", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.previousX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to current `x` less 1\n\n@return $this", "docstring_tokens": ["Seek", "to", "current", "x", "less", "1"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L644-L652", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.previousY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to current `y` less 1\n\n@return $this", "docstring_tokens": ["Seek", "to", "current", "y", "less", "1"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L669-L677", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.previousXY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to previous cell\n\n@return $this", "docstring_tokens": ["Seek", "to", "previous", "cell"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L694-L708", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go to next index according to matrix's flag value\n\n@return $this\n@see self::nextX()\n@see self::nextY()\n@see self::nextXY()", "docstring_tokens": ["Go", "to", "next", "index", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L718-L727", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.nextX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to current `x` plus 1\n\n@return $this", "docstring_tokens": ["Seek", "to", "current", "x", "plus", "1"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L734-L742", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.nextY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to current `y` plus 1\n\n@return $this", "docstring_tokens": ["Seek", "to", "current", "y", "plus", "1"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L759-L767", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.nextXY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Go to next cell\n\n@return $this", "docstring_tokens": ["Go", "to", "next", "cell"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L784-L798", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.seek", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek to index according to matrix's flag value\n\n@param string $index\n@return $this\n@throws OutOfRangeException if the index is out of range\n@throws InvalidArgumentException if the argument is malformed", "docstring_tokens": ["Seek", "to", "index", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L808-L823", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.current", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current value according to matrix's flag value\n\n@return mixed|null\n@see self::currentX()\n@see self::currentY()\n@see self::currentXY()", "docstring_tokens": ["Get", "current", "value", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L941-L950", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.key", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current index according to matrix's flag value\n\n@return string|null\n@see self::keyX()\n@see self::keyY()\n@see self::keyXY()", "docstring_tokens": ["Get", "current", "index", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L994-L1003", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.valid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if current value is valid according to matrix's flag value\n\n@return bool\n@see self::validX()\n@see self::validY()\n@see self::validXY()", "docstring_tokens": ["Test", "if", "current", "value", "is", "valid", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1059-L1068", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.validX", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if current `x` line is valid\n\n@return bool", "docstring_tokens": ["Test", "if", "current", "x", "line", "is", "valid"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1075-L1078", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.validY", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if current `y` column is valid\n\n@return bool", "docstring_tokens": ["Test", "if", "current", "y", "column", "is", "valid"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1085-L1088", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the number of values according to matrix's flag value\n\n@return int\n@see self::countX()\n@see self::countY()\n@see self::countXY()", "docstring_tokens": ["Count", "the", "number", "of", "values", "according", "to", "matrix", "s", "flag", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1110-L1119", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.seekToOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek `x` and `y` to an offset\n\n@param int/string $offset\n@return $this\n@throws OutOfRangeException if the offset is out of range of matrix's indexes", "docstring_tokens": ["Seek", "x", "and", "y", "to", "an", "offset"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1160-L1171", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.seekToOffsetInteger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Seek `x` and `y` to an integer offset\n\n@param int $offset\n@return $this\n@throws OutOfRangeException if the offset is out of range of matrix's indexes", "docstring_tokens": ["Seek", "x", "and", "y", "to", "an", "integer", "offset"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1180-L1197", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.offsetExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if an offset exists\n\n@param int/string $offset\n@return bool", "docstring_tokens": ["Test", "if", "an", "offset", "exists"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1237-L1247", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an offset value\n\n@param int/string $offset\n@return mixed\n@throws Triggers a NOTICE message if the offset is out of range", "docstring_tokens": ["Get", "an", "offset", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1256-L1267", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Algebra/Matrix.php", "func_name": "Matrix.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an offset value\n\n@param int/string $offset\n@param mixed $value\n@return $this\n@throws Triggers a NOTICE message if the offset is out of range", "docstring_tokens": ["Set", "an", "offset", "value"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Algebra/Matrix.php#L1277-L1287", "partition": "test"} +{"repo": "Puzzlout/Objects", "path": "src/Types/Boolean.php", "func_name": "Boolean.IsValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the property value.\n\n@return boolean The result\n@throws InvalidArgumentException", "docstring_tokens": ["Validates", "the", "property", "value", "."], "sha": "482719247d677baf93318171ec7298a0c330abda", "url": "https://github.com/Puzzlout/Objects/blob/482719247d677baf93318171ec7298a0c330abda/src/Types/Boolean.php#L38-L45", "partition": "test"} +{"repo": "dev-lucid/router", "path": "src/php/Router.php", "func_name": "Router.allowViewMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds allowed view methods for an object\n\n@return null", "docstring_tokens": ["Adds", "allowed", "view", "methods", "for", "an", "object"], "sha": "4901094edc545d1532d7d1d832d5e18e9ca7745b", "url": "https://github.com/dev-lucid/router/blob/4901094edc545d1532d7d1d832d5e18e9ca7745b/src/php/Router.php#L184-L193", "partition": "test"} +{"repo": "dev-lucid/router", "path": "src/php/Router.php", "func_name": "Router.allowControllerMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds allowed controller methods for an object\n\n@return null", "docstring_tokens": ["Adds", "allowed", "controller", "methods", "for", "an", "object"], "sha": "4901094edc545d1532d7d1d832d5e18e9ca7745b", "url": "https://github.com/dev-lucid/router/blob/4901094edc545d1532d7d1d832d5e18e9ca7745b/src/php/Router.php#L201-L210", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Query.php", "func_name": "Query.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the main table on which the query operates.\n\nThis is the table that follows UPDATE TABLE, INSERT INTO and\nDELETE FROM.\n\n@param string $table\n@return self", "docstring_tokens": ["Set", "the", "main", "table", "on", "which", "the", "query", "operates", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Query.php#L88-L94", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Query.php", "func_name": "Query.from", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the list of tables on which a SELECT query operates.\n\n@param string $table,...\n@return self", "docstring_tokens": ["Set", "the", "list", "of", "tables", "on", "which", "a", "SELECT", "query", "operates", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Query.php#L102-L108", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Query.php", "func_name": "Query.andWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add conditions for SELECT, UPDATE and DELETE queries with an AND operator.\n\n@param array $conditions\n@return self", "docstring_tokens": ["Add", "conditions", "for", "SELECT", "UPDATE", "and", "DELETE", "queries", "with", "an", "AND", "operator", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Query.php#L130-L145", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Query.php", "func_name": "Query.orWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add conditions for SELECT, UPDATE and DELETE queries with an ON operator.\n\n@param array $conditions\n@return self", "docstring_tokens": ["Add", "conditions", "for", "SELECT", "UPDATE", "and", "DELETE", "queries", "with", "an", "ON", "operator", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Query.php#L153-L168", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Inflector.php", "func_name": "Zend_Filter_Inflector.setStaticRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a static rule for a spec. This is a single string value\n\n@param string $name\n@param string $value\n@return Zend_Filter_Inflector", "docstring_tokens": ["Set", "a", "static", "rule", "for", "a", "spec", ".", "This", "is", "a", "single", "string", "value"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Inflector.php#L422-L427", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Inflector.php", "func_name": "Zend_Filter_Inflector.setStaticRuleReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set Static Rule Reference.\n\nThis allows a consuming class to pass a property or variable\nin to be referenced when its time to build the output string from the\ntarget.\n\n@param string $name\n@param mixed $reference\n@return Zend_Filter_Inflector", "docstring_tokens": ["Set", "Static", "Rule", "Reference", "."], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Inflector.php#L440-L445", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Inflector.php", "func_name": "Zend_Filter_Inflector._getRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve named filters and convert them to filter objects.\n\n@param string $rule\n@return Zend_Filter_Interface", "docstring_tokens": ["Resolve", "named", "filters", "and", "convert", "them", "to", "filter", "objects", "."], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Inflector.php#L508-L524", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/View.php", "func_name": "View.endBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks the ending of an HTML body section.", "docstring_tokens": ["Marks", "the", "ending", "of", "an", "HTML", "body", "section", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/View.php#L157-L165", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/View.php", "func_name": "View.registerJsFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a JS file.\n\nThis method should be used for simple registration of JS files. If you want to use features of\n[[AssetManager]] like appending timestamps to the URL and file publishing options, use [[AssetBundle]]\nand [[registerAssetBundle()]] instead.\n\n@param string $url the JS file to be registered.\n@param array $options the HTML attributes for the script tag. The following options are specially handled\nand are not treated as HTML attributes:\n\n- `depends`: array, specifies the names of the asset bundles that this JS file depends on.\n- `position`: specifies where the JS script tag should be inserted in a page. The possible values are:\n* [[POS_HEAD]]: in the head section\n* [[POS_BEGIN]]: at the beginning of the body section\n* [[POS_END]]: at the end of the body section. This is the default value.\n\nPlease refer to [[Html::jsFile()]] for other supported options.\n\n@param string $key the key that identifies the JS script file. If null, it will use\n$url as the key. If two JS files are registered with the same key at the same position, the latter\nwill overwrite the former. Note that position option takes precedence, thus files registered with the same key,\nbut different position option will not override each other.", "docstring_tokens": ["Registers", "a", "JS", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/View.php#L496-L517", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/View.php", "func_name": "View.registerJsVar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a JS code block defining a variable. The name of variable will be\nused as key, preventing duplicated variable names.\n\n@param string $name Name of the variable\n@param array|string $value Value of the variable\n@param int $position the position in a page at which the JavaScript variable should be inserted.\nThe possible values are:\n\n- [[POS_HEAD]]: in the head section. This is the default value.\n- [[POS_BEGIN]]: at the beginning of the body section.\n- [[POS_END]]: at the end of the body section.\n- [[POS_LOAD]]: enclosed within jQuery(window).load().\nNote that by using this position, the method will automatically register the jQuery js file.\n- [[POS_READY]]: enclosed within jQuery(document).ready().\nNote that by using this position, the method will automatically register the jQuery js file.", "docstring_tokens": ["Registers", "a", "JS", "code", "block", "defining", "a", "variable", ".", "The", "name", "of", "variable", "will", "be", "used", "as", "key", "preventing", "duplicated", "variable", "names", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/View.php#L536-L540", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getDefaultConfigFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the default locations of user and system configuration files\n@static", "docstring_tokens": ["Return", "the", "default", "locations", "of", "user", "and", "system", "configuration", "files"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L660-L674", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Static singleton method. If you want to keep only one instance\nof this class in use, this method will give you a reference to\nthe last created PEAR_Config object if one exists, or create a\nnew object.\n\n@param string (optional) file to read user-defined options from\n@param string (optional) file to read system-wide defaults from\n\n@return object an existing or new PEAR_Config instance\n\n@access public\n\n@see PEAR_Config::PEAR_Config", "docstring_tokens": ["Static", "singleton", "method", ".", "If", "you", "want", "to", "keep", "only", "one", "instance", "of", "this", "class", "in", "use", "this", "method", "will", "give", "you", "a", "reference", "to", "the", "last", "created", "PEAR_Config", "object", "if", "one", "exists", "or", "create", "a", "new", "object", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L691-L704", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config._setupChannels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the existing configurations and creates the _channels array from it", "docstring_tokens": ["Reads", "the", "existing", "configurations", "and", "creates", "the", "_channels", "array", "from", "it"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L842-L855", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.mergeConfigFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merges data into a config layer from a file. Does the same\nthing as readConfigFile, except it does not replace all\nexisting values in the config layer.\n@param string file to read from\n@param bool whether to overwrite existing data (default TRUE)\n@param string config layer to insert data into ('user' or 'system')\n@param string if true, errors are returned if file opening fails\n@return bool TRUE on success or a PEAR error on failure", "docstring_tokens": ["Merges", "data", "into", "a", "config", "layer", "from", "a", "file", ".", "Does", "the", "same", "thing", "as", "readConfigFile", "except", "it", "does", "not", "replace", "all", "existing", "values", "in", "the", "config", "layer", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L881-L921", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.writeConfigFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Writes data into a config layer from a file.\n\n@param string|null file to read from, or null for default\n@param string config layer to insert data into ('user' or\n'system')\n@param string|null data to write to config file or null for internal data [DEPRECATED]\n@return bool TRUE on success or a PEAR error on failure", "docstring_tokens": ["Writes", "data", "into", "a", "config", "layer", "from", "a", "file", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L961-L1003", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config._readConfigDataFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads configuration data from a file and returns the parsed data\nin an array.\n\n@param string file to read from\n@return array configuration data or a PEAR error on failure\n@access private", "docstring_tokens": ["Reads", "configuration", "data", "from", "a", "file", "and", "returns", "the", "parsed", "data", "in", "an", "array", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1013-L1076", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getDefaultChannel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the default channel.\n\nOn startup, channels are not initialized, so if the default channel is not\npear.php.net, then initialize the config.\n@param string registry layer\n@return string|false", "docstring_tokens": ["Retrieve", "the", "default", "channel", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1273-L1300", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config._getChannelValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a channel-specific configuration value, prioritizing layers as per the\nlayers property.\n\n@param string config key\n@return mixed the config value, or NULL if not found\n@access private", "docstring_tokens": ["Returns", "a", "channel", "-", "specific", "configuration", "value", "prioritizing", "layers", "as", "per", "the", "layers", "property", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1411-L1456", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.setChannels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the list of channels.\n\nThis should be set via a call to {@link PEAR_Registry::listChannels()}\n@param array\n@param bool\n@return bool success of operation", "docstring_tokens": ["Set", "the", "list", "of", "channels", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1631-L1661", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the type of a config value.\n\n@param string config key\n\n@return string type, one of \"string\", \"integer\", \"file\",\n\"directory\", \"set\" or \"password\".\n\n@access public", "docstring_tokens": ["Get", "the", "type", "of", "a", "config", "value", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1674-L1680", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getDocs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the documentation for a config value.\n\n@param string config key\n@return string documentation string\n\n@access public", "docstring_tokens": ["Get", "the", "documentation", "for", "a", "config", "value", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1691-L1698", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getPrompt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the short documentation for a config value.\n\n@param string config key\n@return string short documentation string\n\n@access public", "docstring_tokens": ["Get", "the", "short", "documentation", "for", "a", "config", "value", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1709-L1716", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the parameter group for a config key.\n\n@param string config key\n@return string parameter group\n\n@access public", "docstring_tokens": ["Get", "the", "parameter", "group", "for", "a", "config", "key", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1727-L1734", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getGroups", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of parameter groups.\n\n@return array list of parameter groups\n\n@access public", "docstring_tokens": ["Get", "the", "list", "of", "parameter", "groups", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1744-L1752", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getGroupKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of the parameters in a group.\n\n@param string $group parameter group\n@return array list of parameters in $group\n\n@access public", "docstring_tokens": ["Get", "the", "list", "of", "the", "parameters", "in", "a", "group", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1763-L1773", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getSetValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the list of allowed set values for a config value. Returns\nNULL for config values that are not sets.\n\n@param string config key\n@return array enumerated array of set values, or NULL if the\nconfig key is unknown or not a set\n\n@access public", "docstring_tokens": ["Get", "the", "list", "of", "allowed", "set", "values", "for", "a", "config", "value", ".", "Returns", "NULL", "for", "config", "values", "that", "are", "not", "sets", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1786-L1802", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.getKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the current config keys.\n\n@return array simple array of config keys\n\n@access public", "docstring_tokens": ["Get", "all", "the", "current", "config", "keys", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1811-L1827", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove the a config key from a specific config layer.\n\n@param string config key\n@param string (optional) config layer\n@param string (optional) channel (defaults to default channel)\n@return bool TRUE on success, FALSE on failure\n\n@access public", "docstring_tokens": ["Remove", "the", "a", "config", "key", "from", "a", "specific", "config", "layer", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1839-L1858", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.removeLayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Temporarily remove an entire config layer. USE WITH CARE!\n\n@param string config key\n@param string (optional) config layer\n@return bool TRUE on success, FALSE on failure\n\n@access public", "docstring_tokens": ["Temporarily", "remove", "an", "entire", "config", "layer", ".", "USE", "WITH", "CARE!"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1869-L1877", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.definedBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells what config layer that gets to define a key.\n\n@param string config key\n@param boolean return the defining channel\n\n@return string|array the config layer, or an empty string if not found.\n\nif $returnchannel, the return is an array array('layer' => layername,\n'channel' => channelname), or an empty string if not found\n\n@access public", "docstring_tokens": ["Tells", "what", "config", "layer", "that", "gets", "to", "define", "a", "key", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1905-L1927", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.isDefined", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells whether a given key exists as a config value.\n\n@param string config key\n@return bool whether exists in this object\n\n@access public", "docstring_tokens": ["Tells", "whether", "a", "given", "key", "exists", "as", "a", "config", "value", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L1937-L1946", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Config.php", "func_name": "PEAR_Config.setRegistry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is to allow customization like the use of installroot\n@param PEAR_Registry\n@return bool", "docstring_tokens": ["This", "is", "to", "allow", "customization", "like", "the", "use", "of", "installroot"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Config.php#L2005-L2021", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Json.php", "func_name": "Zend_Config_Json._processExtends", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to process each element in the section and handle\nthe \"_extends\" inheritance attribute.\n\n@param array $data Data array to process\n@param string $section Section to process\n@param array $config Configuration which was parsed yet\n@throws Zend_Config_Exception When $section cannot be found\n@return array", "docstring_tokens": ["Helper", "function", "to", "process", "each", "element", "in", "the", "section", "and", "handle", "the", "_extends", "inheritance", "attribute", "."], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Json.php#L186-L211", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Json.php", "func_name": "Zend_Config_Json._replaceConstants", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace any constants referenced in a string with their values\n\n@param string $value\n@return string", "docstring_tokens": ["Replace", "any", "constants", "referenced", "in", "a", "string", "with", "their", "values"], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Json.php#L219-L229", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Writer/Pdo/PdoWriter.php", "func_name": "PdoWriter.getCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parameter callback.\n\n@return callable", "docstring_tokens": ["Get", "parameter", "callback", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Writer/Pdo/PdoWriter.php#L145-L167", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Enum/Enum.php", "func_name": "Enum.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the set value on this enum is a valid value for the enum.\n\n@param mixed $value The value to check\n\n@return bool", "docstring_tokens": ["Check", "if", "the", "set", "value", "on", "this", "enum", "is", "a", "valid", "value", "for", "the", "enum", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Enum/Enum.php#L64-L92", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Enum/Enum.php", "func_name": "Enum.validValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the valid values for this enum.\n\n@return array", "docstring_tokens": ["Get", "the", "valid", "values", "for", "this", "enum", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Enum/Enum.php#L99-L119", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Enum/Enum.php", "func_name": "Enum.reflectionValidValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the reflection valid values.\n\n@return array", "docstring_tokens": ["Get", "the", "reflection", "valid", "values", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Enum/Enum.php#L126-L154", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Enum/Enum.php", "func_name": "Enum.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the enum value.\n\n@param mixed $value The value to set\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Set", "the", "enum", "value", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Enum/Enum.php#L185-L200", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Task/Postinstallscript.php", "func_name": "PEAR_Task_Postinstallscript.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize a task instance with the parameters\n@param array raw, parsed xml\n@param array attributes from the tag containing this task\n@param string|null last installed version of this package, if any (useful for upgrades)", "docstring_tokens": ["Initialize", "a", "task", "instance", "with", "the", "parameters"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Task/Postinstallscript.php#L231-L238", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Task/Postinstallscript.php", "func_name": "PEAR_Task_Postinstallscript.startSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unlike other tasks, the installed file name is passed in instead of the file contents,\nbecause this task is handled post-installation\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2\n@param string file name\n@return bool|PEAR_Error false to skip this file, PEAR_Error to fail\n(use $this->throwError)", "docstring_tokens": ["Unlike", "other", "tasks", "the", "installed", "file", "name", "is", "passed", "in", "instead", "of", "the", "file", "contents", "because", "this", "task", "is", "handled", "post", "-", "installation"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Task/Postinstallscript.php#L279-L309", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/Journal.php", "func_name": "Journal.addSuccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record a success event\n\n@param integer $time mileseconds\n@return integer Number of works succeed", "docstring_tokens": ["Record", "a", "success", "event"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/Journal.php#L33-L40", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/Journal.php", "func_name": "Journal.addIdle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record a idle event\n\n@return integer Total time idle", "docstring_tokens": ["Record", "a", "idle", "event"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/Journal.php#L81-L87", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Account.php", "func_name": "Account.getAmountEstimated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get amount estimated. It is real amount without virtual amounts.\n\n@return float", "docstring_tokens": ["Get", "amount", "estimated", ".", "It", "is", "real", "amount", "without", "virtual", "amounts", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Account.php#L37-L47", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Route.php", "func_name": "Route.getRequestMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the request methods.\n\n@return array", "docstring_tokens": ["Get", "the", "request", "methods", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Route.php#L110-L120", "partition": "test"} +{"repo": "gwa/wp-disable-auto-update", "path": "src/DisableAutoUpdateHandler.php", "func_name": "DisableAutoUpdateHandler.disableWpAutoUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disable All Automatic Updates\n3.7+\n\n@author sLa NGjI's @ slangji.wordpress.com", "docstring_tokens": ["Disable", "All", "Automatic", "Updates", "3", ".", "7", "+"], "sha": "608d2c901178ae9f55c17535d2a592e7d74e17f1", "url": "https://github.com/gwa/wp-disable-auto-update/blob/608d2c901178ae9f55c17535d2a592e7d74e17f1/src/DisableAutoUpdateHandler.php#L41-L69", "partition": "test"} +{"repo": "gwa/wp-disable-auto-update", "path": "src/DisableAutoUpdateHandler.php", "func_name": "DisableAutoUpdateHandler.blockWpRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the outgoing request", "docstring_tokens": ["Check", "the", "outgoing", "request"], "sha": "608d2c901178ae9f55c17535d2a592e7d74e17f1", "url": "https://github.com/gwa/wp-disable-auto-update/blob/608d2c901178ae9f55c17535d2a592e7d74e17f1/src/DisableAutoUpdateHandler.php#L74-L95", "partition": "test"} +{"repo": "gwa/wp-disable-auto-update", "path": "src/DisableAutoUpdateHandler.php", "func_name": "DisableAutoUpdateHandler.hideAdminNag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hide all noctices in wp-admin", "docstring_tokens": ["Hide", "all", "noctices", "in", "wp", "-", "admin"], "sha": "608d2c901178ae9f55c17535d2a592e7d74e17f1", "url": "https://github.com/gwa/wp-disable-auto-update/blob/608d2c901178ae9f55c17535d2a592e7d74e17f1/src/DisableAutoUpdateHandler.php#L100-L119", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Quadrilateral.php", "func_name": "Quadrilateral.isValidPoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if point A is part of one of quadrilateral's segments\n\n@param \\Maths\\PointInterface $a\n@return bool", "docstring_tokens": ["Test", "if", "point", "A", "is", "part", "of", "one", "of", "quadrilateral", "s", "segments"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Quadrilateral.php#L371-L379", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Quadrilateral.php", "func_name": "Quadrilateral.isParallelogram", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if the quadrilateral is a parallelogram\n\n@return bool", "docstring_tokens": ["Test", "if", "the", "quadrilateral", "is", "a", "parallelogram"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Quadrilateral.php#L388-L393", "partition": "test"} +{"repo": "bcismariu/commons-descendable", "path": "src/Descendable.php", "func_name": "Descendable.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get multidimenional array value\n@param string $composite_key concatenated keys with key separator\n@param string $default_value to return in case that one key from chain is undefined", "docstring_tokens": ["Get", "multidimenional", "array", "value"], "sha": "8704150ab9b23d297fed46531114e07734685870", "url": "https://github.com/bcismariu/commons-descendable/blob/8704150ab9b23d297fed46531114e07734685870/src/Descendable.php#L30-L42", "partition": "test"} +{"repo": "bcismariu/commons-descendable", "path": "src/Descendable.php", "func_name": "Descendable.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the last key from chain is defined\n@param string $composite_key concatenated keys with key separator\n@return Boolean", "docstring_tokens": ["Check", "if", "the", "last", "key", "from", "chain", "is", "defined"], "sha": "8704150ab9b23d297fed46531114e07734685870", "url": "https://github.com/bcismariu/commons-descendable/blob/8704150ab9b23d297fed46531114e07734685870/src/Descendable.php#L49-L61", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Manager/ApplicationManager.php", "func_name": "ApplicationManager.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find an application\n\n@param string $id App ID\n@return Application", "docstring_tokens": ["Find", "an", "application"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Manager/ApplicationManager.php#L84-L94", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Manager/ApplicationManager.php", "func_name": "ApplicationManager.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all applications\n\n@return array", "docstring_tokens": ["Find", "all", "applications"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Manager/ApplicationManager.php#L101-L111", "partition": "test"} +{"repo": "gries/number-system", "path": "src/NumberSystem.php", "func_name": "NumberSystem.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare two number systems.\n\n@param NumberSystem $comparedNumberSystem\n\n@return bool", "docstring_tokens": ["Compare", "two", "number", "systems", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/NumberSystem.php#L96-L105", "partition": "test"} +{"repo": "gries/number-system", "path": "src/NumberSystem.php", "func_name": "NumberSystem.getDigits", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all digits of a given number according to\nthis number-system.\n\n@param Number $number\n\n@return array", "docstring_tokens": ["Get", "all", "digits", "of", "a", "given", "number", "according", "to", "this", "number", "-", "system", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/NumberSystem.php#L139-L146", "partition": "test"} +{"repo": "gries/number-system", "path": "src/NumberSystem.php", "func_name": "NumberSystem.buildNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a number based on given digits.\n\n@param array $digits\n\n@return Number", "docstring_tokens": ["Build", "a", "number", "based", "on", "given", "digits", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/NumberSystem.php#L155-L160", "partition": "test"} +{"repo": "gries/number-system", "path": "src/NumberSystem.php", "func_name": "NumberSystem.validateNumberValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a string value is a valid number of this system.\n\n@param string $value\n@throws NumberParseException\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "string", "value", "is", "a", "valid", "number", "of", "this", "system", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/NumberSystem.php#L182-L197", "partition": "test"} +{"repo": "pompdelux/phpredis-bundle", "path": "Client/PHPRedis.php", "func_name": "PHPRedis.makeCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "wrap all redis calls to handle profiling\n\n@param string $name Redis method\n@param array $arguments Arguments to parse on the real method\n\n@return boolean\n@throws \\InvalidArgumentException If the command called does not exist\n@throws PHPRedisCommunicationException If the call to redis fails", "docstring_tokens": ["wrap", "all", "redis", "calls", "to", "handle", "profiling"], "sha": "780e434720bd1b890b9d0de50b45c501108b82c3", "url": "https://github.com/pompdelux/phpredis-bundle/blob/780e434720bd1b890b9d0de50b45c501108b82c3/Client/PHPRedis.php#L115-L159", "partition": "test"} +{"repo": "pompdelux/phpredis-bundle", "path": "Client/PHPRedis.php", "func_name": "PHPRedis.generateKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate cache key from method arguments.\n\nExample:\n\n// string arguments\n$key = $redis->generateKey('some', 'part', 'of', 'key'); // returns: \"some:part:of:key\"\n\n// array argument\n$key = $redis->generateKey(['some', 'part', 'of', 'key']); // returns: \"some:part:of:key\"\n\n\n@param string|array $kp,... List of parameters to use in key generation\n\n@return string", "docstring_tokens": ["Generate", "cache", "key", "from", "method", "arguments", "."], "sha": "780e434720bd1b890b9d0de50b45c501108b82c3", "url": "https://github.com/pompdelux/phpredis-bundle/blob/780e434720bd1b890b9d0de50b45c501108b82c3/Client/PHPRedis.php#L178-L187", "partition": "test"} +{"repo": "pompdelux/phpredis-bundle", "path": "Client/PHPRedis.php", "func_name": "PHPRedis._connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "handle connection management\n\n@param boolean $bailOnError keeps track on connection retry\n\n@return boolean\n@throws PHPRedisCommunicationException If connection fails", "docstring_tokens": ["handle", "connection", "management"], "sha": "780e434720bd1b890b9d0de50b45c501108b82c3", "url": "https://github.com/pompdelux/phpredis-bundle/blob/780e434720bd1b890b9d0de50b45c501108b82c3/Client/PHPRedis.php#L198-L232", "partition": "test"} +{"repo": "pompdelux/phpredis-bundle", "path": "Client/PHPRedis.php", "func_name": "PHPRedis.getCommandString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a string representation of the given command including arguments\n\n@param string $command A command name\n@param array $arguments An array of command arguments\n\n@return string", "docstring_tokens": ["Returns", "a", "string", "representation", "of", "the", "given", "command", "including", "arguments"], "sha": "780e434720bd1b890b9d0de50b45c501108b82c3", "url": "https://github.com/pompdelux/phpredis-bundle/blob/780e434720bd1b890b9d0de50b45c501108b82c3/Client/PHPRedis.php#L243-L251", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Store/Mongo/MongoEventStore.php", "func_name": "MongoEventStore.getMongoDocument", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Mongo document from domain event message.\n\n@param DomainEventMessageInterface $domainEventMessage\n@return array\n@throws SerializerException", "docstring_tokens": ["Get", "Mongo", "document", "from", "domain", "event", "message", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Store/Mongo/MongoEventStore.php#L113-L133", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Store/Mongo/MongoEventStore.php", "func_name": "MongoEventStore.getDomainEventMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get domain event message from Mongo document.\n\n@param array $document\n@return DomainEventMessageInterface\n@throws SerializerException", "docstring_tokens": ["Get", "domain", "event", "message", "from", "Mongo", "document", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Store/Mongo/MongoEventStore.php#L142-L160", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset state of service\n@return $this", "docstring_tokens": ["Reset", "state", "of", "service"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L111-L124", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.normalizeMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This is here to format standard form validation errors, so that\nwe can use customized error messaging instead of the 1 message only\npractice from using annotations.\n\n@param $messages\n@return array", "docstring_tokens": ["This", "is", "here", "to", "format", "standard", "form", "validation", "errors", "so", "that", "we", "can", "use", "customized", "error", "messaging", "instead", "of", "the", "1", "message", "only", "practice", "from", "using", "annotations", "."], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L213-L226", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.postValidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called after all forms have been validated.\nPassed the validation result\n@param boolean $valid\n@param Param $params", "docstring_tokens": ["Called", "after", "all", "forms", "have", "been", "validated", ".", "Passed", "the", "validation", "result"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L281-L291", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.formDataEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility method for attaching a form data event listener\nUtility method for attaching a form data event listener\nfor a form by a given tag. The optional 'callable' method\nshould accept and return a Param object.\n@param $tag\n@param null $callable", "docstring_tokens": ["Utility", "method", "for", "attaching", "a", "form", "data", "event", "listener", "Utility", "method", "for", "attaching", "a", "form", "data", "event", "listener", "for", "a", "form", "by", "a", "given", "tag", ".", "The", "optional", "callable", "method", "should", "accept", "and", "return", "a", "Param", "object", "."], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L313-L326", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.getForms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate forms from entities\n@return array", "docstring_tokens": ["Generate", "forms", "from", "entities"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L361-L384", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.removeStringFromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify array to remove the specified value\n@param $list\n@param $value\n@return $this", "docstring_tokens": ["Modify", "array", "to", "remove", "the", "specified", "value"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L392-L400", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.getEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures 'generateEntities' is only ever invoked once.\nFires the EVENT_CONFIGURE_ENTITY event on each entity\nto allow for any configuration.\n\nTODO: test that this even actually gets fired and provides\naccess/configuration to the entity\n\n@return array", "docstring_tokens": ["Ensures", "generateEntities", "is", "only", "ever", "invoked", "once", ".", "Fires", "the", "EVENT_CONFIGURE_ENTITY", "event", "on", "each", "entity", "to", "allow", "for", "any", "configuration", "."], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L490-L510", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.swapEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Utility to replace an entity at a tag\n@param $tag\n@param BaseInterface $entity\n@return $this\n@throws \\RuntimeException", "docstring_tokens": ["Utility", "to", "replace", "an", "entity", "at", "a", "tag"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L519-L534", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.configureFormToExcludeData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes some elements from being validated; best used for subforms\n@param $tag\n@param array $elementNames", "docstring_tokens": ["Removes", "some", "elements", "from", "being", "validated", ";", "best", "used", "for", "subforms"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L748-L761", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.setSubFormDataHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handler for subform data\n@param $tag\n@param $paramName\n@return $this", "docstring_tokens": ["Handler", "for", "subform", "data"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L769-L774", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Update/Base.php", "func_name": "Base.afterAttach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function meant to be run as a callback for attacheToMainEntity.\n\nIn this case, it's being used to filter form fields from the sub\nforms and entities.\n\n@param $formObject\n@param $form\n@param $mainEntity\n@param $tag", "docstring_tokens": ["Function", "meant", "to", "be", "run", "as", "a", "callback", "for", "attacheToMainEntity", "."], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Update/Base.php#L792-L798", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Mock.php", "func_name": "HTTP_Request2_Adapter_Mock.addResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds response to the queue\n\n@param mixed $response either a string, a pointer to an open file,\nan instance of HTTP_Request2_Response or Exception\n@param string $url A request URL this response should be valid for\n(see {@link http://pear.php.net/bugs/bug.php?id=19276})\n\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Adds", "response", "to", "the", "queue"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Mock.php#L107-L119", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Mock.php", "func_name": "HTTP_Request2_Adapter_Mock.createResponseFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new HTTP_Request2_Response object from a string\n\n@param string $str string containing HTTP response message\n\n@return HTTP_Request2_Response\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Creates", "a", "new", "HTTP_Request2_Response", "object", "from", "a", "string"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Mock.php#L129-L142", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Mock.php", "func_name": "HTTP_Request2_Adapter_Mock.createResponseFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new HTTP_Request2_Response object from a file\n\n@param resource $fp file pointer returned by fopen()\n\n@return HTTP_Request2_Response\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Creates", "a", "new", "HTTP_Request2_Response", "object", "from", "a", "file"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Mock.php#L152-L164", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Versions.php", "func_name": "Versions.makeHeadVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes an entity the head version.\n\n@param object $entity\n@return boolean", "docstring_tokens": ["Makes", "an", "entity", "the", "head", "version", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Versions.php#L33-L60", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Versions.php", "func_name": "Versions.needsNewVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the entity needs a new version created.\n\n@param $entity\n@return boolean", "docstring_tokens": ["Determines", "if", "the", "entity", "needs", "a", "new", "version", "created", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Versions.php#L69-L85", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Versions.php", "func_name": "Versions.persist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Persists an entity. Creating a new version of it if needed.\n\n@param object $entity\n@param string $version\n@return boolean true if a new version was created", "docstring_tokens": ["Persists", "an", "entity", ".", "Creating", "a", "new", "version", "of", "it", "if", "needed", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Versions.php#L94-L107", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Versions.php", "func_name": "Versions.clearVersions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears old versions of an entity.\n\n@param object $entity\n@return object", "docstring_tokens": ["Clears", "old", "versions", "of", "an", "entity", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Versions.php#L115-L126", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Uploader/Uploader.php", "func_name": "Uploader.cleanUp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes the path directories if they are empty.\n\n@param string $path\n@throws UploadException", "docstring_tokens": ["Removes", "the", "path", "directories", "if", "they", "are", "empty", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Uploader/Uploader.php#L166-L184", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Uploader/Uploader.php", "func_name": "Uploader.checkKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the distant source key.\n\n@param string $sourceKey\n@return bool", "docstring_tokens": ["Check", "the", "distant", "source", "key", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Uploader/Uploader.php#L202-L215", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Uploader/Uploader.php", "func_name": "Uploader.moveKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copies or moves the distant source key to target key.\n\n@param string $sourceKey\n@param string $targetKey\n@return bool", "docstring_tokens": ["Copies", "or", "moves", "the", "distant", "source", "key", "to", "target", "key", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Uploader/Uploader.php#L224-L240", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Uploader/Uploader.php", "func_name": "Uploader.reconnectDistantFs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reconnects the file system adapter if possible.\n\n@param string $key\n@return bool", "docstring_tokens": ["Reconnects", "the", "file", "system", "adapter", "if", "possible", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Uploader/Uploader.php#L248-L267", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Uploader/Uploader.php", "func_name": "Uploader.isDistant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the key is distant.\n\n@param string $key\n@return bool", "docstring_tokens": ["Returns", "whether", "the", "key", "is", "distant", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Uploader/Uploader.php#L275-L290", "partition": "test"} +{"repo": "openwebpresence/owp-framework", "path": "src/OwpDkim.inc.php", "func_name": "OwpDkim.createPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively create a long directory path\n\n@method createPath()\n@access private\n@param string $path Path to create.\n@return boolean", "docstring_tokens": ["Recursively", "create", "a", "long", "directory", "path"], "sha": "935d555ad835e46301a2a982860c73d5fda4b9fb", "url": "https://github.com/openwebpresence/owp-framework/blob/935d555ad835e46301a2a982860c73d5fda4b9fb/src/OwpDkim.inc.php#L212-L219", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a single entity given its id.\n\n@param string|int $id\n@param bool|null $getRelations\n\n@throws InvalidArgumentException If id is not a string or int\n\n@return \\Valkyrja\\ORM\\Entity|null", "docstring_tokens": ["Find", "a", "single", "entity", "given", "its", "id", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L96-L111", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new model.\n\n\n$this->create(Entity::class)\n\n\n@param \\Valkyrja\\ORM\\Entity $entity\n\n@throws ExecuteException\n@throws InvalidArgumentException\n@throws InvalidEntityException\n\n@return bool", "docstring_tokens": ["Create", "a", "new", "model", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L221-L226", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save an existing model given criteria to find. If no criteria specified uses all model properties.\n\n\n$this->save(Entity::class)\n\n\n@param \\Valkyrja\\ORM\\Entity $entity\n\n@throws ExecuteException\n@throws InvalidArgumentException\n@throws InvalidEntityException\n\n@return bool", "docstring_tokens": ["Save", "an", "existing", "model", "given", "criteria", "to", "find", ".", "If", "no", "criteria", "specified", "uses", "all", "model", "properties", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L243-L248", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an existing model.\n\n\n$this->delete(Entity::class)\n\n\n@param \\Valkyrja\\ORM\\Entity $entity\n\n@throws ExecuteException\n@throws InvalidArgumentException\n@throws InvalidEntityException\n\n@return bool", "docstring_tokens": ["Delete", "an", "existing", "model", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L265-L270", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.validateEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the passed entity.\n\n@param Entity $entity\n\n@throws InvalidEntityException\n\n@return void", "docstring_tokens": ["Validate", "the", "passed", "entity", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L291-L302", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select entities by given criteria.\n\n\n$this->select(\n[\n'column',\n'column2',\n],\n[\n'column' => 'value',\n'column2' => 'value2',\n],\n[\n'column'\n'column2' => OrderBy::ASC,\n'column3' => OrderBy::DESC,\n],\n1,\n1\n)\n\n\n@param array|null $columns\n@param array|null $criteria\n@param array|null $orderBy\n@param int|null $limit\n@param int|null $offset\n@param bool|null $getRelations\n\n@throws InvalidArgumentException\n\n@return \\Valkyrja\\ORM\\Entity[]|int", "docstring_tokens": ["Select", "entities", "by", "given", "criteria", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L362-L429", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.selectQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a select query statement by given criteria.\n\n\n$this->queryBuilder(\n[\n'column',\n'column2',\n],\n[\n'column' => 'value',\n'column2' => 'value2',\n],\n[\n'column'\n'column2' => OrderBy::ASC,\n'column3' => OrderBy::DESC,\n],\n1,\n1\n)\n\n\n@param array|null $columns\n@param array|null $criteria\n@param array|null $orderBy\n@param int|null $limit\n@param int|null $offset\n\n@return QueryBuilder", "docstring_tokens": ["Build", "a", "select", "query", "statement", "by", "given", "criteria", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L462-L496", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.setCriteriaInQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the criteria in the query builder.\n\n@param QueryBuilder $query\n@param array $criteria\n\n@return void", "docstring_tokens": ["Set", "the", "criteria", "in", "the", "query", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L506-L534", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.setArrayCriterionInQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an array criterion in the query builder.\n\n@param QueryBuilder $query\n@param string $column\n@param array $criterion\n\n@return void", "docstring_tokens": ["Set", "an", "array", "criterion", "in", "the", "query", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L558-L575", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.setOrderByInQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the order by options in a query builder.\n\n@param QueryBuilder $query\n@param array $orderBy\n\n@return void", "docstring_tokens": ["Set", "the", "order", "by", "options", "in", "a", "query", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L611-L633", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.saveCreateDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save or create or delete a row.\n\n\n$this\n->saveOrCreate(\n'update' | 'insert' | 'delete',\nEntity::class\n)\n\n\n@param string $type\n@param Entity $entity\n\n@throws ExecuteException\n@throws InvalidArgumentException\n\n@return int", "docstring_tokens": ["Save", "or", "create", "or", "delete", "a", "row", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L682-L736", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.setPropertiesForSaveCreateDeleteQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set properties for save, delete, or create queries.\n\n@param QueryBuilder $query\n@param array $properties\n\n@return void", "docstring_tokens": ["Set", "properties", "for", "save", "delete", "or", "create", "queries", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L746-L757", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.setPropertiesForSaveCreateDeleteStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set properties for save, create, or delete statements.\n\n@param PDOStatement $statement\n@param array $properties\n\n@return void", "docstring_tokens": ["Set", "properties", "for", "save", "create", "or", "delete", "statements", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L767-L793", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.getEntityRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an entity with all its relations.\n\n@param Entity $entity\n\n@return Entity", "docstring_tokens": ["Get", "an", "entity", "with", "all", "its", "relations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L802-L845", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Repositories/PDORepository.php", "func_name": "PDORepository.ensureRequiredProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure all required properties have been passed.\n\n@param Entity $entity\n@param array $properties\n\n@throws InvalidArgumentException\n\n@return void", "docstring_tokens": ["Ensure", "all", "required", "properties", "have", "been", "passed", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Repositories/PDORepository.php#L857-L867", "partition": "test"} +{"repo": "dngo-io/steem-connect", "path": "src/Steemit.php", "func_name": "Steemit.broadcast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute broadcast operations\n\n@param array $body\n@return array", "docstring_tokens": ["Execute", "broadcast", "operations"], "sha": "a5a60a459ac2b0763b038110f0ad5f1223592ebb", "url": "https://github.com/dngo-io/steem-connect/blob/a5a60a459ac2b0763b038110f0ad5f1223592ebb/src/Steemit.php#L110-L134", "partition": "test"} +{"repo": "dngo-io/steem-connect", "path": "src/Steemit.php", "func_name": "Steemit.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an operation to broadcast!\n\n@param string $do Name of the operation\n@param array $params Required parameters\n@return array", "docstring_tokens": ["Execute", "an", "operation", "to", "broadcast!"], "sha": "a5a60a459ac2b0763b038110f0ad5f1223592ebb", "url": "https://github.com/dngo-io/steem-connect/blob/a5a60a459ac2b0763b038110f0ad5f1223592ebb/src/Steemit.php#L143-L148", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.getScriptSrc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get script source link.\n\n@param string|null $callbackName\n\n@return string", "docstring_tokens": ["Get", "script", "source", "link", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L149-L163", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display Captcha.\n\n@param string|null $name\n@param array $attributes\n\n@return string", "docstring_tokens": ["Display", "Captcha", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L207-L215", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.image", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display image Captcha.\n\n@param string|null $name\n@param array $attributes\n\n@return string", "docstring_tokens": ["Display", "image", "Captcha", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L225-L230", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.audio", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display audio Captcha.\n\n@param string|null $name\n@param array $attributes\n\n@return string", "docstring_tokens": ["Display", "audio", "Captcha", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L240-L245", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.verify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify Response.\n\n@param string $response\n@param string $clientIp\n\n@return bool", "docstring_tokens": ["Verify", "Response", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L255-L266", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.verifyRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the reCAPTCHA siteverify API to verify whether the user passes CAPTCHA\ntest using a PSR-7 ServerRequest object.\n\n@param \\Psr\\Http\\Message\\ServerRequestInterface $request\n\n@return bool", "docstring_tokens": ["Calls", "the", "reCAPTCHA", "siteverify", "API", "to", "verify", "whether", "the", "user", "passes", "CAPTCHA", "test", "using", "a", "PSR", "-", "7", "ServerRequest", "object", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L276-L290", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.script", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get script tag.\n\n@param string|null $callbackName\n\n@return string", "docstring_tokens": ["Get", "script", "tag", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L299-L309", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.scriptWithCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get script tag with a callback function.\n\n@param array $captchas\n@param string $callbackName\n\n@return string", "docstring_tokens": ["Get", "script", "tag", "with", "a", "callback", "function", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L319-L336", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.checkKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check key.\n\n@param string $name\n@param string $value\n\n@throws \\Arcanedev\\NoCaptcha\\Exceptions\\ApiException", "docstring_tokens": ["Check", "key", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L386-L393", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.checkIsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the value is a string value.\n\n@param string $name\n@param string $value\n\n@throws \\Arcanedev\\NoCaptcha\\Exceptions\\ApiException", "docstring_tokens": ["Check", "if", "the", "value", "is", "a", "string", "value", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L403-L410", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptcha.php", "func_name": "NoCaptcha.sendVerifyRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send verify request to API and get response.\n\n@param array $query\n\n@return array", "docstring_tokens": ["Send", "verify", "request", "to", "API", "and", "get", "response", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptcha.php#L438-L445", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/View.php", "func_name": "View.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the view component.", "docstring_tokens": ["Initializes", "the", "view", "component", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/View.php#L109-L120", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/View.php", "func_name": "View.findViewFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the view file based on the given view name.\n@param string $view the view name or the [path alias](guide:concept-aliases) of the view file. Please refer to [[render()]]\non how to specify this parameter.\n@param object $context the context to be assigned to the view and can later be accessed via [[context]]\nin the view. If the context implements [[ViewContextInterface]], it may also be used to locate\nthe view file corresponding to a relative view name.\n@return string the view file path. Note that the file may not exist.\n@throws InvalidCallException if a relative view name is given while there is no active context to\ndetermine the corresponding view file.", "docstring_tokens": ["Finds", "the", "view", "file", "based", "on", "the", "given", "view", "name", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/View.php#L164-L191", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/View.php", "func_name": "View.renderPhpStateless", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Static helper for rendering any php file\n@param string $_file_\n@param array $_params_\n@return string\n@throws \\Throwable", "docstring_tokens": ["Static", "helper", "for", "rendering", "any", "php", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/View.php#L555-L580", "partition": "test"} +{"repo": "FlexPress/component-post-type", "path": "src/FlexPress/Components/PostType/Helper.php", "func_name": "Helper.registerPostTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers all the post types added\n@author Tim Perry", "docstring_tokens": ["Registers", "all", "the", "post", "types", "added"], "sha": "de568992941d63b79b3757ee2e7174a8b7a8592d", "url": "https://github.com/FlexPress/component-post-type/blob/de568992941d63b79b3757ee2e7174a8b7a8592d/src/FlexPress/Components/PostType/Helper.php#L44-L60", "partition": "test"} +{"repo": "canis-io/yii2-secure-token", "path": "lib/TokenFactory.php", "func_name": "TokenFactory.generateToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a new token object\n\n@param string \t\t\t\t\t$token \t\ttoken string to use\n@param KeyPairReference|null \t$keyPair \tkey pair to use with encrypting token (optional)\n@return TokenInterface generated token", "docstring_tokens": ["Generates", "a", "new", "token", "object"], "sha": "11c5cdee33ccf4cecc957f62720c42381e09728d", "url": "https://github.com/canis-io/yii2-secure-token/blob/11c5cdee33ccf4cecc957f62720c42381e09728d/lib/TokenFactory.php#L120-L123", "partition": "test"} +{"repo": "canis-io/yii2-secure-token", "path": "lib/TokenFactory.php", "func_name": "TokenFactory.generateMemoryToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a new memory token object; decrypted token is stored in memory during execution\n\n@param string \t\t\t\t\t$token \t\tToken string to use\n@param KeyPairReference|null\t$keyPair \tKey pair to use with encrypting token (optional)\n@return TokenInterface Generated token", "docstring_tokens": ["Generates", "a", "new", "memory", "token", "object", ";", "decrypted", "token", "is", "stored", "in", "memory", "during", "execution"], "sha": "11c5cdee33ccf4cecc957f62720c42381e09728d", "url": "https://github.com/canis-io/yii2-secure-token/blob/11c5cdee33ccf4cecc957f62720c42381e09728d/lib/TokenFactory.php#L132-L135", "partition": "test"} +{"repo": "codenamephp/build", "path": "src/main/php/de/codenamephp/build/task/ExecutePrototypeInstaller.php", "func_name": "ExecutePrototypeInstaller.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the project path from the basePath and the given project folder, then executes the composer prototyp and composer update commands with the commandBuilder and the\nshell.\n\nThe commandBuilder is reset before every use so this could be executed multiple times\n\n@param string $projectFolder", "docstring_tokens": ["Builds", "the", "project", "path", "from", "the", "basePath", "and", "the", "given", "project", "folder", "then", "executes", "the", "composer", "prototyp", "and", "composer", "update", "commands", "with", "the", "commandBuilder", "and", "the", "shell", "."], "sha": "ebc4292dd918b90339e007eaa858442ca74a0874", "url": "https://github.com/codenamephp/build/blob/ebc4292dd918b90339e007eaa858442ca74a0874/src/main/php/de/codenamephp/build/task/ExecutePrototypeInstaller.php#L130-L134", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/TwigExtension.php", "func_name": "TwigExtension.messageFilterCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback for 'message' filter.\n\n\n{{ 'my-message-key'|message }}\n{{ 'my-message-key'|message( 'foo', 'bar' ) }}\n{{ 'my-message-key'|message( [ 'foo', 'bar' ] ) }}\n{{ 'my-message-key'|message( 'foo', 'bar' )|raw }}\n\n\n@param string $key Message key\n@param string ... Message params\n@return string Unescaped message content\n@see I18nContext::message", "docstring_tokens": ["Callback", "for", "message", "filter", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/TwigExtension.php#L83-L92", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normal but significant events.\n\n@param string|mixed $message\n@param array $context\n@param int $traceShift\n\n@return void", "docstring_tokens": ["Normal", "but", "significant", "events", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L219-L222", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.info", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Interesting events.\n\nExample: User logs in, SQL logs.\n\n@param string|mixed $message\n@param array $context\n@param int $traceShift\n\n@return void", "docstring_tokens": ["Interesting", "events", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L235-L238", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detailed debug information.\n\n@param string|mixed $message\n@param array $context\n@param int $traceShift\n\n@return void", "docstring_tokens": ["Detailed", "debug", "information", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L249-L252", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.logRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print raw message\n\n@param string|mixed $message\n@param array $context\n@param int $traceShift\n@return void", "docstring_tokens": ["Print", "raw", "message"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L262-L265", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.profileEnd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Profiler shortcut method for end\n@param string $message\n@param string $endId\n@param int $traceShift", "docstring_tokens": ["Profiler", "shortcut", "method", "for", "end"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L311-L317", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log message to STDOUT\n@param string $level\n@param string $message\n@param array $context\n@param int $traceShift", "docstring_tokens": ["Log", "message", "to", "STDOUT"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L326-L357", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.convertMessageToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert message to string\n@param mixed $message\n@return mixed|string", "docstring_tokens": ["Convert", "message", "to", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L364-L376", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.convertErrorToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert exception to string\n@param \\Throwable $e\n@param bool $withTrace\n@return string", "docstring_tokens": ["Convert", "exception", "to", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L384-L397", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.colorizeText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Colorize text for console\n@param string $text\n@param mixed ...$colors\n@return bool|string", "docstring_tokens": ["Colorize", "text", "for", "console"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L405-L413", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.getCalleeData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get callee data from backtrace array\n@param array $trace\n@param int $pos\n@return string", "docstring_tokens": ["Get", "callee", "data", "from", "backtrace", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L439-L445", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.processPlaceHolders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace placeholders in text\n@param string $message\n@param array $context\n@return string", "docstring_tokens": ["Replace", "placeholders", "in", "text"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L482-L494", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Logger/StdioLogger.php", "func_name": "StdioLogger.formatValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format mixed value as a String\n@param mixed $value\n@return string", "docstring_tokens": ["Format", "mixed", "value", "as", "a", "String"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Logger/StdioLogger.php#L518-L529", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/models/Seo.php", "func_name": "Seo.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search SEO data. If not found, will be returned new SEO model with empty data\n@param ActiveRecord $owner the ActiveRecord model for which to find data\n@param int $condition optional condition for searched SEO data\n@return self", "docstring_tokens": ["Search", "SEO", "data", ".", "If", "not", "found", "will", "be", "returned", "new", "SEO", "model", "with", "empty", "data"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/models/Seo.php#L62-L80", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/models/Seo.php", "func_name": "Seo.tableName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get table name of SEO data table for ActiveRecord\n@param ActiveRecord $activeRecord\n@return string", "docstring_tokens": ["Get", "table", "name", "of", "SEO", "data", "table", "for", "ActiveRecord"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/models/Seo.php#L87-L95", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/models/Seo.php", "func_name": "Seo.deleteAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete all SEO data for ActiveRecord\n@param ActiveRecord $owner", "docstring_tokens": ["Delete", "all", "SEO", "data", "for", "ActiveRecord"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/models/Seo.php#L124-L127", "partition": "test"} +{"repo": "inblank/yii2-seobility", "path": "src/models/Seo.php", "func_name": "Seo.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save SEO data", "docstring_tokens": ["Save", "SEO", "data"], "sha": "0459c84f4b9377ca2d05a90864ab1dbd2a137242", "url": "https://github.com/inblank/yii2-seobility/blob/0459c84f4b9377ca2d05a90864ab1dbd2a137242/src/models/Seo.php#L142-L167", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "dummy_classes/LivePubDB.php", "func_name": "DB.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the connection", "docstring_tokens": ["Creates", "the", "connection"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/dummy_classes/LivePubDB.php#L16-L30", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Common.php", "func_name": "PEAR_Command_Common.PEAR_Command_Common", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PEAR_Command_Common constructor.\n\n@access public", "docstring_tokens": ["PEAR_Command_Common", "constructor", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Common.php#L84-L89", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Common.php", "func_name": "PEAR_Command_Common.getCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a list of all the commands defined by this class.\n@return array list of commands\n@access public", "docstring_tokens": ["Return", "a", "list", "of", "all", "the", "commands", "defined", "by", "this", "class", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Common.php#L96-L104", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Common.php", "func_name": "PEAR_Command_Common.getShortcuts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a list of all the command shortcuts defined by this class.\n@return array shortcut => command\n@access public", "docstring_tokens": ["Return", "a", "list", "of", "all", "the", "command", "shortcuts", "defined", "by", "this", "class", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Common.php#L111-L121", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Common.php", "func_name": "PEAR_Command_Common.getHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the help message for the given command\n\n@param string $command The command\n@return mixed A fail string if the command does not have help or\na two elements array containing [0]=>help string,\n[1]=> help string for the accepted cmd args", "docstring_tokens": ["Returns", "the", "help", "message", "for", "the", "given", "command"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Common.php#L177-L204", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Common.php", "func_name": "PEAR_Command_Common.getHelpArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the help for the accepted arguments of a command\n\n@param string $command\n@return string The help string", "docstring_tokens": ["Returns", "the", "help", "for", "the", "accepted", "arguments", "of", "a", "command"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Common.php#L212-L248", "partition": "test"} +{"repo": "pandaskii/openbiz-config", "path": "src/Composer/Plugin.php", "func_name": "Plugin.onPostPackageEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute update after update command has been executed, if applicable.\n\n@param PackageEvent $event", "docstring_tokens": ["Execute", "update", "after", "update", "command", "has", "been", "executed", "if", "applicable", "."], "sha": "0db8273fd2169d5b1793704f8bd6cd8e1459b53f", "url": "https://github.com/pandaskii/openbiz-config/blob/0db8273fd2169d5b1793704f8bd6cd8e1459b53f/src/Composer/Plugin.php#L87-L95", "partition": "test"} +{"repo": "Solve/Database", "path": "Adapters/BaseDBAdapter.php", "func_name": "BaseDBAdapter.compileDSN", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse database config and prepare DSN\n\n@static\n@param @params part of database config\n@return array", "docstring_tokens": ["Parse", "database", "config", "and", "prepare", "DSN"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Adapters/BaseDBAdapter.php#L61-L74", "partition": "test"} +{"repo": "Solve/Database", "path": "Adapters/BaseDBAdapter.php", "func_name": "BaseDBAdapter.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape values for using in queries\n\n@param mixed $value to be escaped\n@return mixed $value Escaped", "docstring_tokens": ["Escape", "values", "for", "using", "in", "queries"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Adapters/BaseDBAdapter.php#L90-L102", "partition": "test"} +{"repo": "opsbears/piccolo-web-processor-controller-view-templating", "path": "src/TemplatingViewModule.php", "func_name": "TemplatingViewModule.addTemplateRoot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to add a template root directory.\n\n@param array $globalConfig The global configuration array.\n@param string $directory The directory to look for a template in.\n@param string $trim Parts to remove from the controller name\n@param string $referenceName Name to reference root by. Can be used with some template engines.", "docstring_tokens": ["Helper", "function", "to", "add", "a", "template", "root", "directory", "."], "sha": "d33d28f37214b2f7be2b5057a596aa20244aeced", "url": "https://github.com/opsbears/piccolo-web-processor-controller-view-templating/blob/d33d28f37214b2f7be2b5057a596aa20244aeced/src/TemplatingViewModule.php#L53-L70", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/DoctrinePresenceVerifier.php", "func_name": "DoctrinePresenceVerifier.getCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the number of objects in a collection having the given value.\n\n@param string $collection\n@param string $column\n@param string $value\n@param int $excludeId\n@param string $idColumn\n@param array $extra\n@return int", "docstring_tokens": ["Count", "the", "number", "of", "objects", "in", "a", "collection", "having", "the", "given", "value", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/DoctrinePresenceVerifier.php#L47-L64", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/DoctrinePresenceVerifier.php", "func_name": "DoctrinePresenceVerifier.getMultiCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Count the number of objects in a collection with the given values.\n\n@param string $collection\n@param string $column\n@param array $values\n@param array $extra\n@return int", "docstring_tokens": ["Count", "the", "number", "of", "objects", "in", "a", "collection", "with", "the", "given", "values", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/DoctrinePresenceVerifier.php#L75-L85", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/DoctrinePresenceVerifier.php", "func_name": "DoctrinePresenceVerifier.createCountQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a query builder.\n\n@param string $collection\n@param string $alias\n@return QueryBuilder", "docstring_tokens": ["Creates", "a", "query", "builder", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/DoctrinePresenceVerifier.php#L135-L139", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/DoctrinePresenceVerifier.php", "func_name": "DoctrinePresenceVerifier.getEntityManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the EntityManager, loading it if it hasn't been created yet.\n\n@return \\Doctrine\\ORM\\EntityManagerInterface", "docstring_tokens": ["Returns", "the", "EntityManager", "loading", "it", "if", "it", "hasn", "t", "been", "created", "yet", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/DoctrinePresenceVerifier.php#L147-L154", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Url.php", "func_name": "Url.getCurrentPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current path from request & current controller\n@param RequestApplicationInterface $app\n@param bool $onlyStaticPart\n@return null|string", "docstring_tokens": ["Get", "current", "path", "from", "request", "&", "current", "controller"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Url.php#L440-L443", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Container.php", "func_name": "Container.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instance loader and setter\n\n@param string $name The variable name to set\n@param array $params An array of parameters to pass to loader\n@param object $object_loader The loader class if so\n@param bool $force_overload Over-write an existing value ?\n@return bool\n\n@todo Pass arguments (via parameter here and configuration settings)", "docstring_tokens": ["Instance", "loader", "and", "setter"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Container.php#L99-L146", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Container.php", "func_name": "Container.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear a container entry\n\n@param string $name The variable name to set\n@return bool", "docstring_tokens": ["Clear", "a", "container", "entry"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Container.php#L154-L159", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Container.php", "func_name": "Container.getBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Global bundle getter\n\n@param string $name The bundle name to get\n@return mixed The value of the registry bundle\n@see \\Patterns\\Commons\\Registry::getEntry()", "docstring_tokens": ["Global", "bundle", "getter"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Container.php#L168-L174", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Container.php", "func_name": "Container.setBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Global bundle setter\n\n@param string $name The bundle name to set\n@param mixed $val The bundle value to set\n@param bool $force_overload Over-write an existing value ?\n@return \\Patterns\\Commons\\Registry::setEntry()\n@throws \\CarteBlanche\\Exception\\DomainException if `$val` is not an object\n@throws \\CarteBlanche\\Exception\\DomainException if `$val` is not a `\\CarteBlanche\\App\\Kernel::BUNDLE_CLASS` instance\n@throws \\CarteBlanche\\Exception\\InvalidArgumentException if the entry is already defined and `$force_overload = false`", "docstring_tokens": ["Global", "bundle", "setter"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Container.php#L187-L205", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Container.php", "func_name": "Container.clearBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear a container bundle entry\n\n@param string $name The bundle name to unset", "docstring_tokens": ["Clear", "a", "container", "bundle", "entry"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Container.php#L212-L217", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Cache/CacheInvalidationSubscriber.php", "func_name": "CacheInvalidationSubscriber.invalidate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invalidates the cache.\n\n@param \\Doctrine\\ORM\\EntityManager $em\n@param object $entity", "docstring_tokens": ["Invalidates", "the", "cache", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Cache/CacheInvalidationSubscriber.php#L89-L104", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.assertDepsDB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create the dependency database, if it doesn't exist. Error if the database is\nnewer than the code reading it.\n@return void|PEAR_Error", "docstring_tokens": ["Create", "the", "dependency", "database", "if", "it", "doesn", "t", "exist", ".", "Error", "if", "the", "database", "is", "newer", "than", "the", "code", "reading", "it", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L163-L181", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.getDependentPackageDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of the actual dependencies of installed packages that depend on\na package.\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2|array\n@return array|false", "docstring_tokens": ["Get", "a", "list", "of", "the", "actual", "dependencies", "of", "installed", "packages", "that", "depend", "on", "a", "package", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L212-L250", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.getDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of dependencies of this installed package\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2|array\n@return array|false", "docstring_tokens": ["Get", "a", "list", "of", "dependencies", "of", "this", "installed", "package"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L257-L273", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.installPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register dependencies of a package that is being installed or upgraded\n@param PEAR_PackageFile_v2|PEAR_PackageFile_v2", "docstring_tokens": ["Register", "dependencies", "of", "a", "package", "that", "is", "being", "installed", "or", "upgraded"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L357-L363", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.uninstallPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove dependencies of a package that is being uninstalled, or upgraded.\n\nUpgraded packages first uninstall, then install\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2|array If an array, then it must have\nindices 'channel' and 'package'", "docstring_tokens": ["Remove", "dependencies", "of", "a", "package", "that", "is", "being", "uninstalled", "or", "upgraded", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L372-L429", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB.rebuildDB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rebuild the dependency DB by reading registry entries.\n@return true|PEAR_Error", "docstring_tokens": ["Rebuild", "the", "dependency", "DB", "by", "reading", "registry", "entries", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L435-L465", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB._lock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register usage of the dependency DB to prevent race conditions\n@param int one of the LOCK_* constants\n@return true|PEAR_Error\n@access private", "docstring_tokens": ["Register", "usage", "of", "the", "dependency", "DB", "to", "prevent", "race", "conditions"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L473-L517", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB._unlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Release usage of dependency DB\n@return true|PEAR_Error\n@access private", "docstring_tokens": ["Release", "usage", "of", "dependency", "DB"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L524-L532", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB._getDepDB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the dependency database from disk, or return the cache\n@return array|PEAR_Error", "docstring_tokens": ["Load", "the", "dependency", "database", "from", "disk", "or", "return", "the", "cache"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L538-L561", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/DependencyDB.php", "func_name": "PEAR_DependencyDB._writeDepDB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write out the dependency database to disk\n@param array the database\n@return true|PEAR_Error\n@access private", "docstring_tokens": ["Write", "out", "the", "dependency", "database", "to", "disk"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/DependencyDB.php#L569-L588", "partition": "test"} +{"repo": "erikkubica/netlime-theme-core", "path": "Theme.php", "func_name": "Theme.autoLoadModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto load extensions", "docstring_tokens": ["Auto", "load", "extensions"], "sha": "883153931f591ad1d5b2647df5996a0baa08a1b9", "url": "https://github.com/erikkubica/netlime-theme-core/blob/883153931f591ad1d5b2647df5996a0baa08a1b9/Theme.php#L65-L80", "partition": "test"} +{"repo": "erikkubica/netlime-theme-core", "path": "Theme.php", "func_name": "Theme.registerModule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register theme module\n\n@param $key string Register module under this key\n@param $instance", "docstring_tokens": ["Register", "theme", "module"], "sha": "883153931f591ad1d5b2647df5996a0baa08a1b9", "url": "https://github.com/erikkubica/netlime-theme-core/blob/883153931f591ad1d5b2647df5996a0baa08a1b9/Theme.php#L88-L98", "partition": "test"} +{"repo": "erikkubica/netlime-theme-core", "path": "Theme.php", "func_name": "Theme.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render sections of given location inside wrapper\n\n@param $location string Render sections on this location", "docstring_tokens": ["Render", "sections", "of", "given", "location", "inside", "wrapper"], "sha": "883153931f591ad1d5b2647df5996a0baa08a1b9", "url": "https://github.com/erikkubica/netlime-theme-core/blob/883153931f591ad1d5b2647df5996a0baa08a1b9/Theme.php#L227-L246", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/StdControllers/ErrorController.php", "func_name": "ErrorController.actionError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Error action default\n@CtrlAction(path=\"/error\")\n@param RequestApplicationInterface $app\n@param \\Throwable $exception\n@return \\Reaction\\Web\\ResponseBuilderInterface|string", "docstring_tokens": ["Error", "action", "default"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/StdControllers/ErrorController.php#L34-L39", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.setForeground", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the foreground.\n\n@param FormatForeground $foreground The foreground color\n\n@return void", "docstring_tokens": ["Set", "the", "foreground", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L57-L66", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.setBackground", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the background.\n\n@param FormatBackground $background The background\n\n@return void", "docstring_tokens": ["Set", "the", "background", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L75-L84", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.black", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to black.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "black", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L93-L99", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.red", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to red.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "red", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L108-L114", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.green", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to green.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "green", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L123-L129", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.yellow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to yellow.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "yellow", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L138-L144", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.blue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to blue.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "blue", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L153-L159", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.magenta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to magenta.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "magenta", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L168-L174", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.cyan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to cyan.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "cyan", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L183-L189", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.white", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to white.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "white", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L198-L204", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.resetColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set foreground or background to default.\n\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "foreground", "or", "background", "to", "default", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L213-L219", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.setColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a color.\n\n@param int $color The color\n@param bool $background [optional] Whether this is to set the background\n\n@return void", "docstring_tokens": ["Set", "a", "color", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L229-L238", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.removeOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an option.\n\n@param FormatOption $option The option\n\n@return void", "docstring_tokens": ["Remove", "an", "option", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L271-L276", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutputFormatter.php", "func_name": "NativeOutputFormatter.format", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format a message.\n\n@param string $message The message\n\n@return string", "docstring_tokens": ["Format", "a", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutputFormatter.php#L371-L408", "partition": "test"} +{"repo": "pompdelux/phpredis-bundle", "path": "Logger/Logger.php", "func_name": "Logger.logCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs a command\n\n@param string $command Redis command\n@param float $duration Duration in milliseconds\n@param string $connection Connection alias\n@param bool|string $error Error message or false if command was successful", "docstring_tokens": ["Logs", "a", "command"], "sha": "780e434720bd1b890b9d0de50b45c501108b82c3", "url": "https://github.com/pompdelux/phpredis-bundle/blob/780e434720bd1b890b9d0de50b45c501108b82c3/Logger/Logger.php#L47-L65", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/ServerRequest.php", "func_name": "ServerRequest.getUploadedFileLeaves", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse uploaded file.\n\n@param array $uploaded_files The non-normalized tree of uploaded file data.\n@return UploadedFile[]|UploadedFile An array of UploadedFile instances or a single instance of UploadedFile.", "docstring_tokens": ["Parse", "uploaded", "file", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/ServerRequest.php#L228-L264", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.setRawState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "WARNING - do not use this function unless you know what you're doing", "docstring_tokens": ["WARNING", "-", "do", "not", "use", "this", "function", "unless", "you", "know", "what", "you", "re", "doing"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L468-L474", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.listPostinstallScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether this package.xml has post-install scripts or not\n@return array|false", "docstring_tokens": ["Determines", "whether", "this", "package", ".", "xml", "has", "post", "-", "install", "scripts", "or", "not"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L539-L577", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.initPostinstallScripts", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize post-install scripts for running\n\nThis method can be used to detect post-install scripts, as the return value\nindicates whether any exist\n@return bool", "docstring_tokens": ["Initialize", "post", "-", "install", "scripts", "for", "running"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L586-L635", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Directly set the array that defines this packagefile\n\nWARNING: no validation. This should only be performed by internal methods\ninside PEAR or by inputting an array saved from an existing PEAR_PackageFile_v2\n@param array", "docstring_tokens": ["Directly", "set", "the", "array", "that", "defines", "this", "packagefile"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L798-L808", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.getFilelist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This should only be used to retrieve filenames and install attributes", "docstring_tokens": ["This", "should", "only", "be", "used", "to", "retrieve", "filenames", "and", "install", "attributes"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1165-L1192", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.getConfigureOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return configure options array, if any\n\n@return array|false", "docstring_tokens": ["Return", "configure", "options", "array", "if", "any"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1199-L1223", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.isCompatible", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether this package claims it is compatible with the version of\nthe package that has a recommended version dependency\n@param PEAR_PackageFile_v2|PEAR_PackageFile_v1|PEAR_Downloader_Package\n@return boolean", "docstring_tokens": ["Determines", "whether", "this", "package", "claims", "it", "is", "compatible", "with", "the", "version", "of", "the", "package", "that", "has", "a", "recommended", "version", "dependency"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1440-L1479", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.isSubpackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether the passed in package is a subpackage of this package.\n\nNo version checking is done, only name verification.\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2\n@return bool", "docstring_tokens": ["Determines", "whether", "the", "passed", "in", "package", "is", "a", "subpackage", "of", "this", "package", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1512-L1557", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2.getDependencyGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the contents of a dependency group\n@param string\n@return array|false", "docstring_tokens": ["Get", "the", "contents", "of", "a", "dependency", "group"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1607-L1623", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2.php", "func_name": "PEAR_PackageFile_v2._ksplice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Key-friendly array_splice\n@param tagname to splice a value in before\n@param mixed the value to splice in\n@param string the new tag name", "docstring_tokens": ["Key", "-", "friendly", "array_splice"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2.php#L1980-L1987", "partition": "test"} +{"repo": "cscfaToolDivision/collections", "path": "src/CSDT/CollectionsBundle/CSDTCollectionsBundle.php", "func_name": "CSDTCollectionsBundle.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the bundle.\n\nIt is only ever called once when the cache is empty.\n\nThis method can be overridden to register compilation passes,\nother extensions, ...\n\n@param ContainerBuilder $container A ContainerBuilder instance\n\n@return void", "docstring_tokens": ["Builds", "the", "bundle", "."], "sha": "31b0b44c9de92aebbecb0fadc179f9a45aec976f", "url": "https://github.com/cscfaToolDivision/collections/blob/31b0b44c9de92aebbecb0fadc179f9a45aec976f/src/CSDT/CollectionsBundle/CSDTCollectionsBundle.php#L51-L57", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Arithmetic/Helper.php", "func_name": "Helper.modulo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to get the \"true\" modulo\n\n@param $a\n@param $b\n@return float|int", "docstring_tokens": ["Try", "to", "get", "the", "true", "modulo"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Arithmetic/Helper.php#L89-L98", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Arithmetic/Helper.php", "func_name": "Helper.getModuloFromEntirePart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is an alternative to the native `a % b` using the \"entire part\" method.\nThe result will always be in range `[0 ; b[` and have the same sign as `b`.\n\n@param $a\n@param $b\n@return float", "docstring_tokens": ["This", "method", "is", "an", "alternative", "to", "the", "native", "a", "%", "b", "using", "the", "entire", "part", "method", ".", "The", "result", "will", "always", "be", "in", "range", "[", "0", ";", "b", "[", "and", "have", "the", "same", "sign", "as", "b", "."], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Arithmetic/Helper.php#L108-L114", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Observer/Log.php", "func_name": "HTTP_Request2_Observer_Log.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Called when the request notifies us of an event.\n\n@param HTTP_Request2 $subject The HTTP_Request2 instance\n\n@return void", "docstring_tokens": ["Called", "when", "the", "request", "notifies", "us", "of", "an", "event", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Observer/Log.php#L129-L168", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Observer/Log.php", "func_name": "HTTP_Request2_Observer_Log.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the given message to the configured target.\n\n@param string $message Message to display\n\n@return void", "docstring_tokens": ["Logs", "the", "given", "message", "to", "the", "configured", "target", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Observer/Log.php#L180-L187", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.selectFromRepositoryEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure query to work with repository entity.\n\n@param string $alias\n@param string $indexBy The index for the from.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Configure", "query", "to", "work", "with", "repository", "entity", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L102-L115", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.getEntityAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get related entity alias used in query. Will be used entity class name without namespace\n\n@return string\n@throws \\ReflectionException", "docstring_tokens": ["Get", "related", "entity", "alias", "used", "in", "query", ".", "Will", "be", "used", "entity", "class", "name", "without", "namespace"], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L162-L182", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns the query being built into a bulk delete query that ranges over\na certain entity type.\n\n\n$qb = $em->createQueryBuilder()\n->delete('User', 'u')\n->where('u.id = :user_id')\n->setParameter('user_id', 1);\n\n\n@param string $delete The class/type whose instances are subject to the deletion.\n@param string $alias The class/type alias used in the constructed query.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Turns", "the", "query", "being", "built", "into", "a", "bulk", "delete", "query", "that", "ranges", "over", "a", "certain", "entity", "type", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L227-L240", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns the query being built into a bulk update query that ranges over\na certain entity type.\n\n\n$qb = $em->createQueryBuilder()\n->update('User', 'u')\n->set('u.password', md5('password'))\n->where('u.id = ?');\n\n\n@param string $update The class/type whose instances are subject to the update.\n@param string $alias The class/type alias used in the constructed query.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Turns", "the", "query", "being", "built", "into", "a", "bulk", "update", "query", "that", "ranges", "over", "a", "certain", "entity", "type", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L259-L272", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.from", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and adds a query root corresponding to the entity identified by the given alias,\nforming a cartesian product with any existing query roots.\n\n\n$qb = $em->createQueryBuilder()\n->select('u')\n->from('User', 'u');\n\n\n@param string $from The class name.\n@param string $alias The alias of the class.\n@param string $indexBy The index for the from.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Creates", "and", "adds", "a", "query", "root", "corresponding", "to", "the", "entity", "identified", "by", "the", "given", "alias", "forming", "a", "cartesian", "product", "with", "any", "existing", "query", "roots", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L291-L304", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new value for a field in a bulk update query.\n\n\n$qb = $em->createQueryBuilder()\n->update('User', 'u')\n->set('u.password', md5('password'))\n->where('u.id = ?');\n\n\n@param string $key The key/field to set.\n@param string $value The value, expression, placeholder, etc.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Sets", "a", "new", "value", "for", "a", "field", "in", "a", "bulk", "update", "query", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L322-L327", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.groupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies a grouping over the results of the query.\nReplaces any previously specified groupings, if any.\n\n\n$qb = $em->createQueryBuilder()\n->select('u')\n->from('User', 'u')\n->groupBy('u.id');\n\n\n@param string $groupBy The grouping expression.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Specifies", "a", "grouping", "over", "the", "results", "of", "the", "query", ".", "Replaces", "any", "previously", "specified", "groupings", "if", "any", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L345-L359", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.addGroupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a grouping expression to the query.\n\n\n$qb = $em->createQueryBuilder()\n->select('u')\n->from('User', 'u')\n->groupBy('u.lastLogin')\n->addGroupBy('u.createdAt');\n\n\n@param string $groupBy The grouping expression.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Adds", "a", "grouping", "expression", "to", "the", "query", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L377-L387", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.orderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies an ordering for the query results.\nReplaces any previously specified orderings, if any.\n\n@param string $sort The ordering expression.\n@param string $order The ordering direction.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Specifies", "an", "ordering", "for", "the", "query", "results", ".", "Replaces", "any", "previously", "specified", "orderings", "if", "any", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L399-L408", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.addOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an ordering to the query results.\n\n@param string $sort The ordering expression.\n@param string $order The ordering direction.\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["Adds", "an", "ordering", "to", "the", "query", "results", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L419-L428", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.limit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit max number of results\n\n@param int $maxResults\n@param int $offset\n\n@return $this This QueryBuilder instance.\n@throws Exception\\InvalidArgumentException", "docstring_tokens": ["Limit", "max", "number", "of", "results"], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L439-L468", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Limit results with selected page.\n\n@param int $page\n@param int $itemsPerPage\n\n@return $this This QueryBuilder instance.\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Limit", "results", "with", "selected", "page", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L531-L554", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.fetchOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch first entity.\n\n@param array $parameters\n@param int $hydrationMode\n\n@return mixed|null\n@throws \\Doctrine\\ORM\\NonUniqueResultException\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Fetch", "first", "entity", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L566-L572", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.fetchSingle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch first column of first result row.\n\n@param array $parameters\n@param int $hydrationMode\n\n@return mixed\n@throws \\Doctrine\\ORM\\NonUniqueResultException\n@throws \\Doctrine\\ORM\\NoResultException\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Fetch", "first", "column", "of", "first", "result", "row", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L585-L591", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.fetchAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch all entities.\n\n@param array $parameters\n@param int $hydrationMode\n\n@return array", "docstring_tokens": ["Fetch", "all", "entities", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L616-L621", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.param", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Auto append parameter and replace them with the parameter name.\n\n@param mixed $value\n@param string $type\n@param string $columnName\n\n@return string The parameter name.", "docstring_tokens": ["Auto", "append", "parameter", "and", "replace", "them", "with", "the", "parameter", "name", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L700-L718", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.findUnusedParameterName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find unused parameter name.\n\n@param string $columnName\n\n@return string", "docstring_tokens": ["Find", "unused", "parameter", "name", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L916-L932", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.parseCallMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A parseCallMethods function.\n\n@param string $method\n@param array $lists\n@param array $arguments\n@param bool $prefix\n\n@return array\n@throws \\Doctrine\\ORM\\ORMException", "docstring_tokens": ["A", "parseCallMethods", "function", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L945-L1004", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityQueryBuilder.php", "func_name": "EntityQueryBuilder.callFunctionalityFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "A callFunctionalityFields function.\n\n@param string $fieldName\n@param string $methodName\n@param array $arguments\n@param string $condition\n\n@return $this This QueryBuilder instance.\n@throws \\ReflectionException", "docstring_tokens": ["A", "callFunctionalityFields", "function", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityQueryBuilder.php#L1017-L1070", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Arrays/IsAssoc.php", "func_name": "IsAssoc.isAssoc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks a value whether to be an array, if its empty and when not an empty array if it's an associative one.\n\n@return bool", "docstring_tokens": ["Checks", "a", "value", "whether", "to", "be", "an", "array", "if", "its", "empty", "and", "when", "not", "an", "empty", "array", "if", "it", "s", "an", "associative", "one", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Arrays/IsAssoc.php#L19-L26", "partition": "test"} +{"repo": "psiphp/description", "path": "src/DescriptionFactory.php", "func_name": "DescriptionFactory.describe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a description of the given subject.", "docstring_tokens": ["Return", "a", "description", "of", "the", "given", "subject", "."], "sha": "92356f4355ee55c134a342143abc7d4958fd61aa", "url": "https://github.com/psiphp/description/blob/92356f4355ee55c134a342143abc7d4958fd61aa/src/DescriptionFactory.php#L48-L69", "partition": "test"} +{"repo": "simoneddeland/logger", "path": "src/Logger/CLog.php", "func_name": "CLog.timestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Timestamp, log a event with a time.\n\n@param string $domain is the module or class.\n@param string $where a more specific place in the domain.\n@param string $comment on the timestamp.", "docstring_tokens": ["Timestamp", "log", "a", "event", "with", "a", "time", "."], "sha": "06879941bad72056abac4ba00cbff48ebd1e2a6e", "url": "https://github.com/simoneddeland/logger/blob/06879941bad72056abac4ba00cbff48ebd1e2a6e/src/Logger/CLog.php#L38-L56", "partition": "test"} +{"repo": "simoneddeland/logger", "path": "src/Logger/CLog.php", "func_name": "CLog.timestampAsTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Print all timestamp to a table.\n\n@return string with a html-table to display all timestamps.", "docstring_tokens": ["Print", "all", "timestamp", "to", "a", "table", "."], "sha": "06879941bad72056abac4ba00cbff48ebd1e2a6e", "url": "https://github.com/simoneddeland/logger/blob/06879941bad72056abac4ba00cbff48ebd1e2a6e/src/Logger/CLog.php#L64-L125", "partition": "test"} +{"repo": "simoneddeland/logger", "path": "src/Logger/CLog.php", "func_name": "CLog.pageLoadTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns load time of the page\n\n@return The page load time.", "docstring_tokens": ["Returns", "load", "time", "of", "the", "page"], "sha": "06879941bad72056abac4ba00cbff48ebd1e2a6e", "url": "https://github.com/simoneddeland/logger/blob/06879941bad72056abac4ba00cbff48ebd1e2a6e/src/Logger/CLog.php#L133-L139", "partition": "test"} +{"repo": "simoneddeland/logger", "path": "src/Logger/CLog.php", "func_name": "CLog.mostTimeConsumingDomain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the most time consuming domain.\n\n@return The most time consuming domain.", "docstring_tokens": ["Get", "the", "most", "time", "consuming", "domain", "."], "sha": "06879941bad72056abac4ba00cbff48ebd1e2a6e", "url": "https://github.com/simoneddeland/logger/blob/06879941bad72056abac4ba00cbff48ebd1e2a6e/src/Logger/CLog.php#L170-L191", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Card.php", "func_name": "Card.renderHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render card header\n@return string", "docstring_tokens": ["Render", "card", "header"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Card.php#L69-L81", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Card.php", "func_name": "Card.renderHeaderImage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render card top image\n@return string", "docstring_tokens": ["Render", "card", "top", "image"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Card.php#L87-L93", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Card.php", "func_name": "Card.renderBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render card body\n@param string $body\n@param bool $includeOb\n@return string", "docstring_tokens": ["Render", "card", "body"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Card.php#L125-L157", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Card.php", "func_name": "Card.renderFooter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render card footer\n@return string", "docstring_tokens": ["Render", "card", "footer"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Card.php#L163-L175", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Routes/Controller.php", "func_name": "Controller.group", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get route group name, if empty no grouping\n@return string", "docstring_tokens": ["Get", "route", "group", "name", "if", "empty", "no", "grouping"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Routes/Controller.php#L122-L131", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Routes/Controller.php", "func_name": "Controller.getOptionValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns properties corresponding to the options for the action id\nChild classes may override this method to specify possible properties.\n\n@param string $actionID the action id of the current request\n@return array properties corresponding to the options for the action", "docstring_tokens": ["Returns", "properties", "corresponding", "to", "the", "options", "for", "the", "action", "id", "Child", "classes", "may", "override", "this", "method", "to", "specify", "possible", "properties", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Routes/Controller.php#L318-L327", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Routes/Controller.php", "func_name": "Controller.getActionArgsHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the help information for the anonymous arguments for the action.\n\nThe returned value should be an array. The keys are the argument names, and the values are\nthe corresponding help information. Each value must be an array of the following structure:\n\n- required: boolean, whether this argument is required.\n- type: string, the PHP type of this argument.\n- default: string, the default value of this argument\n- comment: string, the comment of this argument\n\nThe default implementation will return the help information extracted from the doc-comment of\nthe parameters corresponding to the action method.\n\n@param string $actionId\n@return array the help information of the action arguments", "docstring_tokens": ["Returns", "the", "help", "information", "for", "the", "anonymous", "arguments", "for", "the", "action", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Routes/Controller.php#L418-L459", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Routes/Controller.php", "func_name": "Controller.getActionOptionsHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the help information for the options for the action.\n\nThe returned value should be an array. The keys are the option names, and the values are\nthe corresponding help information. Each value must be an array of the following structure:\n\n- type: string, the PHP type of this argument.\n- default: string, the default value of this argument\n- comment: string, the comment of this argument\n\nThe default implementation will return the help information extracted from the doc-comment of\nthe properties corresponding to the action options.\n\n@param string $actionId\n@return array the help information of the action options", "docstring_tokens": ["Returns", "the", "help", "information", "for", "the", "options", "for", "the", "action", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Routes/Controller.php#L477-L524", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the header collection.\nThe header collection contains incoming HTTP headers.\n@return HeaderCollection the header collection", "docstring_tokens": ["Returns", "the", "header", "collection", ".", "The", "header", "collection", "contains", "incoming", "HTTP", "headers", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L211-L223", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getIsFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether this is an Adobe Flash or Flex request.\n@return bool whether this is an Adobe Flash or Adobe Flex request.", "docstring_tokens": ["Returns", "whether", "this", "is", "an", "Adobe", "Flash", "or", "Flex", "request", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L358-L364", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getRawBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the raw HTTP request body.\n@return string the request body", "docstring_tokens": ["Returns", "the", "raw", "HTTP", "request", "body", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L372-L379", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getBodyParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the request parameters given in the request body.\n\nRequest parameters are determined using the parsers configured in [[parsers]] property.\nIf no parsers are configured for the current [[contentType]] it uses the PHP function `mb_parse_str()`\nto parse the [[rawBody|request body]].\n@return array the request parameters given in the request body.\n@throws \\Reaction\\Exceptions\\InvalidConfigException if a registered parser does not implement the [[RequestParserInterface]].\n@see _getMethod()\n@see getBodyParam()\n@see setBodyParams()", "docstring_tokens": ["Returns", "the", "request", "parameters", "given", "in", "the", "request", "body", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L402-L443", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getHostInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the schema and host part of the current request URL.\n\nThe returned URL does not have an ending slash.\n\nBy default this value is based on the user request information. This method will\nreturn the value of `$_SERVER['HTTP_HOST']` if it is available or `$_SERVER['SERVER_NAME']` if not.\nYou may want to check out the [PHP documentation](http://php.net/manual/en/reserved.variables.server.php)\nfor more information on these variables.\n\nYou may explicitly specify it by setting the [[setHostInfo()|hostInfo]] property.\n\n> Warning: Dependent on the server configuration this information may not be\n> reliable and [may be faked by the user sending the HTTP request](https://www.acunetix.com/vulnerabilities/web/host-header-attack).\n> If the webserver is configured to serve the same site independent of the value of\n> the `Host` header, this value is not reliable. In such situations you should either\n> fix your webserver configuration or explicitly set the value by setting the [[setHostInfo()|hostInfo]] property.\n> If you don't have access to the server configuration, you can setup [[\\yii\\filters\\HostControl]] filter at\n> application level in order to protect against such kind of attack.\n\n@property string|null schema and hostname part (with port number if needed) of the request URL\n(e.g. `http://www.example.com`), null if can't be obtained from `$_SERVER` and wasn't set.\nSee [[getHostInfo()]] for security related notes on this property.\n@return string|null schema and hostname part (with port number if needed) of the request URL\n(e.g. `http://www.example.com`), null if can't be obtained from `$_SERVER` and wasn't set.\n@see setHostInfo()", "docstring_tokens": ["Returns", "the", "schema", "and", "host", "part", "of", "the", "current", "request", "URL", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L582-L603", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getScriptUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the relative URL of the entry script.\nThe implementation of this method referenced Zend_Controller_Request_Http in Zend Framework.\n@return string the relative URL of the entry script.\n@throws InvalidConfigException if unable to determine the entry script URL", "docstring_tokens": ["Returns", "the", "relative", "URL", "of", "the", "entry", "script", ".", "The", "implementation", "of", "this", "method", "referenced", "Zend_Controller_Request_Http", "in", "Zend", "Framework", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L670-L692", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getServerParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get server parameters\n@return array", "docstring_tokens": ["Get", "server", "parameters"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L816-L821", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getAcceptableContentTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the content types acceptable by the end user.\n\nThis is determined by the `Accept` HTTP header. For example,\n\n```php\n$_SERVER['HTTP_ACCEPT'] = 'text/plain; q=0.5, application/json; version=1.0, application/xml; version=2.0;';\n$types = $request->getAcceptableContentTypes();\nprint_r($types);\n// displays:\n// [\n// 'application/json' => ['q' => 1, 'version' => '1.0'],\n// 'application/xml' => ['q' => 1, 'version' => '2.0'],\n// 'text/plain' => ['q' => 0.5],\n// ]\n```\n\n@return array the content types ordered by the quality score. Types with the highest scores\nwill be returned first. The array keys are the content types, while the array values\nare the corresponding quality score and other parameters as given in the header.", "docstring_tokens": ["Returns", "the", "content", "types", "acceptable", "by", "the", "end", "user", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1051-L1062", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getAcceptableLanguages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the languages acceptable by the end user.\nThis is determined by the `Accept-Language` HTTP header.\n@return array the languages ordered by the preference level. The first element\nrepresents the most preferred language.", "docstring_tokens": ["Returns", "the", "languages", "acceptable", "by", "the", "end", "user", ".", "This", "is", "determined", "by", "the", "Accept", "-", "Language", "HTTP", "header", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1100-L1113", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getETags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the Etags.\n\n@return array The entity tags", "docstring_tokens": ["Gets", "the", "Etags", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1252-L1262", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getCsrfToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the token used to perform CSRF validation.\n\nThis token is generated in a way to prevent [BREACH attacks](http://breachattack.com/). It may be passed\nalong via a hidden field of an HTML form or an HTTP header value to support CSRF validation.\n@param bool $regenerate whether to regenerate CSRF token. When this parameter is true, each time\nthis method is called, a new CSRF token will be generated and persisted (in session or cookie).\n@return string the token used to perform CSRF validation.", "docstring_tokens": ["Returns", "the", "token", "used", "to", "perform", "CSRF", "validation", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1300-L1311", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.generateCsrfToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates an unmasked random token used to perform CSRF validation.\n@return string the random token for CSRF validation.", "docstring_tokens": ["Generates", "an", "unmasked", "random", "token", "used", "to", "perform", "CSRF", "validation", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1564-L1575", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/RequestHelper.php", "func_name": "RequestHelper.getDefaultServerParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default server parameters\n@return array", "docstring_tokens": ["Get", "default", "server", "parameters"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/RequestHelper.php#L1598-L1610", "partition": "test"} +{"repo": "sasedev/commons-shared-bundle", "path": "src/Sasedev/Commons/SharedBundle/Listener/LoginSuccess.php", "func_name": "LoginSuccess.onLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fired on login\n\n@param InteractiveLoginEvent $event", "docstring_tokens": ["Fired", "on", "login"], "sha": "c9fe125df0345b6f448342750effa5f166831d5f", "url": "https://github.com/sasedev/commons-shared-bundle/blob/c9fe125df0345b6f448342750effa5f166831d5f/src/Sasedev/Commons/SharedBundle/Listener/LoginSuccess.php#L40-L60", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Twig/CropTwigExtension.php", "func_name": "CropTwigExtension.crop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Crops a file and returns crop's web path\n\n@param array $croppable\n@param int $index\n@return mixed", "docstring_tokens": ["Crops", "a", "file", "and", "returns", "crop", "s", "web", "path"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Twig/CropTwigExtension.php#L55-L68", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Twig/CropTwigExtension.php", "func_name": "CropTwigExtension.makeCropName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the name for a cropped file\n\n@param UploadableFile $file\n@param $coordinates\n@return mixed", "docstring_tokens": ["Returns", "the", "name", "for", "a", "cropped", "file"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Twig/CropTwigExtension.php#L77-L83", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Twig/CropTwigExtension.php", "func_name": "CropTwigExtension.doCrop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Crops a file\n\n@param UploadableFile $file\n@param $coordinates\n@param $path", "docstring_tokens": ["Crops", "a", "file"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Twig/CropTwigExtension.php#L92-L131", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Twig/CropTwigExtension.php", "func_name": "CropTwigExtension.getSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns image size info\n\n@param $image\n@param bool $relative\n@return array", "docstring_tokens": ["Returns", "image", "size", "info"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Twig/CropTwigExtension.php#L140-L151", "partition": "test"} +{"repo": "nubs/which", "path": "src/PathBuilder/WindowsPathBuilder.php", "func_name": "WindowsPathBuilder.getPermutations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the permutations of paths to the given file.\n\n@param string $file The file to build paths to.\n@return array The permutations of file paths.", "docstring_tokens": ["Gets", "the", "permutations", "of", "paths", "to", "the", "given", "file", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/PathBuilder/WindowsPathBuilder.php#L36-L41", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.getAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get annotations from a given string.\n\n@param string $docString The doc string\n\n@throws \\Valkyrja\\Annotations\\Exceptions\\InvalidAnnotationKeyArgument\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "annotations", "from", "a", "given", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L52-L68", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.getAnnotationMatches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get annotation matches.\n\n@param string $docString The doc string\n\n@return array[]", "docstring_tokens": ["Get", "annotation", "matches", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L77-L82", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.setAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a matched annotation.\n\n@param array $matches The matches\n[\n0 => matches,\n1 => annotation,\n2 => type,\n3 => args,\n4 => var,\n5 => desc\n]\n@param int $index The index\n@param array $annotations The annotations list\n\n@throws \\Valkyrja\\Annotations\\Exceptions\\InvalidAnnotationKeyArgument\n\n@return void", "docstring_tokens": ["Set", "a", "matched", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L103-L140", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.setAnnotationArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the annotation's arguments.\n\n@param Annotation $annotation The annotation\n\n@return void", "docstring_tokens": ["Set", "the", "annotation", "s", "arguments", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L149-L168", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.getAnnotationProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the properties for a matched annotation.\n\n@param array $matches The matches\n@param int $index The index\n\n@return array", "docstring_tokens": ["Get", "the", "properties", "for", "a", "matched", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L178-L190", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.processAnnotationProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the properties.\n\n@param array $properties The properties\n\n@return array", "docstring_tokens": ["Process", "the", "properties", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L199-L224", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.getArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter a string of arguments into an key => value array.\n\n@param string $arguments The arguments\n\n@throws \\Valkyrja\\Annotations\\Exceptions\\InvalidAnnotationKeyArgument\n\n@return array", "docstring_tokens": ["Filter", "a", "string", "of", "arguments", "into", "an", "key", "=", ">", "value", "array", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L235-L256", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.determineValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a value is a defined constant.\n\n@param mixed $value The value to check\n\n@return mixed", "docstring_tokens": ["Determine", "if", "a", "value", "is", "a", "defined", "constant", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L265-L304", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.getAnnotationFromMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an annotation model from the annotations map.\n\n@param string $annotationType The annotation type\n\n@return \\Valkyrja\\Annotations\\Annotation", "docstring_tokens": ["Get", "an", "annotation", "model", "from", "the", "annotations", "map", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L369-L388", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotationsParser.php", "func_name": "NativeAnnotationsParser.cleanMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clean a match from asterisks and new lines.\n\n@param string $match The match\n\n@return string", "docstring_tokens": ["Clean", "a", "match", "from", "asterisks", "and", "new", "lines", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotationsParser.php#L397-L404", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Plugin.php", "func_name": "Plugin.getSubscribedEvents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array of subscribed events\n\n@return array", "docstring_tokens": ["Return", "array", "of", "subscribed", "events"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Plugin.php#L67-L75", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Plugin.php", "func_name": "Plugin.handleCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handler for the main commands\n\n@param \\Phergie\\Irc\\Plugin\\React\\Command\\CommandEvent $event\n@param \\Phergie\\Irc\\Bot\\React\\EventQueueInterface $queue", "docstring_tokens": ["Handler", "for", "the", "main", "commands"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Plugin.php#L83-L92", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Plugin.php", "func_name": "Plugin.handleCommandHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handler for the help command\n\n@param \\Phergie\\Irc\\Plugin\\React\\Command\\CommandEvent $event\n@param \\Phergie\\Irc\\Bot\\React\\EventQueueInterface $queue", "docstring_tokens": ["Handler", "for", "the", "help", "command"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Plugin.php#L100-L104", "partition": "test"} +{"repo": "chrismou/phergie-irc-plugin-react-audioscrobbler", "path": "src/Plugin.php", "func_name": "Plugin.getProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single provider class by command\n\n@param string $command\n@return \\Chrismou\\Phergie\\Plugin\\Audioscrobbler\\Provider\\AudioscrobblerProviderInterface $provider|false", "docstring_tokens": ["Get", "a", "single", "provider", "class", "by", "command"], "sha": "bd00aa83537e1435bb413371d7ac7ad2b95bd555", "url": "https://github.com/chrismou/phergie-irc-plugin-react-audioscrobbler/blob/bd00aa83537e1435bb413371d7ac7ad2b95bd555/src/Plugin.php#L169-L172", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Builder.class.php", "func_name": "Builder.leftJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a left join to the query.\n\n@param string $table\n@param string $firstColumn\n@param string $operator\n@param string $secondColumn\n@return \\wiggum\\db\\Builder", "docstring_tokens": ["Add", "a", "left", "join", "to", "the", "query", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Builder.class.php#L227-L229", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Builder.class.php", "func_name": "Builder.rightJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a right join to the query.\n\n@param string $table\n@param string $firstColumn\n@param string $operator\n@param string $secondColumn\n@return \\wiggum\\db\\Builder", "docstring_tokens": ["Add", "a", "right", "join", "to", "the", "query", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Builder.class.php#L253-L255", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Builder.class.php", "func_name": "Builder.rightJoinWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a \"right join where\" clause to the query.\n\n@param string $table\n@param string $firstColumn\n@param string $operator\n@param string $secondColumn\n@return \\wiggum\\db\\Builder", "docstring_tokens": ["Add", "a", "right", "join", "where", "clause", "to", "the", "query", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Builder.class.php#L266-L268", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Builder.class.php", "func_name": "Builder.toSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the SQL representation of the query.\n\n@return string", "docstring_tokens": ["Get", "the", "SQL", "representation", "of", "the", "query", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Builder.class.php#L469-L481", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Builder.class.php", "func_name": "Builder.fetchAllColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch all values of a single column from the result set into an array.\n\n@return array", "docstring_tokens": ["Fetch", "all", "values", "of", "a", "single", "column", "from", "the", "result", "set", "into", "an", "array", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Builder.class.php#L512-L514", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object name\n@param string $name The object name to set\n@return self Return the object for method chaining", "docstring_tokens": ["Set", "the", "object", "name"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L67-L76", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject.setStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object structure\n@param string $name The object structure to set\n@return self Return the object for method chaining", "docstring_tokens": ["Set", "the", "object", "structure"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L83-L92", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject.setDatabaseName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object database name\n@param string $name The object database name to set\n@return self Return the object for method chaining", "docstring_tokens": ["Set", "the", "object", "database", "name"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L115-L124", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject.setModelName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the object model name\n@param string $name The object model name to set\n@return self Return the object for method chaining", "docstring_tokens": ["Set", "the", "object", "model", "name"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L131-L145", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject._buildModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the object model\n@return void", "docstring_tokens": ["Build", "the", "object", "model"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L238-L260", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObject.php", "func_name": "AutoObject._buildFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an array of the object fields\n@return void", "docstring_tokens": ["Build", "an", "array", "of", "the", "object", "fields"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObject.php#L275-L298", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/ValidationServiceProvider.php", "func_name": "ValidationServiceProvider.registerValidationFactory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register the validation factory.\n\n@return void", "docstring_tokens": ["Register", "the", "validation", "factory", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/ValidationServiceProvider.php#L63-L76", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Framework/ServiceLocator/Loader/LoggerConfigLoader.php", "func_name": "LoggerConfigLoader.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Service locator config for Logger component.\n\n@return array", "docstring_tokens": ["Service", "locator", "config", "for", "Logger", "component", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Framework/ServiceLocator/Loader/LoggerConfigLoader.php#L34-L63", "partition": "test"} +{"repo": "flipboxfactory/craft-sortable-associations", "path": "src/services/SortableFields.php", "func_name": "SortableFields.targetSiteId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the site ID that target elements should have.\n\n@param ElementInterface|Element|null $element\n\n@return int", "docstring_tokens": ["Returns", "the", "site", "ID", "that", "target", "elements", "should", "have", "."], "sha": "e916dc71be7cf37a4d6fa430798ae5ab1430008b", "url": "https://github.com/flipboxfactory/craft-sortable-associations/blob/e916dc71be7cf37a4d6fa430798ae5ab1430008b/src/services/SortableFields.php#L290-L298", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Table/Relation.php", "func_name": "Relation.getParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return parent record\n\n@throws Exception\\LogicException\n@throws Exception\\RelationNotFoundException\n\n@param Record $record\n@param string $parent_table\n@return Record|false", "docstring_tokens": ["Return", "parent", "record"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Table/Relation.php#L44-L65", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Collapse.php", "func_name": "Collapse.renderItem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a single collapsible item group\n@param string $header a label of the item group [[items]]\n@param array $item a single item from [[items]]\n@param int $index the item index as each item group content must have an id\n@return string the rendering result\n@throws InvalidConfigException", "docstring_tokens": ["Renders", "a", "single", "collapsible", "item", "group"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Collapse.php#L150-L205", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Query.php", "func_name": "Query.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the query and returns all results as an array.\n@param DatabaseInterface|DbConnectionGetterInterface $db the database connection used to generate the SQL statement.\nIf this parameter is not given, the `db` application component will be used.\n@return LazyPromiseInterface with array the query results. If the query results in nothing, an empty array will be returned.", "docstring_tokens": ["Executes", "the", "query", "and", "returns", "all", "results", "as", "an", "array", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Query.php#L167-L177", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Query.php", "func_name": "Query.one", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the query and returns a single row of result.\n@param DatabaseInterface|DbConnectionGetterInterface $db the database connection used to generate the SQL statement.\nIf this parameter is not given, the `db` application component will be used.\n@return LazyPromiseInterface with array the first row (in terms of an array) of the query result. Rejects if the query\nresults in nothing.", "docstring_tokens": ["Executes", "the", "query", "and", "returns", "a", "single", "row", "of", "result", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Query.php#L206-L213", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Query.php", "func_name": "Query.column", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the query and returns the first column of the result.\n@param DatabaseInterface|DbConnectionGetterInterface $db the database connection used to generate the SQL statement.\nIf this parameter is not given, the `db` application component will be used.\n@return LazyPromiseInterface with array the first column of the query result. An empty array is returned if the query results in nothing.", "docstring_tokens": ["Executes", "the", "query", "and", "returns", "the", "first", "column", "of", "the", "result", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Query.php#L238-L271", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Query.php", "func_name": "Query.count", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of records.\n@param string $q the COUNT expression. Defaults to '*'.\nMake sure you properly [quote](guide:db-dao#quoting-table-and-column-names) column names in the expression.\n@param DatabaseInterface|DbConnectionGetterInterface $db the database connection used to generate the SQL statement.\nIf this parameter is not given (or null), the `db` application component will be used.\n@return LazyPromiseInterface with int|string number of records. The result may be a string depending on the\nunderlying database engine and to support integer values higher than a 32bit PHP integer can handle.", "docstring_tokens": ["Returns", "the", "number", "of", "records", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Query.php#L282-L289", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Query.php", "func_name": "Query.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a value indicating whether the query result contains any row of data.\n@param DatabaseInterface|DbConnectionGetterInterface $db the database connection used to generate the SQL statement.\nIf this parameter is not given, the `db` application component will be used.\n@return ExtendedPromiseInterface with bool whether the query result contains any row of data.", "docstring_tokens": ["Returns", "a", "value", "indicating", "whether", "the", "query", "result", "contains", "any", "row", "of", "data", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Query.php#L363-L376", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Call/CallCenter.php", "func_name": "CallCenter.makeCall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes and records specific method call for object prophecy.\n\n@param NamespaceProphecy $prophecy\n@param string $name\n@param array $arguments\n\n@return mixed Returns null if no promise for prophecy found or promise return value.\n\n@throws UnexpectedCallException If no appropriate method prophecy found\n@throws \\Exception", "docstring_tokens": ["Makes", "and", "records", "specific", "method", "call", "for", "object", "prophecy", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Call/CallCenter.php#L43-L95", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Call/CallCenter.php", "func_name": "CallCenter.findCalls", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches for calls by method name & arguments wildcard.\n\n@param string $functionName\n@param ArgumentsWildcard $wildcard\n\n@return Call[]", "docstring_tokens": ["Searches", "for", "calls", "by", "method", "name", "&", "arguments", "wildcard", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Call/CallCenter.php#L105-L113", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry.PEAR_Registry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PEAR_Registry constructor.\n\n@param string (optional) PEAR install directory (for .php files)\n@param PEAR_ChannelFile PEAR_ChannelFile object representing the PEAR channel, if\ndefault values are not desired. Only used the very first time a PEAR\nrepository is initialized\n@param PEAR_ChannelFile PEAR_ChannelFile object representing the PECL channel, if\ndefault values are not desired. Only used the very first time a PEAR\nrepository is initialized\n\n@access public", "docstring_tokens": ["PEAR_Registry", "constructor", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L134-L142", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._assertStateDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure the directory where we keep registry files exists.\n\n@return bool TRUE if directory exists, FALSE if it could not be\ncreated\n\n@access private", "docstring_tokens": ["Make", "sure", "the", "directory", "where", "we", "keep", "registry", "files", "exists", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L371-L419", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._assertChannelStateDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure the directory where we keep registry files exists for a non-standard channel.\n\n@param string channel name\n@return bool TRUE if directory exists, FALSE if it could not be\ncreated\n\n@access private", "docstring_tokens": ["Make", "sure", "the", "directory", "where", "we", "keep", "registry", "files", "exists", "for", "a", "non", "-", "standard", "channel", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L430-L462", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._assertChannelDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make sure the directory where we keep registry files for channels exists\n\n@return bool TRUE if directory exists, FALSE if it could not be\ncreated\n\n@access private", "docstring_tokens": ["Make", "sure", "the", "directory", "where", "we", "keep", "registry", "files", "for", "channels", "exists"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L472-L503", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._channelFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the name of the file where data for a given channel is stored.\n@param string channel name\n@return string registry file name", "docstring_tokens": ["Get", "the", "name", "of", "the", "file", "where", "data", "for", "a", "given", "channel", "is", "stored", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L530-L539", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._getChannelFromAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the name of a channel from its alias", "docstring_tokens": ["Get", "the", "name", "of", "a", "channel", "from", "its", "alias"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L554-L583", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._getAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the alias of a channel from its alias or its name", "docstring_tokens": ["Get", "the", "alias", "of", "a", "channel", "from", "its", "alias", "or", "its", "name"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L588-L612", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._lock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lock the registry.\n\n@param integer lock mode, one of LOCK_EX, LOCK_SH or LOCK_UN.\nSee flock manual for more information.\n\n@return bool TRUE on success, FALSE if locking failed, or a\nPEAR error if some other error occurs (such as the\nlock file not being writable).\n\n@access private", "docstring_tokens": ["Lock", "the", "registry", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L812-L866", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._channelExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether a channel exists in the registry\n\n@param string Channel name\n@param bool if true, then aliases will be ignored\n@return boolean", "docstring_tokens": ["Determine", "whether", "a", "channel", "exists", "in", "the", "registry"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L891-L907", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry._mirrorExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether a mirror exists within the deafult channel in the registry\n\n@param string Channel name\n@param string Mirror name\n\n@return boolean", "docstring_tokens": ["Determine", "whether", "a", "mirror", "exists", "within", "the", "deafult", "channel", "in", "the", "registry"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L917-L931", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry.isAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether the parameter is an alias of a channel\n@param string\n@return bool", "docstring_tokens": ["Determines", "whether", "the", "parameter", "is", "an", "alias", "of", "a", "channel"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L1624-L1632", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry.channelInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve a raw array of channel data.\n\nDo not use this, instead use {@link getChannel()} for normal\noperations. Array structure is undefined in this method\n@param string channel name\n@param bool whether to strictly retrieve information only on non-aliases\n@return array|null|PEAR_Error", "docstring_tokens": ["Retrieve", "a", "raw", "array", "of", "channel", "data", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L1665-L1673", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Registry.php", "func_name": "PEAR_Registry.updateChannel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For future expandibility purposes, separate this\n@param PEAR_ChannelFile", "docstring_tokens": ["For", "future", "expandibility", "purposes", "separate", "this"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Registry.php#L1800-L1806", "partition": "test"} +{"repo": "graze/array-filter", "path": "src/ClosureFilter.php", "func_name": "ClosureFilter.matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does this filter match?\n\n@param array $data\n\n@return bool", "docstring_tokens": ["Does", "this", "filter", "match?"], "sha": "dcc9a8a909c634b256a10ed90b9c189cdef39454", "url": "https://github.com/graze/array-filter/blob/dcc9a8a909c634b256a10ed90b9c189cdef39454/src/ClosureFilter.php#L45-L49", "partition": "test"} +{"repo": "diatem-net/jin-form", "path": "src/Form/Components/Wysiwyg.php", "func_name": "Wysiwyg.tinyMCEfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retourne l'url de TinyMCE\n\n@return string", "docstring_tokens": ["Retourne", "l", "url", "de", "TinyMCE"], "sha": "ee50df330508feb422bf8d2852405c101ab03e97", "url": "https://github.com/diatem-net/jin-form/blob/ee50df330508feb422bf8d2852405c101ab03e97/src/Form/Components/Wysiwyg.php#L49-L62", "partition": "test"} +{"repo": "Puzzlout/Objects", "path": "src/Types/Str.php", "func_name": "Str.InitWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an instance of the class, sets the value property and returns the object.\n@param string $value\n@return \\Puzzlout\\Objects\\Str\n@throws \\Exception", "docstring_tokens": ["Create", "an", "instance", "of", "the", "class", "sets", "the", "value", "property", "and", "returns", "the", "object", "."], "sha": "482719247d677baf93318171ec7298a0c330abda", "url": "https://github.com/Puzzlout/Objects/blob/482719247d677baf93318171ec7298a0c330abda/src/Types/Str.php#L44-L49", "partition": "test"} +{"repo": "sasedev/commons-shared-bundle", "path": "src/Sasedev/Commons/SharedBundle/Controller/BaseController.php", "func_name": "BaseController.getEntityManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Doctrine Entity Manager\n\n@return ObjectManager", "docstring_tokens": ["Get", "Doctrine", "Entity", "Manager"], "sha": "c9fe125df0345b6f448342750effa5f166831d5f", "url": "https://github.com/sasedev/commons-shared-bundle/blob/c9fe125df0345b6f448342750effa5f166831d5f/src/Sasedev/Commons/SharedBundle/Controller/BaseController.php#L226-L236", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Resolver/InterfaceResolver.php", "func_name": "InterfaceResolver.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve a given class name.\n\nIf the resolved class does not exist return the original class.\n\n@param string $className\n@return string", "docstring_tokens": ["Resolve", "a", "given", "class", "name", "."], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Resolver/InterfaceResolver.php#L59-L66", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/Validator.php", "func_name": "Validator.validateHashesTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check the field is the given value.\n\n\n@param string $attribute\n@param mixed $value\n@param array $parameters\n@return bool", "docstring_tokens": ["Check", "the", "field", "is", "the", "given", "value", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/Validator.php#L134-L138", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/Validator.php", "func_name": "Validator.validateRouteExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines if the given route exists.\nIf a parameter is provided it will determine whether the routes are fetched by name or action.\n\n@param string $attribute\n@param mixed $value\n@param array $parameters\n@return bool", "docstring_tokens": ["Determines", "if", "the", "given", "route", "exists", ".", "If", "a", "parameter", "is", "provided", "it", "will", "determine", "whether", "the", "routes", "are", "fetched", "by", "name", "or", "action", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/Validator.php#L174-L178", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Framework/Command/AssetsInstallCommand.php", "func_name": "AssetsInstallCommand._hardCopy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a directory hard copy\n\n@param string $originDir Source directory\n@param string $targetDir Target directory\n\n@return void", "docstring_tokens": ["Creates", "a", "directory", "hard", "copy"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Framework/Command/AssetsInstallCommand.php#L216-L226", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Button.php", "func_name": "Button.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the widget.\nIf you override this method, make sure you call the parent implementation first.", "docstring_tokens": ["Initializes", "the", "widget", ".", "If", "you", "override", "this", "method", "make", "sure", "you", "call", "the", "parent", "implementation", "first", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Button.php#L39-L44", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Dt.php", "func_name": "Dt.getNextDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns next date of given date in given format\n@param string $dt Source date\n@param string $format Source date format\n@return string Destination date or empty string if source date can't be parsed", "docstring_tokens": ["Returns", "next", "date", "of", "given", "date", "in", "given", "format"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Dt.php#L65-L74", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Dt.php", "func_name": "Dt.getPrevDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns previous date of given date in given format\n@param string $dt Source date\n@param string $format Source date format\n@return string Destination date or empty string if source date can't be parsed", "docstring_tokens": ["Returns", "previous", "date", "of", "given", "date", "in", "given", "format"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Dt.php#L82-L91", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Dt.php", "func_name": "Dt.createDateRande", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an array of consecutive dates\n@param string $from Starting date\n@param integer $amount Range's length\n@param string $dtFormat Format of starting and resulting dates, default: Y-m-d\n@return array List of dates", "docstring_tokens": ["Creates", "an", "array", "of", "consecutive", "dates"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Dt.php#L100-L111", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.file", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get file object\n@param string $filePath\n@return FileInterface|File", "docstring_tokens": ["Get", "file", "object"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L42-L47", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.dir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get dir object\n@param string $dirPath\n@return DirectoryInterface|Directory", "docstring_tokens": ["Get", "dir", "object"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L54-L59", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open file with given flags\n@param string $filePath\n@param string $flags c - create, w - write, r - read, t - truncate\n@return \\React\\Promise\\PromiseInterface", "docstring_tokens": ["Open", "file", "with", "given", "flags"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L78-L83", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a file\n@param string $filePath\n@param int|null $mode\n@param int|null $time\n@return \\React\\Promise\\PromiseInterface", "docstring_tokens": ["Create", "a", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L92-L102", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.putContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Put contents into file\n@param string|File $filePath\n@param string $contents\n@param string $openFlags\n@param bool|int $lock Lock file for operation and check for a lock OR lock timeout\n@param int|null $createMode\n@return ExtendedPromiseInterface", "docstring_tokens": ["Put", "contents", "into", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L113-L139", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.getContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get file contents\n@param string|File $filePath\n@param bool|int $lock Lock file for operation OR lock timeout\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "file", "contents"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L147-L172", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.chmod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform 'chmod' operation\n@param string|GenericOperationInterface $path File or Directory\n@param int $mode\n@return \\React\\Promise\\PromiseInterface", "docstring_tokens": ["Perform", "chmod", "operation"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L180-L186", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.lock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lock file for some time or until some operation is not finished\n@param string $filePath\n@param int $timeout", "docstring_tokens": ["Lock", "file", "for", "some", "time", "or", "until", "some", "operation", "is", "not", "finished"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L228-L238", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.onUnlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get promise of unlocking file\n@param string $filePath\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "promise", "of", "unlocking", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L272-L283", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.ensureFileObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that object is implementing FileInterface\n@param File|Directory|string $pathOrObject\n@return File", "docstring_tokens": ["Ensure", "that", "object", "is", "implementing", "FileInterface"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L326-L336", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.ensureDirObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that object is implementing DirectoryInterface\n@param FileInterface|DirectoryInterface|string $pathOrObject\n@return DirectoryInterface", "docstring_tokens": ["Ensure", "that", "object", "is", "implementing", "DirectoryInterface"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L343-L353", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelperAsc.php", "func_name": "FileHelperAsc.checkUnlockTimer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if unlock timer is set or create it", "docstring_tokens": ["Check", "if", "unlock", "timer", "is", "set", "or", "create", "it"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelperAsc.php#L358-L370", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Request.php", "func_name": "Request.globals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create from global environment\n\n@return static", "docstring_tokens": ["Create", "from", "global", "environment"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Request.php#L187-L234", "partition": "test"} +{"repo": "erikkubica/netlime-theme-core", "path": "lib/ThemeSectionBase.php", "func_name": "ThemeSectionBase.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the section", "docstring_tokens": ["Render", "the", "section"], "sha": "883153931f591ad1d5b2647df5996a0baa08a1b9", "url": "https://github.com/erikkubica/netlime-theme-core/blob/883153931f591ad1d5b2647df5996a0baa08a1b9/lib/ThemeSectionBase.php#L40-L48", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/JoinClause.class.php", "func_name": "JoinClause.on", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an \"on\" clause to the join.\n\n@param string $first\n@param string $operator\n@param string $second\n@param string $boolean\n@param bool $where\n@return \\queryBuilder\\JoinClause", "docstring_tokens": ["Add", "an", "on", "clause", "to", "the", "join", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/JoinClause.class.php#L33-L45", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/JoinClause.class.php", "func_name": "JoinClause.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an \"on where\" clause to the join.\n\n@param string $firstColumn\n@param string $operator\n@param string $second\n@param string $boolean\n@return \\queryBuilder\\JoinClause", "docstring_tokens": ["Add", "an", "on", "where", "clause", "to", "the", "join", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/JoinClause.class.php#L56-L58", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/JoinClause.class.php", "func_name": "JoinClause.whereNull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an \"on where is null\" clause to the join.\n\n@param string $column\n@param string $boolean\n@return \\queryBuilder\\JoinClause", "docstring_tokens": ["Add", "an", "on", "where", "is", "null", "clause", "to", "the", "join", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/JoinClause.class.php#L67-L71", "partition": "test"} +{"repo": "cscfaToolDivision/collections", "path": "src/CSDT/CollectionsBundle/CollectionHelper/HelperTrait/HelperArrayCasterTrait.php", "func_name": "HelperArrayCasterTrait.arrayToCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Array to collection\n\nThis method inject an array into specific collection type.\n\n@param array $source The array source to inject\n@param string $collectionClass The collection class name\n\n@throws \\ParseError if the array cannot be cast\n@return CollectionInterface", "docstring_tokens": ["Array", "to", "collection"], "sha": "31b0b44c9de92aebbecb0fadc179f9a45aec976f", "url": "https://github.com/cscfaToolDivision/collections/blob/31b0b44c9de92aebbecb0fadc179f9a45aec976f/src/CSDT/CollectionsBundle/CollectionHelper/HelperTrait/HelperArrayCasterTrait.php#L47-L57", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "spec/Yami/SheetFight/Model/MoveSpec.php", "func_name": "MoveSpec.it_could_be_normal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specifies if the move is a normal, special or super.\n\n@return bool", "docstring_tokens": ["Specifies", "if", "the", "move", "is", "a", "normal", "special", "or", "super", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/spec/Yami/SheetFight/Model/MoveSpec.php#L58-L64", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInDb.php", "func_name": "SessionArchiveInDb.getInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get entry from DB\n@param string $id\n@param bool $unserialize\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "entry", "from", "DB"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInDb.php#L136-L143", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionArchiveInDb.php", "func_name": "SessionArchiveInDb.updateInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update existing entry in DB\n@param array $row\n@param array|null $existingRow\n@return ExtendedPromiseInterface|\\Reaction\\Promise\\LazyPromiseInterface", "docstring_tokens": ["Update", "existing", "entry", "in", "DB"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionArchiveInDb.php#L163-L175", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.actionDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Downgrades the application by reverting old migrations.\n\nFor example,\n\n```\nconsole migrate/down # revert the last migration\nconsole migrate/down 3 # revert the last 3 migrations\nconsole migrate/down all # revert all migrations\n```\n\n@param RequestApplicationInterface $app\n@param int|string $limit the number of migrations to be reverted. Defaults to 1,\nmeaning the last applied migration will be reverted. When value is \"all\", all migrations will be reverted.\n@return ExtendedPromiseInterface\n@throws Exception if the number of the steps specified is less than 1.", "docstring_tokens": ["Downgrades", "the", "application", "by", "reverting", "old", "migrations", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L247-L301", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.actionFresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Truncates the whole database and starts the migration from the beginning.\n\n```\nconsole migrate/fresh\n```\n\n@param RequestApplicationInterface $app\n@return ExtendedPromiseInterface", "docstring_tokens": ["Truncates", "the", "whole", "database", "and", "starts", "the", "migration", "from", "the", "beginning", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L517-L538", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.actionHistory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the migration history.\n\nThis command will show the list of migrations that have been applied\nso far. For example,\n\n```\nconsole migrate/history # showing the last 10 migrations\nconsole migrate/history 5 # showing the last 5 migrations\nconsole migrate/history all # showing the whole history\n```\n\n@param RequestApplicationInterface $app\n@param int|string $limit the maximum number of migrations to be displayed.\nIf it is \"all\", the whole migration history will be displayed.\n@return ExtendedPromiseInterface\n@throws Exception if invalid limit value passed", "docstring_tokens": ["Displays", "the", "migration", "history", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L558-L587", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.actionNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the un-applied new migrations.\n\nThis command will show the new migrations that have not been applied.\nFor example,\n\n```\nconsole migrate/new # showing the first 10 new migrations\nconsole migrate/new 5 # showing the first 5 new migrations\nconsole migrate/new all # showing all new migrations\n```\n\n@param RequestApplicationInterface $app\n@param int|string $limit the maximum number of new migrations to be displayed.\nIf it is `all`, all available new migrations will be displayed.\n@return ExtendedPromiseInterface\n@throws Exception if invalid limit value passed", "docstring_tokens": ["Displays", "the", "un", "-", "applied", "new", "migrations", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L607-L638", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.actionCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new migration.\n\nThis command creates a new migration using the available migration template.\nAfter using this command, developers should modify the created migration\nskeleton by filling up the actual migration logic.\n\n```\nconsole migrate/create create_user_table\n```\n\nIn order to generate a namespaced migration, you should specify a namespace before the migration's name.\nNote that backslash (`\\`) is usually considered a special character in the shell, so you need to escape it\nproperly to avoid shell errors or incorrect behavior.\nFor example:\n\n```\nconsole migrate/create 'app\\\\migrations\\\\createUserTable'\n```\n\nIn case [[migrationPath]] is not set and no namespace is provided, the first entry of [[migrationNamespaces]] will be used.\n\n@param RequestApplicationInterface $app\n@param string $name the name of the new migration. This should only contain\nletters, digits, underscores and/or backslashes.\n\nNote: If the migration name is of a special form, for example create_xxx or\ndrop_xxx, then the generated migration file will contain extra code,\nin this case for creating/dropping tables.\n\n@return ExtendedPromiseInterface\n@throws Exception if the name argument is invalid.\n@throws \\Reaction\\Exceptions\\Exception", "docstring_tokens": ["Creates", "a", "new", "migration", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L674-L703", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.migrateDown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Downgrades with the specified migration class.\n@param string $class the migration class name\n@return LazyPromiseInterface whether the migration is successful", "docstring_tokens": ["Downgrades", "with", "the", "specified", "migration", "class", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L829-L855", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.migrateToTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migrates to the specified apply time in the past.\n@param RequestApplicationInterface $app\n@param int $time UNIX timestamp value.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Migrates", "to", "the", "specified", "apply", "time", "in", "the", "past", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L914-L931", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/BaseMigrateController.php", "func_name": "BaseMigrateController.migrateToVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Migrates to the certain version.\n@param RequestApplicationInterface $app\n@param string $version name in the full format.\n@return ExtendedPromiseInterface\n@throws Exception if the provided version cannot be found.", "docstring_tokens": ["Migrates", "to", "the", "certain", "version", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/BaseMigrateController.php#L940-L971", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database._loadAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the database adapter\n\n@param bool $autoconnect Build the connexion after adapter construction\n@return self $this for method chaining", "docstring_tokens": ["Load", "the", "database", "adapter"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L133-L181", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connexion to the database", "docstring_tokens": ["Connexion", "to", "the", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L196-L201", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.addCachedQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a query and its results in the object cache\n\n@param string $query The query string to cache\n@param mixed $results The results of the query execution to cache\n@return self $this for method chaining", "docstring_tokens": ["Add", "a", "query", "and", "its", "results", "in", "the", "object", "cache"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L258-L264", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.getCachedResults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a query from the object cache if so\n\n@param string $query The query string to search in the cache\n@return mixed The results cached if so, false otherwise", "docstring_tokens": ["Get", "a", "query", "from", "the", "object", "cache", "if", "so"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L283-L286", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.arrayQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute an array query\n\n@param string $query The query string to execute\n@param string $method The query method to use\n@param bool $cached If set to TRUE (default), the query results are first searched in the object cache\n@return mixed The query result(s)\n@see http://www.php.net/manual/en/function.sqlite-array-query.php", "docstring_tokens": ["Execute", "an", "array", "query"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L331-L335", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.add_table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a table in the database\n\n@param string $tablename The new table name\n@param array $table_structure An array of the table fields\n@return bool TRUE if the table had been created, FALSE if an error occurred", "docstring_tokens": ["Add", "a", "table", "in", "the", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L357-L375", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.add_fields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add fields in a table\n\n@param string $tablename The new table name\n@param array $table_structure An array of the table fields\n@return bool TRUE if the field had been added, FALSE if an error occurred", "docstring_tokens": ["Add", "fields", "in", "a", "table"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L384-L404", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.table_infos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get infos of a table in the database\n\n@param string $tablename The new table name\n@return array The request result row", "docstring_tokens": ["Get", "infos", "of", "a", "table", "in", "the", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L412-L423", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.table_exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a table exists in the database\n\n@param string $tablename The new table name\n@return bool TRUE if the table exists, FALSE otherwise", "docstring_tokens": ["Check", "if", "a", "table", "exists", "in", "the", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L431-L443", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.build_fields_array", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a query string to add a field in a table\n\n@param array $table_structure The structure of the field\n@return string The query string to create the field", "docstring_tokens": ["Build", "a", "query", "string", "to", "add", "a", "field", "in", "a", "table"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L451-L465", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a string using the internal PHP adapter function\n\n@param string $str The string to escape\n@param bool $double_quotes If true, the double-quotes will be doubled for escaping\n@return string The escaped string", "docstring_tokens": ["Escape", "a", "string", "using", "the", "internal", "PHP", "adapter", "function"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L478-L482", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear all query constructors", "docstring_tokens": ["Clear", "all", "query", "constructors"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L487-L497", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the condition of a query\n\n@param string $arg The argument of the WHERE statement\n@param string $val The value of the argument\n@param string $sign The sign used to build the WHERE statement (default is '=')\n@param string $operator An operator used if a WHERE statement was already set\n@return object The whole object itself for method chaining", "docstring_tokens": ["Build", "the", "condition", "of", "a", "query"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L568-L575", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.where_str", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a WHERE string to a query\n\n@param string $str The full formed WHERE statement\n@param string $operator An operator used if a WHERE statement was already set\n@return object The whole object itself for method chaining", "docstring_tokens": ["Add", "a", "WHERE", "string", "to", "a", "query"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L584-L590", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.where_in", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias for a WHERE statement with a IN sign\n\n@param string $arg The argument of the WHERE statement\n@param array $val The array of values to select\n@param string $operator An operator used if a WHERE statement was already set\n@return object The whole object itself for method chaining\n@see self::where()", "docstring_tokens": ["Alias", "for", "a", "WHERE", "statement", "with", "a", "IN", "sign"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L601-L608", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.or_where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias for a OR WHERE statement\n\n@param string $arg The argument of the WHERE statement\n@param string $val The value of the argument\n@param string $sign The sign used to build the WHERE statement (default is '=')\n@return object The whole object itself for method chaining\n@see self::where()", "docstring_tokens": ["Alias", "for", "a", "OR", "WHERE", "statement"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L645-L648", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.and_where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Alias for a AND WHERE statement\n\n@param string $arg The argument of the WHERE statement\n@param string $val The value of the argument\n@param string $sign The sign used to build the WHERE statement (default is '=')\n@return object The whole object itself for method chaining\n@see self::where()", "docstring_tokens": ["Alias", "for", "a", "AND", "WHERE", "statement"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L685-L688", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.order_by", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the ORDER BY condition of a query\n\n@param string $order_by The field name to order on\n@param string $order_way The way for ordering (asc or desc - default is 'asc')\n@return object The whole object itself for method chaining", "docstring_tokens": ["Set", "the", "ORDER", "BY", "condition", "of", "a", "query"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L749-L754", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.get_query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Global query construction using the query constructors values\n\n@return string A full query string", "docstring_tokens": ["Global", "query", "construction", "using", "the", "query", "constructors", "values"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L761-L781", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the query constructing it with the query constructors values\n\n@return mixed The query results", "docstring_tokens": ["Execute", "the", "query", "constructing", "it", "with", "the", "query", "constructors", "values"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L792-L797", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/Database.php", "func_name": "Database.get_single", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a single query constructing it with the query constructors values\n\n@return mixed The query result as a single value", "docstring_tokens": ["Execute", "a", "single", "query", "constructing", "it", "with", "the", "query", "constructors", "values"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/Database.php#L804-L809", "partition": "test"} +{"repo": "oyepez003/smartwig", "path": "lib/Yepsua/SmarTwig/Twig/Extension/SmarTwigExtension.php", "func_name": "SmarTwigExtension.getAllExtensions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get All SmarTwig Extensions\n\n@return array An array of Yepsua\\SmarTwig\\Twig\\Extension\\*Extension instances", "docstring_tokens": ["Get", "All", "SmarTwig", "Extensions"], "sha": "43d15671e88f57d519b0eceb20b08ed54a4b9ca7", "url": "https://github.com/oyepez003/smartwig/blob/43d15671e88f57d519b0eceb20b08ed54a4b9ca7/lib/Yepsua/SmarTwig/Twig/Extension/SmarTwigExtension.php#L21-L84", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.getInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return current instance\n@static\n@param mixed $storagePath to operate with structures and models\n@return ModelOperator\n@throws \\Exception", "docstring_tokens": ["Return", "current", "instance"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L89-L98", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.setStoragePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change store path\n@param $path\n@return $this", "docstring_tokens": ["Change", "store", "path"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L132-L141", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.loadStructureFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loading structure from YAML files\nFirst loading \"structure.yml\" if it exists\n\n@param mixed $path Path where yaml are stored\n@return $this", "docstring_tokens": ["Loading", "structure", "from", "YAML", "files", "First", "loading", "structure", ".", "yml", "if", "it", "exists"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L150-L170", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.getModelStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return array with structure for specified model\n\n@param string $modelName\n@return mixed", "docstring_tokens": ["Return", "array", "with", "structure", "for", "specified", "model"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L179-L188", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.saveModelStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save structure to relative YML file\n\n@param string $modelName\n@return bool", "docstring_tokens": ["Save", "structure", "to", "relative", "YML", "file"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L228-L241", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.dataDump", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dumps current database data to YML files\n@param string|array $models", "docstring_tokens": ["Dumps", "current", "database", "data", "to", "YML", "files"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L410-L430", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/ModelOperator.php", "func_name": "ModelOperator.dataLoad", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load data from YML files into database with replacing\n@param string|array $models", "docstring_tokens": ["Load", "data", "from", "YML", "files", "into", "database", "with", "replacing"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/ModelOperator.php#L436-L456", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/TransactionMapper.php", "func_name": "TransactionMapper.findAllForAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of transactions for given account between specified dates.\n\n@param Account $account\n@param \\DateTimeImmutable $dateStart\n@param \\DateTimeImmutable $dateEnd\n@return \\Eureka\\Package\\Money\\DataMapper\\Data\\Money\\Transaction[]", "docstring_tokens": ["Get", "list", "of", "transactions", "for", "given", "account", "between", "specified", "dates", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/TransactionMapper.php#L23-L32", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.setState", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set query state\n@param int $state", "docstring_tokens": ["Set", "query", "state"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L166-L175", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.getBacklogLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Query commands queue length\n@return int", "docstring_tokens": ["Get", "Query", "commands", "queue", "length"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L181-L192", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.processQueue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process current queue", "docstring_tokens": ["Process", "current", "queue"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L227-L273", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute simple query\n@param string $query\n@return Observable", "docstring_tokens": ["Execute", "simple", "query"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L280-L308", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.setConnStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set connection status\n@param int $status", "docstring_tokens": ["Set", "connection", "status"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L407-L418", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.handleMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle message response callback\n@param ParserInterface $message\n@throws \\Exception", "docstring_tokens": ["Handle", "message", "response", "callback"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L425-L455", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.processData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Data processing callback\n@param mixed $data\n@return bool|string", "docstring_tokens": ["Data", "processing", "callback"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L511-L548", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgConnection.php", "func_name": "PgConnection.cancelRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cancel current request", "docstring_tokens": ["Cancel", "current", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgConnection.php#L767-L777", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.provider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect the user to the provider authentication page.\n\n@return Response", "docstring_tokens": ["Redirect", "the", "user", "to", "the", "provider", "authentication", "page", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L35-L44", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.callback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Obtain the user information from the provider.\n\n@return Response", "docstring_tokens": ["Obtain", "the", "user", "information", "from", "the", "provider", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L51-L92", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.unlink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unlink the social account.\n\n@param string $provider\n\n@return Response", "docstring_tokens": ["Unlink", "the", "social", "account", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L108-L124", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.settings", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the social settings.\n\n@return Response", "docstring_tokens": ["Update", "the", "social", "settings", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L131-L155", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.checkProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the provider is enabled or not.\n\n@param string $provider", "docstring_tokens": ["Check", "if", "the", "provider", "is", "enabled", "or", "not", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L172-L180", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.setConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the configuration to run socialite with a defined provider.\n\n@param string $provider", "docstring_tokens": ["Set", "the", "configuration", "to", "run", "socialite", "with", "a", "defined", "provider", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L187-L197", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Controllers/SocialController.php", "func_name": "SocialController.registerSocial", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the social account.\n\n@param string $provider\n@param mixed $user\n@param \\Laralum\\Users\\Models\\User $dbuser\n\n@return bool", "docstring_tokens": ["Registers", "the", "social", "account", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Controllers/SocialController.php#L208-L217", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Cache/ExpiringCache.php", "func_name": "ExpiringCache.cleanupTimerCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleanup callback for timer", "docstring_tokens": ["Cleanup", "callback", "for", "timer"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Cache/ExpiringCache.php#L55-L66", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Cache/ExpiringCache.php", "func_name": "ExpiringCache.packRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pack record into array with needed format\n@param mixed $record\n@return array", "docstring_tokens": ["Pack", "record", "into", "array", "with", "needed", "format"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Cache/ExpiringCache.php#L73-L81", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Cache/ExpiringCache.php", "func_name": "ExpiringCache.unpackRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unpack data from record\n@param array $record\n@return mixed", "docstring_tokens": ["Unpack", "data", "from", "record"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Cache/ExpiringCache.php#L88-L95", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Cache/ExpiringCache.php", "func_name": "ExpiringCache.createCleanupTimer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create cleanup timer", "docstring_tokens": ["Create", "cleanup", "timer"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Cache/ExpiringCache.php#L100-L105", "partition": "test"} +{"repo": "waynestate/parse-menu", "path": "src/ParseMenu.php", "func_name": "ParseMenu.hasSubMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the top level of a selected path has a submenu to display\n\n@param $menu_item_id\n@return bool", "docstring_tokens": ["Determine", "if", "the", "top", "level", "of", "a", "selected", "path", "has", "a", "submenu", "to", "display"], "sha": "0cda645506008dbdaaf85b0b56ccd46c867decde", "url": "https://github.com/waynestate/parse-menu/blob/0cda645506008dbdaaf85b0b56ccd46c867decde/src/ParseMenu.php#L281-L303", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php", "func_name": "AccountUserAbstract.setAccountId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"account_id\"\n\n@param int $accountId\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "account_id"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php#L88-L104", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php", "func_name": "AccountUserAbstract.setUserId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"user_id\"\n\n@param int $userId\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "user_id"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php#L113-L129", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php", "func_name": "AccountUserAbstract.getAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Account data object.\n\n@param bool $isForceReload\n@return Account", "docstring_tokens": ["Get", "Account", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php#L137-L147", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php", "func_name": "AccountUserAbstract.getUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get User data object.\n\n@param bool $isForceReload\n@return User", "docstring_tokens": ["Get", "User", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountUserAbstract.php#L156-L166", "partition": "test"} +{"repo": "ordercloud/ordercloud-php", "path": "src/Support/ExceptionGenerators/ExceptionGenerator.php", "func_name": "ExceptionGenerator.next", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pass the exception to be handled by the successor.\n\n@param OrdercloudRequest $request\n@param OrdercloudHttpException $exception\n\n@return OrdercloudRequestException", "docstring_tokens": ["Pass", "the", "exception", "to", "be", "handled", "by", "the", "successor", "."], "sha": "de4a9e060aab3848d7f86a5c6a6c08ff25dba965", "url": "https://github.com/ordercloud/ordercloud-php/blob/de4a9e060aab3848d7f86a5c6a6c08ff25dba965/src/Support/ExceptionGenerators/ExceptionGenerator.php#L44-L47", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/StrFilter/StripTags.php", "func_name": "StripTags.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clears html tags from source string\n@param string|array $str Source string\n@return string Filtered string", "docstring_tokens": ["Clears", "html", "tags", "from", "source", "string"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/StrFilter/StripTags.php#L15-L26", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer/Role.php", "func_name": "PEAR_Installer_Role.initializeConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up any additional configuration variables that file roles require\n\nNever call this directly, it is called by the PEAR_Config constructor\n@param PEAR_Config\n@access private\n@static", "docstring_tokens": ["Set", "up", "any", "additional", "configuration", "variables", "that", "file", "roles", "require"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer/Role.php#L42-L55", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer/Role.php", "func_name": "PEAR_Installer_Role.getValidRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of file roles that are valid for the particular release type.\n\nFor instance, src files serve no purpose in regular php releases.\n@param string\n@param bool clear cache\n@return array\n@static", "docstring_tokens": ["Get", "a", "list", "of", "file", "roles", "that", "are", "valid", "for", "the", "particular", "release", "type", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer/Role.php#L93-L116", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer/Role.php", "func_name": "PEAR_Installer_Role.getBaseinstallRoles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of roles that are affected by the baseinstalldir attribute\n\nMost roles ignore this attribute, and instead install directly into:\nPackageName/filepath\nso a tests file tests/file.phpt is installed into PackageName/tests/filepath.php\n@param bool clear cache\n@return array\n@static", "docstring_tokens": ["Return", "an", "array", "of", "roles", "that", "are", "affected", "by", "the", "baseinstalldir", "attribute"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer/Role.php#L163-L186", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Strings/Shorten.php", "func_name": "Shorten.shorten", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shortens a string to the given length and appends the additional string that can be wrapped by a link when a\nwrap url is set.\n\n@return string", "docstring_tokens": ["Shortens", "a", "string", "to", "the", "given", "length", "and", "appends", "the", "additional", "string", "that", "can", "be", "wrapped", "by", "a", "link", "when", "a", "wrap", "url", "is", "set", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Strings/Shorten.php#L125-L147", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/Bz2.php", "func_name": "Zend_Filter_Compress_Bz2.setBlocksize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new blocksize\n\n@param integer $level\n@return Zend_Filter_Compress_Bz2", "docstring_tokens": ["Sets", "a", "new", "blocksize"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/Bz2.php#L80-L89", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get config data by its key\n@param string $key\n@param mixed $defaultValue\n@return mixed", "docstring_tokens": ["Get", "config", "data", "by", "its", "key"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L47-L49", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.generateNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate config files names\n@return array", "docstring_tokens": ["Generate", "config", "files", "names"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L64-L79", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.merge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge config data with given one\n@param array $data\n@param string|null $key", "docstring_tokens": ["Merge", "config", "data", "with", "given", "one"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L86-L100", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.readData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read configs and merge\n@return array", "docstring_tokens": ["Read", "configs", "and", "merge"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L106-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.readFileData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read particular config file\n@param string $_fileName_\n@return array|null", "docstring_tokens": ["Read", "particular", "config", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L135-L142", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ConfigReader.php", "func_name": "ConfigReader.normalizeConfigPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize config file path\n@param string $filePath\n@param string|null $basePath\n@return string", "docstring_tokens": ["Normalize", "config", "file", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ConfigReader.php#L150-L156", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Command/Model/EventSourcedAggregate.php", "func_name": "EventSourcedAggregate.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply domain event message to aggregate.\n\n@param DomainEventMessageInterface $domainEventMessage\n@return EventSourcedAggregate\n@throws MethodNotFound", "docstring_tokens": ["Apply", "domain", "event", "message", "to", "aggregate", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Command/Model/EventSourcedAggregate.php#L109-L114", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Command/Model/EventSourcedAggregate.php", "func_name": "EventSourcedAggregate.record", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Record payload and meta data into a new domain event message.\n\nMeta data from the command message will be recursively replaced with given meta data and added to the domain\nevent message.\n\n@param PayloadInterface $payload\n@param array|null $metaData\n@throws MethodNotFound", "docstring_tokens": ["Record", "payload", "and", "meta", "data", "into", "a", "new", "domain", "event", "message", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Command/Model/EventSourcedAggregate.php#L126-L145", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/AbstractCrud.php", "func_name": "AbstractCrud.setRelated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets one of the object related object\n\n@param string $model The name of the related model\n@param array $data An array of the contents of the related object\n@param int $id The related object primary ID in case of multi-relations", "docstring_tokens": ["Sets", "one", "of", "the", "object", "related", "object"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/AbstractCrud.php#L138-L150", "partition": "test"} +{"repo": "ZaxCMS/UI", "path": "src/Zax/Application/UI/traits/TControlAjax.php", "func_name": "TControlAjax.attached", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Automatic snippet invalidation\nDo not call manually", "docstring_tokens": ["Automatic", "snippet", "invalidation", "Do", "not", "call", "manually"], "sha": "f84bfb7ef2b81e622c1d36881750ae777eefbcac", "url": "https://github.com/ZaxCMS/UI/blob/f84bfb7ef2b81e622c1d36881750ae777eefbcac/src/Zax/Application/UI/traits/TControlAjax.php#L71-L77", "partition": "test"} +{"repo": "ZaxCMS/UI", "path": "src/Zax/Application/UI/traits/TControlAjax.php", "func_name": "TControlAjax.redrawNothing", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Useful for cases where you don't want automatic AJAX to kick in.", "docstring_tokens": ["Useful", "for", "cases", "where", "you", "don", "t", "want", "automatic", "AJAX", "to", "kick", "in", "."], "sha": "f84bfb7ef2b81e622c1d36881750ae777eefbcac", "url": "https://github.com/ZaxCMS/UI/blob/f84bfb7ef2b81e622c1d36881750ae777eefbcac/src/Zax/Application/UI/traits/TControlAjax.php#L82-L86", "partition": "test"} +{"repo": "ZaxCMS/UI", "path": "src/Zax/Application/UI/traits/TControlAjax.php", "func_name": "TControlAjax.go", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If AJAX, then forward, else redirect.\n\n@param string $destination\n@param array $args\n@param array $snippets Not needed if we only have one unnamed snippet\n@param bool $presenterForward Prefer $presenter->forward() over $this->forward()", "docstring_tokens": ["If", "AJAX", "then", "forward", "else", "redirect", "."], "sha": "f84bfb7ef2b81e622c1d36881750ae777eefbcac", "url": "https://github.com/ZaxCMS/UI/blob/f84bfb7ef2b81e622c1d36881750ae777eefbcac/src/Zax/Application/UI/traits/TControlAjax.php#L108-L122", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TwigTemplating.php", "func_name": "TwigTemplating.initPlugins", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init plugins and extra plugins on the engine\n\n@param string|array Path(s) to plugins sirectory", "docstring_tokens": ["Init", "plugins", "and", "extra", "plugins", "on", "the", "engine"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TwigTemplating.php#L53-L67", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TwigTemplating.php", "func_name": "TwigTemplating.setVars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set many variables\n\n@paral array $list List of key/value pairs to set as variables", "docstring_tokens": ["Set", "many", "variables"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TwigTemplating.php#L99-L103", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TwigTemplating.php", "func_name": "TwigTemplating.fetchFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch prepared string template and return complete html document\n\n@return string HTML document with all data included", "docstring_tokens": ["Fetch", "prepared", "string", "template", "and", "return", "complete", "html", "document"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TwigTemplating.php#L136-L143", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TwigTemplating.php", "func_name": "TwigTemplating.loadPluginsFromDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load plugins from a directory", "docstring_tokens": ["Load", "plugins", "from", "a", "directory"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TwigTemplating.php#L147-L176", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHoursBuilder.php", "func_name": "BusinessHoursBuilder.fromAssociativeArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a BusinessHours from an array.\n\n@param array $data The business hours data.\n@return BusinessHours", "docstring_tokens": ["Build", "a", "BusinessHours", "from", "an", "array", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHoursBuilder.php#L24-L36", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHoursBuilder.php", "func_name": "BusinessHoursBuilder.shiftToTimezone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new BusinessHours with a different timezone from an existing BusinessHours.\n\n@param BusinessHours $businessHours The original business hours.\n@param \\DateTimeZone $newTimezone The new timezone.\n@return BusinessHours", "docstring_tokens": ["Create", "a", "new", "BusinessHours", "with", "a", "different", "timezone", "from", "an", "existing", "BusinessHours", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHoursBuilder.php#L45-L106", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHoursBuilder.php", "func_name": "BusinessHoursBuilder.flattenDaysIntervals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flatten days intervals.\n\n@param array $days The days to flatten.\n@return DayInterface[]", "docstring_tokens": ["Flatten", "days", "intervals", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHoursBuilder.php#L114-L124", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v1.php", "func_name": "PEAR_PackageFile_v1._validateWarning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validation warning. Does not mark the object contents invalid.\n@param error code\n@param array error information\n@access private", "docstring_tokens": ["Validation", "warning", ".", "Does", "not", "mark", "the", "object", "contents", "invalid", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v1.php#L959-L962", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v1.php", "func_name": "PEAR_PackageFile_v1.getFileContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the contents of a file listed within the package.xml\n@param string\n@return string", "docstring_tokens": ["Get", "the", "contents", "of", "a", "file", "listed", "within", "the", "package", ".", "xml"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v1.php#L1320-L1346", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Provider/YamlConfigServiceProvider.php", "func_name": "YamlConfigServiceProvider.parseImports", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses imports statement on YML file.\n\n@param array $imports Imported YML files to be parsed\n@param string $configPath Path to master YML file\n\n@return void", "docstring_tokens": ["Parses", "imports", "statement", "on", "YML", "file", "."], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Provider/YamlConfigServiceProvider.php#L76-L86", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Provider/YamlConfigServiceProvider.php", "func_name": "YamlConfigServiceProvider.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses YAML into a PHP array.\n\n@param string $input Path to file or string containing YAML\n@param bool $exceptionOnInvalidType True if an exception must be thrown on\ninvalid types false otherwise\n@param bool $objectSupport True if object support is enabled,\nfalse otherwise\n\n@return array The YAML converted to a PHP array\n\n@throws ParseException If the YAML is not valid", "docstring_tokens": ["Parses", "YAML", "into", "a", "PHP", "array", "."], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Provider/YamlConfigServiceProvider.php#L101-L134", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Provider/YamlConfigServiceProvider.php", "func_name": "YamlConfigServiceProvider.setYamlPatameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets YML parameters\n\n@return void", "docstring_tokens": ["Sets", "YML", "parameters"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Provider/YamlConfigServiceProvider.php#L141-L146", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter.php", "func_name": "HTTP_Request2_Adapter.calculateRequestLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates length of the request body, adds proper headers\n\n@param array &$headers associative array of request headers, this method\nwill add proper 'Content-Length' and 'Content-Type'\nheaders to this array (or remove them if not needed)", "docstring_tokens": ["Calculates", "length", "of", "the", "request", "body", "adds", "proper", "headers"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter.php#L96-L135", "partition": "test"} +{"repo": "fisdap/laravel-console-extensions", "path": "src/CommanderConsole.php", "func_name": "CommanderConsole.executeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the command\n\n@param string $command\n@param array $input\n@param array $decorators\n\n@return mixed", "docstring_tokens": ["Execute", "the", "command"], "sha": "ebac6edc5b3efce145d4de1ac9802a6eb34fdaec", "url": "https://github.com/fisdap/laravel-console-extensions/blob/ebac6edc5b3efce145d4de1ac9802a6eb34fdaec/src/CommanderConsole.php#L24-L39", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/Generator/v2.php", "func_name": "PEAR_PackageFile_Generator_v2._serializeValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "serialize any value\n\nThis method checks for the type of the value and calls the appropriate method\n\n@access private\n@param mixed $value\n@param string $tagName\n@param array $attributes\n@return string", "docstring_tokens": ["serialize", "any", "value"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/Generator/v2.php#L621-L636", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/Publishes.php", "func_name": "Publishes.unpublishOthers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures that only one entity can be published at a time.\n\n@param object $entity\n@return void", "docstring_tokens": ["Ensures", "that", "only", "one", "entity", "can", "be", "published", "at", "a", "time", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/Publishes.php#L58-L73", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the ClassName value.\n\n@param string $className\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "ClassName", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L115-L127", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setIdColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the IdColumn value.\n\n@param string $idColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "IdColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L147-L159", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setNameColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the NameColumn value.\n\n@param string $nameColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "NameColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L179-L191", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setDataColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the DataColumn value.\n\n@param string $dataColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "DataColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L211-L223", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setLifetimeColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the LifetimeColumn value.\n\n@param string $lifetimeColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "LifetimeColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L243-L255", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setModifiedColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the ModifiedColumn value.\n\n@param string $modifiedColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "ModifiedColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L275-L287", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/DatabaseOptions.php", "func_name": "DatabaseOptions.setCreatedColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the CreatedColumn value.\n\n@param string $createdColumn\n\n@return $this\n@throws \\Xloit\\Bridge\\Zend\\Session\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "the", "CreatedColumn", "value", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/DatabaseOptions.php#L307-L319", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Models/Social.php", "func_name": "Social.providers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all the providers supported.\n\n@return array", "docstring_tokens": ["Return", "all", "the", "providers", "supported", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Models/Social.php#L30-L37", "partition": "test"} +{"repo": "Laralum/Social", "path": "src/Models/Social.php", "func_name": "Social.availableProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all the available providers.\n\n@return array", "docstring_tokens": ["Returns", "all", "the", "available", "providers", "."], "sha": "1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b", "url": "https://github.com/Laralum/Social/blob/1a0cd5e59f5c2ce6a89d4bf1549ff34f7b20ed8b/src/Models/Social.php#L44-L54", "partition": "test"} +{"repo": "jdesrosiers/silex-conneg-provider", "path": "src/ContentNegotiationServiceProvider.php", "func_name": "ContentNegotiationServiceProvider.boot", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add filters to check that the request and repsonse formats are supported\nby the application.\n\n@param Application $app", "docstring_tokens": ["Add", "filters", "to", "check", "that", "the", "request", "and", "repsonse", "formats", "are", "supported", "by", "the", "application", "."], "sha": "3d047f28c966d31de71999d5b79f958e32fe6e2a", "url": "https://github.com/jdesrosiers/silex-conneg-provider/blob/3d047f28c966d31de71999d5b79f958e32fe6e2a/src/ContentNegotiationServiceProvider.php#L30-L34", "partition": "test"} +{"repo": "jdesrosiers/silex-conneg-provider", "path": "src/ContentNegotiationServiceProvider.php", "func_name": "ContentNegotiationServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set defaults and build the conneg service.\n\n@param Container $app\n@throws ServiceUnavailableHttpException", "docstring_tokens": ["Set", "defaults", "and", "build", "the", "conneg", "service", "."], "sha": "3d047f28c966d31de71999d5b79f958e32fe6e2a", "url": "https://github.com/jdesrosiers/silex-conneg-provider/blob/3d047f28c966d31de71999d5b79f958e32fe6e2a/src/ContentNegotiationServiceProvider.php#L42-L73", "partition": "test"} +{"repo": "jdesrosiers/silex-conneg-provider", "path": "src/ContentNegotiationServiceProvider.php", "func_name": "ContentNegotiationServiceProvider.setRequestFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This before middleware validates whether the application will be able to\nrespond in a format that the client understands.\n\n@param Request $request\n@throws NotAcceptableHttpException", "docstring_tokens": ["This", "before", "middleware", "validates", "whether", "the", "application", "will", "be", "able", "to", "respond", "in", "a", "format", "that", "the", "client", "understands", "."], "sha": "3d047f28c966d31de71999d5b79f958e32fe6e2a", "url": "https://github.com/jdesrosiers/silex-conneg-provider/blob/3d047f28c966d31de71999d5b79f958e32fe6e2a/src/ContentNegotiationServiceProvider.php#L82-L107", "partition": "test"} +{"repo": "jdesrosiers/silex-conneg-provider", "path": "src/ContentNegotiationServiceProvider.php", "func_name": "ContentNegotiationServiceProvider.validateRequestContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This before middleware validates that the request body is in a format\nthat the application understands.\n\n@param Request $request\n@throws UnsupportedMediaTypeHttpException", "docstring_tokens": ["This", "before", "middleware", "validates", "that", "the", "request", "body", "is", "in", "a", "format", "that", "the", "application", "understands", "."], "sha": "3d047f28c966d31de71999d5b79f958e32fe6e2a", "url": "https://github.com/jdesrosiers/silex-conneg-provider/blob/3d047f28c966d31de71999d5b79f958e32fe6e2a/src/ContentNegotiationServiceProvider.php#L116-L126", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Promise/ReturnPromise.php", "func_name": "ReturnPromise.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns saved values one by one until last one, then continuously returns last value.\n\n@param array $args\n@param FunctionProphecy $function\n\n@return mixed", "docstring_tokens": ["Returns", "saved", "values", "one", "by", "one", "until", "last", "one", "then", "continuously", "returns", "last", "value", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Promise/ReturnPromise.php#L32-L41", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader.php", "func_name": "PEAR_Downloader.discover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attempt to discover a channel's remote capabilities from\nits server name\n@param string\n@return boolean", "docstring_tokens": ["Attempt", "to", "discover", "a", "channel", "s", "remote", "capabilities", "from", "its", "server", "name"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader.php#L183-L231", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader.php", "func_name": "PEAR_Downloader.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "For simpler unit-testing\n@param PEAR_Config\n@param array\n@param array\n@param int", "docstring_tokens": ["For", "simpler", "unit", "-", "testing"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader.php#L254-L261", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader.php", "func_name": "PEAR_Downloader.getDownloadDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the directory that downloads will happen in\n@access private\n@return string", "docstring_tokens": ["Retrieve", "the", "directory", "that", "downloads", "will", "happen", "in"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader.php#L717-L751", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader.php", "func_name": "PEAR_Downloader._detectDepCycle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect recursive links between dependencies and break the cycles\n\n@param array\n@access private", "docstring_tokens": ["Detect", "recursive", "links", "between", "dependencies", "and", "break", "the", "cycles"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader.php#L1353-L1373", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader.php", "func_name": "PEAR_Downloader._setupGraph", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up the dependency for installation parsing\n\n@param array $t dependency information\n@param PEAR_Registry $reg\n@param array $deplinks list of dependency links already established\n@param array $nodes all existing package nodes\n@param string $package parent package name\n@access private", "docstring_tokens": ["Set", "up", "the", "dependency", "for", "installation", "parsing"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader.php#L1419-L1436", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Request.php", "func_name": "Request.getUrlArg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value of a specific argument value from current parsed URL\n\n@param string $param The parameter name if so, or 'args' to get all parameters values\n@param mixed $default The default value sent if the argument is not setted\n@return string The value retrieved, $default otherwise", "docstring_tokens": ["Get", "the", "value", "of", "a", "specific", "argument", "value", "from", "current", "parsed", "URL"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Request.php#L41-L56", "partition": "test"} +{"repo": "jaeger-app/console", "path": "src/Console.php", "func_name": "Console.outputLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs a new line\n\n@param string $string The output we want to display to the console out\n@param bool $translate Whether the string should be sent through the mithra62\\Language object\n@return void", "docstring_tokens": ["Outputs", "a", "new", "line"], "sha": "627e3f0162c15cc39080dce4be797b8b073793d6", "url": "https://github.com/jaeger-app/console/blob/627e3f0162c15cc39080dce4be797b8b073793d6/src/Console.php#L65-L72", "partition": "test"} +{"repo": "jaeger-app/console", "path": "src/Console.php", "func_name": "Console.getArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the available commands the Console provides\n@see \\cli\\Arguments\n@param string $strict\n@param string $force\n@return \\cli\\Arguments", "docstring_tokens": ["Returns", "the", "available", "commands", "the", "Console", "provides"], "sha": "627e3f0162c15cc39080dce4be797b8b073793d6", "url": "https://github.com/jaeger-app/console/blob/627e3f0162c15cc39080dce4be797b8b073793d6/src/Console.php#L112-L128", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptchaServiceProvider.php", "func_name": "NoCaptchaServiceProvider.registerNoCaptcha", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register NoCaptcha service.", "docstring_tokens": ["Register", "NoCaptcha", "service", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptchaServiceProvider.php#L83-L98", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptchaServiceProvider.php", "func_name": "NoCaptchaServiceProvider.registerValidatorRules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Validator rules.\n\n@param \\Illuminate\\Foundation\\Application $app", "docstring_tokens": ["Register", "Validator", "rules", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptchaServiceProvider.php#L105-L113", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/NoCaptchaServiceProvider.php", "func_name": "NoCaptchaServiceProvider.registerFormMacros", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register Form Macros.\n\n@param \\Illuminate\\Foundation\\Application $app", "docstring_tokens": ["Register", "Form", "Macros", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/NoCaptchaServiceProvider.php#L120-L127", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.fromXmlFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a channel.xml file. Expects the name of\na channel xml file as input.\n\n@param string $descfile name of channel xml file\n@return bool success of parsing", "docstring_tokens": ["Parse", "a", "channel", ".", "xml", "file", ".", "Expects", "the", "name", "of", "a", "channel", "xml", "file", "as", "input", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L387-L400", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.fromAny", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse channel information from different sources\n\nThis method is able to extract information about a channel\nfrom an .xml file or a string\n\n@access public\n@param string Filename of the source or the source itself\n@return bool", "docstring_tokens": ["Parse", "channel", "information", "from", "different", "sources"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L412-L435", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.toXml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an XML document based on previous parsing and modifications\n\n@return string XML data\n\n@access public", "docstring_tokens": ["Return", "an", "XML", "document", "based", "on", "previous", "parsing", "and", "modifications"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L444-L492", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile._validateError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validation error. Also marks the object contents as invalid\n@param error code\n@param array error information\n@access private", "docstring_tokens": ["Validation", "error", ".", "Also", "marks", "the", "object", "contents", "as", "invalid"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L572-L576", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.getBaseURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the URL to access a base resource.\n\nHyperlinks in the returned xml will be used to retrieve the proper information\nneeded. This allows extreme extensibility and flexibility in implementation\n@param string Resource Type to retrieve", "docstring_tokens": ["Get", "the", "URL", "to", "access", "a", "base", "resource", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L942-L970", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.resetFunctions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Empty all protocol definitions\n@param string protocol type\n@param string|false mirror name, if any", "docstring_tokens": ["Empty", "all", "protocol", "definitions"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L987-L1017", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.setDefaultPEARProtocols", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a channel's protocols to the protocols supported by pearweb", "docstring_tokens": ["Set", "a", "channel", "s", "protocols", "to", "the", "protocols", "supported", "by", "pearweb"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1022-L1041", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.getMirror", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the unserialized XML representing a mirror\n@return array|false", "docstring_tokens": ["Get", "the", "unserialized", "XML", "representing", "a", "mirror"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1064-L1073", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.setValidationPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the package validation object if it differs from PEAR's default\nThe class must be includeable via changing _ in the classname to path separator,\nbut no checking of this is made.\n@param string|false pass in false to reset to the default packagename regex\n@return boolean success", "docstring_tokens": ["Set", "the", "package", "validation", "object", "if", "it", "differs", "from", "PEAR", "s", "default", "The", "class", "must", "be", "includeable", "via", "changing", "_", "in", "the", "classname", "to", "path", "separator", "but", "no", "checking", "of", "this", "is", "made", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1284-L1291", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.addFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a protocol to the provides section\n@param string protocol type\n@param string protocol version\n@param string protocol name, if any\n@param string mirror name, if this is a mirror's protocol\n@return bool", "docstring_tokens": ["Add", "a", "protocol", "to", "the", "provides", "section"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1301-L1326", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.addMirrorFunction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a protocol to a mirror's provides section\n@param string mirror name (server)\n@param string protocol type\n@param string protocol version\n@param string protocol name, if any", "docstring_tokens": ["Add", "a", "protocol", "to", "a", "mirror", "s", "provides", "section"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1334-L1374", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.getValidationPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the name of the validation package for this channel\n@return string|false", "docstring_tokens": ["Retrieve", "the", "name", "of", "the", "validation", "package", "for", "this", "channel"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1467-L1479", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ChannelFile.php", "func_name": "PEAR_ChannelFile.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the object that can be used for custom validation\n@param string|false the name of the package to validate. If the package is\nthe channel validation package, PEAR_Validate is returned\n@return PEAR_Validate|false false is returned if the validation package\ncannot be located", "docstring_tokens": ["Retrieve", "the", "object", "that", "can", "be", "used", "for", "custom", "validation"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ChannelFile.php#L1488-L1531", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/BaseObject.php", "func_name": "BaseObject.canGetProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a value indicating whether a property can be read.\n\nA property is readable if:\n\n- the class has a getter method associated with the specified name\n(in this case, property name is case-insensitive);\n- the class has a member variable with the specified name (when `$checkVars` is true);\n\n@param string $name the property name\n@param bool $checkVars whether to treat member variables as properties\n@return bool whether the property can be read\n@see canSetProperty()", "docstring_tokens": ["Returns", "a", "value", "indicating", "whether", "a", "property", "can", "be", "read", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/BaseObject.php#L191-L195", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/BaseObject.php", "func_name": "BaseObject.canSetProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a value indicating whether a property can be set.\n\nA property is writable if:\n\n- the class has a setter method associated with the specified name\n(in this case, property name is case-insensitive);\n- the class has a member variable with the specified name (when `$checkVars` is true);\n\n@param string $name the property name\n@param bool $checkVars whether to treat member variables as properties\n@return bool whether the property can be written\n@see canGetProperty()", "docstring_tokens": ["Returns", "a", "value", "indicating", "whether", "a", "property", "can", "be", "set", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/BaseObject.php#L211-L215", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.getCacheFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns PHP code for a cached container that can be loaded quickly on runtime.\n@param callable $encoder Encoder to turn the cached entry data into PHP code or null for default\n@return string The PHP code for the cached container\n@throws ContainerException If the container contains entries that cannot be cached", "docstring_tokens": ["Returns", "PHP", "code", "for", "a", "cached", "container", "that", "can", "be", "loaded", "quickly", "on", "runtime", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L59-L76", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.loadCacheParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the cache parameters for all entries.\n@throws ContainerException If the container contains entries that cannot be cached", "docstring_tokens": ["Loads", "the", "cache", "parameters", "for", "all", "entries", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L82-L93", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.addEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds an entry to the container.\n@param string $id The identifier for the container entry\n@param EntryInterface $type The container entry to add\n@throws ContainerException If trying to add an entry to an identifier that already exists", "docstring_tokens": ["Adds", "an", "entry", "to", "the", "container", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L121-L128", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns value for the container entry with the given identifier.\n@param string $id The entry identifier to look for\n@return mixed The value for the entry\n@throws NotFoundExceptionInterface If the entry cannot be found\n@throws ContainerExceptionInterface If there are errors trying to load dependencies", "docstring_tokens": ["Returns", "value", "for", "the", "container", "entry", "with", "the", "given", "identifier", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L137-L153", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.getEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns container entry for the given identifier.\n@param string $id The entry identifier to look for\n@return EntryInterface The container entry for the given identifier\n@throws NotFoundExceptionInterface If the entry cannot be found\n@throws ContainerException If the cached type is not a valid entry type", "docstring_tokens": ["Returns", "container", "entry", "for", "the", "given", "identifier", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L162-L175", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells if the entry with the given identifier exists in the container.\n@param string $id The entry identifier to look for\n@return bool True if an entry with the given identifier exists, false otherwise", "docstring_tokens": ["Tells", "if", "the", "entry", "with", "the", "given", "identifier", "exists", "in", "the", "container", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L182-L185", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/Container.php", "func_name": "Container.offsetUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes an entry from the container.\n@param string $offset The identifier of the container entry to remove", "docstring_tokens": ["Removes", "an", "entry", "from", "the", "container", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/Container.php#L224-L231", "partition": "test"} +{"repo": "flipboxfactory/craft-sortable-associations", "path": "src/db/traits/SiteAttribute.php", "func_name": "SiteAttribute.applySiteConditions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply attribute conditions", "docstring_tokens": ["Apply", "attribute", "conditions"], "sha": "e916dc71be7cf37a4d6fa430798ae5ab1430008b", "url": "https://github.com/flipboxfactory/craft-sortable-associations/blob/e916dc71be7cf37a4d6fa430798ae5ab1430008b/src/db/traits/SiteAttribute.php#L56-L63", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Arrays/AssignByKey.php", "func_name": "AssignByKey.assign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an multidimensional array out of an array with keynames\n\n@param array $keys\nThe array holding the keys to use as values\n@param mixed $value\nThe value to assign to the last key", "docstring_tokens": ["Creates", "an", "multidimensional", "array", "out", "of", "an", "array", "with", "keynames"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Arrays/AssignByKey.php#L22-L31", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile.php", "func_name": "PEAR_PackageFile._extractErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "helper callback for extracting Archive_Tar errors\n\n@param PEAR_Error|null $err\n@return array\n@access private", "docstring_tokens": ["helper", "callback", "for", "extracting", "Archive_Tar", "errors"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile.php#L389-L398", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/ZeroConfDriver.php", "func_name": "ZeroConfDriver.getModelsConfigFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return models configuration file\n@return string", "docstring_tokens": ["Return", "models", "configuration", "file"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/ZeroConfDriver.php#L110-L115", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/ZeroConfDriver.php", "func_name": "ZeroConfDriver.getModelsDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get models definition according to options\n\n@throws Exception\\ModelFileNotFoundException\n@throws Exception\\ModelFileCorruptedException\n@return array", "docstring_tokens": ["Get", "models", "definition", "according", "to", "options"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/ZeroConfDriver.php#L124-L151", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/ZeroConfDriver.php", "func_name": "ZeroConfDriver.saveModelsDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save model definition\n\n@throws Exception\\ModelFileNotWritableException\n@param array $models_definition\n@return DriverInterface", "docstring_tokens": ["Save", "model", "definition"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/ZeroConfDriver.php#L160-L179", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/ZeroConfDriver.php", "func_name": "ZeroConfDriver.getMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get internal metadata reader\n\n@return Source\\AbstractSchemaSource", "docstring_tokens": ["Get", "internal", "metadata", "reader"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/ZeroConfDriver.php#L208-L219", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php", "func_name": "BankAbstract.setName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"bank_name\"\n\n@param string $name\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "bank_name"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php#L143-L154", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php", "func_name": "BankAbstract.setColor", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"bank_color\"\n\n@param string $color\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "bank_color"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php#L162-L173", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php", "func_name": "BankAbstract.setParser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"bank_parser\"\n\n@param string $parser\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "bank_parser"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BankAbstract.php#L181-L192", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/Aggregator.php", "func_name": "Aggregator.aggregate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Aggregates a collection of CSS resources.\n\n@param Collection $collection\n@return LocalResource", "docstring_tokens": ["Aggregates", "a", "collection", "of", "CSS", "resources", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/Aggregator.php#L43-L67", "partition": "test"} +{"repo": "alct/noapi", "path": "src/NoAPI.php", "func_name": "NoAPI.curl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download and return a resource.\n\n@param string $url URL of the target page\n\n@return string|bool false on error", "docstring_tokens": ["Download", "and", "return", "a", "resource", "."], "sha": "de0b21a1a55988ce4b62e4e954c444111bc0e8ce", "url": "https://github.com/alct/noapi/blob/de0b21a1a55988ce4b62e4e954c444111bc0e8ce/src/NoAPI.php#L17-L45", "partition": "test"} +{"repo": "alct/noapi", "path": "src/NoAPI.php", "func_name": "NoAPI.imageProxy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create local copy of remote images.\n\nHotlinking third party content raises privacy and security concerns. This\nmethod allows for easy copying of remote images.\n\nCopying remote content raises other kind of security concerns, we\nmitigate the risks by : checking the mime type against a predefined set ;\nignoring the original file name, extension and metadata ; enforcing part\nof the path (prepending \"noapi_\" to the file name).\n\n@param string $url URL of the remote image\n@param string $filename name of the target image\n@param string $directory target directory without a ending slash\n@param bool $overwrite true to overwrite existing image\n\n@return string|bool false on error", "docstring_tokens": ["Create", "local", "copy", "of", "remote", "images", "."], "sha": "de0b21a1a55988ce4b62e4e954c444111bc0e8ce", "url": "https://github.com/alct/noapi/blob/de0b21a1a55988ce4b62e4e954c444111bc0e8ce/src/NoAPI.php#L65-L82", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/Validator.php", "func_name": "Validator.createValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a validator object.\n@param string|\\Closure $type the validator type. This can be either:\n* a built-in validator name listed in [[builtInValidators]];\n* a method name of the model class;\n* an anonymous function;\n* a validator class name.\n@param \\Reaction\\Base\\Model $model the data model to be validated.\n@param array|string $attributes list of attributes to be validated. This can be either an array of\nthe attribute names or a string of comma-separated attribute names.\n@param array $params initial values to be applied to the validator properties.\n@return Validator the validator", "docstring_tokens": ["Creates", "a", "validator", "object", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/Validator.php#L204-L224", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/Validator.php", "func_name": "Validator.validateAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates a single attribute.\nChild classes must implement this method to provide the actual validation logic.\n@param \\Reaction\\Base\\Model $model the data model to be validated\n@param string $attribute the name of the attribute to be validated.\n@return ExtendedPromiseInterface|null Some validators may return a promise if DB or other async components used", "docstring_tokens": ["Validates", "a", "single", "attribute", ".", "Child", "classes", "must", "implement", "this", "method", "to", "provide", "the", "actual", "validation", "logic", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/Validator.php#L284-L298", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/Validator.php", "func_name": "Validator.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates a given value.\nYou may use this method to validate a value out of the context of a data model.\n@param mixed $value the data value to be validated.\n@param string $error the error message to be returned, if the validation fails.\n@return bool whether the data is valid.", "docstring_tokens": ["Validates", "a", "given", "value", ".", "You", "may", "use", "this", "method", "to", "validate", "a", "value", "out", "of", "the", "context", "of", "a", "data", "model", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/Validator.php#L307-L326", "partition": "test"} +{"repo": "seaice/li-framework", "path": "App.php", "func_name": "App.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "start the app", "docstring_tokens": ["start", "the", "app"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/App.php#L112-L123", "partition": "test"} +{"repo": "seaice/li-framework", "path": "App.php", "func_name": "App.shutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "catch fatal error", "docstring_tokens": ["catch", "fatal", "error"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/App.php#L194-L203", "partition": "test"} +{"repo": "seaice/li-framework", "path": "App.php", "func_name": "App.url", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build url with controller action and url param\n\n@param $controller string the controller name\n@param $action string the action name\n@param $param array the url param\n\n@return string the url", "docstring_tokens": ["build", "url", "with", "controller", "action", "and", "url", "param"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/App.php#L265-L275", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/UrlHelper.php", "func_name": "UrlHelper.canonical", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the canonical URL of the currently requested page.\n\nThe canonical URL is constructed using the current controller's [[\\yii\\web\\Controller::route]] and\n[[\\yii\\web\\Controller::actionParams]]. You may use the following code in the layout view to add a link tag\nabout canonical URL:\n\n```php\n$this->registerLinkTag(['rel' => 'canonical', 'href' => Url::canonical()]);\n```\n\n@return string the canonical URL of the currently requested page\n@see \\Reaction\\Helpers\\Url::canonical()", "docstring_tokens": ["Returns", "the", "canonical", "URL", "of", "the", "currently", "requested", "page", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/UrlHelper.php#L293-L303", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/UrlHelper.php", "func_name": "UrlHelper.normalizeRoutePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalizes route and makes it suitable for UrlManager. Absolute routes are staying as is\nwhile relative routes are converted to absolute ones.\n\nA relative route is a route without a leading slash, such as \"view\", \"post/view\".\n\n- If the route is an empty string, the current [[\\yii\\web\\Controller::route|route]] will be used;\n- If the route contains no slashes at all, it is considered to be an action ID\nof the current controller and will be prepended with [[\\yii\\web\\Controller::uniqueId]];\n- If the route has no leading slash, it is considered to be a route relative\nto the current module and will be prepended with the module's uniqueId.\n\nA route can also be specified as an alias. In this case, the alias\nwill be converted into the actual route first before conducting the above transformation steps.\n\n@param string $routePath the route. This can be either an absolute route or a relative route.\n@return string normalized route suitable for UrlManager", "docstring_tokens": ["Normalizes", "route", "and", "makes", "it", "suitable", "for", "UrlManager", ".", "Absolute", "routes", "are", "staying", "as", "is", "while", "relative", "routes", "are", "converted", "to", "absolute", "ones", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/UrlHelper.php#L420-L436", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Model/Application.php", "func_name": "Application.isWorking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Application is working if all tests are OK & no down exception is set\n\n@return boolean", "docstring_tokens": ["Application", "is", "working", "if", "all", "tests", "are", "OK", "&", "no", "down", "exception", "is", "set"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Model/Application.php#L174-L188", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/ViewFinderTrait.php", "func_name": "ViewFinderTrait.getViewNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all view names in the database.\n@param string $schema the schema of the views. Defaults to empty string, meaning the current or default schema name.\nIf not empty, the returned view names will be prefixed with the schema name.\n@param bool $refresh whether to fetch the latest available view names. If this is false,\nview names fetched previously (if available) will be returned.\n@return ExtendedPromiseInterface with string[] all view names in the database.", "docstring_tokens": ["Returns", "all", "view", "names", "in", "the", "database", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/ViewFinderTrait.php#L33-L45", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an item from the cache by key.\n\n@param string $key \u952e\n@param mixed $default \u9ed8\u8ba4\u503c\n\n@return mixed", "docstring_tokens": ["Retrieve", "an", "item", "from", "the", "cache", "by", "key", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L167-L182", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store an item in the cache.\n\n@param string $key \u952e\n@param mixed $value \u503c\n@param \\DateTimeInterface|\\DateInterval|int $ttl \u751f\u547d\u503c\uff0c\u79d2\n\n@return bool", "docstring_tokens": ["Store", "an", "item", "in", "the", "cache", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L256-L270", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.setMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store multiple items in the cache for a given number of minutes.\n\n@param array $values key\u3001value\u8868\n@param \\DateTimeInterface|\\DateInterval|int $ttl \u751f\u547d\u503c\uff0c\u79d2", "docstring_tokens": ["Store", "multiple", "items", "in", "the", "cache", "for", "a", "given", "number", "of", "minutes", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L278-L301", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.pull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve an item from the cache and delete it.\n\n@param string $key \u952e\n@param mixed $default \u9ed8\u8ba4\u503c\n\n@return mixed|null", "docstring_tokens": ["Retrieve", "an", "item", "from", "the", "cache", "and", "delete", "it", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L311-L318", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store an item in the cache if the key does not exist.\n\n@param string $key \u952e\n@param mixed $value \u503c\n@param \\DateTimeInterface|\\DateInterval|int $ttl \u751f\u547d\u503c\uff0c\u79d2\n\n@return bool", "docstring_tokens": ["Store", "an", "item", "in", "the", "cache", "if", "the", "key", "does", "not", "exist", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L329-L350", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.remember", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from the cache, or store the default value.\n\n@param string $key \u952e\n@param \\Closure $callback \u83b7\u53d6\u4e0d\u5230\u65f6\u7684\u53d6\u503c\n@param \\DateTimeInterface|\\DateInterval|int $ttl \u751f\u547d\u503c\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "from", "the", "cache", "or", "store", "the", "default", "value", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L361-L374", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Psr16Manager.php", "func_name": "Psr16Manager.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an item from the cache.\n\n@param string $key \u7f13\u5b58\u952e\n\n@return bool", "docstring_tokens": ["Remove", "an", "item", "from", "the", "cache", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Psr16Manager.php#L383-L397", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/StrFilter/Phone.php", "func_name": "Phone.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns only digits from source string. If string is\n11 chars length and first char is 7 then that char is stripped\n@param string $str Source string\n@return string Filtered string", "docstring_tokens": ["Returns", "only", "digits", "from", "source", "string", ".", "If", "string", "is", "11", "chars", "length", "and", "first", "char", "is", "7", "then", "that", "char", "is", "stripped"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/StrFilter/Phone.php#L16-L27", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.configDefaultOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Config application's wide options\n@param Command $command", "docstring_tokens": ["Config", "application", "s", "wide", "options"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L33-L43", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.optionOrConfigValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get option from input or config array\n@param InputInterface $input\n@param array $config\n@param string $optionName\n@param string $configName\n@return mixed", "docstring_tokens": ["Get", "option", "from", "input", "or", "config", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L53-L66", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.getOptionWithTypeCast", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get option with typecast\n@param InputInterface $input\n@param string $optionName\n@return mixed", "docstring_tokens": ["Get", "option", "with", "typecast"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L74-L87", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.loadConfigFromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load config data from file\n@param string $path\n@param string $appType\n@return array", "docstring_tokens": ["Load", "config", "data", "from", "file"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L95-L105", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.loadConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load config data\n@param InputInterface $input\n@param OutputInterface $output\n@param bool $saveConfig\n@return array|mixed\n@throws \\Exception", "docstring_tokens": ["Load", "config", "data"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L141-L167", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.renderConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render config as table in console\n@param OutputInterface $output\n@param array $config", "docstring_tokens": ["Render", "config", "as", "table", "in", "console"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L195-L201", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.renderValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get string representation of value\n@param mixed $value\n@return string", "docstring_tokens": ["Get", "string", "representation", "of", "value"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L256-L276", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Run/Commands/ConfigTrait.php", "func_name": "ConfigTrait.normalizeConfigArrayPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize config array key path\n@param string $configPath\n@return string", "docstring_tokens": ["Normalize", "config", "array", "key", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Run/Commands/ConfigTrait.php#L283-L290", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw._setPackageVersion2_1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set this as a package.xml version 2.1\n@access private", "docstring_tokens": ["set", "this", "as", "a", "package", ".", "xml", "version", "2", ".", "1"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L80-L97", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.clearContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset the listing of package contents\n@param string base installation dir for the whole package, if any", "docstring_tokens": ["Reset", "the", "listing", "of", "package", "contents"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L442-L463", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.clearDeps", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reset dependencies prior to adding new ones", "docstring_tokens": ["Reset", "dependencies", "prior", "to", "adding", "new", "ones"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L689-L699", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.setPackageType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the kind of package, and erase all release tags\n\n- a php package is a PEAR-style package\n- an extbin package is a PECL-style extension binary\n- an extsrc package is a PECL-style source for a binary\n- an zendextbin package is a PECL-style zend extension binary\n- an zendextsrc package is a PECL-style source for a zend extension binary\n- a bundle package is a collection of other pre-packaged packages\n@param php|extbin|extsrc|zendextsrc|zendextbin|bundle\n@return bool success", "docstring_tokens": ["Set", "the", "kind", "of", "package", "and", "erase", "all", "release", "tags"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1217-L1246", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current release tag in order to add to it\n@param bool returns only releases that have installcondition if true\n@return array|null", "docstring_tokens": ["Get", "the", "current", "release", "tag", "in", "order", "to", "add", "to", "it"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1269-L1290", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.addInstallAs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a file to the current release that should be installed under a different name\n@param string path to file\n@param string name the file should be installed as", "docstring_tokens": ["Add", "a", "file", "to", "the", "current", "release", "that", "should", "be", "installed", "under", "a", "different", "name"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1297-L1309", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.addIgnore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a file to the current release that should be ignored\n@param string path to file\n@return bool success of operation", "docstring_tokens": ["Add", "a", "file", "to", "the", "current", "release", "that", "should", "be", "ignored"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1316-L1328", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.addBinarypackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an extension binary package for this extension source code release\n\nNote that the package must be from the same channel as the extension source package\n@param string", "docstring_tokens": ["Add", "an", "extension", "binary", "package", "for", "this", "extension", "source", "code", "release"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1336-L1350", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.addConfigureOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a configureoption to an extension source package\n@param string\n@param string\n@param string", "docstring_tokens": ["Add", "a", "configureoption", "to", "an", "extension", "source", "package"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1358-L1379", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.setPhpInstallCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an installation condition based on php version for the current release set\n@param string minimum version\n@param string maximum version\n@param false|array incompatible versions of PHP", "docstring_tokens": ["Set", "an", "installation", "condition", "based", "on", "php", "version", "for", "the", "current", "release", "set"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1387-L1418", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.setOsInstallCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an installation condition based on operating system for the current release set\n@param string OS name\n@param bool whether this OS is incompatible with the current release", "docstring_tokens": ["Set", "an", "installation", "condition", "based", "on", "operating", "system", "for", "the", "current", "release", "set"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1458-L1486", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.setArchInstallCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an installation condition based on architecture for the current release set\n@param string architecture pattern\n@param bool whether this arch is incompatible with the current release", "docstring_tokens": ["Set", "an", "installation", "condition", "based", "on", "architecture", "for", "the", "current", "release", "set"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1493-L1521", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/v2/rw.php", "func_name": "PEAR_PackageFile_v2_rw.generateChangeLogEntry", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a valid change log entry from the current package.xml\n@param string|false", "docstring_tokens": ["Generate", "a", "valid", "change", "log", "entry", "from", "the", "current", "package", ".", "xml"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/v2/rw.php#L1548-L1562", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/VideoModel.php", "func_name": "VideoModel.isVideo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns TRUE if the object is a video file", "docstring_tokens": ["Returns", "TRUE", "if", "the", "object", "is", "a", "video", "file"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/VideoModel.php#L59-L63", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/VideoModel.php", "func_name": "VideoModel.getVideoInfos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan video infos", "docstring_tokens": ["Scan", "video", "infos"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/VideoModel.php#L135-L142", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"transaction_date\"\n\n@param string $date\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "transaction_date"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L250-L261", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setAmount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"transaction_amount\"\n\n@param float $amount\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "transaction_amount"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L269-L280", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"transaction_type\"\n\n@param string $type\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "transaction_type"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L288-L299", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setComment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"transaction_comment\"\n\n@param string $comment\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "transaction_comment"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L307-L318", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setCategoryId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"category_id\"\n\n@param int $categoryId\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "category_id"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L327-L343", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php", "func_name": "TransactionAbstract.setAccountIdVirtual", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"account_id_virtual\"\n\n@param int $accountIdVirtual\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "account_id_virtual"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/TransactionAbstract.php#L377-L393", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/TimeInterval.php", "func_name": "TimeInterval.fromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new interval from time strings.\n\n@param string $startTime The start time\n@param string $endTime The end time\n@return TimeInterval\n@throws \\InvalidArgumentException", "docstring_tokens": ["Create", "a", "new", "interval", "from", "time", "strings", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/TimeInterval.php#L51-L54", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a database connection to SQLite ot MySQL, based on a configuration array.\n\nArray keys are as follows:\n\nengine | required | | Either 'mysql' or 'sqlite\nfile | required | SQLite only | Path and filename or ':memory:'\nhost | required | MySQL only | MySQL host name or IP address\nname | required | MySQL only | Schema name\nuser | optional | MySQL only | Username\npass | optional | MySQL only | Password\noptions | optional | | Additional PDO connection options\n\n@param array $config\n@return \\ifcanduela\\db\\Database|null", "docstring_tokens": ["Create", "a", "database", "connection", "to", "SQLite", "ot", "MySQL", "based", "on", "a", "configuration", "array", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L55-L83", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.sqlite", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory for a Sqlite connection.\n\n@param string $file\n@param array $options\n@return static", "docstring_tokens": ["Factory", "for", "a", "Sqlite", "connection", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L92-L100", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.mysql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Factory for a MySQL connection.\n\n@param string $host\n@param string $dbname\n@param string|null $user\n@param string|null $password\n@param array $options\n@return static", "docstring_tokens": ["Factory", "for", "a", "MySQL", "connection", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L112-L119", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run a query using a prepared statement and return an appropriate value.\n\nThe return value is an array of rows for SELECT statements and a number of affected rows\nfor any other type of statement.\n\n@param string|Query $sql\n@param array $params\n@param boolean $returnStatement\n@param int $fetchMode\n@return array|int|PDOStatement", "docstring_tokens": ["Run", "a", "query", "using", "a", "prepared", "statement", "and", "return", "an", "appropriate", "value", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L143-L161", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.tableNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of tables in the database.\n\n@return string[]", "docstring_tokens": ["Get", "a", "list", "of", "tables", "in", "the", "database", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L168-L187", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.row", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run a query using a prepared statement and return the first row.\n\n@param string|Query $sql\n@param array $params\n@param int $rowNumber\n@return array|null", "docstring_tokens": ["Run", "a", "query", "using", "a", "prepared", "statement", "and", "return", "the", "first", "row", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L197-L202", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.cell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run a query using a prepared statement and return the first column of the first row.\n\n@param string|Query $sql\n@param array $params\n@param int|string $columnName\n@return string|null", "docstring_tokens": ["Run", "a", "query", "using", "a", "prepared", "statement", "and", "return", "the", "first", "column", "of", "the", "first", "row", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L212-L217", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.tableExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find out if the database contains a table.\n\n@param string $tableName Table name\n@return boolean True if the table exists, false otherwise", "docstring_tokens": ["Find", "out", "if", "the", "database", "contains", "a", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L225-L235", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.columnExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find out if a table in the database contains a column.\n\n@param string $tableName Table name\n@param string $columnName Column name\n@return boolean True if the column exists, false otherwise", "docstring_tokens": ["Find", "out", "if", "a", "table", "in", "the", "database", "contains", "a", "column", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L244-L253", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.getPrimaryKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the Primary Key fields of a table.\n\nThe most common return is a string with the name of the primary key\ncolumn (for example, \"id\"). If the primary key is composite, this\nmethod will return all primary keys in a comma-separated string, except\nif the second parameter is specified as true, in which case the return\nwill be an array.\n\n@param string $table Name of the table in the database\n@param bool $asArray Return multiple keys as an array (default is false)\n@return mixed A comma-separated string with the primary key fields or an\narray if $asArray is true", "docstring_tokens": ["Finds", "the", "Primary", "Key", "fields", "of", "a", "table", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L269-L305", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.getColumnNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of the table fields.\n\n@param string $table Table name\n@param bool $withTableName Add the table name to the column names\n@param bool $aliased Use an alias as key in the returned array\n@return array List of the table fields", "docstring_tokens": ["Get", "a", "list", "of", "the", "table", "fields", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L315-L349", "partition": "test"} +{"repo": "ifcanduela/db", "path": "src/Database.php", "func_name": "Database.logQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a query to the configured logger.\n\n@param string $sql\n@param array $params", "docstring_tokens": ["Log", "a", "query", "to", "the", "configured", "logger", "."], "sha": "ff6e78ee52fa72188c432e5d3309117c8c8a8317", "url": "https://github.com/ifcanduela/db/blob/ff6e78ee52fa72188c432e5d3309117c8c8a8317/src/Database.php#L367-L373", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/Module.php", "func_name": "Module.onBootstrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Listen to the bootstrap event\n\n@param EventInterface $e\n@return array", "docstring_tokens": ["Listen", "to", "the", "bootstrap", "event"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/Module.php#L35-L42", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Commands/OptimizeCommand.php", "func_name": "OptimizeCommand.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Optimize the application.\n\n@return int", "docstring_tokens": ["Optimize", "the", "application", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Commands/OptimizeCommand.php#L38-L90", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Openssl.php", "func_name": "Zend_Filter_Encrypt_Openssl._setKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the encryption keys\n\n@param string|array $keys Key with type association\n@return Zend_Filter_Encrypt_Openssl", "docstring_tokens": ["Sets", "the", "encryption", "keys"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Openssl.php#L122-L169", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Openssl.php", "func_name": "Zend_Filter_Encrypt_Openssl.setPrivateKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets private keys\n\n@param string $key Private key\n@param string $passphrase\n@return Zend_Filter_Encrypt_Openssl", "docstring_tokens": ["Sets", "private", "keys"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Openssl.php#L222-L240", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Openssl.php", "func_name": "Zend_Filter_Encrypt_Openssl.setEnvelopeKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets envelope keys\n\n@param string|array $options Envelope keys\n@return Zend_Filter_Encrypt_Openssl", "docstring_tokens": ["Sets", "envelope", "keys"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Openssl.php#L259-L273", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Openssl.php", "func_name": "Zend_Filter_Encrypt_Openssl.setCompression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a internal compression for values to encrypt\n\n@param string|array $compression\n@return Zend_Filter_Encrypt_Openssl", "docstring_tokens": ["Sets", "a", "internal", "compression", "for", "values", "to", "encrypt"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Openssl.php#L313-L321", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Entity/Base.php", "func_name": "Base.tsGetFormatted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a formatted form of the datetime property, if the property is not null\n\nNOTE: the datetime is cloned and converted to EDT timezone since all doctrine\ndata is UTC (coming from RDS)\n@param \\DateTime $tsProperty\n@param $format\n@param string $timezone - Pass in a timezone string or false\n@return string", "docstring_tokens": ["Returns", "a", "formatted", "form", "of", "the", "datetime", "property", "if", "the", "property", "is", "not", "null"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Entity/Base.php#L195-L203", "partition": "test"} +{"repo": "gosyl/common-bundle", "path": "Service/Users.php", "func_name": "Users.supprimerUtilisateur", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Suppression d'un utilisateur\n@param int $idUser\n@return array", "docstring_tokens": ["Suppression", "d", "un", "utilisateur"], "sha": "27b66152b2ab85d30dfad72886ef20749898bdb4", "url": "https://github.com/gosyl/common-bundle/blob/27b66152b2ab85d30dfad72886ef20749898bdb4/Service/Users.php#L288-L308", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Promise/ReturnArgumentPromise.php", "func_name": "ReturnArgumentPromise.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns nth argument if has one, null otherwise.\n\n@param array $args\n@param FunctionProphecy $function\n\n@return null|mixed", "docstring_tokens": ["Returns", "nth", "argument", "if", "has", "one", "null", "otherwise", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Promise/ReturnArgumentPromise.php#L44-L47", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/MigrateController.php", "func_name": "MigrateController.createMigrationHistoryTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates the migration history table.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Creates", "the", "migration", "history", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/MigrateController.php#L271-L288", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter.php", "func_name": "Zend_Filter.addFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a filter to the chain\n\n@param Zend_Filter_Interface $filter\n@param string $placement\n@return Zend_Filter Provides a fluent interface", "docstring_tokens": ["Adds", "a", "filter", "to", "the", "chain"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter.php#L59-L67", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter.php", "func_name": "Zend_Filter.filterStatic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a value filtered through a specified filter class, without requiring separate\ninstantiation of the filter object.\n\nThe first argument of this method is a data input value, that you would have filtered.\nThe second argument is a string, which corresponds to the basename of the filter class,\nrelative to the Zend_Filter namespace. This method automatically loads the class,\ncreates an instance, and applies the filter() method to the data input. You can also pass\nan array of constructor arguments, if they are needed for the filter class.\n\n@param mixed $value\n@param string $classBaseName\n@param array $args OPTIONAL\n@param array|string $namespaces OPTIONAL\n@return mixed\n@throws Zend_Filter_Exception", "docstring_tokens": ["Returns", "a", "value", "filtered", "through", "a", "specified", "filter", "class", "without", "requiring", "separate", "instantiation", "of", "the", "filter", "object", "."], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter.php#L206-L237", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRelationTrait.php", "func_name": "ActiveRelationTrait.addInverseRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If applicable, populate the query's primary model into the related records' inverse relationship.\n@param array $result the array of related records as generated by [[populate()]]", "docstring_tokens": ["If", "applicable", "populate", "the", "query", "s", "primary", "model", "into", "the", "related", "records", "inverse", "relationship", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRelationTrait.php#L186-L207", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRelationTrait.php", "func_name": "ActiveRelationTrait.populateRelation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the related records and populates them into the primary models.\n@param string $name the relation name\n@param array $primaryModels primary models\n@return ExtendedPromiseInterface with array the related models\n@throws InvalidConfigException if [[link]] is invalid", "docstring_tokens": ["Finds", "the", "related", "records", "and", "populates", "them", "into", "the", "primary", "models", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRelationTrait.php#L216-L265", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRelationTrait.php", "func_name": "ActiveRelationTrait.populateRelationAsyncSingle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populate relation for single primary model\n@param string $name\n@param ActiveRecordInterface[] $primaryModels\n@return ExtendedPromiseInterface", "docstring_tokens": ["Populate", "relation", "for", "single", "primary", "model"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRelationTrait.php#L273-L289", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRelationTrait.php", "func_name": "ActiveRelationTrait.populateRelationAsyncMultiple", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Populate relation for multiple primary models\n@param string $name\n@param ActiveRecordInterface[] $primaryModels\n@param ActiveRecordInterface[]|null $viaModels\n@param ActiveQuery|null $viaQuery\n@return ExtendedPromiseInterface with ActiveRecordInterface[]", "docstring_tokens": ["Populate", "relation", "for", "multiple", "primary", "models"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRelationTrait.php#L299-L352", "partition": "test"} +{"repo": "shoutout-labs/shoutout-sdk-php", "path": "lib/Model/Message.php", "func_name": "Message.listInvalidProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "show all the invalid properties with reasons.\n\n@return array invalid properties with reasons", "docstring_tokens": ["show", "all", "the", "invalid", "properties", "with", "reasons", "."], "sha": "32f0a256256f4071ef4b3f0cd858cd8bda0455e3", "url": "https://github.com/shoutout-labs/shoutout-sdk-php/blob/32f0a256256f4071ef4b3f0cd858cd8bda0455e3/lib/Model/Message.php#L169-L179", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Arrays/Flatten.php", "func_name": "Flatten.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flattens a multidimensional array by using a glue\n\n@param array $array\nThe array to flatten\n@param string $glue\nOptional glue to get flattened array with this glue as return value\n@param boolean $preserve_flagged_arrays\nWith this optional flag and a set __preserve key in the array the array will be still flattended but\nalso be stored as array with an ending .array key. Those arrays will not be flattened further more.\nThis means any nesting array will stay arrays in this array.\n\n@return string|array", "docstring_tokens": ["Flattens", "a", "multidimensional", "array", "by", "using", "a", "glue"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Arrays/Flatten.php#L101-L124", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/Mapper/Entity.php", "func_name": "Entity.of", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate entity from model class\n\n@param string $class\n@return Entity", "docstring_tokens": ["Generate", "entity", "from", "model", "class"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/Mapper/Entity.php#L57-L77", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if two Text objects are equal\n\n@param Text|null $other\n\n@return bool True if the objects are equal, false otherwise", "docstring_tokens": ["Checks", "if", "two", "Text", "objects", "are", "equal"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L116-L122", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.endsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if this Text object ends with another Text object\n\n@param Text $other The other text object\n\n@return bool True if this Text object ends with the other Text object, false otherwise", "docstring_tokens": ["Checks", "if", "this", "Text", "object", "ends", "with", "another", "Text", "object"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L142-L144", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.contains", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if this Text object contains another Text object\n\n@param Text $other The other text object\n\n@return bool True if this Text object contains the other Text object, false otherwise", "docstring_tokens": ["Checks", "if", "this", "Text", "object", "contains", "another", "Text", "object"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L153-L155", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.substring", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get part of this Text object\n\n@param int $start Where in the string to start\n@param int|null $length (optional) The number of characters to get\n\n@return Text A new Text object containing part of this Text object", "docstring_tokens": ["Get", "part", "of", "this", "Text", "object"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L176-L182", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces parts of this Text object based on a search and replace\n\n@param Text $search The text to find\n@param Text $replace The text with which to replace the found text\n\n@return Text A new Text object containing this Text object, with all search text replaced", "docstring_tokens": ["Replaces", "parts", "of", "this", "Text", "object", "based", "on", "a", "search", "and", "replace"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L241-L243", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Text.php", "func_name": "Text.replaceByRegex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces parts of this Text object based on a search and replace via a regex\n\n@param Regex $search The regex to match\n@param Text $replace The text with which to replace the found text\n\n@return Text A new Text object containing this Text object, with all search text replaced", "docstring_tokens": ["Replaces", "parts", "of", "this", "Text", "object", "based", "on", "a", "search", "and", "replace", "via", "a", "regex"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Text.php#L253-L255", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/BaseActiveRecord.php", "func_name": "BaseActiveRecord.beforeSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is called at the beginning of inserting or updating a record.\n\nThe default implementation will trigger an [[EVENT_BEFORE_INSERT]] event when `$insert` is `true`,\nor an [[EVENT_BEFORE_UPDATE]] event if `$insert` is `false`.\nWhen overriding this method, make sure you call the parent implementation like the following:\n\n```php\npublic function beforeSave($insert)\n{\nif (!parent::beforeSave($insert)) {\nreturn false;\n}\n\n// ...custom code here...\nreturn true;\n}\n```\n\n@param bool $insert whether this method called while inserting a record.\nIf `false`, it means the method is called while updating a record.\n@return bool whether the insertion or updating should continue.\nIf `false`, the insertion or updating will be cancelled.", "docstring_tokens": ["This", "method", "is", "called", "at", "the", "beginning", "of", "inserting", "or", "updating", "a", "record", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/BaseActiveRecord.php#L981-L988", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/BaseActiveRecord.php", "func_name": "BaseActiveRecord.beforeDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is invoked before deleting a record.\n\nThe default implementation raises the [[EVENT_BEFORE_DELETE]] event.\nWhen overriding this method, make sure you call the parent implementation like the following:\n\n```php\npublic function beforeDelete()\n{\nif (!parent::beforeDelete()) {\nreturn false;\n}\n\n// ...custom code here...\nreturn true;\n}\n```\n\n@return bool whether the record should be deleted. Defaults to `true`.", "docstring_tokens": ["This", "method", "is", "invoked", "before", "deleting", "a", "record", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/BaseActiveRecord.php#L1034-L1040", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/BaseActiveRecord.php", "func_name": "BaseActiveRecord.refresh", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Repopulates this active record with the latest data.\n\nIf the refresh is successful, an [[EVENT_AFTER_REFRESH]] event will be triggered.\n\n@return ExtendedPromiseInterface with bool whether the row still exists in the database. If `true`, the latest data\nwill be populated to this active record. Otherwise, this record will remain unchanged.", "docstring_tokens": ["Repopulates", "this", "active", "record", "with", "the", "latest", "data", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/BaseActiveRecord.php#L1061-L1070", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRecord.php", "func_name": "ActiveRecord.updateAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the whole table using the provided attribute values and conditions.\n\nFor example, to change the status to be 1 for all customers whose status is 2:\n\n```php\nCustomer::updateAll(['status' => 1], 'status = 2');\n```\n\n> Warning: If you do not specify any condition, this method will update **all** rows in the table.\n\nNote that this method will not trigger any events. If you need [[EVENT_BEFORE_UPDATE]] or\n[[EVENT_AFTER_UPDATE]] to be triggered, you need to [[find()|find]] the models first and then\ncall [[update()]] on each of them. For example an equivalent of the example above would be:\n\n```php\n$models = Customer::find()->where('status = 2')->all();\nforeach ($models as $model) {\n$model->status = 1;\n$model->update(false); // skipping validation as no user input is involved\n}\n```\n\nFor a large set of models you might consider using [[ActiveQuery::each()]] to keep memory usage within limits.\n\n@param array $attributes attribute values (name-value pairs) to be saved into the table\n@param string|array $condition the conditions that will be put in the WHERE part of the UPDATE SQL.\nPlease refer to [[Query::where()]] on how to specify this parameter.\n@param array $params the parameters (name => value) to be bound to the query.\n@param ConnectionInterface|null $connection\n@return LazyPromiseInterface with int the number of rows updated", "docstring_tokens": ["Updates", "the", "whole", "table", "using", "the", "provided", "attribute", "values", "and", "conditions", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRecord.php#L282-L291", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRecord.php", "func_name": "ActiveRecord.deleteAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes rows in the table using the provided conditions.\n\nFor example, to delete all customers whose status is 3:\n\n```php\nCustomer::deleteAll('status = 3');\n```\n\n> Warning: If you do not specify any condition, this method will delete **all** rows in the table.\n\nNote that this method will not trigger any events. If you need [[EVENT_BEFORE_DELETE]] or\n[[EVENT_AFTER_DELETE]] to be triggered, you need to [[find()|find]] the models first and then\ncall [[delete()]] on each of them. For example an equivalent of the example above would be:\n\n```php\n$models = Customer::find()->where('status = 3')->all();\nforeach ($models as $model) {\n$model->delete();\n}\n```\n\nFor a large set of models you might consider using [[ActiveQuery::each()]] to keep memory usage within limits.\n\n@param string|array $condition the conditions that will be put in the WHERE part of the DELETE SQL.\nPlease refer to [[Query::where()]] on how to specify this parameter.\n@param array $params the parameters (name => value) to be bound to the query.\n@param ConnectionInterface|null $connection\n@return LazyPromiseInterface with int the number of rows deleted", "docstring_tokens": ["Deletes", "rows", "in", "the", "table", "using", "the", "provided", "conditions", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRecord.php#L355-L364", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRecord.php", "func_name": "ActiveRecord.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts a row into the associated database table using the attribute values of this record.\n\nThis method performs the following steps in order:\n\n1. call [[beforeValidate()]] when `$runValidation` is `true`. If [[beforeValidate()]]\nreturns `false`, the rest of the steps will be skipped;\n2. call [[afterValidate()]] when `$runValidation` is `true`. If validation\nfailed, the rest of the steps will be skipped;\n3. call [[beforeSave()]]. If [[beforeSave()]] returns `false`,\nthe rest of the steps will be skipped;\n4. insert the record into database. If this fails, it will skip the rest of the steps;\n5. call [[afterSave()]];\n\nIn the above step 1, 2, 3 and 5, events [[EVENT_BEFORE_VALIDATE]],\n[[EVENT_AFTER_VALIDATE]], [[EVENT_BEFORE_INSERT]], and [[EVENT_AFTER_INSERT]]\nwill be raised by the corresponding methods.\n\nOnly the [[dirtyAttributes|changed attribute values]] will be inserted into database.\n\nIf the table's primary key is auto-incremental and is `null` during insertion,\nit will be populated with the actual value after insertion.\n\nFor example, to insert a customer record:\n\n```php\n$customer = new Customer;\n$customer->name = $name;\n$customer->email = $email;\n$customer->insert();\n```\n\n@param bool $runValidation whether to perform validation (calling [[validate()]])\nbefore saving the record. Defaults to `true`. If the validation fails, the record\nwill not be saved to the database and this method will return `false`.\n@param array $attributes list of attributes that need to be saved. Defaults to `null`,\nmeaning all attributes that are loaded from DB will be saved.\n@return LazyPromiseInterface with bool whether the attributes are valid and the record is inserted successfully.\n@throws \\Exception|\\Throwable in case insert failed.", "docstring_tokens": ["Inserts", "a", "row", "into", "the", "associated", "database", "table", "using", "the", "attribute", "values", "of", "this", "record", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRecord.php#L520-L557", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRecord.php", "func_name": "ActiveRecord.insertInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inserts an ActiveRecord into DB without considering transaction.\n@param array $attributes list of attributes that need to be saved. Defaults to `null`,\nmeaning all attributes that are loaded from DB will be saved.\n@param ConnectionInterface|null $connection\n@return ExtendedPromiseInterface with bool whether the record is inserted successfully.", "docstring_tokens": ["Inserts", "an", "ActiveRecord", "into", "DB", "without", "considering", "transaction", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRecord.php#L566-L589", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveRecord.php", "func_name": "ActiveRecord.deleteInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes an ActiveRecord without considering transaction.\n@param ConnectionInterface|null $connection\n@return LazyPromiseInterface with int|false the number of rows deleted, or `false` if the deletion is unsuccessful for some reason.\nNote that it is possible the number of rows deleted is 0, even though the deletion execution is successful.", "docstring_tokens": ["Deletes", "an", "ActiveRecord", "without", "considering", "transaction", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveRecord.php#L728-L752", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/AbstractEntryProvider.php", "func_name": "AbstractEntryProvider.getMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns provided list of all classes returned by the container methods.\n@return string[] Provided list of all classes returned by the container methods", "docstring_tokens": ["Returns", "provided", "list", "of", "all", "classes", "returned", "by", "the", "container", "methods", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/AbstractEntryProvider.php#L27-L41", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/AbstractEntryProvider.php", "func_name": "AbstractEntryProvider.getMethodIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tells the identifier to use for the given provider method.\n@param \\ReflectionMethod $method The provider method\n@return string|null The identifier for the method or null if not applicable", "docstring_tokens": ["Tells", "the", "identifier", "to", "use", "for", "the", "given", "provider", "method", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/AbstractEntryProvider.php#L48-L65", "partition": "test"} +{"repo": "gwsn/prismic", "path": "src/Models/ResponseItemData.php", "func_name": "ResponseItemData.callbackCustomData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return all the values that are not default in Prismic\n\n@param $value\n@param $raw\n@return mixed", "docstring_tokens": ["Return", "all", "the", "values", "that", "are", "not", "default", "in", "Prismic"], "sha": "4cec7e725a84a9cd580565d2ef5e302078620826", "url": "https://github.com/gwsn/prismic/blob/4cec7e725a84a9cd580565d2ef5e302078620826/src/Models/ResponseItemData.php#L149-L157", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/HelpController.php", "func_name": "HelpController.getCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all available command names.\n@param bool $withInternal Whenever to show internal controllers\n@return array all available command names", "docstring_tokens": ["Returns", "all", "available", "command", "names", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/HelpController.php#L166-L188", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/HelpController.php", "func_name": "HelpController.getCommandHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays the overall information of the command.\n@param Controller $controller the controller instance", "docstring_tokens": ["Displays", "the", "overall", "information", "of", "the", "command", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/HelpController.php#L313-L353", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/HelpController.php", "func_name": "HelpController.createController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create controller helper\n@param string $command\n@param array $config\n@param bool $defaultOnFault\n@return array", "docstring_tokens": ["Create", "controller", "helper"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/HelpController.php#L511-L514", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ErrorHandler.php", "func_name": "ErrorHandler.handleException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles uncaught PHP exceptions.\n\nThis method is implemented as a PHP exception handler.\n\n@param \\Exception $exception the exception that is not caught\n@return Reaction\\Web\\Response", "docstring_tokens": ["Handles", "uncaught", "PHP", "exceptions", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ErrorHandler.php#L52-L72", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ErrorHandler.php", "func_name": "ErrorHandler.handleFatalError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles fatal PHP errors.", "docstring_tokens": ["Handles", "fatal", "PHP", "errors", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ErrorHandler.php#L111-L127", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ErrorHandler.php", "func_name": "ErrorHandler.logException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the given exception.\n@param \\Exception $exception the exception to be logged", "docstring_tokens": ["Logs", "the", "given", "exception", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ErrorHandler.php#L139-L157", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ErrorHandler.php", "func_name": "ErrorHandler.getExceptionTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get trace from exception\n@param \\Throwable $exception\n@param bool $asString\n@return array|string", "docstring_tokens": ["Get", "trace", "from", "exception"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ErrorHandler.php#L254-L258", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ErrorHandler.php", "func_name": "ErrorHandler.reduceStackTrace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reduce length of exceptions stack trace\n@param \\Throwable $exception\n@param array $trace\n@return array", "docstring_tokens": ["Reduce", "length", "of", "exceptions", "stack", "trace"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ErrorHandler.php#L266-L291", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/RequestAppHelperProxy.php", "func_name": "RequestAppHelperProxy.proxyWithAppProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Proxy to Helper with added parameter at given position\n@param string $method\n@param array $arguments\n@param int $position\n@param string $propertyName\n@return mixed", "docstring_tokens": ["Proxy", "to", "Helper", "with", "added", "parameter", "at", "given", "position"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/RequestAppHelperProxy.php#L49-L53", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/RequestAppHelperProxy.php", "func_name": "RequestAppHelperProxy.proxyWithApp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Proxy to Helper with added RequestApplicationInterface parameter at given position\n@param string $method\n@param array $arguments\n@param int $position\n@return mixed", "docstring_tokens": ["Proxy", "to", "Helper", "with", "added", "RequestApplicationInterface", "parameter", "at", "given", "position"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/RequestAppHelperProxy.php#L62-L66", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/RequestAppHelperProxy.php", "func_name": "RequestAppHelperProxy.injectVariableToArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Inject variable to arguments array at given position\n@param mixed $variable\n@param array $arguments\n@param int $position", "docstring_tokens": ["Inject", "variable", "to", "arguments", "array", "at", "given", "position"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/RequestAppHelperProxy.php#L83-L92", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/RequestAppHelperProxy.php", "func_name": "RequestAppHelperProxy.ensureTranslated", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensure that string is not a Translation promise\n@param string|$string", "docstring_tokens": ["Ensure", "that", "string", "is", "not", "a", "Translation", "promise"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/RequestAppHelperProxy.php#L98-L103", "partition": "test"} +{"repo": "codenamephp/build", "path": "src/main/php/de/codenamephp/build/task/CreateGithubRepo.php", "func_name": "CreateGithubRepo.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Authenticates using the configuration authentication method and the creates the API using the the repository api\n\n@param string $repoName The name of the github repo", "docstring_tokens": ["Authenticates", "using", "the", "configuration", "authentication", "method", "and", "the", "creates", "the", "API", "using", "the", "the", "repository", "api"], "sha": "ebc4292dd918b90339e007eaa858442ca74a0874", "url": "https://github.com/codenamephp/build/blob/ebc4292dd918b90339e007eaa858442ca74a0874/src/main/php/de/codenamephp/build/task/CreateGithubRepo.php#L125-L128", "partition": "test"} +{"repo": "AbuseIO/notification-common", "path": "src/Notification.php", "func_name": "Notification.startup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generalize the local config based on the parser class object.\n\n@param object $notification instance class\n@return void", "docstring_tokens": ["Generalize", "the", "local", "config", "based", "on", "the", "parser", "class", "object", "."], "sha": "f9e9ed6c9f1de0c249e030da4d102799ee4399e8", "url": "https://github.com/AbuseIO/notification-common/blob/f9e9ed6c9f1de0c249e030da4d102799ee4399e8/src/Notification.php#L36-L52", "partition": "test"} +{"repo": "AnonymPHP/Anonym-Crypt", "path": "src/Anonym/Components/SecurityKeyGenerator.php", "func_name": "SecurityKeyGenerator.random", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create a random string\n\n@param string $prefix\n@return string", "docstring_tokens": ["create", "a", "random", "string"], "sha": "00d379107913bfdc33a347041ebe2d91749ec69b", "url": "https://github.com/AnonymPHP/Anonym-Crypt/blob/00d379107913bfdc33a347041ebe2d91749ec69b/src/Anonym/Components/SecurityKeyGenerator.php#L48-L52", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/Entity.php", "func_name": "Entity.forDataStore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the entity as an array for saving to the data store.\n\n@return array", "docstring_tokens": ["Get", "the", "entity", "as", "an", "array", "for", "saving", "to", "the", "data", "store", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/Entity.php#L235-L259", "partition": "test"} +{"repo": "noordawod/assert", "path": "src/Assert.php", "func_name": "Assert.registerClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a custom error class in addition to the internal ones. Note that\ncustom errors' unique id starts from 0x1000.\n\n@param int $customType unique identifier of this error class\n@param string $customClassName error class name, including namespace", "docstring_tokens": ["Registers", "a", "custom", "error", "class", "in", "addition", "to", "the", "internal", "ones", ".", "Note", "that", "custom", "errors", "unique", "id", "starts", "from", "0x1000", "."], "sha": "002bd09c5810d630063ead6faa50e6d2eaa83427", "url": "https://github.com/noordawod/assert/blob/002bd09c5810d630063ead6faa50e6d2eaa83427/src/Assert.php#L81-L140", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/AssignmentController.php", "func_name": "AssignmentController.actionAssign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show form with auth items for user.\n\n@param int $id", "docstring_tokens": ["Show", "form", "with", "auth", "items", "for", "user", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/AssignmentController.php#L28-L41", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Search.php", "func_name": "Search.requestForCountries", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Request information for countries. If no parameter is passed the complete\nlist of countries will be searched.\n\n@param array $countries\n\n@return array", "docstring_tokens": ["Request", "information", "for", "countries", ".", "If", "no", "parameter", "is", "passed", "the", "complete", "list", "of", "countries", "will", "be", "searched", "."], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Search.php#L90-L104", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/StringTools.php", "func_name": "StringTools.htmlEncode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encode au format HTML\n\n@param string $string Cha\u00eene de caract\u00e8res\n@param boolean $specialChars (optional) Si TRUE, encode \u00e9galement les caract\u00e8res sp\u00e9ciaux &\"'<> (TRUE par d\u00e9faut)\n@return string Cha\u00eene encod\u00e9e", "docstring_tokens": ["Encode", "au", "format", "HTML"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/StringTools.php#L410-L416", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Response.php", "func_name": "HTTP_Request2_Response.getDefaultReasonPhrase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the default reason phrase for the given code or all reason phrases\n\n@param int $code Response code\n\n@return string|array|null Default reason phrase for $code if $code is given\n(null if no phrase is available), array of all\nreason phrases if $code is null\n@link http://pear.php.net/bugs/18716", "docstring_tokens": ["Returns", "the", "default", "reason", "phrase", "for", "the", "given", "code", "or", "all", "reason", "phrases"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Response.php#L194-L201", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Response.php", "func_name": "HTTP_Request2_Response.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns either the named header or all response headers\n\n@param string $headerName Name of header to return\n\n@return string|array Value of $headerName header (null if header is\nnot present), array of all response headers if\n$headerName is null", "docstring_tokens": ["Returns", "either", "the", "named", "header", "or", "all", "response", "headers"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Response.php#L397-L405", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Response.php", "func_name": "HTTP_Request2_Response.getBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the body of the response\n\n@return string\n@throws HTTP_Request2_Exception if body cannot be decoded", "docstring_tokens": ["Returns", "the", "body", "of", "the", "response"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Response.php#L423-L455", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Response.php", "func_name": "HTTP_Request2_Response.decodeDeflate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decodes the message-body encoded by deflate\n\n@param string $data deflate-encoded data\n\n@return string decoded data\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Decodes", "the", "message", "-", "body", "encoded", "by", "deflate"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Response.php#L615-L629", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/Mapper/Builder.php", "func_name": "Builder.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if entity exists in source\n\n@return bool", "docstring_tokens": ["Check", "if", "entity", "exists", "in", "source"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/Mapper/Builder.php#L37-L46", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/Mapper/Builder.php", "func_name": "Builder.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear entity data\n\n@return bool", "docstring_tokens": ["Clear", "entity", "data"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/Mapper/Builder.php#L83-L87", "partition": "test"} +{"repo": "carno-php/pool", "path": "src/Connections.php", "func_name": "Connections.checking", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "conn sta checking", "docstring_tokens": ["conn", "sta", "checking"], "sha": "be8069cfac55eea6e9c8c1c20d37efa266894d74", "url": "https://github.com/carno-php/pool/blob/be8069cfac55eea6e9c8c1c20d37efa266894d74/src/Connections.php#L276-L295", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Server.php", "func_name": "Server.getHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all headers from server.\n\n@return array", "docstring_tokens": ["Get", "all", "headers", "from", "server", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Server.php#L42-L57", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Server.php", "func_name": "Server.getHeaderName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the correct HTTP header name.\n\n@param string $header\n\n@return string", "docstring_tokens": ["Get", "the", "correct", "HTTP", "header", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Server.php#L66-L80", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutput.php", "func_name": "NativeOutput.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write messages to the console.\n\n@param array $messages The messages\n@param bool $newLine [optional] Whether to use new lines\nbetween each message\n@param OutputStyle $outputStyle [optional] The output style to use\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Write", "messages", "to", "the", "console", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutput.php#L78-L83", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Output/NativeOutput.php", "func_name": "NativeOutput.writeMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a message to the console.\n\n@param string $message The message\n@param bool $newLine [optional] Whether to use new lines\nbetween each message\n@param OutputStyle $outputStyle [optional] The output style to use\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Write", "a", "message", "to", "the", "console", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Output/NativeOutput.php#L97-L115", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Null.php", "func_name": "Zend_Filter_Null.setType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the null types\n\n@param integer|array $type\n@throws Zend_Filter_Exception\n@return Zend_Filter_Null", "docstring_tokens": ["Set", "the", "null", "types"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Null.php#L99-L125", "partition": "test"} +{"repo": "encorephp/resource", "path": "src/FileFinder.php", "func_name": "FileFinder.findInPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find the file in the possible paths\n\n@param string $name\n@param array $paths\n@throws InvalidArgumentException\n@return string Path the the view", "docstring_tokens": ["Find", "the", "file", "in", "the", "possible", "paths"], "sha": "375124f9d85d08c91ae9cc05b090e00df77c4e5b", "url": "https://github.com/encorephp/resource/blob/375124f9d85d08c91ae9cc05b090e00df77c4e5b/src/FileFinder.php#L48-L61", "partition": "test"} +{"repo": "encorephp/resource", "path": "src/FileFinder.php", "func_name": "FileFinder.getPossibleFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an array of possible files.\n\n@param string $name\n@return array", "docstring_tokens": ["Get", "an", "array", "of", "possible", "files", "."], "sha": "375124f9d85d08c91ae9cc05b090e00df77c4e5b", "url": "https://github.com/encorephp/resource/blob/375124f9d85d08c91ae9cc05b090e00df77c4e5b/src/FileFinder.php#L69-L74", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start the session.\n\n@throws \\Valkyrja\\Session\\Exceptions\\SessionStartFailure\n\n@return void", "docstring_tokens": ["Start", "the", "session", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L89-L105", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an item from the session.\n\n@param string $id The item id\n\n@return mixed", "docstring_tokens": ["Get", "an", "item", "from", "the", "session", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L190-L193", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an item into the session.\n\n@param string $id The id\n@param string $value The value\n\n@return void", "docstring_tokens": ["Set", "an", "item", "into", "the", "session", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L203-L206", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a session item.\n\n@param string $id The item id\n\n@return bool", "docstring_tokens": ["Remove", "a", "session", "item", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L215-L224", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.csrf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a csrf token for a unique token id.\n\n@param string $id The csrf unique token id\n\n@throws \\Exception\n\n@return string", "docstring_tokens": ["Get", "a", "csrf", "token", "for", "a", "unique", "token", "id", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L235-L242", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Session/NativeSession.php", "func_name": "NativeSession.validateCsrf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a csrf token.\n\n@param string $id The csrf unique token id\n@param string $token The token to validate\n\n@return bool", "docstring_tokens": ["Validate", "a", "csrf", "token", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Session/NativeSession.php#L252-L267", "partition": "test"} +{"repo": "reekoheek/php-util", "path": "src/Inflector.php", "func_name": "Inflector.humanize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert word in to the human format.\n@param [type] $name [description]\n@return [type] [description]", "docstring_tokens": ["Convert", "word", "in", "to", "the", "human", "format", "."], "sha": "01cd0fdaf5ec892d079833b68e18d6992f409300", "url": "https://github.com/reekoheek/php-util/blob/01cd0fdaf5ec892d079833b68e18d6992f409300/src/Inflector.php#L178-L186", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/File.php", "func_name": "File.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Deletes a file or a complete directory tree\n\n@param boolean $clean_only\nFlag to delete only files while a directorystructure stays intact\n\n@return bool", "docstring_tokens": ["Deletes", "a", "file", "or", "a", "complete", "directory", "tree"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/File.php#L26-L53", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/File.php", "func_name": "File.move", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Moves the source to the destination.\nBoth parameter have to be a full paths.On success the return value will be the destination path.\nOtherwise it will be boolean false.\n\n@param string $source\nPath to source file\n@param string $destination\nPath to destination file\n\n@return string boolean", "docstring_tokens": ["Moves", "the", "source", "to", "the", "destination", ".", "Both", "parameter", "have", "to", "be", "a", "full", "paths", ".", "On", "success", "the", "return", "value", "will", "be", "the", "destination", "path", ".", "Otherwise", "it", "will", "be", "boolean", "false", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/File.php#L67-L79", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/File.php", "func_name": "File.clean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans up a filename string from all characters which can make trouble on filesystems.\n\n@param string $name\nThe string to cleanup\n@param string $delimiter\n\n@return string", "docstring_tokens": ["Cleans", "up", "a", "filename", "string", "from", "all", "characters", "which", "can", "make", "trouble", "on", "filesystems", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/File.php#L114-L131", "partition": "test"} +{"repo": "bee4/events", "path": "src/DispatcherAwareTrait.php", "func_name": "DispatcherAwareTrait.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch an event if the dispatcher is loaded\n@param string $name event name to dispatch\n@param EventInterface $event\n@return boolean", "docstring_tokens": ["Dispatch", "an", "event", "if", "the", "dispatcher", "is", "loaded"], "sha": "4f51ddaf561b139cd6b03ca0108eafbdf9ced9b7", "url": "https://github.com/bee4/events/blob/4f51ddaf561b139cd6b03ca0108eafbdf9ced9b7/src/DispatcherAwareTrait.php#L61-L68", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/Handler/Error.php", "func_name": "Error.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method will be used by set_error_handler\n\n@throws \\ErrorException When error_reporting returns error", "docstring_tokens": ["This", "method", "will", "be", "used", "by", "set_error_handler"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/Handler/Error.php#L110-L136", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/Handler/Error.php", "func_name": "Error.handleFatal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method will be used by register_shutdown_function", "docstring_tokens": ["This", "method", "will", "be", "used", "by", "register_shutdown_function"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/Handler/Error.php#L141-L162", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "models/AuthItem.php", "func_name": "AuthItem.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves item.\n\n@return bool", "docstring_tokens": ["Saves", "item", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/models/AuthItem.php#L110-L145", "partition": "test"} +{"repo": "noordawod/assert", "path": "src/types/Error.php", "func_name": "Error.toString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the error as a string with all necessary details.\n\n@param boolean $includeFile whether to include source file name and line\n@return string", "docstring_tokens": ["Returns", "the", "error", "as", "a", "string", "with", "all", "necessary", "details", "."], "sha": "002bd09c5810d630063ead6faa50e6d2eaa83427", "url": "https://github.com/noordawod/assert/blob/002bd09c5810d630063ead6faa50e6d2eaa83427/src/types/Error.php#L94-L107", "partition": "test"} +{"repo": "writecrow/tag_converter", "path": "src/TagConverter.php", "func_name": "TagConverter.xml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return XML object.\n\n@param string $original\nThe text, in tagged corpus format.\n\n@return object\nAn XML object.", "docstring_tokens": ["Return", "XML", "object", "."], "sha": "1ed4fcf859646b70e4e3acb099fd8839c3c8054f", "url": "https://github.com/writecrow/tag_converter/blob/1ed4fcf859646b70e4e3acb099fd8839c3c8054f/src/TagConverter.php#L53-L58", "partition": "test"} +{"repo": "writecrow/tag_converter", "path": "src/TagConverter.php", "func_name": "TagConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert tag format into PHP array.\n\n@param string $original\nThe text, in tagged corpus format.", "docstring_tokens": ["Convert", "tag", "format", "into", "PHP", "array", "."], "sha": "1ed4fcf859646b70e4e3acb099fd8839c3c8054f", "url": "https://github.com/writecrow/tag_converter/blob/1ed4fcf859646b70e4e3acb099fd8839c3c8054f/src/TagConverter.php#L84-L133", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load and parse a configuration file\n\n@param string $filename\n@param bool $merge_globals\n@param null|string $stack_name\n@param null|string $handler A classname to parse concerned config content\n@return self\n@throws \\CarteBlanche\\Exception\\ErrorException if the file is not found", "docstring_tokens": ["Load", "and", "parse", "a", "configuration", "file"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L75-L102", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse and set a configuration array\n\n@param array $config\n@param bool $merge_globals\n@param null/string $stack_name\n@return self/array Returns the parsed array if `$merge_globals` is false, the config object otherwise", "docstring_tokens": ["Parse", "and", "set", "a", "configuration", "array"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L112-L140", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a configuration stack or entry\n\n@param string $index\n@param int $flag\n@param null/mixed $default\n@param string $stack_name\n@return mixed\n@throws \\CarteBlanche\\Exception\\InvalidArgumentException if the index doesn't exist and `$flag` is NOT_FOUND_ERROR", "docstring_tokens": ["Get", "a", "configuration", "stack", "or", "entry"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L152-L208", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config._buildConfigStack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rebuild a configuration array\n\nThis will slugify all indexes and dispatch values following the dotted indexes.\n\n@param array $config_array\n@return array", "docstring_tokens": ["Rebuild", "a", "configuration", "array"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L299-L331", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config._parseConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a configuration stack or entry\n\nThis function will complete a configuration entry replacing references to other entries written like :\n'name' => '%entry%'\nwhere \"entry\" is the name of another defined configuration entry.\n\n@param mixed $conf\n@param string $stack_name\n@return mixed", "docstring_tokens": ["Parse", "a", "configuration", "stack", "or", "entry"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L391-L400", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Config.php", "func_name": "Config._parseConfigRecursive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a configuration stack array recursively\n\n@param mixed $value\n@param null/string $key\n@param string $stack_name\n@return void As the value is set by reference, nothing is returned but the original array is modified", "docstring_tokens": ["Parse", "a", "configuration", "stack", "array", "recursively"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Config.php#L410-L447", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.compileJoinConstraint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a join clause constraint segment.\n\n@param array $clause\n@return string", "docstring_tokens": ["Create", "a", "join", "clause", "constraint", "segment", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L150-L165", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.whereNull", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile a \"where null\" clause.\n\n@param Builder $query\n@param array $where\n@return string", "docstring_tokens": ["Compile", "a", "where", "null", "clause", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L259-L263", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.compileInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile an insert statement into SQL.\n\n@param Builder $query\n@param array $values\n@return string", "docstring_tokens": ["Compile", "an", "insert", "statement", "into", "SQL", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L331-L346", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.compileUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile an update statement into SQL.\n\n@param Builder $query\n@param array $values\n@return string", "docstring_tokens": ["Compile", "an", "update", "statement", "into", "SQL", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L355-L386", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.compileDelete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile a delete statement into SQL.\n\n@param Builder $query\n@return string", "docstring_tokens": ["Compile", "a", "delete", "statement", "into", "SQL", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L394-L418", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/Grammar.class.php", "func_name": "Grammar.wrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrap a value in keyword identifiers.\n\n@param string $value\n@return string", "docstring_tokens": ["Wrap", "a", "value", "in", "keyword", "identifiers", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/Grammar.class.php#L437-L464", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/FunctionProphecy.php", "func_name": "FunctionProphecy.withArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets argument wildcard.\n\n@param array|Argument\\ArgumentsWildcard $arguments\n\n@return $this\n\n@throws InvalidArgumentException", "docstring_tokens": ["Sets", "argument", "wildcard", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/FunctionProphecy.php#L97-L114", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/FunctionProphecy.php", "func_name": "FunctionProphecy.will", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets custom promise to the prophecy.\n\n@param callable|Promise\\PromiseInterface $promise\n\n@return $this\n\n@throws \\Prophecy\\Exception\\InvalidArgumentException", "docstring_tokens": ["Sets", "custom", "promise", "to", "the", "prophecy", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/FunctionProphecy.php#L125-L142", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/FunctionProphecy.php", "func_name": "FunctionProphecy.should", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets custom prediction to the prophecy.\n\n@param callable|Prediction\\PredictionInterface $prediction\n\n@return $this\n\n@throws InvalidArgumentException", "docstring_tokens": ["Sets", "custom", "prediction", "to", "the", "prophecy", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/FunctionProphecy.php#L193-L210", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/FunctionProphecy.php", "func_name": "FunctionProphecy.shouldHave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks provided prediction immediately.\n\n@param callable|Prediction\\PredictionInterface $prediction\n\n@return $this\n\n@throws InvalidArgumentException\n@throws \\Exception", "docstring_tokens": ["Checks", "provided", "prediction", "immediately", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/FunctionProphecy.php#L260-L289", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/RestGallery.php", "func_name": "RestGallery.newGallery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method create a new service gallery object to interact with the external api service.\n\n@return RestGalleries\\APIs\\\\Gallery", "docstring_tokens": ["This", "method", "create", "a", "new", "service", "gallery", "object", "to", "interact", "with", "the", "external", "api", "service", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/RestGallery.php#L76-L89", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/RestGallery.php", "func_name": "RestGallery.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes account credentials and calls the user object to make the requests to get the api authorization.\n\n@param string $callback\n@return \\Illuminate\\Support\\Fluent", "docstring_tokens": ["Takes", "account", "credentials", "and", "calls", "the", "user", "object", "to", "make", "the", "requests", "to", "get", "the", "api", "authorization", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/RestGallery.php#L168-L179", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Creator.php", "func_name": "Creator.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "+ \\Labi\\Operators\\CreatorInterface", "docstring_tokens": ["+", "\\", "Labi", "\\", "Operators", "\\", "CreatorInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Creator.php#L104-L109", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Creator.php", "func_name": "Creator.toSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- \\Labi\\Operators\\CreatorInterface", "docstring_tokens": ["-", "\\", "Labi", "\\", "Operators", "\\", "CreatorInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Creator.php#L112-L210", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/ResourceScanner.php", "func_name": "ResourceScanner.scan", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scans CSS content for resources.\n\n@param GenericResource $resource\n@param string $content", "docstring_tokens": ["Scans", "CSS", "content", "for", "resources", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/ResourceScanner.php#L43-L55", "partition": "test"} +{"repo": "mareg/php-option", "path": "src/PlasmaConduit/option/Some.php", "func_name": "Some.flatMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method takes a callable type that takes the wrapped value of the\ncurrent `Some` as it's arguments and returns an `Option` type. The\n`Option` type returned by the passed in callable is returned by this\nmethod\n\n@param Callable $flatMapper - Fuction to call on the wrapped value\n@return Option - The `Option` produced by the flat mapper\n@throws Exception", "docstring_tokens": ["This", "method", "takes", "a", "callable", "type", "that", "takes", "the", "wrapped", "value", "of", "the", "current", "Some", "as", "it", "s", "arguments", "and", "returns", "an", "Option", "type", ".", "The", "Option", "type", "returned", "by", "the", "passed", "in", "callable", "is", "returned", "by", "this", "method"], "sha": "edc2931a62a173b7e59136179793564503fb8a7f", "url": "https://github.com/mareg/php-option/blob/edc2931a62a173b7e59136179793564503fb8a7f/src/PlasmaConduit/option/Some.php#L147-L158", "partition": "test"} +{"repo": "mareg/php-option", "path": "src/PlasmaConduit/option/Some.php", "func_name": "Some.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function takes a callable as a predicate that takes the wrapped\nvalue of the current `Some` as it's argument. If the predicate returns\ntrue the current `Some` is returned. If the predicate returns false\na new `None` is returned.\n\n@param Callable $predicate - The predicate to check the wrapped value\n@return Option - `Some` on success `None` on failure\n@throws Exception", "docstring_tokens": ["This", "function", "takes", "a", "callable", "as", "a", "predicate", "that", "takes", "the", "wrapped", "value", "of", "the", "current", "Some", "as", "it", "s", "argument", ".", "If", "the", "predicate", "returns", "true", "the", "current", "Some", "is", "returned", ".", "If", "the", "predicate", "returns", "false", "a", "new", "None", "is", "returned", "."], "sha": "edc2931a62a173b7e59136179793564503fb8a7f", "url": "https://github.com/mareg/php-option/blob/edc2931a62a173b7e59136179793564503fb8a7f/src/PlasmaConduit/option/Some.php#L170-L179", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/Callback.php", "func_name": "Callback._executeCallbackStack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execution of a callback array on an entry of the data array\n\n@return mixed", "docstring_tokens": ["Execution", "of", "a", "callback", "array", "on", "an", "entry", "of", "the", "data", "array"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/Callback.php#L119-L129", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/Callback.php", "func_name": "Callback._executeCallbackAsReference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execution of one callback on a value returning it by reference\n\n@param string $fct The function name to execute, it will be called passing the current value as first argument\n@param mixed $entry_value The entry value to execute the callback, passed by reference\n@return mixed", "docstring_tokens": ["Execution", "of", "one", "callback", "on", "a", "value", "returning", "it", "by", "reference"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/Callback.php#L142-L148", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/Callback.php", "func_name": "Callback._parseCallbackFunctionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a function name for a callback extracting the arguments if so\n\n@param string $fct The function name to parse\n@return array An array composed of the function name to execute and the arguments array to pass", "docstring_tokens": ["Parse", "a", "function", "name", "for", "a", "callback", "extracting", "the", "arguments", "if", "so"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/Callback.php#L177-L196", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Form/Type/CroppableType.php", "func_name": "CroppableType.getConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and returns constraints for a file field\n\n@param $options\n@return array", "docstring_tokens": ["Creates", "and", "returns", "constraints", "for", "a", "file", "field"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Form/Type/CroppableType.php#L68-L86", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Form/Type/CroppableType.php", "func_name": "CroppableType.calcMin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates and returns values for the size constraint\n\n@param $option\n@param array $options\n@return int", "docstring_tokens": ["Calculates", "and", "returns", "values", "for", "the", "size", "constraint"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Form/Type/CroppableType.php#L95-L110", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.getController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get controller if applicable\n@return Controller|null", "docstring_tokens": ["Get", "controller", "if", "applicable"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L74-L83", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.getAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get controller action if applicable\n@return string", "docstring_tokens": ["Get", "controller", "action", "if", "applicable"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L89-L98", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.resolve", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve route for request\n@return ExtendedPromiseInterface", "docstring_tokens": ["Resolve", "route", "for", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L104-L118", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.processDispatchedData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse data from dispatcher\n@throws \\Throwable", "docstring_tokens": ["Parse", "data", "from", "dispatcher"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L124-L141", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.processResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process response from controller action\n@param ResponseInterface|ResponseBuilderInterface $response\n@return ResponseInterface", "docstring_tokens": ["Process", "response", "from", "controller", "action"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L148-L162", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Route.php", "func_name": "Route.getRouterException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Exception by Router error code\n@param int $code\n@return \\Throwable", "docstring_tokens": ["Get", "Exception", "by", "Router", "error", "code"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Route.php#L169-L182", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/System.php", "func_name": "System.getTerminalSizes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get terminal width and height\n\n@return array", "docstring_tokens": ["Get", "terminal", "width", "and", "height"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/System.php#L30-L47", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/System.php", "func_name": "System.getOperatingSystem", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current operating system\n\n@return OS", "docstring_tokens": ["Get", "the", "current", "operating", "system"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/System.php#L54-L71", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/CarteBlanche.php", "func_name": "CarteBlanche.trans", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Full aliasing of internationalization\n\n- will `datify` if `$arg1` is a `DateTime`:\n`\\I18n\\I18n::getLocalizedDateString( date: $arg1 = DateTime , [mask: $arg2 = null] , [charset: $arg3 = 'UTF-8'] , [lang: $arg4 = null] )`\n- will `pluralize` if `$arg1` is an array:\n`\\I18n\\I18n::pluralize( indexes: $arg1 = array , [count: $arg2 = 0] , [args: $arg3 = array] , [lang: $arg4 = null] )`\n- will `numberify` if `$arg1`=='number':\n`\\I18n\\I18n::getLocalizedNumberString( number: $arg2 = float , [lang: $arg3 = null] )`\n- will `currencify` if `$arg1`=='price':\n`\\I18n\\I18n::getLocalizedPriceString( price: $arg2 = float , [lang: $arg3 = null] )`\n- will `translate` if `$arg1` is a string and not 'number' or 'price':\n`\\I18n\\I18n::translate( index: $arg1 = string, [params: $arg2 = array] , [lang: $arg3 = null] )`\n\n@param string/DateTime $arg1\n@param string/int $arg2\n@param array/string $arg3\n@param string $arg4\n@param string $arg5\n@return mixed\n@alias \\I18n\\I18n::translate($index, $args, $lang)\n@alias \\I18n\\I18n::pluralize($indexes, $number, $args, $lang)\n@alias \\I18n\\I18n::getLocalizedDateString($date, $mask, $charset, $lang)\n@alias \\I18n\\I18n::getLocalizedNumberString($number, $lang)\n@alias \\I18n\\I18n::getLocalizedPriceString($number, $lang)", "docstring_tokens": ["Full", "aliasing", "of", "internationalization"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/CarteBlanche.php#L129-L162", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/CarteBlanche.php", "func_name": "CarteBlanche.locate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Full `\\CarteBlanche\\App\\Locator` handler\n\n@param string $filename\n@param null|string $type 'data', 'config', 'language' or 'i18n', 'view', 'controller'\n@alias \\CarteBlanche\\App\\Locator::locate($filename)", "docstring_tokens": ["Full", "\\", "CarteBlanche", "\\", "App", "\\", "Locator", "handler"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/CarteBlanche.php#L197-L220", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/Formatter.php", "func_name": "Formatter.asText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the value as an HTML-encoded plain text.\n@param string $value the value to be formatted.\n@param string $encoding\n@return string the formatted result.", "docstring_tokens": ["Formats", "the", "value", "as", "an", "HTML", "-", "encoded", "plain", "text", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/Formatter.php#L435-L442", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/Formatter.php", "func_name": "Formatter.asEmail", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the value as a mailto link.\n@param string $value the value to be formatted.\n@param array $options the tag options in terms of name-value pairs. See [[Html::mailto()]].\n@param string $encoding\n@return string the formatted result.", "docstring_tokens": ["Formats", "the", "value", "as", "a", "mailto", "link", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/Formatter.php#L500-L507", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/Formatter.php", "func_name": "Formatter.asDecimal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the value as a decimal number.\n\nProperty [[decimalSeparator]] will be used to represent the decimal point. The\nvalue is rounded automatically to the defined decimal digits.\n\n@param mixed $value the value to be formatted.\n@param int $decimals the number of digits after the decimal point.\nIf not given, the number of digits depends in the input value and is determined based on\n`NumberFormatter::MIN_FRACTION_DIGITS` and `NumberFormatter::MAX_FRACTION_DIGITS`, which can be configured\nusing [[$numberFormatterOptions]].\nIf the [PHP intl extension](http://php.net/manual/en/book.intl.php) is not available, the default value is `2`.\nIf you want consistent behavior between environments where intl is available and not, you should explicitly\nspecify a value here.\n@param array $options optional configuration for the number formatter. This parameter will be merged with [[numberFormatterOptions]].\n@param array $textOptions optional configuration for the number formatter. This parameter will be merged with [[numberFormatterTextOptions]].\n@return string the formatted result.\n@throws InvalidArgumentException if the input value is not numeric or the formatting failed.\n@see decimalSeparator\n@see thousandSeparator", "docstring_tokens": ["Formats", "the", "value", "as", "a", "decimal", "number", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/Formatter.php#L1063-L1084", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/Formatter.php", "func_name": "Formatter.asShortSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats the value in bytes as a size in human readable form for example `12 KB`.\n\nThis is the short form of [[asSize]].\n\nIf [[sizeFormatBase]] is 1024, [binary prefixes](http://en.wikipedia.org/wiki/Binary_prefix) (e.g. kibibyte/KiB, mebibyte/MiB, ...)\nare used in the formatting result.\n\n@param string|int|float $value value in bytes to be formatted.\n@param int $decimals the number of digits after the decimal point.\n@param array $options optional configuration for the number formatter. This parameter will be merged with [[numberFormatterOptions]].\n@param array $textOptions optional configuration for the number formatter. This parameter will be merged with [[numberFormatterTextOptions]].\n@return string the formatted result.\n@throws InvalidArgumentException if the input value is not numeric or the formatting failed.\n@see sizeFormatBase\n@see asSize", "docstring_tokens": ["Formats", "the", "value", "in", "bytes", "as", "a", "size", "in", "human", "readable", "form", "for", "example", "12", "KB", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/Formatter.php#L1291-L1330", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/ItemControllerAbstract.php", "func_name": "ItemControllerAbstract.actionCreate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows create form.\n@return string|Response\n@throws \\yii\\base\\InvalidConfigException", "docstring_tokens": ["Shows", "create", "form", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/ItemControllerAbstract.php#L73-L89", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/ItemControllerAbstract.php", "func_name": "ItemControllerAbstract.actionUpdate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows update form.\n@param string $name\n@return string|Response\n@throws NotFoundHttpException\n@throws \\yii\\base\\InvalidConfigException", "docstring_tokens": ["Shows", "update", "form", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/ItemControllerAbstract.php#L98-L116", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/Classfile.php", "func_name": "Classfile.exists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks for existing class file of a given classname\n\nTakes care of namespaces.\n\n@return boolean", "docstring_tokens": ["Checks", "for", "existing", "class", "file", "of", "a", "given", "classname"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/Classfile.php#L80-L97", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/DB.class.php", "func_name": "DB.fetchObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set corresponding fields in an object from result set.\n\n@param string $query\n@param array $values\n@param object $instance - the initialized object that the fields should be set in\n@param array $callback [default=array()]\n@return object", "docstring_tokens": ["Set", "corresponding", "fields", "in", "an", "object", "from", "result", "set", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/DB.class.php#L129-L145", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/db/DB.class.php", "func_name": "DB.fetchColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve first column in results set\n\n@param string $query\n@param array $values\n@return string", "docstring_tokens": ["Retrieve", "first", "column", "in", "results", "set"], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/db/DB.class.php#L234-L249", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/SoftDeletes.php", "func_name": "SoftDeletes.scopeExcludeTrashed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters out trashed entities.\n\n@param QueryBuilder $query\n@return QueryBuilder", "docstring_tokens": ["Filters", "out", "trashed", "entities", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/SoftDeletes.php#L17-L24", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/Doctrine/SoftDeletes.php", "func_name": "SoftDeletes.scopeOnlyTrashed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filters everything except trashed entities.\n\n@param QueryBuilder $query\n@return QueryBuilder", "docstring_tokens": ["Filters", "everything", "except", "trashed", "entities", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/Doctrine/SoftDeletes.php#L33-L40", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/StaticApplicationConsole.php", "func_name": "StaticApplicationConsole.runConsoleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Emulates request resolving in console", "docstring_tokens": ["Emulates", "request", "resolving", "in", "console"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/StaticApplicationConsole.php#L30-L62", "partition": "test"} +{"repo": "jamesvweston/php-utilities", "path": "src/ArrayUtil.php", "func_name": "ArrayUtil.getUnset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the value and if it's set, unset it\n@param array $arr\n@param string $key\n@param null $default\n@return null", "docstring_tokens": ["Get", "the", "value", "and", "if", "it", "s", "set", "unset", "it"], "sha": "189a104507de3083bcf498870c08c7aa8ae5f317", "url": "https://github.com/jamesvweston/php-utilities/blob/189a104507de3083bcf498870c08c7aa8ae5f317/src/ArrayUtil.php#L26-L32", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Message.php", "func_name": "Message.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieves a message header value by the given case-insensitive name.\nThis method returns an array of all the header values of the given\ncase-insensitive header name.\nIf the header does not appear in the message, this method MUST return an\nempty array.\n\n@param string $name Case-insensitive header field name.\n@return string[] An array of string values as provided for the given\nheader. If the header does not appear in the message, this method MUST\nreturn an empty array.", "docstring_tokens": ["Retrieves", "a", "message", "header", "value", "by", "the", "given", "case", "-", "insensitive", "name", ".", "This", "method", "returns", "an", "array", "of", "all", "the", "header", "values", "of", "the", "given", "case", "-", "insensitive", "header", "name", ".", "If", "the", "header", "does", "not", "appear", "in", "the", "message", "this", "method", "MUST", "return", "an", "empty", "array", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Message.php#L149-L161", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Message.php", "func_name": "Message.withoutHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance without the specified header.\nHeader resolution MUST be done without case-sensitivity.\nThis method MUST be implemented in such a way as to retain the\nimmutability of the message, and MUST return an instance that removes\nthe named header.\n\n@param string $name Case-insensitive header field name to remove.\n@return MessageInterface", "docstring_tokens": ["Return", "an", "instance", "without", "the", "specified", "header", ".", "Header", "resolution", "MUST", "be", "done", "without", "case", "-", "sensitivity", ".", "This", "method", "MUST", "be", "implemented", "in", "such", "a", "way", "as", "to", "retain", "the", "immutability", "of", "the", "message", "and", "MUST", "return", "an", "instance", "that", "removes", "the", "named", "header", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Message.php#L237-L249", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Message.php", "func_name": "Message.withBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified message body.\nThe body MUST be a StreamInterface object.\nThis method MUST be implemented in such a way as to retain the\nimmutability of the message, and MUST return a new instance that has the\nnew body stream.\n\n@param StreamInterface $body Body.\n@return MessageInterface\n@throws \\InvalidArgumentException When the body is not valid.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "message", "body", ".", "The", "body", "MUST", "be", "a", "StreamInterface", "object", ".", "This", "method", "MUST", "be", "implemented", "in", "such", "a", "way", "as", "to", "retain", "the", "immutability", "of", "the", "message", "and", "MUST", "return", "a", "new", "instance", "that", "has", "the", "new", "body", "stream", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Message.php#L272-L283", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Type/Type.php", "func_name": "Type.getIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get icon type.\n\n@param bool $isNegativeAmount\n@return string", "docstring_tokens": ["Get", "icon", "type", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Type/Type.php#L82-L105", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Type/Type.php", "func_name": "Type.getAllTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all types objects.\n\n@return Type[]", "docstring_tokens": ["Get", "all", "types", "objects", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Type/Type.php#L122-L138", "partition": "test"} +{"repo": "BapCat/Tailor", "path": "src/Tailor.php", "func_name": "Tailor.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a class to a template with specified parameters\n\n@param string $alias\n@param string $template\n@param mixed[] $params (optional)\n\n@return void", "docstring_tokens": ["Bind", "a", "class", "to", "a", "template", "with", "specified", "parameters"], "sha": "2c2a0abeb2d070943fb664ce96bbbdda7213b2d5", "url": "https://github.com/BapCat/Tailor/blob/2c2a0abeb2d070943fb664ce96bbbdda7213b2d5/src/Tailor.php#L43-L48", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/ErrorHandler.php", "func_name": "ErrorHandler.renderException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders an exception using ansi format for console output.\n@param \\Exception $exception the exception to be rendered.", "docstring_tokens": ["Renders", "an", "exception", "using", "ansi", "format", "for", "console", "output", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/ErrorHandler.php#L30-L67", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/ErrorHandler.php", "func_name": "ErrorHandler.formatMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Colorizes a message for console output.\n@param string $message the message to colorize.\n@param array $format the message format.\n@return string the colorized message.\n@see Console::ansiFormat() for details on how to specify the message format.", "docstring_tokens": ["Colorizes", "a", "message", "for", "console", "output", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/ErrorHandler.php#L76-L85", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Cookie.php", "func_name": "Cookie.getForHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cookie for Set-Cookie header\n@param string $validationKey Cookie validation key\n@return string\n@throws \\Reaction\\Exceptions\\InvalidConfigException", "docstring_tokens": ["Get", "cookie", "for", "Set", "-", "Cookie", "header"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Cookie.php#L70-L91", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Cookie.php", "func_name": "Cookie.convertArrayToHeaderString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert cookie data array to Set-cookie header string\n@param array $data\n@return string", "docstring_tokens": ["Convert", "cookie", "data", "array", "to", "Set", "-", "cookie", "header", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Cookie.php#L98-L111", "partition": "test"} +{"repo": "m6w6/merry", "path": "lib/merry/Config.php", "func_name": "Config.combine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Combine individual sections with their parent section\n@param array $array the config array\n@param string $section_sep the section extension separator\n@return array merged sections", "docstring_tokens": ["Combine", "individual", "sections", "with", "their", "parent", "section"], "sha": "079ca547531915b0ba0cb6829a89d9c7d4b93408", "url": "https://github.com/m6w6/merry/blob/079ca547531915b0ba0cb6829a89d9c7d4b93408/lib/merry/Config.php#L47-L60", "partition": "test"} +{"repo": "m6w6/merry", "path": "lib/merry/Config.php", "func_name": "Config.walk", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Walk a key split by the key separator into an array up and set the\nrespective value on the leaf\n@param mixed $ptr current leaf pointer in the array\n@param string $key the array key\n@param mixed $val the value to set\n@param string $key_sep the key separator for traversal", "docstring_tokens": ["Walk", "a", "key", "split", "by", "the", "key", "separator", "into", "an", "array", "up", "and", "set", "the", "respective", "value", "on", "the", "leaf"], "sha": "079ca547531915b0ba0cb6829a89d9c7d4b93408", "url": "https://github.com/m6w6/merry/blob/079ca547531915b0ba0cb6829a89d9c7d4b93408/lib/merry/Config.php#L70-L75", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Request/StringHelper.php", "func_name": "StringHelper.explode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Explodes string into array, optionally trims values and skips empty ones.\n\n@param string $string String to be exploded.\n@param string $delimiter Delimiter. Default is ','.\n@param mixed $trim Whether to trim each element. Can be:\n- boolean - to trim normally;\n- string - custom characters to trim. Will be passed as a second argument to `trim()` function.\n- callable - will be called for each value instead of trim. Takes the only argument - value.\n@param bool $skipEmpty Whether to skip empty strings between delimiters. Default is false.\n@return array\n@see \\Reaction\\Helpers\\StringHelper::explode()", "docstring_tokens": ["Explodes", "string", "into", "array", "optionally", "trims", "values", "and", "skips", "empty", "ones", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Request/StringHelper.php#L165-L168", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/ErrorController.php", "func_name": "ErrorController.reportAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a mail report to the website contact", "docstring_tokens": ["Send", "a", "mail", "report", "to", "the", "website", "contact"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/ErrorController.php#L58-L85", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/ErrorController.php", "func_name": "ErrorController.error403Action", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The \"not found\" error page\n\n@return string The 403 forbidden error page view content", "docstring_tokens": ["The", "not", "found", "error", "page"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/ErrorController.php#L92-L134", "partition": "test"} +{"repo": "eXtalionTeam/routing", "path": "src/Route.php", "func_name": "Route.extractParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract parameters value from path\n\n@param string $path Uri path that match to route without query\n\n@return mixed[] Map parameter_name => value\n@throws \\Throwable If any route parameter option throw exception", "docstring_tokens": ["Extract", "parameters", "value", "from", "path"], "sha": "24fef690c083ec378a17f6f5b1495154b3f04f34", "url": "https://github.com/eXtalionTeam/routing/blob/24fef690c083ec378a17f6f5b1495154b3f04f34/src/Route.php#L184-L200", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/Core/ControllerResolver.php", "func_name": "ControllerResolver.getController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets controller instance.\nController instance is produced with factory of name from request or default name from configuration.\n\n@return IController Instance of produced controller.\n\n@throws ControllerNotFoundException If factory with given name does not exists.", "docstring_tokens": ["Gets", "controller", "instance", ".", "Controller", "instance", "is", "produced", "with", "factory", "of", "name", "from", "request", "or", "default", "name", "from", "configuration", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/Core/ControllerResolver.php#L63-L79", "partition": "test"} +{"repo": "seaice/li-framework", "path": "GridView.php", "func_name": "GridView._getButtons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get button html code\n@param $buttons array the button array\n@param $row array current row data\n@return string the html code of button", "docstring_tokens": ["get", "button", "html", "code"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/GridView.php#L243-L266", "partition": "test"} +{"repo": "seaice/li-framework", "path": "GridView.php", "func_name": "GridView._getOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get item option html code\n@param $options array html options\n@return string the html code of options", "docstring_tokens": ["get", "item", "option", "html", "code"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/GridView.php#L273-L285", "partition": "test"} +{"repo": "seaice/li-framework", "path": "GridView.php", "func_name": "GridView.evaluateExpression", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Evaluates a PHP expression.\n\n@param mixed $_expression_ a PHP expression or PHP callback to be evaluated.\n@param array $_data_ additional parameters to be passed to the above expression/callback.\n@return mixed the expression result", "docstring_tokens": ["Evaluates", "a", "PHP", "expression", "."], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/GridView.php#L294-L305", "partition": "test"} +{"repo": "bennetgallein/BIND-PHPWrapper", "path": "src/BIND.php", "func_name": "BIND.getZone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get A Zone based on the Name\n@param String $zone The Zone to be searched\n@return Zone the Zone Object", "docstring_tokens": ["Get", "A", "Zone", "based", "on", "the", "Name"], "sha": "0a37321f620fb6a48ebd74125eef0d5c03dc16e9", "url": "https://github.com/bennetgallein/BIND-PHPWrapper/blob/0a37321f620fb6a48ebd74125eef0d5c03dc16e9/src/BIND.php#L77-L82", "partition": "test"} +{"repo": "bennetgallein/BIND-PHPWrapper", "path": "src/BIND.php", "func_name": "BIND.addRecord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PUT OR POST\n@param String $domain\n@param int $ttl\n@param String $recordType\n@param String $value\n@return bool", "docstring_tokens": ["PUT", "OR", "POST"], "sha": "0a37321f620fb6a48ebd74125eef0d5c03dc16e9", "url": "https://github.com/bennetgallein/BIND-PHPWrapper/blob/0a37321f620fb6a48ebd74125eef0d5c03dc16e9/src/BIND.php#L91-L93", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableManager.php", "func_name": "TableManager.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a synthetic table\n\n@param string $table_name table name\n\n@throws Exception\\InvalidArgumentException if table name is not valid\n\n@return Table", "docstring_tokens": ["Return", "a", "synthetic", "table"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableManager.php#L84-L99", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableManager.php", "func_name": "TableManager.transaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a transaction object\n\n@return Transaction", "docstring_tokens": ["Return", "a", "transaction", "object"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableManager.php#L120-L126", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableManager.php", "func_name": "TableManager.loadDefaultMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return default metadata reader associated to an adapter\n\n@throws Exception\\UnsupportedFeatureException", "docstring_tokens": ["Return", "default", "metadata", "reader", "associated", "to", "an", "adapter"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableManager.php#L213-L224", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php", "func_name": "CategoryAbstract.setParentId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"category_parent_id\"\n\n@param int $parentId\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "category_parent_id"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php#L217-L233", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php", "func_name": "CategoryAbstract.getBudgetCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get BudgetCategory data object.\n\n@param bool $isForceReload\n@return BudgetCategory", "docstring_tokens": ["Get", "BudgetCategory", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php#L266-L276", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php", "func_name": "CategoryAbstract.getAllCategoryWord", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of CategoryWord data objects.\n\n@param bool $isForceReload\n@return CategoryWord[]", "docstring_tokens": ["Get", "list", "of", "CategoryWord", "data", "objects", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/CategoryAbstract.php#L304-L314", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Assistant.php", "func_name": "Assistant.flushCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush the cache.\n\n@return static", "docstring_tokens": ["Flush", "the", "cache", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Assistant.php#L98-L107", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Assistant.php", "func_name": "Assistant.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add cached key.\n\n@param string $key \u7f13\u5b58\u7684key\n\n@return static", "docstring_tokens": ["Add", "cached", "key", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Assistant.php#L130-L137", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Assistant.php", "func_name": "Assistant.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove cached key.\n\n@param string $key \u7f13\u5b58\u7684key\n\n@return static", "docstring_tokens": ["Remove", "cached", "key", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Assistant.php#L146-L155", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/Assistant.php", "func_name": "Assistant._removeCacheDatas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush the cache data.\n\n@param string $tag \u6807\u7b7e\n\n@return static", "docstring_tokens": ["Flush", "the", "cache", "data", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/Assistant.php#L195-L218", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Util/Params.php", "func_name": "Params.getBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Additionally converts 1, \"1\", and \"true\" to true and 0, \"0\", and \"false\" to false\n@param $key\n@param null $default\n@return bool", "docstring_tokens": ["Additionally", "converts", "1", "1", "and", "true", "to", "true", "and", "0", "0", "and", "false", "to", "false"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Util/Params.php#L57-L67", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Util/Params.php", "func_name": "Params.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a Param instance\n@param null $params\n@param null|Request $request\n@return Params\n@throws \\InvalidArgumentException", "docstring_tokens": ["Create", "a", "Param", "instance"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Util/Params.php#L143-L169", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Util/Params.php", "func_name": "Params.extractParamsFromCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an iterable collection into a raw array\n@param $collection\n@return array", "docstring_tokens": ["Converts", "an", "iterable", "collection", "into", "a", "raw", "array"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Util/Params.php#L215-L223", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Console/EventListener/LoggerListener.php", "func_name": "LoggerListener.onConsoleCommandLoaded", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fires when command is loaded into console application\n\n@param ConsoleEvent $event ConsoleEvent instance\n\n@return void", "docstring_tokens": ["Fires", "when", "command", "is", "loaded", "into", "console", "application"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Console/EventListener/LoggerListener.php#L56-L65", "partition": "test"} +{"repo": "sinpe/route", "path": "src/Router.php", "func_name": "Router.pushGroup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a route group to the array\n\n@param string $pattern\n@param callable $callable\n\n@return GroupInterface", "docstring_tokens": ["Add", "a", "route", "group", "to", "the", "array"], "sha": "c0fab524abeee71f2c78367dfdf1a9283460daa0", "url": "https://github.com/sinpe/route/blob/c0fab524abeee71f2c78367dfdf1a9283460daa0/src/Router.php#L325-L332", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php", "func_name": "NativeContainerAnnotations.getAllClassesAnnotationsByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all annotations for a class and its members by type.\n\n@param string $type The type\n@param string[] ...$classes The classes\n\n@throws \\ReflectionException\n\n@return array", "docstring_tokens": ["Get", "all", "annotations", "for", "a", "class", "and", "its", "members", "by", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php#L113-L151", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php", "func_name": "NativeContainerAnnotations.setServiceProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the properties for a service annotation.\n\n@param Annotation $annotation\n\n@throws \\ReflectionException\n\n@return void", "docstring_tokens": ["Set", "the", "properties", "for", "a", "service", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php#L162-L179", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php", "func_name": "NativeContainerAnnotations.getServiceFromAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a service from a service annotation.\n\n@param Service $service The service annotation\n\n@return \\Valkyrja\\Container\\Service", "docstring_tokens": ["Get", "a", "service", "from", "a", "service", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php#L188-L207", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php", "func_name": "NativeContainerAnnotations.getServiceContextFromAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a service context from a service context annotation.\n\n@param ServiceContext $service The service context annotation\n\n@return \\Valkyrja\\Container\\ServiceContext", "docstring_tokens": ["Get", "a", "service", "context", "from", "a", "service", "context", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/Annotations/NativeContainerAnnotations.php#L216-L239", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Database.php", "func_name": "Database.getCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get cache component\n@return ExpiringCacheInterface|null", "docstring_tokens": ["Get", "cache", "component"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Database.php#L94-L103", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Database.php", "func_name": "Database.getQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get query builder\n@return QueryBuilderInterface", "docstring_tokens": ["Get", "query", "builder"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Database.php#L109-L116", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Database.php", "func_name": "Database.createComponent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create inner component\n@param string $interface\n@param array $config\n@param bool $injectDb\n@return QueryBuilderInterface|SchemaInterface|CommandInterface|ColumnSchemaInterface|ConnectionInterface|TransactionInterface\n@throws null", "docstring_tokens": ["Create", "inner", "component"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Database.php#L302-L314", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Tokenization/Tokenizer.php", "func_name": "Tokenizer.getStatedClassNameToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To get the token from a stated class.\n\n@param string $statedClassName\n@param bool $removeProxyName\n\n@return string", "docstring_tokens": ["To", "get", "the", "token", "from", "a", "stated", "class", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Tokenization/Tokenizer.php#L58-L66", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Tokenization/Tokenizer.php", "func_name": "Tokenizer.getStatedClassInstanceToken", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To get the token from a stated class instance.\n\n@param LifeCyclableInterface $object\n\n@return string", "docstring_tokens": ["To", "get", "the", "token", "from", "a", "stated", "class", "instance", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Tokenization/Tokenizer.php#L75-L80", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST/11.php", "func_name": "PEAR_REST_11.listCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List packages in a category of a REST server\n\n@param string $base base URL of the server\n@param string $category name of the category\n@param boolean $info also download full package info\n@return array of packagenames", "docstring_tokens": ["List", "packages", "in", "a", "category", "of", "a", "REST", "server"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST/11.php#L254-L318", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST/11.php", "func_name": "PEAR_REST_11.betterStates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array containing all of the states that are more stable than\nor equal to the passed in state\n\n@param string Release state\n@param boolean Determines whether to include $state in the list\n@return false|array False if $state is not a valid release state", "docstring_tokens": ["Return", "an", "array", "containing", "all", "of", "the", "states", "that", "are", "more", "stable", "than", "or", "equal", "to", "the", "passed", "in", "state"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST/11.php#L328-L339", "partition": "test"} +{"repo": "allebb/executioner", "path": "src/Executioner.php", "func_name": "Executioner.compileCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compiles the command that will be executed\n\n@return string", "docstring_tokens": ["Compiles", "the", "command", "that", "will", "be", "executed"], "sha": "2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8", "url": "https://github.com/allebb/executioner/blob/2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8/src/Executioner.php#L123-L135", "partition": "test"} +{"repo": "allebb/executioner", "path": "src/Executioner.php", "func_name": "Executioner.generateArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a list of arguments to be appended onto the executed path.\n\n@return string The generated list of arguments.", "docstring_tokens": ["Generates", "a", "list", "of", "arguments", "to", "be", "appended", "onto", "the", "executed", "path", "."], "sha": "2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8", "url": "https://github.com/allebb/executioner/blob/2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8/src/Executioner.php#L142-L149", "partition": "test"} +{"repo": "allebb/executioner", "path": "src/Executioner.php", "func_name": "Executioner.executeProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the process.\n\n@return array\n@throws Exceptions\\ExecutionException", "docstring_tokens": ["Executes", "the", "process", "."], "sha": "2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8", "url": "https://github.com/allebb/executioner/blob/2d3cbc3b402f4dcc7cd1abcab1f3d2e09451abe8/src/Executioner.php#L181-L189", "partition": "test"} +{"repo": "phpzm/console", "path": "src/FileManager.php", "func_name": "FileManager.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the template on disk\n@return bool", "docstring_tokens": ["Write", "the", "template", "on", "disk"], "sha": "bcb2dc5aa13421b21ad3afaad4876642ede6d6c3", "url": "https://github.com/phpzm/console/blob/bcb2dc5aa13421b21ad3afaad4876642ede6d6c3/src/FileManager.php#L112-L133", "partition": "test"} +{"repo": "phpzm/console", "path": "src/FileManager.php", "func_name": "FileManager.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace values on stream template\n@return array", "docstring_tokens": ["Replace", "values", "on", "stream", "template"], "sha": "bcb2dc5aa13421b21ad3afaad4876642ede6d6c3", "url": "https://github.com/phpzm/console/blob/bcb2dc5aa13421b21ad3afaad4876642ede6d6c3/src/FileManager.php#L139-L147", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a single route.\n\n@param Route $route The route\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Set", "a", "single", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L79-L97", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a GET addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "GET", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L108-L113", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a POST addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "POST", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L124-L129", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a PUT addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "PUT", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L140-L145", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.patch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a PATCH addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "PATCH", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L156-L161", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a DELETE addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "DELETE", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L172-L177", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function to set a HEAD addRoute.\n\n@param Route $route The route\n\n@throws \\Exception\n\n@return void", "docstring_tokens": ["Helper", "function", "to", "set", "a", "HEAD", "addRoute", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L188-L193", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a route by name.\n\n@param string $name The name of the route to get\n\n@throws \\Valkyrja\\Routing\\Exceptions\\InvalidRouteName\n\n@return \\Valkyrja\\Routing\\Route", "docstring_tokens": ["Get", "a", "route", "by", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L214-L222", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.routeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a route url by name.\n\n@param string $name The name of the route to get\n@param array $data [optional] The route data if dynamic\n@param bool $absolute [optional] Whether this url should be absolute\n\n@throws \\Valkyrja\\Routing\\Exceptions\\InvalidRouteName\n\n@return string", "docstring_tokens": ["Get", "a", "route", "url", "by", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L247-L269", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.requestRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a route from a request.\n\n@param Request $request The request\n\n@throws \\InvalidArgumentException\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Get", "a", "route", "from", "a", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L282-L289", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.matchRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a route by path.\n\n@param string $path The path\n@param string $method [optional] The method type of get\n\n@throws \\InvalidArgumentException\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Get", "a", "route", "by", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L303-L314", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.isInternalUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a uri is valid.\n\n@param string $uri The uri to check\n\n@throws \\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "uri", "is", "valid", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L325-L347", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch the route and find a match.\n\n@param Request $request The request\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Http\\Exceptions\\NotFoundHttpException\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Dispatch", "the", "route", "and", "find", "a", "match", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L359-L401", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup routes.\n\n@param bool $force [optional] Whether to force setup\n@param bool $useCache [optional] Whether to use cache\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Setup", "routes", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L418-L457", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.setDynamicRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a dynamic route's properties.\n\n@param Route $route The route\n\n@return void", "docstring_tokens": ["Set", "a", "dynamic", "route", "s", "properties", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L528-L537", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.validateRouteUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the route url.\n\n@param string $path The path\n\n@return string", "docstring_tokens": ["Validate", "the", "route", "url", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L561-L574", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.matchStaticRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to match a static route by path and method.\n\n@param string $path The path\n@param string $method The method\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Try", "to", "match", "a", "static", "route", "by", "path", "and", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L586-L600", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.matchDynamicRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Try to match a dynamic route by path and method.\n\n@param string $path The path\n@param string $method The method\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Try", "to", "match", "a", "dynamic", "route", "by", "path", "and", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L612-L637", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.getMatchedStaticRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a matched static route.\n\n@param string $path The path\n@param string $method The method\n\n@return \\Valkyrja\\Routing\\Route", "docstring_tokens": ["Get", "a", "matched", "static", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L658-L661", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.getMatchedDynamicRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a matched dynamic route.\n\n@param string $path The path\n@param array $matches The regex matches\n@param string $method The request method\n\n@return \\Valkyrja\\Routing\\Route", "docstring_tokens": ["Get", "a", "matched", "dynamic", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L672-L693", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.routeRequestMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a route's before request handled middleware.\n\n@param Request $request The request\n@param Route $route The route\n\n@return mixed", "docstring_tokens": ["Dispatch", "a", "route", "s", "before", "request", "handled", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L703-L715", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.routeResponseMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch a route's after request handled middleware.\n\n@param Request $request The request\n@param Response $response The response\n@param Route $route The route\n\n@return void", "docstring_tokens": ["Dispatch", "a", "route", "s", "after", "request", "handled", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L726-L739", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.getResponseFromDispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a response from a dispatch.\n\n@param mixed $dispatch The dispatch\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Get", "a", "response", "from", "a", "dispatch", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L748-L768", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.setupFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the router from cache.\n\n@return void", "docstring_tokens": ["Setup", "the", "router", "from", "cache", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L775-L790", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/NativeRouter.php", "func_name": "NativeRouter.setupAnnotatedRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup annotated routes.\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Setup", "annotated", "routes", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/NativeRouter.php#L804-L821", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Modal.php", "func_name": "Modal.renderHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the header HTML markup of the modal\n@return string the rendering result", "docstring_tokens": ["Renders", "the", "header", "HTML", "markup", "of", "the", "modal"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Modal.php#L132-L144", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Modal.php", "func_name": "Modal.renderToggleButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders the toggle button.\n@return string the rendering result", "docstring_tokens": ["Renders", "the", "toggle", "button", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Modal.php#L182-L195", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/GettextMessageSource.php", "func_name": "GettextMessageSource.getGettextFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get gettext file class\n@param string $messageFile\n@return GettextFile|null", "docstring_tokens": ["Get", "gettext", "file", "class"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/GettextMessageSource.php#L174-L188", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.getQBResult", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array or other iterable object containing results\n@param Param $params\n@param Query $query\n@return Paginator|array", "docstring_tokens": ["Returns", "an", "array", "or", "other", "iterable", "object", "containing", "results"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L90-L97", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.addFilters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add where clauses to the query\n@param Param $params\n@param QueryBuilder $qb\n@return $this", "docstring_tokens": ["Add", "where", "clauses", "to", "the", "query"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L154-L160", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.filterBySearch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Default search hook for datatables\n\n@param Params $params\n@param QueryBuilder $qb\n\n@return $this", "docstring_tokens": ["Default", "search", "hook", "for", "datatables"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L182-L189", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.searchFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function is passed the datatables search query value\nand should appropriately filter the query builder object\nbased on what makes sense for this entity.\n\n@param Params $params\n@param QueryBuilder $qb\n@param $search\n\n@return $this", "docstring_tokens": ["This", "function", "is", "passed", "the", "datatables", "search", "query", "value", "and", "should", "appropriately", "filter", "the", "query", "builder", "object", "based", "on", "what", "makes", "sense", "for", "this", "entity", "."], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L202-L207", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.addOrdering", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If there is some ordering that needs to be applied, do it here\n@param Param $params\n@param QueryBuilder $qb\n@return $this", "docstring_tokens": ["If", "there", "is", "some", "ordering", "that", "needs", "to", "be", "applied", "do", "it", "here"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L215-L226", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.addOffset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the offset for the query results\n@param Param $params\n@param QueryBuilder $qb\n@return $this", "docstring_tokens": ["Set", "the", "offset", "for", "the", "query", "results"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L234-L241", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.addLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the limit for the query results\n@param Param $params\n@param QueryBuilder $qb\n@return $this", "docstring_tokens": ["Set", "the", "limit", "for", "the", "query", "results"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L249-L256", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds an element in this domain which has the specified ID\n\n@param $id\n@throws NotFound\n@return \\FzyCommon\\Entity\\BaseInterface", "docstring_tokens": ["Finds", "an", "element", "in", "this", "domain", "which", "has", "the", "specified", "ID"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L265-L281", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.safeJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows you to track which tables you have already joined on this query\n\n@param QueryBuilder $qb\n@param $property\n@param $joinedAlias\n@param bool $autoAlias\n\n@return $this", "docstring_tokens": ["Allows", "you", "to", "track", "which", "tables", "you", "have", "already", "joined", "on", "this", "query"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L336-L347", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.getDataTablesSortColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the column name selected for the sort\n@param Params $params\n@return array|null", "docstring_tokens": ["Returns", "the", "column", "name", "selected", "for", "the", "sort"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L370-L375", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php", "func_name": "DQL.orderByDataTablesParams", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses datatables request paramters to determine the column name to order by\n@param Params $params\n@param QueryBuilder $qb\n@return $this", "docstring_tokens": ["Uses", "datatables", "request", "paramters", "to", "determine", "the", "column", "name", "to", "order", "by"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php#L383-L392", "partition": "test"} +{"repo": "sasedev/commons-shared-bundle", "path": "src/Sasedev/Commons/SharedBundle/Validator/PhoneValidator.php", "func_name": "PhoneValidator.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a Phonenumber is valid\n\n@param string $value\n@param Constraint $constraint\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "Phonenumber", "is", "valid"], "sha": "c9fe125df0345b6f448342750effa5f166831d5f", "url": "https://github.com/sasedev/commons-shared-bundle/blob/c9fe125df0345b6f448342750effa5f166831d5f/src/Sasedev/Commons/SharedBundle/Validator/PhoneValidator.php#L26-L39", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.replaceEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "replace XML entities\n\nWith the optional second parameter, you may select, which\nentities should be replaced.\n\n\nrequire_once 'XML/Util.php';\n\n// replace XML entites:\n$string = XML_Util::replaceEntities('This string contains < & >.');\n\n\nWith the optional third parameter, you may pass the character encoding\n\nrequire_once 'XML/Util.php';\n\n// replace XML entites in UTF-8:\n$string = XML_Util::replaceEntities(\n'This string contains < & > as well as \u00e4, \u00f6, \u00df, \u00e0 and \u00ea',\nXML_UTIL_ENTITIES_HTML,\n'UTF-8'\n);\n\n\n@param string $string string where XML special chars\nshould be replaced\n@param int $replaceEntities setting for entities in attribute values\n(one of XML_UTIL_ENTITIES_XML,\nXML_UTIL_ENTITIES_XML_REQUIRED,\nXML_UTIL_ENTITIES_HTML)\n@param string $encoding encoding value (if any)...\nmust be a valid encoding as determined\nby the htmlentities() function\n\n@return string string with replaced chars\n@access public\n@static\n@see reverseEntities()", "docstring_tokens": ["replace", "XML", "entities"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L179-L202", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.reverseEntities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "reverse XML entities\n\nWith the optional second parameter, you may select, which\nentities should be reversed.\n\n\nrequire_once 'XML/Util.php';\n\n// reverse XML entites:\n$string = XML_Util::reverseEntities('This string contains < & >.');\n\n\nWith the optional third parameter, you may pass the character encoding\n\nrequire_once 'XML/Util.php';\n\n// reverse XML entites in UTF-8:\n$string = XML_Util::reverseEntities(\n'This string contains < & > as well as'\n. ' ä, ö, ß, à and ê',\nXML_UTIL_ENTITIES_HTML,\n'UTF-8'\n);\n\n\n@param string $string string where XML special chars\nshould be replaced\n@param int $replaceEntities setting for entities in attribute values\n(one of XML_UTIL_ENTITIES_XML,\nXML_UTIL_ENTITIES_XML_REQUIRED,\nXML_UTIL_ENTITIES_HTML)\n@param string $encoding encoding value (if any)...\nmust be a valid encoding as determined\nby the html_entity_decode() function\n\n@return string string with replaced chars\n@access public\n@static\n@see replaceEntities()", "docstring_tokens": ["reverse", "XML", "entities"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L245-L268", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.getXMLDeclaration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build an xml declaration\n\n\nrequire_once 'XML/Util.php';\n\n// get an XML declaration:\n$xmlDecl = XML_Util::getXMLDeclaration('1.0', 'UTF-8', true);\n\n\n@param string $version xml version\n@param string $encoding character encoding\n@param bool $standalone document is standalone (or not)\n\n@return string xml declaration\n@access public\n@static\n@uses attributesToString() to serialize the attributes of the XML declaration", "docstring_tokens": ["build", "an", "xml", "declaration"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L289-L306", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.getDocTypeDeclaration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "build a document type declaration\n\n\nrequire_once 'XML/Util.php';\n\n// get a doctype declaration:\n$xmlDecl = XML_Util::getDocTypeDeclaration('rootTag','myDocType.dtd');\n\n\n@param string $root name of the root tag\n@param string $uri uri of the doctype definition\n(or array with uri and public id)\n@param string $internalDtd internal dtd entries\n\n@return string doctype declaration\n@access public\n@static\n@since 0.2", "docstring_tokens": ["build", "a", "document", "type", "declaration"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L328-L343", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.attributesToString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create string representation of an attribute list\n\n\nrequire_once 'XML/Util.php';\n\n// build an attribute string\n$att = array(\n'foo' => 'bar',\n'argh' => 'tomato'\n);\n\n$attList = XML_Util::attributesToString($att);\n\n\n@param array $attributes attribute array\n@param bool|array $sort sort attribute list alphabetically,\nmay also be an assoc array containing\nthe keys 'sort', 'multiline', 'indent',\n'linebreak' and 'entities'\n@param bool $multiline use linebreaks, if more than\none attribute is given\n@param string $indent string used for indentation of\nmultiline attributes\n@param string $linebreak string used for linebreaks of\nmultiline attributes\n@param int $entities setting for entities in attribute values\n(one of XML_UTIL_ENTITIES_NONE,\nXML_UTIL_ENTITIES_XML,\nXML_UTIL_ENTITIES_XML_REQUIRED,\nXML_UTIL_ENTITIES_HTML)\n\n@return string string representation of the attributes\n@access public\n@static\n@uses replaceEntities() to replace XML entities in attribute values\n@todo allow sort also to be an options array", "docstring_tokens": ["create", "string", "representation", "of", "an", "attribute", "list"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L383-L439", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.collapseEmptyTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collapses empty tags.\n\n@param string $xml XML\n@param int $mode Whether to collapse all empty tags (XML_UTIL_COLLAPSE_ALL)\nor only XHTML (XML_UTIL_COLLAPSE_XHTML_ONLY) ones.\n\n@return string XML\n@access public\n@static\n@todo PEAR CS - unable to avoid \"space after open parens\" error\nin the IF branch", "docstring_tokens": ["Collapses", "empty", "tags", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L454-L465", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.createTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create a tag\n\nThis method will call XML_Util::createTagFromArray(), which\nis more flexible.\n\n\nrequire_once 'XML/Util.php';\n\n// create an XML tag:\n$tag = XML_Util::createTag('myNs:myTag',\narray('foo' => 'bar'),\n'This is inside the tag',\n'http://www.w3c.org/myNs#');\n\n\n@param string $qname qualified tagname (including namespace)\n@param array $attributes array containg attributes\n@param mixed $content the content\n@param string $namespaceUri URI of the namespace\n@param int $replaceEntities whether to replace XML special chars in\ncontent, embedd it in a CData section\nor none of both\n@param bool $multiline whether to create a multiline tag where\neach attribute gets written to a single line\n@param string $indent string used to indent attributes\n(_auto indents attributes so they start\nat the same column)\n@param string $linebreak string used for linebreaks\n@param bool $sortAttributes Whether to sort the attributes or not\n\n@return string XML tag\n@access public\n@static\n@see createTagFromArray()\n@uses createTagFromArray() to create the tag", "docstring_tokens": ["create", "a", "tag"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L504-L526", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.createStartElement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create a start element\n\n\nrequire_once 'XML/Util.php';\n\n// create an XML start element:\n$tag = XML_Util::createStartElement('myNs:myTag',\narray('foo' => 'bar') ,'http://www.w3c.org/myNs#');\n\n\n@param string $qname qualified tagname (including namespace)\n@param array $attributes array containg attributes\n@param string $namespaceUri URI of the namespace\n@param bool $multiline whether to create a multiline tag where each\nattribute gets written to a single line\n@param string $indent string used to indent attributes (_auto indents\nattributes so they start at the same column)\n@param string $linebreak string used for linebreaks\n@param bool $sortAttributes Whether to sort the attributes or not\n\n@return string XML start element\n@access public\n@static\n@see createEndElement(), createTag()", "docstring_tokens": ["create", "a", "start", "element"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L700-L735", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.splitQualifiedName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "split qualified name and return namespace and local part\n\n\nrequire_once 'XML/Util.php';\n\n// split qualified tag\n$parts = XML_Util::splitQualifiedName('xslt:stylesheet');\n\nthe returned array will contain two elements:\n

\narray(\n'namespace' => 'xslt',\n'localPart' => 'stylesheet'\n);\n
\n\n@param string $qname qualified tag name\n@param string $defaultNs default namespace (optional)\n\n@return array array containing namespace and local part\n@access public\n@static", "docstring_tokens": ["split", "qualified", "name", "and", "return", "namespace", "and", "local", "part"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L829-L842", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/XML/Util.php", "func_name": "XML_Util.isValidName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "check, whether string is valid XML name\n\n

XML names are used for tagname, attribute names and various\nother, lesser known entities.

\n

An XML name may only consist of alphanumeric characters,\ndashes, undescores and periods, and has to start with a letter\nor an underscore.

\n\n\nrequire_once 'XML/Util.php';\n\n// verify tag name\n$result = XML_Util::isValidName('invalidTag?');\nif (is_a($result, 'PEAR_Error')) {\nprint 'Invalid XML name: ' . $result->getMessage();\n}\n\n\n@param string $string string that should be checked\n\n@return mixed true, if string is a valid XML name, PEAR error otherwise\n@access public\n@static\n@todo support for other charsets\n@todo PEAR CS - unable to avoid 85-char limit on second preg_match", "docstring_tokens": ["check", "whether", "string", "is", "valid", "XML", "name"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/XML/Util.php#L871-L889", "partition": "test"} +{"repo": "dieg0v/txiki-callback", "path": "src/Call.php", "func_name": "Call.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch callable object\n\n@param Txiki\\Callback\\ICallable $object\n\n@return mixed", "docstring_tokens": ["Dispatch", "callable", "object"], "sha": "4db2fd3b4a95f449cdb47dd154f532a99944b743", "url": "https://github.com/dieg0v/txiki-callback/blob/4db2fd3b4a95f449cdb47dd154f532a99944b743/src/Call.php#L22-L45", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "EventListener/HttpCacheEventSubscriber.php", "func_name": "HttpCacheEventSubscriber.onTagResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tag response event handler.\n\n@param HttpCacheEvent $event", "docstring_tokens": ["Tag", "response", "event", "handler", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/EventListener/HttpCacheEventSubscriber.php#L40-L49", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "EventListener/HttpCacheEventSubscriber.php", "func_name": "HttpCacheEventSubscriber.onInvalidateTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invalidate tags event handler.\n\n@param HttpCacheEvent $event", "docstring_tokens": ["Invalidate", "tags", "event", "handler", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/EventListener/HttpCacheEventSubscriber.php#L56-L65", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/ValidationSubscriber.php", "func_name": "ValidationSubscriber.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs validation before the entity is persisted.\n\n@param LifecycleEventArgs $args\n@throws InvalidEntityException if the entity is invalid\n@return boolean", "docstring_tokens": ["Performs", "validation", "before", "the", "entity", "is", "persisted", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/ValidationSubscriber.php#L46-L62", "partition": "test"} +{"repo": "subjective-php/psr-log-helper", "path": "src/MessageInterpolationTrait.php", "func_name": "MessageInterpolationTrait.interpolateMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Interpolates context values into the message placeholders.\n\n@link https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#12-message\n\n@param string $message The string containing the placeholders.\n@param array $context The key/value array of replacement values.\n\n@return string", "docstring_tokens": ["Interpolates", "context", "values", "into", "the", "message", "placeholders", "."], "sha": "0581b49fb5727928b2bacb9e38738fa327232825", "url": "https://github.com/subjective-php/psr-log-helper/blob/0581b49fb5727928b2bacb9e38738fa327232825/src/MessageInterpolationTrait.php#L20-L37", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.areSameSpace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if two points are in the same space type\n\n@param \\Maths\\PointInterface $point1\n@param \\Maths\\PointInterface $point2\n@return bool", "docstring_tokens": ["Test", "if", "two", "points", "are", "in", "the", "same", "space", "type"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L134-L141", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.areSamePoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if two points are in the same position\n\n@param \\Maths\\PointInterface $point1\n@param \\Maths\\PointInterface $point2\n@return bool\n@throws \\InvalidArgumentException if the two points are not in the same space type", "docstring_tokens": ["Test", "if", "two", "points", "are", "in", "the", "same", "position"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L151-L173", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.getLinesIntersection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the intersection point between two lines\n\ny = (A1 * x) + B1 && y = (A2 * x) + B2\nx = (B2 - B1) / (A1 - A2)\n\n@param \\Maths\\Geometry\\Line $line1\n@param \\Maths\\Geometry\\Line $line2\n@return \\Maths\\Geometry\\Point", "docstring_tokens": ["Get", "the", "intersection", "point", "between", "two", "lines"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L185-L192", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.arePerpendiculars", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if two segments are perpendiculars\n\nThis will test it two lines are perpendiculars constructing a triangle and\ntesting if it is perpendicular\n\n@param \\Maths\\Geometry\\Line $line1\n@param \\Maths\\Geometry\\Line $line2\n@return bool", "docstring_tokens": ["Test", "if", "two", "segments", "are", "perpendiculars"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L205-L210", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.areParallels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if two segments are parallels\n\nThis will test if the two lines drawn from the two segments verify the Thales theorem\nby comparing [ab] (segment 1), [cd] (segment 2) and a fifth point [e] used to build\ntriangles:\n\n[ae]/[ce] == [be]/[de] ?\n\n@param \\Maths\\Geometry\\Line $line1\n@param \\Maths\\Geometry\\Line $line2\n@return bool", "docstring_tokens": ["Test", "if", "two", "segments", "are", "parallels"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L225-L288", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.getDirectionByPoints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the directions between two points for each axis\n\nThis will return an array with the value `1,-1,0` for each axis.\n\n@param PointInterface $point1\n@param PointInterface $point2\n@return array\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "the", "directions", "between", "two", "points", "for", "each", "axis"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L300-L318", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Maths.php", "func_name": "Maths.getDirectionByCoordinates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the directions between two points\n\nThis will return:\n\n- `1` if [a->b] evolves in positive direction\n- `-1` if [a->b] evolves in negative direction\n- `0` if [a->b] does not evolve (same point)\n\n@param int $a\n@param int $b\n@return int", "docstring_tokens": ["Get", "the", "directions", "between", "two", "points"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Maths.php#L333-L342", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveQuery.php", "func_name": "ActiveQuery.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes query and returns all results as an array.\n@param DatabaseInterface|DbConnectionGetterInterface|null $db the DB connection used to create the DB command.\nIf null, the DB connection returned by [[modelClass]] will be used.\n@return ExtendedPromiseInterface with array|ActiveRecordInterface[] the query results. If the query results in nothing, an empty array will be returned.", "docstring_tokens": ["Executes", "query", "and", "returns", "all", "results", "as", "an", "array", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveQuery.php#L136-L150", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveQuery.php", "func_name": "ActiveQuery.prepareAsyncVia", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare query with relations\n@return ExtendedPromiseInterface|LazyPromise", "docstring_tokens": ["Prepare", "query", "with", "relations"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveQuery.php#L198-L254", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveQuery.php", "func_name": "ActiveQuery.removeDuplicatedModels", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes duplicated models by checking their primary key values.\nThis method is mainly called when a join query is performed, which may cause duplicated rows being returned.\n@param array $models the models to be checked\n@throws InvalidConfigException if model primary key is empty\n@return array|ActiveRecordInterface[] the distinctive models", "docstring_tokens": ["Removes", "duplicated", "models", "by", "checking", "their", "primary", "key", "values", ".", "This", "method", "is", "mainly", "called", "when", "a", "join", "query", "is", "performed", "which", "may", "cause", "duplicated", "rows", "being", "returned", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveQuery.php#L294-L339", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveQuery.php", "func_name": "ActiveQuery.one", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes query and returns a single row of result.\n@param DatabaseInterface|DbConnectionGetterInterface|null $db the DB connection used to create the DB command.\nIf `null`, the DB connection returned by [[modelClass]] will be used.\n@return ExtendedPromiseInterface with ActiveRecordInterface|array|null a single row of query result. Depending on the setting of [[asArray]],\nthe query result may be either an array or an ActiveRecord object. `null` will be returned\nif the query results in nothing.", "docstring_tokens": ["Executes", "query", "and", "returns", "a", "single", "row", "of", "result", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveQuery.php#L349-L371", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/HeaderSecurity.php", "func_name": "HeaderSecurity.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a header value.\n\nPer RFC 7230, only VISIBLE ASCII characters, spaces, and horizontal\ntabs are allowed in values; header continuations MUST consist of\na single CRLF sequence followed by a space or horizontal tab.\n\n@see http://en.wikipedia.org/wiki/HTTP_response_splitting\n\n@param string $value\n\n@return bool", "docstring_tokens": ["Validate", "a", "header", "value", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/HeaderSecurity.php#L102-L124", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/HeaderSecurity.php", "func_name": "HeaderSecurity.assertValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assert a header value is valid.\n\n@param string $value\n\n@throws InvalidArgumentException for invalid values\n\n@return void", "docstring_tokens": ["Assert", "a", "header", "value", "is", "valid", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/HeaderSecurity.php#L135-L145", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Query the service and save result\n\n@throws \\BadMethodCallException\n@throws \\RuntimeException\n\n@return ResultSet|string", "docstring_tokens": ["Query", "the", "service", "and", "save", "result"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L384-L415", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.buildRequestUri", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the request uri for all common parameters\n\n@return string", "docstring_tokens": ["Build", "the", "request", "uri", "for", "all", "common", "parameters"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L422-L474", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the language for the result\n\n@param string $language\n\n@return Tunes", "docstring_tokens": ["Sets", "the", "language", "for", "the", "result"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L564-L571", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setMediaType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the used mediatype\n\n@param string $mediatype\n\n@return Tunes", "docstring_tokens": ["Set", "the", "used", "mediatype"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L580-L587", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setResultFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the result format\n\n@param string $format\n\n@return Tunes", "docstring_tokens": ["Set", "the", "result", "format"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L596-L603", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the limit\n\n@param integer $limit\n\n@throws \\OutOfBoundsException\n\n@return Tunes", "docstring_tokens": ["Set", "the", "limit"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L624-L634", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the entity for the result\n\n@param array $entity\n\n@throws \\InvalidArgumentException\n\n@return Tunes", "docstring_tokens": ["Set", "the", "entity", "for", "the", "result"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L645-L665", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the attribute you want to search in the iTunes\nstore.\nThis is relative to the set media type.\n\n@param string $attribute\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Set", "the", "attribute", "you", "want", "to", "search", "in", "the", "iTunes", "store", ".", "This", "is", "relative", "to", "the", "set", "media", "type", "."], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L676-L688", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a custom callback function you want to use\nwhen returning search results.\nThis setting works only when result format is set to\nRESULT_JSON\n\n@param string $callback\n\n@throws \\BadMethodCallException", "docstring_tokens": ["Set", "a", "custom", "callback", "function", "you", "want", "to", "use", "when", "returning", "search", "results", ".", "This", "setting", "works", "only", "when", "result", "format", "is", "set", "to", "RESULT_JSON"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L700-L707", "partition": "test"} +{"repo": "daFish/pondtunes", "path": "src/Pond/Tunes/Tunes.php", "func_name": "Tunes.setExplicit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the flag indicating whether or not you want to include\nexplicit content in your search result\n\n@param string $setting\n\n@return Tunes", "docstring_tokens": ["Set", "the", "flag", "indicating", "whether", "or", "not", "you", "want", "to", "include", "explicit", "content", "in", "your", "search", "result"], "sha": "619a1c2ca06b853916c8620a28052a7aae2d8f54", "url": "https://github.com/daFish/pondtunes/blob/619a1c2ca06b853916c8620a28052a7aae2d8f54/src/Pond/Tunes/Tunes.php#L717-L724", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/ApiPhoto.php", "func_name": "ApiPhoto.getPhotos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all photo currently available in a gallery.\n\n@return array|null", "docstring_tokens": ["Returns", "all", "photo", "currently", "available", "in", "a", "gallery", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/ApiPhoto.php#L43-L48", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logging method.\n\n@param int $level log level (0 is quiet, higher is noisier)\n@param string $msg message to write to the log\n\n@return void\n\n@access public\n@static", "docstring_tokens": ["Logging", "method", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L248-L262", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.mkTempDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and register a temporary directory.\n\n@param string $tmpdir (optional) Directory to use as tmpdir.\nWill use system defaults (for example\n/tmp or c:\\windows\\temp) if not specified\n\n@return string name of created directory\n\n@access public", "docstring_tokens": ["Create", "and", "register", "a", "temporary", "directory", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L275-L289", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.infoFromTgzFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns information about a package file. Expects the name of\na gzipped tar file as input.\n\n@param string $file name of .tgz file\n\n@return array array with package information\n\n@access public\n@deprecated use PEAR_PackageFile->fromTgzFile() instead", "docstring_tokens": ["Returns", "information", "about", "a", "package", "file", ".", "Expects", "the", "name", "of", "a", "gzipped", "tar", "file", "as", "input", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L490-L495", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.infoFromDescriptionFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns information about a package file. Expects the name of\na package xml file as input.\n\n@param string $descfile name of package xml file\n\n@return array array with package information\n\n@access public\n@deprecated use PEAR_PackageFile->fromPackageFile() instead", "docstring_tokens": ["Returns", "information", "about", "a", "package", "file", ".", "Expects", "the", "name", "of", "a", "package", "xml", "file", "as", "input", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L509-L514", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.infoFromString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns information about a package file. Expects the contents\nof a package xml file as input.\n\n@param string $data contents of package.xml file\n\n@return array array with package information\n\n@access public\n@deprecated use PEAR_PackageFile->fromXmlstring() instead", "docstring_tokens": ["Returns", "information", "about", "a", "package", "file", ".", "Expects", "the", "contents", "of", "a", "package", "xml", "file", "as", "input", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L528-L533", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Common.php", "func_name": "PEAR_Common.infoFromAny", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns package information from different sources\n\nThis method is able to extract information about a package\nfrom a .tgz archive or from a XML package definition file.\n\n@access public\n@param string Filename of the source ('package.xml', '.tgz')\n@return string\n@deprecated use PEAR_PackageFile->fromAnyFile() instead", "docstring_tokens": ["Returns", "package", "information", "from", "different", "sources"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Common.php#L571-L591", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/Articles.php", "func_name": "Articles.getWithOffers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get article with defined Id with all stored offer data\n\n@throws NullPointerException\n@return mixed|array article with offer data", "docstring_tokens": ["get", "article", "with", "defined", "Id", "with", "all", "stored", "offer", "data"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/Articles.php#L50-L64", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/Articles.php", "func_name": "Articles.getAllWithOffers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get all articles with all stored offer data\n\n@return mixed|array articles with offer data", "docstring_tokens": ["get", "all", "articles", "with", "all", "stored", "offer", "data"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/Articles.php#L71-L81", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/Articles.php", "func_name": "Articles.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "search article by EAN and return resultset\n\n@return mixed|array article data", "docstring_tokens": ["search", "article", "by", "EAN", "and", "return", "resultset"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/Articles.php#L88-L106", "partition": "test"} +{"repo": "leedave/logger", "path": "src/Logger.php", "func_name": "Logger.setFileHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up a logger to write to logFile\n@param string $logFile\n@param int $logLevel", "docstring_tokens": ["Set", "up", "a", "logger", "to", "write", "to", "logFile"], "sha": "ae499513cbf605ab4e8f4d67eece441e1d02dcea", "url": "https://github.com/leedave/logger/blob/ae499513cbf605ab4e8f4d67eece441e1d02dcea/src/Logger.php#L28-L33", "partition": "test"} +{"repo": "leedave/logger", "path": "src/Logger.php", "func_name": "Logger.setMailHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up the logger to send an email\n@param string $emailTo\n@param string $emailSubject\n@param string $emailFrom\n@param int $logLevel", "docstring_tokens": ["Set", "up", "the", "logger", "to", "send", "an", "email"], "sha": "ae499513cbf605ab4e8f4d67eece441e1d02dcea", "url": "https://github.com/leedave/logger/blob/ae499513cbf605ab4e8f4d67eece441e1d02dcea/src/Logger.php#L42-L46", "partition": "test"} +{"repo": "leedave/logger", "path": "src/Logger.php", "func_name": "Logger.getLogs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a logfile line by line and makes it into an array\n@param int $limit\n@return array", "docstring_tokens": ["Reads", "a", "logfile", "line", "by", "line", "and", "makes", "it", "into", "an", "array"], "sha": "ae499513cbf605ab4e8f4d67eece441e1d02dcea", "url": "https://github.com/leedave/logger/blob/ae499513cbf605ab4e8f4d67eece441e1d02dcea/src/Logger.php#L53-L74", "partition": "test"} +{"repo": "leedave/logger", "path": "src/Logger.php", "func_name": "Logger.makeLogRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an array from one log line\n@param string $row\n@return boolean|array", "docstring_tokens": ["Creates", "an", "array", "from", "one", "log", "line"], "sha": "ae499513cbf605ab4e8f4d67eece441e1d02dcea", "url": "https://github.com/leedave/logger/blob/ae499513cbf605ab4e8f4d67eece441e1d02dcea/src/Logger.php#L81-L98", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.shutdown", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Application specific shutdown handling", "docstring_tokens": ["Application", "specific", "shutdown", "handling"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L467-L472", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.handles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Defines the request to treat\n\n@param \\CarteBlanche\\App\\Request $request\n@return self", "docstring_tokens": ["Defines", "the", "request", "to", "treat"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L480-L495", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.distribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Distributes the application actions, controllers and views\n\nIf no request is defined yet, this will handle current HTTP request if so.\n\n@return string|void\n@see \\CarteBlanche\\App\\FrontController::distribute()", "docstring_tokens": ["Distributes", "the", "application", "actions", "controllers", "and", "views"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L505-L516", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.initBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load a new bundle namespace and map it to its path\n\n@param string $space\n@param string $dir\n@return bool", "docstring_tokens": ["Load", "a", "new", "bundle", "namespace", "and", "map", "it", "to", "its", "path"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L525-L529", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.addBootError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a booting error\n\n@param string $string\n@return self", "docstring_tokens": ["Add", "a", "booting", "error"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L574-L583", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.initConstantPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize a path from a constant\n\n@param string $cst A constant name\n@param string $path_ref The path reference\n@param bool $must_exists Check if concerned path exists\n@param bool $must_be_writable Check if concerned path is writable\n@return self\n\n@throws ErrorException if the constant is not defined", "docstring_tokens": ["Initialize", "a", "path", "from", "a", "constant"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L626-L636", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.addPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "References a path value\n\n@param string $name The path reference\n@param string $value The path value\n@param bool $must_exists Check if concerned path exists\n@param bool $must_be_writable Check if concerned path is writable\n@return self\n\n@throws RuntimeException if the path does not exists and `$must_exists` is true\n@throws ErrorException if the concerned path is not writable while it was required", "docstring_tokens": ["References", "a", "path", "value"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L650-L686", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.getPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a path value\n\n@param string $name The path reference\n@param bool $full_path Must return an absolute path or not (default)\n@return string|null", "docstring_tokens": ["Get", "a", "path", "value"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L695-L706", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.getAbsolutePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an app absolute path\n\n@param string $path The relative path to build\n@return string|null", "docstring_tokens": ["Build", "an", "app", "absolute", "path"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L714-L727", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.whoAmI", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get current user name running the app\n\n@return string", "docstring_tokens": ["Get", "current", "user", "name", "running", "the", "app"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L750-L755", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.__setMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the current kernel mode\n\nLaunch settings according to the MODE config entry\n\n@param string $mode\n@return self", "docstring_tokens": ["Define", "the", "current", "kernel", "mode"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L779-L805", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Kernel.php", "func_name": "Kernel.__loadDefaultConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the default configuration file\n\n@throws \\CarteBlanche\\Exception\\ErrorException", "docstring_tokens": ["Load", "the", "default", "configuration", "file"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Kernel.php#L812-L821", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetManager.php", "func_name": "AssetManager.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the component.\n@throws InvalidConfigException if [[basePath]] is invalid", "docstring_tokens": ["Initializes", "the", "component", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetManager.php#L196-L208", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetManager.php", "func_name": "AssetManager.loadBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads asset bundle class by name.\n\n@param string $name bundle name\n@param array $config bundle object configuration\n@param bool $publish if bundle should be published\n@return AssetBundle\n@throws InvalidConfigException if configuration isn't valid\n@throws \\ReflectionException", "docstring_tokens": ["Loads", "asset", "bundle", "class", "by", "name", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetManager.php#L249-L261", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetManager.php", "func_name": "AssetManager.getConverter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the asset converter.\n@return AssetConverterInterface the asset converter.", "docstring_tokens": ["Returns", "the", "asset", "converter", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetManager.php#L364-L376", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetManager.php", "func_name": "AssetManager.hash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate a CRC32 hash for the directory path. Collisions are higher\nthan MD5 but generates a much smaller hash string.\n@param string $path string to be hashed.\n@return string hashed string.", "docstring_tokens": ["Generate", "a", "CRC32", "hash", "for", "the", "directory", "path", ".", "Collisions", "are", "higher", "than", "MD5", "but", "generates", "a", "much", "smaller", "hash", "string", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetManager.php#L602-L609", "partition": "test"} +{"repo": "tekkla/core-mailer", "path": "Core/Mailer/AbstractMail.php", "func_name": "AbstractMail.addReplytos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a list of contacts to the replytolist\n\n@param array $reply_tos\nList of contacts to add. This array can be an indexed array with only\nthe contacts mailaddress or an assoc array with mailaddress as key and\nthe contacts name as value.", "docstring_tokens": ["Adds", "a", "list", "of", "contacts", "to", "the", "replytolist"], "sha": "b253d966314504ae4e34998db5d77c77a4c3afdb", "url": "https://github.com/tekkla/core-mailer/blob/b253d966314504ae4e34998db5d77c77a4c3afdb/Core/Mailer/AbstractMail.php#L374-L383", "partition": "test"} +{"repo": "tjwlucas/phpliteauth", "path": "src/liteAuth.php", "func_name": "liteAuth.newUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new user with the provided details", "docstring_tokens": ["Creates", "a", "new", "user", "with", "the", "provided", "details"], "sha": "b839e257d2e34cea21ae52c55752fc674ea47b14", "url": "https://github.com/tjwlucas/phpliteauth/blob/b839e257d2e34cea21ae52c55752fc674ea47b14/src/liteAuth.php#L56-L59", "partition": "test"} +{"repo": "tjwlucas/phpliteauth", "path": "src/liteAuth.php", "func_name": "liteAuth.resumeSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs when the library is loaded to authenticate and resume the user session", "docstring_tokens": ["Runs", "when", "the", "library", "is", "loaded", "to", "authenticate", "and", "resume", "the", "user", "session"], "sha": "b839e257d2e34cea21ae52c55752fc674ea47b14", "url": "https://github.com/tjwlucas/phpliteauth/blob/b839e257d2e34cea21ae52c55752fc674ea47b14/src/liteAuth.php#L95-L101", "partition": "test"} +{"repo": "gries/pokemath", "path": "src/PokeCalculator.php", "func_name": "PokeCalculator.calculate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculate a mathematical expression that uses pokemath-numbers\n\n@param $expression\n\n@return Number", "docstring_tokens": ["Calculate", "a", "mathematical", "expression", "that", "uses", "pokemath", "-", "numbers"], "sha": "29e1cc5219b31f6a13749ca987d79b6058b99e29", "url": "https://github.com/gries/pokemath/blob/29e1cc5219b31f6a13749ca987d79b6058b99e29/src/PokeCalculator.php#L71-L79", "partition": "test"} +{"repo": "osufpp/oauth2-ifsta", "path": "src/Provider/Ifsta.php", "func_name": "Ifsta.urlUserDetails", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get provider URL to fetch user details\n\n@param AccessToken $token\n@return string", "docstring_tokens": ["Get", "provider", "URL", "to", "fetch", "user", "details"], "sha": "f1982bfbf3c9220032ac527672cb30d061fee405", "url": "https://github.com/osufpp/oauth2-ifsta/blob/f1982bfbf3c9220032ac527672cb30d061fee405/src/Provider/Ifsta.php#L40-L43", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/Mapper.php", "func_name": "Mapper.raw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute raw query\n\n@param string $sql\n@param array $values\n@param string $class\n@return mixed", "docstring_tokens": ["Execute", "raw", "query"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/Mapper.php#L96-L108", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.csrfMetaTags", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates the meta tags containing CSRF token information.\n@param RequestApplicationInterface $app\n@return string the generated meta tags\n@see \\Reaction\\Web\\RequestHelper::enableCsrfValidation", "docstring_tokens": ["Generates", "the", "meta", "tags", "containing", "CSRF", "token", "information", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L309-L318", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.label", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a label tag.\n@param string $content label text. It will NOT be HTML-encoded. Therefore you can pass in HTML code\nsuch as an image tag. If this is is coming from end users, you should [[encode()]]\nit to prevent XSS attacks.\n@param string $for the ID of the HTML element that this label is associated with.\nIf this is null, the \"for\" attribute will not be generated.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated label tag", "docstring_tokens": ["Generates", "a", "label", "tag", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L499-L503", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.button", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a button tag.\n@param string $content the content enclosed within the button tag. It will NOT be HTML-encoded.\nTherefore you can pass in HTML code such as an image tag. If this is is coming from end users,\nyou should consider [[encode()]] it to prevent XSS attacks.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated button tag", "docstring_tokens": ["Generates", "a", "button", "tag", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L517-L524", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.submitButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a submit button tag.\n\nBe careful when naming form elements such as submit buttons. According to the [jQuery documentation](https://api.jquery.com/submit/) there\nare some reserved names that can cause conflicts, e.g. `submit`, `length`, or `method`.\n\n@param string $content the content enclosed within the button tag. It will NOT be HTML-encoded.\nTherefore you can pass in HTML code such as an image tag. If this is is coming from end users,\nyou should consider [[encode()]] it to prevent XSS attacks.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated submit button tag", "docstring_tokens": ["Generates", "a", "submit", "button", "tag", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L542-L546", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.submitInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a submit input button.\n\nBe careful when naming form elements such as submit buttons. According to the [jQuery documentation](https://api.jquery.com/submit/) there\nare some reserved names that can cause conflicts, e.g. `submit`, `length`, or `method`.\n\n@param string $label the value attribute. If it is null, the value attribute will not be generated.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated button tag", "docstring_tokens": ["Generates", "a", "submit", "input", "button", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L619-L624", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.resetInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a reset input button.\n@param string $label the value attribute. If it is null, the value attribute will not be generated.\n@param array $options the attributes of the button tag. The values will be HTML-encoded using [[encode()]].\nAttributes whose value is null will be ignored and not put in the tag returned.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated button tag", "docstring_tokens": ["Generates", "a", "reset", "input", "button", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L635-L640", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.hiddenInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a hidden input field.\n@param string $name the name attribute.\n@param string $value the value attribute. If it is null, the value attribute will not be generated.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated hidden input tag", "docstring_tokens": ["Generates", "a", "hidden", "input", "field", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L669-L672", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.passwordInput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a password input field.\n@param string $name the name attribute.\n@param string $value the value attribute. If it is null, the value attribute will not be generated.\n@param array $options the tag options in terms of name-value pairs. These will be rendered as\nthe attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].\nIf a value is null, the corresponding attribute will not be rendered.\nSee [[renderTagAttributes()]] for details on how attributes are being rendered.\n@param string $encoding\n@return string the generated password input tag", "docstring_tokens": ["Generates", "a", "password", "input", "field", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L685-L688", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Html.php", "func_name": "Html.processBooleanInputOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process checkbox and radio options array\n@param string $name\n@param array $options", "docstring_tokens": ["Process", "checkbox", "and", "radio", "options", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Html.php#L2427-L2437", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/Time.php", "func_name": "Time.setHours", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the hours.\n\n@param integer $hours The hours.", "docstring_tokens": ["Set", "the", "hours", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/Time.php#L93-L98", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/Time.php", "func_name": "Time.setMinutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the minutes.\n\n@param integer $minutes The minutes", "docstring_tokens": ["Set", "the", "minutes", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/Time.php#L115-L120", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/Time.php", "func_name": "Time.setSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the seconds.\n\n@param integer $seconds The seconds.", "docstring_tokens": ["Set", "the", "seconds", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/Time.php#L137-L142", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/Time/Time.php", "func_name": "Time.timeElementsAreValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if the time elements are valid.\n\n@param integer $hours The hours.\n@param integer $minutes The minutes.\n@param integer $seconds The seconds.\n@return boolean\n@throws \\InvalidArgumentException If the elements are not valid.", "docstring_tokens": ["Check", "if", "the", "time", "elements", "are", "valid", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/Time/Time.php#L163-L180", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a file.\n\n@param string $path The path\n@param string $contents The contents\n\n@throws \\League\\Flysystem\\FileExistsException\n\n@return bool", "docstring_tokens": ["Write", "a", "file", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L106-L109", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.writeStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a file with a stream.\n\n@param string $path The path\n@param resource $resource The resource\n\n@throws \\InvalidArgumentException\n@throws \\League\\Flysystem\\FileExistsException\n\n@return bool", "docstring_tokens": ["Write", "a", "file", "with", "a", "stream", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L122-L125", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an existing file.\n\n@param string $path The path\n@param string $contents The contents\n\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return bool", "docstring_tokens": ["Update", "an", "existing", "file", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L137-L140", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.updateStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an existing file with a stream.\n\n@param string $path The path\n@param resource $resource The resource\n\n@throws \\InvalidArgumentException\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return bool", "docstring_tokens": ["Update", "an", "existing", "file", "with", "a", "stream", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L153-L156", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a file or update a file depending on existence.\n\n@param string $path The path\n@param string $contents The contents\n\n@return bool", "docstring_tokens": ["Write", "a", "file", "or", "update", "a", "file", "depending", "on", "existence", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L166-L169", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.putStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write a file or update a file depending on existence with a stream.\n\n@param string $path The path\n@param resource $resource The resource\n\n@throws \\InvalidArgumentException\n\n@return bool", "docstring_tokens": ["Write", "a", "file", "or", "update", "a", "file", "depending", "on", "existence", "with", "a", "stream", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L181-L184", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.rename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rename a file.\n\n@param string $path The existing path\n@param string $newPath The new path\n\n@throws \\League\\Flysystem\\FileExistsException\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return bool", "docstring_tokens": ["Rename", "a", "file", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L197-L200", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.copy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copy a file.\n\n@param string $path The existing path\n@param string $newPath The new path\n\n@throws \\League\\Flysystem\\FileExistsException\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return bool", "docstring_tokens": ["Copy", "a", "file", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L213-L216", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.metadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a file's meta data.\n\n@param string $path The path\n\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return array|null An array of meta data or null on failure", "docstring_tokens": ["Get", "a", "file", "s", "meta", "data", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L241-L246", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.mimetype", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a file's mime type.\n\n@param string $path The path\n\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return string|null The mime type or null on failure", "docstring_tokens": ["Get", "a", "file", "s", "mime", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L257-L262", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.size", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a file's size.\n\n@param string $path The path\n\n@return int|null The size in bytes or null on failure", "docstring_tokens": ["Get", "a", "file", "s", "size", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L271-L276", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.timestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a file's timestamp.\n\n@param string $path The path\n\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return int|null The timestamp or null on failure", "docstring_tokens": ["Get", "a", "file", "s", "timestamp", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L287-L292", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.visibility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a file's visibility.\n\n@param string $path The path\n\n@throws \\League\\Flysystem\\FileNotFoundException\n\n@return string|null\nThe visibility ('public' or 'private') or null on failure", "docstring_tokens": ["Get", "a", "file", "s", "visibility", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L304-L309", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.setVisibility", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a file's visibility.\n\n@param string $path The path\n@param Visibility $visibility The visibility\n\n@return bool", "docstring_tokens": ["Set", "a", "file", "s", "visibility", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L319-L322", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.setVisibilityPublic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a file's visibility to public.\n\n@param string $path The path\n\n@return bool", "docstring_tokens": ["Set", "a", "file", "s", "visibility", "to", "public", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L331-L334", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.setVisibilityPrivate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a file's visibility to private.\n\n@param string $path The path\n\n@return bool", "docstring_tokens": ["Set", "a", "file", "s", "visibility", "to", "private", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L343-L346", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.listContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List the contents of a directory.\n\n@param string $directory [optional] The directory\n@param bool $recursive [optional] Whether to recurse through the\ndirectory\n\n@return array", "docstring_tokens": ["List", "the", "contents", "of", "a", "directory", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L383-L386", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.localAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the local flysystem adapter.\n\n@throws \\LogicException\n\n@return \\League\\Flysystem\\Adapter\\Local", "docstring_tokens": ["Get", "the", "local", "flysystem", "adapter", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L433-L439", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Filesystem/FlyFilesystem.php", "func_name": "FlyFilesystem.s3Adapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the s3 flysystem adapter.\n\n@throws \\InvalidArgumentException\n\n@return \\League\\Flysystem\\AwsS3v3\\AwsS3Adapter", "docstring_tokens": ["Get", "the", "s3", "flysystem", "adapter", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Filesystem/FlyFilesystem.php#L460-L483", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/UrlManager.php", "func_name": "UrlManager.processRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process current request", "docstring_tokens": ["Process", "current", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/UrlManager.php#L139-L157", "partition": "test"} +{"repo": "jdesrosiers/silex-conneg-provider", "path": "src/ContentNegotiation/JmsSerializerContentNegotiation.php", "func_name": "JmsSerializerContentNegotiation.deserializeRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method retrieves the request body in any supported format and deserializes it.\n\n@param string $className\n@return object", "docstring_tokens": ["This", "method", "retrieves", "the", "request", "body", "in", "any", "supported", "format", "and", "deserializes", "it", "."], "sha": "3d047f28c966d31de71999d5b79f958e32fe6e2a", "url": "https://github.com/jdesrosiers/silex-conneg-provider/blob/3d047f28c966d31de71999d5b79f958e32fe6e2a/src/ContentNegotiation/JmsSerializerContentNegotiation.php#L52-L62", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Model.php", "func_name": "Model.checkAccess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "checks the access for this operation based on the annotations defined for this operation\n@param string|Model $object on which access needs to be validated\n@param string $errorMessage error message to be set as exception message if access is denied\n@throws NoAccessException\n@return boolean|string True or Valid where expression for Read access on Success otherwise false", "docstring_tokens": ["checks", "the", "access", "for", "this", "operation", "based", "on", "the", "annotations", "defined", "for", "this", "operation"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Model.php#L96-L198", "partition": "test"} +{"repo": "php-packages/container", "path": "src/PhpPackages/Container/DocBlock.php", "func_name": "DocBlock.parseBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a DocBlock comment into an array of lines.\n\n@param string $block\n@return array", "docstring_tokens": ["Parses", "a", "DocBlock", "comment", "into", "an", "array", "of", "lines", "."], "sha": "28fde0549e902a439bb337478f6b9535a043a6ce", "url": "https://github.com/php-packages/container/blob/28fde0549e902a439bb337478f6b9535a043a6ce/src/PhpPackages/Container/DocBlock.php#L75-L89", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Support/Directory.php", "func_name": "Directory.path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construct a path with the directory separator prepended.\n\n@param string $path The path\n\n@return string", "docstring_tokens": ["Construct", "a", "path", "with", "the", "directory", "separator", "prepended", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Support/Directory.php#L203-L208", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/AbstractApi.php", "func_name": "AbstractApi.getAuthenticationObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "authentication client with defined login and password; return Auth Object\n\n@throws NullPointerException\n@throws AuthException\n@return \\Mamoto\\Api\\Authentication", "docstring_tokens": ["authentication", "client", "with", "defined", "login", "and", "password", ";", "return", "Auth", "Object"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/AbstractApi.php#L152-L167", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/AbstractApi.php", "func_name": "AbstractApi.getDataFromUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get data from url\n\n@param string $url\n@return mixed raw url data", "docstring_tokens": ["get", "data", "from", "url"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/AbstractApi.php#L175-L191", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/AbstractApi.php", "func_name": "AbstractApi.parseJsonData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "parse Json data and return data as array\n\n@param unknown $data\n@throws JsonException\n@throws ServerException\n@return mixed|array resultset as array", "docstring_tokens": ["parse", "Json", "data", "and", "return", "data", "as", "array"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/AbstractApi.php#L201-L222", "partition": "test"} +{"repo": "mamoto-net/sdk-php", "path": "src/Mamoto/Api/AbstractApi.php", "func_name": "AbstractApi.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get all data from url\n\n@return array|mixed get all data from url", "docstring_tokens": ["get", "all", "data", "from", "url"], "sha": "c1964a013b097fdaa80a0efcfebef9d792760cc1", "url": "https://github.com/mamoto-net/sdk-php/blob/c1964a013b097fdaa80a0efcfebef9d792760cc1/src/Mamoto/Api/AbstractApi.php#L252-L262", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.getEntityAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get related entity alias used in query. Will be used entity class name without namespace.\n\n@return string\n@throws \\ReflectionException", "docstring_tokens": ["Get", "related", "entity", "alias", "used", "in", "query", ".", "Will", "be", "used", "entity", "class", "name", "without", "namespace", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L100-L116", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.createQueryBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets an ExpressionBuilder used for object-oriented construction of query expressions.\n\n@param string $alias\n@param string $indexBy The index for the from.\n\n@return EntityQueryBuilder\n@throws \\ReflectionException", "docstring_tokens": ["Gets", "an", "ExpressionBuilder", "used", "for", "object", "-", "oriented", "construction", "of", "query", "expressions", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L134-L137", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.createResultSetMappingBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new result set mapping builder for this entity. The column naming strategy is \"INCREMENT\".\n\n@param string $alias\n\n@return ResultSetMappingBuilder\n@throws \\ReflectionException", "docstring_tokens": ["Creates", "a", "new", "result", "set", "mapping", "builder", "for", "this", "entity", ".", "The", "column", "naming", "strategy", "is", "INCREMENT", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L147-L159", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.findAllIdentifiers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds entity ids.\n\n@return array\n@throws \\ReflectionException", "docstring_tokens": ["Finds", "entity", "ids", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L178-L189", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.min", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the minimum value of a given column..\n\n@param string $column\n\n@return mixed\n@throws \\ReflectionException\n@throws \\Doctrine\\ORM\\NonUniqueResultException\n@throws \\Doctrine\\ORM\\NoResultException\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Retrieve", "the", "minimum", "value", "of", "a", "given", "column", ".."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L202-L209", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.paginate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve paginator.\n\n@param int $page\n@param int $perPage\n\n@return Tools\\Pagination\\Paginator\n@throws \\ReflectionException\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Retrieve", "paginator", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L281-L289", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.isEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates whether the given argument is an entity.\n\n@param mixed $entity\n\n@return bool", "docstring_tokens": ["Indicates", "whether", "the", "given", "argument", "is", "an", "entity", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L298-L302", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.getIdentifier", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the object identifier, single or composite.\n\n@param mixed $entity\n@param bool $single\n\n@return array|string\n@throws \\Doctrine\\ORM\\Mapping\\MappingException\n@throws \\Doctrine\\ORM\\ORMInvalidArgumentException\n@throws \\Doctrine\\ORM\\ORMException\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Get", "the", "object", "identifier", "single", "or", "composite", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L316-L360", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.validateEntity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Indicates whether the given entity is valid.\n\n@param mixed $entity\n@param string $method\n\n@return void\n@throws \\Xloit\\Bridge\\Doctrine\\ORM\\Exception\\InvalidArgumentException", "docstring_tokens": ["Indicates", "whether", "the", "given", "entity", "is", "valid", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L484-L494", "partition": "test"} +{"repo": "xloit/xloit-bridge-doctrine-orm", "path": "src/EntityRepositoryTrait.php", "func_name": "EntityRepositoryTrait.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the object and its properties as an array.\n\n@param mixed $entity\n\n@return array\n@throws \\Doctrine\\ORM\\Mapping\\MappingException", "docstring_tokens": ["Returns", "the", "object", "and", "its", "properties", "as", "an", "array", "."], "sha": "7bcb35b2c0728e43f626ff62a573861315b0ed3f", "url": "https://github.com/xloit/xloit-bridge-doctrine-orm/blob/7bcb35b2c0728e43f626ff62a573861315b0ed3f/src/EntityRepositoryTrait.php#L560-L601", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/FileValidator.php", "func_name": "FileValidator.filterFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Files filter.\n@param array $files\n@return UploadedFile[]", "docstring_tokens": ["Files", "filter", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/FileValidator.php#L249-L260", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Validators/FileValidator.php", "func_name": "FileValidator.getSizeLimit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the maximum size allowed for uploaded files.\n\nThis is determined based on four factors:\n\n- 'upload_max_filesize' in php.ini\n- 'post_max_size' in php.ini\n- 'MAX_FILE_SIZE' hidden field\n- [[maxSize]]\n\n@return int the size limit for uploaded files.", "docstring_tokens": ["Returns", "the", "maximum", "size", "allowed", "for", "uploaded", "files", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Validators/FileValidator.php#L336-L353", "partition": "test"} +{"repo": "eureka-framework/interface-bag", "path": "src/Bag/BagTrait.php", "func_name": "BagTrait.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If bag container have given key.\n\n@param string|int\n@return bool", "docstring_tokens": ["If", "bag", "container", "have", "given", "key", "."], "sha": "cf0519157bd4ee706c7daf3c06268ad0fb061c21", "url": "https://github.com/eureka-framework/interface-bag/blob/cf0519157bd4ee706c7daf3c06268ad0fb061c21/src/Bag/BagTrait.php#L32-L35", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeKernel.php", "func_name": "NativeKernel.handle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle a console input.\n\n@param Input $input The input\n@param Output $output The output\n\n@throws \\Valkyrja\\Http\\Exceptions\\HttpException\n\n@return int", "docstring_tokens": ["Handle", "a", "console", "input", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeKernel.php#L67-L85", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeKernel.php", "func_name": "NativeKernel.terminate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Terminate the kernel request.\n\n@param Input $input The input\n@param int $exitCode The response\n\n@return void", "docstring_tokens": ["Terminate", "the", "kernel", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeKernel.php#L95-L101", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Category/Controller/CategoryComponent.php", "func_name": "CategoryComponent.accountCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Category component for account categories list.\n\n@param Account $account\n@return string", "docstring_tokens": ["Category", "component", "for", "account", "categories", "list", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Category/Controller/CategoryComponent.php#L54-L64", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/Core/WebApp.php", "func_name": "WebApp.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the request, and generate output.\n\n@return void", "docstring_tokens": ["Process", "the", "request", "and", "generate", "output", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/Core/WebApp.php#L80-L89", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/Core/WebApp.php", "func_name": "WebApp.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize application using config data.\n\n@return void", "docstring_tokens": ["Initialize", "application", "using", "config", "data", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/Core/WebApp.php#L116-L122", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Promise/ThrowPromise.php", "func_name": "ThrowPromise.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws predefined exception.\n\n@param array $args\n@param FunctionProphecy $function\n\n@throws object", "docstring_tokens": ["Throws", "predefined", "exception", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Promise/ThrowPromise.php#L60-L79", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Field.php", "func_name": "Field.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets all field data in an array.\n\n@return array", "docstring_tokens": ["Gets", "all", "field", "data", "in", "an", "array", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Field.php#L69-L78", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/DbManager.php", "func_name": "DbManager.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the application component.\nThis method overrides the parent implementation by establishing the database connection.", "docstring_tokens": ["Initializes", "the", "application", "component", ".", "This", "method", "overrides", "the", "parent", "implementation", "by", "establishing", "the", "database", "connection", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/DbManager.php#L106-L113", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/DbManager.php", "func_name": "DbManager.getChildrenList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the children for every parent.\n@return ExtendedPromiseInterface with array the children list. Each array key is a parent item name,\nand the corresponding array value is a list of child item names.", "docstring_tokens": ["Returns", "the", "children", "for", "every", "parent", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/DbManager.php#L655-L669", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/DbManager.php", "func_name": "DbManager.detectLoop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether there is a loop in the authorization item hierarchy.\n@param Item $parent the parent item\n@param Item $child the child item to be added to the hierarchy\n@return ExtendedPromiseInterface with bool whether a loop exists", "docstring_tokens": ["Checks", "whether", "there", "is", "a", "loop", "in", "the", "authorization", "item", "hierarchy", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/DbManager.php#L904-L922", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/DbManager.php", "func_name": "DbManager.invalidateCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invalidate all cache\n@return ExtendedPromiseInterface", "docstring_tokens": ["Invalidate", "all", "cache"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/DbManager.php#L1095-L1110", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Migrations/DoctrineMigrationRepository.php", "func_name": "DoctrineMigrationRepository.getLastBatchNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last migration batch number.\n\n@return int", "docstring_tokens": ["Get", "the", "last", "migration", "batch", "number", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Migrations/DoctrineMigrationRepository.php#L114-L121", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Response.php", "func_name": "Response.html", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create HTML response\n\n@param string $content\n@param int $code\n@param array $headers\n@return Response\\Html", "docstring_tokens": ["Create", "HTML", "response"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Response.php#L195-L198", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Response.php", "func_name": "Response.json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create JSON response\n\n@param string $content\n@param int $code\n@param array $headers\n@return Response\\Json", "docstring_tokens": ["Create", "JSON", "response"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Response.php#L209-L212", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Response.php", "func_name": "Response.template", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create template response\n\n@param string $template\n@param array $vars\n@param int $code\n@param array $headers\n@return Response\\Template", "docstring_tokens": ["Create", "template", "response"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Response.php#L252-L255", "partition": "test"} +{"repo": "phpzm/console", "path": "src/ControllerService.php", "func_name": "ControllerService.others", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ask for others layers\n@param FileManager $fileManager\n@param array $parameters", "docstring_tokens": ["Ask", "for", "others", "layers"], "sha": "bcb2dc5aa13421b21ad3afaad4876642ede6d6c3", "url": "https://github.com/phpzm/console/blob/bcb2dc5aa13421b21ad3afaad4876642ede6d6c3/src/ControllerService.php#L21-L35", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress.php", "func_name": "Zend_Filter_Compress.getAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the current adapter, instantiating it if necessary\n\n@return string", "docstring_tokens": ["Returns", "the", "current", "adapter", "instantiating", "it", "if", "necessary"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress.php#L90-L112", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress.php", "func_name": "Zend_Filter_Compress.setAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets compression adapter\n\n@param string|Zend_Filter_Compress_CompressInterface $adapter Adapter to use\n@return Zend_Filter_Compress", "docstring_tokens": ["Sets", "compression", "adapter"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress.php#L130-L143", "partition": "test"} +{"repo": "priskz/sorad-routes", "path": "src/Priskz/SORAD/Routes/Laravel/AbstractRoutes.php", "func_name": "AbstractRoutes.setPrefix", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set static prefix value.\n\n@param array $config\n@return void", "docstring_tokens": ["Set", "static", "prefix", "value", "."], "sha": "abf1f79e88a927ecb8ea5a1f0c5533f21288f2f5", "url": "https://github.com/priskz/sorad-routes/blob/abf1f79e88a927ecb8ea5a1f0c5533f21288f2f5/src/Priskz/SORAD/Routes/Laravel/AbstractRoutes.php#L68-L80", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/Helpers/Request.php", "func_name": "Request.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets named http request value.\n\n@param string $name Name of property.\n\n@return mixed Value of property or null if not exists.", "docstring_tokens": ["Gets", "named", "http", "request", "value", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/Helpers/Request.php#L57-L64", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/DefaultController.php", "func_name": "DefaultController.indexAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The home page of the controller\n\n@param int $offset The offset used for the tables dump\n@param int $limit The limit used for the tables dump\n@param string $table The name of a table to isolate it\n@param mixed $show ??\n@return string The home page view content", "docstring_tokens": ["The", "home", "page", "of", "the", "controller"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/DefaultController.php#L40-L46", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/DefaultController.php", "func_name": "DefaultController.installAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Page of system installation\n\n@return string The view content", "docstring_tokens": ["Page", "of", "system", "installation"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/DefaultController.php#L145-L166", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/DefaultController.php", "func_name": "DefaultController.bootErrorAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Page of system errors\n\n@param null|array $errors\n@return array", "docstring_tokens": ["Page", "of", "system", "errors"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/DefaultController.php#L174-L186", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/VarDumper.php", "func_name": "VarDumper.getSerializer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get serializer instance\n@return \\Zumba\\JsonSerializer\\JsonSerializer\n@see VarDumper::serialize()\n@see VarDumper::unserialize()", "docstring_tokens": ["Get", "serializer", "instance"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/VarDumper.php#L301-L308", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/File.php", "func_name": "File.incrVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns new version of filename. abc.2.ext -> abc.3.ext; abc.4 -> abc.5\nabc -> abc.1\n@param string $filename Old version of filename\n@return New version of filename", "docstring_tokens": ["Returns", "new", "version", "of", "filename", ".", "abc", ".", "2", ".", "ext", "-", ">", "abc", ".", "3", ".", "ext", ";", "abc", ".", "4", "-", ">", "abc", ".", "5", "abc", "-", ">", "abc", ".", "1"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/File.php#L16-L49", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Response.php", "func_name": "Response.getBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the xml|json as string, array or object.\n\n@return string|array|object", "docstring_tokens": ["Returns", "the", "xml|json", "as", "string", "array", "or", "object", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Response.php#L55-L65", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Response.php", "func_name": "Response.bodyArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It return the xml|json as an array.\n\n@return array", "docstring_tokens": ["It", "return", "the", "xml|json", "as", "an", "array", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Response.php#L100-L110", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Response.php", "func_name": "Response.bodyObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "It return the xml|json as an object.\n\n@return array", "docstring_tokens": ["It", "return", "the", "xml|json", "as", "an", "object", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Response.php#L117-L127", "partition": "test"} +{"repo": "arnulfojr/qcharts", "path": "QCharts/CoreBundle/Service/QueryService.php", "func_name": "QueryService.getResultsFromQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calls the dynamic repository and calls the results from the query\n\n@param $query\n@param int $limit\n@param string $connection\n@return array\n@throws DatabaseException\n@throws ParameterNotPassedException\n@throws ValidationFailedException\n@throws \\Exception", "docstring_tokens": ["Calls", "the", "dynamic", "repository", "and", "calls", "the", "results", "from", "the", "query"], "sha": "ace17b9c164259ee897398fca939a9c9ff9a577c", "url": "https://github.com/arnulfojr/qcharts/blob/ace17b9c164259ee897398fca939a9c9ff9a577c/QCharts/CoreBundle/Service/QueryService.php#L396-L432", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Response.php", "func_name": "Response.setDefaults", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the default server and content type headers and response code if\nnot is setted allready.", "docstring_tokens": ["Sets", "the", "default", "server", "and", "content", "type", "headers", "and", "response", "code", "if", "not", "is", "setted", "allready", "."], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Response.php#L31-L36", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Response.php", "func_name": "Response.setBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set message body\n\n@param string $body the new body of the message\n@return boolean Returns TRUE on success or FALSE on failure.", "docstring_tokens": ["Set", "message", "body"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Response.php#L124-L131", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Response.php", "func_name": "Response.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a array with the values of this Response\n\n@param boolean $default if TRUE setDefaults() is called\n@return array", "docstring_tokens": ["Returns", "a", "array", "with", "the", "values", "of", "this", "Response"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Response.php#L295-L303", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Behaviour/Versions.php", "func_name": "Versions.getUniqueValidationRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a validation rule that validates this entity for uniqueness, ignoring other versions.\n\n@param $field\n@return string", "docstring_tokens": ["Returns", "a", "validation", "rule", "that", "validates", "this", "entity", "for", "uniqueness", "ignoring", "other", "versions", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Behaviour/Versions.php#L75-L84", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Url.php", "func_name": "Url.fromS3", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the S3 URL for the file at the specified key.\nexpiration determines how long the URL will work\ndownlaodAs specifies what the file name should start as when downloading\n@param $key\n@param null $expiration\n@param null $downloadAs\n@return string", "docstring_tokens": ["Returns", "the", "S3", "URL", "for", "the", "file", "at", "the", "specified", "key", ".", "expiration", "determines", "how", "long", "the", "URL", "will", "work", "downlaodAs", "specifies", "what", "the", "file", "name", "should", "start", "as", "when", "downloading"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Url.php#L34-L45", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Compat/Adodb.php", "func_name": "Adodb.getAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a Zend\\Db\\Adapter\\Adapter connection from an existing ADODb connection\n\n@throws Exception\\UnsupportedDriverException\n@throws Exception\\AdoNotConnectedException when connection is not initialized\n\n@param \\ADOConnection $adoConnection\n@return Adapter", "docstring_tokens": ["Return", "a", "Zend", "\\", "Db", "\\", "Adapter", "\\", "Adapter", "connection", "from", "an", "existing", "ADODb", "connection"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Compat/Adodb.php#L24-L42", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Compat/Adodb.php", "func_name": "Adodb.getADOConnectionId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return internal adodb internal connection id\n@throws Exception\\AdoNotConnectedException when connection is not initialized\n@param \\ADOConnection $adoConnection\n@return \\MySQLI|\\PDO", "docstring_tokens": ["Return", "internal", "adodb", "internal", "connection", "id"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Compat/Adodb.php#L50-L57", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Console/Controllers/ErrorController.php", "func_name": "ErrorController.actionError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Show error to user\n@param RequestApplicationInterface $app\n@param \\Throwable $exception", "docstring_tokens": ["Show", "error", "to", "user"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Console/Controllers/ErrorController.php#L29-L38", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Curl.php", "func_name": "HTTP_Request2_Adapter_Curl.wrapCurlError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a subclass of HTTP_Request2_Exception from curl error data\n\n@param resource $ch curl handle\n\n@return HTTP_Request2_Exception", "docstring_tokens": ["Creates", "a", "subclass", "of", "HTTP_Request2_Exception", "from", "curl", "error", "data"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Curl.php#L139-L151", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Curl.php", "func_name": "HTTP_Request2_Adapter_Curl.callbackReadBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback function called by cURL for reading the request body\n\n@param resource $ch cURL handle\n@param resource $fd file descriptor (not used)\n@param integer $length maximum length of data to return\n\n@return string part of the request body, up to $length bytes", "docstring_tokens": ["Callback", "function", "called", "by", "cURL", "for", "reading", "the", "request", "body"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Curl.php#L436-L459", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Curl.php", "func_name": "HTTP_Request2_Adapter_Curl.callbackWriteHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback function called by cURL for saving the response headers\n\n@param resource $ch cURL handle\n@param string $string response header (with trailing CRLF)\n\n@return integer number of bytes saved\n@see HTTP_Request2_Response::parseHeaderLine()", "docstring_tokens": ["Callback", "function", "called", "by", "cURL", "for", "saving", "the", "response", "headers"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Curl.php#L470-L538", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Curl.php", "func_name": "HTTP_Request2_Adapter_Curl.callbackWriteBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback function called by cURL for saving the response body\n\n@param resource $ch cURL handle (not used)\n@param string $string part of the response body\n\n@return integer number of bytes saved\n@throws HTTP_Request2_MessageException\n@see HTTP_Request2_Response::appendBody()", "docstring_tokens": ["Callback", "function", "called", "by", "cURL", "for", "saving", "the", "response", "body"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Curl.php#L550-L565", "partition": "test"} +{"repo": "nattreid/console", "path": "src/Console.php", "func_name": "Console.addCommandCollection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prida kolekci prikazu\n@param CommandCollection $collection", "docstring_tokens": ["Prida", "kolekci", "prikazu"], "sha": "4914f9c1fcccd17f94c9b288fd022350071790c7", "url": "https://github.com/nattreid/console/blob/4914f9c1fcccd17f94c9b288fd022350071790c7/src/Console.php#L50-L55", "partition": "test"} +{"repo": "nattreid/console", "path": "src/Console.php", "func_name": "Console.printTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vypise cas a text\n@param string $text", "docstring_tokens": ["Vypise", "cas", "a", "text"], "sha": "4914f9c1fcccd17f94c9b288fd022350071790c7", "url": "https://github.com/nattreid/console/blob/4914f9c1fcccd17f94c9b288fd022350071790c7/src/Console.php#L103-L107", "partition": "test"} +{"repo": "nattreid/console", "path": "src/Console.php", "func_name": "Console.printConsoleHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vypise napovedu pro danou tridu v konzoli\n@param ClassType $class", "docstring_tokens": ["Vypise", "napovedu", "pro", "danou", "tridu", "v", "konzoli"], "sha": "4914f9c1fcccd17f94c9b288fd022350071790c7", "url": "https://github.com/nattreid/console/blob/4914f9c1fcccd17f94c9b288fd022350071790c7/src/Console.php#L141-L162", "partition": "test"} +{"repo": "nattreid/console", "path": "src/Console.php", "func_name": "Console.printHtmlHelp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vypise napovedu pro danou tridu v HTML\n@param ClassType $class", "docstring_tokens": ["Vypise", "napovedu", "pro", "danou", "tridu", "v", "HTML"], "sha": "4914f9c1fcccd17f94c9b288fd022350071790c7", "url": "https://github.com/nattreid/console/blob/4914f9c1fcccd17f94c9b288fd022350071790c7/src/Console.php#L168-L204", "partition": "test"} +{"repo": "nattreid/console", "path": "src/Console.php", "func_name": "Console.printLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Vypise retezec na jeden radek\n@param string $string", "docstring_tokens": ["Vypise", "retezec", "na", "jeden", "radek"], "sha": "4914f9c1fcccd17f94c9b288fd022350071790c7", "url": "https://github.com/nattreid/console/blob/4914f9c1fcccd17f94c9b288fd022350071790c7/src/Console.php#L247-L257", "partition": "test"} +{"repo": "samsonos/cms_input_wysiwyg", "path": "src/Application.php", "func_name": "Application.__async_upload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Function to upload images into WYSIWYG\n\n@return array Asynchronous result", "docstring_tokens": ["Function", "to", "upload", "images", "into", "WYSIWYG"], "sha": "28acaffb78d31522950ca7358c801fed598f2526", "url": "https://github.com/samsonos/cms_input_wysiwyg/blob/28acaffb78d31522950ca7358c801fed598f2526/src/Application.php#L31-L44", "partition": "test"} +{"repo": "samsonos/cms_input_wysiwyg", "path": "src/Application.php", "func_name": "Application.__async_clearHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The function is intended for cleaning html code\n@return array", "docstring_tokens": ["The", "function", "is", "intended", "for", "cleaning", "html", "code"], "sha": "28acaffb78d31522950ca7358c801fed598f2526", "url": "https://github.com/samsonos/cms_input_wysiwyg/blob/28acaffb78d31522950ca7358c801fed598f2526/src/Application.php#L63-L87", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/JsonAttributeBehavior.php", "func_name": "JsonAttributeBehavior.beforeSave", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actions to take before saving the owner of this behavior.\n@param CModelEvent $event event parameter.", "docstring_tokens": ["Actions", "to", "take", "before", "saving", "the", "owner", "of", "this", "behavior", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/JsonAttributeBehavior.php#L25-L34", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/JsonAttributeBehavior.php", "func_name": "JsonAttributeBehavior.afterFind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Actions to take after loading the owner of this behavior.\n@param CEvent $event event parameter.", "docstring_tokens": ["Actions", "to", "take", "after", "loading", "the", "owner", "of", "this", "behavior", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/JsonAttributeBehavior.php#L40-L45", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/JsonAttributeBehavior.php", "func_name": "JsonAttributeBehavior.jsonDecodeAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "JSON decodes the given attribute on the owner of this behavior.\n@param string $name name of the attribute.\n@param bool $assoc whether the result should be an associated array (default to true).\n@param int $depth recursion depth.\n@return string the decoded value.\n@throws CException if the value cannot be decoded.", "docstring_tokens": ["JSON", "decodes", "the", "given", "attribute", "on", "the", "owner", "of", "this", "behavior", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/JsonAttributeBehavior.php#L66-L73", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Parser/Factory.php", "func_name": "Factory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new parser.\n\n@param Bank $bank\n@param string $type\n@return ParserInterface\n@throws \\Exception", "docstring_tokens": ["Create", "new", "parser", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Parser/Factory.php#L40-L53", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Boolean.php", "func_name": "Zend_Filter_Boolean.setLocale", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the locales which are accepted\n\n@param string|array|Zend_Locale $locale\n@throws Zend_Filter_Exception\n@return Zend_Filter_Boolean", "docstring_tokens": ["Set", "the", "locales", "which", "are", "accepted"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Boolean.php#L181-L201", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Boolean.php", "func_name": "Zend_Filter_Boolean._getLocalizedQuestion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine the value of a localized string, and compare it to a given value\n\n@param string $value\n@param boolean $yes\n@param array $locale\n@return boolean", "docstring_tokens": ["Determine", "the", "value", "of", "a", "localized", "string", "and", "compare", "it", "to", "a", "given", "value"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Boolean.php#L354-L372", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.establishTunnel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Establishes a tunnel to a secure remote server via HTTP CONNECT request\n\nThis method will fail if 'ssl_verify_peer' is enabled. Probably because PHP\nsees that we are connected to a proxy server (duh!) rather than the server\nthat presents its certificate.\n\n@link http://tools.ietf.org/html/rfc2817#section-5.2\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Establishes", "a", "tunnel", "to", "a", "secure", "remote", "server", "via", "HTTP", "CONNECT", "request"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L344-L361", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.canKeepAlive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether current connection may be reused or should be closed\n\n@param boolean $requestKeepAlive whether connection could\nbe persistent in the first place\n@param HTTP_Request2_Response $response response object to check\n\n@return boolean", "docstring_tokens": ["Checks", "whether", "current", "connection", "may", "be", "reused", "or", "should", "be", "closed"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L372-L390", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.disconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Disconnects from the remote server", "docstring_tokens": ["Disconnects", "from", "the", "remote", "server"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L395-L401", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.handleRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles HTTP redirection\n\nThis method will throw an Exception if redirect to a non-HTTP(S) location\nis attempted, also if number of redirects performed already is equal to\n'max_redirects' configuration parameter.\n\n@param HTTP_Request2 $request Original request\n@param HTTP_Request2_Response $response Response containing redirect\n\n@return HTTP_Request2_Response Response from a new location\n@throws HTTP_Request2_Exception", "docstring_tokens": ["Handles", "HTTP", "redirection"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L416-L463", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.shouldUseServerDigestAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether another request should be performed with server digest auth\n\nSeveral conditions should be satisfied for it to return true:\n- response status should be 401\n- auth credentials should be set in the request object\n- response should contain WWW-Authenticate header with digest challenge\n- there is either no challenge stored for this URL or new challenge\ncontains stale=true parameter (in other case we probably just failed\ndue to invalid username / password)\n\nThe method stores challenge values in $challenges static property\n\n@param HTTP_Request2_Response $response response to check\n\n@return boolean whether another request should be performed\n@throws HTTP_Request2_Exception in case of unsupported challenge parameters", "docstring_tokens": ["Checks", "whether", "another", "request", "should", "be", "performed", "with", "server", "digest", "auth"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L483-L528", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.shouldUseProxyDigestAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks whether another request should be performed with proxy digest auth\n\nSeveral conditions should be satisfied for it to return true:\n- response status should be 407\n- proxy auth credentials should be set in the request object\n- response should contain Proxy-Authenticate header with digest challenge\n- there is either no challenge stored for this proxy or new challenge\ncontains stale=true parameter (in other case we probably just failed\ndue to invalid username / password)\n\nThe method stores challenge values in $challenges static property\n\n@param HTTP_Request2_Response $response response to check\n\n@return boolean whether another request should be performed\n@throws HTTP_Request2_Exception in case of unsupported challenge parameters", "docstring_tokens": ["Checks", "whether", "another", "request", "should", "be", "performed", "with", "proxy", "digest", "auth"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L548-L569", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.writeBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the request body\n\n@throws HTTP_Request2_MessageException", "docstring_tokens": ["Sends", "the", "request", "body"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L959-L994", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/Adapter/Socket.php", "func_name": "HTTP_Request2_Adapter_Socket.readChunked", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads a part of response body encoded with chunked Transfer-Encoding\n\n@param int $bufferSize buffer size to use for reading\n\n@return string\n@throws HTTP_Request2_MessageException", "docstring_tokens": ["Reads", "a", "part", "of", "response", "body", "encoded", "with", "chunked", "Transfer", "-", "Encoding"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/Adapter/Socket.php#L1093-L1118", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.sqlBuildSelect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds sql select", "docstring_tokens": ["Builds", "sql", "select"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L329-L349", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.sqlBuildWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds sql where criteria\n\n@param array $arrWhere\n@param bool $whereClause when true we will add where clause", "docstring_tokens": ["Builds", "sql", "where", "criteria"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L357-L404", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.sqlBuildJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds sql join criters\n\n@param array $arrJoin\nex: array('users' => 'INNER JOIN users u ON (u.user_id = f.user_id))", "docstring_tokens": ["Builds", "sql", "join", "criters"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L430-L443", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.sqlBuildGroupBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds group by statement..\n\n@param array $arrGroup\nex:\narray('user_id' => 'user_id'),\narray('user_id' => 'user_id', 'date' => 'date'),\n@param bool $addGroup syntax", "docstring_tokens": ["Builds", "group", "by", "statement", ".."], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L454-L472", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.prepareDependencyHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handles dependecies when certain fields are selected or searched\n\n@param string $handleType column, where\n@param string $field current field\n@param array $arrField details about field\n@param array $arrGridPrepare\n@param array $arrFormData the form|GET|POST", "docstring_tokens": ["Handles", "dependecies", "when", "certain", "fields", "are", "selected", "or", "searched"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L776-L840", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.getDataFunctionMergeMapping", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Helper function that merge mapping ids to arrRows\n\n@param array $arrRows\n@param array $arrResults sql results from $arrIds/$strIds usually. The key of this array is the $mapField from getDataFunctionIds()\n@param array $arrMapping from getDataFunctionIds()", "docstring_tokens": ["Helper", "function", "that", "merge", "mapping", "ids", "to", "arrRows"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L902-L923", "partition": "test"} +{"repo": "hathoora/hathoora-grid", "path": "src/hathoora/grid/grid.php", "func_name": "grid.cleanString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "used to remove HTML|nonsense chars from THEAD TH of render table for csv output", "docstring_tokens": ["used", "to", "remove", "HTML|nonsense", "chars", "from", "THEAD", "TH", "of", "render", "table", "for", "csv", "output"], "sha": "b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d", "url": "https://github.com/hathoora/hathoora-grid/blob/b32b5a4f3bb3ad19606b1731730b07d6a37c4c3d/src/hathoora/grid/grid.php#L928-L935", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Prediction/CallPrediction.php", "func_name": "CallPrediction.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests that there was at least one call.\n\n@param Call[] $calls\n@param FunctionProphecy $prophecy\n\n@throws NoCallsException", "docstring_tokens": ["Tests", "that", "there", "was", "at", "least", "one", "call", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Prediction/CallPrediction.php#L34-L64", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Yaml.php", "func_name": "Zend_Config_Yaml._decodeYaml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Service function to decode YAML\n\n@param int $currentIndent Current indent level\n@param array $lines YAML lines\n@return array|string", "docstring_tokens": ["Service", "function", "to", "decode", "YAML"], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Yaml.php#L288-L352", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Task/Replace.php", "func_name": "PEAR_Task_Replace.startSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do a package.xml 1.0 replacement, with additional package-info fields available\n\nSee validateXml() source for the complete list of allowed fields\n@param PEAR_PackageFile_v1|PEAR_PackageFile_v2\n@param string file contents\n@param string the eventual final file location (informational only)\n@return string|false|PEAR_Error false to skip this file, PEAR_Error to fail\n(use $this->throwError), otherwise return the new contents", "docstring_tokens": ["Do", "a", "package", ".", "xml", "1", ".", "0", "replacement", "with", "additional", "package", "-", "info", "fields", "available"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Task/Replace.php#L111-L174", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.exec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare and execute a query.\n\n@param string|array $query An SQL statement.\n@param string|array $values The query parameters.\n\n@return mixed Either ``false`` if there was a problem, or whatever the ``$db->execute()``d.\n\n```php\n$db->exec(array(\n'CREATE TABLE employees (',\n' id INTEGER PRIMARY KEY,',\n' name TEXT NOT NULL DEFAULT \"\",',\n' title TEXT NOT NULL DEFAULT \"\"',\n')',\n));\n```", "docstring_tokens": ["Prepare", "and", "execute", "a", "query", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L27-L35", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert new records into a database table.\n\n@param string|int $table Either the database table name, or the prepared statement id you got from calling this the first time. You can also include *'INTO'* here which is handy for prepending a qualifier eg. *'OR IGNORE INTO table'*.\n@param array $data Either the table column names (when preparing a statement), or a row of values (to insert). If you are only inserting one record and want to save yourself some typing, then make this an ``array(name => value, ...)`` of columns.\n@param string $and Anything you would like to add at the end of the query eg. *'ON DUPLICATE KEY UPDATE ...'*.\n\n@return bool|int Either ``false`` if there was an error, a prepared ``$stmt`` to keep passing off as the **$table**, or the ``$id`` of the row you just inserted. Don't forget to ``$db->close($stmt)``.\n\n```php\nif ($stmt = $db->insert('employees', array('id', 'name', 'title'))) {\n$db->insert($stmt, array(101, 'John Smith', 'CEO'));\n$db->insert($stmt, array(102, 'Raj Reddy', 'Sysadmin'));\n$db->insert($stmt, array(103, 'Jason Bourne', 'Developer'));\n$db->insert($stmt, array(104, 'Jane Smith', 'Sales Manager'));\n$db->insert($stmt, array(105, 'Rita Patel', 'DBA'));\n$db->close($stmt);\n}\n\nif ($db->insert('OR IGNORE INTO employees', array(\n'id' => 106,\n'name' => \"Little Bobby'); DROP TABLE employees;--\",\n'title' => 'Intern',\n))) {\necho $db->log('count'); // 1 - It worked!\n}\n```", "docstring_tokens": ["Insert", "new", "records", "into", "a", "database", "table", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L65-L89", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modify records in a database table.\n\n@param string|int $table Either the database table name, or the prepared statement id you got from calling this the first time. You can also include *'SET'* here which is handy for getting some updates in that we can't otherwise do eg. *'table SET date = NOW(),'*.\n@param array $id Either the name of the column with the unique identifier you will be referencing (when preparing a statement), or the unique identifier of the column you are updating.\n@param array $data Either the table column names (when preparing a statement), or a row of values (to update). If you are only updating one record and want to save yourself some typing, then make this an ``array(name => value, ...)`` of columns.\n@param string $and Anything you would like to add at the end of the query after the WHERE eg. *'AND approved = \"Y\"'*.\n\n@return bool|int Either ``false`` if there was an error, a prepared ``$stmt`` to keep passing off as the **$table**, or the ``$num`` of rows affected. Don't forget to ``$db->close($stmt)``.\n\n```php\nif (!$db->update('employees SET id = 101', 'id', array(\n106 => array(\n'name' => 'Roberto Cratchit',\n'title' => 'CEO',\n)\n))) {\necho $db->log('error'); // A unique id constraint\n}\n\nif ($stmt = $db->update('employees', 'id', array('title'))) {\n$db->update($stmt, 103, array('Janitor'));\n$db->update($stmt, 99, array('Quality Control'));\n$db->close($stmt);\n}\n```", "docstring_tokens": ["Modify", "records", "in", "a", "database", "table", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L118-L145", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.upsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Either update or insert records depending on whether they already exist or not.\n\n@param string|int $table Either the database table name, or the prepared statement id you got from calling this the first time. You cannot include *'SET'* or *'INTO'* here.\n@param array $id Either the name of the column with the unique identifier you will be referencing (when preparing a statement), or the unique identifier of the column you are upserting.\n@param array $data Either the table column names (when preparing a statement), or a row of values (to upsert). If you are only upserting one record and want to save yourself some typing, then make this an ``array(name => value, ...)`` of columns.\n\n@return bool|int Either ``false`` if there was an error, a prepared ``$stmt`` to keep passing off as the **$table**, or the ``$id`` of the row that was upserted. Don't forget to ``$db->close($stmt)``.\n\n```php\nif ($stmt = $db->upsert('employees', 'id', array('name', 'title'))) {\n$db->upsert($stmt, 101, array('Roberto Cratchit', 'CEO'));\n$db->upsert($stmt, 106, array('John Smith', 'Developer'));\n$db->close($stmt);\n}\n\n$db->upsert('employees', 'id', array(\n107 => array(\n'name' => 'Ella Minnow Pea',\n'title' => 'Executive Assistant',\n),\n));\n```", "docstring_tokens": ["Either", "update", "or", "insert", "records", "depending", "on", "whether", "they", "already", "exist", "or", "not", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L171-L198", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Select data from the database.\n\n@param string|array $select A SELECT statement.\n@param string|array $values The query parameters.\n@param string $fetch How you would like your row.\n\n@return bool|int Either ``false`` if there was a problem, or a statement that you can ``$db->fetch($result)`` rows from. Don't forget to ``$db->close($result)``.\n\n```php\nif ($result = $db->query('SELECT name, title FROM employees', '', 'assoc')) {\nwhile ($row = $db->fetch($result)) {\nprint_r($row);\n// array('name'=>'Roberto Cratchit', 'title'=>'CEO')\n// array('name'=>'Raj Reddy', 'title'=>'Sysadmin')\n// array('name'=>'Jason Bourne', 'title'=>'Janitor')\n// array('name'=>'Jane Smith', 'title'=>'Sales Manager')\n// array('name'=>'Rita Patel', 'title'=>'DBA')\n// array('name'=>'John Smith', 'title'=>'Developer')\n// array('name'=>'Ella Minnow Pea', 'title'=>'Executive Assistant')\n}\n$db->close($result);\n}\n```", "docstring_tokens": ["Select", "data", "from", "the", "database", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L225-L235", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the selected rows from your query at once.\n\n@param string|array $select A SELECT statement.\n@param string|array $values The query parameters.\n@param string $fetch How you would like your row.\n\n@return array No false heads up here. You either have rows, or you don't.\n\n```php\nforeach ($db->all('SELECT id, name, title FROM employees') as $row) {\nlist($id, $name, $title) = $row;\n}\n```", "docstring_tokens": ["Get", "all", "of", "the", "selected", "rows", "from", "your", "query", "at", "once", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L252-L263", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.ids", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all of the id's from your query, or whatever the first column you requested is.\n\n@param string|array $select A SELECT statement.\n@param string|array $values The query parameters.\n\n@return bool|array Either ``false`` if there were no rows, or an ``array()`` of every rows first value.\n\n```php\nif ($ids = $db->ids('SELECT id FROM employees WHERE title = ?', 'Intern')) {\n// Then Little Bobby Tables isn't as good as we thought.\n}\n```", "docstring_tokens": ["Get", "all", "of", "the", "id", "s", "from", "your", "query", "or", "whatever", "the", "first", "column", "you", "requested", "is", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L279-L290", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.row", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get only the first row from your query.\n\n@param string|array $select A SELECT statement.\n@param string|array $values The query parameters.\n@param string $fetch How you would like your row.\n\n@return bool|array Either ``false`` if there was no row, or an ``array()`` of the first one fetched.\n\n```php\nif ($janitor = $db->row('SELECT id, name FROM employees WHERE title = ?', 'Janitor', 'assoc')) {\n// array('id'=>103, 'name'=>'Jason Bourne')\n}\n```", "docstring_tokens": ["Get", "only", "the", "first", "row", "from", "your", "query", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L307-L315", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.value", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get only the first value of the first row from your query.\n\n@param string|array $select A SELECT statement.\n@param mixed $values The query parameters.\n\n@return bool|string Either ``false`` if there was no row, or the ``$value`` you are looking for.\n\n```php\necho $db->value('SELECT COUNT(*) FROM employees'); // 7\n```", "docstring_tokens": ["Get", "only", "the", "first", "value", "of", "the", "first", "row", "from", "your", "query", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L329-L332", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.prepare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare a query to be executed.\n\n@param string|array $query An SQL statement.\n@param string $fetch How you would like the SELECT rows returned. Either '**obj**', '**assoc**', '**named**', '**both**', or '**num**' (the default).\n\n@return bool|int Either ``false`` if there was an error, or a ``$stmt`` id that can be``$db->execute()``d or ``$db->fetch()``ed. Don't forget to ``$db->close($stmt)``.", "docstring_tokens": ["Prepare", "a", "query", "to", "be", "executed", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L342-L369", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a prepared statement.\n\n@param int $stmt A ``$db->prepare(...)``d statement's return value.\n@param string|array $values The query parameters. If there is only one or none, then this can be a string.\n\n@return mixed Either ``false`` if there was an error, ``true`` for a SELECT query, the inserted ``$id`` for an INSERT query, or the ``$num`` of affected rows for everything else.", "docstring_tokens": ["Execute", "a", "prepared", "statement", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L379-L404", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.fetch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the next row from an executed SELECT statement.\n\n@param int $stmt A ``$db->prepare(...)``d statement's return value.\n\n@return mixed", "docstring_tokens": ["Get", "the", "next", "row", "from", "an", "executed", "SELECT", "statement", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L413-L420", "partition": "test"} +{"repo": "Kylob/Database", "path": "src/Component.php", "func_name": "Component.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns information about the previously executed query.\n\n@param string $value If you don't want the whole array, then you can specify the specific value you do want. Either '**sql**', '**count**', '**prepared**', '**executed**', '**errors**', '**average**', '**total**', or '**time**'.\n\n@return mixed", "docstring_tokens": ["Returns", "information", "about", "the", "previously", "executed", "query", "."], "sha": "9a25dd726512c8b22471e59d919208b58d5e6b0f", "url": "https://github.com/Kylob/Database/blob/9a25dd726512c8b22471e59d919208b58d5e6b0f/src/Component.php#L470-L487", "partition": "test"} +{"repo": "graze/array-filter", "path": "src/Factory/ValueFactory.php", "func_name": "ValueFactory.parseValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse the supplied value and return the interpreted value\n\n@param mixed $value\n\n@return mixed", "docstring_tokens": ["Parse", "the", "supplied", "value", "and", "return", "the", "interpreted", "value"], "sha": "dcc9a8a909c634b256a10ed90b9c189cdef39454", "url": "https://github.com/graze/array-filter/blob/dcc9a8a909c634b256a10ed90b9c189cdef39454/src/Factory/ValueFactory.php#L57-L68", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/PregReplace.php", "func_name": "Zend_Filter_PregReplace.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Perform regexp replacement as filter\n\n@param string $value\n@return string", "docstring_tokens": ["Perform", "regexp", "replacement", "as", "filter"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/PregReplace.php#L163-L171", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeKernel.php", "func_name": "NativeKernel.dispatchRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch the request via the router.\n\n@param Request $request The request\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Dispatch", "the", "request", "via", "the", "router", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeKernel.php#L104-L119", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeKernel.php", "func_name": "NativeKernel.terminateRouteMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Terminate the found route's middleware.\n\n@param Request $request The request\n@param Response $response The response\n\n@return void", "docstring_tokens": ["Terminate", "the", "found", "route", "s", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeKernel.php#L205-L224", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/XMLParser.php", "func_name": "PEAR_XMLParser.startHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start element handler for XML parser\n\n@access private\n@param object $parser XML parser object\n@param string $element XML element\n@param array $attribs attributes of XML tag\n@return void", "docstring_tokens": ["Start", "element", "handler", "for", "XML", "parser"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/XMLParser.php#L128-L148", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/XMLParser.php", "func_name": "PEAR_XMLParser.endHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "End element handler for XML parser\n\n@access private\n@param object XML parser object\n@param string\n@return void", "docstring_tokens": ["End", "element", "handler", "for", "XML", "parser"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/XMLParser.php#L169-L239", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetConverter.php", "func_name": "AssetConverter.runCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs a command to convert asset files.\n@param string $command the command to run. If prefixed with an `@` it will be treated as a [path alias](guide:concept-aliases).\n@param string $basePath asset base path and command working directory\n@param string $asset the name of the asset file\n@param string $result the name of the file to be generated by the converter command\n@return bool true on success, false on failure. Failures will be logged.\n@throws \\Reaction\\Exceptions\\Exception when the command fails and YII_DEBUG is true.\nIn production mode the error will be logged.", "docstring_tokens": ["Runs", "a", "command", "to", "convert", "asset", "files", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetConverter.php#L81-L111", "partition": "test"} +{"repo": "gordonbanderson/silverstripe-notifier", "path": "src/Jobs/NotifyViaSlackJob.php", "func_name": "NotifyViaSlackJob.process", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the webhook to slack", "docstring_tokens": ["Send", "the", "webhook", "to", "slack"], "sha": "707b5620452ce171955c3b7d08e68af1ac4f5cbd", "url": "https://github.com/gordonbanderson/silverstripe-notifier/blob/707b5620452ce171955c3b7d08e68af1ac4f5cbd/src/Jobs/NotifyViaSlackJob.php#L63-L79", "partition": "test"} +{"repo": "it-blaster/crop-bundle", "path": "Behavior/CroppableBehavior.php", "func_name": "CroppableBehavior.modifyUploadableBehavior", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds or modifies the uploadable behavior", "docstring_tokens": ["Adds", "or", "modifies", "the", "uploadable", "behavior"], "sha": "cf31614e82c03d58b0b8fd4043f30074267b88c2", "url": "https://github.com/it-blaster/crop-bundle/blob/cf31614e82c03d58b0b8fd4043f30074267b88c2/Behavior/CroppableBehavior.php#L71-L101", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/RPC/Request.php", "func_name": "Request.fromJSON", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the request based on a JSON\n\n@param string $json\n@return boolean", "docstring_tokens": ["Configure", "the", "request", "based", "on", "a", "JSON"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/RPC/Request.php#L27-L52", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Database.php", "func_name": "Database.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open Session - retrieve resources.\n\n@param string $savePath\n@param string $name\n\n@return bool", "docstring_tokens": ["Open", "Session", "-", "retrieve", "resources", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Database.php#L189-L195", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Database.php", "func_name": "Database.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read session data.\n\n@param string $id\n\n@return mixed\n@throws \\Zend\\Json\\Exception\\RuntimeException", "docstring_tokens": ["Read", "session", "data", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Database.php#L215-L237", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Database.php", "func_name": "Database.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy Session - remove data from resource for given session id.\n\n@param string $id\n\n@return bool", "docstring_tokens": ["Destroy", "Session", "-", "remove", "data", "from", "resource", "for", "given", "session", "id", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Database.php#L270-L286", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/Database.php", "func_name": "Database.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write Session - commit data to resource.\n\n@param string $id\n@param mixed $data\n\n@return bool\n@throws \\InvalidArgumentException", "docstring_tokens": ["Write", "Session", "-", "commit", "data", "to", "resource", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/Database.php#L297-L326", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Widget.php", "func_name": "Widget.widget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a widget instance and runs it.\nThe widget rendering result is returned by this method.\n@param array $config name-value pairs that will be used to initialize the object properties\n@return string the rendering result of the widget.", "docstring_tokens": ["Creates", "a", "widget", "instance", "and", "runs", "it", ".", "The", "widget", "rendering", "result", "is", "returned", "by", "this", "method", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Widget.php#L118-L140", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Widget.php", "func_name": "Widget.getId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the ID of the widget.\n@param bool $autoGenerate whether to generate an ID if it is not set previously\n@return string ID of the widget.", "docstring_tokens": ["Returns", "the", "ID", "of", "the", "widget", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Widget.php#L149-L156", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Widget.php", "func_name": "Widget.beforeRun", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is invoked right before the widget is executed.\n\nThe method will trigger the [[EVENT_BEFORE_RUN]] event. The return value of the method\nwill determine whether the widget should continue to run.\n\nWhen overriding this method, make sure you call the parent implementation like the following:\n\n```php\npublic function beforeRun()\n{\nif (!parent::beforeRun()) {\nreturn false;\n}\n\n// your custom code here\n\nreturn true; // or false to not run the widget\n}\n```\n@return bool", "docstring_tokens": ["This", "method", "is", "invoked", "right", "before", "the", "widget", "is", "executed", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Widget.php#L280-L285", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Widget.php", "func_name": "Widget.checkAppPersistence", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check that RequestApplicationInterface is set\n@throws Reaction\\Exceptions\\InvalidConfigException", "docstring_tokens": ["Check", "that", "RequestApplicationInterface", "is", "set"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Widget.php#L317-L323", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/Model.php", "func_name": "Model.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a record in the database\n\n@param string $field Field name to search under\n@param string $value Field value to search for\n@return string|object", "docstring_tokens": ["Get", "a", "record", "in", "the", "database"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/Model.php#L65-L90", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/Model.php", "func_name": "Model.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a record from the database table\n\n@param int $record Index of record to be deleted\n@return bool|string", "docstring_tokens": ["Delete", "a", "record", "from", "the", "database", "table"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/Model.php#L98-L122", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/Model.php", "func_name": "Model.getAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all the records in a database table\n\n@return string|object", "docstring_tokens": ["Get", "all", "the", "records", "in", "a", "database", "table"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/Model.php#L129-L151", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/Model.php", "func_name": "Model.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Insert or Update a record in a database table\n\n@return bool|string", "docstring_tokens": ["Insert", "or", "Update", "a", "record", "in", "a", "database", "table"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/Model.php#L158-L183", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Budget/Controller/Budget.php", "func_name": "Budget.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Main controller action. OK\n\n@return ResponseInterface", "docstring_tokens": ["Main", "controller", "action", ".", "OK"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Budget/Controller/Budget.php#L57-L86", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Budget/Controller/Budget.php", "func_name": "Budget.ajaxList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load items.\n\n@return ResponseInterface\n@throws \\Exception", "docstring_tokens": ["Load", "items", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Budget/Controller/Budget.php#L94-L123", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Budget/Controller/Budget.php", "func_name": "Budget.verifyAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Verify if account is really owned by current user and return account object.\n\n@param integer $accountId\n@return Account", "docstring_tokens": ["Verify", "if", "account", "is", "really", "owned", "by", "current", "user", "and", "return", "account", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Budget/Controller/Budget.php#L544-L550", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Budget/Controller/Budget.php", "func_name": "Budget.loadNavBar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load navbar for budgets pages\n@return void\n@throws \\Exception", "docstring_tokens": ["Load", "navbar", "for", "budgets", "pages"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Budget/Controller/Budget.php#L557-L605", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Budget/Controller/Budget.php", "func_name": "Budget.checkMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for budget month.\n\n@param int $accountId\n@param \\DateTimeImmutable $date\n@return void", "docstring_tokens": ["Check", "for", "budget", "month", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Budget/Controller/Budget.php#L614-L620", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer/Role/Cfg.php", "func_name": "PEAR_Installer_Role_Cfg.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do any unusual setup here\n@param PEAR_Installer\n@param PEAR_PackageFile_v2\n@param array file attributes\n@param string file name", "docstring_tokens": ["Do", "any", "unusual", "setup", "here"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer/Role/Cfg.php#L48-L59", "partition": "test"} +{"repo": "dev-lucid/router", "path": "src/php/Route.php", "func_name": "Route.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Instantiates the route's class and calls the route's methods using the parameters found in the url\n\n@return mixed", "docstring_tokens": ["Instantiates", "the", "route", "s", "class", "and", "calls", "the", "route", "s", "methods", "using", "the", "parameters", "found", "in", "the", "url"], "sha": "4901094edc545d1532d7d1d832d5e18e9ca7745b", "url": "https://github.com/dev-lucid/router/blob/4901094edc545d1532d7d1d832d5e18e9ca7745b/src/php/Route.php#L61-L69", "partition": "test"} +{"repo": "tjwlucas/phpliteauth", "path": "src/User.php", "func_name": "User.name", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs a human readable name, base on firstname and surname, if they exist for the user,\nbut falling back on username, otherwise", "docstring_tokens": ["Outputs", "a", "human", "readable", "name", "base", "on", "firstname", "and", "surname", "if", "they", "exist", "for", "the", "user", "but", "falling", "back", "on", "username", "otherwise"], "sha": "b839e257d2e34cea21ae52c55752fc674ea47b14", "url": "https://github.com/tjwlucas/phpliteauth/blob/b839e257d2e34cea21ae52c55752fc674ea47b14/src/User.php#L21-L29", "partition": "test"} +{"repo": "tjwlucas/phpliteauth", "path": "src/User.php", "func_name": "User.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save any changes to user properties that may have been made to the database", "docstring_tokens": ["Save", "any", "changes", "to", "user", "properties", "that", "may", "have", "been", "made", "to", "the", "database"], "sha": "b839e257d2e34cea21ae52c55752fc674ea47b14", "url": "https://github.com/tjwlucas/phpliteauth/blob/b839e257d2e34cea21ae52c55752fc674ea47b14/src/User.php#L33-L40", "partition": "test"} +{"repo": "tjwlucas/phpliteauth", "path": "src/User.php", "func_name": "User.changePass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Changes the password for the current user\ntakes current password, then the new password twice as inputs", "docstring_tokens": ["Changes", "the", "password", "for", "the", "current", "user", "takes", "current", "password", "then", "the", "new", "password", "twice", "as", "inputs"], "sha": "b839e257d2e34cea21ae52c55752fc674ea47b14", "url": "https://github.com/tjwlucas/phpliteauth/blob/b839e257d2e34cea21ae52c55752fc674ea47b14/src/User.php#L45-L54", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/BindingsBuilder.php", "func_name": "BindingsBuilder.give", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Define the implementation for the contextual binding.\n\n@param Closure|string $implementation", "docstring_tokens": ["Define", "the", "implementation", "for", "the", "contextual", "binding", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/BindingsBuilder.php#L72-L75", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Framework/ServiceLocator/Factory/Logger/LoggerFactory.php", "func_name": "LoggerFactory.getWriter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get writer for name with options.\n\n@param ServiceLocatorInterface $serviceLocator\n@param string $name\n@param array $options\n@return WriterInterface\n@throws ServiceLocatorException", "docstring_tokens": ["Get", "writer", "for", "name", "with", "options", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Framework/ServiceLocator/Factory/Logger/LoggerFactory.php#L42-L45", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Version/Version.php", "func_name": "Version.parseVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse version string\n\n@throws \\ThinFrame\\Foundation\\Exception\\InvalidArgumentException", "docstring_tokens": ["Parse", "version", "string"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Version/Version.php#L58-L80", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Version/Version.php", "func_name": "Version.compare", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare with another version\n\n@param VersionInterface $version\n\n@return int (-1,0,1)", "docstring_tokens": ["Compare", "with", "another", "version"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Version/Version.php#L129-L150", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/ClosureTreeBehavior.php", "func_name": "ClosureTreeBehavior.getBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the direct children for the model with the given parent id.\n@param int $parentId the parent id.\n@return CActiveRecord[] the children.", "docstring_tokens": ["Returns", "the", "direct", "children", "for", "the", "model", "with", "the", "given", "parent", "id", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/ClosureTreeBehavior.php#L51-L60", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/ClosureTreeBehavior.php", "func_name": "ClosureTreeBehavior.getParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the parent of a model.\n@return CActiveRecord", "docstring_tokens": ["Get", "the", "parent", "of", "a", "model", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/ClosureTreeBehavior.php#L66-L78", "partition": "test"} +{"repo": "crisu83/yii-arbehaviors", "path": "behaviors/ClosureTreeBehavior.php", "func_name": "ClosureTreeBehavior.getParents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the parents for this node.\n@param bool $includeSelf\n@return CActiveRecord[] the parents.", "docstring_tokens": ["Returns", "the", "parents", "for", "this", "node", "."], "sha": "0c88e17c6e9d492e3797601a835931db57f1991a", "url": "https://github.com/crisu83/yii-arbehaviors/blob/0c88e17c6e9d492e3797601a835931db57f1991a/behaviors/ClosureTreeBehavior.php#L85-L106", "partition": "test"} +{"repo": "m6w6/merry", "path": "lib/merry/Container.php", "func_name": "Container.arrayify", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recursively turn a container and its childs into an array\n@param \\merry\\Container $o the Container instance to convert to an array\n@return array", "docstring_tokens": ["Recursively", "turn", "a", "container", "and", "its", "childs", "into", "an", "array"], "sha": "079ca547531915b0ba0cb6829a89d9c7d4b93408", "url": "https://github.com/m6w6/merry/blob/079ca547531915b0ba0cb6829a89d9c7d4b93408/lib/merry/Container.php#L54-L66", "partition": "test"} +{"repo": "m6w6/merry", "path": "lib/merry/Container.php", "func_name": "Container.apply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Apply one or mor modifier callbacks\n@param mixed $modifier\n@return \\merry\\Container", "docstring_tokens": ["Apply", "one", "or", "mor", "modifier", "callbacks"], "sha": "079ca547531915b0ba0cb6829a89d9c7d4b93408", "url": "https://github.com/m6w6/merry/blob/079ca547531915b0ba0cb6829a89d9c7d4b93408/lib/merry/Container.php#L73-L90", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Resource/CssResource.php", "func_name": "CssResource.fromUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a CSS resource from URL.", "docstring_tokens": ["Creates", "a", "CSS", "resource", "from", "URL", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Resource/CssResource.php#L20-L31", "partition": "test"} +{"repo": "hamjoint/mustard-messaging", "path": "src/lib/Http/Controllers/MessagingController.php", "func_name": "MessagingController.getAddressBook", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the messaging address book view.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Return", "the", "messaging", "address", "book", "view", "."], "sha": "1f778fe675fe53244e4ec0b03575dd3beebfd88b", "url": "https://github.com/hamjoint/mustard-messaging/blob/1f778fe675fe53244e4ec0b03575dd3beebfd88b/src/lib/Http/Controllers/MessagingController.php#L77-L84", "partition": "test"} +{"repo": "hamjoint/mustard-messaging", "path": "src/lib/Http/Controllers/MessagingController.php", "func_name": "MessagingController.getCompose", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the messaging compose view.\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Return", "the", "messaging", "compose", "view", "."], "sha": "1f778fe675fe53244e4ec0b03575dd3beebfd88b", "url": "https://github.com/hamjoint/mustard-messaging/blob/1f778fe675fe53244e4ec0b03575dd3beebfd88b/src/lib/Http/Controllers/MessagingController.php#L91-L103", "partition": "test"} +{"repo": "hamjoint/mustard-messaging", "path": "src/lib/Http/Controllers/MessagingController.php", "func_name": "MessagingController.getView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the messaging message view.\n\n@param int $messageId\n\n@return \\Illuminate\\View\\View", "docstring_tokens": ["Return", "the", "messaging", "message", "view", "."], "sha": "1f778fe675fe53244e4ec0b03575dd3beebfd88b", "url": "https://github.com/hamjoint/mustard-messaging/blob/1f778fe675fe53244e4ec0b03575dd3beebfd88b/src/lib/Http/Controllers/MessagingController.php#L126-L137", "partition": "test"} +{"repo": "hamjoint/mustard-messaging", "path": "src/lib/Http/Controllers/MessagingController.php", "func_name": "MessagingController.postManage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Manage message flags.\n\n@param \\Illuminate\\Http\\Request $request\n\n@return \\Illuminate\\Http\\RedirectResponse", "docstring_tokens": ["Manage", "message", "flags", "."], "sha": "1f778fe675fe53244e4ec0b03575dd3beebfd88b", "url": "https://github.com/hamjoint/mustard-messaging/blob/1f778fe675fe53244e4ec0b03575dd3beebfd88b/src/lib/Http/Controllers/MessagingController.php#L190-L224", "partition": "test"} +{"repo": "nubs/which", "path": "src/PathBuilder/WindowsExtensionAppenderTrait.php", "func_name": "WindowsExtensionAppenderTrait._appendExtensionsToPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the extensions to the paths.\n\n@param array $paths The file paths to append to.\n@param array $extensions The extensions.\n@return array The full combination of every path with every extension.", "docstring_tokens": ["Append", "the", "extensions", "to", "the", "paths", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/PathBuilder/WindowsExtensionAppenderTrait.php#L16-L31", "partition": "test"} +{"repo": "dashifen/session", "path": "src/Session.php", "func_name": "Session.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroys a session.\n\n@return void", "docstring_tokens": ["Destroys", "a", "session", "."], "sha": "c9e57326d2c490f7d3465732d4cfd6370e1992e5", "url": "https://github.com/dashifen/session/blob/c9e57326d2c490f7d3465732d4cfd6370e1992e5/src/Session.php#L107-L117", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Autoloader.php", "func_name": "PEAR_Autoloader.addAutoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add one or more autoload entries.\n\n@param string $method which method to autoload\n\n@param string $classname (optional) which class to find the method in.\nIf the $method parameter is an array, this\nparameter may be omitted (and will be ignored\nif not), and the $method parameter will be\ntreated as an associative array with method\nnames as keys and class names as values.\n\n@return void\n\n@access public", "docstring_tokens": ["Add", "one", "or", "more", "autoload", "entries", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Autoloader.php#L94-L102", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Autoloader.php", "func_name": "PEAR_Autoloader.removeAutoload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an autoload entry.\n\n@param string $method which method to remove the autoload entry for\n\n@return bool TRUE if an entry was removed, FALSE if not\n\n@access public", "docstring_tokens": ["Remove", "an", "autoload", "entry", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Autoloader.php#L116-L122", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Autoloader.php", "func_name": "PEAR_Autoloader.removeAggregateObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an aggregate object.\n\n@param string $classname the class of the object to remove\n\n@return bool TRUE if an object was removed, FALSE if not\n\n@access public", "docstring_tokens": ["Remove", "an", "aggregate", "object", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Autoloader.php#L169-L181", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Console/Getopt.php", "func_name": "Console_Getopt.getopt2", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses the command-line options.\n\nThe first parameter to this function should be the list of command-line\narguments without the leading reference to the running program.\n\nThe second parameter is a string of allowed short options. Each of the\noption letters can be followed by a colon ':' to specify that the option\nrequires an argument, or a double colon '::' to specify that the option\ntakes an optional argument.\n\nThe third argument is an optional array of allowed long options. The\nleading '--' should not be included in the option name. Options that\nrequire an argument should be followed by '=', and options that take an\noption argument should be followed by '=='.\n\nThe return value is an array of two elements: the list of parsed\noptions and the list of non-option command-line arguments. Each entry in\nthe list of parsed options is a pair of elements - the first one\nspecifies the option, and the second one specifies the option argument,\nif there was one.\n\nLong and short options can be mixed.\n\nMost of the semantics of this function are based on GNU getopt_long().\n\n@param array $args an array of command-line arguments\n@param string $short_options specifies the list of allowed short options\n@param array $long_options specifies the list of allowed long options\n@param boolean $skip_unknown suppresses Console_Getopt: unrecognized option\n\n@return array two-element array containing the list of parsed options and\nthe non-option arguments\n@access public", "docstring_tokens": ["Parses", "the", "command", "-", "line", "options", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Console/Getopt.php#L73-L76", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Console/Getopt.php", "func_name": "Console_Getopt.doGetopt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The actual implementation of the argument parsing code.\n\n@param int $version Version to use\n@param array $args an array of command-line arguments\n@param string $short_options specifies the list of allowed short options\n@param array $long_options specifies the list of allowed long options\n@param boolean $skip_unknown suppresses Console_Getopt: unrecognized option\n\n@return array", "docstring_tokens": ["The", "actual", "implementation", "of", "the", "argument", "parsing", "code", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Console/Getopt.php#L106-L174", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Console/Getopt.php", "func_name": "Console_Getopt._parseShortOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse short option\n\n@param string $arg Argument\n@param string[] $short_options Available short options\n@param string[][] &$opts\n@param string[] &$args\n@param boolean $skip_unknown suppresses Console_Getopt: unrecognized option\n\n@access private\n@return void", "docstring_tokens": ["Parse", "short", "option"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Console/Getopt.php#L188-L234", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System._parseArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "returns the commandline arguments of a function\n\n@param string $argv the commandline\n@param string $short_options the allowed option short-tags\n@param string $long_options the allowed option long-tags\n@return array the given options and there values\n@static\n@access private", "docstring_tokens": ["returns", "the", "commandline", "arguments", "of", "a", "function"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L71-L85", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System._dirToStruct", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a nested array representing the structure of a directory\n\nSystem::_dirToStruct('dir1', 0) =>\nArray\n(\n[dirs] => Array\n(\n[0] => dir1\n)\n\n[files] => Array\n(\n[0] => dir1/file2\n[1] => dir1/file3\n)\n)\n@param string $sPath Name of the directory\n@param integer $maxinst max. deep of the lookup\n@param integer $aktinst starting deep of the lookup\n@param bool $silent if true, do not emit errors.\n@return array the structure of the dir\n@static\n@access private", "docstring_tokens": ["Creates", "a", "nested", "array", "representing", "the", "structure", "of", "a", "directory"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L130-L163", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System._multipleToStruct", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a nested array representing the structure of a directory and files\n\n@param array $files Array listing files and dirs\n@return array\n@static\n@see System::_dirToStruct()", "docstring_tokens": ["Creates", "a", "nested", "array", "representing", "the", "structure", "of", "a", "directory", "and", "files"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L173-L188", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System.rm", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The rm command for removing files.\nSupports multiple files and dirs and also recursive deletes\n\n@param string $args the arguments for rm\n@return mixed PEAR_Error or true for success\n@static\n@access public", "docstring_tokens": ["The", "rm", "command", "for", "removing", "files", ".", "Supports", "multiple", "files", "and", "dirs", "and", "also", "recursive", "deletes"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L199-L234", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System.mkDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make directories.\n\nThe -p option will create parent directories\n@param string $args the name of the director(y|ies) to create\n@return bool True for success\n@static\n@access public", "docstring_tokens": ["Make", "directories", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L245-L299", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System.mktemp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates temporary files or directories. This function will remove\nthe created files when the scripts finish its execution.\n\nUsage:\n1) $tempfile = System::mktemp(\"prefix\");\n2) $tempdir = System::mktemp(\"-d prefix\");\n3) $tempfile = System::mktemp();\n4) $tempfile = System::mktemp(\"-t /var/tmp prefix\");\n\nprefix -> The string that will be prepended to the temp name\n(defaults to \"tmp\").\n-d -> A temporary dir will be created instead of a file.\n-t -> The target dir where the temporary (file|dir) will be created. If\nthis param is missing by default the env vars TMP on Windows or\nTMPDIR in Unix will be used. If these vars are also missing\nc:\\windows\\temp or /tmp will be used.\n\n@param string $args The arguments\n@return mixed the full path of the created (file|dir) or false\n@see System::tmpdir()\n@static\n@access public", "docstring_tokens": ["Creates", "temporary", "files", "or", "directories", ".", "This", "function", "will", "remove", "the", "created", "files", "when", "the", "scripts", "finish", "its", "execution", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L390-L434", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System._removeTmpFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove temporary files created my mkTemp. This function is executed\nat script shutdown time\n\n@static\n@access private", "docstring_tokens": ["Remove", "temporary", "files", "created", "my", "mkTemp", ".", "This", "function", "is", "executed", "at", "script", "shutdown", "time"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L443-L451", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/System.php", "func_name": "System.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The \"find\" command\n\nUsage:\n\nSystem::find($dir);\nSystem::find(\"$dir -type d\");\nSystem::find(\"$dir -type f\");\nSystem::find(\"$dir -name *.php\");\nSystem::find(\"$dir -name *.php -name *.htm*\");\nSystem::find(\"$dir -maxdepth 1\");\n\nParams implmented:\n$dir -> Start the search at this directory\n-type d -> return only directories\n-type f -> return only files\n-maxdepth -> max depth of recursion\n-name -> search pattern (bash style). Multiple -name param allowed\n\n@param mixed Either array or string with the command line\n@return array Array of found files\n@static", "docstring_tokens": ["The", "find", "command"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/System.php#L567-L628", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Logger.php", "func_name": "Logger.getLog", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get new log.\n\n@param string $message\n@param PriorityInterface|null $priority\n@param array|null $metaData\n@return LogInterface", "docstring_tokens": ["Get", "new", "log", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Logger.php#L64-L67", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php", "func_name": "BudgetCategoryAbstract.setBudgetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_id\"\n\n@param int $budgetId\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "budget_id"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php#L95-L111", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php", "func_name": "BudgetCategoryAbstract.getBudget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Budget data object.\n\n@param bool $isForceReload\n@return Budget", "docstring_tokens": ["Get", "Budget", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php#L144-L154", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php", "func_name": "BudgetCategoryAbstract.getAllTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of Transaction data objects.\n\n@param bool $isForceReload\n@return Transaction[]", "docstring_tokens": ["Get", "list", "of", "Transaction", "data", "objects", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetCategoryAbstract.php#L182-L192", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Writer/Ini.php", "func_name": "Zend_Config_Writer_Ini._prepareValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare a value for INI\n\n@param mixed $value\n@return string", "docstring_tokens": ["Prepare", "a", "value", "for", "INI"], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Writer/Ini.php#L150-L163", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the URL for this request\n\nIf the URL has userinfo part (username & password) these will be removed\nand converted to auth data. If the URL does not have a path component,\nthat will be set to '/'.\n\n@param string|Net_URL2 $url Request URL\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Sets", "the", "URL", "for", "this", "request"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L233-L259", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the request method\n\n@param string $method one of the methods defined in RFC 2616\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException if the method name is invalid", "docstring_tokens": ["Sets", "the", "request", "method"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L279-L291", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setAuth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the autentification data\n\n@param string $user user name\n@param string $password password\n@param string $scheme authentication scheme\n\n@return HTTP_Request2", "docstring_tokens": ["Sets", "the", "autentification", "data"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L418-L431", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.addCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a cookie to the request\n\nIf the request does not have a CookieJar object set, this method simply\nappends a cookie to \"Cookie:\" header.\n\nIf a CookieJar object is available, the cookie is stored in that object.\nData from request URL will be used for setting its 'domain' and 'path'\nparameters, 'expires' and 'secure' will be set to null and false,\nrespectively. If you need further control, use CookieJar's methods.\n\n@param string $name cookie name\n@param string $value cookie value\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException\n@see setCookieJar()", "docstring_tokens": ["Adds", "a", "cookie", "to", "the", "request"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L548-L568", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the request body\n\nIf you provide file pointer rather than file name, it should support\nfstat() and rewind() operations.\n\n@param string|resource|HTTP_Request2_MultipartBody $body Either a\nstring with the body or filename containing body or\npointer to an open file or object with multipart body data\n@param bool $isFilename Whether\nfirst parameter is a filename\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Sets", "the", "request", "body"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L585-L603", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.getBody", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the request body\n\n@return string|resource|HTTP_Request2_MultipartBody", "docstring_tokens": ["Returns", "the", "request", "body"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L610-L631", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.addUpload", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a file to form-based file upload\n\nUsed to emulate file upload via a HTML form. The method also sets\nContent-Type of HTTP request to 'multipart/form-data'.\n\nIf you just want to send the contents of a file as the body of HTTP\nrequest you should use setBody() method.\n\nIf you provide file pointers rather than file names, they should support\nfstat() and rewind() operations.\n\n@param string $fieldName name of file-upload field\n@param string|resource|array $filename full name of local file,\npointer to open file or an array of files\n@param string $sendFilename filename to send in the request\n@param string $contentType content-type of file being uploaded\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Adds", "a", "file", "to", "form", "-", "based", "file", "upload"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L654-L690", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches a new observer\n\n@param SplObserver $observer any object implementing SplObserver", "docstring_tokens": ["Attaches", "a", "new", "observer"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L721-L729", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.detach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detaches an existing observer\n\n@param SplObserver $observer any object implementing SplObserver", "docstring_tokens": ["Detaches", "an", "existing", "observer"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L736-L744", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setLastEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the last event\n\nAdapters should use this method to set the current state of the request\nand notify the observers.\n\n@param string $name event name\n@param mixed $data event data", "docstring_tokens": ["Sets", "the", "last", "event"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L765-L772", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the adapter used to actually perform the request\n\nYou can pass either an instance of a class implementing HTTP_Request2_Adapter\nor a class name. The method will only try to include a file if the class\nname starts with HTTP_Request2_Adapter_, it will also try to prepend this\nprefix to the class name if it doesn't contain any underscores, so that\n\n$request->setAdapter('curl');\n\nwill work.\n\n@param string|HTTP_Request2_Adapter $adapter Adapter to use\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Sets", "the", "adapter", "used", "to", "actually", "perform", "the", "request"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L825-L855", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.setCookieJar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the cookie jar\n\nA cookie jar is used to maintain cookies across HTTP requests and\nresponses. Cookies from jar will be automatically added to the request\nheaders based on request URL.\n\n@param HTTP_Request2_CookieJar|bool $jar Existing CookieJar object, true to\ncreate a new one, false to remove\n\n@return HTTP_Request2\n@throws HTTP_Request2_LogicException", "docstring_tokens": ["Sets", "the", "cookie", "jar"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L870-L890", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends the request and returns the response\n\n@throws HTTP_Request2_Exception\n@return HTTP_Request2_Response", "docstring_tokens": ["Sends", "the", "request", "and", "returns", "the", "response"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L908-L954", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2.php", "func_name": "HTTP_Request2.detectMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tries to detect MIME type of a file\n\nThe method will try to use fileinfo extension if it is available,\ndeprecated mime_content_type() function in the other case. If neither\nworks, default 'application/octet-stream' MIME type is returned\n\n@param string $filename file name\n\n@return string file MIME type", "docstring_tokens": ["Tries", "to", "detect", "MIME", "type", "of", "a", "file"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2.php#L1012-L1028", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/SettingController.php", "func_name": "SettingController.showAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds and displays a Setting entity.\n\n@Route(\"/{id}/show\", name=\"admin_amulen_setting_show\", requirements={\"id\"=\"\\d+\"})\n@Method(\"GET\")\n@Template()", "docstring_tokens": ["Finds", "and", "displays", "a", "Setting", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/SettingController.php#L45-L59", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/SettingController.php", "func_name": "SettingController.newAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a form to create a new Setting entity.\n\n@Route(\"/new\", name=\"admin_amulen_setting_new\")\n@Method(\"GET\")\n@Template()", "docstring_tokens": ["Displays", "a", "form", "to", "create", "a", "new", "Setting", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/SettingController.php#L68-L77", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/SettingController.php", "func_name": "SettingController.createAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Setting entity.\n\n@Route(\"/create\", name=\"admin_amulen_setting_create\")\n@Method(\"POST\")\n@Template(\"FlowcodeDashboardBundle:Setting:new.html.twig\")", "docstring_tokens": ["Creates", "a", "new", "Setting", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/SettingController.php#L86-L102", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/SettingController.php", "func_name": "SettingController.updateAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edits an existing Setting entity.\n\n@Route(\"/{id}/update\", name=\"admin_amulen_setting_update\", requirements={\"id\"=\"\\d+\"})\n@Method(\"PUT\")\n@Template(\"FlowcodeDashboardBundle:Setting:edit.html.twig\")", "docstring_tokens": ["Edits", "an", "existing", "Setting", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/SettingController.php#L111-L129", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/Mapper/Query.php", "func_name": "Query.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter by conditions\n\n@param string $expression\n@param mixed $value\n@return $this", "docstring_tokens": ["Filter", "by", "conditions"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/Mapper/Query.php#L54-L120", "partition": "test"} +{"repo": "debuss/borsch-http-message", "path": "src/Http/Response.php", "func_name": "Response.withStatus", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified status code and, optionally, reason phrase.\nIf no reason phrase is specified, implementations MAY choose to default\nto the RFC 7231 or IANA recommended reason phrase for the response's\nstatus code.\nThis method MUST be implemented in such a way as to retain the\nimmutability of the message, and MUST return an instance that has the\nupdated status and reason phrase.\n\n@link http://tools.ietf.org/html/rfc7231#section-6\n@link http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml\n@param int $code The 3-digit integer result code to set.\n@param string $reason_phrase The reason phrase to use with the\nprovided status code; if none is provided, implementations MAY\nuse the defaults as suggested in the HTTP specification.\n@return ResponseInterface\n@throws \\InvalidArgumentException For invalid status code arguments.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "status", "code", "and", "optionally", "reason", "phrase", ".", "If", "no", "reason", "phrase", "is", "specified", "implementations", "MAY", "choose", "to", "default", "to", "the", "RFC", "7231", "or", "IANA", "recommended", "reason", "phrase", "for", "the", "response", "s", "status", "code", ".", "This", "method", "MUST", "be", "implemented", "in", "such", "a", "way", "as", "to", "retain", "the", "immutability", "of", "the", "message", "and", "MUST", "return", "an", "instance", "that", "has", "the", "updated", "status", "and", "reason", "phrase", "."], "sha": "b4f1ddf18221ab809bce3422c6c7337a7c233a6f", "url": "https://github.com/debuss/borsch-http-message/blob/b4f1ddf18221ab809bce3422c6c7337a7c233a6f/src/Http/Response.php#L155-L168", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Remover.php", "func_name": "Remover.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "+ \\Labi\\Operators\\RemoverInterface", "docstring_tokens": ["+", "\\", "Labi", "\\", "Operators", "\\", "RemoverInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Remover.php#L130-L135", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/Component.php", "func_name": "Component.hasEventListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check attached event listeners for particular event\n@param string $event\n@return bool", "docstring_tokens": ["Check", "attached", "event", "listeners", "for", "particular", "event"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/Component.php#L44-L46", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Validation.php", "func_name": "Validation.field", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the data for a field\n@param string $name Field name\n@param mixed $default Default value if not defined\n@return mixed", "docstring_tokens": ["Get", "the", "data", "for", "a", "field"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Validation.php#L71-L73", "partition": "test"} +{"repo": "oito/php-micro", "path": "src/Oito/Micro/Validation.php", "func_name": "Validation.msg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use a predefined error message\n@param string $msg Error message key\n@param array $params Error message params\n@return string", "docstring_tokens": ["Use", "a", "predefined", "error", "message"], "sha": "14fea142263324ab7b8f31fe369947765c4d9e62", "url": "https://github.com/oito/php-micro/blob/14fea142263324ab7b8f31fe369947765c4d9e62/src/Oito/Micro/Validation.php#L92-L94", "partition": "test"} +{"repo": "Tecnocreaciones/ResourceBundle", "path": "Controller/ResourceController.php", "func_name": "ResourceController.createAccessDeniedHttpException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a AccessDeniedHttpException.\n\nThis will result in a 403 response code. Usage example:\n\nthrow $this->createAccessDeniedHttpException('Permission Denied!');\n\n@param string $message A message\n@param \\Exception $previous The previous exception\n\n@return \\Symfony\\Component\\HttpKernel\\Exception\\AccessDeniedHttpException", "docstring_tokens": ["Returns", "a", "AccessDeniedHttpException", "."], "sha": "363c3b02680b0b4674f27c82306e289eb53ac4b0", "url": "https://github.com/Tecnocreaciones/ResourceBundle/blob/363c3b02680b0b4674f27c82306e289eb53ac4b0/Controller/ResourceController.php#L191-L194", "partition": "test"} +{"repo": "Tecnocreaciones/ResourceBundle", "path": "Controller/ResourceController.php", "func_name": "ResourceController.setFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Envia un mensaje flash\n\n@param array $type success|error\n@param type $message\n@param type $parameters\n@param type $domain\n@return type", "docstring_tokens": ["Envia", "un", "mensaje", "flash"], "sha": "363c3b02680b0b4674f27c82306e289eb53ac4b0", "url": "https://github.com/Tecnocreaciones/ResourceBundle/blob/363c3b02680b0b4674f27c82306e289eb53ac4b0/Controller/ResourceController.php#L224-L227", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/MySql.php", "func_name": "MySql.commitTransaction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "commits the last transaction\n\n@return integer , number of live transactions after executing this method", "docstring_tokens": ["commits", "the", "last", "transaction"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/MySql.php#L109-L117", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/MySql.php", "func_name": "MySql.formatDate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this method formats date for this connection\n\n@param string|integer $dateStr time in string or timestamp in integer\n@param boolean $includeTime\n\n@return string , formatted date as string", "docstring_tokens": ["this", "method", "formats", "date", "for", "this", "connection"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/MySql.php#L154-L170", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/MySql.php", "func_name": "MySql.formatTime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this method formats time for this connection\n\n@param number $hh\n@param number $mm\n@param number $ss\n@param string $ampm\n\n@return string represenation of time", "docstring_tokens": ["this", "method", "formats", "time", "for", "this", "connection"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/MySql.php#L182-L223", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/MySql.php", "func_name": "MySql.formatBoolean", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this method formats boolean for this connection\n\n@param boolean|string $value", "docstring_tokens": ["this", "method", "formats", "boolean", "for", "this", "connection"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/MySql.php#L230-L247", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/MySql.php", "func_name": "MySql.setTimeZone", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this method sets the timezone for this connection\n@param string $timeZone , time zone in php", "docstring_tokens": ["this", "method", "sets", "the", "timezone", "for", "this", "connection"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/MySql.php#L274-L299", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Container/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch a service with supplied parameters.\nThis method will call create for a new service and store them for later use.\n\n@param string $className\n@param array $parameters\n@return object\n@throws RuntimeException", "docstring_tokens": ["Fetch", "a", "service", "with", "supplied", "parameters", ".", "This", "method", "will", "call", "create", "for", "a", "new", "service", "and", "store", "them", "for", "later", "use", "."], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Container/Container.php#L67-L82", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Container/Container.php", "func_name": "Container.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if there is an instance in the container\n\n@param string $className\n@param array $parameters\n@return bool", "docstring_tokens": ["Check", "if", "there", "is", "an", "instance", "in", "the", "container"], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Container/Container.php#L91-L102", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Container/Container.php", "func_name": "Container.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a class with supplied parameters.\n\nBefore a class is created the container will first check for a suitable resolver.\n\nIf an invalid class name was given, e.g. an interface without registered resolver,\nthrow a RuntimeException.\n\n@param string $className\n@param array $parameters\n@return object\n@throws RuntimeException", "docstring_tokens": ["Create", "a", "class", "with", "supplied", "parameters", "."], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Container/Container.php#L117-L134", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Container/Container.php", "func_name": "Container.addResolver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a resolver\n\n@param ResolverInterface $resolver\n@param int $priority Higher priority means it will be used before one\nwith a lower priority.", "docstring_tokens": ["Add", "a", "resolver"], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Container/Container.php#L143-L151", "partition": "test"} +{"repo": "story75/Bonefish-Injection", "path": "src/Container/Container.php", "func_name": "Container.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an already created service to the container.\n\n@param $object\n@throws InvalidArgumentException", "docstring_tokens": ["Add", "an", "already", "created", "service", "to", "the", "container", "."], "sha": "447e5d7ae6a7c11376a27495ba029238f0b969cd", "url": "https://github.com/story75/Bonefish-Injection/blob/447e5d7ae6a7c11376a27495ba029238f0b969cd/src/Container/Container.php#L159-L174", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgClient.php", "func_name": "PgClient.getPool", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get pool of connections\n@return Pool|null", "docstring_tokens": ["Get", "pool", "of", "connections"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgClient.php#L96-L114", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgClient.php", "func_name": "PgClient.query", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute simple statement without parameters\n@param string $s\n@return Observable", "docstring_tokens": ["Execute", "simple", "statement", "without", "parameters"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgClient.php#L121-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgClient.php", "func_name": "PgClient.executeStatement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute statement with parameters\n@param string $queryString\n@param array $parameters\n@return Observable", "docstring_tokens": ["Execute", "statement", "with", "parameters"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgClient.php#L136-L143", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgClient.php", "func_name": "PgClient.createNewConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create new connection\n@param bool $addToPool\n@param array $params\n@return pgConnection\n@deprecated Since Pool is used\n@see getPool()", "docstring_tokens": ["Create", "new", "connection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgClient.php#L208-L227", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/PgClient.php", "func_name": "PgClient.getLeastBusyConnectionOld", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get least busy connection, with idle state or at least with minimum queued queries count\n@return pgConnection\n@throws Exception\n@deprecated\n@see getLeastBusyConnection()", "docstring_tokens": ["Get", "least", "busy", "connection", "with", "idle", "state", "or", "at", "least", "with", "minimum", "queued", "queries", "count"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/PgClient.php#L261-L291", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Composer/ScriptHandler.php", "func_name": "ScriptHandler.assetsInstall", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Installs the assets under the web root directory.\n\nFor better interoperability, assets are copied\ninstead of symlinked by default.\n\nEven if symlinks work on Windows, this is only true on Windows\nVista and later, but then, only when running the console with admin\nrights or when disabling the strict user permission checks\n(which can be done on Windows 7 but not on Windows Vista).\n\n@param Event $event Composer event instance\n\n@return void", "docstring_tokens": ["Installs", "the", "assets", "under", "the", "web", "root", "directory", "."], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Composer/ScriptHandler.php#L57-L85", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionReader.php", "func_name": "VersionReader.getReflectionClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the reflection class instance for a class name.\n\n@param string $className Full class name.\n\n@return \\ReflectionClass", "docstring_tokens": ["Get", "the", "reflection", "class", "instance", "for", "a", "class", "name", "."], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionReader.php#L59-L69", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionReader.php", "func_name": "VersionReader.getClassVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class version annotation for a class name.\n\n@param string $className Full class name.\n\n@return string\n\n@throws Exception\\NotVersionedException If object is not versioned.", "docstring_tokens": ["Get", "class", "version", "annotation", "for", "a", "class", "name", "."], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionReader.php#L80-L102", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionReader.php", "func_name": "VersionReader.findClassNameByVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for class name by version id\n\n@param string $startFromClassName\n@param string $version\n@param array $visited\n\n@return null|string", "docstring_tokens": ["Search", "for", "class", "name", "by", "version", "id"], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionReader.php#L196-L228", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionReader.php", "func_name": "VersionReader.getClassMigrationMethods", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get migrations for a class.\n\n@param string $className\n\n@return MigrationMethods\n\n@throws \\LogicException", "docstring_tokens": ["Get", "migrations", "for", "a", "class", "."], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionReader.php#L239-L297", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionReader.php", "func_name": "VersionReader.getRequiredClassOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find all the options required for all the migrations for this class.\n\n@param string $className Class name.\n\n@return array", "docstring_tokens": ["Find", "all", "the", "options", "required", "for", "all", "the", "migrations", "for", "this", "class", "."], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionReader.php#L306-L349", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/JobController.php", "func_name": "JobController.showAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds and displays a Job entity.\n\n@Route(\"/{id}/show\", name=\"admin_amulen_job_show\", requirements={\"id\"=\"\\d+\"})\n@Method(\"GET\")\n@Template()", "docstring_tokens": ["Finds", "and", "displays", "a", "Job", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/JobController.php#L53-L67", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/JobController.php", "func_name": "JobController.newAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Displays a form to create a new Job entity.\n\n@Route(\"/new\", name=\"admin_amulen_job_new\")\n@Method(\"GET\")\n@Template()", "docstring_tokens": ["Displays", "a", "form", "to", "create", "a", "new", "Job", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/JobController.php#L76-L85", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/JobController.php", "func_name": "JobController.createAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new Job entity.\n\n@Route(\"/create\", name=\"admin_amulen_job_create\")\n@Method(\"POST\")\n@Template(\"FlowcodeDashboardBundle:Job:new.html.twig\")", "docstring_tokens": ["Creates", "a", "new", "Job", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/JobController.php#L94-L110", "partition": "test"} +{"repo": "flowcode/AmulenDashboardBundle", "path": "src/Flowcode/DashboardBundle/Controller/JobController.php", "func_name": "JobController.updateAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Edits an existing Job entity.\n\n@Route(\"/{id}/update\", name=\"admin_amulen_job_update\", requirements={\"id\"=\"\\d+\"})\n@Method(\"PUT\")\n@Template(\"FlowcodeDashboardBundle:Job:edit.html.twig\")", "docstring_tokens": ["Edits", "an", "existing", "Job", "entity", "."], "sha": "20f4de55ce6da26c5c87e26096fd5a76f33a0caf", "url": "https://github.com/flowcode/AmulenDashboardBundle/blob/20f4de55ce6da26c5c87e26096fd5a76f33a0caf/src/Flowcode/DashboardBundle/Controller/JobController.php#L119-L137", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.setClientFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the client filename\n\n@param string $file_name The client filename for the file\n@return void\n@throws \\CarteBlanche\\Exception\\InvalidArgumentException if the file name is not a string", "docstring_tokens": ["Set", "the", "client", "filename"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L50-L62", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.guessExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the file extension or guess it from MIME type if so ...\n\n@return string The guessed extension\n@see \\SplFileInfo::getExtension()", "docstring_tokens": ["Get", "the", "file", "extension", "or", "guess", "it", "from", "MIME", "type", "if", "so", "..."], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L91-L100", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.getMime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the file miem string if possible\n\n@return string The mime type info", "docstring_tokens": ["Get", "the", "file", "miem", "string", "if", "possible"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L117-L124", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.getHumanSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the file size in human readable string\n\n@param int $decimals The decimals number to use in calculated file size\n@return string A human readable string describing a file size", "docstring_tokens": ["Get", "the", "file", "size", "in", "human", "readable", "string"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L132-L138", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.getATimeAsDatetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last access time on the file and return it as a DateTime object\n\n@return null|object The datetime object if so", "docstring_tokens": ["Get", "the", "last", "access", "time", "on", "the", "file", "and", "return", "it", "as", "a", "DateTime", "object"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L155-L161", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.getCTimeAsDatetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the creation time on the file and return it as a DateTime object\n\n@return null|object The datetime object if so", "docstring_tokens": ["Get", "the", "creation", "time", "on", "the", "file", "and", "return", "it", "as", "a", "DateTime", "object"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L168-L174", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.getMTimeAsDatetime", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the last modification time on the file and return it as a DateTime object\n\n@return null|object The datetime object if so", "docstring_tokens": ["Get", "the", "last", "modification", "time", "on", "the", "file", "and", "return", "it", "as", "a", "DateTime", "object"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L181-L187", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/File.php", "func_name": "File.createFromContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a file with a content string and returns the created filename\n\n@param string $file_content The source file content\n@param string $filename The target filename (optional - automatic if not set)\n@return \\CarteBlanche\\Library\\File", "docstring_tokens": ["Create", "a", "file", "with", "a", "content", "string", "and", "returns", "the", "created", "filename"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/File.php#L211-L233", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php", "func_name": "ApplicationRepository.findAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve all applications\n\n@return array", "docstring_tokens": ["Retrieve", "all", "applications"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php#L59-L73", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php", "func_name": "ApplicationRepository.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find application by ID\n\n@param $id App ID\n@return Application|null", "docstring_tokens": ["Find", "application", "by", "ID"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php#L81-L90", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php", "func_name": "ApplicationRepository.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an application\n\n@param Application $application\n@return mixed", "docstring_tokens": ["Create", "an", "application"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php#L98-L110", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php", "func_name": "ApplicationRepository.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete an application\n\n@param Application $application\n@return mixed", "docstring_tokens": ["Delete", "an", "application"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php#L118-L130", "partition": "test"} +{"repo": "pdenis/monitoring", "path": "src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php", "func_name": "ApplicationRepository.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update an application\n\n@param Application $application\n@return mixex", "docstring_tokens": ["Update", "an", "application"], "sha": "d455c252aff92a30b314f1b906bf0f9277928f46", "url": "https://github.com/pdenis/monitoring/blob/d455c252aff92a30b314f1b906bf0f9277928f46/src/Snide/Monitoring/Repository/Yaml/ApplicationRepository.php#L138-L154", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHours.php", "func_name": "BusinessHours.getClosestDateIntervalBefore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the closest business hours date interval before the given date.\n\n@param \\DateTime $date The given date.\n@return DateTimeInterval", "docstring_tokens": ["Get", "the", "closest", "business", "hours", "date", "interval", "before", "the", "given", "date", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHours.php#L148-L168", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHours.php", "func_name": "BusinessHours.getClosestDateIntervalAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the closest business hours date interval after the given date.\n\n@param \\DateTime $date The given date.\n@return DateTimeInterval", "docstring_tokens": ["Get", "the", "closest", "business", "hours", "date", "interval", "after", "the", "given", "date", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHours.php#L176-L196", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHours.php", "func_name": "BusinessHours.buildDateTimeInterval", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build a new date time interval for a date.\n\n@param \\DateTime $date The date.\n@param TimeIntervalInterface $timeInterval\n@return DateTimeInterval", "docstring_tokens": ["Build", "a", "new", "date", "time", "interval", "for", "a", "date", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHours.php#L205-L222", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHours.php", "func_name": "BusinessHours.getDayBefore", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the business hours day before the day number.\n\n@param integer $dayNumber\n@return DayInterface|null", "docstring_tokens": ["Get", "the", "business", "hours", "day", "before", "the", "day", "number", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHours.php#L342-L355", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/BusinessHours.php", "func_name": "BusinessHours.getDayAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the business hours day after the day number.\n\n@param integer $dayNumber\n@return DayInterface|null", "docstring_tokens": ["Get", "the", "business", "hours", "day", "after", "the", "day", "number", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/BusinessHours.php#L363-L376", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer/Role/Common.php", "func_name": "PEAR_Installer_Role_Common.getInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve configuration information about a file role from its XML info\n\n@param string $role Role Classname, as in \"PEAR_Installer_Role_Data\"\n@return array", "docstring_tokens": ["Retrieve", "configuration", "information", "about", "a", "file", "role", "from", "its", "XML", "info"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer/Role/Common.php#L53-L59", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Transaction.php", "func_name": "Transaction.commit", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Commits a transaction.\n@throws Exception if the transaction is not active\n@return ExtendedPromiseInterface|LazyPromiseInterface", "docstring_tokens": ["Commits", "a", "transaction", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Transaction.php#L133-L155", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Transaction.php", "func_name": "Transaction.rollBack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Rolls back a transaction.\n@param bool $final\n@return ExtendedPromiseInterface", "docstring_tokens": ["Rolls", "back", "a", "transaction", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Transaction.php#L162-L198", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Transaction.php", "func_name": "Transaction.setIsolationLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the transaction isolation level for this transaction.\n\nThis method can be used to set the isolation level while the transaction is already active.\nHowever this is not supported by all DBMS so you might rather specify the isolation level directly\nwhen calling [[begin()]].\n@param string $level The transaction isolation level to use for this transaction.\nThis can be one of [[READ_UNCOMMITTED]], [[READ_COMMITTED]], [[REPEATABLE_READ]] and [[SERIALIZABLE]] but\nalso a string containing DBMS specific syntax to be used after `SET TRANSACTION ISOLATION LEVEL`.\n@return ExtendedPromiseInterface|LazyPromiseInterface\n@throws Exception if the transaction is not active\n@see http://en.wikipedia.org/wiki/Isolation_%28database_systems%29#Isolation_levels", "docstring_tokens": ["Sets", "the", "transaction", "isolation", "level", "for", "this", "transaction", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Transaction.php#L213-L220", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Transaction.php", "func_name": "Transaction.getConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get DB connection\n@return ConnectionInterface", "docstring_tokens": ["Get", "DB", "connection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Transaction.php#L234-L239", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Media/Converter/ImageConverter.php", "func_name": "ImageConverter.setBackend", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the backend gd of imagick to use\n\n@param string $backend (gd/imagick)\n\n@throws Exception\\UnsupportedBackendException\n@return \\Soluble\\Media\\Converter\\ImageConverter", "docstring_tokens": ["Set", "the", "backend", "gd", "of", "imagick", "to", "use"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Media/Converter/ImageConverter.php#L53-L65", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.debug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a debug message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "debug", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L48-L53", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.info", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log an info message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "an", "info", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L63-L68", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.notice", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a notice message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "notice", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L78-L83", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.warning", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a warning message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "warning", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L93-L98", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a error message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "error", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L108-L113", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.critical", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a critical message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "critical", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L123-L128", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.alert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a alert message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "alert", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L138-L143", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.emergency", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a emergency message.\n\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "emergency", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L153-L158", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Logger/MonologLogger.php", "func_name": "MonologLogger.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Log a message.\n\n@param LogLevel $level The log level\n@param string $message The message\n@param array $context [optional] The context\n\n@return \\Valkyrja\\Logger\\Logger", "docstring_tokens": ["Log", "a", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Logger/MonologLogger.php#L169-L174", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Twig/UtilsExtension.php", "func_name": "UtilsExtension.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses PropertyAccess component to return the object property value.\n\n@param mixed $object\n@param string $propertyPath\n@param bool $required\n\n@return mixed", "docstring_tokens": ["Uses", "PropertyAccess", "component", "to", "return", "the", "object", "property", "value", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Twig/UtilsExtension.php#L60-L70", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Twig/UtilsExtension.php", "func_name": "UtilsExtension.truncateHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a truncated html string.\n\n@param string $html\n@param int $limit\n@param string $endChar\n\n@return string", "docstring_tokens": ["Returns", "a", "truncated", "html", "string", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Twig/UtilsExtension.php#L81-L85", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer.php", "func_name": "PEAR_Installer.PEAR_Installer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "PEAR_Installer constructor.\n\n@param object $ui user interface object (instance of PEAR_Frontend_*)\n\n@access public", "docstring_tokens": ["PEAR_Installer", "constructor", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer.php#L119-L124", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer.php", "func_name": "PEAR_Installer._deletePackageFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a package's installed files, does not remove empty directories.\n\n@param string package name\n@param string channel name\n@param bool if true, then files are backed up first\n@return bool TRUE on success, or a PEAR error on failure\n@access protected", "docstring_tokens": ["Delete", "a", "package", "s", "installed", "files", "does", "not", "remove", "empty", "directories", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer.php#L157-L204", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer.php", "func_name": "PEAR_Installer.addFileOperation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a file operation to the current file transaction.\n\n@see startFileTransaction()\n@param string $type This can be one of:\n- rename: rename a file ($data has 3 values)\n- backup: backup an existing file ($data has 1 value)\n- removebackup: clean up backups created during install ($data has 1 value)\n- chmod: change permissions on a file ($data has 2 values)\n- delete: delete a file ($data has 1 value)\n- rmdir: delete a directory if empty ($data has 1 value)\n- installed_as: mark a file as installed ($data has 4 values).\n@param array $data For all file operations, this array must contain the\nfull path to the file or directory that is being operated on. For\nthe rename command, the first parameter must be the file to rename,\nthe second its new name, the third whether this is a PHP extension.\n\nThe installed_as operation contains 4 elements in this order:\n1. Filename as listed in the filelist element from package.xml\n2. Full path to the installed file\n3. Full path from the php_dir configuration variable used in this\ninstallation\n4. Relative path from the php_dir that this file is installed in", "docstring_tokens": ["Add", "a", "file", "operation", "to", "the", "current", "file", "transaction", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer.php#L725-L739", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer.php", "func_name": "PEAR_Installer.download", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download any files and their dependencies, if necessary\n\n@param array a mixed list of package names, local files, or package.xml\n@param PEAR_Config\n@param array options from the command line\n@param array this is the array that will be populated with packages to\ninstall. Format of each entry:\n\n\narray('pkg' => 'package_name', 'file' => '/path/to/local/file',\n'info' => array() // parsed package.xml\n);\n\n@param array this will be populated with any error messages\n@param false private recursion variable\n@param false private recursion variable\n@param false private recursion variable\n@deprecated in favor of PEAR_Downloader", "docstring_tokens": ["Download", "any", "files", "and", "their", "dependencies", "if", "necessary"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer.php#L1043-L1054", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Installer.php", "func_name": "PEAR_Installer.setDownloadedPackages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the list of PEAR_Downloader_Package objects to allow more sane\ndependency validation\n@param array", "docstring_tokens": ["Set", "the", "list", "of", "PEAR_Downloader_Package", "objects", "to", "allow", "more", "sane", "dependency", "validation"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Installer.php#L1088-L1097", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Triangle.php", "func_name": "Triangle.isValidPoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Test if point A is in one of the triangle's segments\n\n@param \\Maths\\PointInterface $a\n@return bool", "docstring_tokens": ["Test", "if", "point", "A", "is", "in", "one", "of", "the", "triangle", "s", "segments"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Triangle.php#L275-L282", "partition": "test"} +{"repo": "Dhii/iterator-base", "path": "src/CreateIteratingExceptionCapableTrait.php", "func_name": "CreateIteratingExceptionCapableTrait._createIteratingException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new iterating exception instance.\n\n@since [*next-version*]\n\n@param string|Stringable|null $message The error message, if any.\n@param int|null $code The error code, if any.\n@param RootException|null $previous The previous exception for chaining, if any.\n\n@return IteratingException The created exception instance.", "docstring_tokens": ["Creates", "a", "new", "iterating", "exception", "instance", "."], "sha": "093438953cb2c83309b412f9fe09211fb1d0abed", "url": "https://github.com/Dhii/iterator-base/blob/093438953cb2c83309b412f9fe09211fb1d0abed/src/CreateIteratingExceptionCapableTrait.php#L27-L30", "partition": "test"} +{"repo": "ordercloud/ordercloud-php", "path": "src/Support/OrdercloudBuilder.php", "func_name": "OrdercloudBuilder.registerComponents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register all ordercloud components on the specified Container.\n\n@param Container $container", "docstring_tokens": ["Register", "all", "ordercloud", "components", "on", "the", "specified", "Container", "."], "sha": "de4a9e060aab3848d7f86a5c6a6c08ff25dba965", "url": "https://github.com/ordercloud/ordercloud-php/blob/de4a9e060aab3848d7f86a5c6a6c08ff25dba965/src/Support/OrdercloudBuilder.php#L174-L198", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Traits/AttributeTrait.php", "func_name": "AttributeTrait.addArrayAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a array values to attribute collection.\n\n@param string $attribute\n@param array $values\n\n@return self", "docstring_tokens": ["Add", "a", "array", "values", "to", "attribute", "collection", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Traits/AttributeTrait.php#L51-L58", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Traits/AttributeTrait.php", "func_name": "AttributeTrait.changeClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change class collection values.\n\n@param string $method\n@param string $class\n\n@return self", "docstring_tokens": ["Change", "class", "collection", "values", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Traits/AttributeTrait.php#L118-L129", "partition": "test"} +{"repo": "raidros/makr", "path": "src/Traits/AttributeTrait.php", "func_name": "AttributeTrait.parseClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add classes from collection to attributes collection.\n\n@return self", "docstring_tokens": ["Add", "classes", "from", "collection", "to", "attributes", "collection", "."], "sha": "30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb", "url": "https://github.com/raidros/makr/blob/30fa0eeb89b1d98ce3fa7dbaa9136de82c7542eb/src/Traits/AttributeTrait.php#L136-L143", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/SchemaBuilderTrait.php", "func_name": "SchemaBuilderTrait.json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a JSON column.\n@return ColumnSchemaBuilder the column instance which can be further customized.\n@throws \\Reaction\\Exceptions\\Exception", "docstring_tokens": ["Creates", "a", "JSON", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/SchemaBuilderTrait.php#L266-L279", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.bindIf", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a binding if it hasn't already been registered.\n\n@param string $abstract\n@param Closure|string|null $concrete\n@param bool $shared\n\n@return IContainer", "docstring_tokens": ["Register", "a", "binding", "if", "it", "hasn", "t", "already", "been", "registered", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L181-L189", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.bindShared", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a shared Closure into the container.\n\n@param string $abstract\n@param Closure $closure\n\n@return IContainer", "docstring_tokens": ["Bind", "a", "shared", "Closure", "into", "the", "container", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L236-L241", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.rebinding", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a new callback to an abstract's rebind event.\n\n@param string $abstract\n@param Closure $callback\n\n@return mixed", "docstring_tokens": ["Bind", "a", "new", "callback", "to", "an", "abstract", "s", "rebind", "event", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L330-L340", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.isShared", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a given type is shared.\n\n@param string $abstract\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "given", "type", "is", "shared", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L503-L515", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.getClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a Closure to be used when building a type.\n\n@param string $abstract\n@param string $concrete\n\n@return Closure", "docstring_tokens": ["Get", "a", "Closure", "to", "be", "used", "when", "building", "a", "type", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L673-L681", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.addDependencyForCallParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the dependency for the given call parameter.\n\n@param ReflectionParameter $parameter\n@param array $parameters\n@param array $dependencies", "docstring_tokens": ["Get", "the", "dependency", "for", "the", "given", "call", "parameter", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L800-L814", "partition": "test"} +{"repo": "rawphp/RawContainer", "path": "src/RawPHP/RawContainer/Container.php", "func_name": "Container.getContextualConcrete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the contextual concrete binding for the given abstract.\n\n@param string $abstract\n\n@return string", "docstring_tokens": ["Get", "the", "contextual", "concrete", "binding", "for", "the", "given", "abstract", "."], "sha": "9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e", "url": "https://github.com/rawphp/RawContainer/blob/9ca56eb2537a5f7bc05a2ffa84c1ad1b99e8267e/src/RawPHP/RawContainer/Container.php#L862-L870", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php", "func_name": "MiddlewareAwareTrait.requestMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch middleware.\n\n@param Request $request The request\n@param array $middleware [optional] The middleware to dispatch\n\n@return mixed", "docstring_tokens": ["Dispatch", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php#L71-L106", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php", "func_name": "MiddlewareAwareTrait.responseMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch after request processed middleware.\n\n@param Request $request The request\n@param Response $response The response\n@param array $middleware [optional] The middleware to dispatch\n\n@return mixed", "docstring_tokens": ["Dispatch", "after", "request", "processed", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php#L117-L147", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php", "func_name": "MiddlewareAwareTrait.terminableMiddleware", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Dispatch terminable middleware.\n\n@param Request $request The request\n@param Response $response The response\n@param array $middleware [optional] The middleware to dispatch\n\n@return void", "docstring_tokens": ["Dispatch", "terminable", "middleware", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/Middleware/MiddlewareAwareTrait.php#L158-L180", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/controllers/WSDL.classic.php", "func_name": "WSDLCtrl.index", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display the web service documentation for the requested service", "docstring_tokens": ["Display", "the", "web", "service", "documentation", "for", "the", "requested", "service"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/controllers/WSDL.classic.php#L20-L53", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/controllers/WSDL.classic.php", "func_name": "WSDLCtrl.wsdl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the WSDL file for a soap web service", "docstring_tokens": ["Return", "the", "WSDL", "file", "for", "a", "soap", "web", "service"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/controllers/WSDL.classic.php#L58-L80", "partition": "test"} +{"repo": "jelix/minify-module", "path": "jminify/lib/MinifySetup.php", "func_name": "MinifySetup.initOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "set default parameters for Minify", "docstring_tokens": ["set", "default", "parameters", "for", "Minify"], "sha": "b2134a7992b8fd19c5f204e425d5953d849b2814", "url": "https://github.com/jelix/minify-module/blob/b2134a7992b8fd19c5f204e425d5953d849b2814/jminify/lib/MinifySetup.php#L20-L83", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Date/Time.php", "func_name": "Time.toTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a date and time string into timestamp\n\n@param string $date\n@param string $time\n\n@return number", "docstring_tokens": ["Converts", "a", "date", "and", "time", "string", "into", "timestamp"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Date/Time.php#L26-L34", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Date/Time.php", "func_name": "Time.fromTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a timestamp into many date infos\n\n@param int $timestamp\nThe timestamp to convert\n@param string $dateformat\nThe dateformat (Default: 'Y-m-d')\n@param string $timeformat\nThe timeformat (Default: 'H:i')\n\n@return array", "docstring_tokens": ["Converts", "a", "timestamp", "into", "many", "date", "infos"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Date/Time.php#L48-L60", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Date/Time.php", "func_name": "Time.dateConversion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts a date into another format\n\n@param string $date\n@param string $format\n\n@return string", "docstring_tokens": ["Converts", "a", "date", "into", "another", "format"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Date/Time.php#L70-L73", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Date/Time.php", "func_name": "Time.timeLeft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Calculates time left from an timestamp in the future\n\n@param int $timestamp\n@param bool $left\n\n@return string", "docstring_tokens": ["Calculates", "time", "left", "from", "an", "timestamp", "in", "the", "future"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Date/Time.php#L83-L131", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Model.php", "func_name": "Model.getProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the basic properties of the model as an array\n\n@return array", "docstring_tokens": ["Return", "the", "basic", "properties", "of", "the", "model", "as", "an", "array"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Model.php#L149-L157", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Prediction/CallTimesPrediction.php", "func_name": "CallTimesPrediction.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests that there was exact amount of calls made.\n\n@param Call[] $calls\n@param FunctionProphecy $prophecy\n\n@throws UnexpectedCallsCountException", "docstring_tokens": ["Tests", "that", "there", "was", "exact", "amount", "of", "calls", "made", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Prediction/CallTimesPrediction.php#L37-L86", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Scenario/ScenarioYamlBuilder.php", "func_name": "ScenarioYamlBuilder.parseParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To parse options, detect parameters and replace them by parameter.\n\n@param $optionValues", "docstring_tokens": ["To", "parse", "options", "detect", "parameters", "and", "replace", "them", "by", "parameter", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Scenario/ScenarioYamlBuilder.php#L103-L116", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Scenario/ScenarioYamlBuilder.php", "func_name": "ScenarioYamlBuilder.setParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To register a parameter to use during yaml parsing.\n\n@param string $parameterName\n@param $object\n\n@return ScenarioYamlBuilder", "docstring_tokens": ["To", "register", "a", "parameter", "to", "use", "during", "yaml", "parsing", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Scenario/ScenarioYamlBuilder.php#L157-L162", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/StrFilter/Trim.php", "func_name": "Trim.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strips all trailing whitespaces\n@param string|array $str Source string\n@return string Fiiltered string", "docstring_tokens": ["Strips", "all", "trailing", "whitespaces"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/StrFilter/Trim.php#L15-L30", "partition": "test"} +{"repo": "axypro/evil", "path": "Evil.php", "func_name": "Evil.breakpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs debug breakpoint and terminates the current script\n\n@param mixed $message\n@param bool $line [optional]\n@param bool $file [optional]\n@param int $status [optional]", "docstring_tokens": ["Outputs", "debug", "breakpoint", "and", "terminates", "the", "current", "script"], "sha": "736892eadc750a062286a7a0d66148b066d39084", "url": "https://github.com/axypro/evil/blob/736892eadc750a062286a7a0d66148b066d39084/Evil.php#L46-L59", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Mirror.php", "func_name": "PEAR_Command_Mirror.doDownloadAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "retrieves a list of avaible Packages from master server\nand downloads them\n\n@access public\n@param string $command the command\n@param array $options the command options before the command\n@param array $params the stuff after the command name\n@return bool true if succesful\n@throw PEAR_Error", "docstring_tokens": ["retrieves", "a", "list", "of", "avaible", "Packages", "from", "master", "server", "and", "downloads", "them"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Mirror.php#L88-L138", "partition": "test"} +{"repo": "mooti/factory", "path": "src/Factory.php", "func_name": "Factory.addInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an instance of a class. This will be returned when the user tries to create a the object\n\n@param string $className The class to create\n@param string $mockObject The class to create", "docstring_tokens": ["Add", "an", "instance", "of", "a", "class", ".", "This", "will", "be", "returned", "when", "the", "user", "tries", "to", "create", "a", "the", "object"], "sha": "c17f6ea2f0b8ce91899312cb40be4cfe568e05ef", "url": "https://github.com/mooti/factory/blob/c17f6ea2f0b8ce91899312cb40be4cfe568e05ef/src/Factory.php#L18-L24", "partition": "test"} +{"repo": "mooti/factory", "path": "src/Factory.php", "func_name": "Factory._createNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new instance of a given class\n\n@param string $className The class to create\n\n@return object The new class", "docstring_tokens": ["Create", "a", "new", "instance", "of", "a", "given", "class"], "sha": "c17f6ea2f0b8ce91899312cb40be4cfe568e05ef", "url": "https://github.com/mooti/factory/blob/c17f6ea2f0b8ce91899312cb40be4cfe568e05ef/src/Factory.php#L46-L59", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "controllers/SettingsController.php", "func_name": "SettingsController.actionProfile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Shows profile settings form.\n\n@return string|\\yii\\web\\Response", "docstring_tokens": ["Shows", "profile", "settings", "form", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/controllers/SettingsController.php#L136-L158", "partition": "test"} +{"repo": "helionogueir/shell", "path": "core/parameter/Getter.class.php", "func_name": "Getter.exist", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- Check variable exist\n@param Array $namespaces Variable namespace\n@return bool Case exist return true, or false case not exist", "docstring_tokens": ["-", "Check", "variable", "exist"], "sha": "208d38d0d1ba046aedb7ca6608c66f8f4d2994b2", "url": "https://github.com/helionogueir/shell/blob/208d38d0d1ba046aedb7ca6608c66f8f4d2994b2/core/parameter/Getter.class.php#L33-L41", "partition": "test"} +{"repo": "helionogueir/shell", "path": "core/parameter/Getter.class.php", "func_name": "Getter.variable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- Get variable by namespace\n@param Array $namespaces Variable namespace\n@return string Value of namespace", "docstring_tokens": ["-", "Get", "variable", "by", "namespace"], "sha": "208d38d0d1ba046aedb7ca6608c66f8f4d2994b2", "url": "https://github.com/helionogueir/shell/blob/208d38d0d1ba046aedb7ca6608c66f8f4d2994b2/core/parameter/Getter.class.php#L48-L62", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new instance of Response.\n\n@param string $content [optional] The response content\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Make", "a", "new", "instance", "of", "Response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L52-L55", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "View response builder.\n\n@param string $template The view template to use\n@param array $data [optional] The view data\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["View", "response", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L67-L76", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.json", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Json response builder.\n\n@param array $data [optional] The data to set\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@return \\Valkyrja\\Http\\JsonResponse", "docstring_tokens": ["Json", "response", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L87-L90", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.jsonp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "JsonP response builder.\n\n@param string $callback The jsonp callback\n@param array $data [optional] The data to set\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Http\\JsonResponse", "docstring_tokens": ["JsonP", "response", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L104-L113", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.redirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect to response builder.\n\n@param string $uri [optional] The uri to redirect to\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Redirect", "to", "response", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L124-L130", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponseBuilder.php", "func_name": "NativeResponseBuilder.route", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect to a named route response builder.\n\n@param string $route The route to match\n@param array $parameters [optional] Any parameters to set for dynamic\nroutes\n@param int $statusCode [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Redirect", "to", "a", "named", "route", "response", "builder", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponseBuilder.php#L143-L155", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Email.php", "func_name": "Email.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the valid passed in is a valid email\n\n@throws InvalidArgumentException If the value is not a valid email\n\n@param string $email The value to validate\n\n@return void", "docstring_tokens": ["Ensures", "the", "valid", "passed", "in", "is", "a", "valid", "email"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Email.php#L47-L51", "partition": "test"} +{"repo": "rezakho/khayyam", "path": "src/Khayyam/Khayyam.php", "func_name": "Khayyam.diffInYears", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the difference in years\n\n@param Carbon $dt\n@param boolean $abs Get the absolute of the difference\n\n@return integer", "docstring_tokens": ["Get", "the", "difference", "in", "years"], "sha": "ed149aed1292f869176cf3310ba7ca2e5f319226", "url": "https://github.com/rezakho/khayyam/blob/ed149aed1292f869176cf3310ba7ca2e5f319226/src/Khayyam/Khayyam.php#L1642-L1647", "partition": "test"} +{"repo": "rezakho/khayyam", "path": "src/Khayyam/Khayyam.php", "func_name": "Khayyam.diffInWeekdays", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the difference in weekdays\n\n@param Carbon $dt\n@param boolean $abs Get the absolute of the difference\n\n@return int", "docstring_tokens": ["Get", "the", "difference", "in", "weekdays"], "sha": "ed149aed1292f869176cf3310ba7ca2e5f319226", "url": "https://github.com/rezakho/khayyam/blob/ed149aed1292f869176cf3310ba7ca2e5f319226/src/Khayyam/Khayyam.php#L1731-L1736", "partition": "test"} +{"repo": "rezakho/khayyam", "path": "src/Khayyam/Khayyam.php", "func_name": "Khayyam.diffInSeconds", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the difference in seconds\n\n@param Carbon $dt\n@param boolean $abs Get the absolute of the difference\n\n@return integer", "docstring_tokens": ["Get", "the", "difference", "in", "seconds"], "sha": "ed149aed1292f869176cf3310ba7ca2e5f319226", "url": "https://github.com/rezakho/khayyam/blob/ed149aed1292f869176cf3310ba7ca2e5f319226/src/Khayyam/Khayyam.php#L1787-L1793", "partition": "test"} +{"repo": "rezakho/khayyam", "path": "src/Khayyam/Khayyam.php", "func_name": "Khayyam.diffForHumans", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the difference in a human readable format.\n\nWhen comparing a value in the past to default now:\n1 hour ago\n5 months ago\n\nWhen comparing a value in the future to default now:\n1 hour from now\n5 months from now\n\nWhen comparing a value in the past to another value:\n1 hour before\n5 months before\n\nWhen comparing a value in the future to another value:\n1 hour after\n5 months after\n\n@param Carbon $other\n@param bool $absolute removes time difference modifiers ago, after, etc\n\n@return string", "docstring_tokens": ["Get", "the", "difference", "in", "a", "human", "readable", "format", "."], "sha": "ed149aed1292f869176cf3310ba7ca2e5f319226", "url": "https://github.com/rezakho/khayyam/blob/ed149aed1292f869176cf3310ba7ca2e5f319226/src/Khayyam/Khayyam.php#L1839-L1911", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php", "func_name": "NativeCommandAnnotations.getCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the commands.\n\n@param string[] $classes The classes\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Console\\Command[]", "docstring_tokens": ["Get", "the", "commands", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php#L39-L69", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php", "func_name": "NativeCommandAnnotations.setCommandProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the properties for a command annotation.\n\n@param Annotation $annotation\n\n@throws \\ReflectionException\n\n@return void", "docstring_tokens": ["Set", "the", "properties", "for", "a", "command", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php#L80-L101", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php", "func_name": "NativeCommandAnnotations.getCommandFromAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a command from a command annotation.\n\n@param Command $command The command annotation\n\n@return \\Valkyrja\\Console\\Command", "docstring_tokens": ["Get", "a", "command", "from", "a", "command", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Annotations/NativeCommandAnnotations.php#L110-L132", "partition": "test"} +{"repo": "bariew/yii2-post-cms-module", "path": "controllers/ItemController.php", "func_name": "ItemController.storagePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets path to model uploaded files.\n@return string path to model uploaded files.\n@throws NotFoundHttpException", "docstring_tokens": ["Gets", "path", "to", "model", "uploaded", "files", "."], "sha": "b9f10d7e9e1aa27a35c130e38de81b67d3e29332", "url": "https://github.com/bariew/yii2-post-cms-module/blob/b9f10d7e9e1aa27a35c130e38de81b67d3e29332/controllers/ItemController.php#L51-L60", "partition": "test"} +{"repo": "bariew/yii2-post-cms-module", "path": "controllers/ItemController.php", "func_name": "ItemController.findModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds the Item model based on its primary key value.\nIf the model is not found, a 404 HTTP exception will be thrown.\n@param integer|boolean $id\n@param boolean $search\n@return Item|ItemSearch the loaded model\n@throws NotFoundHttpException if the model cannot be found", "docstring_tokens": ["Finds", "the", "Item", "model", "based", "on", "its", "primary", "key", "value", ".", "If", "the", "model", "is", "not", "found", "a", "404", "HTTP", "exception", "will", "be", "thrown", "."], "sha": "b9f10d7e9e1aa27a35c130e38de81b67d3e29332", "url": "https://github.com/bariew/yii2-post-cms-module/blob/b9f10d7e9e1aa27a35c130e38de81b67d3e29332/controllers/ItemController.php#L134-L147", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Task/Postinstallscript/rw.php", "func_name": "PEAR_Task_Postinstallscript_rw.getParam", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use to set up a param tag for use in creating a paramgroup\n@static", "docstring_tokens": ["Use", "to", "set", "up", "a", "param", "tag", "for", "use", "in", "creating", "a", "paramgroup"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Task/Postinstallscript/rw.php#L150-L167", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.request", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a request.\n\n@param string $method The request method\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L54-L57", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a get request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "get", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L67-L70", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a post request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "post", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L80-L83", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a head request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "head", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L93-L96", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.put", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a put request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "put", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L106-L109", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.patch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a patch request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "patch", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L119-L122", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Client/GuzzleClient.php", "func_name": "GuzzleClient.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a delete request.\n\n@param string $uri The uri to request\n@param array $options [optional] Custom options for request\n\n@return \\Psr\\Http\\Message\\ResponseInterface", "docstring_tokens": ["Make", "a", "delete", "request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Client/GuzzleClient.php#L132-L135", "partition": "test"} +{"repo": "carno-php/net", "path": "src/Chips/Endpoint/Printable.php", "func_name": "Printable.desensitization", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "hide password from dsn\n@param string $host\n@return string", "docstring_tokens": ["hide", "password", "from", "dsn"], "sha": "a8240db835984a2e544f89fbc63c67b288f27c20", "url": "https://github.com/carno-php/net/blob/a8240db835984a2e544f89fbc63c67b288f27c20/src/Chips/Endpoint/Printable.php#L33-L40", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Date/Timer.php", "func_name": "Timer.checkpoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new named checkpoint which measures the time between now and the last checkpooint.\n\n@param string $name", "docstring_tokens": ["Adds", "a", "new", "named", "checkpoint", "which", "measures", "the", "time", "between", "now", "and", "the", "last", "checkpooint", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Date/Timer.php#L81-L84", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/Model.php", "func_name": "Model.mergeWithData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Merge current data with provided\n@param $data", "docstring_tokens": ["Merge", "current", "data", "with", "provided"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/Model.php#L197-L207", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Reader/FileReader.php", "func_name": "FileReader.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method reads the configuration from a file.\n\n@param array $options - Options.\n\n@throws MissingOptionException\n@throws InvalidOptionTypeException\n@throws FileDoesNotExistException\n@throws FileIsNotReadableException\n\n@return array", "docstring_tokens": ["This", "method", "reads", "the", "configuration", "from", "a", "file", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Reader/FileReader.php#L58-L79", "partition": "test"} +{"repo": "mvalim/package-utils", "path": "src/Container.php", "func_name": "Container.package", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a given package instance\n\n@param $name\n@return Package\n@throws PackageNotDefinedException", "docstring_tokens": ["Return", "a", "given", "package", "instance"], "sha": "d065feeee2730bbefc91172003c322a937f5ce88", "url": "https://github.com/mvalim/package-utils/blob/d065feeee2730bbefc91172003c322a937f5ce88/src/Container.php#L59-L66", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.init_pub", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this is only to be called when static publishing is starting", "docstring_tokens": ["this", "is", "only", "to", "be", "called", "when", "static", "publishing", "is", "starting"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L47-L58", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.clear_init_code", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "resets the init code to the base config file", "docstring_tokens": ["resets", "the", "init", "code", "to", "the", "base", "config", "file"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L73-L81", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.get_init_code", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Outputs the static config code if needed. This should be placed in a function in Page_Controller and called from template.", "docstring_tokens": ["Outputs", "the", "static", "config", "code", "if", "needed", ".", "This", "should", "be", "placed", "in", "a", "function", "in", "Page_Controller", "and", "called", "from", "template", "."], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L87-L122", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.eval_php", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "evaluates the given php code unless we're currently publishing, in which case it\nreturns php code that will echo the return value of the eval'd code.\n\n@param string $code\n@return string", "docstring_tokens": ["evaluates", "the", "given", "php", "code", "unless", "we", "re", "currently", "publishing", "in", "which", "case", "it", "returns", "php", "code", "that", "will", "echo", "the", "return", "value", "of", "the", "eval", "d", "code", "."], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L168-L177", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.init_template_paths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets up the default template paths", "docstring_tokens": ["Sets", "up", "the", "default", "template", "paths"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L251-L257", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.add_template_path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Path should be relative to BASE_PATH\n@param string $path", "docstring_tokens": ["Path", "should", "be", "relative", "to", "BASE_PATH"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L273-L282", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LivePubHelper.php", "func_name": "LivePubHelper.wrap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "factory method to create a new wrapper object. if we're\nstatic publishing and an appropriate helper class is\navailable it will use that instead. A helper class shouldn't\nbe needed very often but would be used if you wanted a totally\ndifferent class for publishing vs normal mode\n\n@param object|array $object\n@param string $class - what class to wrap it in\n@param boolean $add_init_code [optional] - if true, the classes default static init code will be added automatically\n@return ViewableWrapper", "docstring_tokens": ["factory", "method", "to", "create", "a", "new", "wrapper", "object", ".", "if", "we", "re", "static", "publishing", "and", "an", "appropriate", "helper", "class", "is", "available", "it", "will", "use", "that", "instead", ".", "A", "helper", "class", "shouldn", "t", "be", "needed", "very", "often", "but", "would", "be", "used", "if", "you", "wanted", "a", "totally", "different", "class", "for", "publishing", "vs", "normal", "mode"], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LivePubHelper.php#L297-L314", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.getSchemaNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all schema names in the database, except system schemas.\n@param bool $refresh whether to fetch the latest available schema names. If this is false,\nschema names fetched previously (if available) will be returned.\n@return ExtendedPromiseInterface with string[] all schema names in the database, except system schemas.", "docstring_tokens": ["Returns", "all", "schema", "names", "in", "the", "database", "except", "system", "schemas", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L190-L202", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.getTableNames", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all table names in the database.\n@param string $schema the schema of the tables. Defaults to empty string, meaning the current or default schema name.\nIf not empty, the returned table names will be prefixed with the schema name.\n@param bool $refresh whether to fetch the latest available table names. If this is false,\ntable names fetched previously (if available) will be returned.\n@return ExtendedPromiseInterface with string[] all table names in the database.", "docstring_tokens": ["Returns", "all", "table", "names", "in", "the", "database", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L212-L224", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.refreshTableMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Refresh table schema, indexes, primary key and other metadata\n@param string $tableName\n@param bool $nameIsRaw\n@return ExtendedPromiseInterface", "docstring_tokens": ["Refresh", "table", "schema", "indexes", "primary", "key", "and", "other", "metadata"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L427-L437", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.getTableMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get table metadata\n@param string $name\n@param string $type\n@param bool $refresh\n@return TableSchema|Constraint|Constraint[]|IndexConstraint[]|ForeignKeyConstraint[]|DefaultValueConstraint[]|CheckConstraint[]|null", "docstring_tokens": ["Get", "table", "metadata"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L489-L499", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.getTableMetadataRaw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get table metadata from DB\n@param string $name\n@param string $type\n@param bool $refresh\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "table", "metadata", "from", "DB"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L525-L537", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.setTableMetadata", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the metadata of the given type for the given table.\n@param string $name table name.\n@param string $type metadata type.\n@param mixed $data metadata.", "docstring_tokens": ["Sets", "the", "metadata", "of", "the", "given", "type", "for", "the", "given", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L590-L595", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Schema.php", "func_name": "Schema.getCacheKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the cache key for the specified table name.\n@param string $name the table name.\n@return mixed the cache key.", "docstring_tokens": ["Returns", "the", "cache", "key", "for", "the", "specified", "table", "name", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Schema.php#L677-L685", "partition": "test"} +{"repo": "joegreen88/zf1-component-cache", "path": "src/Zend/Cache/Backend.php", "func_name": "Zend_Cache_Backend.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an option\n\n@param string $name Optional, the options name to return\n@throws Zend_Cache_Exceptions\n@return mixed", "docstring_tokens": ["Returns", "an", "option"], "sha": "f464720c61b7ba6af6835d0b375c87f9efdee06e", "url": "https://github.com/joegreen88/zf1-component-cache/blob/f464720c61b7ba6af6835d0b375c87f9efdee06e/src/Zend/Cache/Backend.php#L121-L134", "partition": "test"} +{"repo": "joegreen88/zf1-component-cache", "path": "src/Zend/Cache/Backend.php", "func_name": "Zend_Cache_Backend.getTmpDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine system TMP directory and detect if we have read access\n\ninspired from Zend_File_Transfer_Adapter_Abstract\n\n@return string\n@throws Zend_Cache_Exception if unable to determine directory", "docstring_tokens": ["Determine", "system", "TMP", "directory", "and", "detect", "if", "we", "have", "read", "access"], "sha": "f464720c61b7ba6af6835d0b375c87f9efdee06e", "url": "https://github.com/joegreen88/zf1-component-cache/blob/f464720c61b7ba6af6835d0b375c87f9efdee06e/src/Zend/Cache/Backend.php#L174-L220", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "migrations/RbacMigration.php", "func_name": "RbacMigration.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize migrations.\nCalls parent init method, then loads current authManager instance.\n\n@return DbManager\n@throws yii\\base\\InvalidConfigException", "docstring_tokens": ["Initialize", "migrations", ".", "Calls", "parent", "init", "method", "then", "loads", "current", "authManager", "instance", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/migrations/RbacMigration.php#L35-L41", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "migrations/RbacMigration.php", "func_name": "RbacMigration.createRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create role.\nIf role already exists doesn nothing.\n\n@param string $name Role name\n@param string $description Role description\n@return \\yii\\rbac\\Permission the new Permission object", "docstring_tokens": ["Create", "role", ".", "If", "role", "already", "exists", "doesn", "nothing", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/migrations/RbacMigration.php#L51-L61", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "migrations/RbacMigration.php", "func_name": "RbacMigration.assignChildRole", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Assigns child role to parent\n\n@param string $parent Parent role name\n@param string $child Child role name", "docstring_tokens": ["Assigns", "child", "role", "to", "parent"], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/migrations/RbacMigration.php#L69-L76", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Registry/MockRegistry.php", "func_name": "MockRegistry.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a new function prophecy into the registry\n\n@param FunctionProphecy $prophecy\n\n@return $this\n\n@throws \\Exception", "docstring_tokens": ["Register", "a", "new", "function", "prophecy", "into", "the", "registry"], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Registry/MockRegistry.php#L56-L71", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Registry/MockRegistry.php", "func_name": "MockRegistry.call", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Call the registered function mock\n\n@param string $name The fully-qualified function name\n@param string $uqfn The unqualified function name\n@param array $args\n\n@return mixed\n@throws \\Exception\n\n@internal", "docstring_tokens": ["Call", "the", "registered", "function", "mock"], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Registry/MockRegistry.php#L85-L92", "partition": "test"} +{"repo": "strike101/di", "path": "src/ParameterBag.php", "func_name": "ParameterBag.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parameter value\n\n@param string $key The parameter key\n\n@return mixed\n\n@throws ParameterNotFoundException", "docstring_tokens": ["Get", "parameter", "value"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/ParameterBag.php#L53-L62", "partition": "test"} +{"repo": "strike101/di", "path": "src/ParameterBag.php", "func_name": "ParameterBag.resolveString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolves parameters inside a string\n\n@param string $value The string to resolve\n@param array $resolving An array of keys that are being resolved (used internally to detect circular references)\n\n@return string The resolved string\n\n@throws ParameterCircularReferenceException\n@throws RuntimeException", "docstring_tokens": ["Resolves", "parameters", "inside", "a", "string"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/ParameterBag.php#L195-L228", "partition": "test"} +{"repo": "alct/noapi", "path": "src/Twitter.php", "func_name": "Twitter.queryToMeta", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a query to an associative array of metadata.\n\n@see doc/Twitter.md\n\n@param string $query\n\n@return array with the following structure:\n(array)\ntype (string) hashtag, search or user\nurl (string) URL of the target page\nquery (string)", "docstring_tokens": ["Convert", "a", "query", "to", "an", "associative", "array", "of", "metadata", "."], "sha": "de0b21a1a55988ce4b62e4e954c444111bc0e8ce", "url": "https://github.com/alct/noapi/blob/de0b21a1a55988ce4b62e4e954c444111bc0e8ce/src/Twitter.php#L179-L205", "partition": "test"} +{"repo": "alct/noapi", "path": "src/Twitter.php", "func_name": "Twitter.twitter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download and parse the twitter page corresponding to a query.\n\n@see doc/Twitter.md\n@see Twitter::queryToMeta()\n\n@param string $query\n\n@return array|bool false on error", "docstring_tokens": ["Download", "and", "parse", "the", "twitter", "page", "corresponding", "to", "a", "query", "."], "sha": "de0b21a1a55988ce4b62e4e954c444111bc0e8ce", "url": "https://github.com/alct/noapi/blob/de0b21a1a55988ce4b62e4e954c444111bc0e8ce/src/Twitter.php#L217-L224", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Tabs.php", "func_name": "Tabs.renderPanes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders tab panes.\n\n@param array $panes\n@return string the rendering result.", "docstring_tokens": ["Renders", "tab", "panes", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Tabs.php#L320-L323", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "models/RegistrationForm.php", "func_name": "RegistrationForm.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a new user account. If registration was successful it will set flash message.\n\n@return bool", "docstring_tokens": ["Registers", "a", "new", "user", "account", ".", "If", "registration", "was", "successful", "it", "will", "set", "flash", "message", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/models/RegistrationForm.php#L99-L118", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Mcrypt.php", "func_name": "Zend_Filter_Encrypt_Mcrypt.setVector", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the initialization vector\n\n@param string $vector (Optional) Vector to set\n@return Zend_Filter_Encrypt_Mcrypt", "docstring_tokens": ["Sets", "the", "initialization", "vector"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Mcrypt.php#L165-L192", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Mcrypt.php", "func_name": "Zend_Filter_Encrypt_Mcrypt._openCipher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open a cipher\n\n@throws Zend_Filter_Exception When the cipher can not be opened\n@return resource Returns the opened cipher", "docstring_tokens": ["Open", "a", "cipher"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Mcrypt.php#L288-L302", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Encrypt/Mcrypt.php", "func_name": "Zend_Filter_Encrypt_Mcrypt._initCipher", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialises the cipher with the set key\n\n@param resource $cipher\n@throws\n@return resource", "docstring_tokens": ["Initialises", "the", "cipher", "with", "the", "set", "key"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Encrypt/Mcrypt.php#L324-L345", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Takes credentials and URLs, checks credentials and gets tokens.\nReturns an account with their credentials.\n\n@param array $clientCredentials\n@param array $endPoints\n@param string $userDataUrl\n@return object", "docstring_tokens": ["Takes", "credentials", "and", "URLs", "checks", "credentials", "and", "gets", "tokens", ".", "Returns", "an", "account", "with", "their", "credentials", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L44-L61", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.verifyCredentials", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the token credentials and returns an object with its account data.\n\n@param array $tokenCredentials\n@param string $userDataUrl\n@return object", "docstring_tokens": ["Checks", "the", "token", "credentials", "and", "returns", "an", "object", "with", "its", "account", "data", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L77-L90", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.fetchUserData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes the http request to the \"checkUrl\", and gets an object with account data.\nAdditionally it adds token credentials data to the object by if needed.\n\n@param string $userDataUrl\n@return object", "docstring_tokens": ["Makes", "the", "http", "request", "to", "the", "checkUrl", "and", "gets", "an", "object", "with", "account", "data", ".", "Additionally", "it", "adds", "token", "credentials", "data", "to", "the", "object", "by", "if", "needed", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L150-L166", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.newAuthExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Object builder to create auth plugin extension for request client.\nIn this case, it creates GuzzleAuth object by default.\n\n@param \\RestGalleries\\Http\\RequestPluginAdapter $authExtension\n@return \\RestGalleries\\Http\\RequestPluginAdapter", "docstring_tokens": ["Object", "builder", "to", "create", "auth", "plugin", "extension", "for", "request", "client", ".", "In", "this", "case", "it", "creates", "GuzzleAuth", "object", "by", "default", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L192-L200", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.addDataTokens", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add token credentials to the object.\n\n@param object $object\n@param array $tokens\n@return void", "docstring_tokens": ["Add", "token", "credentials", "to", "the", "object", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L209-L219", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.getAuthProtocol", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks the credentials and returns the name of the auth system used, if credentials are not founds, returns false.\n\n@param array $credentials\n@return string|boolean", "docstring_tokens": ["Checks", "the", "credentials", "and", "returns", "the", "name", "of", "the", "auth", "system", "used", "if", "credentials", "are", "not", "founds", "returns", "false", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L227-L242", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.isOauth1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the credentials are using OAuth1.0.\n\n@param array $credentials\n@return boolean", "docstring_tokens": ["Checks", "if", "the", "credentials", "are", "using", "OAuth1", ".", "0", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L250-L261", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Auth/Auth.php", "func_name": "Auth.isOauth2", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if the credentials are using OAuth2.0.\n\n@param array $credentials\n@return boolean", "docstring_tokens": ["Checks", "if", "the", "credentials", "are", "using", "OAuth2", ".", "0", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Auth/Auth.php#L269-L280", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeStream.php", "func_name": "NativeStream.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Closes the stream and any underlying resources.\n\n@return void", "docstring_tokens": ["Closes", "the", "stream", "and", "any", "underlying", "resources", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeStream.php#L89-L102", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeStream.php", "func_name": "NativeStream.attach", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Attaches a new stream.\n\n@param string $stream The stream\n@param string $mode [optional] The mode\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStream\n\n@return void", "docstring_tokens": ["Attaches", "a", "new", "stream", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeStream.php#L129-L132", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeStream.php", "func_name": "NativeStream.getContents", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the remaining contents in a string.\n\n@throws \\RuntimeException\nif unable to read or an error occurs while reading.\n\n@return string", "docstring_tokens": ["Returns", "the", "remaining", "contents", "in", "a", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeStream.php#L420-L438", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeStream.php", "func_name": "NativeStream.setStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the stream.\n\n@param string $stream The stream\n@param string $mode [optional] The mode\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStream\n\n@return void", "docstring_tokens": ["Set", "the", "stream", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeStream.php#L478-L499", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Writer/FileWriter.php", "func_name": "FileWriter.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method writes the configuration to a file.\n\n@param array $data - Data.\n@param array $options - Options.\n\n@throws \\InvalidArgumentException\n\n@return array", "docstring_tokens": ["This", "method", "writes", "the", "configuration", "to", "a", "file", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Writer/FileWriter.php#L52-L70", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Transaction/Controller/Transaction.php", "func_name": "Transaction.getAccountVirtual", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get virtual account. Return empty account instance if no account id virtual is given.\n\n@return Account\n@throws \\Exception", "docstring_tokens": ["Get", "virtual", "account", ".", "Return", "empty", "account", "instance", "if", "no", "account", "id", "virtual", "is", "given", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Transaction/Controller/Transaction.php#L484-L511", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Transaction/Controller/Transaction.php", "func_name": "Transaction.getPreviousAccount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get previous account.\n\n@param int $previousId\n@return Account", "docstring_tokens": ["Get", "previous", "account", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Transaction/Controller/Transaction.php#L519-L528", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Module/Transaction/Controller/Transaction.php", "func_name": "Transaction.updateAccountVirtual", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update virtual account\n\n@param Account $account\n@param Account $previousAccount\n@param float $amount\n@param float $previousAmount\n@return void", "docstring_tokens": ["Update", "virtual", "account"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Module/Transaction/Controller/Transaction.php#L539-L556", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enables query cache for this command.\n@param int $duration the number of seconds that query result of this command can remain valid in the cache.\nIf this is not set, the value of [[DatabaseInterface::queryCacheDuration]] will be used instead.\nUse 0 to indicate that the cached data will never expire.\n@return $this the command object itself", "docstring_tokens": ["Enables", "query", "cache", "for", "this", "command", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L63-L67", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.setConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set connection to use with\n@param ConnectionInterface|TransactionInterface|null $connection\n@return $this this command instance", "docstring_tokens": ["Set", "connection", "to", "use", "with"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L98-L113", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.fetchResultsRow", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch results row\n@param array $row\n@param string $fetchMethod\n@param string $fetchMode\n@param int $colIndex\n@return array|null|object\n@internal", "docstring_tokens": ["Fetch", "results", "row"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L278-L288", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.insertAndReturn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an INSERT command with RETURNING statement.\n\nFor example,\n\n```php\n$connection->createCommand()->insertAndReturn('user', [\n'name' => 'Sam',\n'age' => 30,\n])->execute();\n```\n\nThe method will properly escape the column names, and bind the values to be inserted.\n\nNote that the created command is not executed until [[execute()]] is called.\n\n@param string $table the table that new rows will be inserted into.\n@param array|\\Reaction\\Db\\Query $columns the column data (name => value) to be inserted into the table or instance\nof [[Reaction\\Db\\Query|Query]] to perform INSERT INTO ... SELECT SQL statement.\n@return $this the command object itself", "docstring_tokens": ["Creates", "an", "INSERT", "command", "with", "RETURNING", "statement", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L361-L375", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the SQL statement.\nThis method should only be used for executing non-query SQL statement, such as `INSERT`, `DELETE`, `UPDATE` SQLs.\nNo result set will be returned.\n@param bool $lazy Use LazyPromise\n@return ExtendedPromiseInterface|LazyPromiseInterface", "docstring_tokens": ["Executes", "the", "SQL", "statement", ".", "This", "method", "should", "only", "be", "used", "for", "executing", "non", "-", "query", "SQL", "statement", "such", "as", "INSERT", "DELETE", "UPDATE", "SQLs", ".", "No", "result", "set", "will", "be", "returned", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L959-L981", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.logQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Logs the current database query if query logging is enabled and returns\nthe profiling token if profiling is enabled.\n@param string $category the log category.\n@return array array of two elements, the first is boolean of whether profiling is enabled or not.\nThe second is the rawSql if it has been created.", "docstring_tokens": ["Logs", "the", "current", "database", "query", "if", "query", "logging", "is", "enabled", "and", "returns", "the", "profiling", "token", "if", "profiling", "is", "enabled", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L992-L1004", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.queryScalar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the SQL statement and returns the value of the first column in the first row of data.\nThis method is best used when only a single value is needed for a query.\n@return LazyPromiseInterface the value of the first column in the first row of the query result.\nFalse is returned if there is no value.", "docstring_tokens": ["Executes", "the", "SQL", "statement", "and", "returns", "the", "value", "of", "the", "first", "column", "in", "the", "first", "row", "of", "data", ".", "This", "method", "is", "best", "used", "when", "only", "a", "single", "value", "is", "needed", "for", "a", "query", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L1072-L1082", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.queryInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Performs the actual DB query of a SQL statement.\n@param string $fetchMethod method of PDOStatement to be called\n@param int $fetchMode the result fetch mode. Please refer to [PHP manual](http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php)\nfor valid fetch modes. If this parameter is null, the value set in [[fetchMode]] will be used.\n@param bool $lazy Use LazyPromise\n@return ExtendedPromiseInterface|LazyPromiseInterface with the method execution result", "docstring_tokens": ["Performs", "the", "actual", "DB", "query", "of", "a", "SQL", "statement", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L1103-L1133", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.checkQueryByPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check query string by pattern\n@param string $pattern\n@param string|null $sql\n@return bool\n@internal", "docstring_tokens": ["Check", "query", "string", "by", "pattern"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L1187-L1195", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Command.php", "func_name": "Command.internalExecute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute SQL statement internally\n@param string $sql\n@param array $params\n@param bool $lazy\n@return ExtendedPromiseInterface", "docstring_tokens": ["Execute", "SQL", "statement", "internally"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Command.php#L1204-L1209", "partition": "test"} +{"repo": "vaccuum/dispatcher", "path": "source/Traits/TClosureInvocation.php", "func_name": "TClosureInvocation.invokeClosure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invoke closure using arguments.\n\n@param array $arguments\n@param Closure $action\n\n@throws DispatcherException\n@return mixed", "docstring_tokens": ["Invoke", "closure", "using", "arguments", "."], "sha": "21465a880fbef2f6c40e9668e16f235c9afc3faa", "url": "https://github.com/vaccuum/dispatcher/blob/21465a880fbef2f6c40e9668e16f235c9afc3faa/source/Traits/TClosureInvocation.php#L18-L41", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Config.php", "func_name": "PEAR_Command_Config._checkLayer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if a layer is defined or not\n\n@param string $layer The layer to search for\n@return mixed False on no error or the error message", "docstring_tokens": ["Checks", "if", "a", "layer", "is", "defined", "or", "not"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Config.php#L403-L413", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/FrontController.php", "func_name": "FrontController.prepareDom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the required DOM IDs used by the global template\n\n@return self", "docstring_tokens": ["Prepare", "the", "required", "DOM", "IDs", "used", "by", "the", "global", "template"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/FrontController.php#L134-L143", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/FrontController.php", "func_name": "FrontController.distribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Distribute the current request route\n\n@return void", "docstring_tokens": ["Distribute", "the", "current", "request", "route"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/FrontController.php#L150-L207", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/FrontController.php", "func_name": "FrontController.renderError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render an application error page view\n\n@param array $params An array of the parameters passed for the view parsing (passed by reference)\n@param int $code The error code\n@param null/string $exception The exception info\n@return mixed\n@see self::render()\n@see self::view()", "docstring_tokens": ["Render", "an", "application", "error", "page", "view"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/FrontController.php#L428-L468", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/FrontController.php", "func_name": "FrontController.renderDebug", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a debug application page view\n\n@param array $params An array of the parameters passed for the view parsing (passed by reference)\n@param string/array $dbg Which object variable to debug (default is 'all')\n@param bool $parse_template Parse the debug template or not (default is TRUE)\n@return string\n@see self::render()", "docstring_tokens": ["Render", "a", "debug", "application", "page", "view"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/FrontController.php#L484-L516", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/FrontController.php", "func_name": "FrontController.view", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a view\n\n@param string $view The view filename in `$views_dir`\n@param array $params An array of the parameters passed for the view parsing\n@param bool $display Display the view or return it (default is FALSE)\n@param bool $exit Exit after rendering (default is FALSE)\n@return string|void\n@see \\TemplateEngine\\TemplateEngine::render()", "docstring_tokens": ["Render", "a", "view"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/FrontController.php#L554-L578", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/CannedResponsePlugin.php", "func_name": "CannedResponsePlugin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init the plugin and start listening to messages", "docstring_tokens": ["Init", "the", "plugin", "and", "start", "listening", "to", "messages"], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/CannedResponsePlugin.php#L25-L46", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/CannedResponsePlugin.php", "func_name": "CannedResponsePlugin.addResponses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up all the canned responses", "docstring_tokens": ["Set", "up", "all", "the", "canned", "responses"], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/CannedResponsePlugin.php#L51-L77", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/ShortCodesProcessor.php", "func_name": "ShortCodesProcessor.registerShortCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register short code\n\n@param string $tag tag name\n@param callable $callback callback that will be triggered when tag will be processed\n\n@return $this", "docstring_tokens": ["Register", "short", "code"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/ShortCodesProcessor.php#L33-L40", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/ShortCodesProcessor.php", "func_name": "ShortCodesProcessor.removeShortCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove short code\n\n@param string $tag tag to be removed\n\n@return $this", "docstring_tokens": ["Remove", "short", "code"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/ShortCodesProcessor.php#L49-L56", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/ShortCodesProcessor.php", "func_name": "ShortCodesProcessor.parseShortCodeTag", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse short code tag\n\n@param array $matches\n\n@return string", "docstring_tokens": ["Parse", "short", "code", "tag"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/ShortCodesProcessor.php#L132-L161", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/ShortCodesProcessor.php", "func_name": "ShortCodesProcessor.parseShortCodeAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse short code attributes\n\n@param string $text short code attributes\n\n@return array|string", "docstring_tokens": ["Parse", "short", "code", "attributes"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/ShortCodesProcessor.php#L170-L196", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST/10.php", "func_name": "PEAR_REST_10.getDownloadURL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve information about a remote package to be downloaded from a REST server\n\n@param string $base The uri to prepend to all REST calls\n@param array $packageinfo an array of format:\n
\narray(\n'package' => 'packagename',\n'channel' => 'channelname',\n['state' => 'alpha' (or valid state),]\n-or-\n['version' => '1.whatever']\n
\n@param string $prefstate Current preferred_state config variable value\n@param bool $installed the installed version of this package to compare against\n@return array|false|PEAR_Error see {@link _returnDownloadURL()}", "docstring_tokens": ["Retrieve", "information", "about", "a", "remote", "package", "to", "be", "downloaded", "from", "a", "REST", "server"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST/10.php#L62-L122", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST/10.php", "func_name": "PEAR_REST_10.listCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "List a category of a REST server\n\n@param string $base base URL of the server\n@param string $category name of the category\n@param boolean $info also download full package info\n@return array of packagenames", "docstring_tokens": ["List", "a", "category", "of", "a", "REST", "server"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST/10.php#L436-L480", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST/10.php", "func_name": "PEAR_REST_10._sortReleasesByVersionNumber", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort releases by version number\n\n@access private", "docstring_tokens": ["Sort", "releases", "by", "version", "number"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST/10.php#L857-L870", "partition": "test"} +{"repo": "gnkam/autobus", "path": "src/Gnkam/Autobus/Stac/ScheduleReceiver.php", "func_name": "ScheduleReceiver.getArrayData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get array for an id\n@param integer $id Line id\n@param integer $sens 1 or 2\n@param DateTime $date Schedule date\n@return array Schedule in array representation", "docstring_tokens": ["Get", "array", "for", "an", "id"], "sha": "b87d87fff611e2a84f92db0b8045436d7d7a5f6b", "url": "https://github.com/gnkam/autobus/blob/b87d87fff611e2a84f92db0b8045436d7d7a5f6b/src/Gnkam/Autobus/Stac/ScheduleReceiver.php#L51-L64", "partition": "test"} +{"repo": "gnkam/autobus", "path": "src/Gnkam/Autobus/Stac/ScheduleReceiver.php", "func_name": "ScheduleReceiver.allHours", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all hours in an array\n@return array Schedules line informations", "docstring_tokens": ["Get", "all", "hours", "in", "an", "array"], "sha": "b87d87fff611e2a84f92db0b8045436d7d7a5f6b", "url": "https://github.com/gnkam/autobus/blob/b87d87fff611e2a84f92db0b8045436d7d7a5f6b/src/Gnkam/Autobus/Stac/ScheduleReceiver.php#L70-L126", "partition": "test"} +{"repo": "gnkam/autobus", "path": "src/Gnkam/Autobus/Stac/ScheduleReceiver.php", "func_name": "ScheduleReceiver.parser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a page\n@param string $page Page to parse\n@return array Schedule line informations for a page", "docstring_tokens": ["Parse", "a", "page"], "sha": "b87d87fff611e2a84f92db0b8045436d7d7a5f6b", "url": "https://github.com/gnkam/autobus/blob/b87d87fff611e2a84f92db0b8045436d7d7a5f6b/src/Gnkam/Autobus/Stac/ScheduleReceiver.php#L133-L184", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/AccountMapper.php", "func_name": "AccountMapper.findAllAccountByUserId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of account for given user.\n\n@param int $userId\n@param bool $excludeVirtual\n@return \\Eureka\\Package\\Money\\DataMapper\\Data\\Money\\Account[]", "docstring_tokens": ["Get", "list", "of", "account", "for", "given", "user", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/AccountMapper.php#L33-L49", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.applicationMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The application message.\n\n@return void", "docstring_tokens": ["The", "application", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L101-L110", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.usageMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The usage message and description.\n\n@param string $message [optional] The usage to use instead of default\n\n@return void", "docstring_tokens": ["The", "usage", "message", "and", "description", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L133-L140", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.usagePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the usage path.\n\n@return string", "docstring_tokens": ["Get", "the", "usage", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L147-L165", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.argumentsSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The arguments section.\n\n@param Argument[] ...$arguments The argument\n\n@return void", "docstring_tokens": ["The", "arguments", "section", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L174-L200", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.optionsSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The options section.\n\n@param Option[] ...$options The options\n\n@return void", "docstring_tokens": ["The", "options", "section", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L209-L236", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/CommandHandler.php", "func_name": "CommandHandler.getOptionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an options name for the options section.\n\n@param Option $option The option\n\n@return string", "docstring_tokens": ["Get", "an", "options", "name", "for", "the", "options", "section", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/CommandHandler.php#L245-L258", "partition": "test"} +{"repo": "granam/granam-dice-rolls", "path": "Granam/DiceRolls/Templates/Rollers/Roller2d6DrdPlus.php", "func_name": "Roller2d6DrdPlus.generateRoll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Warning! This will generate roll history randomly\n\n@param int|IntegerInterface $rollSummary\n@return Roll2d6DrdPlus\n@throws \\Granam\\Integer\\Tools\\Exceptions\\WrongParameterType\n@throws \\Granam\\Integer\\Tools\\Exceptions\\ValueLostOnCast", "docstring_tokens": ["Warning!", "This", "will", "generate", "roll", "history", "randomly"], "sha": "37add9ad1b7a0ae7659a6761e5e18a33ae6eb480", "url": "https://github.com/granam/granam-dice-rolls/blob/37add9ad1b7a0ae7659a6761e5e18a33ae6eb480/Granam/DiceRolls/Templates/Rollers/Roller2d6DrdPlus.php#L77-L118", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.columns", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the table columns to retrieve\n\n@param array $columns array list of columns, key are used as aliases\n@param boolean $prefixColumnsWithTable\n@return TableSearch", "docstring_tokens": ["Set", "the", "table", "columns", "to", "retrieve"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L77-L82", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.having", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a habing option\n\n@param Where|\\Closure|string|array $predicate\n@param string $combination One of the OP_* constants from Predicate\\PredicateSet\n@return Select\n\n@return TableSearch", "docstring_tokens": ["Set", "a", "habing", "option"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L120-L124", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a where condition\n\n@param Where|\\Closure|string|array|Predicate\\PredicateInterface $predicate\n@param string $combination One of the OP_* constants from Zend\\Db\\Sql\\Predicate\\PredicateSet\n@throws Zend\\Db\\Sql\\Exception\\InvalidArgumentException\n@return TableSearch", "docstring_tokens": ["Add", "a", "where", "condition"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L147-L151", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.join", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an inner table join to the search\n\n@param string|array $table\n@param string $on\n@param string|array $columns by default won't retrieve any column from the joined table\n@return TableSearch", "docstring_tokens": ["Add", "an", "inner", "table", "join", "to", "the", "search"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L175-L184", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.joinLeft", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an left outer table join to the search\n\n@param string|array $table\n@param string $on\n@param string|array $columns by default won't retrieve any column from the joined table\n@return TableSearch", "docstring_tokens": ["Add", "an", "left", "outer", "table", "join", "to", "the", "search"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L194-L199", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.joinRight", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an right outer table join to the search\n\n@param string|array $table\n@param string $on\n@param string|array $columns by default won't retrieve any column from the joined table\n@return TableSearch", "docstring_tokens": ["Add", "an", "right", "outer", "table", "join", "to", "the", "search"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L211-L216", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.getSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return SQL string\n\n@return string", "docstring_tokens": ["Return", "SQL", "string"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L235-L239", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return record as an array\n\n@return ResultSet", "docstring_tokens": ["Return", "record", "as", "an", "array"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L269-L273", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/TableSearch.php", "func_name": "TableSearch.prefixTableJoinCondition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prefix table join condition\n\n@param string|array $table\n@return array|string", "docstring_tokens": ["Prefix", "table", "join", "condition"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/TableSearch.php#L330-L342", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Support/Collection.php", "func_name": "Collection.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a single item from the collection.\n\n@param string $key The key to get\n@param mixed $default [optional] The default value\n\n@return mixed", "docstring_tokens": ["Get", "a", "single", "item", "from", "the", "collection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Support/Collection.php#L46-L51", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Support/Collection.php", "func_name": "Collection.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a new item into the collection.\n\n@param string $key The key\n@param mixed $value The value\n\n@return self", "docstring_tokens": ["Set", "a", "new", "item", "into", "the", "collection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Support/Collection.php#L85-L90", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Support/Collection.php", "func_name": "Collection.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an item from the collection.\n\n@param string $key The key\n\n@return self", "docstring_tokens": ["Remove", "an", "item", "from", "the", "collection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Support/Collection.php#L99-L108", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/SQL.php", "func_name": "SQL.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile INSERT INTO\n\n@param string $table\n@param array $set\n@return array", "docstring_tokens": ["Compile", "INSERT", "INTO"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/SQL.php#L61-L77", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.PEAR_ErrorStack", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set up a new error stack\n\n@param string $package name of the package this error stack represents\n@param callback $msgCallback callback used for error message generation\n@param callback $contextCallback callback used for context generation,\ndefaults to {@link getFileLine()}\n@param boolean $throwPEAR_Error", "docstring_tokens": ["Set", "up", "a", "new", "error", "stack"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L233-L240", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a single error stack for this package.\n\nNote that all parameters are ignored if the stack for package $package\nhas already been instantiated\n@param string $package name of the package this error stack represents\n@param callback $msgCallback callback used for error message generation\n@param callback $contextCallback callback used for context generation,\ndefaults to {@link getFileLine()}\n@param boolean $throwPEAR_Error\n@param string $stackClass class to instantiate\n@static\n@return PEAR_ErrorStack", "docstring_tokens": ["Return", "a", "single", "error", "stack", "for", "this", "package", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L256-L275", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack._handleError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal error handler for PEAR_ErrorStack class\n\nDies if the error is an exception (and would have died anyway)\n@access private", "docstring_tokens": ["Internal", "error", "handler", "for", "PEAR_ErrorStack", "class"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L283-L295", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.setMessageCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an error code => error message mapping callback\n\nThis method sets the callback that can be used to generate error\nmessages for any instance\n@param array|string Callback function/method", "docstring_tokens": ["Set", "an", "error", "code", "=", ">", "error", "message", "mapping", "callback"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L331-L340", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.setDefaultCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a default callback to be used by all error stacks\n\nThis method sets the callback that can be used to generate error\nmessages for a singleton\n@param array|string Callback function/method\n@param string Package name, or false for all packages\n@static", "docstring_tokens": ["Sets", "a", "default", "callback", "to", "be", "used", "by", "all", "error", "stacks"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L363-L370", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.pop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pop an error off of the error stack\n\n@return false|array\n@since 0.4alpha it is no longer possible to specify a specific error\nlevel to return - the last error pushed will be returned, instead", "docstring_tokens": ["Pop", "an", "error", "off", "of", "the", "error", "stack"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L665-L675", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.staticPop", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Pop an error off of the error stack, static method\n\n@param string package name\n@return boolean\n@since PEAR1.5.0a1", "docstring_tokens": ["Pop", "an", "error", "off", "of", "the", "error", "stack", "static", "method"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L684-L692", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.hasErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether there are any errors on the stack\n@param string|array Level name. Use to determine if any errors\nof level (string), or levels (array) have been pushed\n@return boolean", "docstring_tokens": ["Determine", "whether", "there", "are", "any", "errors", "on", "the", "stack"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L700-L706", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.getErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve all errors since last purge\n\n@param boolean set in order to empty the error stack\n@param string level name, to return only errors of a particular severity\n@return array", "docstring_tokens": ["Retrieve", "all", "errors", "since", "last", "purge"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L715-L743", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.staticHasErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether there are any errors on a single error stack, or on any error stack\n\nThe optional parameter can be used to test the existence of any errors without the need of\nsingleton instantiation\n@param string|false Package name to check for errors\n@param string Level name to check for a particular severity\n@return boolean\n@static", "docstring_tokens": ["Determine", "whether", "there", "are", "any", "errors", "on", "a", "single", "error", "stack", "or", "on", "any", "error", "stack"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L755-L769", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.staticGetErrors", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of all errors since last purge, organized by package\n@since PEAR 1.4.0dev BC break! $level is now in the place $merge used to be\n@param boolean $purge Set to purge the error stack of existing errors\n@param string $level Set to a level name in order to retrieve only errors of a particular level\n@param boolean $merge Set to return a flat array, not organized by package\n@param array $sortfunc Function used to sort a merged array - default\nsorts by time, and should be good for most cases\n@static\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "all", "errors", "since", "last", "purge", "organized", "by", "package"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L782-L803", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/ErrorStack.php", "func_name": "PEAR_ErrorStack.getErrorMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Standard error message generation callback\n\nThis method may also be called by a custom error message generator\nto fill in template values from the params array, simply\nset the third parameter to the error message template string to use\n\nThe special variable %__msg% is reserved: use it only to specify\nwhere a message passed in by the user should be placed in the template,\nlike so:\n\nError message: %msg% - internal error\n\nIf the message passed like so:\n\n\n$stack->push(ERROR_CODE, 'error', array(), 'server error 500');\n\n\nThe returned error message will be \"Error message: server error 500 -\ninternal error\"\n@param PEAR_ErrorStack\n@param array\n@param string|false Pre-generated error message template\n@static\n@return string", "docstring_tokens": ["Standard", "error", "message", "generation", "callback"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/ErrorStack.php#L909-L937", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.registerConfiguration", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers an array with identifier value pairs to the container as mixed entries.\n@param array $configuration The configuration array to register\n@throws ContainerException If trying to register values that already exist", "docstring_tokens": ["Registers", "an", "array", "with", "identifier", "value", "pairs", "to", "the", "container", "as", "mixed", "entries", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/ContainerBuilder.php#L45-L50", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.registerProvider", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the given provider as a callable and applicable methods as provider methods.\n@param EntryProvider $provider The entry provider to register\n@throws ContainerException If the provider tries to provide something that has already been registered", "docstring_tokens": ["Registers", "the", "given", "provider", "as", "a", "callable", "and", "applicable", "methods", "as", "provider", "methods", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/ContainerBuilder.php#L57-L66", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.registerAutowiredClasses", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers classes that can be wired automatically based on constructor arguments.\n@param string[] $classes List of classes to register for autowiring\n@param string[] $overrides Override identifiers for constructor parameters\n@throws ContainerException If trying to register classes that have already been registered", "docstring_tokens": ["Registers", "classes", "that", "can", "be", "wired", "automatically", "based", "on", "constructor", "arguments", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/ContainerBuilder.php#L74-L83", "partition": "test"} +{"repo": "simply-framework/container", "path": "src/ContainerBuilder.php", "func_name": "ContainerBuilder.getWiredParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the parameter identifiers based on the constructor arguments and provided overrides.\n@param \\ReflectionClass $reflection The class reflection to inspect\n@param string[] $overrides Override identifiers for constructor parameters\n@return string[] Identifiers for constructor parameters", "docstring_tokens": ["Loads", "the", "parameter", "identifiers", "based", "on", "the", "constructor", "arguments", "and", "provided", "overrides", "."], "sha": "7f42b2c9f3cf438013c71bb0eea81b656a9faa9a", "url": "https://github.com/simply-framework/container/blob/7f42b2c9f3cf438013c71bb0eea81b656a9faa9a/src/ContainerBuilder.php#L91-L121", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/Tar.php", "func_name": "Zend_Filter_Compress_Tar.setTarget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the targetpath to use\n\n@param string $target\n@return Zend_Filter_Compress_Tar", "docstring_tokens": ["Sets", "the", "targetpath", "to", "use"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/Tar.php#L111-L121", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/Tar.php", "func_name": "Zend_Filter_Compress_Tar.setMode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compression mode to use\nEighter Gz or Bz2\n\n@param string $mode", "docstring_tokens": ["Compression", "mode", "to", "use", "Eighter", "Gz", "or", "Bz2"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/Tar.php#L137-L154", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.getRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get routes.\n\n@param string[] $classes The classes\n\n@throws \\InvalidArgumentException\n@throws \\ReflectionException\n@throws \\Valkyrja\\Routing\\Exceptions\\InvalidRoutePath\n\n@return \\Valkyrja\\Routing\\Route[]", "docstring_tokens": ["Get", "routes", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L48-L85", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.setRouteProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the route properties from arguments.\n\n@param Route $route\n\n@throws \\ReflectionException\n@throws \\Valkyrja\\Routing\\Exceptions\\InvalidRoutePath\n\n@return void", "docstring_tokens": ["Set", "the", "route", "properties", "from", "arguments", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L97-L121", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.getClassRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all classes' routes.\n\n@param array $classes The classes\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Routing\\Route[]", "docstring_tokens": ["Get", "all", "classes", "routes", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L132-L152", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.getControllerBuiltRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a new route with controller route additions.\n\n@param Route $controllerRoute\n@param Route $route\n\n@return \\Valkyrja\\Routing\\Annotations\\Route", "docstring_tokens": ["Get", "a", "new", "route", "with", "controller", "route", "additions", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L162-L210", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.getRouteFromAnnotation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a route from a route annotation.\n\n@param Route $route The route annotation\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Routing\\Route", "docstring_tokens": ["Get", "a", "route", "from", "a", "route", "annotation", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L248-L273", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php", "func_name": "NativeRouteAnnotations.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind the route annotations.\n\n@param Application $app The application\n\n@return void", "docstring_tokens": ["Bind", "the", "route", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Annotations/NativeRouteAnnotations.php#L294-L302", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Formatters/JsonResponseFormatter.php", "func_name": "JsonResponseFormatter.formatJson", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats response data in JSON format.\n@param ResponseBuilderInterface $response\n@return string", "docstring_tokens": ["Formats", "response", "data", "in", "JSON", "format", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Formatters/JsonResponseFormatter.php#L103-L116", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Formatters/JsonResponseFormatter.php", "func_name": "JsonResponseFormatter.formatJsonp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats response data in JSONP format.\n@param ResponseBuilderInterface $response\n@return string", "docstring_tokens": ["Formats", "response", "data", "in", "JSONP", "format", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Formatters/JsonResponseFormatter.php#L123-L139", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.getHostPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the host and port component of the URI.\n\nIf a port is present, and it is non-standard for the current scheme,\nthis method MUST return it, along with the host component, as\na string in a fashion akin to the following .\n\nIf the port is the standard port used with the current scheme, this\nmethod SHOULD return only the host component.\n\nIf no port is present, and no scheme is present, this method MUST return\nonly the host component.\n\nIf no port is present, no host is present, and no scheme is present,\nthis method MUST return an empty string.\n\nIf no port is resent, no host is present, and a scheme is present,\nthis method MUST return an empty string.\n\nif no port is present, a host is present, and a scheme is present,\nthis method MUST return only the host component.\n\n@return string", "docstring_tokens": ["Retrieve", "the", "host", "and", "port", "component", "of", "the", "URI", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L297-L306", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.getSchemeHostPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the scheme, host, and port components of the URI.\n\nIf a scheme is present, a host is present, and a port is present,\nand the port is non-standard for the current scheme, this method\nMUST return the scheme, followed by the host, followed by the\nport in a fashion akin to the following .\n\nIf a scheme is present, a host is present, and a port is present,\nand the port is standard for the current scheme, this method\nMUST return only the scheme followed by the host, in a\nfashion akin to the following .\n\nIf a scheme is present, a host is present, and a port is not\npresent, this method MUST return only the scheme followed by\nthe host, in a fashion akin to the following .\n\nIf a scheme is not present, a host is present, and a port is\npresent, this method MUST return only the host, followed by\nthe port, in a fashion akin to the following .\n\nIf a scheme is not present, a host is present, and a port is\nnot present, this method MUST return only the host.\n\nIf a scheme is not present, a host is not present, and a port\nis not present, this method MUST return an empty string.\n\nIf a scheme is present, a host is not present, and a port\nis either present or not, this method MUST return an\nempty string.\n\n@return string", "docstring_tokens": ["Retrieve", "the", "scheme", "host", "and", "port", "components", "of", "the", "URI", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L341-L347", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.withHost", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified host.\n\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified host.\n\nAn empty host value is equivalent to removing the host.\n\n@param string $host The hostname to use with the new instance.\n\n@throws \\InvalidArgumentException for invalid hostnames.\n\n@return static A new instance with the specified host.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "host", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L509-L520", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.withPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified port.\n\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified port.\n\nImplementations MUST raise an exception for ports outside the\nestablished TCP and UDP port ranges.\n\nA null value provided for the port is equivalent to removing the port\ninformation.\n\n@param null|int $port The port to use with the new instance; a null value\nremoves the port information.\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPort for invalid ports.\n\n@return static A new instance with the specified port.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "port", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L541-L554", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.withPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified path.\n\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified path.\n\nThe path can either be empty or absolute (starting with a slash) or\nrootless (not starting with a slash). Implementations MUST support all\nthree syntaxes.\n\nIf the path is intended to be domain-relative rather than path relative\nthen it must begin with a slash (\"/\"). Paths not starting with a slash\n(\"/\") are assumed to be relative to some base path known to the\napplication or consumer.\n\nUsers can provide both encoded and decoded path characters.\nImplementations ensure the correct encoding as outlined in getPath().\n\n@param string $path The path to use with the new instance.\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPath for invalid paths.\n\n@return static A new instance with the specified path.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L580-L593", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.withQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified query string.\n\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified query string.\n\nUsers can provide both encoded and decoded query characters.\nImplementations ensure the correct encoding as outlined in getQuery().\n\nAn empty query string value is equivalent to removing the query string.\n\n@param string $query The query string to use with the new instance.\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidQuery for invalid query\nstrings.\n\n@return static A new instance with the specified query string.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "query", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L613-L626", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.withFragment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified URI fragment.\n\nThis method MUST retain the state of the current instance, and return\nan instance that contains the specified URI fragment.\n\nUsers can provide both encoded and decoded fragment characters.\nImplementations ensure the correct encoding as outlined in getFragment().\n\nAn empty fragment value is equivalent to removing the fragment.\n\n@param string $fragment The fragment to use with the new instance.\n\n@return static A new instance with the specified fragment.", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "URI", "fragment", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L643-L656", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.isStandardPort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether this uri is on a standard port for the scheme.\n\n@return bool", "docstring_tokens": ["Determine", "whether", "this", "uri", "is", "on", "a", "standard", "port", "for", "the", "scheme", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L722-L734", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.validateScheme", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a scheme.\n\n@param string $scheme The scheme\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidScheme\n\n@return string", "docstring_tokens": ["Validate", "a", "scheme", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L745-L764", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUri.php", "func_name": "NativeUri.validatePort", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a port.\n\n@param int $port The port\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPort\n\n@return void", "docstring_tokens": ["Validate", "a", "port", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUri.php#L775-L785", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Dependency2.php", "func_name": "PEAR_Dependency2.validatePackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "validate a downloaded package against installed packages\n\nAs of PEAR 1.4.3, this will only validate\n\n@param array|PEAR_Downloader_Package|PEAR_PackageFile_v1|PEAR_PackageFile_v2\n$pkg package identifier (either\narray('package' => blah, 'channel' => blah) or an array with\nindex 'info' referencing an object)\n@param PEAR_Downloader $dl\n@param array $params full list of packages to install\n@return true|PEAR_Error", "docstring_tokens": ["validate", "a", "downloaded", "package", "against", "installed", "packages"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Dependency2.php#L1164-L1225", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Dependency2.php", "func_name": "PEAR_Dependency2.validateDependency1", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "validate a package.xml 1.0 dependency", "docstring_tokens": ["validate", "a", "package", ".", "xml", "1", ".", "0", "dependency"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Dependency2.php#L1230-L1245", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Dependency2.php", "func_name": "PEAR_Dependency2.normalizeDep", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert a 1.0 dep into a 2.0 dep", "docstring_tokens": ["Convert", "a", "1", ".", "0", "dep", "into", "a", "2", ".", "0", "dep"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Dependency2.php#L1250-L1318", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.addOrRemoveS", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add or remove 's' from the end of a word\n\n@param string $word\n@return string $word", "docstring_tokens": ["Add", "or", "remove", "s", "from", "the", "end", "of", "a", "word"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L31-L43", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.tokenize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Break down a delimited statement into set of string separated by comma\n\n@param string $statement Statement to be broken down\n@param string $delimiter Character being searched for to bring about the break down\n@return string Comma-separated set of string", "docstring_tokens": ["Break", "down", "a", "delimited", "statement", "into", "set", "of", "string", "separated", "by", "comma"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L69-L81", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.joinKeysAndValuesOfArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an array of elements in the format 'array_key=array_value' of the argument array supplied\n\n@param array $record Associative type of array\n@return array $temp New array of elements in the format 'array_key=array_value' of the argument array supplied", "docstring_tokens": ["Create", "an", "array", "of", "elements", "in", "the", "format", "array_key", "=", "array_value", "of", "the", "argument", "array", "supplied"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L89-L105", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.checkForTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for the existence of a table in the database being used\n\n@param string $table Name of table to be searched in the database\n@param DbConn $dbConn Database connection object\n@return bool", "docstring_tokens": ["Check", "for", "the", "existence", "of", "a", "table", "in", "the", "database", "being", "used"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L114-L129", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.mapClassToTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Map a class to a database table\n\n@param string $className Name of a class to be mapped to a table in the database\n@return string $table Database table successfully mapped to the class being used", "docstring_tokens": ["Map", "a", "class", "to", "a", "database", "table"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L137-L161", "partition": "test"} +{"repo": "kola-er/potato-orm", "path": "src/helpers/Backbone.php", "func_name": "Backbone.getTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the table name that maps to a given class model\n\n@param string $className Name of a class to be mapped to a table in the database\n@return string $table Database table successfully mapped to the class being used", "docstring_tokens": ["Get", "the", "table", "name", "that", "maps", "to", "a", "given", "class", "model"], "sha": "56e2d4cccb4179ab4dbc05836a40ed57da5d69fd", "url": "https://github.com/kola-er/potato-orm/blob/56e2d4cccb4179ab4dbc05836a40ed57da5d69fd/src/helpers/Backbone.php#L169-L182", "partition": "test"} +{"repo": "GotCms/GotSniffs", "path": "Got/Sniffs/Commenting/FileCommentSniff.php", "func_name": "FileCommentSniff.processVersion", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process the version tag.\n\n@param int $errorPos The line number where the error occurs.\n\n@return void", "docstring_tokens": ["Process", "the", "version", "tag", "."], "sha": "f15ad506d6c99588d5ebb3e1b527ebaa5733ff86", "url": "https://github.com/GotCms/GotSniffs/blob/f15ad506d6c99588d5ebb3e1b527ebaa5733ff86/Got/Sniffs/Commenting/FileCommentSniff.php#L114-L125", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Channels.php", "func_name": "PEAR_Command_Channels.doDiscover", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The channel-discover command\n\n@param string $command command name\n@param array $options option_name => value\n@param array $params list of additional parameters.\n$params[0] should contain a string with either:\n- or\n- :@\n@return null|PEAR_Error", "docstring_tokens": ["The", "channel", "-", "discover", "command"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Channels.php#L726-L784", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Channels.php", "func_name": "PEAR_Command_Channels.doLogin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the 'login' command.\n\n@param string $command command name\n@param array $options option_name => value\n@param array $params list of additional parameters\n\n@return bool TRUE on success or\na PEAR error on failure\n\n@access public", "docstring_tokens": ["Execute", "the", "login", "command", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Channels.php#L798-L850", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Command/Channels.php", "func_name": "PEAR_Command_Channels.doLogout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the 'logout' command.\n\n@param string $command command name\n@param array $options option_name => value\n@param array $params list of additional parameters\n\n@return bool TRUE on success or\na PEAR error on failure\n\n@access public", "docstring_tokens": ["Execute", "the", "logout", "command", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Command/Channels.php#L864-L882", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Word/SeparatorToSeparator.php", "func_name": "Zend_Filter_Word_SeparatorToSeparator._separatorToSeparatorFilter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Do the real work, replaces the seperator to search for with the replacement seperator\n\nReturns the replaced string\n\n@param string $value\n@return string", "docstring_tokens": ["Do", "the", "real", "work", "replaces", "the", "seperator", "to", "search", "for", "with", "the", "replacement", "seperator"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Word/SeparatorToSeparator.php#L116-L126", "partition": "test"} +{"repo": "petrgrishin/yiimigrate", "path": "src/Command/MigrateCommand.php", "func_name": "MigrateCommand.getMigrationFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetching migration class to file name under\nrequested path.\n@param string $migrationPath\n@return array [migrationClass => filePath]", "docstring_tokens": ["Fetching", "migration", "class", "to", "file", "name", "under", "requested", "path", "."], "sha": "9855087ecb55af58ddab9eef77a2c73aa7e9f025", "url": "https://github.com/petrgrishin/yiimigrate/blob/9855087ecb55af58ddab9eef77a2c73aa7e9f025/src/Command/MigrateCommand.php#L98-L112", "partition": "test"} +{"repo": "petrgrishin/yiimigrate", "path": "src/Command/MigrateCommand.php", "func_name": "MigrateCommand.getMigrationToFileMap", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build and cache migration files map\n@return array [migrationClass => filePath]", "docstring_tokens": ["Build", "and", "cache", "migration", "files", "map"], "sha": "9855087ecb55af58ddab9eef77a2c73aa7e9f025", "url": "https://github.com/petrgrishin/yiimigrate/blob/9855087ecb55af58ddab9eef77a2c73aa7e9f025/src/Command/MigrateCommand.php#L148-L166", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/Abilities/BaseModelAbility.php", "func_name": "BaseModelAbility.publishMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Use for dynamic publishing actions\n@param string $methodName\n@param bool $isStatic", "docstring_tokens": ["Use", "for", "dynamic", "publishing", "actions"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/Abilities/BaseModelAbility.php#L87-L93", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Request.php", "func_name": "Request.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the request and get response.\n\n@param string $url\n@param bool $curled\n\n@return array", "docstring_tokens": ["Run", "the", "request", "and", "get", "response", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Request.php#L88-L97", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Request.php", "func_name": "Request.checkUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check URL.\n\n@param string $url\n\n@throws \\Arcanedev\\NoCaptcha\\Exceptions\\InvalidUrlException", "docstring_tokens": ["Check", "URL", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Request.php#L110-L127", "partition": "test"} +{"repo": "arnulfojr/qcharts", "path": "QCharts/CoreBundle/Form/Transformer/DirectoryTransformer.php", "func_name": "DirectoryTransformer.reverseTransform", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms a value from the transformed representation to its original\nrepresentation.\n\nThis method is called when {@link Form::submit()} is called to transform the requests tainted data\ninto an acceptable format for your data processing/model layer.\n\nThis method must be able to deal with empty values. Usually this will\nbe an empty string, but depending on your implementation other empty\nvalues are possible as well (such as empty strings). The reasoning behind\nthis is that value transformers must be chainable. If the\nreverseTransform() method of the first value transformer outputs an\nempty string, the second value transformer must be able to process that\nvalue.\n\nBy convention, reverseTransform() should return NULL if an empty string\nis passed.\n\n@param mixed $value The value in the transformed representation\n\n@return mixed The value in the original representation\n\n@throws TransformationFailedException When the transformation fails.", "docstring_tokens": ["Transforms", "a", "value", "from", "the", "transformed", "representation", "to", "its", "original", "representation", "."], "sha": "ace17b9c164259ee897398fca939a9c9ff9a577c", "url": "https://github.com/arnulfojr/qcharts/blob/ace17b9c164259ee897398fca939a9c9ff9a577c/QCharts/CoreBundle/Form/Transformer/DirectoryTransformer.php#L86-L100", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/AppBuilderFactory.php", "func_name": "AppBuilderFactory.createAppBuilder", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates AppBuilder using newly built container.\n\n@param string $contextName Name of context. Passed to AppBuilder instance.\n@param string $appRootPath Base path of source files. Passed to AppPath class for instance.\n\n@return AppBuilder Builder of application.", "docstring_tokens": ["Creates", "AppBuilder", "using", "newly", "built", "container", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/AppBuilderFactory.php#L35-L39", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/AppBuilderFactory.php", "func_name": "AppBuilderFactory.createAppBuilderFromPersisted", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates AppBuilder from loaded persisted container.\n\n@param IContainerBuilderPersister $persister Container persister used to load persisted container.\n@param string $contextName Name of context. Passed to AbbBuilder instance.\n@param string $appRootPath Base path of source files. Passed to AppPath class for instance.\n\n@return AppBuilder Builder of application.", "docstring_tokens": ["Creates", "AppBuilder", "from", "loaded", "persisted", "container", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/AppBuilderFactory.php#L50-L57", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/AppBuilderFactory.php", "func_name": "AppBuilderFactory.getAppBuilderDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all dependencies needed by AppBuilder as array.\n\n@param string $appRootPath Base path of source files.\n\n@return array All dependencies needed by AppBuilder as array.", "docstring_tokens": ["Returns", "all", "dependencies", "needed", "by", "AppBuilder", "as", "array", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/AppBuilderFactory.php#L66-L77", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.reset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cancel changes made on a file\n\n@param string $file", "docstring_tokens": ["Cancel", "changes", "made", "on", "a", "file"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L121-L127", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.createBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a local branch\n\n@param string $branch", "docstring_tokens": ["Create", "a", "local", "branch"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L134-L138", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.deleteBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete a local branch\n\n@param string $branch", "docstring_tokens": ["Delete", "a", "local", "branch"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L145-L149", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.pushBranch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Push a branch to the origin\n\n@param string $branch", "docstring_tokens": ["Push", "a", "branch", "to", "the", "origin"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L167-L171", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.createPullRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a pull request on Github\n\n@param string $headBranch branch where your changes are implemented\n@param string $baseBranch branch you want your changes pulled into", "docstring_tokens": ["Create", "a", "pull", "request", "on", "Github"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L189-L200", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/GitHandler.php", "func_name": "GitHandler.cloneProject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clone the Github project", "docstring_tokens": ["Clone", "the", "Github", "project"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/GitHandler.php#L213-L225", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Builder.php", "func_name": "PEAR_Builder.phpizeCallback", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Message callback function used when running the \"phpize\"\nprogram. Extracts the API numbers used. Ignores other message\ntypes than \"cmdoutput\".\n\n@param string $what the type of message\n@param mixed $data the message\n\n@return void\n\n@access public", "docstring_tokens": ["Message", "callback", "function", "used", "when", "running", "the", "phpize", "program", ".", "Extracts", "the", "API", "numbers", "used", ".", "Ignores", "other", "message", "types", "than", "cmdoutput", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Builder.php#L415-L434", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Builder.php", "func_name": "PEAR_Builder._runCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run an external command, using a message callback to report\noutput. The command will be run through popen and output is\nreported for every line with a \"cmdoutput\" message with the\nline string, including newlines, as payload.\n\n@param string $command the command to run\n\n@param mixed $callback (optional) function to use as message\ncallback\n\n@return bool whether the command was successful (exit code 0\nmeans success, any other means failure)\n\n@access private", "docstring_tokens": ["Run", "an", "external", "command", "using", "a", "message", "callback", "to", "report", "output", ".", "The", "command", "will", "be", "run", "through", "popen", "and", "output", "is", "reported", "for", "every", "line", "with", "a", "cmdoutput", "message", "with", "the", "line", "string", "including", "newlines", "as", "payload", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Builder.php#L452-L477", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/ApiUser.php", "func_name": "ApiUser.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Makes all the OAuth process to connect the app with the API, only, with the client credentials, the oauth endpoints urls, and an URL to get the user data and token credentials.\n\n@param array $clientCredentials\n@return \\Illuminate\\Support\\Fluent", "docstring_tokens": ["Makes", "all", "the", "OAuth", "process", "to", "connect", "the", "app", "with", "the", "API", "only", "with", "the", "client", "credentials", "the", "oauth", "endpoints", "urls", "and", "an", "URL", "to", "get", "the", "user", "data", "and", "token", "credentials", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/ApiUser.php#L48-L61", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/File/Rename.php", "func_name": "Zend_Filter_File_Rename.addFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a new file or directory as target to the existing ones\n\nArray accepts the following keys:\n'source' => Source filename or directory which will be renamed\n'target' => Target filename or directory, the new name of the sourcefile\n'overwrite' => Shall existing files be overwritten ?\n\n@param string|array $options Old file or directory to be rewritten\n@return Zend_Filter_File_Rename", "docstring_tokens": ["Adds", "a", "new", "file", "or", "directory", "as", "target", "to", "the", "existing", "ones"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/File/Rename.php#L119-L131", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/File/Rename.php", "func_name": "Zend_Filter_File_Rename.getNewName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns only the new filename without moving it\nBut existing files will be erased when the overwrite option is true\n\n@param string $value Full path of file to change\n@param boolean $source Return internal informations\n@return string The new filename which has been set", "docstring_tokens": ["Returns", "only", "the", "new", "filename", "without", "moving", "it", "But", "existing", "files", "will", "be", "erased", "when", "the", "overwrite", "option", "is", "true"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/File/Rename.php#L141-L166", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/File/Rename.php", "func_name": "Zend_Filter_File_Rename._getFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Internal method to resolve the requested source\nand return all other related parameters\n\n@param string $file Filename to get the informations for\n@return array", "docstring_tokens": ["Internal", "method", "to", "resolve", "the", "requested", "source", "and", "return", "all", "other", "related", "parameters"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/File/Rename.php#L266-L301", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get service instance with service id\n\n@param string $id Service id\n\n@return mixed Service instance\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "service", "instance", "with", "service", "id"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L60-L95", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.generateService", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate service instance\n\n@param Definition $definition Service definition\n\n@return mixed", "docstring_tokens": ["Generate", "service", "instance"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L104-L143", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a service instance\n\n@param string $id Service id\n@param mixed $service Service instance\n\n@return Container", "docstring_tokens": ["Set", "a", "service", "instance"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L153-L160", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.setAlias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set alias service id\n\n@param string $aliasId The alias service id\n@param string $id The original service id\n\n@return Container", "docstring_tokens": ["Set", "alias", "service", "id"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L170-L175", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.getParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get parameter with a parameter id\n\n@param string $id Parameter id\n\n@return mixed", "docstring_tokens": ["Get", "parameter", "with", "a", "parameter", "id"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L184-L193", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.setParameter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a parameter value with a parameter id\n\n@param string $id Parameter id\n@param mixed $value parameter value\n\n@return Container", "docstring_tokens": ["Set", "a", "parameter", "value", "with", "a", "parameter", "id"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L203-L210", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.getDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get service definition\n\n@param string $id Service id\n\n@return Definition\n\n@throws \\InvalidArgumentException", "docstring_tokens": ["Get", "service", "definition"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L221-L234", "partition": "test"} +{"repo": "strike101/di", "path": "src/Container.php", "func_name": "Container.setDefinition", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set service definition\n\n@param string $id Service id\n@param Definition $definition Service definition\n\n@return Container", "docstring_tokens": ["Set", "service", "definition"], "sha": "8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93", "url": "https://github.com/strike101/di/blob/8da60bb2d71dd18fc1ae35da28c43e5e53ac4d93/src/Container.php#L244-L251", "partition": "test"} +{"repo": "pandaskii/openbiz-config", "path": "phing/phingcludes/DrushTask.php", "func_name": "DrushTask.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the task.", "docstring_tokens": ["Initialize", "the", "task", "."], "sha": "0db8273fd2169d5b1793704f8bd6cd8e1459b53f", "url": "https://github.com/pandaskii/openbiz-config/blob/0db8273fd2169d5b1793704f8bd6cd8e1459b53f/phing/phingcludes/DrushTask.php#L260-L272", "partition": "test"} +{"repo": "phergie/phergie-irc-plugin-react-command", "path": "src/CommandEvent.php", "func_name": "CommandEvent.fromEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Copies data from an existing event into this one.\n\n@param \\Phergie\\Irc\\Event\\UserEventInterface $event", "docstring_tokens": ["Copies", "data", "from", "an", "existing", "event", "into", "this", "one", "."], "sha": "375027dcf74d9cefcd3252471e8eebb97216bcc9", "url": "https://github.com/phergie/phergie-irc-plugin-react-command/blob/375027dcf74d9cefcd3252471e8eebb97216bcc9/src/CommandEvent.php#L83-L97", "partition": "test"} +{"repo": "delatbabel/keylists", "path": "src/Models/Cacheable.php", "func_name": "Cacheable.tableToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a simple list of entries in the table.\n\nMay cache the results for up to 60 minutes.\n\n@return\tarray of Fluent objects", "docstring_tokens": ["Return", "a", "simple", "list", "of", "entries", "in", "the", "table", "."], "sha": "9d045385cfb7ab7b7f6e99b79d65e57fe84429e7", "url": "https://github.com/delatbabel/keylists/blob/9d045385cfb7ab7b7f6e99b79d65e57fe84429e7/src/Models/Cacheable.php#L56-L86", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Strings/IsSerialized.php", "func_name": "IsSerialized.isSerialized", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests if an input is valid PHP serialized string\n\nChecks if a string is serialized using quick string manipulation\nto throw out obviously incorrect strings. Unserialize is then run\non the string to perform the final verification.\n\nValid serialized forms are the following:\n
    \n
  • boolean: b:1;
  • \n
  • integer: i:1;
  • \n
  • double: d:0.2;
  • \n
  • string: s:4:\"test\";
  • \n
  • array: a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}
  • \n
  • object: O:8:\"stdClass\":0:{}
  • \n
  • null: N;
  • \n
\n\n@return boolean if $value is serialized data, otherwise false", "docstring_tokens": ["Tests", "if", "an", "input", "is", "valid", "PHP", "serialized", "string"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Strings/IsSerialized.php#L47-L117", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Prediction/CallbackPrediction.php", "func_name": "CallbackPrediction.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes preset callback.\n\n@param Call[] $calls\n@param FunctionProphecy $prophecy", "docstring_tokens": ["Executes", "preset", "callback", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Prediction/CallbackPrediction.php#L28-L32", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add route handling\n@param string|string[] $httpMethod\n@param string $route\n@param mixed $handler", "docstring_tokens": ["Add", "route", "handling"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L50-L57", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.initRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find controllers in given namespaces and register as routes", "docstring_tokens": ["Find", "controllers", "in", "given", "namespaces", "and", "register", "as", "routes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L70-L76", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.createControllerInstance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search controller by name and action ID\n@param string|ControllerInterface $controllerName\n@param string $actionId\n@param array $config\n@return array", "docstring_tokens": ["Search", "controller", "by", "name", "and", "action", "ID"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L159-L190", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.registerController", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register controller in routes\n@param string|Controller $className", "docstring_tokens": ["Register", "controller", "in", "routes"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L196-L208", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.registerControllerWithAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register controller that uses Annotations\n@param string|Controller $className\n@param Ctrl $ctrlAnnotation\n@throws \\ReflectionException", "docstring_tokens": ["Register", "controller", "that", "uses", "Annotations"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L216-L238", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.registerControllerNoAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register controller that does not use Annotations\n@param string|Controller $className", "docstring_tokens": ["Register", "controller", "that", "does", "not", "use", "Annotations"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L244-L259", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/RouterAbstract.php", "func_name": "RouterAbstract.getDefaultControllerAndAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get default action\n@param array $config\n@return array", "docstring_tokens": ["Get", "default", "action"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/RouterAbstract.php#L266-L277", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/StatedClass/LifeCyclableTrait.php", "func_name": "LifeCyclableTrait.registerObserver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To register a new observer.\n\n@param ObservedInterface $observed\n\n@return LifeCyclableInterface", "docstring_tokens": ["To", "register", "a", "new", "observer", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/StatedClass/LifeCyclableTrait.php#L58-L63", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/StatedClass/LifeCyclableTrait.php", "func_name": "LifeCyclableTrait.unregisterObserver", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To unregister a previous registered observer.\n\n@param ObservedInterface $observed\n\n@return LifeCyclableInterface", "docstring_tokens": ["To", "unregister", "a", "previous", "registered", "observer", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/StatedClass/LifeCyclableTrait.php#L72-L81", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/RPC/Method/Control.php", "func_name": "ControlChannel.autoSetChannel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the channel name based on the basename given in the constructor\n\n@param string $channel", "docstring_tokens": ["Set", "the", "channel", "name", "based", "on", "the", "basename", "given", "in", "the", "constructor"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/RPC/Method/Control.php#L35-L39", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/RPC/Method/Control.php", "func_name": "ControlChannel.executeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute the command received from the Job\n\n@param array $command\n@return array the response", "docstring_tokens": ["Execute", "the", "command", "received", "from", "the", "Job"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/RPC/Method/Control.php#L62-L73", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/Controller.php", "func_name": "Controller.addFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a flash message.\n\n@param string $message\n@param string $type (info|success|warning|danger)\n@throws \\InvalidArgumentException", "docstring_tokens": ["Adds", "a", "flash", "message", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/Controller.php#L94-L100", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/Controller.php", "func_name": "Controller.redirectToReferer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect to the referer.\n\n@param string $defaultPath\n@return \\Symfony\\Component\\HttpFoundation\\Response", "docstring_tokens": ["Redirect", "to", "the", "referer", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/Controller.php#L108-L116", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/Controller.php", "func_name": "Controller.configureSharedCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds http cache tags and sets the shared max age.\n\n@param Response $response\n@param array $tags\n@param int $smaxage\n@return Response;", "docstring_tokens": ["Adds", "http", "cache", "tags", "and", "sets", "the", "shared", "max", "age", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/Controller.php#L126-L136", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/ImageMePlugin.php", "func_name": "ImageMePlugin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the plugin.", "docstring_tokens": ["Initialize", "the", "plugin", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/ImageMePlugin.php#L19-L40", "partition": "test"} +{"repo": "sinpe/route", "path": "src/Route.php", "func_name": "Route.finalize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finalize the route in preparation for dispatching", "docstring_tokens": ["Finalize", "the", "route", "in", "preparation", "for", "dispatching"], "sha": "c0fab524abeee71f2c78367dfdf1a9283460daa0", "url": "https://github.com/sinpe/route/blob/c0fab524abeee71f2c78367dfdf1a9283460daa0/src/Route.php#L112-L139", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "DependencyInjection/Extension.php", "func_name": "Extension.getConfigurationDirectory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the configuration directory.\n\n@return string\n@throws \\Exception", "docstring_tokens": ["Returns", "the", "configuration", "directory", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/DependencyInjection/Extension.php#L49-L59", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/Prediction/NoCallsPrediction.php", "func_name": "NoCallsPrediction.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Tests that there were no calls made.\n\n@param Call[] $calls\n@param FunctionProphecy $prophecy\n\n@throws UnexpectedCallsException", "docstring_tokens": ["Tests", "that", "there", "were", "no", "calls", "made", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/Prediction/NoCallsPrediction.php#L32-L50", "partition": "test"} +{"repo": "PHPPlatform/persist", "path": "src/Persist/Connection/ConnectionFactory.php", "func_name": "ConnectionFactory.getConnection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method creates and returns connection implementaion , based on the configuration property 'connection-class'\n\n@throws NoConnectionException\n@return Connection", "docstring_tokens": ["This", "method", "creates", "and", "returns", "connection", "implementaion", "based", "on", "the", "configuration", "property", "connection", "-", "class"], "sha": "510ad50e33cf4f1a471fde8afed06c49efefbca7", "url": "https://github.com/PHPPlatform/persist/blob/510ad50e33cf4f1a471fde8afed06c49efefbca7/src/Persist/Connection/ConnectionFactory.php#L17-L29", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "DependencyInjection/EkynaCoreExtension.php", "func_name": "EkynaCoreExtension.configureStfalconTinymceBundle", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configures the StfalconTinymceBundle.\n\n@param ContainerBuilder $container\n@param array $config\n@param array $bundles", "docstring_tokens": ["Configures", "the", "StfalconTinymceBundle", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/DependencyInjection/EkynaCoreExtension.php#L148-L152", "partition": "test"} +{"repo": "trendwerk/editor-capabilities", "path": "class-tp-editor-capabilities.php", "func_name": "TP_Editor_Capabilities.set_capabilities", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set some of the editors capabilities", "docstring_tokens": ["Set", "some", "of", "the", "editors", "capabilities"], "sha": "5f7d4d3ca3c256b2ec2342a7ff699058b1fa2e03", "url": "https://github.com/trendwerk/editor-capabilities/blob/5f7d4d3ca3c256b2ec2342a7ff699058b1fa2e03/class-tp-editor-capabilities.php#L23-L36", "partition": "test"} +{"repo": "nubs/which", "path": "src/LocatorFactory/WindowsLocatorFactory.php", "func_name": "WindowsLocatorFactory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a locator from the PATH and PATHEXT environment variables.\n\n@api\n@param \\Habitat\\Environment\\Environment $environment The environment\nvariable wrapper. Defaults to null which just uses PHP's built-in\ngetenv.\n@return \\Nubs\\Which\\Locator The locator.", "docstring_tokens": ["Create", "a", "locator", "from", "the", "PATH", "and", "PATHEXT", "environment", "variables", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/LocatorFactory/WindowsLocatorFactory.php#L22-L28", "partition": "test"} +{"repo": "nubs/which", "path": "src/LocatorFactory/WindowsLocatorFactory.php", "func_name": "WindowsLocatorFactory.createFromPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a locator using semicolon-separated PATH and PATHEXT strings.\n\nThe semicolon is a hard separator. This means that command paths cannot\nhave a semicolon in the name.\n\nThe current working directory is always prepended to the list of paths.\n\n@api\n@param string $path The semicolon-separated PATH string.\n@param string $pathext The semicolon-separated PATHEXT string.\n@return \\Nubs\\Which\\Locator The locator.", "docstring_tokens": ["Create", "a", "locator", "using", "semicolon", "-", "separated", "PATH", "and", "PATHEXT", "strings", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/LocatorFactory/WindowsLocatorFactory.php#L43-L48", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/AbstractConstants.php", "func_name": "AbstractConstants.getChoices", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the constant choices.\n\n@return array", "docstring_tokens": ["Returns", "the", "constant", "choices", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/AbstractConstants.php#L27-L34", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/AbstractConstants.php", "func_name": "AbstractConstants.isValid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the constant is valid or not.\n\n@param mixed $constant\n@param boolean $throwException\n\n@return bool", "docstring_tokens": ["Returns", "whether", "the", "constant", "is", "valid", "or", "not", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/AbstractConstants.php#L61-L72", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/TypeCheck.php", "func_name": "TypeCheck.doCheck", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if function arguments match the provided types", "docstring_tokens": ["Check", "if", "function", "arguments", "match", "the", "provided", "types"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/TypeCheck.php#L40-L81", "partition": "test"} +{"repo": "thinframe/foundation", "path": "src/Helper/TypeCheck.php", "func_name": "TypeCheck.checkValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check value against the provided type\n\n@param mixed $value value to be checked\n@param string $type value type\n\n@return bool", "docstring_tokens": ["Check", "value", "against", "the", "provided", "type"], "sha": "6b9c093cf7364b8f3b583528c3b2a7addd3cd8be", "url": "https://github.com/thinframe/foundation/blob/6b9c093cf7364b8f3b583528c3b2a7addd3cd8be/src/Helper/TypeCheck.php#L91-L100", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Compat/PDO.php", "func_name": "PDO.getAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a Zend\\Db\\Adapter\\Adapter object from an existing pdo connection\n@param \\PDO $pdo\n@return Adapter", "docstring_tokens": ["Return", "a", "Zend", "\\", "Db", "\\", "Adapter", "\\", "Adapter", "object", "from", "an", "existing", "pdo", "connection"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Compat/PDO.php#L21-L26", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL._createPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "create the path for the cache file", "docstring_tokens": ["create", "the", "path", "for", "the", "cache", "file"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L59-L91", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL._createCachePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the WSDL cache file path", "docstring_tokens": ["Build", "the", "WSDL", "cache", "file", "path"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L96-L98", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL._updateWSDL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update the WSDL cache file", "docstring_tokens": ["Update", "the", "WSDL", "cache", "file"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L130-L149", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL._compile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate the WSDL content", "docstring_tokens": ["Generate", "the", "WSDL", "content"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L154-L184", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL.doc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load the class or service definition for doc purpose\n@param string $classname Name of the class for witch we want the doc, default doc is the service one (controller)", "docstring_tokens": ["Load", "the", "class", "or", "service", "definition", "for", "doc", "purpose"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L190-L215", "partition": "test"} +{"repo": "jelix/soap-server-module", "path": "jsoap/classes/jWSDL.php", "func_name": "jWSDL.getSoapControllers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of all the soap controllers class available in the application\n@return array Classname of controllers", "docstring_tokens": ["Return", "an", "array", "of", "all", "the", "soap", "controllers", "class", "available", "in", "the", "application"], "sha": "20f47f9c7eec763199e2ba1f32e6d79eb821297b", "url": "https://github.com/jelix/soap-server-module/blob/20f47f9c7eec763199e2ba1f32e6d79eb821297b/jsoap/classes/jWSDL.php#L221-L244", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "DependencyInjection/AsseticConfiguration.php", "func_name": "AsseticConfiguration.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the assetic configuration.\n\n@param array $config\n@return array", "docstring_tokens": ["Builds", "the", "assetic", "configuration", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/DependencyInjection/AsseticConfiguration.php#L18-L38", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "DependencyInjection/AsseticConfiguration.php", "func_name": "AsseticConfiguration.buildBootstrapCss", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds the bootstrap_css asset collection configuration.\n\n@param array $config\n@return array", "docstring_tokens": ["Builds", "the", "bootstrap_css", "asset", "collection", "configuration", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/DependencyInjection/AsseticConfiguration.php#L65-L78", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Uri.php", "func_name": "Uri.param", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get uri param\n\n@param string $key\n@return string", "docstring_tokens": ["Get", "uri", "param"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Uri.php#L119-L124", "partition": "test"} +{"repo": "colorium/http", "path": "src/Colorium/Http/Uri.php", "func_name": "Uri.rebase", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change base uri\n\n@param string $base\n@return Uri", "docstring_tokens": ["Change", "base", "uri"], "sha": "070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8", "url": "https://github.com/colorium/http/blob/070877dcd5a283bb3c8cec86fd1f312fb9a1d3a8/src/Colorium/Http/Uri.php#L133-L146", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a route.\n\n@param Route $route The route\n\n@return void", "docstring_tokens": ["Add", "a", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L56-L78", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.staticRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a static route.\n\n@param string $method The request method\n@param string $path The path\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Get", "a", "static", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L98-L101", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.issetStaticRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a static route exists.\n\n@param string $method The request method\n@param string $path The path\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "static", "route", "exists", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L111-L114", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.dynamicRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a dynamic route.\n\n@param string $method The request method\n@param string $regex The regex\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Get", "a", "dynamic", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L138-L141", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.issetDynamicRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if a dynamic route exists.\n\n@param string $method The request method\n@param string $regex The regex\n\n@return bool", "docstring_tokens": ["Determine", "if", "a", "dynamic", "route", "exists", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L151-L154", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/RouteCollection.php", "func_name": "RouteCollection.namedRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a named route.\n\n@param string $name The name\n\n@return null|Route\nThe route if found or null when no static route is\nfound for the path and method combination specified", "docstring_tokens": ["Get", "a", "named", "route", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/RouteCollection.php#L177-L180", "partition": "test"} +{"repo": "RhubarbPHP/Module.Leaf.Crud", "path": "src/Leaves/CrudView.php", "func_name": "CrudView.createSubLeaves", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The place where extending classes should create and register new Views", "docstring_tokens": ["The", "place", "where", "extending", "classes", "should", "create", "and", "register", "new", "Views"], "sha": "f33470101614c54110fe13116d4dee2035c209ff", "url": "https://github.com/RhubarbPHP/Module.Leaf.Crud/blob/f33470101614c54110fe13116d4dee2035c209ff/src/Leaves/CrudView.php#L20-L35", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Locator.php", "func_name": "Locator.locate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Hack to let the 'file_exists' function search in 'include_path'\n\n@param string $filename The filename to find\n@return bool/string The valid file path if found, false otherwise", "docstring_tokens": ["Hack", "to", "let", "the", "file_exists", "function", "search", "in", "include_path"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Locator.php#L33-L57", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert this number into a other number-system.\n\n@param NumberSystem $newSystem\n\n@return Number", "docstring_tokens": ["Convert", "this", "number", "into", "a", "other", "number", "-", "system", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L59-L74", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.equals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compare two numbers.\n\n@param Number $comparedNumber\n\n@return bool", "docstring_tokens": ["Compare", "two", "numbers", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L94-L102", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.decimalValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "We use this to convert every number to decimal for calculations.", "docstring_tokens": ["We", "use", "this", "to", "convert", "every", "number", "to", "decimal", "for", "calculations", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L117-L128", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add two number together.\nThe number-system of the result will be the one of the number\nwho's was the called object.\n\n@param Number|Number $addend\n\n@return Number", "docstring_tokens": ["Add", "two", "number", "together", ".", "The", "number", "-", "system", "of", "the", "result", "will", "be", "the", "one", "of", "the", "number", "who", "s", "was", "the", "called", "object", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L139-L146", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.subtract", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Subtract two numbers.\nThe number-system of the result will be the one of the number\nwho's was the called object.\n\n@param Number $subtractor\n\n@return Number", "docstring_tokens": ["Subtract", "two", "numbers", ".", "The", "number", "-", "system", "of", "the", "result", "will", "be", "the", "one", "of", "the", "number", "who", "s", "was", "the", "called", "object", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L157-L164", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.multiply", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Multiply two numbers.\nThe number-system of the result will be the one of the number\nwho's was the called object.\n\n@param Number $multiplicator\n\n@return Number", "docstring_tokens": ["Multiply", "two", "numbers", ".", "The", "number", "-", "system", "of", "the", "result", "will", "be", "the", "one", "of", "the", "number", "who", "s", "was", "the", "called", "object", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L175-L182", "partition": "test"} +{"repo": "gries/number-system", "path": "src/Number.php", "func_name": "Number.divide", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Divide two numbers.\nThe number-system of the result will be the one of the number\nwho's was the called object.\n\n@param Number $multiplicator\n\n@return Number", "docstring_tokens": ["Divide", "two", "numbers", ".", "The", "number", "-", "system", "of", "the", "result", "will", "be", "the", "one", "of", "the", "number", "who", "s", "was", "the", "called", "object", "."], "sha": "fcb42cdc94ed9b1027db5e4db3fad8631669fedd", "url": "https://github.com/gries/number-system/blob/fcb42cdc94ed9b1027db5e4db3fad8631669fedd/src/Number.php#L193-L200", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Db/Compat/Mysqli.php", "func_name": "Mysqli.getAdapter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a Zend\\Db\\Adapter\\Adapter object from an existing mysqli connection\n@param \\Mysqli $mysqli\n@return Adapter", "docstring_tokens": ["Return", "a", "Zend", "\\", "Db", "\\", "Adapter", "\\", "Adapter", "object", "from", "an", "existing", "mysqli", "connection"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Db/Compat/Mysqli.php#L21-L26", "partition": "test"} +{"repo": "bariew/yii2-module-cms-module", "path": "models/CloneModel.php", "func_name": "CloneModel.aliasList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "System path aliases list.\n@return array available alias list.", "docstring_tokens": ["System", "path", "aliases", "list", "."], "sha": "a0543c9f453baf85eda64fc5ec7429e9a38e8112", "url": "https://github.com/bariew/yii2-module-cms-module/blob/a0543c9f453baf85eda64fc5ec7429e9a38e8112/models/CloneModel.php#L86-L98", "partition": "test"} +{"repo": "bariew/yii2-module-cms-module", "path": "models/CloneModel.php", "func_name": "CloneModel.findAliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches all path aliases.\n@param string $query search string started with @\n@return array found system path aliases matching search query.", "docstring_tokens": ["Searches", "all", "path", "aliases", "."], "sha": "a0543c9f453baf85eda64fc5ec7429e9a38e8112", "url": "https://github.com/bariew/yii2-module-cms-module/blob/a0543c9f453baf85eda64fc5ec7429e9a38e8112/models/CloneModel.php#L105-L110", "partition": "test"} +{"repo": "bariew/yii2-module-cms-module", "path": "models/CloneModel.php", "func_name": "CloneModel.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces all new module classes content with empty template.\n@return boolean", "docstring_tokens": ["Replaces", "all", "new", "module", "classes", "content", "with", "empty", "template", "."], "sha": "a0543c9f453baf85eda64fc5ec7429e9a38e8112", "url": "https://github.com/bariew/yii2-module-cms-module/blob/a0543c9f453baf85eda64fc5ec7429e9a38e8112/models/CloneModel.php#L141-L167", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/SocketWrapper.php", "func_name": "HTTP_Request2_SocketWrapper.readLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads until either the end of the socket or a newline, whichever comes first\n\nStrips the trailing newline from the returned data, handles global\nrequest timeout. Method idea borrowed from Net_Socket PEAR package.\n\n@param int $bufferSize buffer size to use for reading\n@param int $localTimeout timeout value to use just for this call\n(used when waiting for \"100 Continue\" response)\n\n@return string Available data up to the newline (not including newline)\n@throws HTTP_Request2_MessageException In case of timeout", "docstring_tokens": ["Reads", "until", "either", "the", "end", "of", "the", "socket", "or", "a", "newline", "whichever", "comes", "first"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/SocketWrapper.php#L153-L187", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/SocketWrapper.php", "func_name": "HTTP_Request2_SocketWrapper.enableCrypto", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Turns on encryption on a socket\n\n@throws HTTP_Request2_ConnectionException", "docstring_tokens": ["Turns", "on", "encryption", "on", "a", "socket"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/SocketWrapper.php#L240-L257", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/SocketWrapper.php", "func_name": "HTTP_Request2_SocketWrapper.checkTimeout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throws an Exception if stream timed out\n\n@throws HTTP_Request2_MessageException", "docstring_tokens": ["Throws", "an", "Exception", "if", "stream", "timed", "out"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/SocketWrapper.php#L264-L275", "partition": "test"} +{"repo": "virgiliolino/application-bridge-slim", "path": "Sab/Application/Bridge/SlimBridge.php", "func_name": "SlimBridge.addRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register a new route with the given verbs.\n\n@param string $methods\n@param string $uri\n@param \\Closure|array|string $action\n@return void", "docstring_tokens": ["Register", "a", "new", "route", "with", "the", "given", "verbs", "."], "sha": "9dd20d5455bec50b9394c768c13f9e93d387d70b", "url": "https://github.com/virgiliolino/application-bridge-slim/blob/9dd20d5455bec50b9394c768c13f9e93d387d70b/Sab/Application/Bridge/SlimBridge.php#L29-L48", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Attributes.php", "func_name": "Attributes.setItems", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set items.\n\n@param array $items\n\n@return self", "docstring_tokens": ["Set", "items", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Attributes.php#L88-L95", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Attributes.php", "func_name": "Attributes.build", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build attributes.\n\n@param string $siteKey\n@param array $items\n\n@return string", "docstring_tokens": ["Build", "attributes", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Attributes.php#L160-L171", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Attributes.php", "func_name": "Attributes.prepareNameAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Prepare the name and id attributes.\n\n@param string|null $name\n\n@return array\n\n@throws \\Arcanedev\\NoCaptcha\\Exceptions\\InvalidArgumentException", "docstring_tokens": ["Prepare", "the", "name", "and", "id", "attributes", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Attributes.php#L182-L193", "partition": "test"} +{"repo": "sagsoz06/no-captcha", "path": "src/Utilities/Attributes.php", "func_name": "Attributes.checkDataAttribute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check data Attribute.\n\n@param string $name\n@param string $default\n@param array $available", "docstring_tokens": ["Check", "data", "Attribute", "."], "sha": "5c1efdc1d0ba05d51153745da259c76a104095c3", "url": "https://github.com/sagsoz06/no-captcha/blob/5c1efdc1d0ba05d51153745da259c76a104095c3/src/Utilities/Attributes.php#L240-L251", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Resource/SingleUseQueue.php", "func_name": "SingleUseQueue.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a resource to the queue.\n\n@param \\Orbt\\ResourceMirror\\Resource\\Resource $resource", "docstring_tokens": ["Adds", "a", "resource", "to", "the", "queue", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Resource/SingleUseQueue.php#L26-L32", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/DayBuilder.php", "func_name": "DayBuilder.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new Day.\n\n@param integer $dayOfWeek The day of week.\n@param array $openingIntervals The opening intervals.\n@return Day", "docstring_tokens": ["Create", "a", "new", "Day", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/DayBuilder.php#L24-L47", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/DayBuilder.php", "func_name": "DayBuilder.fromAssociativeArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a DayInterface object from an array.\n\n@param array $data The day data.\n@return DayInterface", "docstring_tokens": ["Create", "a", "DayInterface", "object", "from", "an", "array", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/DayBuilder.php#L55-L76", "partition": "test"} +{"repo": "Speicher210/business-hours", "path": "src/Day/DayBuilder.php", "func_name": "DayBuilder.isIntervalAllDay", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if an interval array is all day.\n\n@param Time $start The start time.\n@param Time $end The end time.\n@return boolean", "docstring_tokens": ["Check", "if", "an", "interval", "array", "is", "all", "day", "."], "sha": "f8479821532991927d7ff9ea1b659f76153a2587", "url": "https://github.com/Speicher210/business-hours/blob/f8479821532991927d7ff9ea1b659f76153a2587/src/Day/DayBuilder.php#L85-L96", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.fromArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Configure the request based on a JSON, usually received on the workload\nfrom a GearmanJob from the nginx.\n\n@param string $json\n@return boolean", "docstring_tokens": ["Configure", "the", "request", "based", "on", "a", "JSON", "usually", "received", "on", "the", "workload", "from", "a", "GearmanJob", "from", "the", "nginx", "."], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L43-L105", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.setServerInfo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the server info\n\n@param string $info mandatory keys: name, addr, port and proto", "docstring_tokens": ["Sets", "the", "server", "info"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L136-L151", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the headers.\n\n@param array $headers associative array containing the new HTTP headers", "docstring_tokens": ["Sets", "the", "headers", "."], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L158-L171", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.setPostFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets POST fields\n\n@param array $fields", "docstring_tokens": ["Sets", "POST", "fields"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L200-L210", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.setQueryFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets GET fields\n\n@param array $fields", "docstring_tokens": ["Sets", "GET", "fields"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L228-L236", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a header by name\n\n@param string $header\n@return string", "docstring_tokens": ["Get", "a", "header", "by", "name"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L296-L305", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Client/HTTP/Request.php", "func_name": "Request.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a array with the values of this Request\n\n@return array", "docstring_tokens": ["Returns", "a", "array", "with", "the", "values", "of", "this", "Request"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Client/HTTP/Request.php#L387-L398", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.addCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new command.\n\n@param Command $command The command\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Add", "a", "new", "command", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L97-L112", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.addParsedCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a parsed command.\n\n@param Command $command The command\n@param array $parsedCommand The parsed command\n\n@return void", "docstring_tokens": ["Add", "a", "parsed", "command", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L122-L139", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.command", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a command by name.\n\n@param string $name The command name\n\n@return \\Valkyrja\\Console\\Command", "docstring_tokens": ["Get", "a", "command", "by", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L148-L153", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.removeCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a command.\n\n@param string $name The command name\n\n@return void", "docstring_tokens": ["Remove", "a", "command", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L174-L182", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.matchCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Match a command by path.\n\n@param string $path The path\n\n@throws \\Valkyrja\\Console\\Exceptions\\CommandNotFound\n\n@return \\Valkyrja\\Console\\Command", "docstring_tokens": ["Match", "a", "command", "by", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L207-L246", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.all", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all commands.\n\n@return \\Valkyrja\\Console\\Command[]", "docstring_tokens": ["Get", "all", "commands", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L308-L318", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the console.\n\n@param bool $force [optional] Whether to force setup\n@param bool $useCache [optional] Whether to use cache\n\n@throws \\ReflectionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Setup", "the", "console", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L357-L399", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.setupFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the console from cache.\n\n@return void", "docstring_tokens": ["Setup", "the", "console", "from", "cache", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L406-L423", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/NativeConsole.php", "func_name": "NativeConsole.getCacheable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cacheable representation of the commands.\n\n@throws \\ReflectionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return array", "docstring_tokens": ["Get", "a", "cacheable", "representation", "of", "the", "commands", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/NativeConsole.php#L527-L537", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Word/Separator/Abstract.php", "func_name": "Zend_Filter_Word_Separator_Abstract.setSeparator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new seperator\n\n@param string $separator Seperator\n@return $this", "docstring_tokens": ["Sets", "a", "new", "seperator"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Word/Separator/Abstract.php#L55-L63", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.listen", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an event listener.\n\n@param string $event The event\n@param Listener $listener The event listener\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Add", "an", "event", "listener", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L69-L84", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.listenMany", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a listener to many events.\n\n@param Listener $listener The listener\n@param string[] ...$events The events\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Add", "a", "listener", "to", "many", "events", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L100-L107", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.hasListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether an event has a specified listener.\n\n@param string $event The event\n@param string $listenerId The event listener\n\n@return bool", "docstring_tokens": ["Determine", "whether", "an", "event", "has", "a", "specified", "listener", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L117-L120", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.removeListener", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an event listener.\n\n@param string $event The event\n@param string $listenerId The event listener\n\n@return void", "docstring_tokens": ["Remove", "an", "event", "listener", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L130-L137", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.hasListeners", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine whether an event has listeners.\n\n@param string $event The event\n\n@return bool", "docstring_tokens": ["Determine", "whether", "an", "event", "has", "listeners", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L160-L163", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.add", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a new event.\n\n@param string $event The event\n\n@return void", "docstring_tokens": ["Add", "a", "new", "event", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L172-L177", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove an event.\n\n@param string $event The event\n\n@return void", "docstring_tokens": ["Remove", "an", "event", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L198-L203", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.trigger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Trigger an event.\n\n@param string $event The event\n@param array $arguments [optional] The arguments\n\n@return array", "docstring_tokens": ["Trigger", "an", "event", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L213-L237", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the events.\n\n@param bool $force [optional] Whether to force setup\n@param bool $useCache [optional] Whether to use cache\n\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Setup", "the", "events", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L287-L322", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Events/NativeEvents.php", "func_name": "NativeEvents.setupFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the events from cache.\n\n@return void", "docstring_tokens": ["Setup", "the", "events", "from", "cache", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Events/NativeEvents.php#L329-L343", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TemplatingTrait.php", "func_name": "TemplatingTrait.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Init a template engine. Accepts array of options\n\ntemplatepath - path to smarty templates directory\ncompiledir\t- path to templates compilation directory\nusecache\t- (true|false) Torns cache On/Off .\ncachedir\t- If cache is On then directory for cache files\nextension\t- Extension of template files. Default is tpl\ntemplatingpluginsdir - Path (or array of paths) to folders where Smarty extra plugins are stored\n\n@param array $options", "docstring_tokens": ["Init", "a", "template", "engine", ".", "Accepts", "array", "of", "options"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TemplatingTrait.php#L76-L105", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TemplatingTrait.php", "func_name": "TemplatingTrait.checkTemplateExists", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set template as string. It is HTML document to fetch later as a template\n\n@paral string $filepath Template file name. Same rules as for setTemplate\n@param array $options Array of options. Now only one option can eb used `extensionpresent` = true means template fiel path includes extension\n\n@return boolean True if template file exists in a templates path", "docstring_tokens": ["Set", "template", "as", "string", ".", "It", "is", "HTML", "document", "to", "fetch", "later", "as", "a", "template"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TemplatingTrait.php#L139-L162", "partition": "test"} +{"repo": "Gelembjuk/templating", "path": "src/Gelembjuk/Templating/TemplatingTrait.php", "func_name": "TemplatingTrait.fetchTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch prepared template and return complete html document\n\n@return string HTML document with all data included", "docstring_tokens": ["Fetch", "prepared", "template", "and", "return", "complete", "html", "document"], "sha": "5efa66410f02325b5e41cd962f35a07813e859df", "url": "https://github.com/Gelembjuk/templating/blob/5efa66410f02325b5e41cd962f35a07813e859df/src/Gelembjuk/Templating/TemplatingTrait.php#L188-L201", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Config.php", "func_name": "Config.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the configuration using the reader instance.\n\n@param array $options - Options.\n\n@throws InvalidOptionTypeException\n@throws ImportException\n\n@return $this", "docstring_tokens": ["Loads", "the", "configuration", "using", "the", "reader", "instance", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Config.php#L73-L141", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Config.php", "func_name": "Config.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves the configuration with the writer instance.\n\n@param array $options - Options.\n\n@return $this", "docstring_tokens": ["Saves", "the", "configuration", "with", "the", "writer", "instance", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Config.php#L150-L175", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Config.php", "func_name": "Config.initializeReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the reader instance.\n\n@return void", "docstring_tokens": ["Initializes", "the", "reader", "instance", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Config.php#L241-L267", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Config.php", "func_name": "Config.initializeWriter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the writer instance.\n\n@return void", "docstring_tokens": ["Initializes", "the", "writer", "instance", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Config.php#L274-L300", "partition": "test"} +{"repo": "ironedgesoftware/config", "path": "src/Config.php", "func_name": "Config.getDefaultOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the default options.\n\n@return array", "docstring_tokens": ["Returns", "the", "default", "options", "."], "sha": "184e80ce902f10e9d07d4698797bd4d1f4a2a07e", "url": "https://github.com/ironedgesoftware/config/blob/184e80ce902f10e9d07d4698797bd4d1f4a2a07e/src/Config.php#L323-L341", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/CryptDatabase.php", "func_name": "CryptDatabase.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt the given data.\n\n@param string $data Session data to encrypt.\n@param string $key\n\n@return string Encrypted data.", "docstring_tokens": ["Encrypt", "the", "given", "data", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/CryptDatabase.php#L68-L86", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/CryptDatabase.php", "func_name": "CryptDatabase.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypt the given session data.\n\n@param string $data Data to decrypt\n@param string $key\n\n@return string Decrypted data", "docstring_tokens": ["Decrypt", "the", "given", "session", "data", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/CryptDatabase.php#L96-L111", "partition": "test"} +{"repo": "xloit/xloit-bridge-zend-session", "path": "src/SaveHandler/Database/CryptDatabase.php", "func_name": "CryptDatabase.generateKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate secret key.\n\n@param string $key\n\n@return string Generated secret key", "docstring_tokens": ["Generate", "secret", "key", "."], "sha": "9697c5a4a273999514c53500edbeb1f0cc3a0fd9", "url": "https://github.com/xloit/xloit-bridge-zend-session/blob/9697c5a4a273999514c53500edbeb1f0cc3a0fd9/src/SaveHandler/Database/CryptDatabase.php#L120-L128", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.throwToStdout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw error description to Stdout\n@param \\Throwable $exception\n@param bool $full\n@param bool $asJson\n@return Response", "docstring_tokens": ["Throw", "error", "description", "to", "Stdout"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L44-L60", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.renderException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render exception view\n@param \\Throwable $exception\n@param bool $full\n@return array|string", "docstring_tokens": ["Render", "exception", "view"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L68-L82", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.getViewFileForException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get view file for exception depending on its code|httpStatusCode\n@param \\Throwable $exception\n@return string", "docstring_tokens": ["Get", "view", "file", "for", "exception", "depending", "on", "its", "code|httpStatusCode"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L89-L102", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error response\n@param int $code\n@param string $body\n@param array $headers\n@return Response", "docstring_tokens": ["Get", "error", "response"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L111-L121", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.getExceptionData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get exception data as string or array\n@param \\Throwable $exception\n@param bool $full\n@param bool $plainText\n@return array|string", "docstring_tokens": ["Get", "exception", "data", "as", "string", "or", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L130-L154", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/ExceptionHandler.php", "func_name": "ExceptionHandler.getStdioLogger", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get StdioLogger instance\n@return StdioLogger|null", "docstring_tokens": ["Get", "StdioLogger", "instance"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/ExceptionHandler.php#L170-L179", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Read session data and returns serialized|encoded data\n@param string $id\n@return ExtendedPromiseInterface with session data", "docstring_tokens": ["Read", "session", "data", "and", "returns", "serialized|encoded", "data"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L49-L77", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write session data to storage\n@param string $id\n@param array $data\n@return ExtendedPromiseInterface with session data", "docstring_tokens": ["Write", "session", "data", "to", "storage"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L85-L99", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Destroy a session\n@param string $id The session ID being destroyed.\n@param bool $archiveRemove Remove data from archive or no\n@return ExtendedPromiseInterface with bool when finished", "docstring_tokens": ["Destroy", "a", "session"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L107-L122", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.updateTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update timestamp of a session\n@param string $id The session id\n@param array $data\nThe encoded session data. This data is the\nresult of the PHP internally encoding\nthe $_SESSION superglobal to a serialized\nstring and passing it as this parameter.\n@return ExtendedPromiseInterface with bool when finished", "docstring_tokens": ["Update", "timestamp", "of", "a", "session"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L178-L191", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.extractData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract session data from record\n@param array $sessionRecord\n@param bool $unserialize\n@return array", "docstring_tokens": ["Extract", "session", "data", "from", "record"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L199-L202", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.extractTimestamp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract session timestamp from record\n@param array $record\n@return integer|null", "docstring_tokens": ["Extract", "session", "timestamp", "from", "record"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L209-L211", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/CachedSessionHandler.php", "func_name": "CachedSessionHandler.getDataFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data from cache storage\n@param string $key\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "data", "from", "cache", "storage"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/CachedSessionHandler.php#L227-L241", "partition": "test"} +{"repo": "Siwayll/kapow", "path": "src/Exception.php", "func_name": "Exception.getMessageWithVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get message with variables\n\n@throws \\Exception\n\n@return string", "docstring_tokens": ["Get", "message", "with", "variables"], "sha": "b0cd700c394f43d4d1d04aae7cdb7624569ce22e", "url": "https://github.com/Siwayll/kapow/blob/b0cd700c394f43d4d1d04aae7cdb7624569ce22e/src/Exception.php#L60-L97", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/CreateMySqlDao.php", "func_name": "CreateMySqlDao.constraint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get constraint syntaxe\n\n@param TableInterface $table table\n@return string constraint syntaxe", "docstring_tokens": ["Get", "constraint", "syntaxe"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/CreateMySqlDao.php#L47-L71", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/CreateMySqlDao.php", "func_name": "CreateMySqlDao.addAutoIncrement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add auto increment\n\n@param string $key\n@param array $column\n@return string modify auto increment syntax", "docstring_tokens": ["Add", "auto", "increment"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/CreateMySqlDao.php#L80-L91", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/CreateMySqlDao.php", "func_name": "CreateMySqlDao.addKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get add key syntaxe\n\n@param KeyInterface $key key\n@param string $name name\n@return string add key syntaxe", "docstring_tokens": ["Get", "add", "key", "syntaxe"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/CreateMySqlDao.php#L100-L105", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/CreateMySqlDao.php", "func_name": "CreateMySqlDao.addForeign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get add foreign key syntaxe\n\n@param KeyInterface $key key\n@param string $name name\n@return string add foreign key syntaxe", "docstring_tokens": ["Get", "add", "foreign", "key", "syntaxe"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/CreateMySqlDao.php#L114-L121", "partition": "test"} +{"repo": "seeren/database", "path": "src/Dao/MySql/CreateMySqlDao.php", "func_name": "CreateMySqlDao.getColumnSyntaxe", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get column syntax\n\n@param ColumnInterface $column\n@return string column syntax line", "docstring_tokens": ["Get", "column", "syntax"], "sha": "85b3c173988ce1f3b230d4f927b0131f8916e001", "url": "https://github.com/seeren/database/blob/85b3c173988ce1f3b230d4f927b0131f8916e001/src/Dao/MySql/CreateMySqlDao.php#L129-L139", "partition": "test"} +{"repo": "mrgrain/jumpstart-battery", "path": "src/Plugin.php", "func_name": "Plugin.jumpstart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Run the loader to execute all of the hooks with WordPress.\n\n@since 1.0.0", "docstring_tokens": ["Run", "the", "loader", "to", "execute", "all", "of", "the", "hooks", "with", "WordPress", "."], "sha": "81f1ca9bf21621928d26d286946d3f4cb726cffb", "url": "https://github.com/mrgrain/jumpstart-battery/blob/81f1ca9bf21621928d26d286946d3f4cb726cffb/src/Plugin.php#L91-L97", "partition": "test"} +{"repo": "Dhii/iterator-base", "path": "src/CreateIterationExceptionCapableTrait.php", "func_name": "CreateIterationExceptionCapableTrait._createIterationException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates a new iteration exception instance.\n\n@since [*next-version*]\n\n@param string|Stringable|null $message The error message, if any.\n@param int|null $code The error code, if any.\n@param RootException|null $previous The previous exception for chaining, if any.\n@param IterationInterface|null $iteration The iteration instance, if any.\n\n@return IterationException The created exception instance.", "docstring_tokens": ["Creates", "a", "new", "iteration", "exception", "instance", "."], "sha": "093438953cb2c83309b412f9fe09211fb1d0abed", "url": "https://github.com/Dhii/iterator-base/blob/093438953cb2c83309b412f9fe09211fb1d0abed/src/CreateIterationExceptionCapableTrait.php#L28-L35", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/NavBar.php", "func_name": "NavBar.renderToggleButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders collapsible toggle button.\n@return string the rendering toggle button.", "docstring_tokens": ["Renders", "collapsible", "toggle", "button", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/NavBar.php#L116-L128", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Controller/Money.php", "func_name": "Money.getResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Response object\n\n@param string $templateName\n@param bool $isNaked\n@return ResponseInterface", "docstring_tokens": ["Get", "Response", "object"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Controller/Money.php#L126-L139", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Controller/Money.php", "func_name": "Money.getModuleName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the module name.\n\n@return string", "docstring_tokens": ["Return", "the", "module", "name", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Controller/Money.php#L146-L158", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.loadClassReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load class reflection\n\n@param string|object $class\n\n@return \\ReflectionClass", "docstring_tokens": ["Load", "class", "reflection"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L50-L65", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.loadObjectReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load object reflection\n\n@param object $object\n\n@return \\ReflectionObject", "docstring_tokens": ["Load", "object", "reflection"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L89-L109", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.loadPropertyReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load property reflection\n\n@param object $object\n@param string $property\n@param bool $searchInParents\n\n@return \\ReflectionProperty\n\n@throws \\ReflectionException", "docstring_tokens": ["Load", "property", "reflection"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L122-L145", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.getCalledMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get called method from abstract reflection function\n\n@param \\ReflectionFunctionAbstract $method\n@param bool $closureInfo\n\n@return string", "docstring_tokens": ["Get", "called", "method", "from", "abstract", "reflection", "function"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L155-L178", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.getClassProperties", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class properties\n\n@param string $class\n@param bool $inParents\n@param int $filter\n\n@return \\ReflectionProperty[]", "docstring_tokens": ["Get", "class", "properties"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L189-L213", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.setPropertyValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value to property\n\n@param object|string $object\n@param string $property\n@param mixed $value", "docstring_tokens": ["Set", "value", "to", "property"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L222-L237", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.setPropertiesValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value to properties\n\n@param object|string $object\n@param array $properties", "docstring_tokens": ["Set", "value", "to", "properties"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L245-L250", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.loadClassAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load class annotations\n\n@param Reader $reader\n@param string|object $class\n@param bool $inParents\n\n@return array", "docstring_tokens": ["Load", "class", "annotations"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L288-L309", "partition": "test"} +{"repo": "FiveLab/Reflection", "path": "src/Reflection.php", "func_name": "Reflection.clear", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Clear internal storage\n\n@param int $mode", "docstring_tokens": ["Clear", "internal", "storage"], "sha": "7b97a32f8a63a21f21ca51c3401ca5e4df7cb179", "url": "https://github.com/FiveLab/Reflection/blob/7b97a32f8a63a21f21ca51c3401ca5e4df7cb179/src/Reflection.php#L316-L329", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.isInstantiable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check that class is instantiable\n@param string $className\n@return bool", "docstring_tokens": ["Check", "that", "class", "is", "instantiable"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L52-L59", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getMethodReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class method reflection\n@param string|object $objectOrName\n@param string $methodName\n@return null|\\ReflectionMethod", "docstring_tokens": ["Get", "class", "method", "reflection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L163-L176", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getClassReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class reflection\n@param string|object $objectOrName\n@return null|\\ReflectionClass", "docstring_tokens": ["Get", "class", "reflection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L183-L196", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.checkMethodArguments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check class method arguments for consistency\n@param array $arguments\n@param string|\\ReflectionMethod $method\n@param null $objectOrName\n@param string $returnType\n@return array|bool|null", "docstring_tokens": ["Check", "class", "method", "arguments", "for", "consistency"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L227-L255", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getReflectionFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get reflection from cache\n@param string $type\n@param string|object $objectOrName\n@param mixed ...$params\n@return mixed", "docstring_tokens": ["Get", "reflection", "from", "cache"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L264-L269", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.setReflectionToCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save reflection to cache\n@param \\Reflector $reflection\n@param string $type\n@param null $objectOrName\n@param mixed ...$params\n@return mixed", "docstring_tokens": ["Save", "reflection", "to", "cache"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L279-L287", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getCacheKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get object cache key\n@param string $type\n@param string|object $objectOrName\n@param mixed[] ...$params\n@return mixed|string", "docstring_tokens": ["Get", "object", "cache", "key"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L296-L312", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getObjectClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class name of object or its reflection\n@param object $object\n@return mixed|string", "docstring_tokens": ["Get", "class", "name", "of", "object", "or", "its", "reflection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L319-L337", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.parseDocCommentSummary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the first line of PHPDoc block.\n\n@param \\ReflectionClass|\\ReflectionMethod|\\ReflectionProperty $reflection\n@return string", "docstring_tokens": ["Returns", "the", "first", "line", "of", "PHPDoc", "block", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L372-L380", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getClassDoc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class PHPDoc parsed\n@param object $object\n@param string $parseMethod\n@return string|array|null", "docstring_tokens": ["Get", "class", "PHPDoc", "parsed"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L407-L416", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/ReflectionHelper.php", "func_name": "ReflectionHelper.getMethodPropertyDoc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get method or property PHPDoc parsed\n@param string|\\ReflectionMethod|\\ReflectionProperty $method\n@param object|null $object\n@param string $type\n@param string $parseMethod\n@return string|array|null", "docstring_tokens": ["Get", "method", "or", "property", "PHPDoc", "parsed"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/ReflectionHelper.php#L426-L445", "partition": "test"} +{"repo": "seaice/li-framework", "path": "Db.php", "func_name": "Db.initByConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "init db instance by config\n@param $key string the db index\n@param $config mixed the config", "docstring_tokens": ["init", "db", "instance", "by", "config"], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/Db.php#L46-L59", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/View/Helper/FlashMessages.php", "func_name": "FlashMessages._mapNameSpace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Accepts foundation class, maps to a FlashMessenger namespace\n@param string $foundationClass\n@return string", "docstring_tokens": ["Accepts", "foundation", "class", "maps", "to", "a", "FlashMessenger", "namespace"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/View/Helper/FlashMessages.php#L35-L42", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/Parser/v2.php", "func_name": "PEAR_PackageFile_Parser_v2._unIndent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Unindent given string\n\n@param string $str The string that has to be unindented.\n@return string\n@access private", "docstring_tokens": ["Unindent", "given", "string"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/Parser/v2.php#L55-L72", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/Parser/v2.php", "func_name": "PEAR_PackageFile_Parser_v2.postProcess", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "post-process data\n\n@param string $data\n@param string $element element name", "docstring_tokens": ["post", "-", "process", "data"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/Parser/v2.php#L80-L86", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/Flickr/Photo.php", "func_name": "Photo.extractPhotoArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Specific data are stored into an array and are returned, when it receive an failure, returns null.\n\n@param object $data\n@return array|null", "docstring_tokens": ["Specific", "data", "are", "stored", "into", "an", "array", "and", "are", "returned", "when", "it", "receive", "an", "failure", "returns", "null", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/Flickr/Photo.php#L109-L130", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/Flickr/Photo.php", "func_name": "Photo.fetchImages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This function makes the request to get images sources from a photo and returns them as an array.\n\n@param string $photoId\n@return array", "docstring_tokens": ["This", "function", "makes", "the", "request", "to", "get", "images", "sources", "from", "a", "photo", "and", "returns", "them", "as", "an", "array", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/Flickr/Photo.php#L138-L155", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/APIs/Flickr/Photo.php", "func_name": "Photo.extractImagesArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts an array of images from the photo array and returns them.\n\n@param array $source\n@return array", "docstring_tokens": ["Extracts", "an", "array", "of", "images", "from", "the", "photo", "array", "and", "returns", "them", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/APIs/Flickr/Photo.php#L163-L172", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/UrlManager.php", "func_name": "UrlManager.findPlaceholderStartPos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds a position with first placeholder\n@param string $path\n@return bool|int", "docstring_tokens": ["Finds", "a", "position", "with", "first", "placeholder"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/UrlManager.php#L210-L222", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/UrlManager.php", "func_name": "UrlManager.buildRoutePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build route path with placeholders replace and searching in router paths\n@param string $path\n@param array $params\n@return string", "docstring_tokens": ["Build", "route", "path", "with", "placeholders", "replace", "and", "searching", "in", "router", "paths"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/UrlManager.php#L230-L234", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/UrlManager.php", "func_name": "UrlManager.searchInRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search in router for predefined paths\n@param string $path\n@param array $params\n@return string", "docstring_tokens": ["Search", "in", "router", "for", "predefined", "paths"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/UrlManager.php#L242-L256", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/UrlManager.php", "func_name": "UrlManager.replacePlaceholders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replace placeholders in path\n@param string $path\n@param array $params\n@return string", "docstring_tokens": ["Replace", "placeholders", "in", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/UrlManager.php#L264-L279", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/MessageSource.php", "func_name": "MessageSource.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes this component.", "docstring_tokens": ["Initializes", "this", "component", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/MessageSource.php#L44-L50", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/MessageSource.php", "func_name": "MessageSource.preloadMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Preload all messages from source\n@param string $category Category or wildcard\n@param array $languages Languages used to preload\n@return ExtendedPromiseInterface", "docstring_tokens": ["Preload", "all", "messages", "from", "source"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/MessageSource.php#L58-L84", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/MessageSource.php", "func_name": "MessageSource.findCategoriesByPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find categories by string pattern|wildcard\n@param string $pattern\n@return ExtendedPromiseInterface", "docstring_tokens": ["Find", "categories", "by", "string", "pattern|wildcard"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/MessageSource.php#L91-L103", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Model/Model.php", "func_name": "Model.__isset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if a property is set.\n\n@param string $name The property to check\n\n@return bool", "docstring_tokens": ["Check", "if", "a", "property", "is", "set", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Model/Model.php#L79-L89", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/ExceptionHandler.php", "func_name": "ExceptionHandler.sendExceptionResponse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send response.\n\n@param \\Throwable $exception\n\n@return void", "docstring_tokens": ["Send", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/ExceptionHandler.php#L185-L200", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/ExceptionHandler.php", "func_name": "ExceptionHandler.getContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the HTML content associated with the given exception.\n\n@param \\Throwable $exception A FlattenException instance\n\n@return string The content as a string", "docstring_tokens": ["Gets", "the", "HTML", "content", "associated", "with", "the", "given", "exception", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/ExceptionHandler.php#L209-L312", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/ExceptionHandler.php", "func_name": "ExceptionHandler.formatPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Format path.\n\n@param string $path\n@param int $line\n\n@return string", "docstring_tokens": ["Format", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/ExceptionHandler.php#L449-L476", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/ExceptionHandler.php", "func_name": "ExceptionHandler.formatArgs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats an array as a string.\n\n@param array $args The argument array\n\n@return string", "docstring_tokens": ["Formats", "an", "array", "as", "a", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/ExceptionHandler.php#L485-L524", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/ExceptionHandler.php", "func_name": "ExceptionHandler.escapeHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape HTML.\n\n@param string $str\n\n@return string", "docstring_tokens": ["Escape", "HTML", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/ExceptionHandler.php#L533-L540", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Validation/Laravel/LaravelValidationService.php", "func_name": "LaravelValidationService.with", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the data to be validated.\n\n@param array $data\n@param array $rules\n@return mixed", "docstring_tokens": ["Sets", "the", "data", "to", "be", "validated", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Validation/Laravel/LaravelValidationService.php#L44-L46", "partition": "test"} +{"repo": "CDV-Yami/sheet-fight", "path": "src/Yami/SheetFight/Model/InputParser.php", "func_name": "InputParser.transforms", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transform a string to a collection of Input.\n\n@param string $string\n\n@return InputInterface[]", "docstring_tokens": ["Transform", "a", "string", "to", "a", "collection", "of", "Input", "."], "sha": "d991329f367c1320cd5c38511e52fbd9ff60cb12", "url": "https://github.com/CDV-Yami/sheet-fight/blob/d991329f367c1320cd5c38511e52fbd9ff60cb12/src/Yami/SheetFight/Model/InputParser.php#L22-L38", "partition": "test"} +{"repo": "Renegade334/phergie-irc-plugin-react-ping", "path": "src/Plugin.php", "func_name": "Plugin.handleDisconnect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Forget about a connection on disconnect.\n\n@param \\Phergie\\Irc\\ConnectionInterface $connection\n@param \\Psr\\Log\\LoggerInterface $logger", "docstring_tokens": ["Forget", "about", "a", "connection", "on", "disconnect", "."], "sha": "1dd6f6547cfe5923391c901e4181d899c0b7ed92", "url": "https://github.com/Renegade334/phergie-irc-plugin-react-ping/blob/1dd6f6547cfe5923391c901e4181d899c0b7ed92/src/Plugin.php#L122-L130", "partition": "test"} +{"repo": "Renegade334/phergie-irc-plugin-react-ping", "path": "src/Plugin.php", "func_name": "Plugin.handleReceived", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Neutralise the existing timer, if present, and create a new timer.\n\n@param \\Phergie\\Irc\\Event\\EventInterface $event\n@param \\Phergie\\Irc\\Bot\\React\\EventQueueInterface $queue", "docstring_tokens": ["Neutralise", "the", "existing", "timer", "if", "present", "and", "create", "a", "new", "timer", "."], "sha": "1dd6f6547cfe5923391c901e4181d899c0b7ed92", "url": "https://github.com/Renegade334/phergie-irc-plugin-react-ping/blob/1dd6f6547cfe5923391c901e4181d899c0b7ed92/src/Plugin.php#L138-L151", "partition": "test"} +{"repo": "Renegade334/phergie-irc-plugin-react-ping", "path": "src/Plugin.php", "func_name": "Plugin.callbackPhoneHome", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback called after the inactivity period is reached.\n\n@param \\React\\EventLoop\\Timer\\TimerInterface $caller", "docstring_tokens": ["Callback", "called", "after", "the", "inactivity", "period", "is", "reached", "."], "sha": "1dd6f6547cfe5923391c901e4181d899c0b7ed92", "url": "https://github.com/Renegade334/phergie-irc-plugin-react-ping/blob/1dd6f6547cfe5923391c901e4181d899c0b7ed92/src/Plugin.php#L158-L168", "partition": "test"} +{"repo": "Renegade334/phergie-irc-plugin-react-ping", "path": "src/Plugin.php", "func_name": "Plugin.callbackGrimReaper", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Callback called after the CTCP PING timeout is reached.\n\n@param \\React\\EventLoop\\Timer\\TimerInterface $caller", "docstring_tokens": ["Callback", "called", "after", "the", "CTCP", "PING", "timeout", "is", "reached", "."], "sha": "1dd6f6547cfe5923391c901e4181d899c0b7ed92", "url": "https://github.com/Renegade334/phergie-irc-plugin-react-ping/blob/1dd6f6547cfe5923391c901e4181d899c0b7ed92/src/Plugin.php#L175-L181", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Framework/ServiceLocator/Factory/CommandDispatcherFactory.php", "func_name": "CommandDispatcherFactory.getProxyCommandHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get proxy command handler for aggregate.\n\n@param ServiceLocatorInterface $serviceLocator\n@param string $key\n@return CommandHandlerInterface\n@throws \\ExtendsFramework\\ServiceLocator\\ServiceLocatorException", "docstring_tokens": ["Get", "proxy", "command", "handler", "for", "aggregate", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Framework/ServiceLocator/Factory/CommandDispatcherFactory.php#L37-L51", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Controller/Dev.php", "func_name": "Dev.cb_configAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Page of application configuration\n\n@return string The view content", "docstring_tokens": ["Page", "of", "application", "configuration"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Controller/Dev.php#L205-L218", "partition": "test"} +{"repo": "Katwizy/katwizy", "path": "src/ConfigLoader.php", "func_name": "ConfigLoader.loadBundles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load bundles from project configuration\n\n@return array|mixed\n@throws \\Symfony\\Component\\Yaml\\Exception\\ParseException", "docstring_tokens": ["Load", "bundles", "from", "project", "configuration"], "sha": "98fb8fc5f72541f66bbf5c34fab7a257820e3fe6", "url": "https://github.com/Katwizy/katwizy/blob/98fb8fc5f72541f66bbf5c34fab7a257820e3fe6/src/ConfigLoader.php#L61-L73", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/JsonCache.php", "func_name": "JsonCache.loadMessages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Load messages from message directory.", "docstring_tokens": ["Load", "messages", "from", "message", "directory", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/JsonCache.php#L63-L105", "partition": "test"} +{"repo": "dbeurive/slim-requester", "path": "src/Requester.php", "func_name": "Requester.setHttpHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the HTTP headers for the request.\n\n@param array $inHttpHeaders The HTTP headers to set.\nSee {@url https://developer.mozilla.org/fr/docs/HTTP/Headers} for the list of HTTP headers.\n@param bool $inMerge This parameter determines whether the given list of headers should be merged to the existing one or not.\nIf the value if false, then the given list of headers will replace the existing one.\nOtherwise, the given list of headers will be merged into the existing one.\n@return $this", "docstring_tokens": ["Set", "the", "HTTP", "headers", "for", "the", "request", "."], "sha": "d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5", "url": "https://github.com/dbeurive/slim-requester/blob/d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5/src/Requester.php#L85-L92", "partition": "test"} +{"repo": "dbeurive/slim-requester", "path": "src/Requester.php", "func_name": "Requester.setServerCgiEnvironmentVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the server CGI environment variables.\n\n@param array $inServerCgiEnvironmentVariables\nSee {@url http://php.net/manual/fr/reserved.variables.server.php} for the list of variables.\n@param bool $inMerge This parameter determines whether the given list of variables should be merged to the existing one or not.\nIf the value if false, then the given list of variables will replace the existing one.\nOtherwise, the given list of variables will be merged into the existing one.\n@return $this", "docstring_tokens": ["Set", "the", "server", "CGI", "environment", "variables", "."], "sha": "d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5", "url": "https://github.com/dbeurive/slim-requester/blob/d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5/src/Requester.php#L104-L111", "partition": "test"} +{"repo": "dbeurive/slim-requester", "path": "src/Requester.php", "func_name": "Requester.post", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute a POST request.\n\n@param string $inRequestUri The request URI (example: \"/hello/toto\").\n@param array $inPostParameters List of parameters to pass.\n@return string The content of the standard output.\n@see \\Slim\\Http\\Request::getParsedBody for a detailed description of how the request body is parsed.\nThe parsing relies on the value of the 'Content-Type' header.\nIt should be \"application/x-www-form-urlencoded\".\n@note Please keep in mind that:\n- HTTP headers can be configured through the method SoftRequester::setHttpHeaders().\n- Server CGI environment variables can be configured through the method SoftRequester::setServerCgiEnvironmentVariables().\n@see Requester::setHttpHeaders()\n@see Requester::setServerCgiEnvironmentVariables()", "docstring_tokens": ["Execute", "a", "POST", "request", "."], "sha": "d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5", "url": "https://github.com/dbeurive/slim-requester/blob/d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5/src/Requester.php#L233-L251", "partition": "test"} +{"repo": "dbeurive/slim-requester", "path": "src/Requester.php", "func_name": "Requester.jsonRpc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a JSON RPC request.\n\n@param string $inRequestUri The request URI (example: \"/hello/toto\").\n@param array $inParameters The structure that will be converted into JSON, and that contains the data to send.\n@return string string The content of the standard output.\n@note Please keep in mind that:\n- HTTP headers can be configured through the method SoftRequester::setHttpHeaders().\n- Server CGI environment variables can be configured through the method SoftRequester::setServerCgiEnvironmentVariables().\n@see Requester::setHttpHeaders()\n@see Requester::setServerCgiEnvironmentVariables()", "docstring_tokens": ["Send", "a", "JSON", "RPC", "request", "."], "sha": "d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5", "url": "https://github.com/dbeurive/slim-requester/blob/d130619a69f0a9c4ca0ca2511fb7f32ea56d37e5/src/Requester.php#L265-L279", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/DatabaseDriver/SqliteDriver.php", "func_name": "SqliteDriver.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connexion to the BDD", "docstring_tokens": ["Connexion", "to", "the", "BDD"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/DatabaseDriver/SqliteDriver.php#L72-L95", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/StorageEngine/DatabaseDriver/SqliteDriver.php", "func_name": "SqliteDriver.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a string using the internal PHP sqlite function\n\n@param string $str The string to escape\n@param bool $double_quotes If true, the double-quotes will be doubled for escaping\n@return string The escaped string\n@see http://www.php.net/manual/en/function.sqlite-escape-string.php", "docstring_tokens": ["Escape", "a", "string", "using", "the", "internal", "PHP", "sqlite", "function"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/StorageEngine/DatabaseDriver/SqliteDriver.php#L190-L195", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/AssetBundle.php", "func_name": "AssetBundle.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the bundle.\nIf you override this method, make sure you call the parent implementation in the last.", "docstring_tokens": ["Initializes", "the", "bundle", ".", "If", "you", "override", "this", "method", "make", "sure", "you", "call", "the", "parent", "implementation", "in", "the", "last", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/AssetBundle.php#L124-L135", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/AbstractModel.php", "func_name": "AbstractModel.hasSlugField", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Does the table have a slug field\n\n@return bool True if the model has a slug field", "docstring_tokens": ["Does", "the", "table", "have", "a", "slug", "field"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/AbstractModel.php#L118-L126", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/AbstractModel.php", "func_name": "AbstractModel.getSpecialFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a table special field if found\n\n@param string $field The field name to search\n@param mixed $value The corresponding value of the field\n@return array The special search fields list if found", "docstring_tokens": ["Gets", "a", "table", "special", "field", "if", "found"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/AbstractModel.php#L150-L159", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/AbstractModel.php", "func_name": "AbstractModel.getFieldsByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets a list of fields by their type\n\n@param string $type The field's type to search\n@return array The array of the fields matching the type if found", "docstring_tokens": ["Gets", "a", "list", "of", "fields", "by", "their", "type"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/AbstractModel.php#L167-L176", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.date", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formats a RFC compliant GMT date HTTP header. This function honors the\n\"y2k_compliance\" php.ini directive and formats the GMT date corresponding\nto either RFC850 or RFC822.\n\n@param mixed $time unix timestamp or date (default = current time)\n\n@return string|boolean GMT date string, or FALSE for an invalid\n$time parameter", "docstring_tokens": ["Formats", "a", "RFC", "compliant", "GMT", "date", "HTTP", "header", ".", "This", "function", "honors", "the", "y2k_compliance", "php", ".", "ini", "directive", "and", "formats", "the", "GMT", "date", "corresponding", "to", "either", "RFC850", "or", "RFC822", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L55-L67", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.negotiateLanguage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Negotiates language with the user's browser through the Accept-Language\nHTTP header or the user's host address. Language codes are generally in\nthe form \"ll\" for a language spoken in only one country, or \"ll-CC\" for a\nlanguage spoken in a particular country. For example, U.S. English is\n\"en-US\", while British English is \"en-UK\". Portugese as spoken in\nPortugal is \"pt-PT\", while Brazilian Portugese is \"pt-BR\".\n\nQuality factors in the Accept-Language: header are supported, e.g.:\nAccept-Language: en-UK;q=0.7, en-US;q=0.6, no, dk;q=0.8\n\n\nrequire_once 'HTTP2.php';\n$http = new HTTP2();\n$langs = array(\n'en' => 'locales/en',\n'en-US' => 'locales/en',\n'en-UK' => 'locales/en',\n'de' => 'locales/de',\n'de-DE' => 'locales/de',\n'de-AT' => 'locales/de',\n);\n$neg = $http->negotiateLanguage($langs);\n$dir = $langs[$neg];\n\n\n@param array $supported An associative array of supported languages,\nwhose values must evaluate to true.\n@param string $default The default language to use if none is found.\n\n@return string The negotiated language result or the supplied default.", "docstring_tokens": ["Negotiates", "language", "with", "the", "user", "s", "browser", "through", "the", "Accept", "-", "Language", "HTTP", "header", "or", "the", "user", "s", "host", "address", ".", "Language", "codes", "are", "generally", "in", "the", "form", "ll", "for", "a", "language", "spoken", "in", "only", "one", "country", "or", "ll", "-", "CC", "for", "a", "language", "spoken", "in", "a", "particular", "country", ".", "For", "example", "U", ".", "S", ".", "English", "is", "en", "-", "US", "while", "British", "English", "is", "en", "-", "UK", ".", "Portugese", "as", "spoken", "in", "Portugal", "is", "pt", "-", "PT", "while", "Brazilian", "Portugese", "is", "pt", "-", "BR", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L101-L132", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.negotiateCharset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Negotiates charset with the user's browser through the Accept-Charset\nHTTP header.\n\nQuality factors in the Accept-Charset: header are supported, e.g.:\nAccept-Language: en-UK;q=0.7, en-US;q=0.6, no, dk;q=0.8\n\n\nrequire_once 'HTTP2.php';\n$http = new HTTP2();\n$charsets = array(\n'UTF-8',\n'ISO-8859-1',\n);\n$charset = $http->negotiateCharset($charsets);\n\n\n@param array $supported An array of supported charsets\n@param string $default The default charset to use if none is found.\n\n@return string The negotiated language result or the supplied default.\n@author Philippe Jausions ", "docstring_tokens": ["Negotiates", "charset", "with", "the", "user", "s", "browser", "through", "the", "Accept", "-", "Charset", "HTTP", "header", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L157-L180", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.negotiateMimeType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Negotiates content type with the user's browser through the Accept\nHTTP header.\n\nQuality factors in the Accept: header are supported, e.g.:\nAccept: application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8\n\n\nrequire_once 'HTTP2.php';\n$http = new HTTP2();\n$contentType = array(\n'application/xhtml+xml',\n'application/xml',\n'text/html',\n'text/plain',\n);\n$mime = $http->negotiateMimeType($contentType);\n\n\n@param array $supported An associative array of supported MIME types.\n@param string $default The default type to use if none match.\n\n@return string The negotiated MIME type result or the supplied default.\n@author Philippe Jausions ", "docstring_tokens": ["Negotiates", "content", "type", "with", "the", "user", "s", "browser", "through", "the", "Accept", "HTTP", "header", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L207-L243", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.matchAccept", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses a weighed \"Accept\" HTTP header and matches it against a list\nof supported options\n\n@param string $header The HTTP \"Accept\" header to parse\n@param array $supported A list of supported values\n\n@return string|NULL a matched option, or NULL if no match", "docstring_tokens": ["Parses", "a", "weighed", "Accept", "HTTP", "header", "and", "matches", "it", "against", "a", "list", "of", "supported", "options"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L254-L267", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.sortAccept", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses and sorts a weighed \"Accept\" HTTP header\n\n@param string $header The HTTP \"Accept\" header to parse\n\n@return array Sorted list of \"accept\" options", "docstring_tokens": ["Parses", "and", "sorts", "a", "weighed", "Accept", "HTTP", "header"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L276-L300", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.head", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sends a \"HEAD\" HTTP command to a server and returns the headers\nas an associative array.\n\nExample output could be:\n\nArray\n(\n[response_code] => 200 // The HTTP response code\n[response] => HTTP/1.1 200 OK // The full HTTP response string\n[Date] => Fri, 11 Jan 2002 01:41:44 GMT\n[Server] => Apache/1.3.20 (Unix) PHP/4.1.1\n[X-Powered-By] => PHP/4.1.1\n[Connection] => close\n[Content-Type] => text/html\n)\n\n\n@param string $url A valid URL, e.g.: http://pear.php.net/credits.php\n@param integer $timeout Timeout in seconds (default = 10)\n\n@return array Returns associative array of response headers on success\n\n@throws HTTP2_Exception When connecting fails\n@throws InvalidArgumentException When the protocol is not uspported\n\n@see HTTP_Client::head()\n@see HTTP_Request", "docstring_tokens": ["Sends", "a", "HEAD", "HTTP", "command", "to", "a", "server", "and", "returns", "the", "headers", "as", "an", "associative", "array", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L331-L374", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP2.php", "func_name": "HTTP2.convertCharset", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the given string from one into another charset.\nUses mb_convert_encoding or iconv if available.\n\n@param string $from Source charset the string is in\n@param string $to Target character set\n@param string $str String to convert\n\n@return string converted string", "docstring_tokens": ["Convert", "the", "given", "string", "from", "one", "into", "another", "charset", ".", "Uses", "mb_convert_encoding", "or", "iconv", "if", "available", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP2.php#L651-L659", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.getEntityManager", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an entityManager\n@param string $emname The name of the entity manager to search\n@return object Returns an object to manage the entity", "docstring_tokens": ["Get", "an", "entityManager"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L38-L53", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.getObjectsStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the objects structure from a specific database\n@param string $dbname The name of the database to search\n@return array Returns an array of the objects structure (FALSE if nothing is found)", "docstring_tokens": ["Get", "the", "objects", "structure", "from", "a", "specific", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L60-L73", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.getAutoObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a table entry from a specific database\n@param string $tablename The name of the table to search\n@param string $dbname The name of the database to search\n@return array Returns an array of the table structure (FALSE if nothing is find)", "docstring_tokens": ["Get", "a", "table", "entry", "from", "a", "specific", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L81-L93", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.getTableStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a table structure from a specific database\n@param string $tablename The name of the table to search\n@param string $dbname The name of the database to search\n@return array Returns an array of the table structure (FALSE if nothing is find)", "docstring_tokens": ["Get", "a", "table", "structure", "from", "a", "specific", "database"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L101-L108", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.getModel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an auto-object model\n@param string $tablename The name of the table to search\n@param string $dbname The name of the database to search\n@return array Returns an instance of the model (FALSE if nothing is find)", "docstring_tokens": ["Get", "an", "auto", "-", "object", "model"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L116-L123", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php", "func_name": "AutoObjectMapper.buildObjectsStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build the objects structure from a specific entity\n@param string $dbname The name of the database to build\n@return array Returns an array of the objects structure (FALSE if nothing is found)", "docstring_tokens": ["Build", "the", "objects", "structure", "from", "a", "specific", "entity"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/AutoObject/AutoObjectMapper.php#L231-L260", "partition": "test"} +{"repo": "diatem-net/jin-form", "path": "src/Form/Validators/Length.php", "func_name": "Length.prepareError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Formatte un texte d'erreur\n\n@param string $code Code erreur (cf. fichier langue formvalidators.ini)\n@return string", "docstring_tokens": ["Formatte", "un", "texte", "d", "erreur"], "sha": "ee50df330508feb422bf8d2852405c101ab03e97", "url": "https://github.com/diatem-net/jin-form/blob/ee50df330508feb422bf8d2852405c101ab03e97/src/Form/Validators/Length.php#L82-L90", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php", "func_name": "BudgetMonthMapper.check", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for new budget month to add\n\n@param Budget[] $budgets\n@param \\DateTimeImmutable $date\n@return BudgetMonth[]", "docstring_tokens": ["Check", "for", "new", "budget", "month", "to", "add"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php#L24-L35", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php", "func_name": "BudgetMonthMapper.checkBudget", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check for budget\n\n@param Budget $budget\n@param \\DateTimeImmutable $date\n@return void", "docstring_tokens": ["Check", "for", "budget"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php#L44-L73", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php", "func_name": "BudgetMonthMapper.findByBudgetId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get budget month by budget id & month\n\n@param int $budgetId\n@param \\DateTimeImmutable $date\n@return BudgetMonth", "docstring_tokens": ["Get", "budget", "month", "by", "budget", "id", "&", "month"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Mapper/Money/BudgetMonthMapper.php#L82-L90", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php", "func_name": "AccountAbstract.setIdParent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"account_id_parent\"\n\n@param int $idParent\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "account_id_parent"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php#L187-L203", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php", "func_name": "AccountAbstract.setIsMain", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"account_is_main\"\n\n@param bool $isMain\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "account_is_main"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php#L211-L222", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php", "func_name": "AccountAbstract.getAccountUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get AccountUser data object.\n\n@param bool $isForceReload\n@return AccountUser", "docstring_tokens": ["Get", "AccountUser", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php#L293-L303", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php", "func_name": "AccountAbstract.getBank", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Bank data object.\n\n@param bool $isForceReload\n@return Bank", "docstring_tokens": ["Get", "Bank", "data", "object", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/AccountAbstract.php#L312-L322", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/Component/Parser/Csv/ParserAbstract.php", "func_name": "ParserAbstract.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse data from file.\n\n@param Account $account\n@param string $file\n@return Transaction[]", "docstring_tokens": ["Parse", "data", "from", "file", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/Component/Parser/Csv/ParserAbstract.php#L90-L113", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Transaction.php", "func_name": "Transaction.getTypeIcon", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get icon type\n\n@return string", "docstring_tokens": ["Get", "icon", "type"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Transaction.php#L47-L70", "partition": "test"} +{"repo": "Solve/Database", "path": "Adapters/MysqlDBAdapter.php", "func_name": "MysqlDBAdapter.buildQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process query to SQL\n@param QC $qc\n@param mixed $type\n@return mixed\n@throws MysqlDBAdapterException", "docstring_tokens": ["Process", "query", "to", "SQL"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Adapters/MysqlDBAdapter.php#L85-L95", "partition": "test"} +{"repo": "Solve/Database", "path": "Adapters/MysqlDBAdapter.php", "func_name": "MysqlDBAdapter.escapeOne", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape on value using database driver specific\n\n@param mixed $value to be escaped\n@param mixed $type force type definition\n@return mixed escaped", "docstring_tokens": ["Escape", "on", "value", "using", "database", "driver", "specific"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Adapters/MysqlDBAdapter.php#L362-L378", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRedirectResponse.php", "func_name": "NativeRedirectResponse.createRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a new redirect response.\n\n@param string $uri [optional] The URI to redirect to\n@param int $status [optional] The response status code\n@param array $headers [optional] An array of response headers\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\Http\\Exceptions\\InvalidStatusCodeException\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Create", "a", "new", "redirect", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRedirectResponse.php#L81-L87", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRedirectResponse.php", "func_name": "NativeRedirectResponse.secure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the redirect uri to secure.\n\n@param string $path The path\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Set", "the", "redirect", "uri", "to", "secure", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRedirectResponse.php#L128-L155", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRedirectResponse.php", "func_name": "NativeRedirectResponse.back", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Redirect back to the referer.\n\n@return \\Valkyrja\\Http\\RedirectResponse", "docstring_tokens": ["Redirect", "back", "to", "the", "referer", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRedirectResponse.php#L162-L175", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeRedirectResponse.php", "func_name": "NativeRedirectResponse.throw", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Throw this redirect.\n\n@throws \\Valkyrja\\Http\\Exceptions\\HttpRedirectException", "docstring_tokens": ["Throw", "this", "redirect", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeRedirectResponse.php#L182-L190", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Commands/CommandsListCommand.php", "func_name": "CommandsListCommand.filterCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter the commands by type and name.\n\n@param array $commands The commands\n@param int $longestLength The longest length\n@param string $namespace [optional] The namespace to show commands\nfor\n\n@return void", "docstring_tokens": ["Filter", "the", "commands", "by", "type", "and", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Commands/CommandsListCommand.php#L102-L143", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Commands/CommandsListCommand.php", "func_name": "CommandsListCommand.sortCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sort commands by name.\n\n@param array $commands The commands\n\n@return void", "docstring_tokens": ["Sort", "commands", "by", "name", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Commands/CommandsListCommand.php#L152-L160", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Commands/CommandsListCommand.php", "func_name": "CommandsListCommand.commandSection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "The command section.\n\n@param Command $command The current command\n@param string $previousSection The previous section\n\n@return void", "docstring_tokens": ["The", "command", "section", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Commands/CommandsListCommand.php#L170-L183", "partition": "test"} +{"repo": "Danack/intahwebz-core", "path": "src/Intahwebz/Session/Session.php", "func_name": "Session.initSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the session parametesr. Only opens the session automatically\nif the user sent us a cookie that looks like it contains a reference to a session.\nThat avoids creating sessions for users who are not logged in.", "docstring_tokens": ["Initialize", "the", "session", "parametesr", ".", "Only", "opens", "the", "session", "automatically", "if", "the", "user", "sent", "us", "a", "cookie", "that", "looks", "like", "it", "contains", "a", "reference", "to", "a", "session", ".", "That", "avoids", "creating", "sessions", "for", "users", "who", "are", "not", "logged", "in", "."], "sha": "adc2810c7415f709041f23d05cac724c90adc0d3", "url": "https://github.com/Danack/intahwebz-core/blob/adc2810c7415f709041f23d05cac724c90adc0d3/src/Intahwebz/Session/Session.php#L58-L84", "partition": "test"} +{"repo": "eureka-framework/component-timer", "path": "src/Timer/Timer.php", "func_name": "Timer.start", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Start time. If name is null, start global timer.\n\n@param string $name\n@return void", "docstring_tokens": ["Start", "time", ".", "If", "name", "is", "null", "start", "global", "timer", "."], "sha": "37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a", "url": "https://github.com/eureka-framework/component-timer/blob/37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a/src/Timer/Timer.php#L35-L42", "partition": "test"} +{"repo": "eureka-framework/component-timer", "path": "src/Timer/Timer.php", "func_name": "Timer.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get Time time.\n\n@param string $name\n@return float", "docstring_tokens": ["Get", "Time", "time", "."], "sha": "37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a", "url": "https://github.com/eureka-framework/component-timer/blob/37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a/src/Timer/Timer.php#L50-L61", "partition": "test"} +{"repo": "eureka-framework/component-timer", "path": "src/Timer/Timer.php", "func_name": "Timer.display", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Display timer value\n\n@param string $name\n@param int $round\n@return void", "docstring_tokens": ["Display", "timer", "value"], "sha": "37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a", "url": "https://github.com/eureka-framework/component-timer/blob/37c0a6e86c61eb2fa5e6ebc7f90a422bd20c092a/src/Timer/Timer.php#L70-L83", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Support/Providers/ProvidersAwareTrait.php", "func_name": "ProvidersAwareTrait.initializeProvided", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize a provided item.\n\n@param string $itemId The item\n\n@return void", "docstring_tokens": ["Initialize", "a", "provided", "item", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Support/Providers/ProvidersAwareTrait.php#L103-L110", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize whole application\n@param \\Composer\\Autoload\\ClassLoader $composer\n@param string $configsPath Path where to look for config files\n@param string $appType Application type (web|console)", "docstring_tokens": ["Initialize", "whole", "application"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L36-L40", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.initBasic", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize basic components\n@param \\Composer\\Autoload\\ClassLoader|null $composer\n@param string|null $configsPath\n@param string $appType", "docstring_tokens": ["Initialize", "basic", "components"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L48-L68", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.locateConfigsPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Locate configs path\n@return null|string", "docstring_tokens": ["Locate", "configs", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L74-L83", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.locateClassLoader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get composer class loader\n@return null|\\Composer\\Autoload\\ClassLoader", "docstring_tokens": ["Get", "composer", "class", "loader"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L89-L97", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create instance of class\n@param string|array $type Class name or indexed parameters array with key \"class\"\n@param array $params Constructor parameters indexed array\n@return object|mixed\n@throws \\Reaction\\DI\\Exceptions\\InvalidConfigException(", "docstring_tokens": ["Create", "instance", "of", "class"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L121-L136", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.getConfigReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get instance of config reader\n@param bool $flush\n@return \\Reaction\\Base\\ConfigReader", "docstring_tokens": ["Get", "instance", "of", "config", "reader"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L350-L360", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.initContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize DI container", "docstring_tokens": ["Initialize", "DI", "container"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L365-L370", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Reaction.php", "func_name": "Reaction.initStaticApp", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize application object", "docstring_tokens": ["Initialize", "application", "object"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Reaction.php#L375-L393", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/csrf/CSRFGuard.php", "func_name": "CSRFGuard.tokensMatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the storage and input CSRF tokens match.\n\n@param Request $request\n@return boolean", "docstring_tokens": ["Determine", "if", "the", "storage", "and", "input", "CSRF", "tokens", "match", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/csrf/CSRFGuard.php#L198-L206", "partition": "test"} +{"repo": "dmetri333/wiggum-services", "path": "src/csrf/CSRFGuard.php", "func_name": "CSRFGuard.getTokenFromRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the CSRF token from the request.\n\n@param Request $request\n@return string", "docstring_tokens": ["Get", "the", "CSRF", "token", "from", "the", "request", "."], "sha": "be29764c9e825d6243df2561bee25e1a62a0c8eb", "url": "https://github.com/dmetri333/wiggum-services/blob/be29764c9e825d6243df2561bee25e1a62a0c8eb/src/csrf/CSRFGuard.php#L214-L219", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Uses the DarkSky API to retrieve weather data", "docstring_tokens": ["Uses", "the", "DarkSky", "API", "to", "retrieve", "weather", "data"], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L24-L54", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.getCurrentWeather", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the current weather and a simple prediction for the next hour.\n\n@param string $where The location to lookup\n@param \\Philip\\IRC\\Event $event The event to handle\n\n@return void", "docstring_tokens": ["Gets", "the", "current", "weather", "and", "a", "simple", "prediction", "for", "the", "next", "hour", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L64-L90", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.getPrecipitation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the precipitation at a specific place and time.\n\n@param string $match The remainder of the match (holds location info)\n@param \\Philip\\IRC\\Event $event The event to handle.\n\n@return void", "docstring_tokens": ["Gets", "the", "precipitation", "at", "a", "specific", "place", "and", "time", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L100-L138", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.getLatLongForLocation", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method uses the Google Maps Geocoding API to retrieve the\nlat and long for the given location.\n\nMore info here: https://developers.google.com/maps/documentation/geocoding/\n\n@param string $location The location to look up the lat/long for\n\n@return array An array of 2 elements: the lat and the long", "docstring_tokens": ["This", "method", "uses", "the", "Google", "Maps", "Geocoding", "API", "to", "retrieve", "the", "lat", "and", "long", "for", "the", "given", "location", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L150-L166", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.addErrorMsg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an error message to the response.\n\n@param \\Philip\\IRC\\Event $event The event to add a response to\n@param string $msg The error message to send\n\n@return void", "docstring_tokens": ["Add", "an", "error", "message", "to", "the", "response", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L188-L191", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/DarkSkyPlugin.php", "func_name": "DarkSkyPlugin.getEnglishIntensity", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an intensity value to a string.\n\n@param float $intensity The intensity value to convert to a string\n\n@return string", "docstring_tokens": ["Converts", "an", "intensity", "value", "to", "a", "string", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/DarkSkyPlugin.php#L200-L215", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.classAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's annotations.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "class", "s", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L107-L120", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.classMembersAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's members' annotations.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "class", "s", "members", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L149-L161", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.classAndMembersAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's and class's members' annotations.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "class", "s", "and", "class", "s", "members", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L192-L204", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.propertyAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a property's annotations.\n\n@param string $class The class\n@param string $property The property\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "property", "s", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L238-L252", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.propertyAnnotationsType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a property's annotations by type.\n\n@param string $type The type\n@param string $class The class\n@param string $property The property\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "property", "s", "annotations", "by", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L265-L274", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.propertiesAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's properties' annotations.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "class", "s", "properties", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L285-L316", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.methodAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a method's annotations.\n\n@param string $class The class\n@param string $method The method\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "method", "s", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L348-L363", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.methodAnnotationsType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a method's annotations by type.\n\n@param string $type The type\n@param string $class The class\n@param string $method The method\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "method", "s", "annotations", "by", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L376-L385", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.methodsAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's methods' annotations.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "class", "s", "methods", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L396-L427", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.functionAnnotations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a function's annotations.\n\n@param string $function The function\n\n@throws \\ReflectionException\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Get", "a", "function", "s", "annotations", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L456-L469", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.filterAnnotationsByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Filter annotations by type.\n\n@param string $type The type to match\n@param Annotation[] ...$annotations The annotations\n\n@return array", "docstring_tokens": ["Filter", "annotations", "by", "type", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L499-L514", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.setAnnotationValues", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the base annotation model values.\n\n@param array $properties The properties\n@param Annotation[] $annotations The annotations\n\n@return \\Valkyrja\\Annotations\\Annotation[]", "docstring_tokens": ["Set", "the", "base", "annotation", "model", "values", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L536-L546", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.getClassReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a class's reflection.\n\n@param string $class The class\n\n@throws \\ReflectionException\n\n@return \\ReflectionClass", "docstring_tokens": ["Get", "a", "class", "s", "reflection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L557-L563", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.getPropertyReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a property's reflection.\n\n@param string $class The class\n@param string $property The property\n\n@throws \\ReflectionException\n\n@return \\ReflectionProperty", "docstring_tokens": ["Get", "a", "property", "s", "reflection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L575-L582", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.getMethodReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a method's reflection.\n\n@param string $class The class\n@param string $method The method\n\n@throws \\ReflectionException\n\n@return \\ReflectionMethod", "docstring_tokens": ["Get", "a", "method", "s", "reflection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L594-L601", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.getFunctionReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "get a function's reflection.\n\n@param string $function The function\n\n@throws \\ReflectionException\n\n@return \\ReflectionFunction", "docstring_tokens": ["get", "a", "function", "s", "reflection", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L612-L618", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Annotations/NativeAnnotations.php", "func_name": "NativeAnnotations.getDependencies", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get dependencies from parameters.\n\n@param \\ReflectionParameter[] $parameters The parameters\n\n@return string[]", "docstring_tokens": ["Get", "dependencies", "from", "parameters", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Annotations/NativeAnnotations.php#L627-L642", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Segment.php", "func_name": "Segment.getLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the length of the segment\n\n@return float", "docstring_tokens": ["Get", "the", "length", "of", "the", "segment"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Segment.php#L72-L79", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/Segment.php", "func_name": "Segment.getCenter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the middle of the segment as a `\\Maths\\Geometry\\Point` object\n\n@return \\Maths\\Geometry\\Point", "docstring_tokens": ["Get", "the", "middle", "of", "the", "segment", "as", "a", "\\", "Maths", "\\", "Geometry", "\\", "Point", "object"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/Segment.php#L86-L98", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/ActiveForm.php", "func_name": "ActiveForm.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Runs the widget.\nThis registers the necessary JavaScript code and renders the form open and close tags.\n@throws InvalidCallException if `beginField()` and `endField()` calls are not matching.", "docstring_tokens": ["Runs", "the", "widget", ".", "This", "registers", "the", "necessary", "JavaScript", "code", "and", "renders", "the", "form", "open", "and", "close", "tags", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/ActiveForm.php#L203-L218", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/ActiveForm.php", "func_name": "ActiveForm.field", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generates a form field.\nA form field is associated with a model and an attribute. It contains a label, an input and an error message\nand use them to interact with end users to collect their inputs for the attribute.\n@param Model $model the data model.\n@param string $attribute the attribute name or expression. See [[Html::getAttributeName()]] for the format\nabout attribute expression.\n@param array $options the additional configurations for the field object. These are properties of [[ActiveField]]\nor a subclass, depending on the value of [[fieldClass]].\n@return ActiveField the created ActiveField object.\n@see fieldConfig", "docstring_tokens": ["Generates", "a", "form", "field", ".", "A", "form", "field", "is", "associated", "with", "a", "model", "and", "an", "attribute", ".", "It", "contains", "a", "label", "an", "input", "and", "an", "error", "message", "and", "use", "them", "to", "interact", "with", "end", "users", "to", "collect", "their", "inputs", "for", "the", "attribute", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/ActiveForm.php#L305-L320", "partition": "test"} +{"repo": "bytic/config", "path": "src/Config.php", "func_name": "Config.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determine if the given configuration value exists.\n\n@param string $key\n@return bool", "docstring_tokens": ["Determine", "if", "the", "given", "configuration", "value", "exists", "."], "sha": "a87f01b9199864a444d8e255a24c6a9e93061d84", "url": "https://github.com/bytic/config/blob/a87f01b9199864a444d8e255a24c6a9e93061d84/src/Config.php#L156-L163", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/DirectoryModel.php", "func_name": "DirectoryModel.getDisplayDirname", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets the directory name transformed to be displayed as a title\n\n@return string The directory name transformed", "docstring_tokens": ["Gets", "the", "directory", "name", "transformed", "to", "be", "displayed", "as", "a", "title"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/DirectoryModel.php#L105-L110", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Model/DirectoryModel.php", "func_name": "DirectoryModel.scanDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scan the current directory\n\n@param bool $recursive Is the scan recursive ?\n@return array", "docstring_tokens": ["Scan", "the", "current", "directory"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Model/DirectoryModel.php#L138-L161", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Header.php", "func_name": "Header.header", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a raw HTTP header.\n\n@link http://www.php.net/manual/en/function.header.php\n\n@param string $string The header string.\n@param boolean $replace (optional) The optional replace parameter indicates whether the header should replace a previous similar header, or add a second header of the same type.\n@param boolean $http_response_code (optional) Forces the HTTP response code to the specified value.\n@return boolean", "docstring_tokens": ["Send", "a", "raw", "HTTP", "header", "."], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Header.php#L45-L58", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Header.php", "func_name": "Header.headers_list", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a list of response headers ready to send\n\n@link http://www.php.net/manual/en/function.headers_list.php\n\n@return array Returns a numerically indexed array of headers.", "docstring_tokens": ["Returns", "a", "list", "of", "response", "headers", "ready", "to", "send"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Header.php#L80-L88", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.createDB", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Using for creating database\n@param string $DBName\n@param string $charset\n@param string $collation\n@return $this", "docstring_tokens": ["Using", "for", "creating", "database"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L57-L60", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.getDBTables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return list of tables from connected database\n@param bool $force_fetch reload tables list\n@return array|null", "docstring_tokens": ["Return", "list", "of", "tables", "from", "connected", "database"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L88-L100", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.updateDBFromStructure", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update database from array\n@param mixed|ModelStructure $structure\n@param bool $safeUpdate if true - method will delete not specified fields\n@throws \\Exception", "docstring_tokens": ["Update", "database", "from", "array"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L361-L369", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.updateDBRelations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates relations in database\n@param string $modelName\n@param mixed $structure\n@throws \\Exception", "docstring_tokens": ["Updates", "relations", "in", "database"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L378-L393", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.updateManyTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates many to many tables\n@param $info\n@return mixed", "docstring_tokens": ["Updates", "many", "to", "many", "tables"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L400-L450", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.generateTableSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate whole SQL definition for table\n\n@param array $structure\n@return string", "docstring_tokens": ["Generate", "whole", "SQL", "definition", "for", "table"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L462-L487", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.generateColumnSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate part of SQL definition for column\n\n@access private\n@param array $info\n@return string SQL", "docstring_tokens": ["Generate", "part", "of", "SQL", "definition", "for", "column"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L496-L513", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.generateIndexSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate part of SQL definition for Indexes\n\n@access private\n@param array $info\n@return string", "docstring_tokens": ["Generate", "part", "of", "SQL", "definition", "for", "Indexes"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L534-L548", "partition": "test"} +{"repo": "Solve/Database", "path": "Models/DBOperator.php", "func_name": "DBOperator.generateConstraintSQL", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate part of SQL definition for Constraints\n\n@param array $info\n@return string", "docstring_tokens": ["Generate", "part", "of", "SQL", "definition", "for", "Constraints"], "sha": "4de9027cf6fa9c4c5a61c562a02b87a19dec524e", "url": "https://github.com/Solve/Database/blob/4de9027cf6fa9c4c5a61c562a02b87a19dec524e/Models/DBOperator.php#L556-L562", "partition": "test"} +{"repo": "delatbabel/keylists", "path": "src/Models/Keyvalue.php", "func_name": "Keyvalue.getKeyvaluesByKeyType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the Keyvalues objects for a given keytype\n\nResult array is formatted like this:\n\n* keyvalue => fluent object(keyvalue, keyname, ...),\n* ... etc\n\n@param string $keyType\n@return array of Fluent", "docstring_tokens": ["return", "the", "Keyvalues", "objects", "for", "a", "given", "keytype"], "sha": "9d045385cfb7ab7b7f6e99b79d65e57fe84429e7", "url": "https://github.com/delatbabel/keylists/blob/9d045385cfb7ab7b7f6e99b79d65e57fe84429e7/src/Models/Keyvalue.php#L80-L100", "partition": "test"} +{"repo": "delatbabel/keylists", "path": "src/Models/Keyvalue.php", "func_name": "Keyvalue.getKeyValuesByType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "return the keyvalue -> keyname pairs for all elements that match a keytype\n\nResult array is formatted like this:\n\n* keyvalue => keyname\n* ... etc\n\n@param string $keyType\n@return array of string", "docstring_tokens": ["return", "the", "keyvalue", "-", ">", "keyname", "pairs", "for", "all", "elements", "that", "match", "a", "keytype"], "sha": "9d045385cfb7ab7b7f6e99b79d65e57fe84429e7", "url": "https://github.com/delatbabel/keylists/blob/9d045385cfb7ab7b7f6e99b79d65e57fe84429e7/src/Models/Keyvalue.php#L113-L127", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getClass", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all annotations for class\n@param string|object $class\n@param bool $refresh\n@return array", "docstring_tokens": ["Get", "all", "annotations", "for", "class"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L36-L48", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getClassExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get class annotation by its class|interface name\n@param string|object $class\n@param string|object $annotationClass\n@param bool $refresh\n@return object|null", "docstring_tokens": ["Get", "class", "annotation", "by", "its", "class|interface", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L57-L66", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getProperty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all annotations for property\n@param string|object $class\n@param string $property\n@param bool $refresh\n@return array", "docstring_tokens": ["Get", "all", "annotations", "for", "property"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L75-L88", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getPropertyExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get property annotation by its class|interface name\n@param string|\\ReflectionProperty $property\n@param string|object $annotationClass\n@param string|object $class\n@param bool $refresh\n@return object|null", "docstring_tokens": ["Get", "property", "annotation", "by", "its", "class|interface", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L98-L107", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all annotations for method\n@param string|object|null $class\n@param string|\\ReflectionMethod $method\n@param bool $refresh\n@return array", "docstring_tokens": ["Get", "all", "annotations", "for", "method"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L116-L129", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getMethodExact", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get method annotation by its class|interface name\n@param string|\\ReflectionMethod $method\n@param string|object $annotationClass\n@param string|object|null $class\n@param bool $refresh\n@return object|null", "docstring_tokens": ["Get", "method", "annotation", "by", "its", "class|interface", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L139-L148", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getReader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get doctrine annotation reader\n@return mixed|object\n@throws \\Doctrine\\Common\\Annotations\\AnnotationException", "docstring_tokens": ["Get", "doctrine", "annotation", "reader"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L155-L162", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getMethodReflection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get method reflection\n@param string|\\ReflectionMethod $method\n@param string|object|null $class\n@return \\ReflectionMethod", "docstring_tokens": ["Get", "method", "reflection"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L201-L210", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.getFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get data from cache\n@param string $key\n@return mixed", "docstring_tokens": ["Get", "data", "from", "cache"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L217-L220", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Base/AnnotationsReader.php", "func_name": "AnnotationsReader.setToCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set data to cache\n@param string $key\n@param mixed|null $value", "docstring_tokens": ["Set", "data", "to", "cache"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Base/AnnotationsReader.php#L227-L234", "partition": "test"} +{"repo": "PHPPlatform/mock-config", "path": "src/Mock/Config/MockSettings.php", "func_name": "MockSettings.getPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "this method get the path array from string key\n@param string $key", "docstring_tokens": ["this", "method", "get", "the", "path", "array", "from", "string", "key"], "sha": "ba93f07e9c7d9752d442daf6eaa8faa91fc9e088", "url": "https://github.com/PHPPlatform/mock-config/blob/ba93f07e9c7d9752d442daf6eaa8faa91fc9e088/src/Mock/Config/MockSettings.php#L54-L64", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Cache/ExtendedCache.php", "func_name": "ExtendedCache.processKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Process key. Ensure that key is string\n@param string|array $key\n@return string", "docstring_tokens": ["Process", "key", ".", "Ensure", "that", "key", "is", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Cache/ExtendedCache.php#L64-L71", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Observing/Observed.php", "func_name": "Observed.checkEventClassName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "To check if the required event class name.\n\n@param string $eventClassName\n\n@return self", "docstring_tokens": ["To", "check", "if", "the", "required", "event", "class", "name", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Observing/Observed.php#L103-L118", "partition": "test"} +{"repo": "TeknooSoftware/states-life-cycle", "path": "src/Observing/Observed.php", "func_name": "Observed.buildEvent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build event, retrieve current enabled states of the instace and compute difference with last enabled states.\n\n@return $this", "docstring_tokens": ["Build", "event", "retrieve", "current", "enabled", "states", "of", "the", "instace", "and", "compute", "difference", "with", "last", "enabled", "states", "."], "sha": "6a127b672539f0e40f3db12fca4e0d80412636de", "url": "https://github.com/TeknooSoftware/states-life-cycle/blob/6a127b672539f0e40f3db12fca4e0d80412636de/src/Observing/Observed.php#L172-L186", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/ArrayTools.php", "func_name": "ArrayTools.avg", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Effectue la moyenne des valeurs du tableau\n\n@param array $array Tableau source\n@return float", "docstring_tokens": ["Effectue", "la", "moyenne", "des", "valeurs", "du", "tableau"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/ArrayTools.php#L81-L90", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Repository/QueryParameters.php", "func_name": "QueryParameters.orderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Changes how the results are ordered.\n@param string $field\n@return self", "docstring_tokens": ["Changes", "how", "the", "results", "are", "ordered", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Repository/QueryParameters.php#L39-L42", "partition": "test"} +{"repo": "php-packages/container", "path": "src/PhpPackages/Container/TypeHint.php", "func_name": "TypeHint.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the constructor's type-hints.\n\n@return array", "docstring_tokens": ["Reads", "the", "constructor", "s", "type", "-", "hints", "."], "sha": "28fde0549e902a439bb337478f6b9535a043a6ce", "url": "https://github.com/php-packages/container/blob/28fde0549e902a439bb337478f6b9535a043a6ce/src/PhpPackages/Container/TypeHint.php#L27-L57", "partition": "test"} +{"repo": "endroid/property-access", "path": "src/PropertyAccessor.php", "func_name": "PropertyAccessor.getValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value at the given path.\n\n@param mixed $object\n@param string $path\n\n@return mixed", "docstring_tokens": ["Returns", "the", "value", "at", "the", "given", "path", "."], "sha": "bb9f943c1825a408cb917b3efdc8d97b54518d7c", "url": "https://github.com/endroid/property-access/blob/bb9f943c1825a408cb917b3efdc8d97b54518d7c/src/PropertyAccessor.php#L47-L69", "partition": "test"} +{"repo": "endroid/property-access", "path": "src/PropertyAccessor.php", "func_name": "PropertyAccessor.setValue", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the value at the given path.\n\n@param mixed $object\n@param string $path\n@param mixed $value", "docstring_tokens": ["Sets", "the", "value", "at", "the", "given", "path", "."], "sha": "bb9f943c1825a408cb917b3efdc8d97b54518d7c", "url": "https://github.com/endroid/property-access/blob/bb9f943c1825a408cb917b3efdc8d97b54518d7c/src/PropertyAccessor.php#L78-L81", "partition": "test"} +{"repo": "endroid/property-access", "path": "src/PropertyAccessor.php", "func_name": "PropertyAccessor.filter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the objects filtered by the given path value.\n\n@param array $objects\n@param string $expression\n\n@return array", "docstring_tokens": ["Returns", "the", "objects", "filtered", "by", "the", "given", "path", "value", "."], "sha": "bb9f943c1825a408cb917b3efdc8d97b54518d7c", "url": "https://github.com/endroid/property-access/blob/bb9f943c1825a408cb917b3efdc8d97b54518d7c/src/PropertyAccessor.php#L91-L106", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.setFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the mail's sender information.\n\n@param string $address\n@param string $name\n\n@throws Exception\n\n@return bool", "docstring_tokens": ["Set", "the", "mail", "s", "sender", "information", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L64-L67", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.addAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a recipient.\n\n@param string $address\n@param string $name\n\n@return bool", "docstring_tokens": ["Add", "a", "recipient", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L77-L80", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.addReplyTo", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a Reply-To address.\n\n@param string $address\n@param string $name\n\n@return bool", "docstring_tokens": ["Add", "a", "Reply", "-", "To", "address", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L90-L93", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.addCC", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a copy recipient.\n\n@param string $address\n@param string $name\n\n@return bool", "docstring_tokens": ["Add", "a", "copy", "recipient", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L103-L106", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.addBCC", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a blind copy recipient.\n\n@param string $address\n@param string $name\n\n@return bool", "docstring_tokens": ["Add", "a", "blind", "copy", "recipient", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L116-L119", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Mail/PHPMailerMail.php", "func_name": "PHPMailerMail.addAttachment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an attachment from the filesystem.\n\n@param string $path\n@param string $name\n\n@throws Exception\n\n@return bool", "docstring_tokens": ["Add", "an", "attachment", "from", "the", "filesystem", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Mail/PHPMailerMail.php#L131-L134", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Commands/CacheAllCommand.php", "func_name": "CacheAllCommand.run", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate all cache files.\n\n@param string $sync [optional] Whether to sync the cached files\n\n@throws CommandNotFound\n\n@return int", "docstring_tokens": ["Generate", "all", "cache", "files", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Commands/CacheAllCommand.php#L48-L79", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Router.php", "func_name": "Router.setReferer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Store the referer URL in session\n\n@param string $uri The referer URI to store\n@return bool", "docstring_tokens": ["Store", "the", "referer", "URL", "in", "session"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Router.php#L54-L59", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Router.php", "func_name": "Router.getReferer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the referer URL in session\n\n@return string The referer value in session", "docstring_tokens": ["Get", "the", "referer", "URL", "in", "session"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Router.php#L66-L70", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/App/Router.php", "func_name": "Router.buildUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build an application URL with a set of arguments\n\nThe class will pass arguments values to any `$this->toUrlParam($value)` method for the\nparameter named `param`.\n\n@param string/array $param The parameter name if it's single, an array of parameters and their values otherwise\n@param string $value The value for the parameter if it's single\n@param string $separator The argument/value separator (default is escaped ampersand : '&')\n@return string The URL built", "docstring_tokens": ["Build", "an", "application", "URL", "with", "a", "set", "of", "arguments"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/App/Router.php#L83-L110", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/DownSynchronizer.php", "func_name": "DownSynchronizer.downloadPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download a fresh Crowdin package\n\n@throws \\Exception", "docstring_tokens": ["Download", "a", "fresh", "Crowdin", "package"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/DownSynchronizer.php#L94-L107", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/DownSynchronizer.php", "func_name": "DownSynchronizer.extractPackage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extract the Crowdin package\n\n@param $projectPath", "docstring_tokens": ["Extract", "the", "Crowdin", "package"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/DownSynchronizer.php#L114-L118", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Synchronizer/DownSynchronizer.php", "func_name": "DownSynchronizer.resetDefaultLocaleTranslations", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Undo changes possibly made to the default locale translations", "docstring_tokens": ["Undo", "changes", "possibly", "made", "to", "the", "default", "locale", "translations"], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Synchronizer/DownSynchronizer.php#L123-L129", "partition": "test"} +{"repo": "wplibs/http", "path": "src/Traits/Request_With_Content_Types.php", "func_name": "Request_With_Content_Types._strpos", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find position of first occurrence of string in a string.\n\n@param string $haystack\n@param string $needle\n@return bool|int", "docstring_tokens": ["Find", "position", "of", "first", "occurrence", "of", "string", "in", "a", "string", "."], "sha": "fb001eb3b2071adff21cd47d1cf5c4ee2aa3c18f", "url": "https://github.com/wplibs/http/blob/fb001eb3b2071adff21cd47d1cf5c4ee2aa3c18f/src/Traits/Request_With_Content_Types.php#L59-L61", "partition": "test"} +{"repo": "Tecnocreaciones/VzlaGovernmentBundle", "path": "Menu/Template/Developer/BackendMenuBuilder.php", "func_name": "BackendMenuBuilder.createSidebarMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds backend sidebar menu.\n\n@param Request $request\n\n@return ItemInterface", "docstring_tokens": ["Builds", "backend", "sidebar", "menu", "."], "sha": "7c2ff73ad837354eeb59429a1a09456e904743f9", "url": "https://github.com/Tecnocreaciones/VzlaGovernmentBundle/blob/7c2ff73ad837354eeb59429a1a09456e904743f9/Menu/Template/Developer/BackendMenuBuilder.php#L42-L62", "partition": "test"} +{"repo": "Tecnocreaciones/VzlaGovernmentBundle", "path": "Menu/Template/Developer/BackendMenuBuilder.php", "func_name": "BackendMenuBuilder.addExampleMenu", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Construye el menu de ejemplo\n\n@param \\Knp\\Menu\\ItemInterface $menu\n@param type $section", "docstring_tokens": ["Construye", "el", "menu", "de", "ejemplo"], "sha": "7c2ff73ad837354eeb59429a1a09456e904743f9", "url": "https://github.com/Tecnocreaciones/VzlaGovernmentBundle/blob/7c2ff73ad837354eeb59429a1a09456e904743f9/Menu/Template/Developer/BackendMenuBuilder.php#L70-L111", "partition": "test"} +{"repo": "oxygen-cms/data", "path": "src/Migrations/MigrationsServiceProvider.php", "func_name": "MigrationsServiceProvider.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers the migration repository.", "docstring_tokens": ["Registers", "the", "migration", "repository", "."], "sha": "8783d4dee75805a9dcbdcf932e12328ee0224865", "url": "https://github.com/oxygen-cms/data/blob/8783d4dee75805a9dcbdcf932e12328ee0224865/src/Migrations/MigrationsServiceProvider.php#L25-L42", "partition": "test"} +{"repo": "markguinn/silverstripe-livepub", "path": "code/LiveFilesystemPublisher.php", "func_name": "LiveFilesystemPublisher.publishPages", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Wrapper for parent funciton. Switches on and off livepub publishing.\n\n@param array $urls Relative URLs\n@return array Result, keyed by URL. Keys:\n- \"statuscode\": The HTTP status code\n- \"redirect\": A redirect location (if applicable)\n- \"path\": The filesystem path where the cache has been written", "docstring_tokens": ["Wrapper", "for", "parent", "funciton", ".", "Switches", "on", "and", "off", "livepub", "publishing", "."], "sha": "67a8b75f4782c9952850599806e8c68d24681bff", "url": "https://github.com/markguinn/silverstripe-livepub/blob/67a8b75f4782c9952850599806e8c68d24681bff/code/LiveFilesystemPublisher.php#L57-L63", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Updater.php", "func_name": "Updater.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "+ \\Labi\\Operators\\UpdaterInterface", "docstring_tokens": ["+", "\\", "Labi", "\\", "Operators", "\\", "UpdaterInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Updater.php#L323-L328", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/GettextPoFile.php", "func_name": "GettextPoFile.load", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads messages from a PO file.\n@param string $context message context\n@param string|null $filePath file path\n@return array message translations. Array keys are source messages and array values are translated messages:\nsource message => translated message.\n@throws InvalidConfigException", "docstring_tokens": ["Loads", "messages", "from", "a", "PO", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/GettextPoFile.php#L21-L30", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/GettextPoFile.php", "func_name": "GettextPoFile.getCategories", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get all categories list\n@return string[]", "docstring_tokens": ["Get", "all", "categories", "list"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/GettextPoFile.php#L79-L87", "partition": "test"} +{"repo": "ordercloud/ordercloud-php", "path": "src/Requests/Orders/Handlers/GetOrderInvoiceRequestHandler.php", "func_name": "GetOrderInvoiceRequestHandler.getFileName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve the filename from headers.\n\n@param Response $response\n\n@return string", "docstring_tokens": ["Retrieve", "the", "filename", "from", "headers", "."], "sha": "de4a9e060aab3848d7f86a5c6a6c08ff25dba965", "url": "https://github.com/ordercloud/ordercloud-php/blob/de4a9e060aab3848d7f86a5c6a6c08ff25dba965/src/Requests/Orders/Handlers/GetOrderInvoiceRequestHandler.php#L37-L47", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeServerRequest.php", "func_name": "NativeServerRequest.validateUploadedFiles", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate uploaded files.\n\n@param array $uploadedFiles The uploaded files\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidUploadedFile\n\n@return void", "docstring_tokens": ["Validate", "uploaded", "files", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeServerRequest.php#L491-L506", "partition": "test"} +{"repo": "endorphin-studio/browser-detector-detection", "path": "src/AbstractDetection.php", "func_name": "AbstractDetection.initResultObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Result object initialisation\n@return null", "docstring_tokens": ["Result", "object", "initialisation"], "sha": "d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c", "url": "https://github.com/endorphin-studio/browser-detector-detection/blob/d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c/src/AbstractDetection.php#L52-L61", "partition": "test"} +{"repo": "endorphin-studio/browser-detector-detection", "path": "src/AbstractDetection.php", "func_name": "AbstractDetection.getPattern", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get pattern form array\n@param string $patternId ID in config\n@param array $patternData array from yaml file\n@return array", "docstring_tokens": ["Get", "pattern", "form", "array"], "sha": "d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c", "url": "https://github.com/endorphin-studio/browser-detector-detection/blob/d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c/src/AbstractDetection.php#L108-L114", "partition": "test"} +{"repo": "endorphin-studio/browser-detector-detection", "path": "src/AbstractDetection.php", "func_name": "AbstractDetection.setAttributes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set attributes of result object\n@param array $info Array", "docstring_tokens": ["Set", "attributes", "of", "result", "object"], "sha": "d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c", "url": "https://github.com/endorphin-studio/browser-detector-detection/blob/d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c/src/AbstractDetection.php#L120-L128", "partition": "test"} +{"repo": "endorphin-studio/browser-detector-detection", "path": "src/AbstractDetection.php", "func_name": "AbstractDetection.detectByKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect by Key\n@param string $keyName\n@return array", "docstring_tokens": ["Detect", "by", "Key"], "sha": "d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c", "url": "https://github.com/endorphin-studio/browser-detector-detection/blob/d7b7ecadcb4faf0d6f4ef391dfcd49f6ffb1f52c/src/AbstractDetection.php#L155-L167", "partition": "test"} +{"repo": "helionogueir/shell", "path": "core/Environment.class.php", "func_name": "Environment.onShell", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- Check script execute on shell\n@return bool Case yes return true, or false case other", "docstring_tokens": ["-", "Check", "script", "execute", "on", "shell"], "sha": "208d38d0d1ba046aedb7ca6608c66f8f4d2994b2", "url": "https://github.com/helionogueir/shell/blob/208d38d0d1ba046aedb7ca6608c66f8f4d2994b2/core/Environment.class.php#L18-L24", "partition": "test"} +{"repo": "foush/common", "path": "module/FzyCommon/src/FzyCommon/Service/Base.php", "func_name": "Base.getConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the application config as a Params object\n@return Params", "docstring_tokens": ["Get", "the", "application", "config", "as", "a", "Params", "object"], "sha": "881dd0f487f4a3124f789f4ad3392a2cc350308d", "url": "https://github.com/foush/common/blob/881dd0f487f4a3124f789f4ad3392a2cc350308d/module/FzyCommon/src/FzyCommon/Service/Base.php#L35-L42", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Location.php", "func_name": "Location.DMSLatitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current latitude in Degrees, Minutes, Seconds notation.\n\n@param string $format\nThe format string to use for the response. Defaults to %d %d %F %s\n\n@return string\nA string with the current latitude in DMS format.", "docstring_tokens": ["Get", "the", "current", "latitude", "in", "Degrees", "Minutes", "Seconds", "notation", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Location.php#L99-L109", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Location.php", "func_name": "Location.DMSLongitude", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the current longitude in Degrees, Minutes, Seconds notation.\n\n@param string $format\nThe format string to use for the response. Defaults to %d %d %F %s\n\n@return string\nA string with the current longitude in DMS format.", "docstring_tokens": ["Get", "the", "current", "longitude", "in", "Degrees", "Minutes", "Seconds", "notation", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Location.php#L145-L154", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Location.php", "func_name": "Location.latitudeRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a range of latitudes given a center point.\n\nThis is useful when you have a center point and want to find a range to\nquery against a set. For example, you want to find all the businesses to\ndisplay on the glowing rectangle (mobile device) given a center point and\nradius.\n\nNote, this are just quickly calculated estimates.\n\n@param float $distance\nThe distance in meters from the center point to calculate.\n\n@return array\nAn array with the two bounding values (floats) for the range.", "docstring_tokens": ["Find", "a", "range", "of", "latitudes", "given", "a", "center", "point", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Location.php#L224-L252", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Location.php", "func_name": "Location.longitudeRange", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find a range of longitude given a center point.\n\nThis is useful when you have a center point and want to find a range to\nquery against a set. For example, you want to find all the businesses to\ndisplay on the glowing rectangle (mobile device) given a center point and\nradius.\n\nNote, this are just quickly calculated estimates.\n\n@param float $distance\nThe distance in meters from the center point to calculate.\n\n@return array\nAn array with the two bounding values (floats) for the range.", "docstring_tokens": ["Find", "a", "range", "of", "longitude", "given", "a", "center", "point", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Location.php#L270-L292", "partition": "test"} +{"repo": "lootils/geo", "path": "src/Lootils/Geo/Location.php", "func_name": "Location.distance", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the distance between this location and another one.\n\n@param \\Lootils\\Geo\\LocationInterface $location\nThe other location object to diff the distance of.\n@param string $method\nThe registered method to use for this calculation. Because the Earth is\nan irregular ellipse there are multiple math equations attempting to\nbest calculate the distance.\n\n@return float\nThe estimated distance between the two locations in meters.", "docstring_tokens": ["Get", "the", "distance", "between", "this", "location", "and", "another", "one", "."], "sha": "09cb37680489c167acbe3bbf4ab8235841094674", "url": "https://github.com/lootils/geo/blob/09cb37680489c167acbe3bbf4ab8235841094674/src/Lootils/Geo/Location.php#L346-L364", "partition": "test"} +{"repo": "graze/array-filter", "path": "src/OneOfFilter.php", "func_name": "OneOfFilter.matches", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loop through all the filters and only return if all match\n\n@param array $data\n\n@return bool", "docstring_tokens": ["Loop", "through", "all", "the", "filters", "and", "only", "return", "if", "all", "match"], "sha": "dcc9a8a909c634b256a10ed90b9c189cdef39454", "url": "https://github.com/graze/array-filter/blob/dcc9a8a909c634b256a10ed90b9c189cdef39454/src/OneOfFilter.php#L48-L57", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Doctrine/DBAL/Schema/ConfigurableSchema.php", "func_name": "ConfigurableSchema.createTablesFromConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates tables from config\n\n@param array $config Array config\narray('connection_name'=>array(\n'tables' => array(\n'table_name' => 'table_class',\n)))\n\n@throws \\Exception\n\n@return $this", "docstring_tokens": ["Creates", "tables", "from", "config"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Doctrine/DBAL/Schema/ConfigurableSchema.php#L41-L53", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Doctrine/DBAL/Schema/ConfigurableSchema.php", "func_name": "ConfigurableSchema.bundleMultipleSchemas", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bundle multiple schemas\n\n@param array $config Array config\narray('connection_name'=>array(\n'schema_name' => 'schema_class',\n))\n\n@return $this", "docstring_tokens": ["Bundle", "multiple", "schemas"], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Doctrine/DBAL/Schema/ConfigurableSchema.php#L65-L73", "partition": "test"} +{"repo": "atelierspierrot/maths", "path": "src/Maths/Geometry/AbstractGeometricObject.php", "func_name": "AbstractGeometricObject.getPoint", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a point of the object\n\n@param string $name\n@return \\Maths\\PointInterface", "docstring_tokens": ["Get", "a", "point", "of", "the", "object"], "sha": "8524c3e4ee12a239e876a373a835065f5ba56d3b", "url": "https://github.com/atelierspierrot/maths/blob/8524c3e4ee12a239e876a373a835065f5ba56d3b/src/Maths/Geometry/AbstractGeometricObject.php#L96-L99", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Console/Support/ProvidesCommand.php", "func_name": "ProvidesCommand.publish", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish the command.\n\n@param Application $app The application\n\n@return void", "docstring_tokens": ["Publish", "the", "command", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Console/Support/ProvidesCommand.php#L58-L67", "partition": "test"} +{"repo": "RhubarbPHP/Module.Leaf.Crud", "path": "src/UrlHandlers/LeafRestUrlHandler.php", "func_name": "LeafRestUrlHandler.getMatchingUrlFragment", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Should be implemented to return a true or false as to whether this handler supports the given request.\n\nNormally this involves testing the request URI.\n\n@param Request $request\n@param string $currentUrlFragment\n@return bool", "docstring_tokens": ["Should", "be", "implemented", "to", "return", "a", "true", "or", "false", "as", "to", "whether", "this", "handler", "supports", "the", "given", "request", "."], "sha": "f33470101614c54110fe13116d4dee2035c209ff", "url": "https://github.com/RhubarbPHP/Module.Leaf.Crud/blob/f33470101614c54110fe13116d4dee2035c209ff/src/UrlHandlers/LeafRestUrlHandler.php#L97-L122", "partition": "test"} +{"repo": "RhubarbPHP/Module.Leaf.Crud", "path": "src/UrlHandlers/LeafRestUrlHandler.php", "func_name": "LeafRestUrlHandler.generateResponseForRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the response if appropriate or false if no response could be generated.\n\n@param mixed $request\n@return bool", "docstring_tokens": ["Return", "the", "response", "if", "appropriate", "or", "false", "if", "no", "response", "could", "be", "generated", "."], "sha": "f33470101614c54110fe13116d4dee2035c209ff", "url": "https://github.com/RhubarbPHP/Module.Leaf.Crud/blob/f33470101614c54110fe13116d4dee2035c209ff/src/UrlHandlers/LeafRestUrlHandler.php#L155-L178", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/REST.php", "func_name": "PEAR_REST.retrieveCacheFirst", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve REST data, but always retrieve the local cache if it is available.\n\nThis is useful for elements that should never change, such as information on a particular\nrelease\n@param string full URL to this resource\n@param array|false contents of the accept-encoding header\n@param boolean if true, xml will be returned as a string, otherwise, xml will be\nparsed using PEAR_XMLParser\n@return string|array", "docstring_tokens": ["Retrieve", "REST", "data", "but", "always", "retrieve", "the", "local", "cache", "if", "it", "is", "available", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/REST.php#L57-L67", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/StringHelper.php", "func_name": "StringHelper.endsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if given string ends with specified substring.\nBinary and multibyte safe.\n\n@param string $string Input string to check\n@param string $with Part to search inside of the $string.\n@param bool $caseSensitive Case sensitive search. Default is true. When case sensitive is enabled, $with must exactly match the ending of the string in order to get a true value.\n@param string $encoding String encoding\n@return bool Returns true if first input ends with second input, false otherwise", "docstring_tokens": ["Check", "if", "given", "string", "ends", "with", "specified", "substring", ".", "Binary", "and", "multibyte", "safe", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/StringHelper.php#L229-L246", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/StringHelper.php", "func_name": "StringHelper.countWords", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Counts words in a string.\n\n@param string $string\n@return int", "docstring_tokens": ["Counts", "words", "in", "a", "string", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/StringHelper.php#L289-L293", "partition": "test"} +{"repo": "aaronsaray/laravel-test-helpers", "path": "src/CreateActingAs.php", "func_name": "CreateActingAs.createActingAs", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create an acting as user, save it, and return it\n\nNote that this uses the config option but it can be overridden by the other option\n\n@param array $properties\n@param string|null $userModel\n@return Authenticatable", "docstring_tokens": ["Create", "an", "acting", "as", "user", "save", "it", "and", "return", "it"], "sha": "0f56fe2db8b8eb8c1e027e76622a1d243a587022", "url": "https://github.com/aaronsaray/laravel-test-helpers/blob/0f56fe2db8b8eb8c1e027e76622a1d243a587022/src/CreateActingAs.php#L31-L38", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the application component.\nThis method is required by IApplicationComponent and is invoked by application.", "docstring_tokens": ["Initializes", "the", "application", "component", ".", "This", "method", "is", "required", "by", "IApplicationComponent", "and", "is", "invoked", "by", "application", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L109-L122", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.open", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts the session.\n@return ExtendedPromiseInterface", "docstring_tokens": ["Starts", "the", "session", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L152-L169", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.openInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Open session internal method\n@return ExtendedPromiseInterface", "docstring_tokens": ["Open", "session", "internal", "method"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L175-L204", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.registerSessionHandler", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers session handler.\n@throws \\Reaction\\Exceptions\\InvalidConfigException", "docstring_tokens": ["Registers", "session", "handler", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L210-L226", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.close", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ends the current session and store session data.\n@param bool $destroy\n@return ExtendedPromiseInterface", "docstring_tokens": ["Ends", "the", "current", "session", "and", "store", "session", "data", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L253-L263", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.destroy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Frees all session variables and destroys all data registered to a session.\n\nThis method has no effect when session is not [[getIsActive()|active]].\nMake sure to call [[open()]] before calling it.\n@see open()\n@see isActive", "docstring_tokens": ["Frees", "all", "session", "variables", "and", "destroys", "all", "data", "registered", "to", "a", "session", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L273-L285", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.regenerateID", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Updates the current session ID with a newly generated one.\n\nPlease refer to for more details.\n\nThis method has no effect when session is not [[getIsActive()|active]].\nMake sure to call [[open()]] before calling it.\n\n@param bool $deleteOldSession Whether to delete the old associated session file or not.\n@see open()\n@see isActive\n@return \\React\\Promise\\PromiseInterface", "docstring_tokens": ["Updates", "the", "current", "session", "ID", "with", "a", "newly", "generated", "one", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L373-L379", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.readSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Session read handler.\n@internal Do not call this method directly.\n@param string $id session ID\n@return ExtendedPromiseInterface with array the session data", "docstring_tokens": ["Session", "read", "handler", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L484-L491", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.writeSession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Session write handler.\n@internal Do not call this method directly.\n@param string $id session ID\n@param array $data session data\n@return ExtendedPromiseInterface with bool whether session write is successful", "docstring_tokens": ["Session", "write", "handler", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L500-L510", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.destroySession", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Session destroy handler.\n@internal Do not call this method directly.\n@param string $id session ID\n@return ExtendedPromiseInterface with bool whether session is destroyed successfully", "docstring_tokens": ["Session", "destroy", "handler", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L518-L525", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a session variable.\nIf the specified name already exists, the old value will be overwritten.\n@param string $key session variable name\n@param mixed $value session variable value", "docstring_tokens": ["Adds", "a", "session", "variable", ".", "If", "the", "specified", "name", "already", "exists", "the", "old", "value", "will", "be", "overwritten", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L577-L583", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.remove", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a session variable.\n@param string $key the name of the session variable to be removed", "docstring_tokens": ["Removes", "a", "session", "variable", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L589-L597", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.removeAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all session variables.\n@return PromiseInterface with bool when write process ends", "docstring_tokens": ["Removes", "all", "session", "variables", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L603-L612", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.getFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a flash message.\n@param string $key the key identifying the flash message\n@param mixed $defaultValue value to be returned if the flash message does not exist.\n@param bool $delete whether to delete this flash message right after this method is called.\nIf false, the flash message will be automatically deleted in the next request.\n@return mixed the flash message or an array of messages if addFlash was used\n@see setFlash()\n@see addFlash()\n@see hasFlash()\n@see getAllFlashes()\n@see removeFlash()", "docstring_tokens": ["Returns", "a", "flash", "message", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L661-L678", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.getAllFlashes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns all flash messages.\n\nYou may use this method to display all the flash messages in a view file:\n\n```php\nsession->getAllFlashes() as $key => $message) {\necho '
' . $message . '
';\n} ?>\n```\n\nWith the above code you can use the [bootstrap alert][] classes such as `success`, `info`, `danger`\nas the flash message key to influence the color of the div.\n\nNote that if you use [[addFlash()]], `$message` will be an array, and you will have to adjust the above code.\n\n[bootstrap alert]: http://getbootstrap.com/components/#alerts\n\n@param bool $delete whether to delete the flash messages right after this method is called.\nIf false, the flash messages will be automatically deleted in the next request.\n@return array flash messages (key => message or key => [message1, message2]).\n@see setFlash()\n@see addFlash()\n@see getFlash()\n@see hasFlash()\n@see removeFlash()", "docstring_tokens": ["Returns", "all", "flash", "messages", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L708-L729", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.setFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a flash message.\nA flash message will be automatically deleted after it is accessed in a request and the deletion will happen\nin the next request.\nIf there is already an existing flash message with the same key, it will be overwritten by the new one.\n@param string $key the key identifying the flash message. Note that flash messages\nand normal session variables share the same name space. If you have a normal\nsession variable using the same name, its value will be overwritten by this method.\n@param mixed $value flash message\n@param bool $removeAfterAccess whether the flash message should be automatically removed only if\nit is accessed. If false, the flash message will be automatically removed after the next request,\nregardless if it is accessed or not. If true (default value), the flash message will remain until after\nit is accessed.\n@see getFlash()\n@see addFlash()\n@see removeFlash()", "docstring_tokens": ["Sets", "a", "flash", "message", ".", "A", "flash", "message", "will", "be", "automatically", "deleted", "after", "it", "is", "accessed", "in", "a", "request", "and", "the", "deletion", "will", "happen", "in", "the", "next", "request", ".", "If", "there", "is", "already", "an", "existing", "flash", "message", "with", "the", "same", "key", "it", "will", "be", "overwritten", "by", "the", "new", "one", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L748-L754", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.addFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds a flash message.\nIf there are existing flash messages with the same key, the new one will be appended to the existing message array.\n@param string $key the key identifying the flash message.\n@param mixed $value flash message\n@param bool $removeAfterAccess whether the flash message should be automatically removed only if\nit is accessed. If false, the flash message will be automatically removed after the next request,\nregardless if it is accessed or not. If true (default value), the flash message will remain until after\nit is accessed.\n@see getFlash()\n@see setFlash()\n@see removeFlash()", "docstring_tokens": ["Adds", "a", "flash", "message", ".", "If", "there", "are", "existing", "flash", "messages", "with", "the", "same", "key", "the", "new", "one", "will", "be", "appended", "to", "the", "existing", "message", "array", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L769-L783", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.removeFlash", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a flash message.\n@param string $key the key identifying the flash message. Note that flash messages\nand normal session variables share the same name space. If you have a normal\nsession variable using the same name, it will be removed by this method.\n@return mixed the removed flash message. Null if the flash message does not exist.\n@see getFlash()\n@see setFlash()\n@see addFlash()\n@see removeAllFlashes()", "docstring_tokens": ["Removes", "a", "flash", "message", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L796-L804", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.removeAllFlashes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes all flash messages.\nNote that flash messages and normal session variables share the same name space.\nIf you have a normal session variable using the same name, it will be removed\nby this method.\n@see getFlash()\n@see setFlash()\n@see addFlash()\n@see removeFlash()", "docstring_tokens": ["Removes", "all", "flash", "messages", ".", "Note", "that", "flash", "messages", "and", "normal", "session", "variables", "share", "the", "same", "name", "space", ".", "If", "you", "have", "a", "normal", "session", "variable", "using", "the", "same", "name", "it", "will", "be", "removed", "by", "this", "method", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L816-L823", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.freeze", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "If session is started it's not possible to edit session ini settings. In PHP7.2+ it throws exception.\nThis function saves session data to temporary variable and stop session.", "docstring_tokens": ["If", "session", "is", "started", "it", "s", "not", "possible", "to", "edit", "session", "ini", "settings", ".", "In", "PHP7", ".", "2", "+", "it", "throws", "exception", ".", "This", "function", "saves", "session", "data", "to", "temporary", "variable", "and", "stop", "session", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L884-L895", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.unfreeze", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Starts session and restores data from temporary variable", "docstring_tokens": ["Starts", "session", "and", "restores", "data", "from", "temporary", "variable"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L900-L918", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/Session.php", "func_name": "Session.createSessionCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create session cookie\n@return Reaction\\Web\\Cookie", "docstring_tokens": ["Create", "session", "cookie"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/Session.php#L924-L945", "partition": "test"} +{"repo": "seaice/li-framework", "path": "Validator.php", "func_name": "Validator._validateAfter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the date is after a given date.\n\n@param string $attribute\n@param mixed $value\n@param array $parameters\n@return bool", "docstring_tokens": ["Validate", "the", "date", "is", "after", "a", "given", "date", "."], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/Validator.php#L196-L213", "partition": "test"} +{"repo": "seaice/li-framework", "path": "Validator.php", "func_name": "Validator._validateAfterWithFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate the date is after a given date with a given format.\n\n@param string $format\n@param mixed $value\n@param array $parameters\n@return bool", "docstring_tokens": ["Validate", "the", "date", "is", "after", "a", "given", "date", "with", "a", "given", "format", "."], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/Validator.php#L223-L228", "partition": "test"} +{"repo": "seaice/li-framework", "path": "Validator.php", "func_name": "Validator._validateDateFormat", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that an attribute matches a date format.\n\n@param string $attribute\n@param mixed $value\n@param array $parameters\n@return bool", "docstring_tokens": ["Validate", "that", "an", "attribute", "matches", "a", "date", "format", "."], "sha": "ee4f46e1e83d9c74218b4052c125669c5a785e3a", "url": "https://github.com/seaice/li-framework/blob/ee4f46e1e83d9c74218b4052c125669c5a785e3a/Validator.php#L262-L273", "partition": "test"} +{"repo": "alekitto/function-mock", "path": "lib/NamespaceProphecy.php", "func_name": "NamespaceProphecy.checkPredictions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks that registered method predictions do not fail.\n\n@throws \\Prophecy\\Exception\\Prediction\\AggregateException If any of registered predictions fail", "docstring_tokens": ["Checks", "that", "registered", "method", "predictions", "do", "not", "fail", "."], "sha": "cd920d7e5da05df8df38b349169cb8adac5e6b27", "url": "https://github.com/alekitto/function-mock/blob/cd920d7e5da05df8df38b349169cb8adac5e6b27/lib/NamespaceProphecy.php#L78-L93", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/Arrays/AssignByPath.php", "func_name": "AssignByPath.assign", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates an multidimensional array out of an string notation and adds a value to the last element.\n\n@param array $arr\nReference to the array to fill\n@param string $path\nPath to create array from\n@param mixed $value\nThe value to assign to the last key\n@param string $separator\nOptional seperator to be used while splittint the path into key values (Default: '.')", "docstring_tokens": ["Creates", "an", "multidimensional", "array", "out", "of", "an", "string", "notation", "and", "adds", "a", "value", "to", "the", "last", "element", "."], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/Arrays/AssignByPath.php#L26-L35", "partition": "test"} +{"repo": "kapitchi/kap-apigility", "path": "src/KapApigility/Module.php", "func_name": "Module.getControllerPluginConfig", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Expected to return \\Zend\\ServiceManager\\Config object or array to\nseed such an object.\n\n@return array|\\Zend\\ServiceManager\\Config", "docstring_tokens": ["Expected", "to", "return", "\\", "Zend", "\\", "ServiceManager", "\\", "Config", "object", "or", "array", "to", "seed", "such", "an", "object", "."], "sha": "eb2930f62ac0bfe4cc428389331812e46bfaa495", "url": "https://github.com/kapitchi/kap-apigility/blob/eb2930f62ac0bfe4cc428389331812e46bfaa495/src/KapApigility/Module.php#L46-L57", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Rbac/BaseManager.php", "func_name": "BaseManager.executeRule", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Executes the rule associated with the specified auth item.\n\nIf the item does not specify a rule, this method will return true. Otherwise, it will\nreturn the value of [[Rule::execute()]].\n\n@param string|int $user the user ID. This should be either an integer or a string representing\nthe unique identifier of a user. See [[\\yii\\web\\User::id]].\n@param Item $item the auth item that needs to execute its rule\n@param array $params parameters passed to [[CheckAccessInterface::checkAccess()]] and will be passed to the rule\n@return ExtendedPromiseInterface with bool the return value of [[Rule::execute()]]. If the auth item does not specify a rule, true will be returned.", "docstring_tokens": ["Executes", "the", "rule", "associated", "with", "the", "specified", "auth", "item", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Rbac/BaseManager.php#L274-L289", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/PackageFile/Generator/v1.php", "func_name": "PEAR_PackageFile_Generator_v1._processMultipleDepsName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "process multiple dependencies that have a name, like package deps\n@param array\n@return array\n@access private", "docstring_tokens": ["process", "multiple", "dependencies", "that", "have", "a", "name", "like", "package", "deps"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/PackageFile/Generator/v1.php#L1216-L1282", "partition": "test"} +{"repo": "gwsn/prismic", "path": "src/Models/Fragment.php", "func_name": "Fragment.parseFragments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse fragments from a json document. For internal usage.\n\n@param array $rawData\n\n@return array", "docstring_tokens": ["Parse", "fragments", "from", "a", "json", "document", ".", "For", "internal", "usage", "."], "sha": "4cec7e725a84a9cd580565d2ef5e302078620826", "url": "https://github.com/gwsn/prismic/blob/4cec7e725a84a9cd580565d2ef5e302078620826/src/Models/Fragment.php#L32-L43", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a new View.\n\n@param string $template [optional] The template to set\n@param array $variables [optional] The variables to set\n\n@throws InvalidConfigPath\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Make", "a", "new", "View", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L137-L140", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.setVariables", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the variables.\n\n@param array $variables [optional] The variables to set\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Set", "the", "variables", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L159-L164", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.setVariable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a single variable.\n\n@param string $key The variable key to set\n@param mixed $value The value to set\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Set", "a", "single", "variable", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L186-L191", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.escape", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Escape a value for output.\n\n@param string $value The value to escape\n\n@return string", "docstring_tokens": ["Escape", "a", "value", "for", "output", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L200-L206", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.getTemplateDir", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the template directory.\n\n@param string $path [optional] The path to append\n\n@return string", "docstring_tokens": ["Get", "the", "template", "directory", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L215-L220", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.layout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the layout for the view template.\n\n@param string $layout [optional] The layout to set\n\n@throws InvalidConfigPath\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Set", "the", "layout", "for", "the", "view", "template", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L289-L307", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.template", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the template for the view.\n\n@param string $template The template\n\n@throws InvalidConfigPath\n\n@return \\Valkyrja\\View\\View", "docstring_tokens": ["Set", "the", "template", "for", "the", "view", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L331-L337", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.partial", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output a partial.\n\n@param string $partial The partial\n@param array $variables [optional]\n\n@throws InvalidConfigPath\n\n@return string", "docstring_tokens": ["Output", "a", "partial", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L349-L352", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.endBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "End a block.\n\n@param string $name The block's name\n\n@return string", "docstring_tokens": ["End", "a", "block", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L415-L420", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.render", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render the templates and view.\n\n@param array $variables [optional] The variables to set\n\n@return string", "docstring_tokens": ["Render", "the", "templates", "and", "view", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L429-L450", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.getFullPath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the full path for a given template.\n\n@param string $template The template\n\n@throws InvalidConfigPath\n\n@return string", "docstring_tokens": ["Get", "the", "full", "path", "for", "a", "given", "template", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L471-L500", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.renderTemplate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a template.\n\n@param string $templatePath The template path\n@param array $variables [optional] The variables to set\n\n@return string", "docstring_tokens": ["Render", "a", "template", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L510-L520", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/View/PhpView.php", "func_name": "PhpView.renderLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render a layout path.\n\n@param string $layoutPath The layout path\n\n@return string", "docstring_tokens": ["Render", "a", "layout", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/View/PhpView.php#L529-L543", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Commands/RoutesListCommand.php", "func_name": "RoutesListCommand.setRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a route as an array from a route object.\n\n@param Route $route The route object\n@param array $routes The flat routes\n@param array $lengths The longest string lengths\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Set", "a", "route", "as", "an", "array", "from", "a", "route", "object", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Commands/RoutesListCommand.php#L118-L144", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Commands/RoutesListCommand.php", "func_name": "RoutesListCommand.getSepLine", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the separation line.\n\n@param array $lengths The longest lengths\n\n@return string", "docstring_tokens": ["Get", "the", "separation", "line", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Commands/RoutesListCommand.php#L153-L160", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Routing/Commands/RoutesListCommand.php", "func_name": "RoutesListCommand.headerMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Output the header message.\n\n@param array $headerTexts The header texts\n@param array $lengths The longest lengths\n\n@return void", "docstring_tokens": ["Output", "the", "header", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Routing/Commands/RoutesListCommand.php#L170-L183", "partition": "test"} +{"repo": "AbuseIO/notification-common", "path": "src/Factory.php", "func_name": "Factory.getNotification", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a list of installed AbuseIO notifications and return as an array\n\n@return array", "docstring_tokens": ["Get", "a", "list", "of", "installed", "AbuseIO", "notifications", "and", "return", "as", "an", "array"], "sha": "f9e9ed6c9f1de0c249e030da4d102799ee4399e8", "url": "https://github.com/AbuseIO/notification-common/blob/f9e9ed6c9f1de0c249e030da4d102799ee4399e8/src/Factory.php#L27-L50", "partition": "test"} +{"repo": "AbuseIO/notification-common", "path": "src/Factory.php", "func_name": "Factory.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create and return a Collector object and it's configuration\n\n@param string $requiredName\n@return object", "docstring_tokens": ["Create", "and", "return", "a", "Collector", "object", "and", "it", "s", "configuration"], "sha": "f9e9ed6c9f1de0c249e030da4d102799ee4399e8", "url": "https://github.com/AbuseIO/notification-common/blob/f9e9ed6c9f1de0c249e030da4d102799ee4399e8/src/Factory.php#L58-L91", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/UploadableTrait.php", "func_name": "UploadableTrait.setKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the key.\n\n@param string $key\n@return UploadableTrait", "docstring_tokens": ["Sets", "the", "key", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/UploadableTrait.php#L74-L88", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/UploadableTrait.php", "func_name": "UploadableTrait.shouldBeRenamed", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns whether the uploadable should be renamed or not.\n\n@return boolean", "docstring_tokens": ["Returns", "whether", "the", "uploadable", "should", "be", "renamed", "or", "not", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/UploadableTrait.php#L247-L250", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/UploadableTrait.php", "func_name": "UploadableTrait.guessExtension", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess file extension.\n\n@return string", "docstring_tokens": ["Guess", "file", "extension", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/UploadableTrait.php#L257-L269", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/UploadableTrait.php", "func_name": "UploadableTrait.guessFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Guess file name.\n\n@return string", "docstring_tokens": ["Guess", "file", "name", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/UploadableTrait.php#L276-L298", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Model/UploadableTrait.php", "func_name": "UploadableTrait.setRename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set rename.\n\n@param string $rename\n@return UploadableTrait|$this", "docstring_tokens": ["Set", "rename", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Model/UploadableTrait.php#L316-L324", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/FileController.php", "func_name": "FileController.downloadAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Download local file.\n\n@param Request $request\n@return BinaryFileResponse\n@throws NotFoundHttpException", "docstring_tokens": ["Download", "local", "file", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/FileController.php#L25-L57", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/FileController.php", "func_name": "FileController.tinymceUploadAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle tinymce upload.\n\n@param Request $request\n@return JsonResponse\n@throws \\Exception", "docstring_tokens": ["Handle", "tinymce", "upload", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/FileController.php#L66-L91", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "EventListener/KernelEventSubscriber.php", "func_name": "KernelEventSubscriber.onKernelException", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Kernel exception event handler.\n\n@param GetResponseForExceptionEvent $event", "docstring_tokens": ["Kernel", "exception", "event", "handler", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/EventListener/KernelEventSubscriber.php#L44-L120", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/Download.php", "func_name": "Download.getCurl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetches an url and returns the returned data\n\n@param string $url\nUrl to load\n@param number $return\nFlag to expect return value\n@param number $timeout\nMax timeout\n@param string $lang\nLanguage of useragent to send\n\n@return mixed", "docstring_tokens": ["Fetches", "an", "url", "and", "returns", "the", "returned", "data"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/Download.php#L97-L123", "partition": "test"} +{"repo": "zodream/http", "path": "src/Http.php", "func_name": "Http.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "EXECUTE AND CLOSE\n@return mixed|null\n@throws \\Exception", "docstring_tokens": ["EXECUTE", "AND", "CLOSE"], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Http.php#L382-L390", "partition": "test"} +{"repo": "zodream/http", "path": "src/Http.php", "func_name": "Http.setCookieFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SET COOKIE FILE\n@param string|File $file\n@return $this", "docstring_tokens": ["SET", "COOKIE", "FILE"], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Http.php#L553-L557", "partition": "test"} +{"repo": "zodream/http", "path": "src/Http.php", "func_name": "Http.chooseParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "MANY CHOOSE ONE\n@param array $item\n@param array $args\n@return array\n@throws Exception", "docstring_tokens": ["MANY", "CHOOSE", "ONE"], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Http.php#L870-L876", "partition": "test"} +{"repo": "bariew/yii2-module-cms-module", "path": "controllers/ItemController.php", "func_name": "ItemController.actionIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Lists all Item models.\n@return mixed", "docstring_tokens": ["Lists", "all", "Item", "models", "."], "sha": "a0543c9f453baf85eda64fc5ec7429e9a38e8112", "url": "https://github.com/bariew/yii2-module-cms-module/blob/a0543c9f453baf85eda64fc5ec7429e9a38e8112/controllers/ItemController.php#L22-L36", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Widgets/Bootstrap/Alert.php", "func_name": "Alert.initOptions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initializes the widget options.\nThis method sets the default values for various options.", "docstring_tokens": ["Initializes", "the", "widget", "options", ".", "This", "method", "sets", "the", "default", "values", "for", "various", "options", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Widgets/Bootstrap/Alert.php#L126-L139", "partition": "test"} +{"repo": "joegreen88/zf1-component-config", "path": "src/Zend/Config/Writer/FileAbstract.php", "func_name": "Zend_Config_Writer_FileAbstract.write", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write configuration to file.\n\n@param string $filename\n@param Zend_Config $config\n@param bool $exclusiveLock\n@return void", "docstring_tokens": ["Write", "configuration", "to", "file", "."], "sha": "c19901ce03417db5aa354ddb80c5ecfe7f111b59", "url": "https://github.com/joegreen88/zf1-component-config/blob/c19901ce03417db5aa354ddb80c5ecfe7f111b59/src/Zend/Config/Writer/FileAbstract.php#L82-L120", "partition": "test"} +{"repo": "subjective-php/psr-log-helper", "path": "src/ExceptionExtractorTrait.php", "func_name": "ExceptionExtractorTrait.getExceptionFromContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts and returns the exception value from the given context.\n\n@param array $context Any extraneous log information that does not fit well in a string.\n\n@return \\Exception|null", "docstring_tokens": ["Extracts", "and", "returns", "the", "exception", "value", "from", "the", "given", "context", "."], "sha": "0581b49fb5727928b2bacb9e38738fa327232825", "url": "https://github.com/subjective-php/psr-log-helper/blob/0581b49fb5727928b2bacb9e38738fa327232825/src/ExceptionExtractorTrait.php#L19-L38", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ErrorHandler.php", "func_name": "ErrorHandler.convertExceptionToArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Converts an exception into an array.\n@param \\Exception|\\Error $exception the exception being converted\n@return array the array representation of the exception.", "docstring_tokens": ["Converts", "an", "exception", "into", "an", "array", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ErrorHandler.php#L126-L153", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ErrorHandler.php", "func_name": "ErrorHandler.renderFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Renders a view file as a PHP script.\n@param string $_file_ the view file.\n@param array $_params_ the parameters (name-value pairs) that will be extracted and made available in the view file.\n@return string the rendering result", "docstring_tokens": ["Renders", "a", "view", "file", "as", "a", "PHP", "script", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ErrorHandler.php#L234-L247", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ErrorHandler.php", "func_name": "ErrorHandler.isCoreFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Determines whether given name of the file belongs to the framework.\n@param string $file name to be checked.\n@return bool whether given name of the file belongs to the framework.", "docstring_tokens": ["Determines", "whether", "given", "name", "of", "the", "file", "belongs", "to", "the", "framework", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ErrorHandler.php#L350-L354", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/ErrorHandler.php", "func_name": "ErrorHandler.getExceptionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns human-readable exception name.\n@param \\Exception $exception\n@return string|null human-readable exception name or null if it cannot be determined", "docstring_tokens": ["Returns", "human", "-", "readable", "exception", "name", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/ErrorHandler.php#L464-L476", "partition": "test"} +{"repo": "jelix/minify-module", "path": "jminify/plugins/htmlresponse/minify/minify.htmlresponse.php", "func_name": "minifyHTMLResponsePlugin.beforeOutput", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "called when the content is generated, and potentially sent, except\nthe body end tag and the html end tags. This method can output\ndirectly some contents.", "docstring_tokens": ["called", "when", "the", "content", "is", "generated", "and", "potentially", "sent", "except", "the", "body", "end", "tag", "and", "the", "html", "end", "tags", ".", "This", "method", "can", "output", "directly", "some", "contents", "."], "sha": "b2134a7992b8fd19c5f204e425d5953d849b2814", "url": "https://github.com/jelix/minify-module/blob/b2134a7992b8fd19c5f204e425d5953d849b2814/jminify/plugins/htmlresponse/minify/minify.htmlresponse.php#L37-L67", "partition": "test"} +{"repo": "jelix/minify-module", "path": "jminify/plugins/htmlresponse/minify/minify.htmlresponse.php", "func_name": "minifyHTMLResponsePlugin.generateMinifyList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "generate a list of urls for minify. It combines urls if possible\n@param array $list key=url, values = attributes/parameters\n@param string $exclude name of the property containing the list of excluded files\n@return array list of urls to insert in the html page", "docstring_tokens": ["generate", "a", "list", "of", "urls", "for", "minify", ".", "It", "combines", "urls", "if", "possible"], "sha": "b2134a7992b8fd19c5f204e425d5953d849b2814", "url": "https://github.com/jelix/minify-module/blob/b2134a7992b8fd19c5f204e425d5953d849b2814/jminify/plugins/htmlresponse/minify/minify.htmlresponse.php#L87-L118", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.setAmountDefault", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_amount_default\"\n\n@param float $amountDefault\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "budget_amount_default"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L282-L293", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.setDateStart", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_date_start\"\n\n@param string $dateStart\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "budget_date_start"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L301-L312", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.setDateEnd", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_date_end\"\n\n@param string $dateEnd\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "budget_date_end"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L320-L331", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.setIsRecurrent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_is_recurrent\"\n\n@param bool $isRecurrent\n@return $this", "docstring_tokens": ["Set", "value", "for", "field", "budget_is_recurrent"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L339-L350", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.setMonthBitmask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set value for field \"budget_month_bitmask\"\n\n@param int $monthBitmask\n@return $this\n@throws \\UnderflowException", "docstring_tokens": ["Set", "value", "for", "field", "budget_month_bitmask"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L359-L375", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.getAllBudgetCategory", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of BudgetCategory data objects.\n\n@param bool $isForceReload\n@return BudgetCategory[]", "docstring_tokens": ["Get", "list", "of", "BudgetCategory", "data", "objects", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L427-L437", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php", "func_name": "BudgetAbstract.getAllBudgetMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get list of BudgetMonth data objects.\n\n@param bool $isForceReload\n@return BudgetMonth[]", "docstring_tokens": ["Get", "list", "of", "BudgetMonth", "data", "objects", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Abstracts/BudgetAbstract.php#L446-L456", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/SafePDO.php", "func_name": "SafePDO.execute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Safe SQL execution\n\n@param string $sql\n@param array $values\n@param \\Closure $callback\n@return \\PDOStatement", "docstring_tokens": ["Safe", "SQL", "execution"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/SafePDO.php#L42-L61", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/SafePDO.php", "func_name": "SafePDO.error", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Generate PDO error\n\n@param string $sql\n@param \\PDOStatement $statement\n@return \\PDOException", "docstring_tokens": ["Generate", "PDO", "error"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/SafePDO.php#L71-L82", "partition": "test"} +{"repo": "indigophp-archive/fuel-composer", "path": "classes/Composer.php", "func_name": "Composer.path", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Searches for an autoloader instance in the given path\n\n@param string $path\n\n@return boolean", "docstring_tokens": ["Searches", "for", "an", "autoloader", "instance", "in", "the", "given", "path"], "sha": "3d7000793826fac9fee40e25cb051023e8d3fcd9", "url": "https://github.com/indigophp-archive/fuel-composer/blob/3d7000793826fac9fee40e25cb051023e8d3fcd9/classes/Composer.php#L30-L47", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.up", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method contains the logic to be executed when applying this migration.\nChild classes may override this method to provide actual migration logic.\n@return ExtendedPromiseInterface\nResolved promise mean the migration succeeds and rejected - not.", "docstring_tokens": ["This", "method", "contains", "the", "logic", "to", "be", "executed", "when", "applying", "this", "migration", ".", "Child", "classes", "may", "override", "this", "method", "to", "provide", "actual", "migration", "logic", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L131-L158", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.down", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method contains the logic to be executed when removing this migration.\nThe default implementation throws an exception indicating the migration cannot be removed.\nChild classes may override this method if the corresponding migrations can be removed.\n@return ExtendedPromiseInterface\nResolved promise mean the migration succeeds and rejected - not.", "docstring_tokens": ["This", "method", "contains", "the", "logic", "to", "be", "executed", "when", "removing", "this", "migration", ".", "The", "default", "implementation", "throws", "an", "exception", "indicating", "the", "migration", "cannot", "be", "removed", ".", "Child", "classes", "may", "override", "this", "method", "if", "the", "corresponding", "migrations", "can", "be", "removed", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L167-L187", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.insert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and executes an INSERT SQL statement.\nThe method will properly escape the column names, and bind the values to be inserted.\n@param string $table the table that new rows will be inserted into.\n@param array $columns the column data (name => value) to be inserted into the table.\n@return LazyPromiseInterface", "docstring_tokens": ["Creates", "and", "executes", "an", "INSERT", "SQL", "statement", ".", "The", "method", "will", "properly", "escape", "the", "column", "names", "and", "bind", "the", "values", "to", "be", "inserted", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L262-L266", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.batchInsert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and executes a batch INSERT SQL statement.\nThe method will properly escape the column names, and bind the values to be inserted.\n@param string $table the table that new rows will be inserted into.\n@param array $columns the column names.\n@param array $rows the rows to be batch inserted into the table\n@return LazyPromiseInterface", "docstring_tokens": ["Creates", "and", "executes", "a", "batch", "INSERT", "SQL", "statement", ".", "The", "method", "will", "properly", "escape", "the", "column", "names", "and", "bind", "the", "values", "to", "be", "inserted", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L276-L280", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and executes an UPDATE SQL statement.\nThe method will properly escape the column names and bind the values to be updated.\n@param string $table the table to be updated.\n@param array $columns the column data (name => value) to be updated.\n@param array|string $condition the conditions that will be put in the WHERE part. Please\nrefer to [[Query::where()]] on how to specify conditions.\n@param array $params the parameters to be bound to the query.\n@return LazyPromiseInterface", "docstring_tokens": ["Creates", "and", "executes", "an", "UPDATE", "SQL", "statement", ".", "The", "method", "will", "properly", "escape", "the", "column", "names", "and", "bind", "the", "values", "to", "be", "updated", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L314-L318", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates and executes a DELETE SQL statement.\n@param string $table the table where the data will be deleted from.\n@param array|string $condition the conditions that will be put in the WHERE part. Please\nrefer to [[Query::where()]] on how to specify conditions.\n@param array $params the parameters to be bound to the query.\n@return LazyPromiseInterface", "docstring_tokens": ["Creates", "and", "executes", "a", "DELETE", "SQL", "statement", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L328-L332", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.renameTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for renaming a DB table.\n@param string $table the table to be renamed. The name will be properly quoted by the method.\n@param string $newName the new table name. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "renaming", "a", "DB", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L370-L374", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for dropping a DB table.\n@param string $table the table to be dropped. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "dropping", "a", "DB", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L381-L385", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.truncateTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for truncating a DB table.\n@param string $table the table to be truncated. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "truncating", "a", "DB", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L392-L396", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for dropping a DB column.\n@param string $table the table whose column is to be dropped. The name will be properly quoted by the method.\n@param string $column the name of the column to be dropped. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "dropping", "a", "DB", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L424-L428", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.renameColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for renaming a column.\n@param string $table the table whose column is to be renamed. The name will be properly quoted by the method.\n@param string $name the old name of the column. The name will be properly quoted by the method.\n@param string $newName the new name of the column. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "renaming", "a", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L437-L441", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.alterColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for changing the definition of a column.\n@param string $table the table whose column is to be changed. The table name will be properly quoted by the method.\n@param string $column the name of the column to be changed. The name will be properly quoted by the method.\n@param string $type the new column type. The [[QueryBuilder::getColumnType()]] method will be invoked to convert abstract column type (if any)\ninto the physical one. Anything that is not recognized as abstract type will be kept in the generated SQL.\nFor example, 'string' will be turned into 'varchar(255)', while 'string not null' will become 'varchar(255) not null'.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "changing", "the", "definition", "of", "a", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L452-L460", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.addPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for creating a primary key.\nThe method will properly quote the table and column names.\n@param string $name the name of the primary key constraint.\n@param string $table the table that the primary key constraint will be added to.\n@param string|array $columns comma separated string or array of columns that the primary key will consist of.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "creating", "a", "primary", "key", ".", "The", "method", "will", "properly", "quote", "the", "table", "and", "column", "names", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L470-L475", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for dropping a primary key.\n@param string $name the name of the primary key constraint to be removed.\n@param string $table the table that the primary key constraint will be removed from.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "dropping", "a", "primary", "key", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L483-L487", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.addForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for adding a foreign key constraint to an existing table.\nThe method will properly quote the table and column names.\n@param string $name the name of the foreign key constraint.\n@param string $table the table that the foreign key constraint will be added to.\n@param string|array $columns the name of the column to that the constraint will be added on. If there are multiple columns, separate them with commas or use an array.\n@param string $refTable the table that the foreign key references to.\n@param string|array $refColumns the name of the column that the foreign key references to. If there are multiple columns, separate them with commas or use an array.\n@param string $delete the ON DELETE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL\n@param string $update the ON UPDATE option. Most DBMS support these options: RESTRICT, CASCADE, NO ACTION, SET DEFAULT, SET NULL\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "adding", "a", "foreign", "key", "constraint", "to", "an", "existing", "table", ".", "The", "method", "will", "properly", "quote", "the", "table", "and", "column", "names", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L501-L506", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropForeignKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for dropping a foreign key constraint.\n@param string $name the name of the foreign key constraint to be dropped. The name will be properly quoted by the method.\n@param string $table the table whose foreign is to be dropped. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "dropping", "a", "foreign", "key", "constraint", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L514-L518", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.createIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for creating a new index.\n@param string $name the name of the index. The name will be properly quoted by the method.\n@param string $table the table that the new index will be created for. The table name will be properly quoted by the method.\n@param string|array $columns the column(s) that should be included in the index. If there are multiple columns, please separate them\nby commas or use an array. Each column name will be properly quoted by the method. Quoting will be skipped for column names that\ninclude a left parenthesis \"(\".\n@param bool $unique whether to add UNIQUE constraint on the created index.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "creating", "a", "new", "index", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L530-L535", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropIndex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and executes a SQL statement for dropping an index.\n@param string $name the name of the index to be dropped. The name will be properly quoted by the method.\n@param string $table the table whose index is to be dropped. The name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "executes", "a", "SQL", "statement", "for", "dropping", "an", "index", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L543-L547", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.addCommentOnColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and execute a SQL statement for adding comment to column.\n\n@param string $table the table whose column is to be commented. The table name will be properly quoted by the method.\n@param string $column the name of the column to be commented. The column name will be properly quoted by the method.\n@param string $comment the text of the comment to be added. The comment will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "execute", "a", "SQL", "statement", "for", "adding", "comment", "to", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L557-L561", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.addCommentOnTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for adding comment to table.\n\n@param string $table the table to be commented. The table name will be properly quoted by the method.\n@param string $comment the text of the comment to be added. The comment will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "adding", "comment", "to", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L570-L574", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropCommentFromColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds and execute a SQL statement for dropping comment from column.\n\n@param string $table the table whose column is to be commented. The table name will be properly quoted by the method.\n@param string $column the name of the column to be commented. The column name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "and", "execute", "a", "SQL", "statement", "for", "dropping", "comment", "from", "column", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L583-L587", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.dropCommentFromTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a SQL statement for dropping comment from table.\n\n@param string $table the table whose column is to be commented. The table name will be properly quoted by the method.\n@return LazyPromiseInterface", "docstring_tokens": ["Builds", "a", "SQL", "statement", "for", "dropping", "comment", "from", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L595-L599", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Migration.php", "func_name": "Migration.execPromise", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute command promise with description printing and time elapsed\n\n@param ExtendedPromiseInterface|ExtendedPromiseInterface[] $cmdPromise\n@param string $description\n@return LazyPromiseInterface", "docstring_tokens": ["Execute", "command", "promise", "with", "description", "printing", "and", "time", "elapsed"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Migration.php#L648-L660", "partition": "test"} +{"repo": "osflab/log", "path": "LogProxy.php", "func_name": "LogProxy.log", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save un log\n@param string $message\n@param string $level\n@param string|null $category\n@param mixed $dump\n@return mixed", "docstring_tokens": ["Save", "un", "log"], "sha": "9cccc605e6110dbcd371ab96b141b157a0d80b9b", "url": "https://github.com/osflab/log/blob/9cccc605e6110dbcd371ab96b141b157a0d80b9b/LogProxy.php#L63-L67", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Regex.php", "func_name": "Regex.validate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Ensures the regex passed in is valid\n\n@throws InvalidArgumentException If the value is not a valid regex\n\n@param string $regex The value to validate", "docstring_tokens": ["Ensures", "the", "regex", "passed", "in", "is", "valid"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Regex.php#L30-L34", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Regex.php", "func_name": "Regex.capture", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Extracts capture groups from a given Text object\n\n@param Text $text The text to capture from\n\n@return Text[] An array of new Text objects based on the capturing groups of this regular expression", "docstring_tokens": ["Extracts", "capture", "groups", "from", "a", "given", "Text", "object"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Regex.php#L81-L91", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Regex.php", "func_name": "Regex.split", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Splits a given Text object based on this regular expression\n\n@param Text $text The text to split\n\n@return Text[] An array of new Text objects based on the given Text, split by this regular expression", "docstring_tokens": ["Splits", "a", "given", "Text", "object", "based", "on", "this", "regular", "expression"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Regex.php#L100-L102", "partition": "test"} +{"repo": "BapCat/Values", "path": "src/Regex.php", "func_name": "Regex.replace", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Replaces parts of a Text object based on a search and replace via this regex\n\n@param Text $text The text to replace\n@param Text $replace The text with which to replace the found text\n\n@return Text A new Text object with all search text replaced", "docstring_tokens": ["Replaces", "parts", "of", "a", "Text", "object", "based", "on", "a", "search", "and", "replace", "via", "this", "regex"], "sha": "75fcb00e80a83a1176080dbb99338b1d37d411e2", "url": "https://github.com/BapCat/Values/blob/75fcb00e80a83a1176080dbb99338b1d37d411e2/src/Regex.php#L112-L114", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Controller/FormController.php", "func_name": "FormController.configAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the form plugins configuration.\n\n@return Response", "docstring_tokens": ["Returns", "the", "form", "plugins", "configuration", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Controller/FormController.php#L19-L33", "partition": "test"} +{"repo": "diatem-net/jin-form", "path": "src/Form/Components/SimpleCaptcha.php", "func_name": "SimpleCaptcha.securimageUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retourne l'url de Securimage\n\n@return stirng", "docstring_tokens": ["Retourne", "l", "url", "de", "Securimage"], "sha": "ee50df330508feb422bf8d2852405c101ab03e97", "url": "https://github.com/diatem-net/jin-form/blob/ee50df330508feb422bf8d2852405c101ab03e97/src/Form/Components/SimpleCaptcha.php#L34-L41", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the entity with the ID in the parameter\n\n@param int|string $id\n\n@return Model\n@throws MappingException If the object with the given ID is not found", "docstring_tokens": ["Return", "the", "entity", "with", "the", "ID", "in", "the", "parameter"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L74-L87", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.getOrNew", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the entity with the ID in the parameter. If it does not exist a new instance is returned.\n\n@param int|string $id\n\n@return Model", "docstring_tokens": ["Return", "the", "entity", "with", "the", "ID", "in", "the", "parameter", ".", "If", "it", "does", "not", "exist", "a", "new", "instance", "is", "returned", "."], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L97-L107", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.getList", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array of the model which belongs to the repository\n\n@return Model[]", "docstring_tokens": ["Return", "an", "array", "of", "the", "model", "which", "belongs", "to", "the", "repository"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L115-L122", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save the model into the database\n\n@param Model $model\n\n@return void\n@throws \\OlajosCs\\Repository\\Exceptions\\ValidationException", "docstring_tokens": ["Save", "the", "model", "into", "the", "database"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L133-L153", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.delete", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Delete the instance from the database\n\n@param Model $model\n\n@return void", "docstring_tokens": ["Delete", "the", "instance", "from", "the", "database"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L163-L170", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.getWhereIdIn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the instances, which have the ID in the parameter array\n\n@param array $ids The IDs which are needed\n\n@return Model[]", "docstring_tokens": ["Return", "the", "instances", "which", "have", "the", "ID", "in", "the", "parameter", "array"], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L180-L187", "partition": "test"} +{"repo": "olajoscs/Repository", "path": "src/Repository.php", "func_name": "Repository.getWhereIdInWithKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the models, which have the ID in the parameter array.\nThe keys of the returning array are the IDs of the models.\n\n@param array $ids\n\n@return Model[]", "docstring_tokens": ["Return", "the", "models", "which", "have", "the", "ID", "in", "the", "parameter", "array", ".", "The", "keys", "of", "the", "returning", "array", "are", "the", "IDs", "of", "the", "models", "."], "sha": "bdb327184ff160de11bf059ce4f7d656d9129bea", "url": "https://github.com/olajoscs/Repository/blob/bdb327184ff160de11bf059ce4f7d656d9129bea/src/Repository.php#L197-L207", "partition": "test"} +{"repo": "skeetr/skeetr", "path": "src/Skeetr/Runtime/Overrides/Cookie.php", "func_name": "Cookie.setrawcookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send a cookie without urlencoding the cookie value\n\n@link http://www.php.net/manual/en/function.setrawcookie.php\n\n@param string $name The name of the cookie.\n@param string $value (optional) The value of the cookie.\n@param integer $expire (optional) The time the cookie expires. This is a Unix timestamp\n@param string $path (optional) The path on the server in which the cookie will be available on.\n@param string $domain (optional) The domain that the cookie is available to.\n@param boolean $secure (optional) Indicates that the cookie should only be transmitted over a secure HTTPS connection from the client.\n@param boolean $secure (optional) When TRUE the cookie will be made accessible only through the HTTP protocol.\n@return boolean", "docstring_tokens": ["Send", "a", "cookie", "without", "urlencoding", "the", "cookie", "value"], "sha": "eb4ae5f7a6d3fed322041bbce830961e81ed6e20", "url": "https://github.com/skeetr/skeetr/blob/eb4ae5f7a6d3fed322041bbce830961e81ed6e20/src/Skeetr/Runtime/Overrides/Cookie.php#L66-L88", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/SOCKS5.php", "func_name": "HTTP_Request2_SOCKS5.connect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Connects to a remote host via proxy\n\n@param string $remoteHost Remote host\n@param int $remotePort Remote port\n\n@throws HTTP_Request2_ConnectionException\n@throws HTTP_Request2_MessageException", "docstring_tokens": ["Connects", "to", "a", "remote", "host", "via", "proxy"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/SOCKS5.php#L115-L133", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Save a record in database\n\n@throws Exception\\LogicException when record has already been deleted\n\n@param boolean $validate_datatype if true will ensure record data correspond to column datatype\n\n@return Record freshly modified record (from database)", "docstring_tokens": ["Save", "a", "record", "in", "database"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L97-L143", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.setData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set record data\n\n@param array|ArrayObject $data\n@throws Exception\\InvalidArgumentException when the para\n@throws Exception\\LogicException when the record has been deleted\n@return Record", "docstring_tokens": ["Set", "record", "data"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L154-L168", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.toArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an array version of the record\n\n@throws Exception\\LogicException when the record has been deleted\n@return array", "docstring_tokens": ["Return", "an", "array", "version", "of", "the", "record"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L176-L182", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.offsetGet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get field value\n@param string $field\n@return mixed\n@throws Exception\\FieldNotFoundException", "docstring_tokens": ["Get", "field", "value"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L218-L229", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.offsetSet", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a field\n@param string $field\n@param mixed $value\n@throws Exception\\LogicException when the record has been deleted\n@return Record", "docstring_tokens": ["Set", "a", "field"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L238-L251", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Synthetic/Record.php", "func_name": "Record.getRecordPrimaryKeyPredicate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return primary key predicate on record\n\n\n@throws Exception\\PrimaryKeyNotFoundException\n@throws Exception\\UnexcpectedValueException\n@return array predicate", "docstring_tokens": ["Return", "primary", "key", "predicate", "on", "record"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Synthetic/Record.php#L353-L367", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathParser.php", "func_name": "NativePathParser.parse", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a path and get its parts.\n\n@param string $path The path\n\n@throws \\InvalidArgumentException\n\n@return array", "docstring_tokens": ["Parse", "a", "path", "and", "get", "its", "parts", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathParser.php#L50-L117", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathParser.php", "func_name": "NativePathParser.validatePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a path's opening and closing tags.\n\n@param string $path The path\n\n@throws \\InvalidArgumentException\n\n@return void", "docstring_tokens": ["Validate", "a", "path", "s", "opening", "and", "closing", "tags", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathParser.php#L128-L154", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathParser.php", "func_name": "NativePathParser.splitSegments", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Split segments based on ending bracket within the segments.\n\n@param array $segments The segments\n@param string $deliminator The deliminator\n\n@return array", "docstring_tokens": ["Split", "segments", "based", "on", "ending", "bracket", "within", "the", "segments", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathParser.php#L179-L202", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathParser.php", "func_name": "NativePathParser.parsePath", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse a path with no optionals.\n\n@param string $path The path\n@param array $segments The segments\n\n@return array", "docstring_tokens": ["Parse", "a", "path", "with", "no", "optionals", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathParser.php#L244-L302", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Path/NativePathParser.php", "func_name": "NativePathParser.getParamReplacement", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a param's replacement.\n\n@param string $key The key\n@param array $params The params\n\n@return string", "docstring_tokens": ["Get", "a", "param", "s", "replacement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Path/NativePathParser.php#L312-L316", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/CacheableTrait.php", "func_name": "CacheableTrait.cache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cache a value in the model's cache collection.\n\n@param $key\n@param Closure $value\n@param $ttl\n\n@return mixed", "docstring_tokens": ["Cache", "a", "value", "in", "the", "model", "s", "cache", "collection", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/CacheableTrait.php#L54-L70", "partition": "test"} +{"repo": "sinpe/cache", "path": "src/CacheableTrait.php", "func_name": "CacheableTrait.flushCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Flush the model's cache.\n\n@return $this", "docstring_tokens": ["Flush", "the", "model", "s", "cache", "."], "sha": "5640d5b64470fe23fff87b35c784dc40c96c84a2", "url": "https://github.com/sinpe/cache/blob/5640d5b64470fe23fff87b35c784dc40c96c84a2/src/CacheableTrait.php#L77-L87", "partition": "test"} +{"repo": "estebanmatias92/RestGalleries", "path": "src/RestGalleries/Http/Guzzle/GuzzleResponse.php", "func_name": "GuzzleResponse.processResponseData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Receives the Http client response, it is processed and stores it into the object properties.\n\n@param \\Guzzle\\Http\\Client $raw\n@return void", "docstring_tokens": ["Receives", "the", "Http", "client", "response", "it", "is", "processed", "and", "stores", "it", "into", "the", "object", "properties", "."], "sha": "09bbaf351e1ec330f075aa96b7c2aed407534a57", "url": "https://github.com/estebanmatias92/RestGalleries/blob/09bbaf351e1ec330f075aa96b7c2aed407534a57/src/RestGalleries/Http/Guzzle/GuzzleResponse.php#L16-L27", "partition": "test"} +{"repo": "vaccuum/dispatcher", "path": "source/Traits/TMethodInvocation.php", "func_name": "TMethodInvocation.invokeMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Invoke object method using arguments.\n\n@param array $arguments\n@param string $action\n@param object $object\n\n@throws DispatcherException\n@return mixed", "docstring_tokens": ["Invoke", "object", "method", "using", "arguments", "."], "sha": "21465a880fbef2f6c40e9668e16f235c9afc3faa", "url": "https://github.com/vaccuum/dispatcher/blob/21465a880fbef2f6c40e9668e16f235c9afc3faa/source/Traits/TMethodInvocation.php#L18-L47", "partition": "test"} +{"repo": "tekkla/core-toolbox", "path": "Core/Toolbox/IO/Sendfile.php", "func_name": "Sendfile.getContentType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns content type of file\n\nTries to autodetect content type when no type is set.\n\n@return string", "docstring_tokens": ["Returns", "content", "type", "of", "file"], "sha": "c21ad38c54ff57e7ce57dc01dbfa72b4005889e4", "url": "https://github.com/tekkla/core-toolbox/blob/c21ad38c54ff57e7ce57dc01dbfa72b4005889e4/Core/Toolbox/IO/Sendfile.php#L57-L64", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionHandlerAbstract.php", "func_name": "SessionHandlerAbstract.regenerateId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Regenerate session id\n@param string $idOld\n@param RequestApplicationInterface $app\n@param bool $deleteOldSession\n@return ExtendedPromiseInterface with new session ID (string)", "docstring_tokens": ["Regenerate", "session", "id"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionHandlerAbstract.php#L103-L129", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionHandlerAbstract.php", "func_name": "SessionHandlerAbstract.createId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return a new session ID\n@param RequestApplicationInterface $app\n@return ExtendedPromiseInterface with session ID valid for session handler", "docstring_tokens": ["Return", "a", "new", "session", "ID"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionHandlerAbstract.php#L146-L164", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Web/Sessions/SessionHandlerAbstract.php", "func_name": "SessionHandlerAbstract.createGcTimer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create GC periodic timer", "docstring_tokens": ["Create", "GC", "periodic", "timer"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Web/Sessions/SessionHandlerAbstract.php#L211-L217", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Modal.php", "func_name": "Modal.setContent", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the content.\n\n@param mixed $content\n@return Modal", "docstring_tokens": ["Sets", "the", "content", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Modal.php#L139-L152", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Modal.php", "func_name": "Modal.setButtons", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the buttons.\n\n@param array $buttons\n@return Modal", "docstring_tokens": ["Sets", "the", "buttons", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Modal.php#L202-L211", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Modal.php", "func_name": "Modal.addButton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Adds the button.\n\n@param array $options\n@param bool $prepend\n@return Modal", "docstring_tokens": ["Adds", "the", "button", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Modal.php#L220-L230", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Modal.php", "func_name": "Modal.validateType", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the modal type.\n\n@param string $type\n@param bool $throwException\n@return bool\n@throws \\InvalidArgumentException", "docstring_tokens": ["Validates", "the", "modal", "type", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Modal.php#L292-L310", "partition": "test"} +{"repo": "ekyna/CoreBundle", "path": "Modal/Modal.php", "func_name": "Modal.validateSize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validates the modal size.\n\n@param string $size\n@param bool $throwException\n@return bool\n@throws \\InvalidArgumentException", "docstring_tokens": ["Validates", "the", "modal", "size", "."], "sha": "a471324311591489e7cebdb805921dd85ba104ec", "url": "https://github.com/ekyna/CoreBundle/blob/a471324311591489e7cebdb805921dd85ba104ec/Modal/Modal.php#L320-L336", "partition": "test"} +{"repo": "jjanvier/php-crowdin-lib", "path": "Application/Application.php", "func_name": "Application.registerCommands", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register crowdin commands in the application.", "docstring_tokens": ["Register", "crowdin", "commands", "in", "the", "application", "."], "sha": "880f4d9171fe01768b0aff2f9352fc9e5cb58865", "url": "https://github.com/jjanvier/php-crowdin-lib/blob/880f4d9171fe01768b0aff2f9352fc9e5cb58865/Application/Application.php#L45-L59", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Archive/Tar.php", "func_name": "Archive_Tar.Archive_Tar", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Archive_Tar Class constructor. This flavour of the constructor only\ndeclare a new Archive_Tar object, identifying it by the name of the\ntar file.\nIf the compress argument is set the tar will be read or created as a\ngzip or bz2 compressed TAR file.\n\n@param string $p_tarname The name of the tar archive to create\n@param string $p_compress can be null, 'gz' or 'bz2'. This\nparameter indicates if gzip or bz2 compression\nis required. For compatibility reason the\nboolean value 'true' means 'gz'.\n\n@access public", "docstring_tokens": ["Archive_Tar", "Class", "constructor", ".", "This", "flavour", "of", "the", "constructor", "only", "declare", "a", "new", "Archive_Tar", "object", "identifying", "it", "by", "the", "name", "of", "the", "tar", "file", ".", "If", "the", "compress", "argument", "is", "set", "the", "tar", "will", "be", "read", "or", "created", "as", "a", "gzip", "or", "bz2", "compressed", "TAR", "file", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Archive/Tar.php#L113-L175", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Archive/Tar.php", "func_name": "Archive_Tar.addString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method add a single string as a file at the\nend of the existing archive. If the archive does not yet exists it\nis created.\n\n@param string $p_filename A string which contains the full\nfilename path that will be associated\nwith the string.\n@param string $p_string The content of the file added in\nthe archive.\n@param int $p_datetime A custom date/time (unix timestamp)\nfor the file (optional).\n\n@return true on success, false on error.\n@access public", "docstring_tokens": ["This", "method", "add", "a", "single", "string", "as", "a", "file", "at", "the", "end", "of", "the", "existing", "archive", ".", "If", "the", "archive", "does", "not", "yet", "exists", "it", "is", "created", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Archive/Tar.php#L416-L438", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/Archive/Tar.php", "func_name": "Archive_Tar._maliciousFilename", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect and report a malicious file name\n\n@param string $file\n\n@return bool\n@access private", "docstring_tokens": ["Detect", "and", "report", "a", "malicious", "file", "name"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/Archive/Tar.php#L1428-L1437", "partition": "test"} +{"repo": "phergie/phergie-irc-plugin-react-command", "path": "src/Plugin.php", "func_name": "Plugin.parseCommand", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parses user events for commands and emits them as events.\n\n@param \\Phergie\\Irc\\Event\\UserEventInterface $event\n@param \\Phergie\\Irc\\Bot\\React\\EventQueueInterface $queue", "docstring_tokens": ["Parses", "user", "events", "for", "commands", "and", "emits", "them", "as", "events", "."], "sha": "375027dcf74d9cefcd3252471e8eebb97216bcc9", "url": "https://github.com/phergie/phergie-irc-plugin-react-command/blob/375027dcf74d9cefcd3252471e8eebb97216bcc9/src/Plugin.php#L132-L184", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionConverter.php", "func_name": "VersionConverter.migrateFrom", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get object from other version.\n\n@param mixed $otherObject Object instance.\n\n@throws Exception\\VersionPathNotFoundException\n\n@return mixed Migrated object.", "docstring_tokens": ["Get", "object", "from", "other", "version", "."], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionConverter.php#L160-L181", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/Metadata/NormalistModels.php", "func_name": "NormalistModels.getUniqueKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get unique keys on table\n\n@param string $table table name\n@param boolean $include_primary include primary keys in the list\n@throws Exception\\InvalidArgumentException\n@throws Exception\\ErrorException\n@throws Exception\\NoPrimaryKeyException\n@throws Exception\\ExceptionInterface\n@throws Exception\\TableNotFoundException\n@return array", "docstring_tokens": ["Get", "unique", "keys", "on", "table"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/Metadata/NormalistModels.php#L40-L44", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/Metadata/NormalistModels.php", "func_name": "NormalistModels.getPrimaryKey", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return unique table primary key\n\n@throws Exception\\InvalidArgumentException\n@throws Exception\\ErrorException\n@throws Exception\\NoPrimaryKeyException when no pk\n@throws Exception\\MultiplePrimaryKeyException when multiple pk found\n@throws Exception\\ExceptionInterface\n@throws Exception\\TableNotFoundException\n\n@param string $table\n@return string|int primary key", "docstring_tokens": ["Return", "unique", "table", "primary", "key"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/Metadata/NormalistModels.php#L77-L86", "partition": "test"} +{"repo": "belgattitude/solublecomponents", "path": "src/Soluble/Normalist/Driver/Metadata/NormalistModels.php", "func_name": "NormalistModels.getPrimaryKeys", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return composite primary keys\n\n@throws Exception\\InvalidArgumentException\n@throws Exception\\ErrorException\n@throws Exception\\NoPrimaryKeyException\n@throws Exception\\ExceptionInterface\n@throws Exception\\TableNotFoundException\n\n@param string $table\n@return array primary keys", "docstring_tokens": ["Return", "composite", "primary", "keys"], "sha": "f045b3967e42d352d8e70fb2c1f8a427df62599f", "url": "https://github.com/belgattitude/solublecomponents/blob/f045b3967e42d352d8e70fb2c1f8a427df62599f/src/Soluble/Normalist/Driver/Metadata/NormalistModels.php#L101-L109", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Filter/Priority/PriorityFilter.php", "func_name": "PriorityFilter.getPriority", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get priority.\n\n@return PriorityInterface", "docstring_tokens": ["Get", "priority", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Filter/Priority/PriorityFilter.php#L81-L88", "partition": "test"} +{"repo": "extendsframework/extends-logger", "path": "src/Filter/Priority/PriorityFilter.php", "func_name": "PriorityFilter.getValidator", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get validator.\n\n@return ValidatorInterface", "docstring_tokens": ["Get", "validator", "."], "sha": "5bd11fefadabaddaf83cdc1b330a491fc3b882f7", "url": "https://github.com/extendsframework/extends-logger/blob/5bd11fefadabaddaf83cdc1b330a491fc3b882f7/src/Filter/Priority/PriorityFilter.php#L95-L104", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelper.php", "func_name": "FileHelper.loadMimeTypes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads MIME types from the specified file.\n@param string $magicFile the path (or alias) of the file that contains all available MIME type information.\nIf this is not set, the file specified by [[mimeMagicFile]] will be used.\n@return array the mapping from file extensions to MIME types", "docstring_tokens": ["Loads", "MIME", "types", "from", "the", "specified", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelper.php#L207-L218", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelper.php", "func_name": "FileHelper.loadMimeAliases", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads MIME aliases from the specified file.\n@param string $aliasesFile the path (or alias) of the file that contains MIME type aliases.\nIf this is not set, the file specified by [[mimeAliasesFile]] will be used.\n@return array the mapping from file extensions to MIME types", "docstring_tokens": ["Loads", "MIME", "aliases", "from", "the", "specified", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelper.php#L228-L239", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelper.php", "func_name": "FileHelper.unlink", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Removes a file or symlink in a cross-platform way\n\n@param string $path\n@return bool", "docstring_tokens": ["Removes", "a", "file", "or", "symlink", "in", "a", "cross", "-", "platform", "way"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelper.php#L388-L408", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelper.php", "func_name": "FileHelper.permissionsAsString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert octal permissions to string\n@param int $modeOctal Octal mode (0755). Do not omit zero, must be octal, not decimal!\n@return string String permissions representation (rwxr-xr-x)", "docstring_tokens": ["Convert", "octal", "permissions", "to", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelper.php#L647-L653", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/FileHelper.php", "func_name": "FileHelper.permissionsAsOctal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert string representation of permissions to octal\n@param string $modeStr String permissions (rwxr-xr-x)\n@return int Octal permissions representation", "docstring_tokens": ["Convert", "string", "representation", "of", "permissions", "to", "octal"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/FileHelper.php#L660-L669", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Searcher.php", "func_name": "Searcher.innerJoin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "+ \\Labi\\Database\\Utility\\Join", "docstring_tokens": ["+", "\\", "Labi", "\\", "Database", "\\", "Utility", "\\", "Join"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Searcher.php#L225-L232", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Searcher.php", "func_name": "Searcher.toSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "- \\Labi\\Database\\Utility\\ConditionInterface", "docstring_tokens": ["-", "\\", "Labi", "\\", "Database", "\\", "Utility", "\\", "ConditionInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Searcher.php#L456-L571", "partition": "test"} +{"repo": "ttmdear/labi", "path": "src/Labi/Database/Searcher.php", "func_name": "Searcher.search", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "+ \\Labi\\Operators\\SearcherInterface", "docstring_tokens": ["+", "\\", "Labi", "\\", "Operators", "\\", "SearcherInterface"], "sha": "b3789fe49f886581056d873a73e9e57e09b9d8b3", "url": "https://github.com/ttmdear/labi/blob/b3789fe49f886581056d873a73e9e57e09b9d8b3/src/Labi/Database/Searcher.php#L608-L611", "partition": "test"} +{"repo": "colorium/orm", "path": "src/Colorium/Orm/SQLite/SQL.php", "func_name": "SQL.createTable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Compile CREATE TABLE\n\n@param string $table\n@param array $specs\n@return bool", "docstring_tokens": ["Compile", "CREATE", "TABLE"], "sha": "feb17e439898a9156d6de9443475040d22aa0bc5", "url": "https://github.com/colorium/orm/blob/feb17e439898a9156d6de9443475040d22aa0bc5/src/Colorium/Orm/SQLite/SQL.php#L18-L39", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/AppBuilder.php", "func_name": "AppBuilder.loadModules", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads all modules contained in app and builds them.\n\n@return void", "docstring_tokens": ["Loads", "all", "modules", "contained", "in", "app", "and", "builds", "them", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/AppBuilder.php#L90-L105", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/AppBuilder.php", "func_name": "AppBuilder.getContainer", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets built container.\n\n@return IContainer IoC container.", "docstring_tokens": ["Gets", "built", "container", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/AppBuilder.php#L112-L119", "partition": "test"} +{"repo": "epochblue/philip-plugins", "path": "src/Philip/Plugin/SwearJarPlugin.php", "func_name": "SwearJarPlugin.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Listens to channel messages and lets everyone know who owes what to\nthe \"swear jar\".", "docstring_tokens": ["Listens", "to", "channel", "messages", "and", "lets", "everyone", "know", "who", "owes", "what", "to", "the", "swear", "jar", "."], "sha": "6aea714d486e9acb1f329c7049d3db55daaafcc1", "url": "https://github.com/epochblue/philip-plugins/blob/6aea714d486e9acb1f329c7049d3db55daaafcc1/src/Philip/Plugin/SwearJarPlugin.php#L20-L41", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a SELECT query statement.\n\n\n$queryBuilder->select();\n$queryBuilder->select(\n[\n'column1',\n'column2',\n...\n]\n);\n\n\n@param array|null $columns\n\n@return static", "docstring_tokens": ["Create", "a", "SELECT", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L111-L122", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.table", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set the table on which to perform the query statement.\n\n\n$queryBuilder\n->select()\n->table('table');\n\n$queryBuilder\n->select()\n->table('table', 't');\n\n\n@param string $table\n@param string|null $alias\n\n@return static", "docstring_tokens": ["Set", "the", "table", "on", "which", "to", "perform", "the", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L190-L195", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a value for a column to set.\n\n\n$queryBuilder\n->insert()\n->table('table')\n->set('column', ':column');\n\n$queryBuilder\n->update()\n->table('table')\n->set('column', ':column');\n\n\n@param string $column\n@param string $value\n\n@return static", "docstring_tokens": ["Add", "a", "value", "for", "a", "column", "to", "set", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L217-L222", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.where", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add a where condition to the query statement.\n- Each additional use will add an `AND` where condition.\n\n\n$queryBuilder\n->select()\n->table('table')\n->where('column = :column');\n\n$queryBuilder\n->select()\n->table('table')\n->where('column = :column')\n->where('column2 = :column2');\n\n\n@param string $where\n\n@return static", "docstring_tokens": ["Add", "a", "where", "condition", "to", "the", "query", "statement", ".", "-", "Each", "additional", "use", "will", "add", "an", "AND", "where", "condition", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L245-L256", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.orWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an additional `OR` where condition to the query statement.\n\n\n$queryBuilder\n->select()\n->table('table')\n->where('column = :column')\n->andWhere('column2 = :column2');\n\n\n@param string $where\n\n@return static", "docstring_tokens": ["Add", "an", "additional", "OR", "where", "condition", "to", "the", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L299-L308", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.orderByAsc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an order by ascending to the query statement.\n\n\n$queryBuilder\n->select()\n->table('table')\n->where('column = :column')\n->orderByAsc('column');\n\n\n@param string $column\n\n@return static", "docstring_tokens": ["Add", "an", "order", "by", "ascending", "to", "the", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L347-L352", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.orderByDesc", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add an order by descending to the query statement.\n\n\n$queryBuilder\n->select()\n->table('table')\n->where('column = :column')\n->orderByDesc('column');\n\n\n@param string $column\n\n@return static", "docstring_tokens": ["Add", "an", "order", "by", "descending", "to", "the", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L369-L374", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the built query string.\n\n@return string", "docstring_tokens": ["Get", "the", "built", "query", "string", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L425-L447", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.setWhere", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a where condition.\n\n@param string $where\n@param string|null $type\n\n@return void", "docstring_tokens": ["Set", "a", "where", "condition", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L457-L464", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.setOrderBy", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an order by condition.\n\n@param string $column\n@param string|null $order\n\n@return void", "docstring_tokens": ["Set", "an", "order", "by", "condition", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L474-L483", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getSelectQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a SELECT query.\n\n@return string", "docstring_tokens": ["Get", "a", "SELECT", "query", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L490-L500", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getInsertQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an INSERT query.\n\n@return string", "docstring_tokens": ["Get", "an", "INSERT", "query", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L507-L515", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getUpdateQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an UPDATE query.\n\n@return string", "docstring_tokens": ["Get", "an", "UPDATE", "query", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L522-L530", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getDeleteQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get an DELETE query.\n\n@return string", "docstring_tokens": ["Get", "an", "DELETE", "query", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L537-L545", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getSetQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the SET part of an INSERT query.\n\n@return string", "docstring_tokens": ["Get", "the", "SET", "part", "of", "an", "INSERT", "query", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L552-L565", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getWhereQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the WHERE part of a query statement.\n\n@return string", "docstring_tokens": ["Get", "the", "WHERE", "part", "of", "a", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L572-L579", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php", "func_name": "NativeQueryBuilder.getOrderByQuery", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the ORDER BY part of a query statement.\n\n@return string", "docstring_tokens": ["Get", "the", "ORDER", "BY", "part", "of", "a", "query", "statement", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php#L586-L593", "partition": "test"} +{"repo": "psiphp/object-agent", "path": "bridge/doctrine-phpcr-odm/lib/ExpressionVisitor.php", "func_name": "ExpressionVisitor.dispatch", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Walk the given expression to build up the PHPCR-ODM query builder.\n\n@param Expression $expr\n@param AbstractNode|null $parentNode", "docstring_tokens": ["Walk", "the", "given", "expression", "to", "build", "up", "the", "PHPCR", "-", "ODM", "query", "builder", "."], "sha": "56ae8756c2925e5981a6e55b409f649d8dbe7b66", "url": "https://github.com/psiphp/object-agent/blob/56ae8756c2925e5981a6e55b409f649d8dbe7b66/bridge/doctrine-phpcr-odm/lib/ExpressionVisitor.php#L33-L48", "partition": "test"} +{"repo": "uthando-cms/uthando-user", "path": "src/UthandoUser/Service/UserService.php", "func_name": "UserService.register", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a new user\n\n@param array $post\n@return int|Form\n@throws \\UthandoCommon\\Service\\ServiceException", "docstring_tokens": ["Registers", "a", "new", "user"], "sha": "bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15", "url": "https://github.com/uthando-cms/uthando-user/blob/bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15/src/UthandoUser/Service/UserService.php#L93-L109", "partition": "test"} +{"repo": "uthando-cms/uthando-user", "path": "src/UthandoUser/Service/UserService.php", "func_name": "UserService.editUser", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Allows not admin user to edit thier profile\n\n@param UserModel $model\n@param array $post\n@return int|UserEditForm\n@throws UthandoUserException\n@throws \\UthandoCommon\\Service\\ServiceException", "docstring_tokens": ["Allows", "not", "admin", "user", "to", "edit", "thier", "profile"], "sha": "bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15", "url": "https://github.com/uthando-cms/uthando-user/blob/bdbe7ee2efa3a01ee445dcf5bfdc328ba8cd7c15/src/UthandoUser/Service/UserService.php#L120-L161", "partition": "test"} +{"repo": "crazedsanity/version", "path": "src/version/Version.class.php", "func_name": "Version.get_version", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve our version string from the VERSION file.", "docstring_tokens": ["Retrieve", "our", "version", "string", "from", "the", "VERSION", "file", "."], "sha": "5ea87a726f60ba57045381995540bcb1b189e74e", "url": "https://github.com/crazedsanity/version/blob/5ea87a726f60ba57045381995540bcb1b189e74e/src/version/Version.class.php#L57-L71", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/RequestApplication.php", "func_name": "RequestApplication.createRoute", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create Route with given params\n@param string|null $routePath\n@param string|null $method\n@param array|null $params\n@param bool $onlyReturn\n@return RouteInterface", "docstring_tokens": ["Create", "Route", "with", "given", "params"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/RequestApplication.php#L67-L86", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/RequestApplication.php", "func_name": "RequestApplication.handleRequest", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Handle incoming request\n@return ExtendedPromiseInterface", "docstring_tokens": ["Handle", "incoming", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/RequestApplication.php#L92-L113", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/RequestApplication.php", "func_name": "RequestApplication.resolveAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve app action\n@param string|null $routePath\n@param string|null $method\n@param array|null $params\n@return Promise\\ExtendedPromiseInterface", "docstring_tokens": ["Resolve", "app", "action"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/RequestApplication.php#L122-L126", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/RequestApplication.php", "func_name": "RequestApplication.getHomeUrl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get app home URL\n@return string", "docstring_tokens": ["Get", "app", "home", "URL"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/RequestApplication.php#L144-L147", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/RequestApplication.php", "func_name": "RequestApplication.set", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Registers a component definition with this locator.\nOverridden to inject application instance\n@param string $id\n@param mixed $definition\n@throws InvalidConfigException", "docstring_tokens": ["Registers", "a", "component", "definition", "with", "this", "locator", ".", "Overridden", "to", "inject", "application", "instance"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/RequestApplication.php#L156-L197", "partition": "test"} +{"repo": "gosyl/common-bundle", "path": "Entity/ParamUsersRepository.php", "func_name": "ParamUsersRepository.restaureUtilisateur", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Restaure un utilisateur\n@param int $idUser\n@return mixed", "docstring_tokens": ["Restaure", "un", "utilisateur"], "sha": "27b66152b2ab85d30dfad72886ef20749898bdb4", "url": "https://github.com/gosyl/common-bundle/blob/27b66152b2ab85d30dfad72886ef20749898bdb4/Entity/ParamUsersRepository.php#L117-L127", "partition": "test"} +{"repo": "gosyl/common-bundle", "path": "Entity/ParamUsersRepository.php", "func_name": "ParamUsersRepository.getUserById", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retourne les informations d'un utilisateur en fonction de son id\n\n@param int $id\n@return array", "docstring_tokens": ["Retourne", "les", "informations", "d", "un", "utilisateur", "en", "fonction", "de", "son", "id"], "sha": "27b66152b2ab85d30dfad72886ef20749898bdb4", "url": "https://github.com/gosyl/common-bundle/blob/27b66152b2ab85d30dfad72886ef20749898bdb4/Entity/ParamUsersRepository.php#L171-L180", "partition": "test"} +{"repo": "gosyl/common-bundle", "path": "Entity/ParamUsersRepository.php", "func_name": "ParamUsersRepository.getActive", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retourne les utilisateurs actifs\n\n@return array", "docstring_tokens": ["Retourne", "les", "utilisateurs", "actifs"], "sha": "27b66152b2ab85d30dfad72886ef20749898bdb4", "url": "https://github.com/gosyl/common-bundle/blob/27b66152b2ab85d30dfad72886ef20749898bdb4/Entity/ParamUsersRepository.php#L201-L211", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/I18n/GettextMoFile.php", "func_name": "GettextMoFile.save", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Saves messages to an MO file.\n@param array $messages message translations. Array keys are source messages and array values are\ntranslated messages: source message => translated message. Note if the message has a context,\nthe message ID must be prefixed with the context with chr(4) as the separator.\n@param string|null $filePath file path\n@throws Exception if unable to save the MO file", "docstring_tokens": ["Saves", "messages", "to", "an", "MO", "file", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/I18n/GettextMoFile.php#L72-L134", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/ListTools.php", "func_name": "ListTools.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Recherche la position d'une valeur dans la liste\n\n@param string $list Liste source\n@param string $value Valeur \u00e0 rechercher\n@param string $delimiter S\u00e9parateur\n@return int|boolean Position dans la liste", "docstring_tokens": ["Recherche", "la", "position", "d", "une", "valeur", "dans", "la", "liste"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/ListTools.php#L58-L61", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Orm/ActiveQueryTrait.php", "func_name": "ActiveQueryTrait.findWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Finds records corresponding to one or multiple relations and populates them into the primary models.\n@param array $with a list of relations that this query should be performed with. Please\nrefer to [[with()]] for details about specifying this parameter.\n@param array|ActiveRecordInterface[] $models the primary models (can be either AR instances or arrays)\n@return \\Reaction\\Promise\\ExtendedPromiseInterface", "docstring_tokens": ["Finds", "records", "corresponding", "to", "one", "or", "multiple", "relations", "and", "populates", "them", "into", "the", "primary", "models", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Orm/ActiveQueryTrait.php#L129-L148", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/DataReader.php", "func_name": "DataReader.read", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Advances the reader to the next row in a result set.\n@return array|false the current row, false if no more row available", "docstring_tokens": ["Advances", "the", "reader", "to", "the", "next", "row", "in", "a", "result", "set", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/DataReader.php#L83-L92", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/DataReader.php", "func_name": "DataReader.readColumn", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a single column from the next row of a result set.\n@param int $columnIndex zero-based column index\n@return mixed the column of the current row, false if no more rows available", "docstring_tokens": ["Returns", "a", "single", "column", "from", "the", "next", "row", "of", "a", "result", "set", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/DataReader.php#L99-L106", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/DataReader.php", "func_name": "DataReader.readObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an object populated with the next row of data.\n@param string $className class name of the object to be created and populated\n@param array $fields Elements of this array are passed to the constructor\n@return mixed the populated object, false if no more row of data available", "docstring_tokens": ["Returns", "an", "object", "populated", "with", "the", "next", "row", "of", "data", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/DataReader.php#L114-L125", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/DataReader.php", "func_name": "DataReader.readAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Reads the whole result set into an array.\n@return array the result set (each array element represents a row of data).\nAn empty array will be returned if the result contains no row.", "docstring_tokens": ["Reads", "the", "whole", "result", "set", "into", "an", "array", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/DataReader.php#L132-L137", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/DataReader.php", "func_name": "DataReader.getColumnCount", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of columns in the result set.\nNote, even there's no row in the reader, this still gives correct column number.\n@return int the number of columns in the result set.", "docstring_tokens": ["Returns", "the", "number", "of", "columns", "in", "the", "result", "set", ".", "Note", "even", "there", "s", "no", "row", "in", "the", "reader", "this", "still", "gives", "correct", "column", "number", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/DataReader.php#L186-L194", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/Schema.php", "func_name": "Schema.findConstraints", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Collects the foreign key column details for the given table.\n@param TableSchema $table the table metadata\n@return ExtendedPromiseInterface with TableSchema", "docstring_tokens": ["Collects", "the", "foreign", "key", "column", "details", "for", "the", "given", "table", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/Schema.php#L369-L427", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/Schema.php", "func_name": "Schema.getServerVersionPromised", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get server version promised\n@return ExtendedPromiseInterface", "docstring_tokens": ["Get", "server", "version", "promised"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/Schema.php#L571-L580", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Router.php", "func_name": "Router.publishRoutes", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register all defined routes in dispatcher", "docstring_tokens": ["Register", "all", "defined", "routes", "in", "dispatcher"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Router.php#L87-L95", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Router.php", "func_name": "Router.parseRoutesData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Parse routes data to obtain path expressions, those used for URL building", "docstring_tokens": ["Parse", "routes", "data", "to", "obtain", "path", "expressions", "those", "used", "for", "URL", "building"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Router.php#L100-L112", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Router.php", "func_name": "Router.buildPathExpressions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Build path expression from router path\n@param string $path\n@param bool $store\n@return array", "docstring_tokens": ["Build", "path", "expression", "from", "router", "path"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Router.php#L120-L157", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.alias", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set an alias to the container.\n\n@param string $alias The alias\n@param string $serviceId The service to return\n\n@return void", "docstring_tokens": ["Set", "an", "alias", "to", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L86-L89", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.bind", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a service to the container.\n\n@param Service $service The service model\n@param bool $verify [optional] Whether to verify the service\n\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidServiceIdException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Bind", "a", "service", "to", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L106-L121", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.context", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Bind a context to the container.\n\n@param ServiceContext $serviceContext The context service\n\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidContextException\n@throws \\Valkyrja\\Container\\Exceptions\\EndlessContextLoopException\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidServiceIdException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Bind", "a", "context", "to", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L139-L179", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.getServiceFromContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a service model from a context model.\n\n@param ServiceContext $serviceContext The service context\n@param string $context [optional] The context\nclass or function\n@param string $member [optional] The member\n\n@return Service", "docstring_tokens": ["Get", "a", "service", "model", "from", "a", "context", "model", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L191-L218", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.has", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a given service exists.\n\n@param string $serviceId The service\n\n@return bool", "docstring_tokens": ["Check", "whether", "a", "given", "service", "exists", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L238-L241", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.hasContext", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check whether a given service has context.\n\n@param string $serviceId The service\n@param string $context The context\nclass name || function name || variable name\n@param string $member [optional] The context member\nmethod name || property name\n\n@return bool", "docstring_tokens": ["Check", "whether", "a", "given", "service", "has", "context", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L254-L259", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.get", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a service from the container.\n\n@param string $serviceId The service\n@param array $arguments [optional] The arguments\n@param string $context [optional] The context\nclass name || function name || variable name\n@param string $member [optional] The context member\nmethod name || property name\n\n@return mixed", "docstring_tokens": ["Get", "a", "service", "from", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L297-L364", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.make", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Make a service.\n\n@param string $serviceId The service id\n@param array|null $arguments [optional] The arguments\n\n@return mixed", "docstring_tokens": ["Make", "a", "service", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L374-L403", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.getSingleton", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a singleton from the container.\n\n@param string $serviceId The service\n\n@return mixed", "docstring_tokens": ["Get", "a", "singleton", "from", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L412-L421", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.getProvided", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a provided service from the container.\n\n@param string $serviceId The service\n@param array $arguments [optional] The arguments\n@param string $context [optional] The context\nclass name || function name || variable name\n@param string $member [optional] The context member\nmethod name || property name\n\n@return mixed", "docstring_tokens": ["Get", "a", "provided", "service", "from", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L435-L444", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.contextServiceId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get the context service id.\n\n@param string $serviceId The service\n@param string $context [optional] The context\nclass name || function name || variable name\n@param string $member [optional] The context member\nmethod name || property name\n\n@return string", "docstring_tokens": ["Get", "the", "context", "service", "id", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L457-L477", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.setup", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the container.\n\n@param bool $force [optional] Whether to force setup\n@param bool $useCache [optional] Whether to use cache\n\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidContextException\n@throws \\Valkyrja\\Container\\Exceptions\\EndlessContextLoopException\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidServiceIdException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return void", "docstring_tokens": ["Setup", "the", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L496-L549", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.setupFromCache", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup the container from cache.\n\n@return void", "docstring_tokens": ["Setup", "the", "container", "from", "cache", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L556-L572", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.setupServiceProviders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Setup service providers.\n\n@return void", "docstring_tokens": ["Setup", "service", "providers", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L634-L656", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Container/NativeContainer.php", "func_name": "NativeContainer.getCacheable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a cacheable representation of the service container.\n\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidContextException\n@throws \\Valkyrja\\Container\\Exceptions\\EndlessContextLoopException\n@throws \\Valkyrja\\Container\\Exceptions\\InvalidServiceIdException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidClosureException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidDispatchCapabilityException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidFunctionException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidMethodException\n@throws \\Valkyrja\\Dispatcher\\Exceptions\\InvalidPropertyException\n\n@return array", "docstring_tokens": ["Get", "a", "cacheable", "representation", "of", "the", "service", "container", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Container/NativeContainer.php#L672-L681", "partition": "test"} +{"repo": "ordercloud/ordercloud-php", "path": "src/Entities/Addresses/Address.php", "func_name": "Address.getAddressLines", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns an array of address lines.\n\n@return array|string[]", "docstring_tokens": ["Returns", "an", "array", "of", "address", "lines", "."], "sha": "de4a9e060aab3848d7f86a5c6a6c08ff25dba965", "url": "https://github.com/ordercloud/ordercloud-php/blob/de4a9e060aab3848d7f86a5c6a6c08ff25dba965/src/Entities/Addresses/Address.php#L91-L100", "partition": "test"} +{"repo": "joegreen88/zf1-component-filter", "path": "src/Zend/Filter/Compress/Gz.php", "func_name": "Zend_Filter_Compress_Gz.setLevel", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets a new compression level\n\n@param integer $level\n@return Zend_Filter_Compress_Gz", "docstring_tokens": ["Sets", "a", "new", "compression", "level"], "sha": "c19c3729ad352cb0ece6ae4777921722d46a1711", "url": "https://github.com/joegreen88/zf1-component-filter/blob/c19c3729ad352cb0ece6ae4777921722d46a1711/src/Zend/Filter/Compress/Gz.php#L82-L91", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.getUniqueId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get controller ID\n@return string", "docstring_tokens": ["Get", "controller", "ID"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L92-L101", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.registerInRouter", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Register controller actions in router\n@param Router $router", "docstring_tokens": ["Register", "controller", "actions", "in", "router"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L117-L130", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.resolveAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve controller action\n@param string $action\n@param RequestApplicationInterface $app\n@param mixed ...$params\n@return mixed\n@throws NotFoundException", "docstring_tokens": ["Resolve", "controller", "action"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L162-L190", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.beforeAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is invoked right before an action is executed.\n\nThe method will trigger the [[EVENT_BEFORE_ACTION]] event. The return value of the method\nwill determine whether the action should continue to run.\n\nIn case the action should not run, the request should be handled inside of the `beforeAction` code\nby either providing the necessary output or redirecting the request. Otherwise the response will be empty.\n\nIf you override this method, your code should look like the following:\n\n```php\npublic function beforeAction($action)\n{\n// your custom code here, if you want the code to run before action filters,\n// which are triggered on the [[EVENT_BEFORE_ACTION]] event, e.g. PageCache or AccessControl\n\nif (!parent::beforeAction($action)) {\nreturn false;\n}\n\n// other custom code here\n\nreturn true; // or false to not run the action\n}\n```\n\n@param string $actionId the action to be executed.\n@return bool whether the action should continue to run.", "docstring_tokens": ["This", "method", "is", "invoked", "right", "before", "an", "action", "is", "executed", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L245-L250", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.afterAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This method is invoked right after an action is executed.\n\nThe method will trigger the [[EVENT_AFTER_ACTION]] event. The return value of the method\nwill be used as the action return value.\n\nIf you override this method, your code should look like the following:\n\n```php\npublic function afterAction($action, $result)\n{\n$result = parent::afterAction($action, $result);\n// your custom code here\nreturn $result;\n}\n```\n\n@param string $actionId the action just executed.\n@param mixed $result the action return result.\n@return mixed the processed action result.", "docstring_tokens": ["This", "method", "is", "invoked", "right", "after", "an", "action", "is", "executed", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L273-L277", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.renderPartial", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render view partially\n@param RequestApplicationInterface $app\n@param string $viewName\n@param array $params\n@param bool $asResponse\n@return \\Reaction\\Web\\ResponseBuilderInterface|string", "docstring_tokens": ["Render", "view", "partially"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L300-L303", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.renderAjax", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render for AJAX request\n@param RequestApplicationInterface $app\n@param string $viewName\n@param array $params\n@param bool $asResponse\n@return \\Reaction\\Web\\ResponseBuilderInterface|string", "docstring_tokens": ["Render", "for", "AJAX", "request"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L313-L316", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.actions", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get actions list\n@return string[]", "docstring_tokens": ["Get", "actions", "list"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L348-L363", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.renderInLayout", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render view in layout\n@param RequestApplicationInterface $app\n@param string $viewName\n@param array $params\n@param bool $asResponse\n@return \\Reaction\\Web\\ResponseBuilderInterface|string", "docstring_tokens": ["Render", "view", "in", "layout"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L384-L399", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.renderInternal", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Render view internal function\n@param RequestApplicationInterface $app\n@param string $viewName\n@param array $params\n@param bool $ajax\n@param bool $asResponse\n@return \\Reaction\\Web\\ResponseBuilderInterface|string", "docstring_tokens": ["Render", "view", "internal", "function"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L410-L419", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.normalizeActionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize action name\n@param string $actionMethod\n@param bool $throwException\n@return string|null\n@throws NotFoundException", "docstring_tokens": ["Normalize", "action", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L440-L455", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.resolveErrorAsHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve error as rendered html\n@param RequestApplicationInterface $app\n@param \\Throwable $exception\n@return ResponseBuilderInterface|ExtendedPromiseInterface\n@throws NotFoundException", "docstring_tokens": ["Resolve", "error", "as", "rendered", "html"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L464-L482", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.resolveErrorAsArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Resolve error as array formatted\n@param RequestApplicationInterface $app\n@param \\Throwable $exception\n@return ResponseBuilderInterface", "docstring_tokens": ["Resolve", "error", "as", "array", "formatted"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L490-L496", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.getErrorData", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get error data as array\n@param \\Throwable $exception\n@return array", "docstring_tokens": ["Get", "error", "data", "as", "array"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L519-L532", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.getExceptionName", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get name of exception\n@param \\Throwable $exception\n@return string", "docstring_tokens": ["Get", "name", "of", "exception"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L539-L547", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.validateAction", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate that user can perform that action\n@param string $action\n@param RequestApplicationInterface $app\n@return ExtendedPromiseInterface", "docstring_tokens": ["Validate", "that", "user", "can", "perform", "that", "action"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L555-L582", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.getActionId", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert controller action method name to it's ID\n@param string $actionMethod\n@return string", "docstring_tokens": ["Convert", "controller", "action", "method", "name", "to", "it", "s", "ID"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L589-L595", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Routes/Controller.php", "func_name": "Controller.getActionMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert controller action ID to method name\n@param string $actionId\n@return string", "docstring_tokens": ["Convert", "controller", "action", "ID", "to", "method", "name"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Routes/Controller.php#L602-L609", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/ColorTools.php", "func_name": "ColorTools.toHex", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change a color format to hexadecimal\n\n@param mixed $color Color\n@return array An 6-hexadecimal color prefixed by an hash", "docstring_tokens": ["Change", "a", "color", "format", "to", "hexadecimal"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/ColorTools.php#L169-L210", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/ColorTools.php", "func_name": "ColorTools.toRGBA", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Change a color format to RGBA\n\n@param mixed $color Color\n@return array An [red, green, blue, alpha] associative array", "docstring_tokens": ["Change", "a", "color", "format", "to", "RGBA"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/ColorTools.php#L231-L289", "partition": "test"} +{"repo": "diatem-net/jin-utils", "path": "src/Utils/ColorTools.php", "func_name": "ColorTools.imageDominant", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return the dominant color for an image\n\n@param string $src Image path/url\n@param integer $granularity Search's granularity (Ex. default value : 30/40.)\n@return mixed An [red, green, blue] associative array", "docstring_tokens": ["Return", "the", "dominant", "color", "for", "an", "image"], "sha": "3989cc39f1999eb6c9fabc5ff97cb433ff257e4a", "url": "https://github.com/diatem-net/jin-utils/blob/3989cc39f1999eb6c9fabc5ff97cb433ff257e4a/src/Utils/ColorTools.php#L322-L354", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Console.php", "func_name": "Console.stdin", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets input from STDIN and returns a string right-trimmed for EOLs.\n\n@param bool $raw If set to true, returns the raw string without trimming\n@return ExtendedPromiseInterface with string the string read from stdin", "docstring_tokens": ["Gets", "input", "from", "STDIN", "and", "returns", "a", "string", "right", "-", "trimmed", "for", "EOLs", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Console.php#L709-L720", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Helpers/Console.php", "func_name": "Console.select", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gives the user an option to choose from. Giving '?' as an input will show\na list of options to choose from and their explanations.\n\n@param string $prompt the prompt message\n@param array $options Key-value array of options to choose from. Key is what is inputed and used, value is\nwhat's displayed to end user by help command.\n\n@return ExtendedPromiseInterface with string An option character the user chose", "docstring_tokens": ["Gives", "the", "user", "an", "option", "to", "choose", "from", ".", "Giving", "?", "as", "an", "input", "will", "show", "a", "list", "of", "options", "to", "choose", "from", "and", "their", "explanations", "."], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Helpers/Console.php#L914-L939", "partition": "test"} +{"repo": "nubs/which", "path": "src/PathBuilder/FileAppenderTrait.php", "func_name": "FileAppenderTrait._appendFileToPaths", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Append the filename to the array of paths.\n\n@param array $paths The paths to append to.\n@param string $file The filename.\n@return array The paths with the file name appended.", "docstring_tokens": ["Append", "the", "filename", "to", "the", "array", "of", "paths", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/PathBuilder/FileAppenderTrait.php#L16-L27", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/Database.php", "func_name": "Database.getPgClient", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get PgClient instance\n@return PgClient", "docstring_tokens": ["Get", "PgClient", "instance"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/Database.php#L50-L67", "partition": "test"} +{"repo": "digit-soft/re-action", "path": "src/Db/Pgsql/Database.php", "func_name": "Database.executeSql", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Execute SQL statement string\n@param string $sql Statement SQL string\n@param array $params Statement parameters\n@param bool $lazy Use lazy promise\n@return ExtendedPromiseInterface|LazyPromiseInterface", "docstring_tokens": ["Execute", "SQL", "statement", "string"], "sha": "13b79b5778b8bb841af8be458552b4c52f451a29", "url": "https://github.com/digit-soft/re-action/blob/13b79b5778b8bb841af8be458552b4c52f451a29/src/Db/Pgsql/Database.php#L76-L99", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeUploadedFile.php", "func_name": "NativeUploadedFile.writeStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Write the stream to a path.\n\n@param string $path The path to write the stream to\n\n@throws \\RuntimeException\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStream\n\n@return void", "docstring_tokens": ["Write", "the", "stream", "to", "a", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeUploadedFile.php#L359-L385", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/ServerRequestFactory.php", "func_name": "ServerRequestFactory.fromGlobals", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a request from the supplied superglobal values.\n\nIf any argument is not supplied, the corresponding superglobal value will\nbe used.\n\nThe ServerRequest created is then passed to the fromServer() method in\norder to marshal the request URI and headers.\n\n@see fromServer()\n\n@param array $server $_SERVER superglobal\n@param array $query $_GET superglobal\n@param array $body $_POST superglobal\n@param array $cookies $_COOKIE superglobal\n@param array $files $_FILES superglobal\n\n@throws \\InvalidArgumentException\n@throws \\UnexpectedValueException\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidUploadedFile\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStream\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidScheme\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidQuery\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidProtocolVersion\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPort\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPath\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidMethod\n\n@return ServerRequest", "docstring_tokens": ["Create", "a", "request", "from", "the", "supplied", "superglobal", "values", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/ServerRequestFactory.php#L63-L90", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/ServerRequestFactory.php", "func_name": "ServerRequestFactory.getHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Search for a header value.\n\nDoes a case-insensitive search for a matching header.\n\nIf found, it is returned as a string, using comma concatenation.\n\nIf not, the $default is returned.\n\n@param string $header\n@param array $headers\n@param mixed $default\n\n@return string", "docstring_tokens": ["Search", "for", "a", "header", "value", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/ServerRequestFactory.php#L127-L138", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/ServerRequestFactory.php", "func_name": "ServerRequestFactory.stripQueryString", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Strip the query string from a path.\n\n@param string $path\n\n@return string", "docstring_tokens": ["Strip", "the", "query", "string", "from", "a", "path", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/ServerRequestFactory.php#L421-L428", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/ServerRequestFactory.php", "func_name": "ServerRequestFactory.marshalHostAndPortFromHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marshal the host and port from the request header.\n\n@param stdClass $accumulator\n@param string|array $host\n\n@return void", "docstring_tokens": ["Marshal", "the", "host", "and", "port", "from", "the", "request", "header", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/ServerRequestFactory.php#L438-L452", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/ServerRequestFactory.php", "func_name": "ServerRequestFactory.normalizeNestedFileSpec", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Normalize an array of file specifications.\n\nLoops through all nested files and returns a normalized array of\nUploadedFileInterface instances.\n\n@param array $files\n\n@throws \\InvalidArgumentException\n\n@return UploadedFile[]", "docstring_tokens": ["Normalize", "an", "array", "of", "file", "specifications", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/ServerRequestFactory.php#L514-L530", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Str.php", "func_name": "Str.endsWith", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Checks if string ends with another string\n@param string $needle Supposed end\n@param string $str Tested string\n@return boolean TRUE if string ends with another string, FALSE\notherwise", "docstring_tokens": ["Checks", "if", "string", "ends", "with", "another", "string"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Str.php#L17-L22", "partition": "test"} +{"repo": "KonstantinFilin/ksutils", "path": "src/KsUtils/Str.php", "func_name": "Str.random", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a random string\n@param int $charsAmount String's length\n@param string $chars Chars in the random string. Default is a-z,\ndigits and \"_\" (underscore)\n@return string Random string with specified length", "docstring_tokens": ["Returns", "a", "random", "string"], "sha": "d9b7645927e6d69c81bd19cfb7601b5e25c4a62b", "url": "https://github.com/KonstantinFilin/ksutils/blob/d9b7645927e6d69c81bd19cfb7601b5e25c4a62b/src/KsUtils/Str.php#L31-L53", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionPath/VersionPathSearch.php", "func_name": "VersionPathSearch.createEdges", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create edges between versions graph\n\n@param Graph $graph\n@param string $className", "docstring_tokens": ["Create", "edges", "between", "versions", "graph"], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionPath/VersionPathSearch.php#L59-L94", "partition": "test"} +{"repo": "evispa/object-migration", "path": "src/Evispa/ObjectMigration/VersionPath/VersionPathSearch.php", "func_name": "VersionPathSearch.find", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Find shortest path between versions\n\n@param string $fromClassName\n@param string $toClassName\n\n@return MethodInfo[]", "docstring_tokens": ["Find", "shortest", "path", "between", "versions"], "sha": "6fd2f50d24dbfc329464b52debea7b41470047b9", "url": "https://github.com/evispa/object-migration/blob/6fd2f50d24dbfc329464b52debea7b41470047b9/src/Evispa/ObjectMigration/VersionPath/VersionPathSearch.php#L116-L137", "partition": "test"} +{"repo": "kapitchi/kap-apigility", "path": "src/KapApigility/EntityRepositoryResource.php", "func_name": "EntityRepositoryResource.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Create a resource\n\n@param mixed $data\n@return ApiProblem|mixed", "docstring_tokens": ["Create", "a", "resource"], "sha": "eb2930f62ac0bfe4cc428389331812e46bfaa495", "url": "https://github.com/kapitchi/kap-apigility/blob/eb2930f62ac0bfe4cc428389331812e46bfaa495/src/KapApigility/EntityRepositoryResource.php#L32-L36", "partition": "test"} +{"repo": "kapitchi/kap-apigility", "path": "src/KapApigility/EntityRepositoryResource.php", "func_name": "EntityRepositoryResource.fetchAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Fetch all or a subset of resources\n\n@param array $params\n@return ApiProblem|mixed", "docstring_tokens": ["Fetch", "all", "or", "a", "subset", "of", "resources"], "sha": "eb2930f62ac0bfe4cc428389331812e46bfaa495", "url": "https://github.com/kapitchi/kap-apigility/blob/eb2930f62ac0bfe4cc428389331812e46bfaa495/src/KapApigility/EntityRepositoryResource.php#L68-L75", "partition": "test"} +{"repo": "kapitchi/kap-apigility", "path": "src/KapApigility/EntityRepositoryResource.php", "func_name": "EntityRepositoryResource.update", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Update a resource\n\n@param mixed $id\n@param mixed $data\n@return ApiProblem|mixed", "docstring_tokens": ["Update", "a", "resource"], "sha": "eb2930f62ac0bfe4cc428389331812e46bfaa495", "url": "https://github.com/kapitchi/kap-apigility/blob/eb2930f62ac0bfe4cc428389331812e46bfaa495/src/KapApigility/EntityRepositoryResource.php#L97-L101", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the response status code.\n\n@param int $code HTTP status code\n@param string $text [optional] HTTP status text\n\nIf the status text is null it will be automatically populated for the\nknown status codes and left empty otherwise.\n\n@throws \\Valkyrja\\Http\\Exceptions\\InvalidStatusCodeException\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Sets", "the", "response", "status", "code", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L329-L351", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setHeaders", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set response headers.\n\n@param array $headers [optional] The headers to set\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Set", "response", "headers", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L394-L412", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.getDateHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the Date header as a DateTime instance.\n\n@throws \\RuntimeException When the header is not parseable\n\n@return DateTime A DateTime instance", "docstring_tokens": ["Returns", "the", "Date", "header", "as", "a", "DateTime", "instance", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L431-L438", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setDateHeader", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the Date header.\n\n@param DateTime $date A DateTime instance\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Sets", "the", "Date", "header", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L447-L453", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.addCacheControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Set a response cache control.\n\n@param string $name Cache control name\n@param string $value [optional] Cache control value\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Set", "a", "response", "cache", "control", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L473-L478", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.getCacheControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get a response cache control.\n\n@param string $name Cache control name\n\n@return string", "docstring_tokens": ["Get", "a", "response", "cache", "control", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L487-L492", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.removeCacheControl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove a response cache control.\n\n@param string $name Cache control name\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Remove", "a", "response", "cache", "control", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L513-L522", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isCacheable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns true if the response is worth caching under any circumstance.\n\nResponses marked \"private\" with an explicit Cache-Control directive are\nconsidered uncacheable.\n\nResponses with neither a freshness lifetime (Expires, max-age) nor cache\nvalidator (Last-Modified, ETag) are considered uncacheable.\n\n@throws \\RuntimeException\n\n@return bool true if the response is worth caching, false otherwise", "docstring_tokens": ["Returns", "true", "if", "the", "response", "is", "worth", "caching", "under", "any", "circumstance", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L537-L564", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.getAge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the age of the response.\n\n@throws \\RuntimeException\n\n@return int The age of the response in seconds", "docstring_tokens": ["Returns", "the", "age", "of", "the", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L634-L644", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.expire", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Marks the response stale by setting the Age header to be equal to the\nmaximum age of the response.\n\n@throws \\RuntimeException\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Marks", "the", "response", "stale", "by", "setting", "the", "Age", "header", "to", "be", "equal", "to", "the", "maximum", "age", "of", "the", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L654-L661", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.getExpires", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the value of the Expires header as a DateTime instance.\n\n@return DateTime A DateTime instance or null if the header does not exist", "docstring_tokens": ["Returns", "the", "value", "of", "the", "Expires", "header", "as", "a", "DateTime", "instance", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L668-L680", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.getMaxAge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the number of seconds after the time specified in the response's\nDate header when the response should no longer be considered fresh.\n\nFirst, it checks for a s-maxage directive, then a max-age directive, and\nthen it falls back on an expires header. It returns null when no maximum\nage can be established.\n\n@throws \\RuntimeException\n\n@return int Number of seconds", "docstring_tokens": ["Returns", "the", "number", "of", "seconds", "after", "the", "time", "specified", "in", "the", "response", "s", "Date", "header", "when", "the", "response", "should", "no", "longer", "be", "considered", "fresh", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L720-L740", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setSharedMaxAge", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the number of seconds after which the response should no longer be\nconsidered fresh by shared caches.\n\nThis methods sets the Cache-Control s-maxage directive.\n\n@param int $value Number of seconds\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Sets", "the", "number", "of", "seconds", "after", "which", "the", "response", "should", "no", "longer", "be", "considered", "fresh", "by", "shared", "caches", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L769-L775", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setTtl", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Sets the response's time-to-live for shared caches.\n\nThis method adjusts the Cache-Control/s-maxage directive.\n\n@param int $seconds Number of seconds\n\n@throws \\RuntimeException\n\n@return \\Valkyrja\\Http\\Response", "docstring_tokens": ["Sets", "the", "response", "s", "time", "-", "to", "-", "live", "for", "shared", "caches", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L810-L815", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.setNotModified", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Modifies the response so that it conforms to the rules defined for a 304\nstatus code.\n\nThis sets the status, removes the body, and discards any headers\nthat MUST NOT be included in 304 responses.\n\n@throws \\InvalidArgumentException\n\n@return \\Valkyrja\\Http\\Response\n\n@see http://tools.ietf.org/html/rfc2616#section-10.3.5", "docstring_tokens": ["Modifies", "the", "response", "so", "that", "it", "conforms", "to", "the", "rules", "defined", "for", "a", "304", "status", "code", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L969-L983", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isInvalid", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is response invalid?\n\n@return bool\n\n@see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html", "docstring_tokens": ["Is", "response", "invalid?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L992-L996", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isInformational", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is response informative?\n\n@return bool", "docstring_tokens": ["Is", "response", "informative?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1003-L1007", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isSuccessful", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is response successful?\n\n@return bool", "docstring_tokens": ["Is", "response", "successful?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1014-L1018", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isRedirection", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the response a redirect?\n\n@return bool", "docstring_tokens": ["Is", "the", "response", "a", "redirect?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1025-L1029", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isClientError", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is there a client error?\n\n@return bool", "docstring_tokens": ["Is", "there", "a", "client", "error?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1036-L1040", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isRedirect", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the response a redirect of some form?\n\n@param string $location [optional] Redirect location\n\n@return bool", "docstring_tokens": ["Is", "the", "response", "a", "redirect", "of", "some", "form?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1090-L1106", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.isEmpty", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Is the response empty?\n\n@return bool", "docstring_tokens": ["Is", "the", "response", "empty?"], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1113-L1123", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Http/NativeResponse.php", "func_name": "NativeResponse.closeOutputBuffers", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Cleans or flushes output buffers up to target level.\n\nResulting level can be greater than target level if a non-removable\nbuffer has been encountered.\n\n@param int $targetLevel The target output buffering level\n@param bool $flush Whether to flush or clean the buffers\n\n@return void", "docstring_tokens": ["Cleans", "or", "flushes", "output", "buffers", "up", "to", "target", "level", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Http/NativeResponse.php#L1136-L1157", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/RequestTrait.php", "func_name": "RequestTrait.initialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the Request.\n\n@param Uri $uri [optional] The uri\n@param string $method [optional] The method\n@param Stream $body [optional] The body stream\n@param array $headers [optional] The headers\n\n@throws \\InvalidArgumentException\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidMethod\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPath\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidPort\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidProtocolVersion\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidQuery\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidScheme\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStream\n\n@return void", "docstring_tokens": ["Initialize", "the", "Request", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/RequestTrait.php#L93-L114", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/RequestTrait.php", "func_name": "RequestTrait.validateMethod", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a method.\n\n@param string $method The method\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidMethod\n\n@return void", "docstring_tokens": ["Validate", "a", "method", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/RequestTrait.php#L327-L337", "partition": "test"} +{"repo": "nubs/which", "path": "src/Locator.php", "func_name": "Locator.locate", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Locates the given command in the user's path.\n\n@api\n@param string $command The command to locate.\n@return string|null The full path to the command or null if not path\nfound.", "docstring_tokens": ["Locates", "the", "given", "command", "in", "the", "user", "s", "path", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/Locator.php#L42-L47", "partition": "test"} +{"repo": "nubs/which", "path": "src/Locator.php", "func_name": "Locator.locateAll", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Locates all versions of the given command in the user's path.\n\n@api\n@param string $command The command to locate.\n@return array The locations where the command exists.", "docstring_tokens": ["Locates", "all", "versions", "of", "the", "given", "command", "in", "the", "user", "s", "path", "."], "sha": "8e97b67c1a5cf574520d1aa577d73bff7c86939a", "url": "https://github.com/nubs/which/blob/8e97b67c1a5cf574520d1aa577d73bff7c86939a/src/Locator.php#L56-L59", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader/Package.php", "func_name": "PEAR_Downloader_Package.&", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve any non-local packages\n@return PEAR_PackageFile_v1|PEAR_PackageFile_v2|PEAR_Error", "docstring_tokens": ["Retrieve", "any", "non", "-", "local", "packages"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader/Package.php#L249-L300", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader/Package.php", "func_name": "PEAR_Downloader_Package.removeInstalled", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remove packages to be downloaded that are already installed\n@param array of PEAR_Downloader_Package objects\n@static", "docstring_tokens": ["Remove", "packages", "to", "be", "downloaded", "that", "are", "already", "installed"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader/Package.php#L402-L442", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader/Package.php", "func_name": "PEAR_Downloader_Package.detectStupidDuplicates", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Detect duplicate package names with differing versions\n\nIf a user requests to install Date 1.4.6 and Date 1.4.7,\nfor instance, this is a logic error. This method\ndetects this situation.\n\n@param array $params array of PEAR_Downloader_Package objects\n@param array $errorparams empty array\n@return array array of stupid duplicated packages in PEAR_Downloader_Package obejcts", "docstring_tokens": ["Detect", "duplicate", "package", "names", "with", "differing", "versions"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader/Package.php#L1246-L1279", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/PEAR/Downloader/Package.php", "func_name": "PEAR_Downloader_Package._fromFile", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "This will retrieve from a local file if possible, and parse out\na group name as well. The original parameter will be modified to reflect this.\n@param string|array can be a parsed package name as well\n@access private", "docstring_tokens": ["This", "will", "retrieve", "from", "a", "local", "file", "if", "possible", "and", "parse", "out", "a", "group", "name", "as", "well", ".", "The", "original", "parameter", "will", "be", "modified", "to", "reflect", "this", "."], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/PEAR/Downloader/Package.php#L1514-L1549", "partition": "test"} +{"repo": "conpago/conpago", "path": "src/Conpago/Helpers/JsonParametersExtractor.php", "func_name": "JsonParametersExtractor.getParameters", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Gets extracted parametrs.\n\n@return array Extracted parameters.", "docstring_tokens": ["Gets", "extracted", "parametrs", "."], "sha": "2761e3eec97257f96a978e8dcbfabc2f40802ba8", "url": "https://github.com/conpago/conpago/blob/2761e3eec97257f96a978e8dcbfabc2f40802ba8/src/Conpago/Helpers/JsonParametersExtractor.php#L27-L40", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Debug/Debug.php", "func_name": "Debug.enable", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Enable debug mode.\n\n@param int $errorReportingLevel [optional] The error reporting level\n@param bool $displayErrors [optional] Whether to display errors\n\n@return void", "docstring_tokens": ["Enable", "debug", "mode", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Debug/Debug.php#L36-L78", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Budget.php", "func_name": "Budget.getAmountDifference", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get budget amount difference\n\n@return float", "docstring_tokens": ["Get", "budget", "amount", "difference"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Budget.php#L160-L164", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Budget.php", "func_name": "Budget.addMonthToBitmask", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add month to bitmask\n\n@param int $month Month number (January: 1, February: 2, March: 3, April: 4...)\n@return self", "docstring_tokens": ["Add", "month", "to", "bitmask"], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Budget.php#L182-L195", "partition": "test"} +{"repo": "velkuns/eureka-package-money", "path": "src/Money/DataMapper/Data/Money/Budget.php", "func_name": "Budget.hasMonth", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Check if bitmask have given month.\n\n@param int $month Month number (January: 1, February: 2, March: 3, April: 4...)\n@return bool", "docstring_tokens": ["Check", "if", "bitmask", "have", "given", "month", "."], "sha": "6a7954ebd228b400c8922f66fbd390711f27c23b", "url": "https://github.com/velkuns/eureka-package-money/blob/6a7954ebd228b400c8922f66fbd390711f27c23b/src/Money/DataMapper/Data/Money/Budget.php#L203-L211", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/MultipartBody.php", "func_name": "HTTP_Request2_MultipartBody.getLength", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the length of the body to use in Content-Length header\n\n@return integer", "docstring_tokens": ["Returns", "the", "length", "of", "the", "body", "to", "use", "in", "Content", "-", "Length", "header"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/MultipartBody.php#L115-L129", "partition": "test"} +{"repo": "qranio-com/azure-sdk-pear-deps", "path": "src/HTTP/Request2/MultipartBody.php", "func_name": "HTTP_Request2_MultipartBody.getBoundary", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns the boundary to use in Content-Type header\n\n@return string", "docstring_tokens": ["Returns", "the", "boundary", "to", "use", "in", "Content", "-", "Type", "header"], "sha": "6609eab8623759b5e23345ded80d832278a7b680", "url": "https://github.com/qranio-com/azure-sdk-pear-deps/blob/6609eab8623759b5e23345ded80d832278a7b680/src/HTTP/Request2/MultipartBody.php#L136-L142", "partition": "test"} +{"repo": "FluencyLabs/silex-enhanced", "path": "src/Silex/Security/Core/Authentication/Provider/DbalUserProvider.php", "func_name": "DbalUserProvider.loadUserByUsername", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Loads the user for the given username.\n\nThis method must throw UsernameNotFoundException if the user is not\nfound.\n\n@param string $username The username\n\n@return UserInterface\n\n@see UsernameNotFoundException\n\n@throws UsernameNotFoundException if the user is not found", "docstring_tokens": ["Loads", "the", "user", "for", "the", "given", "username", "."], "sha": "ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46", "url": "https://github.com/FluencyLabs/silex-enhanced/blob/ce1b19f3d932b5d0d50e36ef4ad5bad212c9db46/src/Silex/Security/Core/Authentication/Provider/DbalUserProvider.php#L56-L85", "partition": "test"} +{"repo": "jarrus90/yii2-user", "path": "models/User.php", "func_name": "User.create", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Creates new user account. It generates password if it is not provided by user.\n\n@return bool", "docstring_tokens": ["Creates", "new", "user", "account", ".", "It", "generates", "password", "if", "it", "is", "not", "provided", "by", "user", "."], "sha": "90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b", "url": "https://github.com/jarrus90/yii2-user/blob/90f5969f240bd2eb8bbf13aeb4f79d397ccbc94b/models/User.php#L223-L242", "partition": "test"} +{"repo": "zodream/http", "path": "src/Socket.php", "func_name": "Socket.setIpAddress", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "SET IP AND PORT\n@param string $ip\n@param int $port\n@return $this", "docstring_tokens": ["SET", "IP", "AND", "PORT"], "sha": "986862ebcf25823cfa6a310bb9d9b026482dd4f7", "url": "https://github.com/zodream/http/blob/986862ebcf25823cfa6a310bb9d9b026482dd4f7/src/Socket.php#L28-L38", "partition": "test"} +{"repo": "gosyl/common-bundle", "path": "Service/Mail.php", "func_name": "Mail.renderView", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Returns a rendered view.\n\n@param string $view The view name\n@param array $parameters An array of parameters to pass to the view\n\n@return string The rendered view", "docstring_tokens": ["Returns", "a", "rendered", "view", "."], "sha": "27b66152b2ab85d30dfad72886ef20749898bdb4", "url": "https://github.com/gosyl/common-bundle/blob/27b66152b2ab85d30dfad72886ef20749898bdb4/Service/Mail.php#L184-L195", "partition": "test"} +{"repo": "extendsframework/extends-sourcing", "path": "src/Command/Repository/EventStoreRepository.php", "func_name": "EventStoreRepository.publishStream", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Publish stream to event listeners.\n\n@param StreamInterface $stream\n@return EventStoreRepository", "docstring_tokens": ["Publish", "stream", "to", "event", "listeners", "."], "sha": "de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377", "url": "https://github.com/extendsframework/extends-sourcing/blob/de4a821f2ba2fb775e2ae300abd2fb1cd3cf0377/src/Command/Repository/EventStoreRepository.php#L134-L143", "partition": "test"} +{"repo": "orbt/StyleMirror", "path": "Css/LinkedResourceFetcher.php", "func_name": "LinkedResourceFetcher.onResourceMaterialize", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Scans all linked resources.", "docstring_tokens": ["Scans", "all", "linked", "resources", "."], "sha": "853ec0fe3389f94272963155436e10a37bae1fa7", "url": "https://github.com/orbt/StyleMirror/blob/853ec0fe3389f94272963155436e10a37bae1fa7/Css/LinkedResourceFetcher.php#L49-L69", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/Message.php", "func_name": "Message.params", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Add parameters to the paramter list of this message.\n\n@param mixed $params,... Parameters as strings or a single argument that\nis an array of strings.\n\n@return Message Self", "docstring_tokens": ["Add", "parameters", "to", "the", "paramter", "list", "of", "this", "message", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/Message.php#L107-L115", "partition": "test"} +{"repo": "wikimedia/simplei18n", "path": "src/Message.php", "func_name": "Message.fetchMessage", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Get message contents from MessageCache.\n@return string|bool False if message doesn't exist, otherwise raw\nmessage text", "docstring_tokens": ["Get", "message", "contents", "from", "MessageCache", "."], "sha": "f1a39234bba74685070733d44bfc658407dd8245", "url": "https://github.com/wikimedia/simplei18n/blob/f1a39234bba74685070733d44bfc658407dd8245/src/Message.php#L136-L146", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Crypt/SodiumCrypt.php", "func_name": "SodiumCrypt.encrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt a message.\n\n@param string $message The message to encrypt\n@param string $key The encryption key\n\n@throws Exception Random Bytes Failure\n\n@return string", "docstring_tokens": ["Encrypt", "a", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Crypt/SodiumCrypt.php#L64-L85", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Crypt/SodiumCrypt.php", "func_name": "SodiumCrypt.decrypt", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypt a message.\n\n@param string $encrypted The encrypted message to decrypt\n@param string $key The encryption key\n\n@throws CryptException On any failure\n\n@return string", "docstring_tokens": ["Decrypt", "a", "message", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Crypt/SodiumCrypt.php#L97-L127", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Crypt/SodiumCrypt.php", "func_name": "SodiumCrypt.decryptArray", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypt a message originally encrypted from an array.\n\n@param string $encrypted The encrypted message\n@param string $key The encryption key\n\n@throws CryptException On any failure\n\n@return array", "docstring_tokens": ["Decrypt", "a", "message", "originally", "encrypted", "from", "an", "array", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Crypt/SodiumCrypt.php#L154-L157", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Crypt/SodiumCrypt.php", "func_name": "SodiumCrypt.encryptObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Encrypt a json array.\n\n@param object $object The object to encrypt\n@param string $key The encryption key\n\n@throws Exception Random Bytes Failure\n\n@return string", "docstring_tokens": ["Encrypt", "a", "json", "array", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Crypt/SodiumCrypt.php#L169-L172", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/Crypt/SodiumCrypt.php", "func_name": "SodiumCrypt.decryptObject", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Decrypt a message originally encrypted from an object.\n\n@param string $encrypted The encrypted message\n@param string $key The encryption key\n\n@throws CryptException On any failure\n\n@return object", "docstring_tokens": ["Decrypt", "a", "message", "originally", "encrypted", "from", "an", "object", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/Crypt/SodiumCrypt.php#L184-L187", "partition": "test"} +{"repo": "joegreen88/zf1-component-cache", "path": "src/Zend/Cache/Backend/Static.php", "func_name": "Zend_Cache_Backend_Static.getOption", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Retrieve any option via interception of the parent's statically held\noptions including the local option for a tag cache.\n\n@param string $name\n@return mixed", "docstring_tokens": ["Retrieve", "any", "option", "via", "interception", "of", "the", "parent", "s", "statically", "held", "options", "including", "the", "local", "option", "for", "a", "tag", "cache", "."], "sha": "f464720c61b7ba6af6835d0b375c87f9efdee06e", "url": "https://github.com/joegreen88/zf1-component-cache/blob/f464720c61b7ba6af6835d0b375c87f9efdee06e/src/Zend/Cache/Backend/Static.php#L100-L109", "partition": "test"} +{"repo": "php-carteblanche/core", "path": "src/CarteBlanche/Library/Manifest/AbstractPackageDependent.php", "func_name": "AbstractPackageDependent.init", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Initialize the object with default values and first settings\n\n@return self `$this` for method chaining", "docstring_tokens": ["Initialize", "the", "object", "with", "default", "values", "and", "first", "settings"], "sha": "b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343", "url": "https://github.com/php-carteblanche/core/blob/b55de6ac4d7c9ba09f8d0fbcc3cc1866713ac343/src/CarteBlanche/Library/Manifest/AbstractPackageDependent.php#L45-L54", "partition": "test"} +{"repo": "diatem-net/jin-form", "path": "src/Form/Components/AbstractComponent.php", "func_name": "AbstractComponent.replaceMagicFields", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Remplace les champs magiques des assets - concernant uniquement les champs magiques des composants de type FORM\n@param string $html HTML \u00e0 inspeter\n@return string", "docstring_tokens": ["Remplace", "les", "champs", "magiques", "des", "assets", "-", "concernant", "uniquement", "les", "champs", "magiques", "des", "composants", "de", "type", "FORM"], "sha": "ee50df330508feb422bf8d2852405c101ab03e97", "url": "https://github.com/diatem-net/jin-form/blob/ee50df330508feb422bf8d2852405c101ab03e97/src/Form/Components/AbstractComponent.php#L368-L391", "partition": "test"} +{"repo": "psiphp/object-agent", "path": "bridge/doctrine-orm/lib/PsiToOrmQueryBuilderConverter.php", "func_name": "PsiToOrmQueryBuilderConverter.convert", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Convert the given Psi Query into a Doctrine ORM QueryBuilder instance.", "docstring_tokens": ["Convert", "the", "given", "Psi", "Query", "into", "a", "Doctrine", "ORM", "QueryBuilder", "instance", "."], "sha": "56ae8756c2925e5981a6e55b409f649d8dbe7b66", "url": "https://github.com/psiphp/object-agent/blob/56ae8756c2925e5981a6e55b409f649d8dbe7b66/bridge/doctrine-orm/lib/PsiToOrmQueryBuilderConverter.php#L31-L48", "partition": "test"} +{"repo": "gwsn/prismic", "path": "src/Models/Dom/RichText.php", "func_name": "RichText.asText", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a text version of the RichText fragment\n\n\n@param object $richText the rich text object\n\n@return string the text version of the RichText fragment", "docstring_tokens": ["Builds", "a", "text", "version", "of", "the", "RichText", "fragment"], "sha": "4cec7e725a84a9cd580565d2ef5e302078620826", "url": "https://github.com/gwsn/prismic/blob/4cec7e725a84a9cd580565d2ef5e302078620826/src/Models/Dom/RichText.php#L25-L34", "partition": "test"} +{"repo": "gwsn/prismic", "path": "src/Models/Dom/RichText.php", "func_name": "RichText.asHtml", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Builds a HTML version of the RichText fragment\n\n\n@param array $richText the rich text object\n@param LinkResolver $linkResolver the link resolver\n\n\n@return string the HTML version of the RichText fragment", "docstring_tokens": ["Builds", "a", "HTML", "version", "of", "the", "RichText", "fragment"], "sha": "4cec7e725a84a9cd580565d2ef5e302078620826", "url": "https://github.com/gwsn/prismic/blob/4cec7e725a84a9cd580565d2ef5e302078620826/src/Models/Dom/RichText.php#L45-L113", "partition": "test"} +{"repo": "gwsn/prismic", "path": "src/Models/Dom/RichText.php", "func_name": "RichText.asHtmlBlock", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Transforms a block into HTML\n\n\n@param object $block a given block\n@param LinkResolver $linkResolver the link resolver\n@param lambda $htmlSerializer the user's custom HTML serializer\n\n@return string the HTML representation of the block", "docstring_tokens": ["Transforms", "a", "block", "into", "HTML"], "sha": "4cec7e725a84a9cd580565d2ef5e302078620826", "url": "https://github.com/gwsn/prismic/blob/4cec7e725a84a9cd580565d2ef5e302078620826/src/Models/Dom/RichText.php#L146-L163", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeResponse.php", "func_name": "NativeResponse.withoutCookie", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Return an instance with the specified cookie appended to the\nSet-Cookie header as expired.\n\nExisting values for the specified header will be maintained. The new\nvalue(s) will be appended to the existing list. If the cookie header\ndid not exist previously, it will be added.\n\nThis method MUST be implemented in such a way as to retain the\nimmutability of the message, and MUST return an instance that has the\nnew cookie header and/or value.\n\n@param Cookie $cookie The cookie model\n\n@throws \\InvalidArgumentException for invalid header names or values.\n\n@return static", "docstring_tokens": ["Return", "an", "instance", "with", "the", "specified", "cookie", "appended", "to", "the", "Set", "-", "Cookie", "header", "as", "expired", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeResponse.php#L188-L197", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeResponse.php", "func_name": "NativeResponse.send", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Send the response.\n\n@throws \\RuntimeException\n\n@return Response", "docstring_tokens": ["Send", "the", "response", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeResponse.php#L206-L235", "partition": "test"} +{"repo": "valkyrjaio/valkyrja", "path": "src/Valkyrja/HttpMessage/NativeResponse.php", "func_name": "NativeResponse.validateStatusCode", "original_string": "", "language": "php", "code": "", "code_tokens": [], "docstring": "Validate a status code.\n\n@param int $code The code\n\n@throws \\Valkyrja\\HttpMessage\\Exceptions\\InvalidStatusCode\n\n@return int", "docstring_tokens": ["Validate", "a", "status", "code", "."], "sha": "3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe", "url": "https://github.com/valkyrjaio/valkyrja/blob/3b4ad998d96c3ab08e36a11c76ce8d9d48759ffe/src/Valkyrja/HttpMessage/NativeResponse.php#L246-L259", "partition": "test"}